a.trim())?[...s,""]:s}const wt=s=>de.some(e=>!s[e].some(a=>a.trim())||s[e].some(a=>Xe(a,s[e]))),kt=s=>({geosite:s.geosite.map(e=>e.trim()).filter(Boolean),geoip:s.geoip.map(e=>e.trim()).filter(Boolean)});function Ze(s,e,a){const n=jt(s,e);return n&&de.flatMap(r=>(n[r]??[]).map(o=>`${r}:${o}`)).join(a("ui.separator"))}function Nt(s,e,a,n){const r=Ze(s,e,n);return r?{text:n("settings.geodataMissing",{codes:r}),notice:!0}:{text:n("settings.geodataPresetSize",{geosite:fe(s.sizes.geosite,a),geoip:fe(s.sizes.geoip,a)}),notice:!1}}const Ge=[6,12,24,72,168];function _t(s,e,a){const n=e?[...Ge.filter(o=>o>=e.min&&o<=e.max),e.default]:Ge;return[...new Set([...n,s])].sort((o,i)=>o-i).map(o=>{const i=o%24===0,l=new Intl.NumberFormat(a,{style:"unit",unit:i?"day":"hour",unitDisplay:"long"}).format(i?o/24:o);return{id:String(o),label:l}})}function Ct(s,e,a){if(s.route==="direct")return a("settings.geodataRouteDirect");const n=s.group_id?e?.find(r=>r.id===s.group_id)?.name??s.group_id:null;return s.route==="routing"?n?a("settings.geodataRouteRoutingVia",{group:n}):a("settings.geodataRouteRouting"):n??a("settings.geodataRouteGroupGone")}function St(s,e,a,n,r,o=!1,i="sha256sum"){if(e)return{text:r("settings.geodataUpdating"),error:!1};if(s?.last_error){const{code:p,message:x}=s.last_error;return{text:r("ui.valuePair",{label:r("settings.geodataLastError"),value:Cs(Ss(p,x,r,{stage:p}),r)}),error:!0,help:o&&(p==="checksum_unavailable"||p==="checksum_mismatch")?{title:r("settings.geodataVerifyChecksum"),text:r(p==="checksum_mismatch"?"settings.geodataChecksumMismatchHelp":"settings.geodataVerifyChecksumHelp")}:void 0}}const l=s?.last_updated_at,w=s?l?Ps(l,n,a):r("settings.geodataNever"):"—",g=s?.assets.length&&s.assets.every(p=>p.verified!==void 0),f=g&&!s.assets.every(p=>p.verified),b=g?r(f?"settings.geodataVerifiedNo":"settings.geodataVerifiedYes"):null;return{text:r("ui.valuePair",{label:r("settings.geodataLastUpdated"),value:b?w+r("ui.separator")+b:w}),error:!1,help:f?{title:r("settings.geodataVerifiedNo"),text:r(i==="sha256sum"?"settings.geodataUnverifiedHelp":i==="pinned"?"settings.geodataUnverifiedPinnedHelp":"settings.geodataUnverifiedNoneHelp")}:void 0}}function Pt(s,e,a,n){return(s?.assets??[]).map(r=>{const o=r.fetched_url_redacted??r.source_redacted??"",i=[fe(r.size_bytes,a),o?Ye(o):null,r.download_route?Ct(r.download_route,e,n):null];return{label:r.kind,value:i.filter(Boolean).join(n("ui.separator")),full:o}})}function Rt(){const s=W(),e=Re(),a=Pe[e],n=Rs(),r=ve(),o=Le(r.data?.resources),i=$e(o),l=Je(o),w=Ls(o),g=i.data?.geodata,[f,b]=h.useState(null),[p,x]=h.useState(null),[j,D]=h.useState(null),[P,B]=h.useState(null),_=i.busy||l.busy,v=!!r.data?.resources.geodata.can_update,I=r.data?.resources.geodata,m=I?.checksum??null,q=I?.lifecycle,u=()=>l.update().then(c=>{c&&F("positive",s("settings.geodataUpdated"))},c=>Ds(c,s,s("settings.geodataFailed"))),S=h.useRef(!1),E=c=>S.current||_?Promise.resolve(!1):(S.current=!0,b(c),i.save({geodata:c}).then(k=>(S.current=!1,b(null),k===void 0?!1:(l.refetch(),c.geosite&&v?u():F("positive",s(c.geosite?"settings.geodataSaved":c.download?"settings.geodataRouteSaved":c.verify_checksum!==void 0?"settings.geodataVerifyChecksumSaved":"settings.geodataAutoSaved")),!0)),k=>(S.current=!1,b(null),F("negative",s("settings.geodataSaveFailed"),be(k,s)),!1))),C=f?.geosite&&f.geoip?{geosite:f.geosite.urls,geoip:f.geoip.urls}:g?{geosite:g.geosite.urls,geoip:g.geoip.urls}:null,O=C?xt(C):null,A={...g?.auto_update,...f?.auto_update},G=g?.download&&(f?.download??g.download),Y=j??G?.route??"routing",M=g?.verify_checksum===void 0?void 0:f?.verify_checksum??g.verify_checksum,y=c=>Nt(ge.find(k=>k.id===c),l.data?.required_codes,a,s),se=c=>void E({geosite:{urls:[...c.urls.geosite]},geoip:{urls:[...c.urls.geoip]}}),R=s(v?"settings.geodataSaveUpdate":"settings.geodataSaveSources"),oe=St(l.data,l.busy||v&&!!f?.geosite,n,a,s,M===!0,m);return{available:o,loading:i.loading&&!g,error:i.error,retry:i.refetch,ready:!!g,busy:_,lifecycleNote:g?.source==="config"?s(q?.file_values==="activation"?"settings.geodataConfigSeededActivation":"settings.geodataConfigSeeded"):q?.overrides_persist===!1?s("settings.geodataOverridesUntilRestart"):null,note:s(v?"settings.geodataSourcesNote":"settings.geodataSourcesNoteStored"),source:{value:C?O?.id??"custom":"",items:[...ge.map(c=>({id:c.id,label:s(ke[c.id]),desc:y(c.id).text})),{id:"custom",label:s("settings.geodataCustom")}],note:O?y(O.id):null,change:c=>{if(c==="custom")x(C?{geosite:[...C.geosite],geoip:[...C.geoip]}:null);else if(c!==O?.id){const k=ge.find($=>$.id===c),U=Ze(k,l.data?.required_codes,s);U?B({preset:k,codes:U}):se(k)}}},lacking:P&&{title:s("settings.geodataLackingTitle",{preset:s(ke[P.preset.id])}),text:s("settings.geodataLackingHelp",{preset:s(ke[P.preset.id]),codes:P.codes}),confirm:R,cancel:()=>B(null),save:()=>{B(null),se(P.preset)}},customHosts:C&&!O?Ve(e,[...new Set([...C.geosite,...C.geoip].map(Ye))]):null,editCustom:()=>C&&x({geosite:[...C.geosite],geoip:[...C.geoip]}),dialog:p?{lists:de.map(c=>({kind:c,fields:yt(p[c],I?.max_urls??0).map((k,U,$)=>{const X=Xe(k,$),Z=K=>K>=0&&K{if(i.busy)return;const H=[...p[c]];[H[U],H[K]]=[H[K],H[U]],x({...p,[c]:H})}:void 0,z=s("settings.geodataUrlLabel",{kind:c,n:ue(U+1,a)});return{up:Z(U-1),down:Z(U+1),upLabel:s("settings.geodataMoveUp",{url:z}),downLabel:s("settings.geodataMoveDown",{url:z}),id:`${c}-${U}`,label:z,value:k,error:X?s(X):void 0,change:K=>{if(i.busy)return;const H=[...$];for(H[U]=K;H.length&&!H[H.length-1].trim();)H.pop();x({...p,[c]:H})}}}),empty:!p[c].some(k=>k.trim())})),blocked:wt(p),confirm:R,pending:i.busy,cancel:()=>x(null),save:()=>{const c=kt(p);E({geosite:{urls:c.geosite},geoip:{urls:c.geoip}}).then(k=>k&&x(null))}}:null,route:G&&{value:Y,items:["routing","direct","group"].map(c=>({id:c,label:s(c==="routing"?"settings.geodataRouteRouting":c==="direct"?"settings.geodataRouteDirect":"settings.geodataRouteGroup")})),change:c=>{if(c==="group")return D("group");D(null),c!==G?.route&&E({download:{route:c}})},group:Y==="group"?G?.route==="group"?G.group_id??"":"":null,groups:(w.data??[]).map(c=>({id:c.id,label:c.name})),pickGroup:c=>{c!==(G?.route==="group"?G.group_id:null)&&E({download:{route:"group",group_id:c}}).then(k=>k&&D(null))}},checksum:M!==void 0&&{enabled:M,help:s(m==="sha256sum"?"settings.geodataVerifyChecksumHelp":m==="pinned"?"settings.geodataVerifyChecksumPinnedHelp":"settings.geodataVerifyChecksumNoneHelp"),toggle:c=>void E({verify_checksum:c})},auto:{enabled:!!A.enabled,toggle:c=>void E({auto_update:{enabled:c}}),interval:String(A.interval_hours??""),intervals:A.interval_hours?_t(A.interval_hours,I?.interval_hours,a):[],pick:c=>{Number(c)!==g?.auto_update.interval_hours&&E({auto_update:{interval_hours:Number(c)}})}},status:{...oe,details:Pt(l.data,w.data,a,s)},statusError:l.error,retryStatus:l.refetch,canUpdate:v,updating:l.busy,updateBlocked:_||!l.data,updateReason:Qe({busy:_,loaded:!!l.data,failed:!!l.error},s),update:()=>void u()}}const Me=re("geodata");function Lt(){const s=W(),e=Rt();return e.available?t.jsxs(ne,{level:2,title:s(Me.titleKey),titleId:Me.headingId,children:[t.jsx("span",{className:"rp-label",children:e.note}),t.jsx(Q,{error:e.error,onRetry:e.retry}),e.loading&&t.jsx("div",{className:"rp-chart-wait ops",children:t.jsx(me,{})}),e.ready&&t.jsxs("div",{className:"rp-ops",children:[t.jsxs("div",{className:"rp-ops-group",children:[t.jsx("span",{className:"rp-label",children:s("settings.geodataSource")}),t.jsxs("div",{className:"rp-cluster",children:[t.jsx(V,{bare:!0,label:s("settings.geodataSource"),value:e.source.value,onChange:e.source.change,items:e.source.items,isDisabled:e.busy}),e.source.note&&t.jsx("span",{className:e.source.note.notice?"rp-label rp-geodata-note notice":"rp-label",children:e.source.note.text})]})]}),e.customHosts&&t.jsxs("div",{className:"rp-ops-group",children:[t.jsx("span",{className:"rp-label",children:s("settings.geodataCustomUrls")}),t.jsxs("div",{className:"rp-cluster",children:[t.jsx(T,{isDisabled:e.busy,onPress:e.editCustom,children:s("settings.geodataEdit")}),t.jsx("span",{className:"rp-label",children:e.customHosts})]})]}),e.route&&t.jsxs("div",{className:"rp-ops-group",children:[t.jsx("span",{className:"rp-label",children:s("settings.geodataRoute")}),t.jsxs("div",{className:"rp-cluster",children:[t.jsx(V,{bare:!0,label:s("settings.geodataRoute"),value:e.route.value,onChange:e.route.change,items:e.route.items,isDisabled:e.busy}),e.route.group!==null&&t.jsx(V,{bare:!0,label:s("settings.geodataRouteGroup"),value:e.route.group,onChange:e.route.pickGroup,items:e.route.groups,isDisabled:e.busy})]})]}),e.checksum&&t.jsxs("div",{className:"rp-ops-group",children:[t.jsx("span",{className:"rp-label",children:s("settings.geodataVerifyChecksum")}),t.jsxs("div",{className:"rp-cluster",children:[t.jsx(Se,{"aria-label":s("settings.geodataVerifyChecksum"),isSelected:e.checksum.enabled,isDisabled:e.busy,onChange:e.checksum.toggle}),t.jsx("span",{className:"rp-label",children:e.checksum.help})]})]}),t.jsxs("div",{className:"rp-ops-group",children:[t.jsx("span",{className:"rp-label",children:s("settings.geodataAutoUpdate")}),t.jsxs("div",{className:"rp-cluster",children:[t.jsx(Se,{"aria-label":s("settings.geodataAutoUpdate"),isSelected:e.auto.enabled,isDisabled:e.busy,onChange:e.auto.toggle}),e.auto.enabled&&t.jsx(V,{bare:!0,label:s("settings.geodataInterval"),value:e.auto.interval,onChange:e.auto.pick,items:e.auto.intervals,isDisabled:e.busy})]})]}),t.jsxs("div",{className:"rp-ops-group",children:[t.jsx("span",{className:"rp-label",children:s("settings.geodataStatus")}),t.jsx(ce,{reason:e.canUpdate?e.updateReason:null,children:t.jsxs("div",{className:"rp-cluster",children:[t.jsx("span",{role:"status",className:e.status.error?"rp-geodata-note negative":void 0,children:e.status.text}),e.status.help&&t.jsx(As,{...e.status.help}),e.canUpdate&&t.jsx(T,{isPending:e.updating,isDisabled:e.updateBlocked,onPress:e.update,children:s("settings.geodataUpdateNow")})]})})]}),t.jsx(Q,{error:e.statusError,onRetry:e.retryStatus}),e.status.details.length>0&&t.jsx(Ts,{title:s("settings.geodataDetails"),children:t.jsx("div",{className:"rp-geodata-details",children:t.jsx(Is,{items:e.status.details})})}),e.lifecycleNote&&t.jsx("span",{className:"rp-label",children:e.lifecycleNote})]}),e.lacking&&t.jsx(he,{title:e.lacking.title,tone:"accent",isOpen:!0,onCancel:e.lacking.cancel,confirmLabel:e.lacking.confirm,onConfirm:e.lacking.save,children:t.jsx("p",{className:"rp-label",children:e.lacking.text})}),e.dialog&&t.jsxs(he,{title:s("settings.geodataCustomUrls"),tone:"accent",isOpen:!0,onCancel:e.dialog.cancel,confirmLabel:e.dialog.confirm,onConfirm:e.dialog.save,isPending:e.dialog.pending,isDisabled:e.dialog.blocked,children:[e.dialog.lists.map(a=>t.jsxs("div",{className:"rp-field",role:"group","aria-label":a.kind,children:[a.fields.map(n=>t.jsx(le,{type:"url",className:"rp-url-field",spellCheck:!1,autoComplete:"off",label:n.label,value:n.value,error:n.error,isDisabled:e.dialog?.pending,onChange:n.change,action:t.jsxs(t.Fragment,{children:[t.jsx(T,{quiet:!0,icon:!0,small:!0,label:n.upLabel,isDisabled:e.dialog?.pending||!n.up,onPress:n.up,children:t.jsx(Ue,{className:"rp-up"})}),t.jsx(T,{quiet:!0,icon:!0,small:!0,label:n.downLabel,isDisabled:e.dialog?.pending||!n.down,onPress:n.down,children:t.jsx(Ue,{})})]})},n.id)),a.empty&&t.jsx("span",{className:"rp-label",children:s("settings.geodataUrlRequired")})]},a.kind)),t.jsx("span",{className:"rp-label",children:s("settings.geodataUrlHelp")})]})]}):null}const ae={backend:re("backend"),appearance:re("appearance"),about:re("about")};function qt({query:s}){const e=W(),a=ft(),{activeId:n,hasActive:r,profileReason:o,firstRun:i,error:l,retry:w,api:g,changeApi:f,token:b,changeToken:p,demo:x,passwordMode:j,paired:D,invalidText:P,pending:B,saving:_,dialog:v,setDialog:I,name:m,setName:q,confirmProfile:u,save:S,switchProfile:E,confirmSwitch:C,switchPending:O,cancelSwitch:A,testConnection:G,lang:Y,pickLang:M,ap:y,paletteSections:se,profile:R,palette:oe,tokenType:c,tokenToggleText:k,toggleToken:U,versionWarning:$,install:X,installHint:Z,guide:z,addProfile:K,renameProfile:H,dialogTitle:te,dialogBlocked:xe,dialogDiscards:De,deleteHelp:d}=pt(s),N=h.useId(),J={backend:t.jsxs(ne,{level:2,title:e(ae.backend.titleKey),titleId:ae.backend.headingId,children:[t.jsx(Q,{error:l,onRetry:w}),t.jsx(ce,{reason:o,children:t.jsxs("div",{className:"rp-toolbar",children:[t.jsx(V,{label:e("settings.profile"),side:!0,value:n,isDisabled:!r||_,items:R.choices,onChange:E}),t.jsx(T,{onPress:K,children:e("settings.addProfile")}),t.jsx(T,{isDisabled:!r,onPress:H,children:e("settings.renameProfile")}),t.jsx(T,{isDisabled:!r,onPress:()=>I("delete"),children:e("settings.deleteProfile")}),a&&t.jsx(T,{isPending:a.busy,onPress:()=>void a.signOut(),children:e("settings.signOut")})]})}),t.jsxs("form",{className:"rp-form",noValidate:!0,onSubmit:L=>{L.preventDefault(),S()},children:[t.jsx(le,{label:e("ui.backendUrl"),autoComplete:"url",spellCheck:!1,description:e("settings.apiHelp"),error:P,name:"api",value:g,onChange:f}),x?null:j?t.jsx("p",{className:"rp-label",children:e("settings.passwordMode")}):t.jsx(le,{label:e("settings.token"),autoComplete:"off",spellCheck:!1,reveal:{shown:c==="text",label:k,onToggle:U},name:"token",type:c,value:b,onChange:p}),t.jsxs("div",{className:"rp-toolbar",children:[t.jsx(T,{onPress:()=>void G(),isPending:B,isDisabled:_,children:e("settings.test")}),t.jsx(T,{type:"submit",accent:!0,isPending:_,children:e("settings.save")})]}),t.jsx("div",{className:"rp-label",children:e("settings.saveHelp")}),B&&t.jsx("div",{role:"status",children:e("settings.testing")}),R.result&&t.jsxs("div",{role:R.result.role,children:[R.result.text,R.result.request&&t.jsx("span",{className:"rp-code",children:R.result.request})]})]})]}),runtime:t.jsx(ht,{}),geodata:t.jsx(Lt,{}),appearance:t.jsxs(ne,{level:2,title:e(ae.appearance.titleKey),titleId:ae.appearance.headingId,children:[t.jsxs("div",{className:"rp-toolbar",children:[t.jsx(V,{label:e("ui.lang"),value:Y,onChange:L=>M(L),items:Hs.map(([L,ee])=>({id:L,label:ee}))}),t.jsxs("div",{className:"rp-field",children:[t.jsx("span",{className:"lbl",children:e("ui.palette")}),t.jsx(Fs,{label:e("ui.palette"),sections:se.map(L=>({...L,value:y.palette,onChange:ee=>y.pickPalette(ee)})),children:oe})]}),t.jsx(V,{label:e("settings.scheme"),value:y.scheme,onChange:L=>y.pickScheme(L),items:[{id:"system",label:e("theme.system")},{id:"light",label:e("theme.light")},{id:"dark",label:e("theme.dark")}]}),t.jsx(V,{label:e("ui.wordmark"),value:y.wordmark,onChange:L=>y.pickWordmark(L),items:[{id:"gradient",label:e("wordmark.gradient")},{id:"plain",label:e("wordmark.plain")}]}),t.jsx(V,{label:e("settings.toastPlacement"),value:y.toastPlacement,onChange:L=>y.pickToastPlacement(L),items:[{id:"top",label:e("settings.toastTop")},{id:"top end",label:e("settings.toastTopEnd")},{id:"bottom",label:e("settings.toastBottom")},{id:"bottom end",label:e("settings.toastBottomEnd")}]})]}),t.jsxs("div",{className:"rp-field",children:[t.jsx(Se,{isSelected:y.mirrored,onChange:y.pickMirrored,"aria-describedby":N,children:e("settings.mirror")}),t.jsx("span",{id:N,className:"rp-label",children:e("settings.mirrorHelp")})]})]}),actions:t.jsx(bt,{}),about:t.jsxs(ne,{level:2,title:e(ae.about.titleKey),titleId:ae.about.headingId,children:[$&&t.jsx(_e,{small:!0,tone:"warn",children:$}),t.jsxs("div",{className:"rp-cluster",children:[t.jsx(Es,{trigger:t.jsx(T,{children:e("about.title")})}),t.jsx(T,{onPress:Us,children:e("shell.shortcuts")}),t.jsx(Ce,{appearance:"button",href:z,external:!0,children:e("shell.guide")}),X&&t.jsx(T,{onPress:X,children:e("settings.install")}),Z&&t.jsx("p",{className:"rp-note",children:Z})]})]})};return t.jsxs("div",{className:"rp-page",children:[i&&t.jsx("p",{className:"rp-note",children:e("settings.firstRun")}),D&&t.jsx("p",{className:"rp-note",children:e("settings.paired")}),Ms.map(L=>t.jsx(h.Fragment,{children:J[L.id]},L.id)),t.jsx(he,{title:e("config.discardTitle"),isOpen:O,onCancel:A,confirmLabel:e("config.discard"),isPending:_,onConfirm:C,children:t.jsx("p",{className:"rp-label",children:e("settings.switchProfileHelp")})}),v&&t.jsxs(he,{title:te,isOpen:!0,onCancel:()=>I(null),tone:v==="delete"?"negative":"accent",confirmLabel:e(v==="delete"?"settings.deleteProfile":"settings.save"),isDisabled:xe,isPending:_,error:R.result?.error?{id:R.result.id,text:R.result.text}:null,onConfirm:u,children:[v==="delete"?t.jsx("p",{className:"rp-label",children:d}):t.jsx(le,{label:e("settings.profileName"),value:m,onChange:q}),De&&t.jsx("p",{className:"rp-label",children:e("settings.profileDiscardHelp")})]})]})}export{qt as Settings};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/Sparkline-4ZFN_DWA.js b/luci-app-honk/root/etc/honk/doona/assets/Sparkline-4ZFN_DWA.js
deleted file mode 100644
index ae68d4b26..000000000
--- a/luci-app-honk/root/etc/honk/doona/assets/Sparkline-4ZFN_DWA.js
+++ /dev/null
@@ -1 +0,0 @@
-import{r as x,j as r}from"./vendor-react-Bf71BWbF.js";import{aI as k,fx as P,fy as S}from"./index-BOpK0UVB.js";import{u as T,C as B,f as W,n as v,g as j}from"./layout-Bzzn7HLw.js";import{G as I,C as L}from"./AreaCurve-BriPYJva.js";import"./array-C0P64tl-.js";function R(i){let t=i.parentElement;for(;t&&getComputedStyle(t).overflow==="visible";)t=t.parentElement;const l=i.getBoundingClientRect();if(!t)return{x:-l.left,y:-l.top,width:document.documentElement.clientWidth,height:document.documentElement.clientHeight};const h=t.getBoundingClientRect();return{x:h.left+t.clientLeft-l.left,y:h.top+t.clientTop-l.top,width:t.clientWidth,height:t.clientHeight}}function A({values:i,timestamps:t,color:l,fmt:h,locale:p,height:f=32,floor:m=0}){const g=x.useId(),C=k(),[o,y]=x.useState(null),[u,e]=P(Math.round,120),{tip:M,showAt:b,hide:E}=T(),c=i.filter(n=>n!==null),w=[m>0?0:Math.min(...c)*.85,Math.max(Math.max(...c)*1.05||1,m)],d=n=>j(n,[Math.min(...t),Math.max(...t)],[0,e?.width??0]),a=n=>j(n,w,[(e?.height??f)-2,2]);return x.useLayoutEffect(()=>{if(o===null||i[o]==null||!h||!p||!u.current||!e){E();return}b({x:d(t[o]),y:a(i[o]),width:e.width,bounds:R(u.current),label:S(p).format(t[o]),lines:[h(i[o])]})}),r.jsx("div",{ref:u,style:{height:f,width:"100%",position:"relative"},"aria-hidden":c.length?!0:void 0,onPointerLeave:()=>y(null),children:c.length>0&&e&&r.jsxs(r.Fragment,{children:[r.jsx(B,{tip:M}),r.jsxs("svg",{className:"rp-activity-surface",width:e.width,height:e.height,viewBox:`0 0 ${e.width} ${e.height}`,style:{display:"block"},onPointerMove:n=>{const s=W(n,n.currentTarget,e);y(s.x<0||s.x>e.width||s.y<2||s.y>e.height-2?null:v(t.map(d),s.x))},children:[r.jsx("defs",{children:r.jsx(I,{id:g,color:l})}),r.jsx(L,{points:i.map((n,s)=>n===null?null:{x:d(t[s]),y:a(n)}),baseline:a(Math.max(0,w[0])),color:l,id:g,strokeWidth:1.5}),o!==null&&i[o]!=null&&r.jsx("circle",{cx:d(t[o]),cy:a(i[o]),r:4,fill:l,stroke:C.base,strokeWidth:2})]})]})})}export{A as SparkPlot};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/Sparkline-B6w2i-1G.js b/luci-app-honk/root/etc/honk/doona/assets/Sparkline-B6w2i-1G.js
new file mode 100644
index 000000000..ad239bd72
--- /dev/null
+++ b/luci-app-honk/root/etc/honk/doona/assets/Sparkline-B6w2i-1G.js
@@ -0,0 +1 @@
+import{r as t,j as e}from"./vendor-react-64fcanlc.js";import{h as s}from"./format-s2EANuUb.js";import{H as i}from"./index-BgFj_VXE.js";import{z as r,b8 as a,b9 as o,ba as l,bd as n,be as h,bf as m}from"./activity-D06xJ7oH.js";import{G as u,C as c}from"./AreaCurve-DQSHOSpG.js";import"./_commonjsHelpers-CXUWDbkB.js";import"./logs-BxISynQ4.js";import"./Select-CkiGmyVC.js";import"./array-C0VuvQyb.js";function d({values:d,timestamps:p,color:x,fmt:f,locale:j,height:b=32,floor:v=0,inset:M=0,lines:g}){const y=t.useId(),w=r(),[k,C]=t.useState(null),[$,A]=i(Math.round,120),{tip:H,showAt:L,hide:P}=a(),S=t.useMemo(()=>d.filter(t=>null!==t),[d]),W=S.length>1,z=t.useMemo(()=>[v>0?0:.85*Math.min(...S),Math.max(1.05*Math.max(...S)||1,v)],[S,v]),B=A?.width??0,E=(A?.height??b)-2,F=t.useMemo(()=>{const t=[Math.min(...p),Math.max(...p)];return p.map(e=>o(e,t,[M,Math.max(M,B-M)]))},[p,B,M]),G=t.useCallback(t=>o(t,z,[E,2]),[z,E]),I=t.useMemo(()=>d.map((t,e)=>null===t?null:{x:F[e],y:G(t)}),[d,F,G]);return t.useLayoutEffect(()=>{null!==k&&null!=d[k]&&f&&j&&$.current&&A?L({x:F[k],y:G(d[k]),width:A.width,bounds:l($.current),label:s(j).format(p[k]),lines:g?.(k)??[f(d[k])]}):P()}),e.jsx("div",{ref:$,style:{height:`var(--rp-spark-fill, ${b}px)`,width:"100%",position:"relative"},"aria-hidden":!!W||void 0,onPointerLeave:()=>C(null),children:W&&A&&e.jsxs(e.Fragment,{children:[e.jsx(n,{tip:H}),e.jsxs("svg",{className:"rp-activity-surface",width:A.width,height:A.height,viewBox:`0 0 ${A.width} ${A.height}`,style:{display:"block",position:"absolute",inset:0},onPointerMove:t=>{const e=h(t,t.currentTarget,A);C(e.x<0||e.x>A.width||e.y<2||e.y>A.height-2?null:m(F,e.x))},children:[e.jsx("defs",{children:e.jsx(u,{id:y,color:x})}),e.jsx(c,{points:I,baseline:G(Math.max(0,z[0])),color:x,id:y,strokeWidth:1.5}),null!==k&&null!=d[k]&&e.jsx("circle",{cx:F[k],cy:G(d[k]),r:4,fill:x,stroke:w.base,strokeWidth:2})]})]})})}export{d as SparkPlot};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/Table-BkehX7fw.js b/luci-app-honk/root/etc/honk/doona/assets/Table-BkehX7fw.js
deleted file mode 100644
index 977b16f3f..000000000
--- a/luci-app-honk/root/etc/honk/doona/assets/Table-BkehX7fw.js
+++ /dev/null
@@ -1 +0,0 @@
-import{r as f,$,b as Vt,j as E}from"./vendor-react-Bf71BWbF.js";import{eY as Ot,eZ as He,e_ as Ut,e$ as Ze,c8 as ee,f0 as _t,f1 as ie,f2 as he,f3 as ht,f4 as N,f5 as jt,f6 as Yt,f7 as ft,f8 as Xt,f9 as Ke,cz as yt,bY as ae,fa as Gt,bU as Be,bW as Y,ca as fe,bV as qt,bX as L,fb as D,fc as be,fd as Le,fe as Zt,b_ as pt,c4 as Pe,c1 as Qe,c2 as ve,c3 as Ie,c5 as J,c9 as Qt,c6 as de,c7 as ce,ff as gt,fg as Jt,fh as Je,b$ as el,fi as tl,c0 as ll,fj as il,fk as rl,cm as Se,cb as bt,cd as Ve,cc as nl,fl as Oe,cj as H,ch as me,cn as le,cE as ol,fm as al,ct as et,ci as se,fn as sl,cA as dl,cl as ye,cp as Me,cC as cl,cu as ul,cB as hl,cD as fl,cF as yl,fo as pl,ck as Ce,ce as Ue,cs as mt,co as W,fp as $t,cq as gl,cv as bl,cw as ze,fq as tt,fr as ml,fs as $l,ft as De,fu as xl,cG as wl,cH as vl,cI as Cl,u as xt,aU as lt,f as kl,j as Kl,ak as Il,bo as Rl,eP as wt,c as vt,fv as Sl,fw as Ml,aL as Dl}from"./index-BOpK0UVB.js";import{$ as El,a as Pl,e as zl,b as Tl,c as Ct,d as kt}from"./useGridSelectionCheckbox-C4VxQajJ.js";import{a as Nl,c as oe,b as ue,d as Hl}from"./Virtualizer-BIsXGNLZ.js";import{$ as Wl}from"./ListLayout-CkBMjK9o.js";function Fl(n){let{onMoveStart:e,onMove:t,onMoveEnd:l}=n,i=f.useRef({didMove:!1,lastPosition:null,id:null}),{addGlobalListener:r,removeGlobalListener:o}=Ot(),s=f.useCallback((y,g,p,h)=>{p===0&&h===0||(i.current.didMove||(i.current.didMove=!0,e?.({type:"movestart",pointerType:g,shiftKey:y.shiftKey,metaKey:y.metaKey,ctrlKey:y.ctrlKey,altKey:y.altKey})),t?.({type:"move",pointerType:g,deltaX:p,deltaY:h,shiftKey:y.shiftKey,metaKey:y.metaKey,ctrlKey:y.ctrlKey,altKey:y.altKey}))},[e,t,i]),a=He(s),d=f.useCallback((y,g)=>{Ut(),i.current.didMove&&l?.({type:"moveend",pointerType:g,shiftKey:y.shiftKey,metaKey:y.metaKey,ctrlKey:y.ctrlKey,altKey:y.altKey})},[l,i]),c=He(d);return{moveProps:f.useMemo(()=>{let y={},g=()=>{_t(),i.current.didMove=!1};{let h=b=>{if(b.pointerId===i.current.id){let k=b.pointerType||"mouse";a(b,k,b.pageX-(i.current.lastPosition?.pageX??0),b.pageY-(i.current.lastPosition?.pageY??0)),i.current.lastPosition={pageX:b.pageX,pageY:b.pageY}}},x=b=>{if(b.pointerId===i.current.id){let k=b.pointerType||"mouse";c(b,k),i.current.id=null;let w=Ze(ee(b));o(w,"pointermove",h,!1),o(w,"pointerup",x,!1),o(w,"pointercancel",x,!1)}};y.onPointerDown=b=>{if(b.button===0&&i.current.id==null){g(),b.stopPropagation(),b.preventDefault(),i.current.lastPosition={pageX:b.pageX,pageY:b.pageY},i.current.id=b.pointerId;let k=Ze(ee(b));r(k,"pointermove",h,!1),r(k,"pointerup",x,!1),r(k,"pointercancel",x,!1)}}}let p=(h,x,b)=>{g(),a(h,"keyboard",x,b),c(h,"keyboard")};return y.onKeyDown=h=>{switch(h.key){case"Left":case"ArrowLeft":h.preventDefault(),h.stopPropagation(),p(h,-1,0);break;case"Right":case"ArrowRight":h.preventDefault(),h.stopPropagation(),p(h,1,0);break;case"Up":case"ArrowUp":h.preventDefault(),h.stopPropagation(),p(h,0,-1);break;case"Down":case"ArrowDown":h.preventDefault(),h.stopPropagation(),p(h,0,1);break}},y},[r,o,i])}}const it=10,rt=5;class Al{setup(e,t,l){this.delegate=e,this.state=t,this.direction=l}getDropTargetFromPoint(e,t,l){let i=this.delegate.getDropTargetFromPoint(e,t,l);return!i||i.type==="root"?i:this.resolveDropTarget(i,e,t,l)}resolveDropTarget(e,t,l,i){let r=this.pointerTracking,o=l-r.lastY,s=t-r.lastX,a=r.yDirection,d=r.xDirection;if(Math.abs(o)>rt&&(a=o>0?"down":"up",r.yDirection=a,r.lastY=l),Math.abs(s)>it&&(d=s>0?"right":"left",r.xDirection=d,r.lastX=t),e.dropPosition==="before"){let y=this.state.collection.getKeyBefore(e.key);for(;y!=null;){let g=this.state.collection.getItem(y);if(g?.type==="item")break;y=g?.parentKey??null}if(y!=null){let g={type:"item",key:y,dropPosition:"after"};i(g)&&(e=g)}}let c=this.getPotentialTargets(e,i);if(c.length===0)return{type:"root"};let u;return c.length>1?u=this.selectTarget(c,e,t,l,a,d):(u=c[0],r.boundaryContext=null),u}getPotentialTargets(e,t){if(e.dropPosition==="on")return[e];let l=e,i=this.state.collection,r=i.getItem(l.key);for(;r&&r?.type!=="item"&&r.nextKey!=null;)l.key=r.nextKey,r=i.getItem(r.nextKey);let o=[l];if(r&&r.hasChildNodes&&this.state.expandedKeys.has(r.key)&&i.getChildren&&l.dropPosition==="after"){let d=r.firstChildKey!=null?i.getItem(r.firstChildKey):null;for(;d&&d.type!=="item";)d=d.nextKey!=null?i.getItem(d.nextKey):null;if(d?.type==="item"){const c={type:"item",key:d.key,dropPosition:"before"};return t(c)?[c]:[]}}if(r?.nextKey!=null)return[e];let s=r?.parentKey,a=[];for(;s!=null;){let d=i.getItem(s),c=d?.nextKey!=null?i.getItem(d.nextKey):null;if(!c||c.parentKey!==s){if(d?.type==="item"){let y={type:"item",key:s,dropPosition:"after"};t(y)&&a.push(y)}if(c)break}s=d?.parentKey}if(a.length>0&&o.push(...a),o.length===1){let d=i.getKeyAfter(l.key),c=d!=null?i.getItem(d):null;if(d!=null&&c&&r&&c.level!=null&&r.level!=null&&c.level>r.level){let u={type:"item",key:d,dropPosition:"before"};if(t(u))return[u]}}return o.filter(t)}selectTarget(e,t,l,i,r,o){if(e.length<2)return e[0];let s=this.pointerTracking,d=this.state.collection.getItem(t.key)?.parentKey;if(d==null)return e[0];if(!s.boundaryContext||s.boundaryContext.parentKey!==d){let p=s.yDirection==="up"?e.length-1:0;s.boundaryContext={parentKey:d,preferredTargetIndex:p,lastSwitchY:i,lastSwitchX:l}}let c=s.boundaryContext,u=Math.abs(l-c.lastSwitchX);if(Math.abs(i-c.lastSwitchY)>rt&&r){let p=c.preferredTargetIndex||0;r==="down"&&p===0?c.preferredTargetIndex=e.length-1:r==="up"&&p===e.length-1&&(c.preferredTargetIndex=0),s.xDirection=null}if(u>it&&o){let p=c.preferredTargetIndex||0;o==="left"?this.direction==="ltr"?p0&&(c.preferredTargetIndex=p-1,c.lastSwitchX=l):o==="right"&&(this.direction==="ltr"?p>0&&(c.preferredTargetIndex=p-1,c.lastSwitchX=l):p{let o=this.keyMap.get(r.key);e.visitNode&&(r=e.visitNode(r)),this.keyMap.set(r.key,r);let s=new Set,a=null,d=!1;if(r.type==="item"){for(let c of r.childNodes)if(c.props?.colSpan!==void 0){d=!0;break}}for(let c of r.childNodes)c.type==="cell"&&d&&(c.colspan=c.props?.colSpan,c.colSpan=c.props?.colSpan,c.colIndex=a?(a.colIndex??a.index)+(a.colSpan??1):c.index),c.type==="cell"&&c.parentKey==null&&(c.parentKey=r.key),s.add(c.key),a?(a.nextKey=c.key,c.prevKey=a.key):c.prevKey=null,t(c),a=c;if(a&&(a.nextKey=null),o)for(let c of o.childNodes)s.has(c.key)||l(c)},l=r=>{this.keyMap.delete(r.key);for(let o of r.childNodes)this.keyMap.get(o.key)===o&&l(o)},i=null;for(let[r,o]of e.items.entries()){let s={...o,level:o.level??0,key:o.key??"row-"+r,type:o.type??"row",value:o.value??null,hasChildNodes:!0,childNodes:[...o.childNodes],rendered:o.rendered,textValue:o.textValue??"",index:o.index??r};i?(i.nextKey=s.key,s.prevKey=i.key):s.prevKey=null,this.rows.push(s),t(s),i=s}i&&(i.nextKey=null)}*[Symbol.iterator](){yield*[...this.rows]}get size(){return[...this.rows].length}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey??null:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey??null:null}getFirstKey(){return[...this.rows][0]?.key}getLastKey(){let e=[...this.rows];return e[e.length-1]?.key}getItem(e){return this.keyMap.get(e)??null}at(e){const t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){return this.keyMap.get(e)?.childNodes||[]}}const Kt="row-header-column-"+Math.random().toString(36).slice(2);let We="row-header-column-"+Math.random().toString(36).slice(2);for(;Kt===We;)We="row-header-column-"+Math.random().toString(36).slice(2);function It(n,e){if(e.length===0)return[];let t=[],l=new Map;for(let a of e){let d=a.parentKey,c=[a];for(;d!=null;){let u=n.get(d);if(!u)break;if(l.has(u)){u.colSpan??=0,u.colSpan++,u.colspan=u.colSpan;let{column:y,index:g}=l.get(u);if(g>c.length)break;for(let p=g;pa.length)),r=Array(i).fill(0).map(()=>[]),o=0;for(let a of t){let d=i-1;for(let c of a){if(c){let u=r[d],y=u.reduce((g,p)=>g+(p.colSpan??1),0);if(y0&&(u[u.length-1].nextKey=g.key,g.prevKey=u[u.length-1].key),u.push(g)}u.length>0&&(u[u.length-1].nextKey=c.key,c.prevKey=u[u.length-1].key),c.level=d,c.colIndex=o,u.push(c)}d--}o++}let s=0;for(let a of r){let d=a.reduce((c,u)=>c+(u.colSpan??1),0);if(d({type:"headerrow",key:"headerrow-"+d,index:d,value:null,rendered:null,level:0,hasChildNodes:!0,childNodes:a,textValue:""}))}class Ll extends Bl{constructor(e,t,l){let i=new Set,r=null,o=[];if(l?.showSelectionCheckboxes){let u={type:"column",key:Kt,value:null,textValue:"",level:0,index:l?.showDragButtons?1:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isSelectionCell:!0}};o.unshift(u)}if(l?.showDragButtons){let u={type:"column",key:We,value:null,textValue:"",level:0,index:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isDragButtonCell:!0}};o.unshift(u)}let s=[],a=new Map,d=u=>{switch(u.type){case"body":r=u;break;case"column":a.set(u.key,u),u.hasChildNodes||(o.push(u),u.props.isRowHeader&&i.add(u.key));break;case"item":s.push(u);return}for(let y of u.childNodes)d(y)};for(let u of e)d(u);let c=It(a,o);if(c.forEach((u,y)=>s.splice(y,0,u)),super({columnCount:o.length,items:s,visitNode:u=>(u.column=o[u.index],u)}),this._size=0,this.columns=o,this.rowHeaderColumnKeys=i,this.body=r,this.headerRows=c,this._size=[...r.childNodes].length,this.rowHeaderColumnKeys.size===0){let u=this.columns.find(y=>!y.props?.isDragButtonCell&&!y.props?.isSelectionCell);u&&this.rowHeaderColumnKeys.add(u.key)}}*[Symbol.iterator](){yield*this.body.childNodes}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){return this.keyMap.get(e)?.prevKey??null}getKeyAfter(e){return this.keyMap.get(e)?.nextKey??null}getFirstKey(){return ie(this.body.childNodes)?.key??null}getLastKey(){return he(this.body.childNodes)?.key??null}getItem(e){return e===this.body.key?this.body:this.keyMap.get(e)??null}at(e){const t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){if(e===this.body.key)return this.body.childNodes;let t=this.getItem(e);return t?.type==="item"?[...t.childNodes].filter(l=>l.type==="cell"):super.getChildren(e)}getTextValue(e){let t=this.getItem(e);if(!t)return"";if(t.textValue)return t.textValue;let l=this.rowHeaderColumnKeys;if(l){let i=[];for(let r of t.childNodes){let o=this.columns[r.index];if(l.has(o.key)&&r.textValue&&i.push(r.textValue),i.length===l.size)break}return i.join(" ")}return""}}function Vl(n){return n!=null&&(!isNaN(n)||String(n).match(/^(\d+)(?=%$)/)!==null)}function Ol(n){if(!n||typeof n=="number")return 1;let e=n.match(/^(.+)(?=fr$)/);return e?parseFloat(e[0]):1}function _e(n,e){if(typeof n=="string"){let t=n.match(/^(\d+)(?=%$)/);if(!t)throw new Error("Only percentages or numbers are supported for static column widths");return e*(parseFloat(t[0])/100)}return n}function Rt(n,e){return n!=null?_e(n,e):Number.MAX_SAFE_INTEGER}function St(n,e){return n!=null?_e(n,e):0}function Ul(n,e,t,l,i){let r=n,o=Math.floor(n),s=n-o>0;n=o;let a=!1,d=e.map((u,y)=>{let g=t.get(u.key)!=null?t.get(u.key)??"1fr":u.width??u.defaultWidth??l?.(y)??"1fr",p=!1,h=0,x=0,b=0;Vl(g)?(h=_e(g,n),p=!0):(x=Ol(g),x<=0&&(p=!0));let k=St(u.minWidth??i?.(y)??0,n),w=Rt(u.maxWidth,n),K=Math.max(k,Math.min(h,w));return p?b=K:h>K&&(p=!0,b=K),p||(a=!0),{frozen:p,baseSize:h,hypotheticalMainSize:K,min:k,max:w,flex:x,targetMainSize:b,violation:0}});for(;a;){let u=0,y=0;d.forEach(h=>{h.frozen?u+=h.targetMainSize:(u+=h.baseSize,y+=h.flex)});let g=n-u;g>0&&d.forEach(h=>{if(!h.frozen){let x=h.flex/y;h.targetMainSize=h.baseSize+x*g}});let p=0;d.forEach(h=>{if(h.violation=0,!h.frozen){let{min:x,max:b,targetMainSize:k}=h;h.targetMainSize=Math.max(x,Math.min(k,b)),h.violation=h.targetMainSize-k,p+=h.violation}}),a=!1,d.forEach(h=>{p===0||Math.sign(p)===Math.sign(h.violation)?h.frozen=!0:h.frozen||(a=!0)})}let c=_l(d);if(s&&c.length>0){let u=r.toString().split(".")[1],y=c[c.length-1].toString();c[c.length-1]=+(y+"."+u)}return c}function _l(n){let e=0,t=0,l=[];return n.forEach(function(i){let r=i.targetMainSize,o=Math.round(r+e)-t;e+=r,t+=o,l.push(o)}),l}class Mt{constructor(e){this.columnWidths=new Map,this.columnMinWidths=new Map,this.columnMaxWidths=new Map,this.getDefaultWidth=e?.getDefaultWidth??(()=>"1fr"),this.getDefaultMinWidth=e?.getDefaultMinWidth??(()=>75)}splitColumnsIntoControlledAndUncontrolled(e){return e.reduce((t,l)=>(l.props.width!=null?t[0].set(l.key,l):t[1].set(l.key,l),t),[new Map,new Map])}recombineColumns(e,t,l,i){return new Map(e.map(r=>l.has(r.key)?[r.key,t.get(r.key)]:[r.key,i.get(r.key).props.width]))}getInitialUncontrolledWidths(e){return new Map(Array.from(e).map(([t,l])=>[t,l.props.defaultWidth??this.getDefaultWidth?.(l)??"1fr"]))}getColumnWidth(e){return this.columnWidths.get(e)??0}getColumnMinWidth(e){return this.columnMinWidths.get(e)??0}getColumnMaxWidth(e){return this.columnMaxWidths.get(e)??0}resizeColumnWidth(e,t,l,i){let r=this.columnWidths,o=!0,s=new Map;return i=Math.max(this.getColumnMinWidth(l),Math.min(this.getColumnMaxWidth(l),Math.floor(i))),e.columns.forEach(a=>{a.key===l?(s.set(a.key,i),o=!1):o?s.set(a.key,r.get(a.key)??0):s.set(a.key,a.props.width??t.get(a.key))}),s}buildColumnWidths(e,t,l){return this.columnWidths=new Map,this.columnMinWidths=new Map,this.columnMaxWidths=new Map,Ul(e,t.columns.map(r=>({...r.props,key:r.key})),l,r=>this.getDefaultWidth(t.columns[r]),r=>this.getDefaultMinWidth(t.columns[r])).forEach((r,o)=>{let s=t.columns[o].key,a=t.columns[o];this.columnWidths.set(s,r),this.columnMinWidths.set(s,St(a.props.minWidth??this.getDefaultMinWidth(a),e)),this.columnMaxWidths.set(s,Rt(a.props.maxWidth,e))}),this.columnWidths}}function jl(n,e){let{getDefaultWidth:t,getDefaultMinWidth:l,tableWidth:i=0}=n,[r,o]=f.useState(null),s=f.useMemo(()=>new Mt({getDefaultWidth:t,getDefaultMinWidth:l}),[t,l]),[a,d]=f.useMemo(()=>s.splitColumnsIntoControlledAndUncontrolled(e.collection.columns),[e.collection.columns,s]),[c,u]=f.useState(()=>s.getInitialUncontrolledWidths(d)),[y,g]=f.useState(e.collection.columns);if(e.collection.columns!==y){if(e.collection.columns.length!==y.length||e.collection.columns.some((w,K)=>w.key!==y[K].key)){let w=s.getInitialUncontrolledWidths(d);u(w)}g(e.collection.columns)}let p=f.useMemo(()=>s.recombineColumns(e.collection.columns,c,d,a),[e.collection.columns,c,d,a,s]),h=f.useCallback(w=>{o(w)},[o]),x=f.useCallback((w,K)=>{let S=s.resizeColumnWidth(e.collection,c,w,K),m=new Map(Array.from(d).map(([C])=>[C,S.get(C)]));return m.set(w,K),u(m),S},[d,u,s,e.collection,c]),b=f.useCallback(()=>{o(null)},[o]),k=f.useMemo(()=>s.buildColumnWidths(i,e.collection,p),[i,e.collection,p,s]);return f.useMemo(()=>({resizingColumn:r,updateResizedColumns:x,startResize:h,endResize:b,getColumnWidth:w=>s.getColumnWidth(w),getColumnMinWidth:w=>s.getColumnMinWidth(w),getColumnMaxWidth:w=>s.getColumnMaxWidth(w),tableState:e,columnWidths:k}),[s,k,r,x,h,b,e])}function Yl(n){let{collection:e,focusMode:t}=n,l=n.UNSAFE_selectionState||ht(n),i=f.useMemo(()=>n.disabledKeys?new Set(n.disabledKeys):new Set,[n.disabledKeys]),r=l.setFocusedKey;l.setFocusedKey=(a,d)=>{if(t==="cell"&&a!=null){let c=e.getItem(a);if(c?.type==="item"){let u=N(c,e);d==="last"?a=he(u)?.key??null:a=ie(u)?.key??null}}r(a,d)};let o=f.useMemo(()=>new jt(e,l),[e,l]);const s=f.useRef(null);return f.useEffect(()=>{if(l.focusedKey!=null&&s.current&&!e.getItem(l.focusedKey)){const a=s.current.getItem(l.focusedKey),d=a?.parentKey!=null&&(a.type==="cell"||a.type==="rowheader"||a.type==="column")?s.current.getItem(a.parentKey):a;if(!d){l.setFocusedKey(null);return}const c=s.current.rows,u=e.rows,y=c.length-u.length;let g=Math.min(y>1?Math.max(d.index-y+1,0):d.index,u.length-1),p=null;for(let h=Math.max(0,g);h=0;h--)if(!o.isDisabled(u[h].key)&&u[h].type!=="headerrow"){p=u[h];break}}if(p){const h=p.hasChildNodes?[...N(p,e)]:[],x=p.hasChildNodes&&d!==a&&a&&a.index({showSelectionCheckboxes:i&&l!=="none",showDragButtons:r,selectionMode:l,columns:[]}),[n.children,i,l,r]),a=Yt(n,f.useCallback(g=>new Ll(g,null,s),[s]),s),{disabledKeys:d,selectionManager:c}=Yl({...n,collection:a,disabledBehavior:n.disabledBehavior||"selection"}),[u,y]=ft(n.expandedKeys?new Set(n.expandedKeys):void 0,n.defaultExpandedKeys?new Set(n.defaultExpandedKeys):new Set,n.onExpandedChange);return{collection:a,disabledKeys:d,selectionManager:c,showSelectionCheckboxes:n.showSelectionCheckboxes||!1,sortDescriptor:n.sortDescriptor??null,isKeyboardNavigationDisabled:a.size===0||e,setKeyboardNavigationDisabled:t,sort(g,p){n.onSortChange?.({column:g,direction:p??(n.sortDescriptor?.column===g?Xl[n.sortDescriptor.direction]:"ascending")})},expandedKeys:u,toggleKey(g){y(p=>{let h=new Set(p);return h.has(g)?h.delete(g):h.add(g),h})},treeColumn:o}}function ql(n,e){let t=f.useMemo(()=>e?n.collection.filter(e):n.collection,[n.collection,e]),l=n.selectionManager.withCollection(t);return{...n,collection:t,selectionManager:l}}class Dt{constructor(e){if(this.collection=e.collection,this.disabledKeys=e.disabledKeys,this.disabledBehavior=e.disabledBehavior||"all",this.direction=e.direction,this.collator=e.collator,!e.layout&&!e.ref)throw new Error("Either a layout or a ref must be specified.");this.layoutDelegate=e.layoutDelegate||(e.layout?new Zl(e.layout):new Xt(e.ref)),this.focusMode=e.focusMode??"row"}isCell(e){return e.type==="cell"}isRow(e){return e.type==="row"||e.type==="item"}isDisabled(e){return this.disabledBehavior==="all"&&(e.props?.isDisabled||this.disabledKeys.has(e.key))&&e.props?.disabledBehavior!=="selection"}findPreviousKey(e,t,l=!1){let i=e!=null?this.collection.getKeyBefore(e):this.collection.getLastKey();for(;i!=null;){let r=this.collection.getItem(i);if(!r)return null;if((l||!this.isDisabled(r))&&(!t||t(r)))return i;i=this.collection.getKeyBefore(i)}return null}findNextKey(e,t,l=!1){let i=e!=null?this.collection.getKeyAfter(e):this.collection.getFirstKey();for(;i!=null;){let r=this.collection.getItem(i);if(!r)return null;if((l||!this.isDisabled(r))&&(!t||t(r)))return i;if(i=this.collection.getKeyAfter(i),i==null)return null}return null}getKeyForItemInRowByIndex(e,t=0){if(t<0)return null;let l=this.collection.getItem(e);if(!l)return null;let i=0;for(let r of N(l,this.collection)){if(r.colSpan&&r.colSpan+i>t||(r.colSpan&&(i=i+r.colSpan-1),i===t))return r.key??null;i++}return null}getKeyBelow(e,t){let l=e,i=this.collection.getItem(l);if(!i||(this.isCell(i)&&(l=i.parentKey??null),l==null))return null;if(l=this.findNextKey(l,r=>r.type==="item",t?.includeDisabled),l!=null){if(this.isCell(i)){let r=i.colIndex?i.colIndex:i.index;return this.getKeyForItemInRowByIndex(l,r)}if(this.focusMode==="row")return l}return null}getKeyAbove(e,t){let l=e,i=this.collection.getItem(l);if(!i||(this.isCell(i)&&(l=i.parentKey??null),l==null))return null;if(l=this.findPreviousKey(l,r=>r.type==="item",t?.includeDisabled),l!=null){if(this.isCell(i)){let r=i.colIndex?i.colIndex:i.index;return this.getKeyForItemInRowByIndex(l,r)}if(this.focusMode==="row")return l}return null}getKeyRightOf(e){let t=this.collection.getItem(e);if(!t)return null;if(this.isRow(t)){let l=N(t,this.collection);return(this.direction==="rtl"?he(l)?.key:ie(l)?.key)??null}if(this.isCell(t)&&t.parentKey!=null){let l=this.collection.getItem(t.parentKey);if(!l)return null;let i=N(l,this.collection),r=(this.direction==="rtl"?Ke(i,t.index-1):Ke(i,t.index+1))??null;return r?r.key??null:this.focusMode==="row"?t.parentKey??null:(this.direction==="rtl"?this.getFirstKey(e):this.getLastKey(e))??null}return null}getKeyLeftOf(e){let t=this.collection.getItem(e);if(!t)return null;if(this.isRow(t)){let l=N(t,this.collection);return(this.direction==="rtl"?ie(l)?.key:he(l)?.key)??null}if(this.isCell(t)&&t.parentKey!=null){let l=this.collection.getItem(t.parentKey);if(!l)return null;let i=N(l,this.collection),r=(this.direction==="rtl"?Ke(i,t.index+1):Ke(i,t.index-1))??null;return r?r.key??null:this.focusMode==="row"?t.parentKey??null:(this.direction==="rtl"?this.getLastKey(e):this.getFirstKey(e))??null}return null}getFirstKey(e,t){let l=e??null,i;if(l!=null){if(i=this.collection.getItem(l),!i)return null;if(this.isCell(i)&&!t&&i.parentKey!=null){let r=this.collection.getItem(i.parentKey);return r?ie(N(r,this.collection))?.key??null:null}}if(l=this.findNextKey(void 0,r=>r.type==="item"),l!=null&&(i&&this.isCell(i)&&t||this.focusMode==="cell")){let r=this.collection.getItem(l);if(!r)return null;l=ie(N(r,this.collection))?.key??null}return l}getLastKey(e,t){let l=e??null,i;if(l!=null){if(i=this.collection.getItem(l),!i)return null;if(this.isCell(i)&&!t&&i.parentKey!=null){let r=this.collection.getItem(i.parentKey);if(!r)return null;let o=N(r,this.collection);return he(o)?.key??null}}if(l=this.findPreviousKey(void 0,r=>r.type==="item"),l!=null&&(i&&this.isCell(i)&&t||this.focusMode==="cell")){let r=this.collection.getItem(l);if(!r)return null;let o=N(r,this.collection);l=he(o)?.key??null}return l}getKeyPageAbove(e){let t=e,l=this.layoutDelegate.getItemRect(t);if(!l)return null;let i=Math.max(0,l.y+l.height-this.layoutDelegate.getVisibleRect().height);for(;l&&l.y>i&&t!=null&&(t=this.getKeyAbove(t)??null,t!=null);)l=this.layoutDelegate.getItemRect(t);return t}getKeyPageBelow(e){let t=e,l=this.layoutDelegate.getItemRect(t);if(!l)return null;let i=this.layoutDelegate.getVisibleRect().height,r=Math.min(this.layoutDelegate.getContentSize().height,l.y+i);for(;l&&l.y+l.heighta.type==="item"),l==null&&!o&&(l=this.getFirstKey(),o=!0)}return null}}class Zl{constructor(e){this.layout=e}getContentSize(){return this.layout.getContentSize()}getItemRect(e){return this.layout.getLayoutInfo(e)?.rect||null}getVisibleRect(){return this.layout.virtualizer.visibleRect}}const je=new WeakMap;function Ql(n,e,t){let{isVirtualized:l,disallowTypeAhead:i,keyboardDelegate:r,focusMode:o,scrollRef:s,getRowText:a,onRowAction:d,onCellAction:c,escapeKeyBehavior:u="clearSelection",shouldSelectOnPressUp:y,keyboardNavigationBehavior:g="arrow"}=n,{selectionManager:p}=e;!n["aria-label"]&&!n["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let h=yt({usage:"search",sensitivity:"base"}),{direction:x}=ae(),b=e.selectionManager.disabledBehavior,k=f.useMemo(()=>r||new Dt({collection:e.collection,disabledKeys:e.disabledKeys,disabledBehavior:b,ref:t,direction:x,collator:h,focusMode:o}),[r,e.collection,e.disabledKeys,b,t,x,h,o]),{collectionProps:w}=Gt({ref:t,selectionManager:p,keyboardDelegate:k,isVirtualized:l,scrollRef:s,disallowTypeAhead:i,escapeKeyBehavior:u}),K=Be(n.id);je.set(e,{keyboardDelegate:k,actions:{onRowAction:d,onCellAction:c},shouldSelectOnPressUp:y,keyboardNavigationBehavior:g});let S=El({selectionManager:p,hasItemActions:!!(d||c)}),m=Y(n,{labelable:!0}),C=f.useCallback(F=>{if(p.isFocused){fe(F.currentTarget,ee(F))||p.setFocused(!1);return}fe(F.currentTarget,ee(F))&&p.setFocused(!0)},[p]),M=f.useMemo(()=>({onBlur:w.onBlur,onFocus:C}),[C,w.onBlur]),R=qt(t,{isDisabled:e.collection.size!==0}),T=L(m,{role:"grid",id:K,"aria-multiselectable":p.selectionMode==="multiple"?"true":void 0},e.isKeyboardNavigationDisabled?M:w,e.collection.size===0&&{tabIndex:R?-1:0}||void 0,S);return l&&(T["aria-rowcount"]=e.collection.size,T["aria-colcount"]=e.collection.columnCount),Pl({getRowText:a},e),{gridProps:T}}const Ye=new WeakMap;function Fe(n){return typeof n=="string"?n.replace(/\s*/g,""):""+n}function Et(n,e){let t=Ye.get(n);if(!t)throw new Error("Unknown grid");return`${t}-${Fe(e)}`}function Pt(n,e,t){let l=Ye.get(n);if(!l)throw new Error("Unknown grid");return`${l}-${Fe(e)}-${Fe(t)}`}function Ae(n,e){return[...n.collection.rowHeaderColumnKeys].map(t=>Pt(n,e,t)).join(" ")}var zt={};zt={select:"Select",selectAll:"Select All",sortable:"sortable column",ascending:"ascending",descending:"descending",ascendingSort:n=>`sorted by column ${n.columnName} in ascending order`,descendingSort:n=>`sorted by column ${n.columnName} in descending order`,columnSize:n=>`${n.value} pixels`,resizerDescription:"Press Enter to start resizing",expand:"Expand",collapse:"Collapse"};var Tt={};Tt={ascending:"升序",ascendingSort:n=>`按列 ${n.columnName} 升序排序`,collapse:"折叠",columnSize:n=>`${n.value} 像素`,descending:"降序",descendingSort:n=>`按列 ${n.columnName} 降序排序`,expand:"扩展",resizerDescription:"按 Enter 开始调整大小。",select:"选择",selectAll:"全选",sortable:"可排序的列"};var Nt={};Nt={ascending:"遞增",ascendingSort:n=>`已依據「${n.columnName}」欄遞增排序`,collapse:"收合",columnSize:n=>`${n.value} 像素`,descending:"遞減",descendingSort:n=>`已依據「${n.columnName}」欄遞減排序`,expand:"展開",resizerDescription:"按 Enter 鍵以開始調整大小",select:"選取",selectAll:"全選",sortable:"可排序的欄"};var $e={};$e={"ar-AE":D,"bg-BG":D,"cs-CZ":D,"da-DK":D,"de-DE":D,"el-GR":D,"en-US":zt,"es-ES":D,"et-EE":D,"fi-FI":D,"fr-FR":D,"he-IL":D,"hr-HR":D,"hu-HU":D,"it-IT":D,"ja-JP":D,"ko-KR":D,"lt-LT":D,"lv-LV":D,"nb-NO":D,"nl-NL":D,"pl-PL":D,"pt-BR":D,"pt-PT":D,"ro-RO":D,"ru-RU":D,"sk-SK":D,"sl-SI":D,"sr-SP":D,"sv-SE":D,"tr-TR":D,"uk-UA":D,"zh-CN":Tt,"zh-TW":Nt};class Jl extends Dt{isCell(e){return e.type==="cell"||e.type==="rowheader"||e.type==="column"}getKeyBelow(e,t){let l=this.collection.getItem(e);if(!l)return null;if(l.type==="column"){let i=ie(N(l,this.collection));if(i)return i.key;let r=this.getFirstKey();return r==null||!this.collection.getItem(r)?null:super.getKeyForItemInRowByIndex(r,l.index)}return super.getKeyBelow(e,t)}getKeyAbove(e,t){let l=this.collection.getItem(e);if(!l)return null;if(l.type==="column"){let o=l.parentKey!=null?this.collection.getItem(l.parentKey):null;return o&&o.type==="column"?o.key:null}let i=super.getKeyAbove(e,t),r=i!=null?this.collection.getItem(i):null;return r&&r.type!=="headerrow"?i:this.isCell(l)?this.collection.columns[l.index].key:this.collection.columns[0].key}findNextColumnKey(e){let t=this.findNextKey(e.key,i=>i.type==="column");if(t!=null)return t;let l=this.collection.headerRows[e.level];for(let i of N(l,this.collection))if(i.type==="column")return i.key;return null}findPreviousColumnKey(e){let t=this.findPreviousKey(e.key,r=>r.type==="column");if(t!=null)return t;let l=this.collection.headerRows[e.level],i=[...N(l,this.collection)];for(let r=i.length-1;r>=0;r--){let o=i[r];if(o.type==="column")return o.key}return null}getKeyRightOf(e){let t=this.collection.getItem(e);return t?t.type==="column"?this.direction==="rtl"?this.findPreviousColumnKey(t):this.findNextColumnKey(t):super.getKeyRightOf(e):null}getKeyLeftOf(e){let t=this.collection.getItem(e);return t?t.type==="column"?this.direction==="rtl"?this.findNextColumnKey(t):this.findPreviousColumnKey(t):super.getKeyLeftOf(e):null}getKeyForSearch(e,t){if(!this.collator)return null;let l=this.collection,i=t??this.getFirstKey();if(i==null)return null;let r=l.getItem(i);r?.type==="cell"&&(i=r.parentKey??null);let o=!1;for(;i!=null;){let s=l.getItem(i);if(!s)return null;if(s.textValue){let a=s.textValue.slice(0,e.length);if(this.collator.compare(a,e)===0)return s.key}for(let a of N(s,this.collection)){let d=l.columns[a.index];if(l.rowHeaderColumnKeys.has(d.key)&&a.textValue){let c=a.textValue.slice(0,e.length);if(this.collator.compare(c,e)===0)return(t!=null?l.getItem(t):r)?.type==="cell"?a.key:s.key}}i=this.getKeyBelow(i),i==null&&!o&&(i=this.getFirstKey(),o=!0)}return null}}function ei(n){return n&&n.__esModule?n.default:n}function ti(n,e,t){let{keyboardDelegate:l,isVirtualized:i,layoutDelegate:r,layout:o}=n,s=yt({usage:"search",sensitivity:"base"}),{direction:a}=ae(),d=e.selectionManager.disabledBehavior,c=f.useMemo(()=>l||new Jl({collection:e.collection,disabledKeys:e.disabledKeys,disabledBehavior:d,ref:t,direction:a,collator:s,layoutDelegate:r,layout:o}),[l,e.collection,e.disabledKeys,d,t,a,s,r,o]),u=Be(n.id);Ye.set(e,u);let{gridProps:y}=Ql({...n,id:u,keyboardDelegate:c},e,t);i&&(y["aria-rowcount"]=e.collection.size+e.collection.headerRows.length),e.treeColumn!=null&&(y.role="treegrid");let{column:g,direction:p}=e.sortDescriptor||{},h=be(ei($e),"@react-aria/table"),x=f.useMemo(()=>{let k=e.collection.columns.find(w=>w.key===g)?.textValue??"";return p&&g?h.format(`${p}Sort`,{columnName:k}):void 0},[p,g,e.collection.columns]),b=Le(x);return zl(()=>{x&&Zt(x,"assertive",500)},[x]),{gridProps:L(y,b,{"aria-describedby":[b["aria-describedby"],y["aria-describedby"]].filter(Boolean).join(" ")})}}function Ht(n,e,t){let{node:l,isVirtualized:i,focusMode:r,allowsArrowNavigation:o,shouldSelectOnPressUp:s,onAction:a}=n,{direction:d}=ae(),{keyboardDelegate:c,actions:{onCellAction:u},keyboardNavigationBehavior:y}=je.get(e),g=r??(y==="tab"?"cell":"child"),p=f.useRef(null),h=()=>{if(t.current){let m=Pe(t.current);if(g==="child"){if(Qe(t.current)&&t.current!==ve(Ie(t.current)))return;let C=e.selectionManager.childFocusStrategy==="last"?Te(m):m.firstChild();if(C){J(C);return}}(p.current!=null&&l.key!==p.current||!Qe(t.current))&&J(t.current)}},{itemProps:x,isPressed:b}=pt({selectionManager:e.selectionManager,key:l.key,ref:t,isVirtualized:i,focus:h,shouldSelectOnPressUp:s,onAction:u?()=>u(l.key):a,isDisabled:e.collection.size===0}),k=m=>{let C=ve(Ie(t.current));if(!fe(m.currentTarget,ee(m))||e.isKeyboardNavigationDisabled||!t.current||!C)return;let M=Pe(t.current);switch(M.currentNode=C,m.key){case"ArrowLeft":{let R=d==="rtl"?M.nextNode():M.previousNode();if(g==="child"&&R===t.current&&(R=null),m.preventDefault(),m.stopPropagation(),R)J(R),de(R,{containingElement:ce(t.current)});else{if(c.getKeyLeftOf?.(l.key)!==l.key){t.current.parentElement?.dispatchEvent(new KeyboardEvent(m.nativeEvent.type,m.nativeEvent));break}g==="cell"&&d==="rtl"?(J(t.current),de(t.current,{containingElement:ce(t.current)})):(M.currentNode=t.current,R=d==="rtl"?M.firstChild():Te(M),R&&(J(R),de(R,{containingElement:ce(t.current)})))}break}case"ArrowRight":{let R=d==="rtl"?M.previousNode():M.nextNode();if(g==="child"&&R===t.current&&(R=null),m.preventDefault(),m.stopPropagation(),R)J(R),de(R,{containingElement:ce(t.current)});else{if(c.getKeyRightOf?.(l.key)!==l.key){t.current.parentElement?.dispatchEvent(new KeyboardEvent(m.nativeEvent.type,m.nativeEvent));break}g==="cell"&&d==="ltr"?(J(t.current),de(t.current,{containingElement:ce(t.current)})):(M.currentNode=t.current,R=d==="rtl"?Te(M):M.firstChild(),R&&(J(R),de(R,{containingElement:ce(t.current)})))}break}case"ArrowUp":case"ArrowDown":!m.altKey&&fe(t.current,ee(m))&&(m.stopPropagation(),m.preventDefault(),t.current.parentElement?.dispatchEvent(new KeyboardEvent(m.nativeEvent.type,m.nativeEvent)));break}},w=m=>{let C=ve(Ie(t.current));if(!(!fe(m.currentTarget,ee(m))||e.isKeyboardNavigationDisabled||!t.current||!C)){if(y==="tab"&&ee(m)!==t.current&&m.key!=="Tab"){m.stopPropagation();return}switch(m.key){case"Tab":if(y==="tab"){let M=Pe(t.current,{tabbable:!0});M.currentNode=C,(m.shiftKey?M.previousNode():M.nextNode())&&m.stopPropagation()}}}},K=m=>{if(p.current=l.key,ee(m)!==t.current){Qt()||e.selectionManager.setFocusedKey(l.key);return}g==="child"&&m.relatedTarget&&fe(t.current,m.relatedTarget)||requestAnimationFrame(()=>{g==="child"&&ve(Ie(t.current))===t.current&&h()})},S=L(x,{role:"gridcell",onKeyDownCapture:y!=="tab"||o?k:void 0,onKeyDown:y==="tab"?w:void 0,"aria-colspan":l.colSpan,"aria-colindex":l.colIndex!=null?l.colIndex+1:void 0,colSpan:i?void 0:l.colSpan,onFocus:K,...g==="child"&&y==="tab"?{tabIndex:-1}:{}});return i&&(S["aria-colindex"]=(l.colIndex??l.index)+1),s&&S.tabIndex!=null&&S.onPointerDown==null&&(S.onPointerDown=m=>{let C=m.currentTarget,M=C.getAttribute("tabindex");C.removeAttribute("tabindex"),requestAnimationFrame(()=>{M!=null&&C.setAttribute("tabindex",M)})}),{gridCellProps:S,isPressed:b}}function Te(n){let e=null,t=null;do t=n.lastChild(),t&&(e=t);while(t);return e}function li(n){return n&&n.__esModule?n.default:n}function ii(n,e,t){let{node:l}=n,i=l.props.allowsSorting,{gridCellProps:r}=Ht({focusMode:"child",...n},e,t),o=l.props.isSelectionCell&&e.selectionManager.selectionMode==="single",{pressProps:s,isPressed:a}=gt({isDisabled:!i||o,onPress(){e.sort(l.key)},ref:t}),{focusableProps:d}=Jt({},t),c,u=e.sortDescriptor?.column===l.key,y=e.sortDescriptor?.direction;l.props.allowsSorting&&!Je()&&(c=u?y:"none");let g=be(li($e),"@react-aria/table"),p;i&&(p=`${g.format("sortable")}`,u&&y&&Je()&&(p=`${p}, ${g.format(y)}`));let h=Le(p),x=e.collection.size===0;return f.useEffect(()=>{x&&e.selectionManager.focusedKey===l.key&&e.selectionManager.setFocusedKey(null)},[x,e.selectionManager,l.key]),{columnHeaderProps:{...L(d,r,s,h,x?{tabIndex:-1}:null),role:"columnheader",id:Et(e,l.key),"aria-colspan":l.colSpan&&l.colSpan>1?l.colSpan:void 0,"aria-sort":c},isPressed:a}}function ri(n,e,t){let{node:l,isVirtualized:i,shouldSelectOnPressUp:r,onAction:o}=n,{actions:s,shouldSelectOnPressUp:a}=je.get(e),d=s.onRowAction?()=>s.onRowAction?.(l.key):o,{itemProps:c,...u}=pt({selectionManager:e.selectionManager,key:l.key,ref:t,isVirtualized:i,shouldSelectOnPressUp:a||r,onAction:d||l?.props?.onAction?el(l?.props?.onAction,d):void 0,isDisabled:e.collection.size===0}),y=e.selectionManager.isSelected(l.key),g={role:"row","aria-selected":e.selectionManager.selectionMode!=="none"?y:void 0,"aria-disabled":u.isDisabled||void 0,...c};return i&&(g["aria-rowindex"]=l.index+1),{rowProps:g,...u}}function ni(n){return n&&n.__esModule?n.default:n}const nt={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function oi(n,e,t){let{node:l,isVirtualized:i}=n,{rowProps:r,...o}=ri(n,e,t),{direction:s}=ae();i&&e.treeColumn==null?r["aria-rowindex"]=l.index+1+e.collection.headerRows.length:delete r["aria-rowindex"];let a=e.treeColumn!=null&&(e.expandedKeys==="all"||e.expandedKeys.has(l.key)),d=be(ni($e),"@react-aria/table"),c=tl({"aria-label":a?d.format("collapse"):d.format("expand"),"aria-labelledby":Ae(e,l.key)}),u={},y={};if(e.treeColumn!=null){let h=e.collection.getItem(l.key);if(h!=null){let x=ot(e.collection,l),b=h.props?.hasChildRows||h.props?.UNSTABLE_childItems||x?.type!=="cell",k=e.collection.getItem(l.parentKey),w=k.type==="tablebody"||k.type==="body",K=ot(e.collection,k);for(;K&&K.type!=="item"&&K.prevKey!=null;)K=e.collection.getItem(K.prevKey);u={onKeyDown:S=>{S.key===nt.expand[s]&&e.selectionManager.focusedKey===h.key&&b&&e.expandedKeys!=="all"&&!e.expandedKeys.has(h.key)?(e.toggleKey(h.key),S.stopPropagation()):S.key===nt.collapse[s]&&e.selectionManager.focusedKey===h.key&&(e.expandedKeys!=="all"?b&&e.expandedKeys.has(h.key)?(e.toggleKey(h.key),S.stopPropagation()):!e.expandedKeys.has(h.key)&&h.parentKey!=null&&h.level>0&&(e.selectionManager.setFocusedKey(h.parentKey),S.stopPropagation()):e.expandedKeys==="all"&&(e.toggleKey(h.key),S.stopPropagation()))},"aria-expanded":b?e.expandedKeys==="all"||e.expandedKeys.has(l.key):void 0,"aria-level":h.level+1,"aria-posinset":h.index-(w?0:e.collection.columnCount)+1,"aria-setsize":K.index-(w?0:e.collection.columnCount)+1},y={isDisabled:o.isDisabled,onPress:()=>{o.isDisabled||(e.toggleKey(l.key),e.selectionManager.setFocused(!0),e.selectionManager.setFocusedKey(l.key))},excludeFromTabOrder:!0,preventFocusOnPress:!0,"data-react-aria-prevent-focus":!0,...c}}}let g=ll(l.props),p=o.hasAction?g:{};return{rowProps:{...L(r,u,p),"aria-labelledby":Ae(e,l.key)},expandButtonProps:y,...o}}function ot(n,e){return"lastChildKey"in e?e.lastChildKey!=null?n.getItem(e.lastChildKey):null:Array.from(e.childNodes).findLast(t=>t.parentKey===e.key)}function ai(n,e,t){let{node:l,isVirtualized:i}=n,r={role:"row"};return i&&e.treeColumn==null&&(r["aria-rowindex"]=l.index+1),{rowProps:r}}function si(n,e,t){let{gridCellProps:l,isPressed:i}=Ht(n,e,t),r=n.node.column?.key;return r!=null&&e.collection.rowHeaderColumnKeys.has(r)&&(l.role="rowheader",l.id=Pt(e,n.node.parentKey,r)),{gridCellProps:l,isPressed:i}}function di(n){return n&&n.__esModule?n.default:n}function ci(n,e){let{key:t}=n;const{checkboxProps:l}=Tl(n,e);return{checkboxProps:{...l,"aria-labelledby":`${l.id} ${Ae(e,t)}`}}}function ui(n){let{isEmpty:e,isSelectAll:t,selectionMode:l}=n.selectionManager;return{checkboxProps:{"aria-label":be(di($e),"@react-aria/table").format(l==="single"?"select":"selectAll"),isSelected:t,isDisabled:l!=="multiple"||n.collection.size===0||n.collection.rows.length===1&&n.collection.rows[0].type==="loader",isIndeterminate:!e&&!t,onChange:()=>n.selectionManager.toggleSelectAll()}}}function hi(n){return n&&n.__esModule?n.default:n}function fi(n,e,t){let{column:l,triggerRef:i,isDisabled:r,onResizeStart:o,onResize:s,onResizeEnd:a,"aria-label":d}=n;const c=be(hi($e),"@react-aria/table");let u=Be(),y=e.resizingColumn===l.key,g=f.useRef(y),p=f.useRef(null),h=f.useRef(!1),x=e.tableState.isKeyboardNavigationDisabled,[b,k]=f.useState(!1),{direction:w}=ae(),K=f.useCallback(I=>{g.current||(p.current=e.updateResizedColumns(I.key,e.getColumnWidth(I.key)),e.startResize(I.key),e.tableState.setKeyboardNavigationDisabled(!0),o?.(p.current)),g.current=!0},[e,o]),S=f.useCallback((I,P)=>{let _=e.updateResizedColumns(I.key,P);s?.(_),p.current=_},[e,s]),m=f.useCallback(I=>{g.current&&(p.current==null&&(p.current=e.updateResizedColumns(I.key,e.getColumnWidth(I.key))),e.endResize(),e.tableState.setKeyboardNavigationDisabled(!1),a?.(p.current),g.current=!1,i?.current&&!h.current&&J(i.current)),p.current=null},[e,i,a]),C=()=>{if(x){m(l);return}return!1},{keyboardProps:M}=il({shortcuts:{Escape:()=>C(),Enter:()=>{x?m(l):K(l)}," ":()=>C(),Tab:()=>C()}});const R=f.useRef(0),{moveProps:T}=Fl({onMoveStart(I){R.current=e.getColumnWidth(l.key),I.pointerType==="mouse"&&k(!0),K(l)},onMove(I){let{deltaX:P,deltaY:_,pointerType:ke}=I;w==="rtl"&&(P*=-1),ke==="keyboard"&&(_!==0&&P===0&&(P=_*-1),P*=10),P!==0&&(R.current+=P,S(l,R.current))},onMoveEnd(I){let{pointerType:P}=I;R.current=0,k(!1),(P==="mouse"||P==="touch"&&h.current)&&m(l)}});let F=f.useCallback(I=>{x&&T.onKeyDown?.(I)},[x,T]),X=Math.floor(e.getColumnMinWidth(l.key)),V=Math.floor(e.getColumnMaxWidth(l.key));V===1/0&&(V=Number.MAX_SAFE_INTEGER);let j=Math.floor(e.getColumnWidth(l.key)),A=rl();A==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(A="touch");let U=i?.current==null&&(A==="keyboard"||A==="virtual")&&!y?c.format("resizerDescription"):void 0,O=Le(U),xe={"aria-label":d,"aria-orientation":"horizontal","aria-labelledby":`${u} ${Et(e.tableState,l.key)}`,"aria-valuetext":c.format("columnSize",{value:j}),type:"range",min:X,max:V,value:j,...O};const G=f.useCallback(()=>{t.current&&J(t.current)},[t]);let q=e.resizingColumn,Z=f.useRef(null),ne=He(K);f.useEffect(()=>{if(Z.current!==q&&q!=null&&q===l.key){h.current=ve()===t.current,ne(l);let I=setTimeout(()=>G(),0),P=setTimeout(G,400);return()=>{clearTimeout(I),clearTimeout(P)}}Z.current=q},[q,l,G,t]);let we=I=>{let P=e.getColumnWidth(l.key),_=parseFloat(ee(I).value);_>P?_=P+10:_=P-10,S(l,_)},{pressProps:Q}=gt({preventFocusOnPress:!0,onPressStart:I=>{if(!(I.ctrlKey||I.altKey||I.metaKey||I.shiftKey||I.pointerType==="keyboard")){if(I.pointerType==="virtual"&&e.resizingColumn!=null){m(l);return}G(),I.pointerType!=="virtual"&&K(l)}},onPress:I=>{(I.pointerType==="touch"&&h.current||I.pointerType==="mouse")&&e.resizingColumn!=null&&m(l)}}),{visuallyHiddenProps:B}=Se();return{resizerProps:L(M,{...T,onKeyDown:F},Q,{style:{touchAction:"none"}}),inputProps:L(B,{id:u,onBlur:()=>{m(l)},onChange:we,disabled:r},xe),isResizing:y,isMouseResizing:b}}function yi(){return{rowGroupProps:{role:"rowgroup"}}}function Wt(){return yi()}function pi(n){return n&&n.__esModule?n.default:n}class gi extends al{withExpandedKeys(e){let t=this.clone();return t.expandedKeys=e,t.frozen=this.frozen,t.rows=Array.from(t.getRows()),t}addNode(e){super.addNode(e),this.columnsDirty||=e.type==="column",e.type==="tableheader"&&(this.head=e)}getRows(){let e=[];for(let t of this)(t.type==="tablebody"||t.type==="tablefooter")&&e.push(...this.getChildren(t.key));return e}get body(){for(let e of this)if(e.type==="tablebody")return e;return new Bt(-2)}commit(e,t,l=!1){this.updateColumns(l),this.firstKey=e,this.lastKey=t,this.rows=[];for(let i of this.getRows()){let r=i.lastChildKey;if(r!=null){let o=this.getItem(r);for(;o&&o.type!=="cell";)o=o.prevKey!=null?this.getItem(o.prevKey):null;if(o){let s=(o.colIndex??o.index)+(o.colSpan??1);if(s!==this.columns.length&&!l)throw new Error(`Cell count must match column count. Found ${s} cells and ${this.columns.length} columns.`)}}this.rows.push(i)}super.commit(e,t,l)}updateColumns(e){if(!this.columnsDirty)return;this.rowHeaderColumnKeys=new Set,this.columns=[];let t=new Map,l=i=>{switch(i.type){case"column":t.set(i.key,i),i.hasChildNodes||(i.index=this.columns.length,this.columns.push(i),i.props.isRowHeader&&this.rowHeaderColumnKeys.add(i.key));break}for(let r of this.getChildren(i.key))l(r)};for(let i of this.getChildren(this.head.key))l(i);if(this.headerRows=It(t,this.columns),this.columnsDirty=!1,this.rowHeaderColumnKeys.size===0&&this.columns.length>0&&!e)throw new Error("A table must have at least one Column with the isRowHeader prop set to true")}get columnCount(){return this.columns.length}*[Symbol.iterator](){let e=this.firstKey;for(;e!=null;){let t=this.getItem(e);t&&(yield t),e=t?.nextKey??null}}getFirstKey(){for(let e of this)if(e.type==="tablebody")return e.firstChildKey??null;return null}getLastKey(){let e=this.lastKey;if(e==null)return null;let t=this.getItem(e);for(;t?.lastChildKey!=null&&(t.type!=="item"||this.expandedKeys.has(t.key));)t=this.getItem(t.lastChildKey);return t?.key}getKeyAfter(e){let t=this.getItem(e);if(t?.type==="column")return t.nextKey??null;if(!t)return null;if(t.type==="item"&&t.firstChildKey!=null&&this.expandedKeys.has(t.key)){let l=this.getItem(t.firstChildKey);for(;l;){if(l.type==="item")return l.key;l=l.nextKey!=null?this.getItem(l.nextKey):null}}return super.getKeyAfter(e)}getKeyBefore(e){let t=this.getItem(e);if(t?.type==="column")return t.prevKey??null;if(!t)return null;let l=null;if(t.prevKey!=null){for(t=this.getItem(t.prevKey);t&&(t.type!=="item"||this.expandedKeys.has(t.key))&&t.lastChildKey!=null;)t=this.getItem(t.lastChildKey);l=t?.key??null}return l==null&&(l=t.parentKey),l!=null&&this.getItem(l)?.type==="tableheader"?null:l}getChildren(e){let t=this.getItem(e);if(!t){for(let i of this.headerRows)if(i.key===e)return i.childNodes}let l=this;return t?.type==="tablebody"||t?.type==="tablefooter"?{*[Symbol.iterator](){let i=t.firstChildKey,r=i!=null?l.getItem(i):null;for(;r;){yield r;let o=l.getKeyAfter(r.key);if(r=o!=null?l.getItem(o):null,r&&r.parentKey===t.parentKey)break}}}:{*[Symbol.iterator](){let i=l.getItem(e),r=i?.firstChildKey!=null?l.getItem(i.firstChildKey):null;for(;r&&(yield r,r=r.nextKey!=null?l.getItem(r.nextKey):null,!(i?.type==="item"&&r?.type!=="cell")););}}}clone(){let e=super.clone();return e.headerRows=this.headerRows,e.columns=this.columns,e.rows=this.rows,e.rowHeaderColumnKeys=this.rowHeaderColumnKeys,e.head=this.head,e}getTextValue(e){let t=this.getItem(e);if(!t)return"";if(t.textValue)return t.textValue;let l=this.rowHeaderColumnKeys,i=[];for(let r of this.getChildren(e)){let o=this.columns[r.index];if(l.has(o.key)&&r.textValue&&i.push(r.textValue),i.length===l.size)break}return i.join(" ")}constructor(...e){super(...e),this.headerRows=[],this.columns=[],this.rows=[],this.rowHeaderColumnKeys=new Set,this.head=new Ft(-1),this.columnsDirty=!0,this.expandedKeys=new Set}}const Xe=f.createContext(null),bi=f.forwardRef(function(e,t){let l=se(t),i=f.useRef(null),r=f.useRef(null),[o,s]=f.useState(0);tt(()=>{let d=i.current;for(;d&&d!==l.current&&!ml(d);)d=d.parentElement;r.current=d},[l]),$l({ref:r,box:"border-box",onResize(){s(r.current?.clientWidth??0)}}),tt(()=>{s(r.current?.clientWidth??0)},[]);let a=f.useMemo(()=>({tableRef:i,scrollRef:r,tableWidth:o,useTableColumnResizeState:jl,onResizeStart:e.onResizeStart,onResize:e.onResize,onResizeEnd:e.onResizeEnd}),[i,o,e.onResizeStart,e.onResize,e.onResizeEnd]);return $.createElement(W.div,{render:e.render,...Y(e,{global:!0}),ref:l,className:e.className||"react-aria-ResizableTableContainer",style:e.style,onScroll:e.onScroll},$.createElement(Xe.Provider,{value:a},e.children))}),mi=f.createContext(null),te=f.createContext(null),Ee=f.createContext(null),$i=f.forwardRef(function(e,t){[e,t]=bt(e,t,mi);let l=ht(e),{selectionBehavior:i,selectionMode:r,disallowEmptySelection:o}=l,s=!!e.dragAndDropHooks?.useDraggableCollectionState,a=f.useMemo(()=>({selectionBehavior:r==="none"?null:i,selectionMode:r,disallowEmptySelection:o,allowsDragging:s}),[i,r,o,s]),d=$.createElement(vi.Provider,{value:a},$.createElement(Ve,e));return $.createElement(nl,{content:d,createCollection:()=>new gi},c=>$.createElement(wi,{props:e,forwardedRef:t,selectionState:l,collection:c}))});let xi=f.forwardRef(function(e,t){let{isVirtualized:l}=f.useContext(H);return l?$.createElement(W.div,{...e,ref:t}):$.createElement(W.table,{...e,ref:t})});const at={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function wi({props:n,forwardedRef:e,selectionState:t,collection:l}){[n,e]=bt(n,e,et);let{shouldUseVirtualFocus:i,disallowTypeAhead:r,filter:o,...s}=n,a=f.useContext(Xe);e=se(f.useMemo(()=>sl(e,a?.tableRef),[e,a?.tableRef]));let[d,c]=ft(n.expandedKeys?new Set(n.expandedKeys):void 0,n.defaultExpandedKeys?new Set(n.defaultExpandedKeys):new Set,n.onExpandedChange);l=f.useMemo(()=>l.withExpandedKeys(d),[l,d]);let u=Gl({...s,collection:l,children:void 0,UNSAFE_selectionState:t,expandedKeys:d,onExpandedChange:c}),y=ql(u,o),{isVirtualized:g,layoutDelegate:p,dropTargetDelegate:h,CollectionRoot:x}=f.useContext(H),{dragAndDropHooks:b}=n,{gridProps:k}=ti({...s,layoutDelegate:p,isVirtualized:g},y,e),w=y.selectionManager,K=!!b?.useDraggableCollectionState,S=!!b?.useDroppableCollectionState;f.useRef(K),f.useRef(S),f.useEffect(()=>{},[K,S]);let m,C,M,R=!1,T=null,F=f.useRef(null),{direction:X}=ae(),[V]=f.useState(()=>new Al);if(K&&b){m=b.useDraggableCollectionState({collection:y.collection,selectionManager:w,preview:b.renderDragPreview?F:void 0}),b.useDraggableCollection({},m,e);let ne=b.DragPreview;T=b.renderDragPreview?$.createElement(ne,{ref:F},b.renderDragPreview):null}if(S&&b){C=b.useDroppableCollectionState({collection:y.collection,selectionManager:w});let ne=new dl({collection:y.collection,disabledKeys:w.disabledKeys,disabledBehavior:w.disabledBehavior,ref:e,layoutDelegate:p}),we=b.dropTargetDelegate||h||new b.ListDropTargetDelegate(l.rows,e);V.setup(we,u,X),M=b.useDroppableCollection({keyboardDelegate:ne,dropTargetDelegate:V,onDropActivate:Q=>{if(Q.target.type==="item"){let B=Q.target.key,I=u.collection.getItem(B),P=d.has(B);I&&I.hasChildNodes&&(!P||b?.isVirtualDragging?.())&&u.toggleKey(B)}},onKeyDown:Q=>{let B=C?.target;if(B&&B.type==="item"&&B.dropPosition==="on"){let I=u.collection.getItem(B.key);(Q.key===at.expand[X]&&I?.hasChildNodes&&!u.expandedKeys.has(B.key)||Q.key===at.collapse[X]&&I?.hasChildNodes&&u.expandedKeys.has(B.key))&&u.toggleKey(B.key)}}},C,e),R=C.isDropTarget({type:"root"})}let{focusProps:j,isFocused:A,isFocusVisible:U}=ye(),O=le({...n,children:void 0,defaultClassName:"react-aria-Table",values:{isDropTarget:R,isFocused:A,isFocusVisible:U,state:y}}),xe=!!(K&&!m?.isDisabled),G=O.style,q=null;a&&(q=a.useTableColumnResizeState({tableWidth:a.tableWidth},y),g||(G={...G,tableLayout:"fixed",width:"min-content"}));let Z=Y(n,{global:!0});return $.createElement(Me,{values:[[te,y],[Ee,q],[me,{dragAndDropHooks:b,dragState:m,dropState:C}],[cl,{render:Ni}],[et,null],[ul,null]]},$.createElement(hl,null,$.createElement(xi,{...L(Z,O,k,j,M?.collectionProps),style:G,ref:e,slot:n.slot||void 0,onScroll:n.onScroll,"data-allows-dragging":xe||void 0,"data-drop-target":R||void 0,"data-focused":A||void 0,"data-focus-visible":U||void 0},$.createElement(fl,null,$.createElement(x,{collection:y.collection,scrollRef:a?.scrollRef??e,persistedKeys:yl(w,b,C)})))),T)}const vi=f.createContext(null);class Ft extends De{static{this.type="tableheader"}}let Ci=f.forwardRef(function(e,t){let{isVirtualized:l}=f.useContext(H);return l?$.createElement(W.div,{...e,ref:t}):$.createElement(W.thead,{...e,ref:t})});const ki=Oe(Ft,(n,e)=>{let t=f.useContext(te).collection,l=pl({items:t.headerRows,children:f.useCallback(a=>{switch(a.type){case"headerrow":return $.createElement(Ii,{item:a});default:throw new Error("Unsupported node type in TableHeader: "+a.type)}},[])}),{rowGroupProps:i}=Wt(),{hoverProps:r,isHovered:o}=Ce({onHoverStart:n.onHoverStart,onHoverChange:n.onHoverChange,onHoverEnd:n.onHoverEnd}),s=le({...n,children:void 0,defaultClassName:"react-aria-TableHeader",values:{isHovered:o}});return $.createElement(Ci,{...L(Y(n,{global:!0}),i,r),...s,ref:e,"data-hovered":o||void 0},l)},n=>$.createElement(Ve,{dependencies:n.dependencies,items:n.columns},n.children));let Ki=f.forwardRef(function(e,t){let{isVirtualized:l}=f.useContext(H);return l?$.createElement("div",{...e,ref:t}):$.createElement("tr",{...e,ref:t})});function Ii({item:n}){let e=f.useRef(null),t=f.useContext(te),{isVirtualized:l,CollectionBranch:i}=f.useContext(H),{rowProps:r}=ai({node:n,isVirtualized:l},t,e),{checkboxProps:o}=ui(t);return $.createElement(Ki,{...r,ref:e},$.createElement(Me,{values:[[Ct,{slots:{selection:o}}],[kt,{slots:{selection:o}}]]},$.createElement(i,{collection:t.collection,parent:n})))}class Ri extends De{static{this.type="column"}}let Si=f.forwardRef(function(e,t){let{isVirtualized:l}=f.useContext(H);return l?$.createElement(W.div,{...e,ref:t}):$.createElement(W.th,{...e,ref:t})});const Mi=Ue(Ri,(n,e,t)=>{let l=se(e),i=f.useContext(te),{isVirtualized:r}=f.useContext(H),{columnHeaderProps:o,isPressed:s}=ii({node:t,isVirtualized:r,focusMode:n.focusMode,allowsArrowNavigation:n.allowsArrowNavigation},i,l),{isFocused:a,isFocusVisible:d,focusProps:c}=ye(),u=f.useContext(Ee),y=!1;u&&(y=u.resizingColumn===t.key);let{hoverProps:g,isHovered:p}=Ce({isDisabled:!n.allowsSorting}),h=le({...n,id:void 0,children:t.rendered,defaultClassName:"react-aria-Column",values:{isHovered:p,isPressed:s,isFocused:a,isFocusVisible:d,allowsSorting:t.props.allowsSorting,sortDirection:i.sortDescriptor?.column===t.key?i.sortDescriptor.direction:void 0,isResizing:y,startResize:()=>{if(u)u.startResize(t.key),i.setKeyboardNavigationDisabled(!0);else throw new Error("Wrap your in a to enable column resizing")},sort:k=>{i.sort(t.key,k)}}}),x=h.style;u&&(x={...x,width:u.getColumnWidth(t.key)});let b=Y(n,{global:!0});return delete b.id,$.createElement(Si,{...L(b,o,c,g),...h,style:x,ref:l,"data-hovered":p||void 0,"data-pressed":s||void 0,"data-focused":a||void 0,"data-focus-visible":d||void 0,"data-resizing":y||void 0,"data-allows-sorting":t.props.allowsSorting||void 0,"data-sort-direction":i.sortDescriptor?.column===t.key?i.sortDescriptor.direction:void 0},$.createElement(Me,{values:[[At,{column:t,triggerRef:l}],[H,mt]]},h.children))}),At=f.createContext(null),Di=f.forwardRef(function(e,t){let l=f.useContext(Ee);if(!l)throw new Error("Wrap your in a to enable column resizing");let i=be(pi(xl),"react-aria-components"),{onResizeStart:r,onResize:o,onResizeEnd:s}=f.useContext(Xe),{column:a,triggerRef:d}=f.useContext(At),c=f.useRef(null),{resizerProps:u,inputProps:y,isResizing:g,isMouseResizing:p}=fi({column:a,"aria-label":e["aria-label"]||i.format("tableResizer"),onResizeStart:r,onResize:o,onResizeEnd:s,triggerRef:d},l,c),{focusProps:h,isFocused:x,isFocusVisible:b}=ye(),{hoverProps:k,isHovered:w}=Ce(e),K=l.getColumnMinWidth(a.key)>=l.getColumnWidth(a.key),S=l.getColumnMaxWidth(a.key)<=l.getColumnWidth(a.key),{direction:m}=ae(),C="both";K?C=m==="rtl"?"right":"left":S?C=m==="rtl"?"left":"right":C="both";let M=se(t),[R,T]=f.useState("");f.useEffect(()=>{if(!M.current)return;let V=window.getComputedStyle(M.current);T(V.cursor)},[M,C]);let F=le({...e,defaultClassName:"react-aria-ColumnResizer",values:{isFocused:x,isFocusVisible:b,isResizing:g,isHovered:w,resizableDirection:C}}),X=Y(e,{global:!0});return $.createElement(W.div,{ref:M,role:"presentation",...L(X,F,u,k),"data-hovered":w||void 0,"data-focused":x||void 0,"data-focus-visible":b||void 0,"data-resizing":g||void 0,"data-resizable-direction":C},F.children,$.createElement("input",{ref:c,...L(y,h)}),g&&p&&Vt.createPortal($.createElement("div",{style:{position:"fixed",top:0,left:0,bottom:0,right:0,cursor:R},"data-testid":"cursor-overlay"}),document.body))});class Bt extends $t{static{this.type="tablebody"}}let Ei=f.forwardRef(function(e,t){let{isVirtualized:l}=f.useContext(H);return l?$.createElement(W.div,{...e,ref:t}):$.createElement(W.tbody,{...e,ref:t})});const Pi=Oe(Bt,(n,e,t)=>{let l=f.useContext(te),{isVirtualized:i}=f.useContext(H),r=l.collection,{CollectionBranch:o}=f.useContext(H),{dragAndDropHooks:s,dropState:a}=f.useContext(me),d=!!s?.useDroppableCollectionState&&!a?.isDisabled,c=d&&!!a&&(a.isDropTarget({type:"root"})??!1),u=r.size===0,y={isDropTarget:c,isEmpty:u},g=le({...n,id:void 0,children:void 0,defaultClassName:"react-aria-TableBody",values:y}),p,h=r.columnCount;if(u&&n.renderEmptyState&&l){let k={},w={},K={};i?(w["aria-colspan"]=h,K={display:"contents"}):w.colSpan=h,p=$.createElement(pe,{role:"row",...k,style:K},$.createElement(ge,{role:"rowheader",...w,style:K},n.renderEmptyState(y)))}let{rowGroupProps:x}=Wt(),b=Y(n,{global:!0});return $.createElement(Ei,{...L(b,g,x),ref:e,"data-empty":u||void 0},d&&$.createElement(Bi,null),$.createElement(o,{collection:r,parent:t,renderDropIndicator:ol(s,a)}),p)});class Ji extends $t{static{this.type="tablefooter"}}const Lt=f.createContext({isFocusVisibleWithinRow:!1});class zi extends De{static{this.type="item"}filter(e,t,l){let i=e.getChildren(this.key);for(let r of i)if(l(r.textValue,r)){let o=this.clone();return t.addDescendants(o,e),o}return null}}let pe=f.forwardRef(function(e,t){let{isVirtualized:l}=f.useContext(H);return l?$.createElement(W.div,{...e,ref:t}):$.createElement(W.tr,{...e,ref:t})});const st=Oe(zi,(n,e,t)=>{let l=se(e),i=f.useContext(te),{dragAndDropHooks:r,dragState:o,dropState:s}=f.useContext(me),{isVirtualized:a,CollectionBranch:d}=f.useContext(H),c=o&&!(o.isDisabled||o.selectionManager.isDisabled(t.key)),{rowProps:u,expandButtonProps:y,...g}=oi({node:t,shouldSelectOnPressUp:!!o,isVirtualized:a},i,l),{isFocused:p,isFocusVisible:h,focusProps:x}=ye(),{isFocusVisible:b,focusProps:k}=ye({within:!0}),{hoverProps:w,isHovered:K}=Ce({isDisabled:!g.allowsSelection&&!g.hasAction&&!c,onHoverStart:n.onHoverStart,onHoverChange:n.onHoverChange,onHoverEnd:n.onHoverEnd}),{checkboxProps:S}=ci({key:t.key},i),m;o&&r&&(m=r.useDraggableItem({key:t.key,hasDragButton:!0},o));let C,M=f.useRef(null),{visuallyHiddenProps:R}=Se();s&&r&&(C=r.useDropIndicator({target:{type:"item",key:t.key,dropPosition:"on"}},s,M));let T=f.useRef(null);f.useEffect(()=>{o&&T.current},[]);let F=o&&o.isDragging(t.key),{children:X,...V}=n,j=n.hasChildItems||i.collection.getItem(t.lastChildKey)?.type!=="cell",A=j&&i.expandedKeys.has(t.key),U=le({...V,id:void 0,defaultClassName:"react-aria-Row",defaultStyle:{"--table-row-level":t.level+1},values:{...g,state:i,isHovered:K,isFocused:p,isFocusVisible:h,selectionMode:i.selectionManager.selectionMode,selectionBehavior:i.selectionManager.selectionBehavior,isDragging:F,isDropTarget:C?.isDropTarget,isFocusVisibleWithin:b,id:t.key,hasChildItems:j,isExpanded:A,level:t.level+1}}),O=Y(n,{global:!0});return delete O.id,delete O.onClick,$.createElement($.Fragment,null,C&&!C.isHidden&&$.createElement(pe,{role:"row",style:{height:0}},$.createElement(ge,{role:"gridcell",colSpan:i.collection.columnCount,style:{padding:0}},$.createElement("div",{role:"button",...R,...C.dropIndicatorProps,ref:M}))),$.createElement(pe,{...L(O,U,u,x,w,m?.dragProps,k),ref:l,"data-disabled":g.isDisabled||void 0,"data-selected":g.isSelected||void 0,"data-hovered":K||void 0,"data-focused":g.isFocused||void 0,"data-focus-visible":h||void 0,"data-pressed":g.isPressed||void 0,"data-dragging":F||void 0,"data-drop-target":C?.isDropTarget||void 0,"data-selection-mode":i.selectionManager.selectionMode==="none"?void 0:i.selectionManager.selectionMode,"data-focus-visible-within":b||void 0,"data-expanded":A||void 0,"data-has-child-items":j||void 0,"data-level":t.level+1},$.createElement(Me,{values:[[Ct,{slots:{[ze]:{},selection:S}}],[kt,{slots:{[ze]:{},selection:S}}],[gl,{slots:{[ze]:{},chevron:y,drag:{...m?.dragButtonProps,ref:T,style:{pointerEvents:"none"}}}}],[bl,{isSelected:g.isSelected}],[Lt,{isFocusVisibleWithinRow:b}]]},$.createElement(d,{collection:i.collection,parent:t}))))},n=>{if(n.id==null&&typeof n.children=="function")throw new Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");let e=[n.value].concat(n.dependencies);return $.createElement(Ve,{dependencies:e,items:n.columns,idScope:n.id},n.children)});class Ti extends De{static{this.type="cell"}}let ge=f.forwardRef(function(e,t){let{isVirtualized:l}=f.useContext(H);return l?$.createElement(W.div,{...e,ref:t}):$.createElement(W.td,{...e,ref:t})});const dt=Ue(Ti,(n,e,t)=>{let l=se(e),i=f.useContext(te),{dragState:r}=f.useContext(me),{isVirtualized:o}=f.useContext(H);t.column=i.collection.columns[t.index];let{gridCellProps:s,isPressed:a}=si({node:t,shouldSelectOnPressUp:!!r,isVirtualized:o,focusMode:n.focusMode,allowsArrowNavigation:n.allowsArrowNavigation},i,l),{isFocused:d,isFocusVisible:c,focusProps:u}=ye(),{hoverProps:y,isHovered:g}=Ce({}),{isFocusVisibleWithinRow:p}=f.useContext(Lt),h=t.parentKey!=null?i.selectionManager.isSelected(t.parentKey):!1,x=t.colIndex||t.index,b=i.collection.getItem(t.parentKey),k=b.props.hasChildItems||i.collection.getItem(b.lastChildKey)?.type!=="cell",w=k&&i.expandedKeys.has(t.parentKey),K=i.selectionManager.isDisabled(t.parentKey),S=le({...n,id:void 0,defaultClassName:"react-aria-Cell",values:{isFocused:d,isFocusVisible:c,isFocusVisibleWithinRow:p,isPressed:a,isHovered:g,isSelected:h,id:t.key,columnIndex:x,hasChildItems:k,isExpanded:w,isDisabled:K,level:b.level+1,isTreeColumn:t.column.key===i.treeColumn}}),m=Y(n,{global:!0});return delete m.id,$.createElement(ge,{...L(m,S,s,u,y),ref:l,"data-focused":d||void 0,"data-focus-visible":c||void 0,"data-focus-visible-within-row":p||void 0,"data-pressed":a||void 0,"data-selected":h||void 0,"data-column-index":x,"data-expanded":w||void 0,"data-has-child-items":k||void 0,"data-level":b.level+1,"data-tree-column":t.column.key===i.treeColumn||void 0,"data-disabled":K||void 0},$.createElement(H.Provider,{value:mt},S.children))});function Ni(n,e){e=se(e);let{dragAndDropHooks:t,dropState:l}=f.useContext(me),i=f.useRef(null),{dropIndicatorProps:r,isHidden:o,isDropTarget:s}=t.useDropIndicator(n,l,i);if(o)return null;let a=l&&n.target.type==="item"?(l.collection.getItem(n.target.key)?.level||0)+1:1;return $.createElement(Ai,{...n,dropIndicatorProps:r,isDropTarget:s,buttonRef:i,level:a,ref:e})}let Hi=f.forwardRef(function(e,t){let{isVirtualized:l}=f.useContext(H);return l?$.createElement(W.div,{...e,ref:t}):$.createElement(W.tr,{...e,ref:t})}),Wi=f.forwardRef(function(e,t){let{isVirtualized:l}=f.useContext(H);return l?$.createElement(W.div,{...e,ref:t}):$.createElement(W.td,{...e,ref:t})});function Fi(n,e){let{dropIndicatorProps:t,isDropTarget:l,buttonRef:i,level:r,...o}=n,s=f.useContext(te),{visuallyHiddenProps:a}=Se(),d=le({...o,defaultClassName:"react-aria-DropIndicator",defaultStyle:{"--table-row-level":r+1},values:{isDropTarget:l}});return $.createElement(Hi,{...Y(n,{global:!0}),...d,role:"row",ref:e,"data-drop-target":l||void 0,"aria-level":r},$.createElement(Wi,{role:"gridcell",colSpan:s.collection.columnCount,style:{padding:0}},$.createElement("div",{...a,role:"button",...t,ref:i}),d.children))}const Ai=f.forwardRef(Fi);function Bi(){let n=f.useContext(te),{dragAndDropHooks:e,dropState:t}=f.useContext(me),l=f.useRef(null),{dropIndicatorProps:i}=e.useDropIndicator({target:{type:"root"}},t,l),r=t.isDropTarget({type:"root"}),{visuallyHiddenProps:o}=Se();return!r&&i["aria-hidden"]?null:$.createElement(pe,{role:"row","aria-hidden":i["aria-hidden"],style:{height:0}},$.createElement(ge,{role:"gridcell",colSpan:n.collection.columnCount,style:{padding:0}},$.createElement("div",{role:"button",...o,...i,ref:l})))}Ue(wl,function(e,t,l){let i=f.useContext(te),{isVirtualized:r}=f.useContext(H),{isLoading:o,onLoadMore:s,scrollOffset:a,...d}=e,c=i.collection.columns.length,u=f.useRef(null),y=f.useMemo(()=>({onLoadMore:s,collection:i?.collection,sentinelRef:u,scrollOffset:a}),[s,a,i?.collection]);vl(y,u);let g=le({...d,id:void 0,children:l.rendered,defaultClassName:"react-aria-TableLoadingIndicator",defaultStyle:{"--table-row-level":l.level+1},values:void 0}),p={},h={},x={};return r?(h["aria-colspan"]=c,x={display:"contents"}):h.colSpan=c,$.createElement($.Fragment,null,$.createElement(pe,{style:{height:0},inert:Cl(!0)},$.createElement(ge,{style:{padding:0,border:0}},$.createElement("div",{"data-testid":"loadMoreSentinel",ref:u,style:{position:"relative",height:1,width:1}}))),o&&g.children&&$.createElement(pe,{...L(Y(e,{global:!0}),p),...g,role:"row",ref:t,"aria-level":l.level+1,"data-level":l.level+1},$.createElement(ge,{role:"rowheader",...h,style:x},g.children)))});const ct=48;class Li extends Wl{constructor(e){super(e),this.lastCollection=null,this.columnWidths=new Map,this.lastPersistedKeys=null,this.persistedIndices=new Map,this.stickyColumnIndices=[]}get collection(){return this.virtualizer.collection}get rowHeight(){return super.rowHeight}get estimatedRowHeight(){return super.estimatedRowHeight}get headingHeight(){return super.headingHeight}get estimatedHeadingHeight(){return super.estimatedHeadingHeight}get loaderHeight(){return super.loaderHeight}columnsChanged(e,t){return!t||e.columns!==t.columns&&e.columns.length!==t.columns.length||e.columns.some((l,i)=>l.key!==t.columns[i].key||l.props.width!==t.columns[i].props.width||l.props.minWidth!==t.columns[i].props.minWidth||l.props.maxWidth!==t.columns[i].props.maxWidth)}shouldInvalidateLayoutOptions(e,t){return e.columnWidths!==t.columnWidths||super.shouldInvalidateLayoutOptions(e,t)}update(e){let t=this.virtualizer.collection;if(e.layoutOptions?.columnWidths){for(const[l,i]of e.layoutOptions.columnWidths)if(this.columnWidths.get(l)!==i){this.columnWidths=e.layoutOptions.columnWidths,e.sizeChanged=!0;break}}else if(e.sizeChanged||this.columnsChanged(t,this.lastCollection)){let l=new Mt({});this.columnWidths=l.buildColumnWidths(this.virtualizer.size.width-this.padding*2,t,new Map),e.sizeChanged=!0}super.update(e)}buildCollection(){this.stickyColumnIndices=[];let e=this.virtualizer.collection;for(let r of e.columns)(this.isStickyColumn(r)||e.rowHeaderColumnKeys.has(r.key))&&this.stickyColumnIndices.push(r.index);let t=[],l=0,i=0;if(e.head){for(let r of e)switch(r.type){case"tableheader":{let o=this.buildTableHeader();l=o.layoutInfo.rect.maxY+this.gap,i=Math.max(i,o.layoutInfo.rect.width),this.layoutNodes.set(o.layoutInfo.key,o),t.push(o);break}case"tablebody":case"tablefooter":{let o=this.buildRowGroup(l,r);l=o.layoutInfo.rect.maxY+this.gap,i=Math.max(i,o.layoutInfo.rect.width),this.layoutNodes.set(o.layoutInfo.key,o),t.push(o);break}}l>0&&(l-=this.gap);for(let r of t)r.layoutInfo.rect.width=i}else{let r=this.buildTableHeader();this.layoutNodes.set(r.layoutInfo.key,r);let o=this.buildBody(r.layoutInfo.rect.maxY+this.gap);o.layoutInfo.rect.width=Math.max(r.layoutInfo.rect.width,o.layoutInfo.rect.width),l=o.layoutInfo.rect.maxY,i=o.layoutInfo.rect.width,t=[r,o]}return this.lastPersistedKeys=null,this.contentSize=new Nl(i+this.padding*2,l+this.padding),t}buildTableHeader(){let e=this.virtualizer.collection,t=new oe(this.padding,this.padding,0,0),l=new ue("header",e.head?.key??"header",t);l.isSticky=!0,l.zIndex=1;let i=this.padding,r=0,o=[];for(let s of e.headerRows){let a=this.buildChild(s,this.padding,i,l.key);a.layoutInfo.parentKey=l.key,i=a.layoutInfo.rect.maxY,r=Math.max(r,a.layoutInfo.rect.width),a.index=o.length,o.push(a)}return t.width=r,t.height=i-this.padding,{layoutInfo:l,children:o,validRect:l.rect,node:e.head}}buildHeaderRow(e,t,l){let i=new oe(t,l,0,0),r=new ue("headerrow",e.key,i),o=0,s=[];for(let a of N(e,this.virtualizer.collection)){let d=this.buildChild(a,t,l,r.key);d.layoutInfo.parentKey=r.key,t=d.layoutInfo.rect.maxX,o=Math.max(o,d.layoutInfo.rect.height),d.index=s.length,s.push(d)}for(let[a,d]of s.entries())d.layoutInfo.zIndex=s.length-a+1;return this.setChildHeights(s,o),i.height=o,i.width=t-i.x,{layoutInfo:r,children:s,validRect:i,node:e}}setChildHeights(e,t){for(let l of e)l.layoutInfo.rect.height!==t&&(l.layoutInfo=l.layoutInfo.copy(),l.layoutInfo.rect.height=t)}getRenderedColumnWidth(e){let t=this.virtualizer.collection,l=e.colSpan??1,i=e.colIndex??e.index,r=0;for(let o=i;othis.requestedRect.maxY&&y.type!=="loader"){e+=d;continue}let g=this.buildChild(y,this.padding,e,r.key);g.layoutInfo.parentKey=r.key,g.index=a.length,e=g.layoutInfo.rect.maxY+this.gap,s=Math.max(s,g.layoutInfo.rect.width),a.push(g)}return l?.size===0?e=this.virtualizer.size.height:e-=this.gap,i.width=s,i.height=e-o,{layoutInfo:r,children:a,validRect:r.rect.intersection(this.requestedRect),node:t}}buildLoader(e,t,l){let i=super.buildLoader(e,t,l),r=this.virtualizer.collection;return i.layoutInfo.rect.width=this.layoutNodes.get(r.head?.key??"header").layoutInfo.rect.width,i.validRect=i.layoutInfo.rect.intersection(this.requestedRect),i}buildNode(e,t,l){switch(e.type){case"headerrow":return this.buildHeaderRow(e,t,l);case"item":return this.buildRow(e,t,l);case"column":case"placeholder":return this.buildColumn(e,t,l);case"cell":return this.buildCell(e,t,l);case"loader":return this.buildLoader(e,t,l);default:throw new Error("Unknown node type "+e.type)}}buildRow(e,t,l){let i=this.virtualizer.collection,r=new oe(t,l,0,0),o=new ue("row",e.key,r),s=[],a=0;for(let d of N(e,i))if(d.type==="cell")if(t>this.requestedRect.maxX){let c=this.layoutNodes.get(d.key);if(c)c.layoutInfo.rect.x=t,t+=c.layoutInfo.rect.width;else break}else{let c=this.buildChild(d,t,l,o.key);t=c.layoutInfo.rect.maxX,a=Math.max(a,c.layoutInfo.rect.height),c.index=s.length,s.push(c)}return this.setChildHeights(s,a),r.width=this.layoutNodes.get(i.head?.key??"header").layoutInfo.rect.width,r.height=a,{layoutInfo:o,children:s,validRect:r.intersection(this.requestedRect),node:e}}buildCell(e,t,l){let i=this.getRenderedColumnWidth(e),{height:r,isEstimated:o}=this.getEstimatedHeight(e,i,this.rowHeight,this.estimatedRowHeight),s=new oe(t,l,i,r),a=new ue(e.type,e.key,s);return a.isSticky=this.isStickyColumn(e),a.zIndex=a.isSticky?2:1,a.estimatedSize=o,{layoutInfo:a,children:[],validRect:s,node:e}}getVisibleLayoutInfos(e){if(e.height>1){let l=this.getEstimatedRowHeight();e.y=Math.floor(e.y/l)*l,e.height=Math.ceil(e.height/l)*l}this.layoutIfNeeded(e);let t=[];this.buildPersistedIndices();for(let l of this.rootNodes)t.push(l.layoutInfo),this.addVisibleLayoutInfos(t,l,e);return t}addVisibleLayoutInfos(e,t,l){if(!(!t.children||t.children.length===0))switch(t.layoutInfo.type){case"header":for(let i of t.children)e.push(i.layoutInfo),this.addVisibleLayoutInfos(e,i,l);break;case"rowgroup":{let i=this.binarySearch(t.children,l.topLeft,"y"),r=this.binarySearch(t.children,l.bottomRight,"y"),o=this.persistedIndices.get(t.layoutInfo.key),s=0;for(;o&&s>1,s=e[o];if(l==="x"&&s.layoutInfo.rect.maxX<=t.x||l==="y"&&s.layoutInfo.rect.maxY<=t.y)i=o+1;else if(l==="x"&&s.layoutInfo.rect.x>t.x||l==="y"&&s.layoutInfo.rect.y>t.y)r=o-1;else return o}return Math.max(0,Math.min(e.length-1,i))}buildPersistedIndices(){if(this.virtualizer.persistedKeys!==this.lastPersistedKeys){this.lastPersistedKeys=this.virtualizer.persistedKeys,this.persistedIndices.clear();for(let e of this.virtualizer.persistedKeys){let t=this.layoutNodes.get(e)?.layoutInfo;for(;t&&t.parentKey;){let l=this.virtualizer.collection.getItem(t.key),i=this.persistedIndices.get(t.parentKey);i||(i=l?.type==="cell"||l?.type==="column"?[...this.stickyColumnIndices]:[],this.persistedIndices.set(t.parentKey,i));let r=this.layoutNodes.get(t.key)?.index;r!=null&&!i.includes(r)&&i.push(r),t=this.layoutNodes.get(t.parentKey)?.layoutInfo}}for(let e of this.persistedIndices.values())e.sort((t,l)=>t-l)}}getDropTargetFromPoint(e,t,l){e+=this.virtualizer.visibleRect.x,t+=this.virtualizer.visibleRect.y;let i=new oe(e,Math.max(0,t-this.gap),1,Math.max(1,this.gap*2)),r=this.getVisibleLayoutInfos(i),o=null,s=1/0;for(let u of r){if(u.type!=="row"||!u.rect.intersects(i))continue;let y=Math.abs(u.rect.y-t),g=Math.abs(u.rect.maxY-t),p=Math.min(y,g);p=d.maxY-10&&l({...c,dropPosition:"after"})&&(c.dropPosition="after"):t<=d.y+d.height/2&&l({...c,dropPosition:"before"})?c.dropPosition="before":l({...c,dropPosition:"after"})&&(c.dropPosition="after"),c}getDropTargetLayoutInfo(e){let t=super.getDropTargetLayoutInfo(e);return t.parentKey=this.virtualizer.collection.getItem(e.key)?.parentKey??null,t}}class Vi extends Li{useLayoutOptions(){let e=f.useContext(Ee);return f.useMemo(()=>({columnWidths:e?.columnWidths}),[e?.columnWidths])}}function Oi({cols:n,firstVisibleHeader:e}){const t=xt();return E.jsx(ki,{children:n.map((l,i)=>E.jsx(Mi,{id:l.id,isRowHeader:e?i===0:l.isRowHeader,allowsSorting:l.sortable,className:l.align,defaultWidth:`${l.minWidth*(l.grow??(l.isRowHeader?2:1))}fr`,minWidth:l.minWidth,children:({sortDirection:r})=>E.jsxs(E.Fragment,{children:[E.jsxs("span",{className:"rp-th",children:[l.label,r&&E.jsx(wt,{className:vt("rp-sort",r)})]}),E.jsx(Di,{className:"rp-resizer","aria-label":t("ui.resizeColumn",{name:l.label})})]})},l.id))})}function Ui(n,e,t){const l=f.useRef(e);f.useEffect(()=>{l.current=e});const i=e>=0;f.useEffect(()=>{const r=l.current;if(!n||!i)return;const o=()=>{const y=t.current;if(!y)return;const g=re.headingHeight+r*re.rowHeight,p=g+re.rowHeight;gy.scrollTop+y.clientHeight&&(y.scrollTop=p-y.clientHeight)},s=requestAnimationFrame(o),a=t.current;let d=!0;const c=()=>d=!1,u=new ResizeObserver(()=>d&&o());if(a){u.observe(a);for(const y of["wheel","pointerdown","touchstart"])a.addEventListener(y,c,{passive:!0})}return()=>{if(cancelAnimationFrame(s),u.disconnect(),a)for(const y of["wheel","pointerdown","touchstart"])a.removeEventListener(y,c)}},[n,i,t])}function _i(n){return n==="all"||!n.size?null:String([...n][0])}function ji(n,e){if(e===null)return n;const t=new Set(n.map(i=>i.id));let l=n.reduce((i,r)=>i+r.minWidth,0);for(const i of[...n].filter(r=>r.drop).sort((r,o)=>r.drop-o.drop)){if(l<=e)break;t.delete(i.id),l-=i.minWidth}return t.size===n.length?n:n.filter(i=>t.has(i.id))}const re={rowHeight:40,headingHeight:37};function Yi(n,e,t,l){const[i,r]=f.useState(!l&&!!t&&!e);!l&&!i&&t&&!e&&r(!0);const o=2+re.headingHeight+(e||2)*re.rowHeight;return i?n:Math.min(n,o)}function er(n,e,t){return e.map(l=>{let i=n.get(l);return i===void 0&&n.set(l,i=t(l)),i})}const ut=40,Re=n=>"children"in n,Ne=n=>typeof n=="string"?E.jsx(Dl,{children:n}):n;function tr({label:n,cols:e,rows:t,height:l=442,selected:i,onSelect:r,selectOnFocus:o,reveal:s,empty:a,loading:d,sort:c,onSort:u,getTextValue:y,stream:g,fit:p,tree:h,rowDetail:x,detail:b}){const k=xt(),[w,K]=f.useState(null),S=!!b&&r===void 0,m=S?w:i,C=S?K:r,M=f.useMemo(()=>m?new Set([m]):new Set,[m]),[R,T]=lt(),[F,X]=lt(),V=h?X:T,j=kl(Rl),A=f.useMemo(()=>ji(e,j?null:V),[e,j,V]),U=f.useMemo(()=>h?t.flatMap(v=>Re(v)?h.collapsed(v.group)?[v]:[v,...v.children]:[v]):t,[t,h]),O=f.useMemo(()=>h?t.filter(Re):[],[t,h]),xe=f.useMemo(()=>h?O.map(v=>v.id):void 0,[O,h]),G=f.useMemo(()=>h?O.filter(v=>!h.collapsed(v.group)).map(v=>v.id):void 0,[O,h]),q=Yi(l,U.length,d,p),[Z,ne]=f.useState(g||U.length>=ut);!Z&&U.length>=ut&&ne(!0);const we=s&&m?U.findIndex(v=>v.id===m):-1,Q=f.useRef(null);Ui(s?m??null:null,we,Z?Q:R);const B=v=>h?E.jsx("span",{className:"cell",children:Ne(v)}):Ne(v),I=v=>E.jsx(st,{id:v.id,textValue:y?.(v),children:A.map(z=>E.jsx(dt,{className:z.align,children:B(z.render(v))},z.id))},v.id),P=v=>E.jsxs(st,{id:v.id,textValue:v.label,children:[A.map((z,qe)=>E.jsxs(dt,{className:z.align,children:[qe===0&&E.jsx(Sl,{slot:"chevron",className:vt(Ml({quiet:!0,icon:!0,small:!0}),"rp-expand"),children:E.jsx(wt,{})}),E.jsx("span",{className:"cell",children:qe===0?E.jsx("strong",{children:v.label}):Ne(v.totals[z.id])})]},z.id)),v.children.map(I)]},v.id),_=E.jsxs($i,{style:h||Z?void 0:{minWidth:A.reduce((v,z)=>v+z.minWidth,0)},ref:v=>{Q.current=v,h&&(F.current=v)},"aria-label":n,"aria-rowcount":Z?U.length+1:void 0,expandedKeys:G,onExpandedChange:v=>{if(h)for(const z of O)v.has(z.id)===h.collapsed(z.group)&&h.onToggle(z.group)},disabledKeys:xe,disabledBehavior:"selection",treeColumn:h?.grouped?A[0]?.id:void 0,selectionMode:C?"single":"none",selectionBehavior:o?"replace":"toggle",selectedKeys:M,onSelectionChange:v=>{const z=_i(v);(z!==null||b)&&C?.(z)},disallowEmptySelection:!!C&&!b,sortDescriptor:c?{column:c.column,direction:c.direction}:void 0,onSortChange:v=>u&&v.direction&&u({column:String(v.column),direction:v.direction}),children:[E.jsx(Oi,{cols:A,firstVisibleHeader:!!h}),E.jsx(Pi,{items:t,dependencies:[A,y],renderEmptyState:()=>E.jsx("div",{className:"rp-table-empty",style:{width:V??"100%"},children:d?E.jsx(Kl,{}):E.jsx(Il,{children:a??k("ui.empty")})}),children:v=>h&&Re(v)?P(v):I(v)})]}),ke=E.jsx(bi,{ref:v=>{R.current=v},className:"rp-table","data-row-detail":x||b?"":void 0,style:{height:q},render:h?v=>E.jsx("div",{...v,onKeyDownCapture:z=>{(z.key==="Home"||z.key==="End")&&z.target.closest('[role="row"][data-key]')?.focus({preventScroll:!0})}}):void 0,children:Z?E.jsx(Hl,{layout:Vi,layoutOptions:re,children:_}):_});if(!b)return ke;const Ge=m?U.find(v=>v.id===m&&!Re(v)):void 0;return E.jsxs(E.Fragment,{children:[ke,E.jsx("div",{className:"rp-table-detail","aria-live":"polite",children:Ge&&b(Ge)})]})}export{tr as D,er as c,re as t};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/Table-Dprh3Btz.js b/luci-app-honk/root/etc/honk/doona/assets/Table-Dprh3Btz.js
new file mode 100644
index 000000000..a06c93d84
--- /dev/null
+++ b/luci-app-honk/root/etc/honk/doona/assets/Table-Dprh3Btz.js
@@ -0,0 +1 @@
+import{r as e,$ as t,b as l,j as n}from"./vendor-react-64fcanlc.js";import{gj as i,gk as o,gl as r,gm as s,gn as a,go as d,ey as c,gp as u,gq as h,ei as y,bf as p,fR as g,ct as f,dQ as m,cb as b,cc as w,cu as v,ch as x,ci as k,cj as C,ca as K,dS as I,dX as S,dV as M,cg as R,dW as E,dY as z,d_ as D,dZ as P,cp as N,ep as H,eq as W,gr as T,dT as A,fQ as F,dU as V,ew as B,c8 as L,ck as j,e7 as O,d$ as $,e1 as U,e0 as _,gs as q,e5 as X,e8 as Y,e4 as G,cl as J,co as Q,gt as Z,e9 as ee,gu as te,ee as le,eF as ne,ej as ie,cB as oe,ea as re,ef as se,ek as ae,el as de,gv as ce,e6 as ue,e2 as he,ed as ye,gw as pe,eb as ge,eg as fe,eh as me,fV as be,em as we,en as ve,eo as xe,F as ke,K as Ce,bK as Ke,D as Ie,au as Se,cw as Me,cx as Re,dg as Ee,aV as ze,bz as De,bJ as Pe,T as Ne}from"./index-BgFj_VXE.js";import{$ as He,a as We,b as Te,g as Ae,c as Fe,d as Ve,e as Be}from"./useGridSelectionCheckbox-BxnCShqN.js";import{e as Le,i as je,h as Oe,j as $e,m as Ue}from"./Select-CkiGmyVC.js";import{$ as _e}from"./logs-BxISynQ4.js";import{e as qe,a as Xe,c as Ye,b as Ge,d as Je}from"./Virtualizer-CZl-q5wo.js";class Qe{setup(e,t,l){this.delegate=e,this.state=t,this.direction=l}getDropTargetFromPoint(e,t,l){let n=this.delegate.getDropTargetFromPoint(e,t,l);return n&&"root"!==n.type?this.resolveDropTarget(n,e,t,l):n}resolveDropTarget(e,t,l,n){let i=this.pointerTracking,o=l-i.lastY,r=t-i.lastX,s=i.yDirection,a=i.xDirection;if(Math.abs(o)>5&&(s=o>0?"down":"up",i.yDirection=s,i.lastY=l),Math.abs(r)>10&&(a=r>0?"right":"left",i.xDirection=a,i.lastX=t),"before"===e.dropPosition){let t=this.state.collection.getKeyBefore(e.key);for(;null!=t;){let e=this.state.collection.getItem(t);if("item"===e?.type)break;t=e?.parentKey??null}if(null!=t){let l={type:"item",key:t,dropPosition:"after"};n(l)&&(e=l)}}let d,c=this.getPotentialTargets(e,n);return 0===c.length?{type:"root"}:(c.length>1?d=this.selectTarget(c,e,t,l,s,a):(d=c[0],i.boundaryContext=null),d)}getPotentialTargets(e,t){if("on"===e.dropPosition)return[e];let l=e,n=this.state.collection,i=n.getItem(l.key);for(;i&&"item"!==i?.type&&null!=i.nextKey;)l.key=i.nextKey,i=n.getItem(i.nextKey);let o=[l];if(i&&i.hasChildNodes&&this.state.expandedKeys.has(i.key)&&n.getChildren&&"after"===l.dropPosition){let e=null!=i.firstChildKey?n.getItem(i.firstChildKey):null;for(;e&&"item"!==e.type;)e=null!=e.nextKey?n.getItem(e.nextKey):null;if("item"===e?.type){const l={type:"item",key:e.key,dropPosition:"before"};return t(l)?[l]:[]}}if(null!=i?.nextKey)return[e];let r=i?.parentKey,s=[];for(;null!=r;){let e=n.getItem(r),l=null!=e?.nextKey?n.getItem(e.nextKey):null;if(!l||l.parentKey!==r){if("item"===e?.type){let e={type:"item",key:r,dropPosition:"after"};t(e)&&s.push(e)}if(l)break}r=e?.parentKey}if(s.length>0&&o.push(...s),1===o.length){let e=n.getKeyAfter(l.key),o=null!=e?n.getItem(e):null;if(null!=e&&o&&i&&null!=o.level&&null!=i.level&&o.level>i.level){let l={type:"item",key:e,dropPosition:"before"};if(t(l))return[l]}}return o.filter(t)}selectTarget(e,t,l,n,i,o){if(e.length<2)return e[0];let r=this.pointerTracking,s=this.state.collection.getItem(t.key),a=s?.parentKey;if(null==a)return e[0];if(!r.boundaryContext||r.boundaryContext.parentKey!==a){let t="up"===r.yDirection?e.length-1:0;r.boundaryContext={parentKey:a,preferredTargetIndex:t,lastSwitchY:n,lastSwitchX:l}}let d=r.boundaryContext,c=Math.abs(l-d.lastSwitchX);if(Math.abs(n-d.lastSwitchY)>5&&i){let t=d.preferredTargetIndex||0;"down"===i&&0===t?d.preferredTargetIndex=e.length-1:"up"===i&&t===e.length-1&&(d.preferredTargetIndex=0),r.xDirection=null}if(c>10&&o){let t=d.preferredTargetIndex||0;"left"===o?"ltr"===this.direction?t0&&(d.preferredTargetIndex=t-1,d.lastSwitchX=l):"right"===o&&("ltr"===this.direction?t>0&&(d.preferredTargetIndex=t-1,d.lastSwitchX=l):t{let i=this.keyMap.get(n.key);e.visitNode&&(n=e.visitNode(n)),this.keyMap.set(n.key,n);let o=new Set,r=null,s=!1;if("item"===n.type)for(let e of n.childNodes)if(void 0!==e.props?.colSpan){s=!0;break}for(let e of n.childNodes)"cell"===e.type&&s&&(e.colspan=e.props?.colSpan,e.colSpan=e.props?.colSpan,e.colIndex=r?(r.colIndex??r.index)+(r.colSpan??1):e.index),"cell"===e.type&&null==e.parentKey&&(e.parentKey=n.key),o.add(e.key),r?(r.nextKey=e.key,e.prevKey=r.key):e.prevKey=null,t(e),r=e;if(r&&(r.nextKey=null),i)for(let e of i.childNodes)o.has(e.key)||l(e)},l=e=>{this.keyMap.delete(e.key);for(let t of e.childNodes)this.keyMap.get(t.key)===t&&l(t)},n=null;for(let[i,o]of e.items.entries()){let e={...o,level:o.level??0,key:o.key??"row-"+i,type:o.type??"row",value:o.value??null,hasChildNodes:!0,childNodes:[...o.childNodes],rendered:o.rendered,textValue:o.textValue??"",index:o.index??i};n?(n.nextKey=e.key,e.prevKey=n.key):e.prevKey=null,this.rows.push(e),t(e),n=e}n&&(n.nextKey=null)}*[Symbol.iterator](){yield*[...this.rows]}get size(){return[...this.rows].length}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey??null:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey??null:null}getFirstKey(){return[...this.rows][0]?.key}getLastKey(){let e=[...this.rows];return e[e.length-1]?.key}getItem(e){return this.keyMap.get(e)??null}at(e){const t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){let t=this.keyMap.get(e);return t?.childNodes||[]}}const et="row-header-column-"+Math.random().toString(36).slice(2);let tt="row-header-column-"+Math.random().toString(36).slice(2);for(;et===tt;)tt="row-header-column-"+Math.random().toString(36).slice(2);function lt(e,t){if(0===t.length)return[];let l=[],n=new Map;for(let a of t){let t=a.parentKey,i=[a];for(;null!=t;){let l=e.get(t);if(!l)break;if(n.has(l)){l.colSpan??=0,l.colSpan++,l.colspan=l.colSpan;let{column:e,index:t}=n.get(l);if(t>i.length)break;for(let l=t;le.length)),o=Array(i).fill(0).map(()=>[]),r=0;for(let a of l){let e=i-1;for(let t of a){if(t){let l=o[e],n=l.reduce((e,t)=>e+(t.colSpan??1),0);if(n0&&(l[l.length-1].nextKey=i.key,i.prevKey=l[l.length-1].key),l.push(i)}l.length>0&&(l[l.length-1].nextKey=t.key,t.prevKey=l[l.length-1].key),t.level=e,t.colIndex=r,l.push(t)}e--}r++}let s=0;for(let a of o){let e=a.reduce((e,t)=>e+(t.colSpan??1),0);if(e({type:"headerrow",key:"headerrow-"+t,index:t,value:null,rendered:null,level:0,hasChildNodes:!0,childNodes:e,textValue:""}))}class nt extends Ze{constructor(e,t,l){let n=new Set,i=null,o=[];if(l?.showSelectionCheckboxes){let e={type:"column",key:et,value:null,textValue:"",level:0,index:l?.showDragButtons?1:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isSelectionCell:!0}};o.unshift(e)}if(l?.showDragButtons){let e={type:"column",key:tt,value:null,textValue:"",level:0,index:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isDragButtonCell:!0}};o.unshift(e)}let r=[],s=new Map,a=e=>{switch(e.type){case"body":i=e;break;case"column":s.set(e.key,e),e.hasChildNodes||(o.push(e),e.props.isRowHeader&&n.add(e.key));break;case"item":return void r.push(e)}for(let t of e.childNodes)a(t)};for(let c of e)a(c);let d=lt(s,o);if(d.forEach((e,t)=>r.splice(t,0,e)),super({columnCount:o.length,items:r,visitNode:e=>(e.column=o[e.index],e)}),this._size=0,this.columns=o,this.rowHeaderColumnKeys=n,this.body=i,this.headerRows=d,this._size=[...i.childNodes].length,0===this.rowHeaderColumnKeys.size){let e=this.columns.find(e=>!e.props?.isDragButtonCell&&!e.props?.isSelectionCell);e&&this.rowHeaderColumnKeys.add(e.key)}}*[Symbol.iterator](){yield*this.body.childNodes}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?.prevKey??null}getKeyAfter(e){let t=this.keyMap.get(e);return t?.nextKey??null}getFirstKey(){return i(this.body.childNodes)?.key??null}getLastKey(){return o(this.body.childNodes)?.key??null}getItem(e){return e===this.body.key?this.body:this.keyMap.get(e)??null}at(e){const t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){if(e===this.body.key)return this.body.childNodes;let t=this.getItem(e);return"item"===t?.type?[...t.childNodes].filter(e=>"cell"===e.type):super.getChildren(e)}getTextValue(e){let t=this.getItem(e);if(!t)return"";if(t.textValue)return t.textValue;let l=this.rowHeaderColumnKeys;if(l){let e=[];for(let n of t.childNodes){let t=this.columns[n.index];if(l.has(t.key)&&n.textValue&&e.push(n.textValue),e.length===l.size)break}return e.join(" ")}return""}}function it(e,t){if("string"==typeof e){let l=e.match(/^(\d+)(?=%$)/);if(!l)throw new Error("Only percentages or numbers are supported for static column widths");return t*(parseFloat(l[0])/100)}return e}function ot(e,t){return null!=e?it(e,t):Number.MAX_SAFE_INTEGER}function rt(e,t){return null!=e?it(e,t):0}function st(e,t,l,n,i){let o=e,r=Math.floor(e),s=e-r>0;e=r;let a=!1,d=t.map((t,o)=>{let r=null!=l.get(t.key)?l.get(t.key)??"1fr":t.width??t.defaultWidth??n?.(o)??"1fr",s=!1,d=0,c=0,u=0;!function(e){return null!=e&&(!isNaN(e)||null!==String(e).match(/^(\d+)(?=%$)/))}(r)?(c=function(e){if(!e||"number"==typeof e)return 1;let t=e.match(/^(.+)(?=fr$)/);return t?parseFloat(t[0]):1}(r),c<=0&&(s=!0)):(d=it(r,e),s=!0);let h=rt(t.minWidth??i?.(o)??0,e),y=ot(t.maxWidth,e),p=Math.max(h,Math.min(d,y));return s?u=p:d>p&&(s=!0,u=p),s||(a=!0),{frozen:s,baseSize:d,hypotheticalMainSize:p,min:h,max:y,flex:c,targetMainSize:u,violation:0}});for(;a;){let t=0,l=0;d.forEach(e=>{e.frozen?t+=e.targetMainSize:(t+=e.baseSize,l+=e.flex)});let n=e-t;n>0&&d.forEach(e=>{if(!e.frozen){let t=e.flex/l;e.targetMainSize=e.baseSize+t*n}});let i=0;d.forEach(e=>{if(e.violation=0,!e.frozen){let{min:t,max:l,targetMainSize:n}=e;e.targetMainSize=Math.max(t,Math.min(n,l)),e.violation=e.targetMainSize-n,i+=e.violation}}),a=!1,d.forEach(e=>{0===i||Math.sign(i)===Math.sign(e.violation)?e.frozen=!0:e.frozen||(a=!0)})}let c=function(e){let t=0,l=0,n=[];return e.forEach(function(e){let i=e.targetMainSize,o=Math.round(i+t)-l;t+=i,l+=o,n.push(o)}),n}(d);if(s&&c.length>0){let e=o.toString().split(".")[1],t=c[c.length-1].toString();c[c.length-1]=Number(t+"."+e)}return c}class at{constructor(e){this.columnWidths=new Map,this.columnMinWidths=new Map,this.columnMaxWidths=new Map,this.getDefaultWidth=e?.getDefaultWidth??(()=>"1fr"),this.getDefaultMinWidth=e?.getDefaultMinWidth??(()=>75)}splitColumnsIntoControlledAndUncontrolled(e){return e.reduce((e,t)=>(null!=t.props.width?e[0].set(t.key,t):e[1].set(t.key,t),e),[new Map,new Map])}recombineColumns(e,t,l,n){return new Map(e.map(e=>l.has(e.key)?[e.key,t.get(e.key)]:[e.key,n.get(e.key).props.width]))}getInitialUncontrolledWidths(e){return new Map(Array.from(e).map(([e,t])=>[e,t.props.defaultWidth??this.getDefaultWidth?.(t)??"1fr"]))}getColumnWidth(e){return this.columnWidths.get(e)??0}getColumnMinWidth(e){return this.columnMinWidths.get(e)??0}getColumnMaxWidth(e){return this.columnMaxWidths.get(e)??0}resizeColumnWidth(e,t,l,n){let i=this.columnWidths,o=!0,r=new Map;return n=Math.max(this.getColumnMinWidth(l),Math.min(this.getColumnMaxWidth(l),Math.floor(n))),e.columns.forEach(e=>{e.key===l?(r.set(e.key,n),o=!1):o?r.set(e.key,i.get(e.key)??0):r.set(e.key,e.props.width??t.get(e.key))}),r}buildColumnWidths(e,t,l){return this.columnWidths=new Map,this.columnMinWidths=new Map,this.columnMaxWidths=new Map,st(e,t.columns.map(e=>({...e.props,key:e.key})),l,e=>this.getDefaultWidth(t.columns[e]),e=>this.getDefaultMinWidth(t.columns[e])).forEach((l,n)=>{let i=t.columns[n].key,o=t.columns[n];this.columnWidths.set(i,l),this.columnMinWidths.set(i,rt(o.props.minWidth??this.getDefaultMinWidth(o),e)),this.columnMaxWidths.set(i,ot(o.props.maxWidth,e))}),this.columnWidths}}function dt(t,l){let{getDefaultWidth:n,getDefaultMinWidth:i,tableWidth:o=0}=t,[r,s]=e.useState(null),a=e.useMemo(()=>new at({getDefaultWidth:n,getDefaultMinWidth:i}),[n,i]),[d,c]=e.useMemo(()=>a.splitColumnsIntoControlledAndUncontrolled(l.collection.columns),[l.collection.columns,a]),[u,h]=e.useState(()=>a.getInitialUncontrolledWidths(c)),[y,p]=e.useState(l.collection.columns);if(l.collection.columns!==y){if(l.collection.columns.length!==y.length||l.collection.columns.some((e,t)=>e.key!==y[t].key)){let e=a.getInitialUncontrolledWidths(c);h(e)}p(l.collection.columns)}let g=e.useMemo(()=>a.recombineColumns(l.collection.columns,u,c,d),[l.collection.columns,u,c,d,a]),f=e.useCallback(e=>{s(e)},[s]),m=e.useCallback((e,t)=>{let n=a.resizeColumnWidth(l.collection,u,e,t),i=new Map(Array.from(c).map(([e])=>[e,n.get(e)]));return i.set(e,t),h(i),n},[c,h,a,l.collection,u]),b=e.useCallback(()=>{s(null)},[s]),w=e.useMemo(()=>a.buildColumnWidths(o,l.collection,g),[o,l.collection,g,a]);return e.useMemo(()=>({resizingColumn:r,updateResizedColumns:m,startResize:f,endResize:b,getColumnWidth:e=>a.getColumnWidth(e),getColumnMinWidth:e=>a.getColumnMinWidth(e),getColumnMaxWidth:e=>a.getColumnMaxWidth(e),tableState:l,columnWidths:w}),[a,w,r,m,f,b,l])}const ct={ascending:"descending",descending:"ascending"};function ut(t){let[l,n]=e.useState(!1),{selectionMode:u="none",showSelectionCheckboxes:h,showDragButtons:y,treeColumn:p=null}=t,g=e.useMemo(()=>({showSelectionCheckboxes:h&&"none"!==u,showDragButtons:y,selectionMode:u,columns:[]}),[t.children,h,u,y]),f=d(t,e.useCallback(e=>new nt(e,null,g),[g]),g),{disabledKeys:m,selectionManager:b}=function(t){let{collection:l,focusMode:n}=t,d=t.UNSAFE_selectionState||r(t),c=e.useMemo(()=>t.disabledKeys?new Set(t.disabledKeys):new Set,[t.disabledKeys]),u=d.setFocusedKey;d.setFocusedKey=(e,t)=>{if("cell"===n&&null!=e){let n=l.getItem(e);if("item"===n?.type){let r=s(n,l);e="last"===t?o(r)?.key??null:i(r)?.key??null}}u(e,t)};let h=e.useMemo(()=>new a(l,d),[l,d]);const y=e.useRef(null);return e.useEffect(()=>{if(null!=d.focusedKey&&y.current&&!l.getItem(d.focusedKey)){const e=y.current.getItem(d.focusedKey),t=null==e?.parentKey||"cell"!==e.type&&"rowheader"!==e.type&&"column"!==e.type?e:y.current.getItem(e.parentKey);if(!t)return void d.setFocusedKey(null);const n=y.current.rows,i=l.rows,o=n.length-i.length;let r=Math.min(o>1?Math.max(t.index-o+1,0):t.index,i.length-1),a=null;for(let l=Math.max(0,r);l=0;l--)if(!h.isDisabled(i[l].key)&&"headerrow"!==i[l].type){a=i[l];break}if(a){const n=a.hasChildNodes?[...s(a,l)]:[],i=a.hasChildNodes&&t!==e&&e&&e.index{let l=new Set(t);return l.has(e)?l.delete(e):l.add(e),l})},treeColumn:p}}class ht{constructor(e){if(this.collection=e.collection,this.disabledKeys=e.disabledKeys,this.disabledBehavior=e.disabledBehavior||"all",this.direction=e.direction,this.collator=e.collator,!e.layout&&!e.ref)throw new Error("Either a layout or a ref must be specified.");this.layoutDelegate=e.layoutDelegate||(e.layout?new yt(e.layout):new u(e.ref)),this.focusMode=e.focusMode??"row"}isCell(e){return"cell"===e.type}isRow(e){return"row"===e.type||"item"===e.type}isDisabled(e){return"all"===this.disabledBehavior&&(e.props?.isDisabled||this.disabledKeys.has(e.key))&&"selection"!==e.props?.disabledBehavior}findPreviousKey(e,t,l=!1){let n=null!=e?this.collection.getKeyBefore(e):this.collection.getLastKey();for(;null!=n;){let e=this.collection.getItem(n);if(!e)return null;if((l||!this.isDisabled(e))&&(!t||t(e)))return n;n=this.collection.getKeyBefore(n)}return null}findNextKey(e,t,l=!1){let n=null!=e?this.collection.getKeyAfter(e):this.collection.getFirstKey();for(;null!=n;){let e=this.collection.getItem(n);if(!e)return null;if((l||!this.isDisabled(e))&&(!t||t(e)))return n;if(n=this.collection.getKeyAfter(n),null==n)return null}return null}getKeyForItemInRowByIndex(e,t=0){if(t<0)return null;let l=this.collection.getItem(e);if(!l)return null;let n=0;for(let i of s(l,this.collection)){if(i.colSpan&&i.colSpan+n>t)return i.key??null;if(i.colSpan&&(n=n+i.colSpan-1),n===t)return i.key??null;n++}return null}getKeyBelow(e,t){let l=e,n=this.collection.getItem(l);if(!n)return null;if(this.isCell(n)&&(l=n.parentKey??null),null==l)return null;if(l=this.findNextKey(l,e=>"item"===e.type,t?.includeDisabled),null!=l){if(this.isCell(n)){let e=n.colIndex?n.colIndex:n.index;return this.getKeyForItemInRowByIndex(l,e)}if("row"===this.focusMode)return l}return null}getKeyAbove(e,t){let l=e,n=this.collection.getItem(l);if(!n)return null;if(this.isCell(n)&&(l=n.parentKey??null),null==l)return null;if(l=this.findPreviousKey(l,e=>"item"===e.type,t?.includeDisabled),null!=l){if(this.isCell(n)){let e=n.colIndex?n.colIndex:n.index;return this.getKeyForItemInRowByIndex(l,e)}if("row"===this.focusMode)return l}return null}getKeyRightOf(e){let t=this.collection.getItem(e);if(!t)return null;if(this.isRow(t)){let e=s(t,this.collection);return("rtl"===this.direction?o(e)?.key:i(e)?.key)??null}if(this.isCell(t)&&null!=t.parentKey){let l=this.collection.getItem(t.parentKey);if(!l)return null;let n=s(l,this.collection),i=("rtl"===this.direction?h(n,t.index-1):h(n,t.index+1))??null;return i?i.key??null:"row"===this.focusMode?t.parentKey??null:("rtl"===this.direction?this.getFirstKey(e):this.getLastKey(e))??null}return null}getKeyLeftOf(e){let t=this.collection.getItem(e);if(!t)return null;if(this.isRow(t)){let e=s(t,this.collection);return("rtl"===this.direction?i(e)?.key:o(e)?.key)??null}if(this.isCell(t)&&null!=t.parentKey){let l=this.collection.getItem(t.parentKey);if(!l)return null;let n=s(l,this.collection),i=("rtl"===this.direction?h(n,t.index+1):h(n,t.index-1))??null;return i?i.key??null:"row"===this.focusMode?t.parentKey??null:("rtl"===this.direction?this.getLastKey(e):this.getFirstKey(e))??null}return null}getFirstKey(e,t){let l,n=e??null;if(null!=n){if(l=this.collection.getItem(n),!l)return null;if(this.isCell(l)&&!t&&null!=l.parentKey){let e=this.collection.getItem(l.parentKey);return e?i(s(e,this.collection))?.key??null:null}}if(n=this.findNextKey(void 0,e=>"item"===e.type),null!=n&&(l&&this.isCell(l)&&t||"cell"===this.focusMode)){let e=this.collection.getItem(n);if(!e)return null;n=i(s(e,this.collection))?.key??null}return n}getLastKey(e,t){let l,n=e??null;if(null!=n){if(l=this.collection.getItem(n),!l)return null;if(this.isCell(l)&&!t&&null!=l.parentKey){let e=this.collection.getItem(l.parentKey);if(!e)return null;let t=s(e,this.collection);return o(t)?.key??null}}if(n=this.findPreviousKey(void 0,e=>"item"===e.type),null!=n&&(l&&this.isCell(l)&&t||"cell"===this.focusMode)){let e=this.collection.getItem(n);if(!e)return null;let t=s(e,this.collection);n=o(t)?.key??null}return n}getKeyPageAbove(e){let t=e,l=this.layoutDelegate.getItemRect(t);if(!l)return null;let n=Math.max(0,l.y+l.height-this.layoutDelegate.getVisibleRect().height);for(;l&&l.y>n&&null!=t&&(t=this.getKeyAbove(t)??null,null!=t);)l=this.layoutDelegate.getItemRect(t);return t}getKeyPageBelow(e){let t=e,l=this.layoutDelegate.getItemRect(t);if(!l)return null;let n=this.layoutDelegate.getVisibleRect().height,i=Math.min(this.layoutDelegate.getContentSize().height,l.y+n);for(;l&&l.y+l.height"item"===e.type),null!=l||r||(l=this.getFirstKey(),r=!0)}return null}}class yt{constructor(e){this.layout=e}getContentSize(){return this.layout.getContentSize()}getItemRect(e){return this.layout.getLayoutInfo(e)?.rect||null}getVisibleRect(){return this.layout.virtualizer.visibleRect}}const pt=new WeakMap;const gt=new WeakMap;function ft(e){return"string"==typeof e?e.replace(/\s*/g,""):""+e}function mt(e,t){let l=gt.get(e);if(!l)throw new Error("Unknown grid");return`${l}-${ft(t)}`}function bt(e,t,l){let n=gt.get(e);if(!n)throw new Error("Unknown grid");return`${n}-${ft(t)}-${ft(l)}`}function wt(e,t){return[...e.collection.rowHeaderColumnKeys].map(l=>bt(e,t,l)).join(" ")}var vt;vt={"ar-AE":x,"bg-BG":x,"cs-CZ":x,"da-DK":x,"de-DE":x,"el-GR":x,"en-US":{select:"Select",selectAll:"Select All",sortable:"sortable column",ascending:"ascending",descending:"descending",ascendingSort:e=>`sorted by column ${e.columnName} in ascending order`,descendingSort:e=>`sorted by column ${e.columnName} in descending order`,columnSize:e=>`${e.value} pixels`,resizerDescription:"Press Enter to start resizing",expand:"Expand",collapse:"Collapse"},"es-ES":x,"et-EE":x,"fi-FI":x,"fr-FR":x,"he-IL":x,"hr-HR":x,"hu-HU":x,"it-IT":x,"ja-JP":x,"ko-KR":x,"lt-LT":x,"lv-LV":x,"nb-NO":x,"nl-NL":x,"pl-PL":x,"pt-BR":x,"pt-PT":x,"ro-RO":x,"ru-RU":x,"sk-SK":x,"sl-SI":x,"sr-SP":x,"sv-SE":x,"tr-TR":x,"uk-UA":x,"zh-CN":{ascending:"升序",ascendingSort:e=>`按列 ${e.columnName} 升序排序`,collapse:"折叠",columnSize:e=>`${e.value} 像素`,descending:"降序",descendingSort:e=>`按列 ${e.columnName} 降序排序`,expand:"扩展",resizerDescription:"按 Enter 开始调整大小。",select:"选择",selectAll:"全选",sortable:"可排序的列"},"zh-TW":{ascending:"遞增",ascendingSort:e=>`已依據「${e.columnName}」欄遞增排序`,collapse:"收合",columnSize:e=>`${e.value} 像素`,descending:"遞減",descendingSort:e=>`已依據「${e.columnName}」欄遞減排序`,expand:"展開",resizerDescription:"按 Enter 鍵以開始調整大小",select:"選取",selectAll:"全選",sortable:"可排序的欄"}};class xt extends ht{isCell(e){return"cell"===e.type||"rowheader"===e.type||"column"===e.type}getKeyBelow(e,t){let l=this.collection.getItem(e);if(!l)return null;if("column"===l.type){let e=i(s(l,this.collection));if(e)return e.key;let t=this.getFirstKey();return null==t?null:this.collection.getItem(t)?super.getKeyForItemInRowByIndex(t,l.index):null}return super.getKeyBelow(e,t)}getKeyAbove(e,t){let l=this.collection.getItem(e);if(!l)return null;if("column"===l.type){let e=null!=l.parentKey?this.collection.getItem(l.parentKey):null;return e&&"column"===e.type?e.key:null}let n=super.getKeyAbove(e,t),i=null!=n?this.collection.getItem(n):null;return i&&"headerrow"!==i.type?n:this.isCell(l)?this.collection.columns[l.index].key:this.collection.columns[0].key}findNextColumnKey(e){let t=this.findNextKey(e.key,e=>"column"===e.type);if(null!=t)return t;let l=this.collection.headerRows[e.level];for(let n of s(l,this.collection))if("column"===n.type)return n.key;return null}findPreviousColumnKey(e){let t=this.findPreviousKey(e.key,e=>"column"===e.type);if(null!=t)return t;let l=this.collection.headerRows[e.level],n=[...s(l,this.collection)];for(let i=n.length-1;i>=0;i--){let e=n[i];if("column"===e.type)return e.key}return null}getKeyRightOf(e){let t=this.collection.getItem(e);return t?"column"===t.type?"rtl"===this.direction?this.findPreviousColumnKey(t):this.findNextColumnKey(t):super.getKeyRightOf(e):null}getKeyLeftOf(e){let t=this.collection.getItem(e);return t?"column"===t.type?"rtl"===this.direction?this.findNextColumnKey(t):this.findPreviousColumnKey(t):super.getKeyLeftOf(e):null}getKeyForSearch(e,t){if(!this.collator)return null;let l=this.collection,n=t??this.getFirstKey();if(null==n)return null;let i=l.getItem(n);"cell"===i?.type&&(n=i.parentKey??null);let o=!1;for(;null!=n;){let r=l.getItem(n);if(!r)return null;if(r.textValue){let t=r.textValue.slice(0,e.length);if(0===this.collator.compare(t,e))return r.key}for(let n of s(r,this.collection)){let o=l.columns[n.index];if(l.rowHeaderColumnKeys.has(o.key)&&n.textValue){let o=n.textValue.slice(0,e.length);if(0===this.collator.compare(o,e)){let e=null!=t?l.getItem(t):i;return"cell"===e?.type?n.key:r.key}}}n=this.getKeyBelow(n),null!=n||o||(n=this.getFirstKey(),o=!0)}return null}}function kt(t,l,n){let{keyboardDelegate:i,isVirtualized:o,layoutDelegate:r,layout:s}=t,a=y({usage:"search",sensitivity:"base"}),{direction:d}=p(),c=l.selectionManager.disabledBehavior,u=e.useMemo(()=>i||new xt({collection:l.collection,disabledKeys:l.disabledKeys,disabledBehavior:c,ref:n,direction:d,collator:a,layoutDelegate:r,layout:s}),[i,l.collection,l.disabledKeys,c,n,d,a,r,s]),h=f(t.id);gt.set(l,h);let{gridProps:x}=function(t,l,n){let{isVirtualized:i,disallowTypeAhead:o,keyboardDelegate:r,focusMode:s,scrollRef:a,getRowText:d,onRowAction:c,onCellAction:u,escapeKeyBehavior:h="clearSelection",shouldSelectOnPressUp:x,keyboardNavigationBehavior:k="arrow"}=t,{selectionManager:C}=l;t["aria-label"]||t["aria-labelledby"]||console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let K=y({usage:"search",sensitivity:"base"}),{direction:I}=p(),S=l.selectionManager.disabledBehavior,M=e.useMemo(()=>r||new ht({collection:l.collection,disabledKeys:l.disabledKeys,disabledBehavior:S,ref:n,direction:I,collator:K,focusMode:s}),[r,l.collection,l.disabledKeys,S,n,I,K,s]),{collectionProps:R}=g({ref:n,selectionManager:C,keyboardDelegate:M,isVirtualized:i,scrollRef:a,disallowTypeAhead:o,escapeKeyBehavior:h}),E=f(t.id);pt.set(l,{keyboardDelegate:M,actions:{onRowAction:c,onCellAction:u},shouldSelectOnPressUp:x,keyboardNavigationBehavior:k});let z=He({selectionManager:C,hasItemActions:!(!c&&!u)}),D=m(t,{labelable:!0}),P=e.useCallback(e=>{C.isFocused?b(e.currentTarget,w(e))||C.setFocused(!1):b(e.currentTarget,w(e))&&C.setFocused(!0)},[C]),N=e.useMemo(()=>({onBlur:R.onBlur,onFocus:P}),[P,R.onBlur]),H=We(n,{isDisabled:0!==l.collection.size}),W=v(D,{role:"grid",id:E,"aria-multiselectable":"multiple"===C.selectionMode?"true":void 0},l.isKeyboardNavigationDisabled?N:R,0===l.collection.size&&{tabIndex:H?-1:0}||void 0,z);return i&&(W["aria-rowcount"]=l.collection.size,W["aria-colcount"]=l.collection.columnCount),Te({getRowText:d},l),{gridProps:W}}({...t,id:h,keyboardDelegate:u},l,n);o&&(x["aria-rowcount"]=l.collection.size+l.collection.headerRows.length),null!=l.treeColumn&&(x.role="treegrid");let{column:I,direction:S}=l.sortDescriptor||{},M=k((R=vt)&&R.__esModule?R.default:R,"@react-aria/table");var R;let E=e.useMemo(()=>{let e=l.collection.columns.find(e=>e.key===I)?.textValue??"";return S&&I?M.format(`${S}Sort`,{columnName:e}):void 0},[S,I,l.collection.columns]),z=C(E);return Ae(()=>{E&&K(E,"assertive",500)},[E]),{gridProps:v(x,z,{"aria-describedby":[z["aria-describedby"],x["aria-describedby"]].filter(Boolean).join(" ")})}}function Ct(t,l,n){let{node:i,isVirtualized:o,focusMode:r,allowsArrowNavigation:s,shouldSelectOnPressUp:a,onAction:d}=t,{direction:c}=p(),{keyboardDelegate:u,actions:{onCellAction:h},keyboardNavigationBehavior:y}=pt.get(l),g=r??("tab"===y?"cell":"child"),f=e.useRef(null),m=()=>{if(n.current){let e=S(n.current);if("child"===g){if(M(n.current)&&n.current!==R(E(n.current)))return;let t="last"===l.selectionManager.childFocusStrategy?Kt(e):e.firstChild();if(t)return void z(t)}(null!=f.current&&i.key!==f.current||!M(n.current))&&z(n.current)}},{itemProps:x,isPressed:k}=I({selectionManager:l.selectionManager,key:i.key,ref:n,isVirtualized:o,focus:m,shouldSelectOnPressUp:a,onAction:h?()=>h(i.key):d,isDisabled:0===l.collection.size}),C=v(x,{role:"gridcell",onKeyDownCapture:"tab"!==y||s?e=>{let t=R(E(n.current));if(!b(e.currentTarget,w(e))||l.isKeyboardNavigationDisabled||!n.current||!t)return;let o=S(n.current);switch(o.currentNode=t,e.key){case"ArrowLeft":{let t="rtl"===c?o.nextNode():o.previousNode();if("child"===g&&t===n.current&&(t=null),e.preventDefault(),e.stopPropagation(),t)z(t),P(t,{containingElement:N(n.current)});else{let l=u.getKeyLeftOf?.(i.key);if(l!==i.key){n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent));break}"cell"===g&&"rtl"===c?(z(n.current),P(n.current,{containingElement:N(n.current)})):(o.currentNode=n.current,t="rtl"===c?o.firstChild():Kt(o),t&&(z(t),P(t,{containingElement:N(n.current)})))}break}case"ArrowRight":{let t="rtl"===c?o.previousNode():o.nextNode();if("child"===g&&t===n.current&&(t=null),e.preventDefault(),e.stopPropagation(),t)z(t),P(t,{containingElement:N(n.current)});else{let l=u.getKeyRightOf?.(i.key);if(l!==i.key){n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent));break}"cell"===g&&"ltr"===c?(z(n.current),P(n.current,{containingElement:N(n.current)})):(o.currentNode=n.current,t="rtl"===c?Kt(o):o.firstChild(),t&&(z(t),P(t,{containingElement:N(n.current)})))}break}case"ArrowUp":case"ArrowDown":!e.altKey&&b(n.current,w(e))&&(e.stopPropagation(),e.preventDefault(),n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent)))}}:void 0,onKeyDown:"tab"===y?e=>{let t=R(E(n.current));if(b(e.currentTarget,w(e))&&!l.isKeyboardNavigationDisabled&&n.current&&t)if("tab"!==y||w(e)===n.current||"Tab"===e.key){if("Tab"===e.key)if("tab"===y){let l=S(n.current,{tabbable:!0});l.currentNode=t,(e.shiftKey?l.previousNode():l.nextNode())&&e.stopPropagation()}}else e.stopPropagation()}:void 0,"aria-colspan":i.colSpan,"aria-colindex":null!=i.colIndex?i.colIndex+1:void 0,colSpan:o?void 0:i.colSpan,onFocus:e=>{f.current=i.key,w(e)===n.current?"child"===g&&e.relatedTarget&&b(n.current,e.relatedTarget)||requestAnimationFrame(()=>{"child"===g&&R(E(n.current))===n.current&&m()}):D()||l.selectionManager.setFocusedKey(i.key)},..."child"===g&&"tab"===y?{tabIndex:-1}:{}});return o&&(C["aria-colindex"]=(i.colIndex??i.index)+1),a&&null!=C.tabIndex&&null==C.onPointerDown&&(C.onPointerDown=e=>{let t=e.currentTarget,l=t.getAttribute("tabindex");t.removeAttribute("tabindex"),requestAnimationFrame(()=>{null!=l&&t.setAttribute("tabindex",l)})}),{gridCellProps:C,isPressed:k}}function Kt(e){let t=null,l=null;do{l=e.lastChild(),l&&(t=l)}while(l);return t}const It={ltr:"ArrowRight",rtl:"ArrowLeft"},St={ltr:"ArrowLeft",rtl:"ArrowRight"};function Mt(e,t,l){let{node:n,isVirtualized:i}=e,{rowProps:o,...r}=function(e,t,l){let{node:n,isVirtualized:i,shouldSelectOnPressUp:o,onAction:r}=e,{actions:s,shouldSelectOnPressUp:a}=pt.get(t),d=s.onRowAction?()=>s.onRowAction?.(n.key):r,{itemProps:c,...u}=I({selectionManager:t.selectionManager,key:n.key,ref:l,isVirtualized:i,shouldSelectOnPressUp:a||o,onAction:d||n?.props?.onAction?A(n?.props?.onAction,d):void 0,isDisabled:0===t.collection.size}),h=t.selectionManager.isSelected(n.key),y={role:"row","aria-selected":"none"!==t.selectionManager.selectionMode?h:void 0,"aria-disabled":u.isDisabled||void 0,...c};return i&&(y["aria-rowindex"]=n.index+1),{rowProps:y,...u}}(e,t,l),{direction:s}=p();i&&null==t.treeColumn?o["aria-rowindex"]=n.index+1+t.collection.headerRows.length:delete o["aria-rowindex"];let a=null!=t.treeColumn&&("all"===t.expandedKeys||t.expandedKeys.has(n.key)),d=k((c=vt)&&c.__esModule?c.default:c,"@react-aria/table");var c;let u=F({"aria-label":a?d.format("collapse"):d.format("expand"),"aria-labelledby":wt(t,n.key)}),h={},y={};if(null!=t.treeColumn){let e=t.collection.getItem(n.key);if(null!=e){let l=Rt(t.collection,n),i=e.props?.hasChildRows||e.props?.UNSTABLE_childItems||"cell"!==l?.type,o=t.collection.getItem(n.parentKey),a="tablebody"===o.type||"body"===o.type,d=Rt(t.collection,o);for(;d&&"item"!==d.type&&null!=d.prevKey;)d=t.collection.getItem(d.prevKey);h={onKeyDown:l=>{l.key===It[s]&&t.selectionManager.focusedKey===e.key&&i&&"all"!==t.expandedKeys&&!t.expandedKeys.has(e.key)?(t.toggleKey(e.key),l.stopPropagation()):l.key===St[s]&&t.selectionManager.focusedKey===e.key&&("all"!==t.expandedKeys?i&&t.expandedKeys.has(e.key)?(t.toggleKey(e.key),l.stopPropagation()):!t.expandedKeys.has(e.key)&&null!=e.parentKey&&e.level>0&&(t.selectionManager.setFocusedKey(e.parentKey),l.stopPropagation()):"all"===t.expandedKeys&&(t.toggleKey(e.key),l.stopPropagation()))},"aria-expanded":i?"all"===t.expandedKeys||t.expandedKeys.has(n.key):void 0,"aria-level":e.level+1,"aria-posinset":e.index-(a?0:t.collection.columnCount)+1,"aria-setsize":d.index-(a?0:t.collection.columnCount)+1},y={isDisabled:r.isDisabled,onPress:()=>{r.isDisabled||(t.toggleKey(n.key),t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(n.key))},excludeFromTabOrder:!0,preventFocusOnPress:!0,"data-react-aria-prevent-focus":!0,...u}}}let g=V(n.props),f=r.hasAction?g:{};return{rowProps:{...v(o,h,f),"aria-labelledby":wt(t,n.key)},expandButtonProps:y,...r}}function Rt(e,t){return"lastChildKey"in t?null!=t.lastChildKey?e.getItem(t.lastChildKey):null:Array.from(t.childNodes).findLast(e=>e.parentKey===t.key)}class Et extends te{withExpandedKeys(e){let t=this.clone();return t.expandedKeys=e,t.frozen=this.frozen,t.rows=Array.from(t.getRows()),t}addNode(e){super.addNode(e),this.columnsDirty||="column"===e.type,"tableheader"===e.type&&(this.head=e)}getRows(){let e=[];for(let t of this)"tablebody"!==t.type&&"tablefooter"!==t.type||e.push(...this.getChildren(t.key));return e}get body(){for(let e of this)if("tablebody"===e.type)return e;return new Gt(-2)}commit(e,t,l=!1){this.updateColumns(l),this.firstKey=e,this.lastKey=t,this.rows=[];for(let n of this.getRows()){let e=n.lastChildKey;if(null!=e){let t=this.getItem(e);for(;t&&"cell"!==t.type;)t=null!=t.prevKey?this.getItem(t.prevKey):null;if(t){let e=(t.colIndex??t.index)+(t.colSpan??1);if(e!==this.columns.length&&!l)throw new Error(`Cell count must match column count. Found ${e} cells and ${this.columns.length} columns.`)}}this.rows.push(n)}super.commit(e,t,l)}updateColumns(e){if(!this.columnsDirty)return;this.rowHeaderColumnKeys=new Set,this.columns=[];let t=new Map,l=e=>{if("column"===e.type)t.set(e.key,e),e.hasChildNodes||(e.index=this.columns.length,this.columns.push(e),e.props.isRowHeader&&this.rowHeaderColumnKeys.add(e.key));for(let t of this.getChildren(e.key))l(t)};for(let n of this.getChildren(this.head.key))l(n);if(this.headerRows=lt(t,this.columns),this.columnsDirty=!1,0===this.rowHeaderColumnKeys.size&&this.columns.length>0&&!e)throw new Error("A table must have at least one Column with the isRowHeader prop set to true")}get columnCount(){return this.columns.length}*[Symbol.iterator](){let e=this.firstKey;for(;null!=e;){let t=this.getItem(e);t&&(yield t),e=t?.nextKey??null}}getFirstKey(){for(let e of this)if("tablebody"===e.type)return e.firstChildKey??null;return null}getLastKey(){let e=this.lastKey;if(null==e)return null;let t=this.getItem(e);for(;null!=t?.lastChildKey&&("item"!==t.type||this.expandedKeys.has(t.key));)t=this.getItem(t.lastChildKey);return t?.key}getKeyAfter(e){let t=this.getItem(e);if("column"===t?.type)return t.nextKey??null;if(!t)return null;if("item"===t.type&&null!=t.firstChildKey&&this.expandedKeys.has(t.key)){let e=this.getItem(t.firstChildKey);for(;e;){if("item"===e.type)return e.key;e=null!=e.nextKey?this.getItem(e.nextKey):null}}return super.getKeyAfter(e)}getKeyBefore(e){let t=this.getItem(e);if("column"===t?.type)return t.prevKey??null;if(!t)return null;let l=null;if(null!=t.prevKey){for(t=this.getItem(t.prevKey);t&&("item"!==t.type||this.expandedKeys.has(t.key))&&null!=t.lastChildKey;)t=this.getItem(t.lastChildKey);l=t?.key??null}return null==l&&(l=t.parentKey),null!=l&&"tableheader"===this.getItem(l)?.type?null:l}getChildren(e){let t=this.getItem(e);if(!t)for(let n of this.headerRows)if(n.key===e)return n.childNodes;let l=this;return"tablebody"===t?.type||"tablefooter"===t?.type?{*[Symbol.iterator](){let e=t.firstChildKey,n=null!=e?l.getItem(e):null;for(;n;){yield n;let e=l.getKeyAfter(n.key);if(n=null!=e?l.getItem(e):null,n&&n.parentKey===t.parentKey)break}}}:{*[Symbol.iterator](){let t=l.getItem(e),n=null!=t?.firstChildKey?l.getItem(t.firstChildKey):null;for(;n&&(yield n,n=null!=n.nextKey?l.getItem(n.nextKey):null,"item"!==t?.type||"cell"===n?.type););}}}clone(){let e=super.clone();return e.headerRows=this.headerRows,e.columns=this.columns,e.rows=this.rows,e.rowHeaderColumnKeys=this.rowHeaderColumnKeys,e.head=this.head,e}getTextValue(e){let t=this.getItem(e);if(!t)return"";if(t.textValue)return t.textValue;let l=this.rowHeaderColumnKeys,n=[];for(let i of this.getChildren(e)){let e=this.columns[i.index];if(l.has(e.key)&&i.textValue&&n.push(i.textValue),n.length===l.size)break}return n.join(" ")}constructor(...e){super(...e),this.headerRows=[],this.columns=[],this.rows=[],this.rowHeaderColumnKeys=new Set,this.head=new Bt(-1),this.columnsDirty=!0,this.expandedKeys=new Set}}const zt=e.createContext(null),Dt=e.forwardRef(function(l,n){let i=G(n),o=e.useRef(null),r=e.useRef(null),[s,a]=e.useState(0);J(()=>{let e=o.current;for(;e&&e!==i.current&&!Q(e);)e=e.parentElement;r.current=e},[i]),Z({ref:r,box:"border-box",onResize(){a(r.current?.clientWidth??0)}}),J(()=>{a(r.current?.clientWidth??0)},[]);let d=e.useMemo(()=>({tableRef:o,scrollRef:r,tableWidth:s,useTableColumnResizeState:dt,onResizeStart:l.onResizeStart,onResize:l.onResize,onResizeEnd:l.onResizeEnd}),[o,s,l.onResizeStart,l.onResize,l.onResizeEnd]);return t.createElement(ee.div,{render:l.render,...m(l,{global:!0}),ref:i,className:l.className||"react-aria-ResizableTableContainer",style:l.style,onScroll:l.onScroll},t.createElement(zt.Provider,{value:d},l.children))}),Pt=e.createContext(null),Nt=e.createContext(null),Ht=e.createContext(null),Wt=e.forwardRef(function(l,n){[l,n]=$(l,n,Pt);let i=r(l),{selectionBehavior:o,selectionMode:s,disallowEmptySelection:a}=i,d=!!l.dragAndDropHooks?.useDraggableCollectionState,c=e.useMemo(()=>({selectionBehavior:"none"===s?null:o,selectionMode:s,disallowEmptySelection:a,allowsDragging:d}),[o,s,a,d]),u=t.createElement(Vt.Provider,{value:c},t.createElement(U,l));return t.createElement(_,{content:u,createCollection:()=>new Et},e=>t.createElement(Ft,{props:l,forwardedRef:n,selectionState:i,collection:e}))});let Tt=e.forwardRef(function(l,n){let{isVirtualized:i}=e.useContext(X);return i?t.createElement(ee.div,{...l,ref:n}):t.createElement(ee.table,{...l,ref:n})});const At={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function Ft({props:l,forwardedRef:n,selectionState:i,collection:o}){[l,n]=$(l,n,le);let{shouldUseVirtualFocus:r,disallowTypeAhead:s,filter:a,...d}=l,u=e.useContext(zt);n=G(e.useMemo(()=>ne(n,u?.tableRef),[n,u?.tableRef]));let[h,y]=c(l.expandedKeys?new Set(l.expandedKeys):void 0,l.defaultExpandedKeys?new Set(l.defaultExpandedKeys):new Set,l.onExpandedChange);o=e.useMemo(()=>o.withExpandedKeys(h),[o,h]);let g,f,b,w=ut({...d,collection:o,children:void 0,UNSAFE_selectionState:i,expandedKeys:h,onExpandedChange:y}),x=function(t,l){let n=e.useMemo(()=>l?t.collection.filter(l):t.collection,[t.collection,l]),i=t.selectionManager.withCollection(n);return{...t,collection:n,selectionManager:i}}(w,a),{isVirtualized:k,layoutDelegate:C,dropTargetDelegate:K,CollectionRoot:I}=e.useContext(X),{dragAndDropHooks:S}=l,{gridProps:M}=kt({...d,layoutDelegate:C,isVirtualized:k},x,n),R=x.selectionManager,E=!!S?.useDraggableCollectionState,z=!!S?.useDroppableCollectionState;e.useRef(E),e.useRef(z),e.useEffect(()=>{},[E,z]);let D=!1,P=null,N=e.useRef(null),{direction:H}=p(),[W]=e.useState(()=>new Qe);if(E&&S){g=S.useDraggableCollectionState({collection:x.collection,selectionManager:R,preview:S.renderDragPreview?N:void 0}),S.useDraggableCollection({},g,n);let e=S.DragPreview;P=S.renderDragPreview?t.createElement(e,{ref:N},S.renderDragPreview):null}if(z&&S){f=S.useDroppableCollectionState({collection:x.collection,selectionManager:R});let e=new ie({collection:x.collection,disabledKeys:R.disabledKeys,disabledBehavior:R.disabledBehavior,ref:n,layoutDelegate:C}),t=S.dropTargetDelegate||K||new S.ListDropTargetDelegate(o.rows,n);W.setup(t,w,H),b=S.useDroppableCollection({keyboardDelegate:e,dropTargetDelegate:W,onDropActivate:e=>{if("item"===e.target.type){let t=e.target.key,l=w.collection.getItem(t),n=h.has(t);l&&l.hasChildNodes&&(!n||S?.isVirtualDragging?.())&&w.toggleKey(t)}},onKeyDown:e=>{let t=f?.target;if(t&&"item"===t.type&&"on"===t.dropPosition){let l=w.collection.getItem(t.key);(e.key===At.expand[H]&&l?.hasChildNodes&&!w.expandedKeys.has(t.key)||e.key===At.collapse[H]&&l?.hasChildNodes&&w.expandedKeys.has(t.key))&&w.toggleKey(t.key)}}},f,n),D=f.isDropTarget({type:"root"})}let{focusProps:T,isFocused:A,isFocusVisible:F}=oe(),V=Y({...l,children:void 0,defaultClassName:"react-aria-Table",values:{isDropTarget:D,isFocused:A,isFocusVisible:F,state:x}}),B=!(!E||g?.isDisabled),L=V.style,j=null;u&&(j=u.useTableColumnResizeState({tableWidth:u.tableWidth},x),k||(L={...L,tableLayout:"fixed",width:"min-content"}));let O=m(l,{global:!0});return t.createElement(re,{values:[[Nt,x],[Ht,j],[Le,{dragAndDropHooks:S,dragState:g,dropState:f}],[Oe,{render:sl}],[le,null],[se,null]]},t.createElement(ae,null,t.createElement(Tt,{...v(O,V,M,T,b?.collectionProps),style:L,ref:n,slot:l.slot||void 0,onScroll:l.onScroll,"data-allows-dragging":B||void 0,"data-drop-target":D||void 0,"data-focused":A||void 0,"data-focus-visible":F||void 0},t.createElement(de,null,t.createElement(I,{collection:x.collection,scrollRef:u?.scrollRef??n,persistedKeys:$e(R,S,f)})))),P)}const Vt=e.createContext(null);class Bt extends be{static{this.type="tableheader"}}let Lt=e.forwardRef(function(l,n){let{isVirtualized:i}=e.useContext(X);return i?t.createElement(ee.div,{...l,ref:n}):t.createElement(ee.thead,{...l,ref:n})});const jt=q(Bt,(l,n)=>{let i=e.useContext(Nt).collection,o=ce({items:i.headerRows,children:e.useCallback(e=>{if("headerrow"===e.type)return t.createElement($t,{item:e});throw new Error("Unsupported node type in TableHeader: "+e.type)},[])}),{rowGroupProps:r}={rowGroupProps:{role:"rowgroup"}},{hoverProps:s,isHovered:a}=ue({onHoverStart:l.onHoverStart,onHoverChange:l.onHoverChange,onHoverEnd:l.onHoverEnd}),d=Y({...l,children:void 0,defaultClassName:"react-aria-TableHeader",values:{isHovered:a}});return t.createElement(Lt,{...v(m(l,{global:!0}),r,s),...d,ref:n,"data-hovered":a||void 0},o)},e=>t.createElement(U,{dependencies:e.dependencies,items:e.columns},e.children));let Ot=e.forwardRef(function(l,n){let{isVirtualized:i}=e.useContext(X);return i?t.createElement("div",{...l,ref:n}):t.createElement("tr",{...l,ref:n})});function $t({item:l}){let n=e.useRef(null),i=e.useContext(Nt),{isVirtualized:o,CollectionBranch:r}=e.useContext(X),{rowProps:s}=function(e,t){let{node:l,isVirtualized:n}=e,i={role:"row"};return n&&null==t.treeColumn&&(i["aria-rowindex"]=l.index+1),{rowProps:i}}({node:l,isVirtualized:o},i),{checkboxProps:a}=function(e){let{isEmpty:t,isSelectAll:l,selectionMode:n}=e.selectionManager;var i;return{checkboxProps:{"aria-label":k((i=vt)&&i.__esModule?i.default:i,"@react-aria/table").format("single"===n?"select":"selectAll"),isSelected:l,isDisabled:"multiple"!==n||0===e.collection.size||1===e.collection.rows.length&&"loader"===e.collection.rows[0].type,isIndeterminate:!t&&!l,onChange:()=>e.selectionManager.toggleSelectAll()}}}(i);return t.createElement(Ot,{...s,ref:n},t.createElement(re,{values:[[Ve,{slots:{selection:a}}],[Be,{slots:{selection:a}}]]},t.createElement(r,{collection:i.collection,parent:l})))}class Ut extends be{static{this.type="column"}}let _t=e.forwardRef(function(l,n){let{isVirtualized:i}=e.useContext(X);return i?t.createElement(ee.div,{...l,ref:n}):t.createElement(ee.th,{...l,ref:n})});const qt=he(Ut,(l,n,i)=>{let o=G(n),r=e.useContext(Nt),{isVirtualized:s}=e.useContext(X),{columnHeaderProps:a,isPressed:d}=function(t,l,n){let i,{node:o}=t,r=o.props.allowsSorting,{gridCellProps:s}=Ct({focusMode:"child",...t},l,n),a=o.props.isSelectionCell&&"single"===l.selectionManager.selectionMode,{pressProps:d,isPressed:c}=H({isDisabled:!r||a,onPress(){l.sort(o.key)},ref:n}),{focusableProps:u}=W({},n),h=l.sortDescriptor?.column===o.key,y=l.sortDescriptor?.direction;o.props.allowsSorting&&!T()&&(i=h?y:"none");let p=k((g=vt)&&g.__esModule?g.default:g,"@react-aria/table");var g;let f;r&&(f=`${p.format("sortable")}`,h&&y&&T()&&(f=`${f}, ${p.format(y)}`));let m=C(f),b=0===l.collection.size;return e.useEffect(()=>{b&&l.selectionManager.focusedKey===o.key&&l.selectionManager.setFocusedKey(null)},[b,l.selectionManager,o.key]),{columnHeaderProps:{...v(u,s,d,m,b?{tabIndex:-1}:null),role:"columnheader",id:mt(l,o.key),"aria-colspan":o.colSpan&&o.colSpan>1?o.colSpan:void 0,"aria-sort":i},isPressed:c}}({node:i,isVirtualized:s,focusMode:l.focusMode,allowsArrowNavigation:l.allowsArrowNavigation},r,o),{isFocused:c,isFocusVisible:u,focusProps:h}=oe(),y=e.useContext(Ht),p=!1;y&&(p=y.resizingColumn===i.key);let{hoverProps:g,isHovered:f}=ue({isDisabled:!l.allowsSorting}),b=Y({...l,id:void 0,children:i.rendered,defaultClassName:"react-aria-Column",values:{isHovered:f,isPressed:d,isFocused:c,isFocusVisible:u,allowsSorting:i.props.allowsSorting,sortDirection:r.sortDescriptor?.column===i.key?r.sortDescriptor.direction:void 0,isResizing:p,startResize:()=>{if(!y)throw new Error("Wrap your in a to enable column resizing");y.startResize(i.key),r.setKeyboardNavigationDisabled(!0)},sort:e=>{r.sort(i.key,e)}}}),w=b.style;y&&(w={...w,width:y.getColumnWidth(i.key)});let x=m(l,{global:!0});return delete x.id,t.createElement(_t,{...v(x,a,h,g),...b,style:w,ref:o,"data-hovered":f||void 0,"data-pressed":d||void 0,"data-focused":c||void 0,"data-focus-visible":u||void 0,"data-resizing":p||void 0,"data-allows-sorting":i.props.allowsSorting||void 0,"data-sort-direction":r.sortDescriptor?.column===i.key?r.sortDescriptor.direction:void 0},t.createElement(re,{values:[[Xt,{column:i,triggerRef:o}],[X,ye]]},b.children))}),Xt=e.createContext(null),Yt=e.forwardRef(function(n,i){let o=e.useContext(Ht);if(!o)throw new Error("Wrap your in a to enable column resizing");let r=k((s=Ue)&&s.__esModule?s.default:s,"react-aria-components");var s;let{onResizeStart:a,onResize:d,onResizeEnd:c}=e.useContext(zt),{column:u,triggerRef:h}=e.useContext(Xt),y=e.useRef(null),{resizerProps:g,inputProps:b,isResizing:x,isMouseResizing:K}=function(t,l,n){let{column:i,triggerRef:o,isDisabled:r,onResizeStart:s,onResize:a,onResizeEnd:d,"aria-label":c}=t;const u=k((h=vt)&&h.__esModule?h.default:h,"@react-aria/table");var h;let y=f(),g=l.resizingColumn===i.key,m=e.useRef(g),b=e.useRef(null),x=e.useRef(!1),K=l.tableState.isKeyboardNavigationDisabled,[I,S]=e.useState(!1),{direction:M}=p(),E=e.useCallback(e=>{m.current||(b.current=l.updateResizedColumns(e.key,l.getColumnWidth(e.key)),l.startResize(e.key),l.tableState.setKeyboardNavigationDisabled(!0),s?.(b.current)),m.current=!0},[l,s]),D=e.useCallback((e,t)=>{let n=l.updateResizedColumns(e.key,t);a?.(n),b.current=n},[l,a]),P=e.useCallback(e=>{m.current&&(null==b.current&&(b.current=l.updateResizedColumns(e.key,l.getColumnWidth(e.key))),l.endResize(),l.tableState.setKeyboardNavigationDisabled(!1),d?.(b.current),m.current=!1,o?.current&&!x.current&&z(o.current)),b.current=null},[l,o,d]),N=()=>{if(!K)return!1;P(i)},{keyboardProps:W}=B({shortcuts:{Escape:()=>N(),Enter:()=>{K?P(i):E(i)}," ":()=>N(),Tab:()=>N()}});const T=e.useRef(0),{moveProps:A}=_e({onMoveStart(e){T.current=l.getColumnWidth(i.key),"mouse"===e.pointerType&&S(!0),E(i)},onMove(e){let{deltaX:t,deltaY:l,pointerType:n}=e;"rtl"===M&&(t*=-1),"keyboard"===n&&(0!==l&&0===t&&(t=-1*l),t*=10),0!==t&&(T.current+=t,D(i,T.current))},onMoveEnd(e){let{pointerType:t}=e;T.current=0,S(!1),("mouse"===t||"touch"===t&&x.current)&&P(i)}});let F=e.useCallback(e=>{K&&A.onKeyDown?.(e)},[K,A]),V=Math.floor(l.getColumnMinWidth(i.key)),$=Math.floor(l.getColumnMaxWidth(i.key));$===1/0&&($=Number.MAX_SAFE_INTEGER);let U=Math.floor(l.getColumnWidth(i.key)),_=L();"virtual"===_&&"undefined"!=typeof window&&"ontouchstart"in window&&(_="touch");let q=null!=o?.current||"keyboard"!==_&&"virtual"!==_||g?void 0:u.format("resizerDescription"),X=C(q),Y={"aria-label":c,"aria-orientation":"horizontal","aria-labelledby":`${y} ${mt(l.tableState,i.key)}`,"aria-valuetext":u.format("columnSize",{value:U}),type:"range",min:V,max:$,value:U,...X};const G=e.useCallback(()=>{n.current&&z(n.current)},[n]);let J=l.resizingColumn,Q=e.useRef(null),Z=j(E);e.useEffect(()=>{if(Q.current!==J&&null!=J&&J===i.key){x.current=R()===n.current,Z(i);let e=setTimeout(()=>G(),0),t=setTimeout(G,400);return()=>{clearTimeout(e),clearTimeout(t)}}Q.current=J},[J,i,G,n]);let{pressProps:ee}=H({preventFocusOnPress:!0,onPressStart:e=>{e.ctrlKey||e.altKey||e.metaKey||e.shiftKey||"keyboard"===e.pointerType||("virtual"!==e.pointerType||null==l.resizingColumn?(G(),"virtual"!==e.pointerType&&E(i)):P(i))},onPress:e=>{("touch"===e.pointerType&&x.current||"mouse"===e.pointerType)&&null!=l.resizingColumn&&P(i)}}),{visuallyHiddenProps:te}=O();return{resizerProps:v(W,{...A,onKeyDown:F},ee,{style:{touchAction:"none"}}),inputProps:v(te,{id:y,onBlur:()=>{P(i)},onChange:e=>{let t=l.getColumnWidth(i.key),n=parseFloat(w(e).value);n=n>t?t+10:t-10,D(i,n)},disabled:r},Y),isResizing:g,isMouseResizing:I}}({column:u,"aria-label":n["aria-label"]||r.format("tableResizer"),onResizeStart:a,onResize:d,onResizeEnd:c,triggerRef:h},o,y),{focusProps:I,isFocused:S,isFocusVisible:M}=oe(),{hoverProps:E,isHovered:D}=ue(n),P=o.getColumnMinWidth(u.key)>=o.getColumnWidth(u.key),N=o.getColumnMaxWidth(u.key)<=o.getColumnWidth(u.key),{direction:W}=p(),T="both";T=P?"rtl"===W?"right":"left":N?"rtl"===W?"left":"right":"both";let A=G(i),[F,V]=e.useState("");e.useEffect(()=>{if(!A.current)return;let e=window.getComputedStyle(A.current);V(e.cursor)},[A,T]);let $=Y({...n,defaultClassName:"react-aria-ColumnResizer",values:{isFocused:S,isFocusVisible:M,isResizing:x,isHovered:D,resizableDirection:T}}),U=m(n,{global:!0});return t.createElement(ee.div,{ref:A,role:"presentation",...v(U,$,g,E),"data-hovered":D||void 0,"data-focused":S||void 0,"data-focus-visible":M||void 0,"data-resizing":x||void 0,"data-resizable-direction":T},$.children,t.createElement("input",{ref:y,...v(b,I)}),x&&K&&l.createPortal(t.createElement("div",{style:{position:"fixed",top:0,left:0,bottom:0,right:0,cursor:F},"data-testid":"cursor-overlay"}),document.body))});class Gt extends pe{static{this.type="tablebody"}}let Jt=e.forwardRef(function(l,n){let{isVirtualized:i}=e.useContext(X);return i?t.createElement(ee.div,{...l,ref:n}):t.createElement(ee.tbody,{...l,ref:n})});const Qt=q(Gt,(l,n,i)=>{let o,r=e.useContext(Nt),{isVirtualized:s}=e.useContext(X),a=r.collection,{CollectionBranch:d}=e.useContext(X),{dragAndDropHooks:c,dropState:u}=e.useContext(Le),h=!!c?.useDroppableCollectionState&&!u?.isDisabled,y=h&&!!u&&(u.isDropTarget({type:"root"})??!1),p=0===a.size,g={isDropTarget:y,isEmpty:p},f=Y({...l,id:void 0,children:void 0,defaultClassName:"react-aria-TableBody",values:g}),b=a.columnCount;if(p&&l.renderEmptyState&&r){let e={},n={},i={};s?(n["aria-colspan"]=b,i={display:"contents"}):n.colSpan=b,o=t.createElement(ll,{role:"row",...e,style:i},t.createElement(ol,{role:"rowheader",...n,style:i},l.renderEmptyState(g)))}let{rowGroupProps:w}={rowGroupProps:{role:"rowgroup"}},x=m(l,{global:!0});return t.createElement(Jt,{...v(x,f,w),ref:n,"data-empty":p||void 0},h&&t.createElement(hl,null),t.createElement(d,{collection:a,parent:i,renderDropIndicator:je(c,u)}),o)});class Zt extends pe{static{this.type="tablefooter"}}const el=e.createContext({isFocusVisibleWithinRow:!1});class tl extends be{static{this.type="item"}filter(e,t,l){let n=e.getChildren(this.key);for(let i of n)if(l(i.textValue,i)){let l=this.clone();return t.addDescendants(l,e),l}return null}}let ll=e.forwardRef(function(l,n){let{isVirtualized:i}=e.useContext(X);return i?t.createElement(ee.div,{...l,ref:n}):t.createElement(ee.tr,{...l,ref:n})});const nl=q(tl,(l,n,i)=>{let o,r,s=G(n),a=e.useContext(Nt),{dragAndDropHooks:d,dragState:c,dropState:u}=e.useContext(Le),{isVirtualized:h,CollectionBranch:y}=e.useContext(X),p=c&&!(c.isDisabled||c.selectionManager.isDisabled(i.key)),{rowProps:g,expandButtonProps:f,...b}=Mt({node:i,shouldSelectOnPressUp:!!c,isVirtualized:h},a,s),{isFocused:w,isFocusVisible:x,focusProps:k}=oe(),{isFocusVisible:C,focusProps:K}=oe({within:!0}),{hoverProps:I,isHovered:S}=ue({isDisabled:!b.allowsSelection&&!b.hasAction&&!p,onHoverStart:l.onHoverStart,onHoverChange:l.onHoverChange,onHoverEnd:l.onHoverEnd}),{checkboxProps:M}=function(e,t){let{key:l}=e;const{checkboxProps:n}=Fe(e,t);return{checkboxProps:{...n,"aria-labelledby":`${n.id} ${wt(t,l)}`}}}({key:i.key},a);c&&d&&(o=d.useDraggableItem({key:i.key,hasDragButton:!0},c));let R=e.useRef(null),{visuallyHiddenProps:E}=O();u&&d&&(r=d.useDropIndicator({target:{type:"item",key:i.key,dropPosition:"on"}},u,R));let z=e.useRef(null);e.useEffect(()=>{c&&z.current,0},[]);let D=c&&c.isDragging(i.key),{children:P,...N}=l,H=l.hasChildItems||"cell"!==a.collection.getItem(i.lastChildKey)?.type,W=H&&a.expandedKeys.has(i.key),T=Y({...N,id:void 0,defaultClassName:"react-aria-Row",defaultStyle:{"--table-row-level":i.level+1},values:{...b,state:a,isHovered:S,isFocused:w,isFocusVisible:x,selectionMode:a.selectionManager.selectionMode,selectionBehavior:a.selectionManager.selectionBehavior,isDragging:D,isDropTarget:r?.isDropTarget,isFocusVisibleWithin:C,id:i.key,hasChildItems:H,isExpanded:W,level:i.level+1}}),A=m(l,{global:!0});return delete A.id,delete A.onClick,t.createElement(t.Fragment,null,r&&!r.isHidden&&t.createElement(ll,{role:"row",style:{height:0}},t.createElement(ol,{role:"gridcell",colSpan:a.collection.columnCount,style:{padding:0}},t.createElement("div",{role:"button",...E,...r.dropIndicatorProps,ref:R}))),t.createElement(ll,{...v(A,T,g,k,I,o?.dragProps,K),ref:s,"data-disabled":b.isDisabled||void 0,"data-selected":b.isSelected||void 0,"data-hovered":S||void 0,"data-focused":b.isFocused||void 0,"data-focus-visible":x||void 0,"data-pressed":b.isPressed||void 0,"data-dragging":D||void 0,"data-drop-target":r?.isDropTarget||void 0,"data-selection-mode":"none"===a.selectionManager.selectionMode?void 0:a.selectionManager.selectionMode,"data-focus-visible-within":C||void 0,"data-expanded":W||void 0,"data-has-child-items":H||void 0,"data-level":i.level+1},t.createElement(re,{values:[[Ve,{slots:{[me]:{},selection:M}}],[Be,{slots:{[me]:{},selection:M}}],[ge,{slots:{[me]:{},chevron:f,drag:{...o?.dragButtonProps,ref:z,style:{pointerEvents:"none"}}}}],[fe,{isSelected:b.isSelected}],[el,{isFocusVisibleWithinRow:C}]]},t.createElement(y,{collection:a.collection,parent:i}))))},e=>{if(null==e.id&&"function"==typeof e.children)throw new Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");let l=[e.value].concat(e.dependencies);return t.createElement(U,{dependencies:l,items:e.columns,idScope:e.id},e.children)});class il extends be{static{this.type="cell"}}let ol=e.forwardRef(function(l,n){let{isVirtualized:i}=e.useContext(X);return i?t.createElement(ee.div,{...l,ref:n}):t.createElement(ee.td,{...l,ref:n})});const rl=he(il,(l,n,i)=>{let o=G(n),r=e.useContext(Nt),{dragState:s}=e.useContext(Le),{isVirtualized:a}=e.useContext(X);i.column=r.collection.columns[i.index];let{gridCellProps:d,isPressed:c}=function(e,t,l){let{gridCellProps:n,isPressed:i}=Ct(e,t,l),o=e.node.column?.key;return null!=o&&t.collection.rowHeaderColumnKeys.has(o)&&(n.role="rowheader",n.id=bt(t,e.node.parentKey,o)),{gridCellProps:n,isPressed:i}}({node:i,shouldSelectOnPressUp:!!s,isVirtualized:a,focusMode:l.focusMode,allowsArrowNavigation:l.allowsArrowNavigation},r,o),{isFocused:u,isFocusVisible:h,focusProps:y}=oe(),{hoverProps:p,isHovered:g}=ue({}),{isFocusVisibleWithinRow:f}=e.useContext(el),b=null!=i.parentKey&&r.selectionManager.isSelected(i.parentKey),w=i.colIndex||i.index,x=r.collection.getItem(i.parentKey),k=x.props.hasChildItems||"cell"!==r.collection.getItem(x.lastChildKey)?.type,C=k&&r.expandedKeys.has(i.parentKey),K=r.selectionManager.isDisabled(i.parentKey),I=Y({...l,id:void 0,defaultClassName:"react-aria-Cell",values:{isFocused:u,isFocusVisible:h,isFocusVisibleWithinRow:f,isPressed:c,isHovered:g,isSelected:b,id:i.key,columnIndex:w,hasChildItems:k,isExpanded:C,isDisabled:K,level:x.level+1,isTreeColumn:i.column.key===r.treeColumn}}),S=m(l,{global:!0});return delete S.id,t.createElement(ol,{...v(S,I,d,y,p),ref:o,"data-focused":u||void 0,"data-focus-visible":h||void 0,"data-focus-visible-within-row":f||void 0,"data-pressed":c||void 0,"data-selected":b||void 0,"data-column-index":w,"data-expanded":C||void 0,"data-has-child-items":k||void 0,"data-level":x.level+1,"data-tree-column":i.column.key===r.treeColumn||void 0,"data-disabled":K||void 0},t.createElement(X.Provider,{value:ye},I.children))});function sl(l,n){n=G(n);let{dragAndDropHooks:i,dropState:o}=e.useContext(Le),r=e.useRef(null),{dropIndicatorProps:s,isHidden:a,isDropTarget:d}=i.useDropIndicator(l,o,r);if(a)return null;let c=o&&"item"===l.target.type?(o.collection.getItem(l.target.key)?.level||0)+1:1;return t.createElement(ul,{...l,dropIndicatorProps:s,isDropTarget:d,buttonRef:r,level:c,ref:n})}let al=e.forwardRef(function(l,n){let{isVirtualized:i}=e.useContext(X);return i?t.createElement(ee.div,{...l,ref:n}):t.createElement(ee.tr,{...l,ref:n})}),dl=e.forwardRef(function(l,n){let{isVirtualized:i}=e.useContext(X);return i?t.createElement(ee.div,{...l,ref:n}):t.createElement(ee.td,{...l,ref:n})});function cl(l,n){let{dropIndicatorProps:i,isDropTarget:o,buttonRef:r,level:s,...a}=l,d=e.useContext(Nt),{visuallyHiddenProps:c}=O(),u=Y({...a,defaultClassName:"react-aria-DropIndicator",defaultStyle:{"--table-row-level":s+1},values:{isDropTarget:o}});return t.createElement(al,{...m(l,{global:!0}),...u,role:"row",ref:n,"data-drop-target":o||void 0,"aria-level":s},t.createElement(dl,{role:"gridcell",colSpan:d.collection.columnCount,style:{padding:0}},t.createElement("div",{...c,role:"button",...i,ref:r}),u.children))}const ul=e.forwardRef(cl);function hl(){let l=e.useContext(Nt),{dragAndDropHooks:n,dropState:i}=e.useContext(Le),o=e.useRef(null),{dropIndicatorProps:r}=n.useDropIndicator({target:{type:"root"}},i,o),s=i.isDropTarget({type:"root"}),{visuallyHiddenProps:a}=O();return!s&&r["aria-hidden"]?null:t.createElement(ll,{role:"row","aria-hidden":r["aria-hidden"],style:{height:0}},t.createElement(ol,{role:"gridcell",colSpan:l.collection.columnCount,style:{padding:0}},t.createElement("div",{role:"button",...a,...r,ref:o})))}he(we,function(l,n,i){let o=e.useContext(Nt),{isVirtualized:r}=e.useContext(X),{isLoading:s,onLoadMore:a,scrollOffset:d,...c}=l,u=o.collection.columns.length,h=e.useRef(null),y=e.useMemo(()=>({onLoadMore:a,collection:o?.collection,sentinelRef:h,scrollOffset:d}),[a,d,o?.collection]);ve(y,h);let p=Y({...c,id:void 0,children:i.rendered,defaultClassName:"react-aria-TableLoadingIndicator",defaultStyle:{"--table-row-level":i.level+1},values:void 0}),g={},f={};return r?(g["aria-colspan"]=u,f={display:"contents"}):g.colSpan=u,t.createElement(t.Fragment,null,t.createElement(ll,{style:{height:0},inert:xe(!0)},t.createElement(ol,{style:{padding:0,border:0}},t.createElement("div",{"data-testid":"loadMoreSentinel",ref:h,style:{position:"relative",height:1,width:1}}))),s&&p.children&&t.createElement(ll,{...v(m(l,{global:!0}),{}),...p,role:"row",ref:n,"aria-level":i.level+1,"data-level":i.level+1},t.createElement(ol,{role:"rowheader",...g,style:f},p.children)))});class yl extends qe{constructor(e){super(e),this.lastCollection=null,this.columnWidths=new Map,this.lastPersistedKeys=null,this.persistedIndices=new Map,this.stickyColumnIndices=[]}get collection(){return this.virtualizer.collection}get rowHeight(){return super.rowHeight}get estimatedRowHeight(){return super.estimatedRowHeight}get headingHeight(){return super.headingHeight}get estimatedHeadingHeight(){return super.estimatedHeadingHeight}get loaderHeight(){return super.loaderHeight}columnsChanged(e,t){return!t||e.columns!==t.columns&&e.columns.length!==t.columns.length||e.columns.some((e,l)=>e.key!==t.columns[l].key||e.props.width!==t.columns[l].props.width||e.props.minWidth!==t.columns[l].props.minWidth||e.props.maxWidth!==t.columns[l].props.maxWidth)}shouldInvalidateLayoutOptions(e,t){return e.columnWidths!==t.columnWidths||super.shouldInvalidateLayoutOptions(e,t)}update(e){let t=this.virtualizer.collection;if(e.layoutOptions?.columnWidths){for(const[l,n]of e.layoutOptions.columnWidths)if(this.columnWidths.get(l)!==n){this.columnWidths=e.layoutOptions.columnWidths,e.sizeChanged=!0;break}}else if(e.sizeChanged||this.columnsChanged(t,this.lastCollection)){let l=new at({});this.columnWidths=l.buildColumnWidths(this.virtualizer.size.width-2*this.padding,t,new Map),e.sizeChanged=!0}super.update(e)}buildCollection(){this.stickyColumnIndices=[];let e=this.virtualizer.collection;for(let i of e.columns)(this.isStickyColumn(i)||e.rowHeaderColumnKeys.has(i.key))&&this.stickyColumnIndices.push(i.index);let t=[],l=0,n=0;if(e.head){for(let i of e)switch(i.type){case"tableheader":{let e=this.buildTableHeader();l=e.layoutInfo.rect.maxY+this.gap,n=Math.max(n,e.layoutInfo.rect.width),this.layoutNodes.set(e.layoutInfo.key,e),t.push(e);break}case"tablebody":case"tablefooter":{let e=this.buildRowGroup(l,i);l=e.layoutInfo.rect.maxY+this.gap,n=Math.max(n,e.layoutInfo.rect.width),this.layoutNodes.set(e.layoutInfo.key,e),t.push(e);break}}l>0&&(l-=this.gap);for(let e of t)e.layoutInfo.rect.width=n}else{let e=this.buildTableHeader();this.layoutNodes.set(e.layoutInfo.key,e);let i=this.buildBody(e.layoutInfo.rect.maxY+this.gap);i.layoutInfo.rect.width=Math.max(e.layoutInfo.rect.width,i.layoutInfo.rect.width),l=i.layoutInfo.rect.maxY,n=i.layoutInfo.rect.width,t=[e,i]}return this.lastPersistedKeys=null,this.contentSize=new Xe(n+2*this.padding,l+this.padding),t}buildTableHeader(){let e=this.virtualizer.collection,t=new Ye(this.padding,this.padding,0,0),l=new Ge("header",e.head?.key??"header",t);l.isSticky=!0,l.zIndex=1;let n=this.padding,i=0,o=[];for(let r of e.headerRows){let e=this.buildChild(r,this.padding,n,l.key);e.layoutInfo.parentKey=l.key,n=e.layoutInfo.rect.maxY,i=Math.max(i,e.layoutInfo.rect.width),e.index=o.length,o.push(e)}return t.width=i,t.height=n-this.padding,{layoutInfo:l,children:o,validRect:l.rect,node:e.head}}buildHeaderRow(e,t,l){let n=new Ye(t,l,0,0),i=new Ge("headerrow",e.key,n),o=0,r=[];for(let a of s(e,this.virtualizer.collection)){let e=this.buildChild(a,t,l,i.key);e.layoutInfo.parentKey=i.key,t=e.layoutInfo.rect.maxX,o=Math.max(o,e.layoutInfo.rect.height),e.index=r.length,r.push(e)}for(let[s,a]of r.entries())a.layoutInfo.zIndex=r.length-s+1;return this.setChildHeights(r,o),n.height=o,n.width=t-n.x,{layoutInfo:i,children:r,validRect:n,node:e}}setChildHeights(e,t){for(let l of e)l.layoutInfo.rect.height!==t&&(l.layoutInfo=l.layoutInfo.copy(),l.layoutInfo.rect.height=t)}getRenderedColumnWidth(e){let t=this.virtualizer.collection,l=e.colSpan??1,n=e.colIndex??e.index,i=0;for(let o=n;othis.requestedRect.maxY&&"loader"!==s.type){e+=d;continue}let t=this.buildChild(s,this.padding,e,i.key);t.layoutInfo.parentKey=i.key,t.index=a.length,e=t.layoutInfo.rect.maxY+this.gap,r=Math.max(r,t.layoutInfo.rect.width),a.push(t)}return 0===l?.size?e=this.virtualizer.size.height:e-=this.gap,n.width=r,n.height=e-o,{layoutInfo:i,children:a,validRect:i.rect.intersection(this.requestedRect),node:t}}buildLoader(e,t,l){let n=super.buildLoader(e,t,l),i=this.virtualizer.collection;return n.layoutInfo.rect.width=this.layoutNodes.get(i.head?.key??"header").layoutInfo.rect.width,n.validRect=n.layoutInfo.rect.intersection(this.requestedRect),n}buildNode(e,t,l){switch(e.type){case"headerrow":return this.buildHeaderRow(e,t,l);case"item":return this.buildRow(e,t,l);case"column":case"placeholder":return this.buildColumn(e,t,l);case"cell":return this.buildCell(e,t,l);case"loader":return this.buildLoader(e,t,l);default:throw new Error("Unknown node type "+e.type)}}buildRow(e,t,l){let n=this.virtualizer.collection,i=new Ye(t,l,0,0),o=new Ge("row",e.key,i),r=[],a=0;for(let d of s(e,n))if("cell"===d.type)if(t>this.requestedRect.maxX){let e=this.layoutNodes.get(d.key);if(!e)break;e.layoutInfo.rect.x=t,t+=e.layoutInfo.rect.width}else{let e=this.buildChild(d,t,l,o.key);t=e.layoutInfo.rect.maxX,a=Math.max(a,e.layoutInfo.rect.height),e.index=r.length,r.push(e)}return this.setChildHeights(r,a),i.width=this.layoutNodes.get(n.head?.key??"header").layoutInfo.rect.width,i.height=a,{layoutInfo:o,children:r,validRect:i.intersection(this.requestedRect),node:e}}buildCell(e,t,l){let n=this.getRenderedColumnWidth(e),{height:i,isEstimated:o}=this.getEstimatedHeight(e,n,this.rowHeight,this.estimatedRowHeight),r=new Ye(t,l,n,i),s=new Ge(e.type,e.key,r);return s.isSticky=this.isStickyColumn(e),s.zIndex=s.isSticky?2:1,s.estimatedSize=o,{layoutInfo:s,children:[],validRect:r,node:e}}getVisibleLayoutInfos(e){if(e.height>1){let t=this.getEstimatedRowHeight();e.y=Math.floor(e.y/t)*t,e.height=Math.ceil(e.height/t)*t}this.layoutIfNeeded(e);let t=[];this.buildPersistedIndices();for(let l of this.rootNodes)t.push(l.layoutInfo),this.addVisibleLayoutInfos(t,l,e);return t}addVisibleLayoutInfos(e,t,l){if(t.children&&0!==t.children.length)switch(t.layoutInfo.type){case"header":for(let n of t.children)e.push(n.layoutInfo),this.addVisibleLayoutInfos(e,n,l);break;case"rowgroup":{let n=this.binarySearch(t.children,l.topLeft,"y"),i=this.binarySearch(t.children,l.bottomRight,"y"),o=this.persistedIndices.get(t.layoutInfo.key),r=0;for(;o&&r>1,r=e[o];if("x"===l&&r.layoutInfo.rect.maxX<=t.x||"y"===l&&r.layoutInfo.rect.maxY<=t.y)n=o+1;else{if(!("x"===l&&r.layoutInfo.rect.x>t.x||"y"===l&&r.layoutInfo.rect.y>t.y))return o;i=o-1}}return Math.max(0,Math.min(e.length-1,n))}buildPersistedIndices(){if(this.virtualizer.persistedKeys!==this.lastPersistedKeys){this.lastPersistedKeys=this.virtualizer.persistedKeys,this.persistedIndices.clear();for(let e of this.virtualizer.persistedKeys){let t=this.layoutNodes.get(e)?.layoutInfo;for(;t&&t.parentKey;){let e=this.virtualizer.collection.getItem(t.key),l=this.persistedIndices.get(t.parentKey);l||(l="cell"===e?.type||"column"===e?.type?[...this.stickyColumnIndices]:[],this.persistedIndices.set(t.parentKey,l));let n=this.layoutNodes.get(t.key)?.index;null==n||l.includes(n)||l.push(n),t=this.layoutNodes.get(t.parentKey)?.layoutInfo}}for(let e of this.persistedIndices.values())e.sort((e,t)=>e-t)}}getDropTargetFromPoint(e,t,l){e+=this.virtualizer.visibleRect.x,t+=this.virtualizer.visibleRect.y;let n=new Ye(e,Math.max(0,t-this.gap),1,Math.max(1,2*this.gap)),i=this.getVisibleLayoutInfos(n),o=null,r=1/0;for(let c of i){if("row"!==c.type||!c.rect.intersects(n))continue;let e=Math.abs(c.rect.y-t),l=Math.abs(c.rect.maxY-t),i=Math.min(e,l);i=a.maxY-10&&l({...d,dropPosition:"after"})&&(d.dropPosition="after"):t<=a.y+a.height/2&&l({...d,dropPosition:"before"})?d.dropPosition="before":l({...d,dropPosition:"after"})&&(d.dropPosition="after"),d}getDropTargetLayoutInfo(e){let t=super.getDropTargetLayoutInfo(e);return t.parentKey=this.virtualizer.collection.getItem(e.key)?.parentKey??null,t}}class pl extends yl{useLayoutOptions(){let t=e.useContext(Ht);return e.useMemo(()=>({columnWidths:t?.columnWidths}),[t?.columnWidths])}}function gl(e){return Number.parseFloat(getComputedStyle(e).scrollPaddingTop)||0}function fl(e,t,l){const n=e.getBoundingClientRect(),i=gl(e),o=getComputedStyle(e),r=window.innerHeight-(Number.parseFloat(o.getPropertyValue("--rp-flow-bottom")||o.scrollPaddingBottom)||0);n.top+tr&&window.scrollBy(0,n.top+l-r)}function ml(t,l,n,i,o){const r=e.useRef(l),s=e.useRef(o);e.useEffect(()=>{r.current=l,s.current=o});const a=l>=0;e.useEffect(()=>{const e=r.current;if(!t||!a)return;const l=()=>{const l=n.current;if(!l)return;const o=s.current?.(t),r=o?.y??bl.headingHeight+e*bl.rowHeight,a=r+(o?.height??bl.rowHeight);var d,c,u;i?fl(l,r,a):l.scrollTop=(d=l.scrollTop,c=l.clientHeight,(u={y:r,height:o?.height??bl.rowHeight}).yd+c?u.y+u.height-c:d)},o=requestAnimationFrame(l),d=n.current;let c=!0;const u=()=>c=!1,h=new ResizeObserver(()=>c&&l());if(d){h.observe(d);for(const e of["wheel","pointerdown","touchstart"])d.addEventListener(e,u,{passive:!0})}return()=>{if(cancelAnimationFrame(o),h.disconnect(),d)for(const e of["wheel","pointerdown","touchstart"])d.removeEventListener(e,u)}},[t,a,n,i])}const bl={rowHeight:40,headingHeight:37};function wl(e,t,l){return t.map(t=>{let n=e.get(t);return void 0===n&&e.set(t,n=l(t)),n})}function vl({cols:e,firstVisibleHeader:t,resizable:l=!0}){const i=ke();return n.jsx(jt,{children:e.map((e,o)=>n.jsx(qt,{id:e.id,isRowHeader:t?0===o:e.isRowHeader,allowsSorting:e.sortable,defaultWidth:e.minWidth*(e.grow??(e.isRowHeader?2:1))+"fr",minWidth:e.minWidth,children:({sortDirection:t})=>n.jsxs(n.Fragment,{children:[n.jsxs("span",{className:"rp-th",children:[e.hideLabel?n.jsx(ze,{children:e.label}):e.label,t&&n.jsx(De,{className:Pe("rp-sort",t)})]}),l&&n.jsx(Yt,{className:"rp-resizer","aria-label":i("ui.resizeColumn",{name:e.label})})]})},e.id))})}const xl=e=>"children"in e,kl=e=>"string"==typeof e?n.jsx(Ne,{children:e}):e;function Cl({label:t,cols:l,rows:i,height:o=442,selected:r,onSelect:s,selectOnFocus:a,reveal:d,highlighted:c,empty:u,loading:h,sort:y,onSort:p,getTextValue:g,stream:f,fit:m,flow:b,tree:w,rowDetail:v,detail:x}){const k=ke(),[C,K]=e.useState(null),I=!!x&&void 0===s,S=I?C:r,M=I?K:s,R=e.useMemo(()=>S?new Set([S]):new Set,[S]),[E,z]=Ce(),[D,P]=Ce(),N=w?P:z,H=Ke(Ee),W=e.useMemo(()=>function(e,t,l=!1){if(null===t)return e;if(l){let l=0;return e.map(e=>{const n="wrap"===e.text?Math.min(e.minWidth,Math.max(0,t-l)):e.minWidth;return l+=n,n===e.minWidth?e:{...e,minWidth:n}})}const n=new Set(e.map(e=>e.id));let i=e.reduce((e,t)=>e+t.minWidth,0);for(const o of[...e].filter(e=>e.drop).sort((e,t)=>e.drop-t.drop)){if(i<=t)break;n.delete(o.id),i-=o.minWidth}return n.size===e.length?e:e.filter(e=>n.has(e.id))}(l,N,H),[l,H,N]),T=e.useMemo(()=>w?i.flatMap(e=>xl(e)?w.collapsed(e.group)?[e]:[e,...e.children]:[e]):i,[i,w]),A=e.useMemo(()=>w?i.filter(xl):[],[i,w]),F=e.useMemo(()=>w?A.map(e=>e.id):void 0,[A,w]),V=e.useMemo(()=>w?A.filter(e=>!w.collapsed(e.group)).map(e=>e.id):void 0,[A,w]),B=W.some(e=>"wrap"===e.text),L=function(t,l,n,i){const[o,r]=e.useState(!i&&!!n&&!l);i||o||!n||l||r(!0);const s=2+bl.headingHeight+(l||2)*bl.rowHeight;return o?t:Math.min(t,s)}(b?1/0:o,T.length,h,m||b),[j,O]=e.useState(b||f||T.length>=40);!j&&T.length>=40&&O(!0);const $=d&&S?T.findIndex(e=>e.id===S):-1,U=e.useRef(null),_=e.useRef(null);e.useLayoutEffect(()=>{if(!H)return;const e=_.current,t=j||w?U.current:E.current;if(!e||!t)return;const l="rtl"===getComputedStyle(t).direction,n=()=>{const n=Math.abs(t.scrollLeft),i=n>1,o=n{i.disconnect(),t.removeEventListener("scroll",n)}},[H,j,w,W,E]);const q=e.useRef(null),[X,Y]=e.useState(null),[G]=e.useState(()=>new pl);ml(d?S??null:null,$,j?U:E,b,B?e=>{if(j)return G.getLayoutInfo(e)?.rect??null;const t=E.current,l=Array.from(t?.querySelectorAll('[role="row"][data-key]')??[]).find(t=>t.dataset.key===e);if(!t||!l)return null;const n=l.getBoundingClientRect();return{y:n.top-t.getBoundingClientRect().top+t.scrollTop,height:n.height}}:void 0),function(t,l,n,i,o,r,s){e.useEffect(()=>{const e=i.current;if(!t||!e)return;const l=()=>{const t=gl(e)-r,l=Math.max(0,Math.min(t-e.getBoundingClientRect().top,e.clientHeight-r));e.style.setProperty("--rp-flow-heading",`${l}px`);const n=o.current,i=Number.parseFloat(getComputedStyle(e).scrollPaddingBottom)||0,s=n?.childElementCount?window.innerHeight-n.getBoundingClientRect().top:0;e.style.setProperty("--rp-flow-bottom",`${Math.max(i,s)}px`)};let n=0;const s=()=>{cancelAnimationFrame(n),n=requestAnimationFrame(()=>{n=requestAnimationFrame(()=>{const t=document.activeElement?.closest("[role=row][data-key]");if(!t||!e.contains(t))return;const l=t.getBoundingClientRect(),n=e.getBoundingClientRect().top;fl(e,l.top-n,l.bottom-n)})})};l(),e.addEventListener("focusin",s),window.addEventListener("scroll",l,{passive:!0}),window.addEventListener("resize",l);const a=new ResizeObserver(()=>{l(),s()});return a.observe(e),o.current&&a.observe(o.current),()=>{cancelAnimationFrame(n),e.removeEventListener("focusin",s),window.removeEventListener("scroll",l),window.removeEventListener("resize",l),a.disconnect(),e.style.removeProperty("--rp-flow-heading"),e.style.removeProperty("--rp-flow-bottom")}},[t,i,o,r]);const a=e.useRef(n);e.useLayoutEffect(()=>{const e=a.current;a.current=n;const o=i.current;if(!(t&&l&&o&&e!==n&&e.length&&e[0]?.id!==n[0]?.id))return;if(!n.some(t=>t.id===e[0].id))return;const d=o.getBoundingClientRect().top,c=gl(o);if(d>=c-r)return;const u=Math.min(e.length-1,Math.max(0,Math.floor((c-d-r)/s))),h=n.findIndex(t=>t.id===e[u].id);h>=0&&h!==u&&window.scrollBy(0,(h-u)*s)},[t,l,n,i,r,s])}(b,f,T,U,q,bl.headingHeight,bl.rowHeight),e.useEffect(()=>{x&&S&&!T.some(e=>e.id===S)&&(document.activeElement===document.body&&U.current?.focus({preventScroll:!0}),M?.(null))},[x,S,T,M]),e.useEffect(()=>{const e=U.current;if(!X||!e)return;const t=T.findIndex(e=>e.id===X),l=()=>{const t=e.querySelector(`[data-key="${CSS.escape(X)}"]`);t&&(t.focus({preventScroll:!0}),Y(null))},n=new MutationObserver(l);n.observe(e,{childList:!0,subtree:!0});const i=requestAnimationFrame(()=>{if(t<0)return e.focus({preventScroll:!0}),void Y(null);const n=bl.headingHeight+t*bl.rowHeight;fl(e,n,n+bl.rowHeight),l()});return()=>{cancelAnimationFrame(i),n.disconnect()}},[X,T]),function(t){e.useEffect(()=>{const e=t.current;if(!e)return;let l=null;const n=t=>{const n=t.relatedTarget;l=n&&!e.contains(n)&&n.closest('[role="dialog"], [role="alertdialog"], [role="menu"]')?t.target:null},i=t=>{const n=l;l=null;const i=t.relatedTarget,o=t.target;!n?.isConnected||o===n||i&&e.contains(i)||n.closest('[role="row"]')===o.closest('[role="row"]')&&n.focus({preventScroll:!0})},o=()=>{l=null};return e.addEventListener("focusout",n),e.addEventListener("focusin",i),e.addEventListener("pointerdown",o,!0),()=>{e.removeEventListener("focusout",n),e.removeEventListener("focusin",i),e.removeEventListener("pointerdown",o,!0)}},[t])}(E);const J=e=>n.jsx(nl,{id:e.id,textValue:g?.(e),"data-highlighted":e.id===c||void 0,children:W.map(t=>{return n.jsx(rl,{className:Pe(t.actions&&"rp-cell-actions","wrap"===t.text&&"rp-cell-wrap"),children:"wrap"===t.text?t.render(e):(l=t.render(e),w?n.jsx("span",{className:"cell",children:kl(l)}):kl(l))},t.id);var l})},e.id),Q=n.jsxs(Wt,{style:w||j?void 0:{minWidth:W.reduce((e,t)=>e+t.minWidth,0)},ref:e=>{U.current=e,w&&(D.current=e)},"aria-label":t,"aria-rowcount":j?T.length+1:void 0,expandedKeys:V,onExpandedChange:e=>{if(w)for(const t of A)e.has(t.id)===w.collapsed(t.group)&&w.onToggle(t.group)},disabledKeys:F,disabledBehavior:"selection",treeColumn:w?.grouped?W[0]?.id:void 0,selectionMode:M?"single":"none",selectionBehavior:a?"replace":"toggle",selectedKeys:R,onSelectionChange:e=>{const t=function(e){return"all"!==e&&e.size?String([...e][0]):null}(e);(null!==t||x)&&M?.(t)},disallowEmptySelection:!!M&&!x,sortDescriptor:y?{column:y.column,direction:y.direction}:void 0,onSortChange:e=>p&&e.direction&&p({column:String(e.column),direction:e.direction}),children:[n.jsx(vl,{cols:W,firstVisibleHeader:!!w,resizable:i.length>0}),n.jsx(Qt,{items:i,dependencies:[W,g,c],renderEmptyState:()=>n.jsx("div",{className:"rp-table-empty",style:{width:N??"100%"},children:h?n.jsx(Ie,{}):n.jsx(Se,{children:u??k("ui.empty")})}),children:e=>w&&xl(e)?(e=>{const t=W.findIndex((t,l)=>l>0&&null!=e.totals[t.id]),l=t<0?W.length:t;return n.jsxs(nl,{id:e.id,textValue:e.label,children:[W.filter((e,t)=>0===t||t>=l).map((t,i)=>n.jsxs(rl,{colSpan:0===i?l:void 0,children:[0===i&&n.jsx(Me,{slot:"chevron",className:Pe(Re({quiet:!0,icon:!0,small:!0}),"rp-expand"),children:n.jsx(De,{})}),n.jsx("span",{className:"cell",children:0===i?n.jsx("strong",{children:e.label}):kl(e.totals[t.id])})]},t.id)),e.children.map(J)]},e.id)})(e):J(e)})]}),Z=n.jsx(Dt,{ref:e=>{E.current=e},className:"rp-table","data-flow":b||void 0,"data-row-detail":v||x?"":void 0,"data-multiline":B||void 0,style:!B||j||b?{height:L}:{height:"auto",maxHeight:o},render:w||b?e=>n.jsx("div",{...e,onKeyDownCapture:e=>{if(!["Home","End","PageUp","PageDown","ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(e.key))return;const t=e.target.closest('[role="row"][data-key]');t&&(b&&!e.target.closest('input, textarea, select, [contenteditable="true"]')&&e.preventDefault(),"Home"!==e.key&&"End"!==e.key||e.target!==t&&(e.preventDefault(),e.stopPropagation(),t.focus({preventScroll:!0}),t.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent))))}}):void 0,children:j?n.jsx(Je,{layout:G,layoutOptions:B?{estimatedRowHeight:bl.rowHeight,headingHeight:bl.headingHeight}:bl,children:Q}):Q}),ee=H?n.jsx("div",{ref:_,className:"rp-table-scroll",children:Z}):Z;if(!x)return ee;const te=S?T.find(e=>e.id===S&&!xl(e)):void 0;return n.jsxs(n.Fragment,{children:[ee,n.jsx("div",{ref:q,className:"rp-table-detail","data-flow":b||void 0,"aria-live":"polite",children:te&&n.jsxs(n.Fragment,{children:[b&&n.jsx(Me,{className:Re({quiet:!0,small:!0}),"aria-label":k("ui.close"),onPress:()=>{U.current?.focus({preventScroll:!0}),Y(S??null),M?.(null)},children:k("ui.close")}),x(te)]})})]})}export{Cl as D,wl as c,bl as t};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/Tabs-CD2lZase.js b/luci-app-honk/root/etc/honk/doona/assets/Tabs-CD2lZase.js
new file mode 100644
index 000000000..53fffd982
--- /dev/null
+++ b/luci-app-honk/root/etc/honk/doona/assets/Tabs-CD2lZase.js
@@ -0,0 +1 @@
+import{r as e,$ as t,j as s}from"./vendor-react-64fcanlc.js";import{dS as i,dQ as l,fP as a,eq as o,cu as n,fQ as r,bf as d,fR as c,ct as u,ey as b,e1 as f,e2 as h,e4 as p,cB as y,e6 as g,e8 as v,e9 as m,eg as K,d$ as S,e0 as x,fS as P,fT as D,e5 as C,eA as E,el as w,fU as F,fV as M,ea as N,fW as j,eo as k,ed as I,fX as R,dx as L,fY as V,fZ as T}from"./index-BgFj_VXE.js";import{a as H}from"./useGridSelectionCheckbox-BxnCShqN.js";import{f as z}from"./Select-CkiGmyVC.js";import{T as A}from"./Toolbar-CIBfeuEz.js";const B=new WeakMap;function O(e,t,s){if(!e)return"";return"string"==typeof t&&(t=t.replace(/\s+/g,"")),`${B.get(e)}-${s}-${t}`}class ${constructor(e,t,s,i=new Set){this.collection=e,this.flipDirection="rtl"===t,this.disabledKeys=i,this.tabDirection="horizontal"===s}getKeyLeftOf(e){return this.flipDirection?this.getNextKey(e):this.getPreviousKey(e)}getKeyRightOf(e){return this.flipDirection?this.getPreviousKey(e):this.getNextKey(e)}isDisabled(e){return this.disabledKeys.has(e)||!!this.collection.getItem(e)?.props?.isDisabled}getFirstKey(){let e=this.collection.getFirstKey();return null!=e&&this.isDisabled(e)&&(e=this.getNextKey(e)),e}getLastKey(){let e=this.collection.getLastKey();return null!=e&&this.isDisabled(e)&&(e=this.getPreviousKey(e)),e}getKeyAbove(e){return this.tabDirection?null:this.getPreviousKey(e)}getKeyBelow(e){return this.tabDirection?null:this.getNextKey(e)}getNextKey(e){let t=e;do{t=this.collection.getKeyAfter(t),null==t&&(t=this.collection.getFirstKey())}while(null!=t&&this.isDisabled(t)&&t!==e);return t}getPreviousKey(e){let t=e;do{t=this.collection.getKeyBefore(t),null==t&&(t=this.collection.getLastKey())}while(null!=t&&this.isDisabled(t)&&t!==e);return t}}function W(t){let s=function(t){let[s,i]=b(t.selectedKey,t.defaultSelectedKey??null,t.onSelectionChange),l=e.useMemo(()=>null!=s?[s]:[],[s]),{collection:a,disabledKeys:o,selectionManager:n}=z({...t,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:l,onSelectionChange:e=>{if("all"===e)return;let l=e.values().next().value??null;l===s&&t.onSelectionChange&&t.onSelectionChange(l),i(l)}}),r=null!=s?a.getItem(s):null;return{collection:a,disabledKeys:o,selectionManager:n,selectedKey:s,setSelectedKey:i,selectedItem:r}}({...t,onSelectionChange:t.onSelectionChange?e=>{null!=e&&t.onSelectionChange?.(e)}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:t.defaultSelectedKey??U(t.collection,t.disabledKeys?new Set(t.disabledKeys):new Set)??void 0}),{selectionManager:i,collection:l,selectedKey:a}=s,o=e.useRef(a);return e.useEffect(()=>{let e=a;null!=t.selectedKey||!i.isEmpty&&null!=e&&l.getItem(e)||(e=U(l,s.disabledKeys),null!=e&&i.setSelectedKeys([e])),(null!=e&&null==i.focusedKey||!i.isFocused&&e!==o.current)&&i.setFocusedKey(e),o.current=e}),{...s,isDisabled:t.isDisabled||!1}}function U(e,t){let s=null;if(e){for(s=e.getFirstKey();null!=s&&(t.has(s)||e.getItem(s)?.props?.isDisabled)&&s!==e.getLastKey();)s=e.getKeyAfter(s);null!=s&&(t.has(s)||e.getItem(s)?.props?.isDisabled)&&s===e.getLastKey()&&(s=e.getFirstKey())}return s}const Q=e.createContext(null),q=e.createContext(null),G=e.forwardRef(function(s,i){[s,i]=S(s,i,Q);let{children:l,orientation:a="horizontal"}=s;return l=e.useMemo(()=>"function"==typeof l?l({orientation:a,defaultChildren:null}):l,[l,a]),t.createElement(x,{content:l},e=>t.createElement(X,{props:s,collection:e,tabsRef:i}))});function X({props:s,tabsRef:i,collection:a}){let{orientation:o="horizontal"}=s,r=W({...s,collection:a,children:void 0}),{focusProps:d,isFocused:c,isFocusVisible:u}=y({within:!0}),b=e.useMemo(()=>({orientation:o,isFocusWithin:c,isFocusVisible:u}),[o,c,u]),f=v({...s,defaultClassName:"react-aria-Tabs",values:b}),h=l(s,{global:!0});return t.createElement(m.div,{...n(h,f,d),ref:i,slot:s.slot||void 0,"data-focused":c||void 0,"data-orientation":o,"data-focus-visible":u||void 0,"data-disabled":r.isDisabled||void 0},t.createElement(N,{values:[[Q,s],[q,r]]},f.children))}const Y=e.forwardRef(function(s,i){return e.useContext(q)?t.createElement(Z,{props:s,forwardedRef:i}):t.createElement(f,s)});function Z({props:s,forwardedRef:i}){let a=e.useContext(q),{CollectionRoot:o}=e.useContext(C),{orientation:b="horizontal",keyboardActivation:f="automatic"}=E(Q),h=p(i),{tabListProps:y}=function(t,s,i){let{orientation:l="horizontal",keyboardActivation:a="automatic"}=t,{collection:o,selectionManager:b,disabledKeys:f}=s,{direction:h}=d(),p=e.useMemo(()=>new $(o,h,l,f),[o,f,l,h]),{collectionProps:y}=c({ref:i,selectionManager:b,keyboardDelegate:p,selectOnFocus:"automatic"===a,disallowEmptySelection:!0,scrollRef:i,linkBehavior:"selection"}),g=u();B.set(s,g);let v=r({...t,id:g});return{tabListProps:{...n(y,v),role:"tablist","aria-orientation":l,tabIndex:void 0}}}({...s,orientation:b,keyboardActivation:f},a,h),g=v({...s,children:null,defaultClassName:"react-aria-TabList",values:{orientation:b,state:a}}),K=l(s,{global:!0});return delete K.id,t.createElement(m.div,{...n(K,g,y),ref:h,"data-orientation":b||void 0},t.createElement(w,null,t.createElement(o,{collection:a.collection,persistedKeys:F(a.selectionManager.focusedKey)})))}class J extends M{static{this.type="item"}}const _=h(J,(s,r,d)=>{let c=e.useContext(q),u=p(r),{tabProps:b,isSelected:f,isDisabled:h,isPressed:S}=function(e,t,s){let{key:r,isDisabled:d,shouldSelectOnPressUp:c}=e,{selectionManager:u,selectedKey:b}=t,f=r===b,h=d||t.isDisabled||t.selectionManager.isDisabled(r),p=t.collection.getItem(r),{itemProps:y,isPressed:g}=i({selectionManager:u,key:r,ref:s,isDisabled:h,shouldSelectOnPressUp:c??null!=p?.props.href,linkBehavior:"selection"}),v=O(t,r,"tab"),m=O(t,r,"tabpanel"),{tabIndex:K}=y,S=l(p?.props,{labelable:!0});delete S.id;let x=a(p?.props),{focusableProps:P}=o({...p?.props,isDisabled:h},s);return{tabProps:n(S,P,x,y,{id:v,"aria-selected":f,"aria-disabled":h||void 0,"aria-controls":f?m:void 0,tabIndex:h?void 0:K,role:"tab"}),isSelected:f,isDisabled:h,isPressed:g}}({key:d.key,...s},c,u),{focusProps:x,isFocused:P,isFocusVisible:D}=y(),{hoverProps:C,isHovered:E}=g({isDisabled:h,onHoverStart:s.onHoverStart,onHoverEnd:s.onHoverEnd,onHoverChange:s.onHoverChange}),w=v({...s,id:void 0,children:d.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:f,isDisabled:h,isFocused:P,isFocusVisible:D,isPressed:S,isHovered:E}}),F=d.props.href?m.a:m.div,M=l(s,{global:!0});return delete M.id,delete M.onClick,t.createElement(F,{...n(M,w,b,x,C),ref:u,"data-selected":f||void 0,"data-disabled":h||void 0,"data-focused":P||void 0,"data-focus-visible":D||void 0,"data-pressed":S||void 0,"data-hovered":E||void 0},t.createElement(K.Provider,{value:{isSelected:f}},w.children))}),ee=P(function(s,i){const l=e.useContext(q);let a=p(i),o=l.selectedKey===s.id,[n,r]=e.useState(null!=l.selectedKey?o:null);null==n&&null!=l.selectedKey?r(o):!o&&n&&r(!1);let d=D(a,o);return o||s.shouldForceMount||d?t.createElement(te,{...s,tabPanelRef:a,isInitiallySelected:n||!1,isExiting:d}):null});function te(s){let i=e.useContext(q),{id:a,tabPanelRef:o,isInitiallySelected:d,isExiting:c,...u}=s,{tabPanelProps:b}=function(e,t,s){let i=H(s)?void 0:0;const l=O(t,e.id??t?.selectedKey,"tabpanel"),a=r({...e,id:l,"aria-labelledby":O(t,t?.selectedKey,"tab")});return{tabPanelProps:n(a,{tabIndex:i,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}(s,i,o),{focusProps:f,isFocused:h,isFocusVisible:p}=y(),g=i.selectedKey===s.id,K=j(o)&&!d,S=v({...s,defaultClassName:"react-aria-TabPanel",values:{isFocused:h,isFocusVisible:p,isInert:k(!g),isEntering:K,isExiting:c,state:i}}),x=l(u,{global:!0});delete x.id;let P=g?n(x,b,f,S):n(x,S);return t.createElement(m.div,{...P,ref:o,"data-focused":h||void 0,"data-focus-visible":p||void 0,inert:k(!g||s.inert),"data-inert":g?void 0:"true","data-entering":K||void 0,"data-exiting":c||void 0},t.createElement(N,{values:[[Q,null],[q,null]]},t.createElement(C.Provider,{value:I},S.children)))}function se({label:t,items:i,value:l,onChange:a,keepMounted:o,actions:n,page:r}){const[d,c]=R(l,"[data-selected]"),u=L(),b=r?"L":u;V(d,l);const f=e.useDeferredValue(l),[h,p]=e.useState(()=>new Set([l])),y=o?h:new Set([f]);o&&!h.has(f)&&p(new Set([...h,f]));const g=y.has(l)?l:f,v=s.jsxs("div",{className:"rp-tabbar",ref:d,"data-size":b,"data-page-tabrow":r||void 0,children:[c&&s.jsx("span",{className:"rp-slider","data-still":c.still||void 0,style:{left:c.x,width:c.w}}),s.jsx(Y,{"aria-label":t,className:"rp-tablist",children:i.map(e=>s.jsx(_,{id:e.id,className:"rp-tab","data-size":b,children:e.label},e.id))})]});return s.jsxs(G,{className:"rp-tabs",selectedKey:l,onSelectionChange:e=>a(String(e)),children:[void 0===n?v:s.jsxs(A,{page:r,className:"rp-tabhead",children:[v,n]}),i.filter(e=>y.has(e.id)||e.id===f).map(e=>s.jsx(ee,{id:e.id,shouldForceMount:!0,className:"rp-tabpanel","data-shown":e.id===g||void 0,children:s.jsx(T.Provider,{value:e.id===g,children:e.content})},e.id))]})}export{se as T};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/Tag-PTwIjtR6.js b/luci-app-honk/root/etc/honk/doona/assets/Tag-PTwIjtR6.js
new file mode 100644
index 000000000..33512a795
--- /dev/null
+++ b/luci-app-honk/root/etc/honk/doona/assets/Tag-PTwIjtR6.js
@@ -0,0 +1 @@
+import{r as e,j as n,a as t}from"./vendor-react-64fcanlc.js";import{V as r,aB as l,G as s,fj as a,cw as c,fk as o,bJ as u}from"./index-BgFj_VXE.js";function i({children:e,tone:t,action:r}){return n.jsxs("span",{className:u("rp-tag",t),children:[n.jsx("span",{className:"rp-tag-label",children:e}),r]})}function g({label:e,children:t}){return n.jsx("div",{className:"rp-tags",role:"group","aria-label":e,children:t})}function h({href:e,children:t}){return n.jsx(s,{href:e,className:"rp-tag rp-tag-link",children:n.jsx("span",{className:"rp-tag-label",children:t})})}function f(e,n,t,r){const l=e=>e<=t+.01,s=e.reduce((e,n)=>[...e,e[e.length-1]+n+r],[0]);if(l(s[e.length]-r))return e.length;let a=e.length-1;for(;a>0&&!l(s[a]+n(e.length-a));)a--;return a}function d({count:t,label:r,names:l}){const[s,u]=e.useState(!1);return n.jsxs(a,{delay:400,isOpen:s,onOpenChange:u,shouldCloseOnPress:!1,children:[n.jsx(c,{className:"rp-tag rp-tag-more","aria-label":r,onPress:e=>u(n=>"touch"!==e.pointerType||!n),children:n.jsxs("span",{className:"rp-tag-label",children:["+",t]})}),n.jsx(o,{children:l})]})}const p=e=>n=>e.more[String(n).length-1],m=new Map;let b=null;function j(e){const n=e.filter(e=>null!==e);n.length&&t.flushSync(()=>n.forEach(e=>e()))}function x({label:t,items:s,more:a}){const c=r(),o=e.useRef(null),u=e.useRef(null),i=e.useRef(new Set),g=`${c}\n${s.map(e=>e.label).join("\n")}`,[x,y]=e.useState({key:g,count:null}),w=x.key===g?x.count:null;e.useLayoutEffect(()=>{const e=o.current;if(null!==w||!e?.getClientRects().length)return;const n=[...e.children].map(e=>e.getBoundingClientRect().width),t={key:g,tags:n.slice(0,s.length),more:n.slice(s.length),gap:Number.parseFloat(getComputedStyle(e).columnGap)||0};u.current=t,y({key:g,count:f(t.tags,p(t),e.getBoundingClientRect().width,t.gap)})},[x,g,w,s.length]),e.useLayoutEffect(()=>{const e=o.current;if(!e)return;const n=()=>y({key:g,count:null});m.set(e,{remeasure:n,read:()=>{const t=u.current;if(!e.getClientRects().length)return null;const r=[...e.children].filter(e=>!e.classList.contains("rp-tag-more"));if(t?.key!==g||r.some((e,n)=>Math.abs(e.getBoundingClientRect().width-t.tags[n])>.5))return n;const l=f(t.tags,p(t),e.getBoundingClientRect().width,t.gap);return l===w?null:()=>y({key:g,count:l})}});const t=(b||(b=new ResizeObserver(e=>{j([...new Set(e.map(e=>e.target.closest(".rp-tags[data-fit]")))].map(e=>(e&&m.get(e)?.read())??null))}),document.fonts?.addEventListener("loadingdone",()=>j([...m.values()].map(e=>e.remeasure)))),b),r=new Set([e,...e.children]);for(const l of i.current)r.has(l)||t.unobserve(l);for(const l of r)i.current.has(l)||t.observe(l);i.current=r}),e.useLayoutEffect(()=>{const e=o.current,n=i;return()=>{e&&m.delete(e);for(const e of n.current)b?.unobserve(e);n.current=new Set}},[]);const R=l(c,s.map(e=>e.label)),S=null===w?0:s.length-w,k=null===w&&s.length?Array.from({length:String(s.length).length},(e,n)=>10**(n+1)-1):[];return n.jsxs("div",{ref:o,className:"rp-tags",role:"group","aria-label":t,"data-fit":"",children:[s.slice(0,w??s.length).map(e=>n.jsx(h,{href:e.href,children:e.label},e.id)),k.map(e=>n.jsx(d,{count:e,label:a(e),names:R},e)),S>0&&n.jsx(d,{count:S,label:a(S),names:R})]})}export{x as F,h as L,g as T,i as a};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/TimeCell-B4WLB8Ou.js b/luci-app-honk/root/etc/honk/doona/assets/TimeCell-B4WLB8Ou.js
new file mode 100644
index 000000000..3ca8cb2cc
--- /dev/null
+++ b/luci-app-honk/root/etc/honk/doona/assets/TimeCell-B4WLB8Ou.js
@@ -0,0 +1 @@
+import{j as r}from"./vendor-react-64fcanlc.js";import{r as s,l as a}from"./format-s2EANuUb.js";import{aC as o,V as t,gb as e,T as i}from"./index-BgFj_VXE.js";function m({at:m}){const n=o[t()],f=e();return r.jsx(i,{text:m?a(m,n):void 0,children:s(m,n,f)})}export{m as T};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/TimeCell-COfj2dEh.js b/luci-app-honk/root/etc/honk/doona/assets/TimeCell-COfj2dEh.js
deleted file mode 100644
index 638173a5c..000000000
--- a/luci-app-honk/root/etc/honk/doona/assets/TimeCell-COfj2dEh.js
+++ /dev/null
@@ -1 +0,0 @@
-import{j as s}from"./vendor-react-Bf71BWbF.js";import{a6 as t,a as r,eO as i,aL as l,eN as n,aw as m}from"./index-BOpK0UVB.js";function p({at:e}){const o=t[r()],a=i();return s.jsx(l,{text:e?m(e,o):void 0,children:n(e,o,a)})}export{p as T};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/Toolbar-CIBfeuEz.js b/luci-app-honk/root/etc/honk/doona/assets/Toolbar-CIBfeuEz.js
new file mode 100644
index 000000000..0e344ff06
--- /dev/null
+++ b/luci-app-honk/root/etc/honk/doona/assets/Toolbar-CIBfeuEz.js
@@ -0,0 +1 @@
+import{j as a}from"./vendor-react-64fcanlc.js";import{bJ as r,W as e}from"./index-BgFj_VXE.js";function o({page:o,className:s,children:t,...i}){const n=a.jsx("div",{...i,className:r("rp-toolbar",s),"data-page-toolbar":o||void 0,children:t});return o?a.jsx(e,{value:"L",children:n}):n}export{o as T};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/TwemojiCountryFlags-Bymva2JV.woff2 b/luci-app-honk/root/etc/honk/doona/assets/TwemojiCountryFlags-Bymva2JV.woff2
new file mode 100644
index 000000000..b9d6ea84b
Binary files /dev/null and b/luci-app-honk/root/etc/honk/doona/assets/TwemojiCountryFlags-Bymva2JV.woff2 differ
diff --git a/luci-app-honk/root/etc/honk/doona/assets/Virtualizer-BIsXGNLZ.js b/luci-app-honk/root/etc/honk/doona/assets/Virtualizer-BIsXGNLZ.js
deleted file mode 100644
index 69a1497c5..000000000
--- a/luci-app-honk/root/etc/honk/doona/assets/Virtualizer-BIsXGNLZ.js
+++ /dev/null
@@ -1 +0,0 @@
-import{bY as H,c8 as te,ca as ie,fz as ne,fA as le,c3 as se,eZ as F,fq as _,fs as re,fB as oe,cj as ae,fC as he}from"./index-BOpK0UVB.js";import{r as f,$ as z,a as M}from"./vendor-react-Bf71BWbF.js";class x{constructor(e=0,t=0){this.x=e,this.y=t}copy(){return new x(this.x,this.y)}equals(e){return this.x===e.x&&this.y===e.y}isOrigin(){return this.x===0&&this.y===0}}class y{constructor(e=0,t=0,i=0,n=0){this.x=e,this.y=t,this.width=i,this.height=n}get maxX(){return this.x+this.width}get maxY(){return this.y+this.height}get area(){return this.width*this.height}get topLeft(){return new x(this.x,this.y)}get topRight(){return new x(this.maxX,this.y)}get bottomLeft(){return new x(this.x,this.maxY)}get bottomRight(){return new x(this.maxX,this.maxY)}intersects(e){return this.area>0&&e.area>0&&this.x<=e.x+e.width&&e.x<=this.x+this.width&&this.y<=e.y+e.height&&e.y<=this.y+this.height}containsRect(e){return this.x<=e.x&&this.y<=e.y&&this.maxX>=e.maxX&&this.maxY>=e.maxY}containsPoint(e){return this.x<=e.x&&this.y<=e.y&&this.maxX>=e.x&&this.maxY>=e.y}getCornerInRect(e){for(let t of["topLeft","topRight","bottomLeft","bottomRight"])if(e.containsPoint(this[t]))return t;return null}equals(e){return e.x===this.x&&e.y===this.y&&e.width===this.width&&e.height===this.height}pointEquals(e){return this.x===e.x&&this.y===e.y}sizeEquals(e){return this.width===e.width&&this.height===e.height}union(e){let t=Math.min(this.x,e.x),i=Math.min(this.y,e.y),n=Math.max(this.maxX,e.maxX)-t,s=Math.max(this.maxY,e.maxY)-i;return new y(t,i,n,s)}intersection(e){if(!this.intersects(e))return new y(0,0,0,0);let t=Math.max(this.x,e.x),i=Math.max(this.y,e.y);return new y(t,i,Math.min(this.maxX,e.maxX)-t,Math.min(this.maxY,e.maxY)-i)}copy(){return new y(this.x,this.y,this.width,this.height)}}class b{constructor(e=0,t=0){this.width=Math.max(e,0),this.height=Math.max(t,0)}copy(){return new b(this.width,this.height)}equals(e){return this.width===e.width&&this.height===e.height}get area(){return this.width*this.height}}let ce=0;class B{constructor(e,t){this.virtualizer=e,this.key=++ce,this.viewType=t,this.children=new Set,this.reusableViews=new Map,this.layoutInfo=null,this.content=null,this.rendered=null}prepareForReuse(){this.content=null,this.rendered=null,this.layoutInfo=null}getReusableView(e){let t=this.reusableViews.get(e);return t&&t.length>0?t.shift():new de(this.virtualizer,this,e)}reuseChild(e){e.prepareForReuse();let t=this.reusableViews.get(e.viewType);t||(t=[],this.reusableViews.set(e.viewType,t)),t.push(e)}}class ue extends B{constructor(e){super(e,"root")}}class de extends B{constructor(e,t,i){super(e,i),this.parent=t}}function fe(l,e){if(l===e)return!0;if(l.size!==e.size)return!1;for(let t of l)if(!e.has(t))return!1;return!0}class ye{setVisibleRect(e){let t=performance.now()-this.startTime;t<500&&(e.x!==this.visibleRect.x&&t>0&&(this.velocity.x=(e.x-this.visibleRect.x)/t),e.y!==this.visibleRect.y&&t>0&&(this.velocity.y=(e.y-this.visibleRect.y)/t)),this.startTime=performance.now(),this.visibleRect=e}getOverscannedRect(){let e=this.visibleRect.copy(),t=this.visibleRect.height/3;e.height+=t,this.velocity.y<0&&(e.y-=t);let i=this.visibleRect.width/3;return e.width+=i,this.velocity.x<0&&(e.x-=i),e}constructor(){this.startTime=0,this.velocity=new x(0,0),this.visibleRect=new y}}const we=4;function T(l){return l==="x"?"width":"height"}function ge(l,e,t,i,n){let s=t(l.key);if(!s)return null;let a=s.rect[l.corner][e]-i[e]-l.offset;if(a===0)return null;let h=i[e]+a,r=T(e),d=Math.max(0,n[r]-i[r]),u=Math.max(0,Math.min(d,h));return u!==i[e]?u:null}function ve(l,e,t,i,n=()=>!0){let s=T(e),a=null;for(let[h,r]of i){if(!r||!n(r))continue;let d=r.rect.intersection(t)[s];if(r.rect.area>0&&d>=we){let u=r.rect.getCornerInRect(t)??"topLeft",c=r.rect[u][e]-t[e];(!a||(l==="end"?ca.offset))&&(a={key:h,corner:u,offset:c})}}return a}function be(l,e,t,i){if(l==="start")return 0;let n=T(e);return Math.max(0,t[n]-i[n])}function X(l,e,t,i,n){if(t==="start")return l[i]<=n;let s=T(i);return e[s]-(l[i]+l[s])<=n}function pe(l,e,t,i,n,s,a,h,r,d){let u=c=>e==="x"?new y(c,r.y,r.width,r.height):new y(r.x,c,r.width,r.height);if(t){let c=ge(t,e,h,r,d);if(c!=null)return u(c)}if(i&&!n&&(!s||a>0)){let c=u(be(l,e,d,r));return c.equals(r)?null:c}return null}class me{reset(){this.hasSnappedToEdge=!1,this.hadEstimatedVisibleItems=!1,this.wasNearAnchorEdge=!1}captureBeforeLayout(e,t,i){return e?ve(e.edge,e.axis,i,t,e.isAnchorable):null}resolveAfterLayout(e){let{anchorInfo:t,anchor:i,postLayoutInfos:n,previousVisibleRect:s,previousContentSize:a,contentSize:h,itemSizeChanged:r,isScrolling:d,getLayoutInfo:u}=e;if(!t)return null;let c=this.hadEstimatedVisibleItems,o=this.wasNearAnchorEdge,m=!1;for(let V of n.values())if(V.estimatedSize){m=!0;break}if(this.hadEstimatedVisibleItems=m,c||(this.wasNearAnchorEdge=X(s,a,t.edge,t.axis,t.threshold)),s.area===0)return null;let w=t.axis==="x"?"width":"height",S=h[w]-a[w],$=!this.hasSnappedToEdge;if(this.hasSnappedToEdge=!0,!($||S!==0||r))return null;let C=$||c&&o||X(s,a,t.edge,t.axis,t.threshold);c||(this.wasNearAnchorEdge=C);let R=$||c&&o?null:i;return pe(t.edge,t.axis,R,C,d,r,S,u,s,h)}constructor(){this.hasSnappedToEdge=!1,this.hadEstimatedVisibleItems=!1,this.wasNearAnchorEdge=!1}}class xe{constructor(e){this.delegate=e.delegate,this.collection=e.collection,this.layout=e.layout,this.contentSize=new b,this.visibleRect=new y,this.size=new b,this.persistedKeys=new Set,this._visibleViews=new Map,this._renderedContent=new WeakMap,this._rootView=new ue(this),this._isScrolling=!1,this._invalidationContext={},this._overscanManager=new ye,this._scrollAnchor=new me}isPersistedKey(e){if(this.persistedKeys.has(e))return!0;for(let t of this.persistedKeys)for(;t!=null;){let i=this.layout.getLayoutInfo(t);if(!i||i.parentKey==null)break;if(t=i.parentKey,t===e)return!0}return!1}getParentView(e){return e.parentKey!=null?this._visibleViews.get(e.parentKey):this._rootView}getReusableView(e){let i=this.getParentView(e).getReusableView(e.type);return i.layoutInfo=e,this._renderView(i),i}_renderView(e){if(e.layoutInfo){let{type:t,key:i,content:n}=e.layoutInfo;e.content=n||this.collection.getItem(i),e.rendered=this._renderContent(t,e.content)}}_renderContent(e,t){let i=t!=null?this._renderedContent.get(t):null;if(i!=null)return i;let n=this.delegate.renderView(e,t);return t&&this._renderedContent.set(t,n),n}keyAtPoint(e){let t=new y(e.x,e.y,1,1),i=t.area===0?[]:this.layout.getVisibleLayoutInfos(t);for(let n of i)if(n.rect.intersects(t))return n.key;return null}relayout(e={}){let t=this.layout.UNSTABLE_getScrollAnchorInfo?.(e.layoutOptions)??null,i=null;if(t){let c=[];for(let[o,m]of this._visibleViews){let w=this.layout.getLayoutInfo(o)??m.layoutInfo;w&&c.push([o,w])}i=this._scrollAnchor.captureBeforeLayout(t,c,this.visibleRect)}let n=this.contentSize,s=this.visibleRect;this.layout.update(e);let a=this.layout.getContentSize();this.contentSize=new b(a.width,a.height);let h=this._scrollAnchor.resolveAfterLayout({anchorInfo:t,anchor:i,postLayoutInfos:t?this.getVisibleLayoutInfos():new Map,previousVisibleRect:s,previousContentSize:n,contentSize:this.contentSize,itemSizeChanged:e.itemSizeChanged??!1,isScrolling:this._isScrolling,getLayoutInfo:c=>this.layout.getLayoutInfo(c)});if(h){this.delegate.setVisibleRect(h);return}let r=this.visibleRect,d=e.contentChanged?0:r.x,u=e.contentChanged?0:r.y;if(d=Math.max(0,Math.min(this.contentSize.width-r.width,d)),u=Math.max(0,Math.min(this.contentSize.height-r.height,u)),d!==r.x||u!==r.y){let c=new y(d,u,r.width,r.height);this.delegate.setVisibleRect(c)}else this.updateSubviews()}getVisibleLayoutInfos(){let e;e=this._overscanManager.getOverscannedRect();let t=this.layout.getVisibleLayoutInfos(e),i=new Map;for(let n of t)i.set(n.key,n);return i}updateSubviews(){let e=this.getVisibleLayoutInfos(),t=new Set;for(let[i,n]of this._visibleViews){let s=e.get(i);(!s||n.parent!==this.getParentView(s))&&(this._visibleViews.delete(i),n.parent.reuseChild(n),t.add(n))}for(let[i,n]of e){let s=this._visibleViews.get(i);if(!s)s=this.getReusableView(n),s.parent.children.add(s),this._visibleViews.set(i,s),t.delete(s);else{s.layoutInfo=n;let a=this.collection.getItem(n.key);s.content!==a&&(s.content!=null&&this._renderedContent.delete(s.content),this._renderView(s))}}for(let i of t)i.parent.children.delete(i),i.parent.reusableViews.clear();if(!this._isScrolling)for(let i of e.keys()){let n=this._visibleViews.get(i);n.parent.children.delete(n),n.parent.children.add(n)}}render(e){let t=this,i=!1,n=!1,s=!1,a=!1,h=!1,r=!1,d=!1,u=!1;if(e.collection!==this.collection&&(t.collection=e.collection,i=!0),(e.layout!==this.layout||this.layout.virtualizer!==this)&&(this.layout&&(this.layout.virtualizer=null),e.layout.virtualizer=this,t.layout=e.layout,this._scrollAnchor.reset(),i=!0),e.persistedKeys&&!fe(e.persistedKeys,this.persistedKeys)&&(t.persistedKeys=e.persistedKeys,u=!0),!this.visibleRect.equals(e.visibleRect)||!this.size.equals(e.size)){this._overscanManager.setVisibleRect(e.visibleRect);let c=new y(this.visibleRect.x,this.visibleRect.y,this.size.width,this.size.height),o=new y(e.visibleRect.x,e.visibleRect.y,e.size.width,e.size.height);this.layout.shouldInvalidate(o,c)?(n=!e.visibleRect.pointEquals(this.visibleRect),s=!this.size.equals(e.size),a=this.size.width!==e.size.width,h=this.size.height!==e.size.height,i=!0):u=!0,t.visibleRect=e.visibleRect,t.size=e.size}return e.invalidationContext!==this._invalidationContext&&(e.invalidationContext&&(s||=e.invalidationContext.sizeChanged||!1,a||=e.invalidationContext.widthChanged||!1,h||=e.invalidationContext.heightChanged||!1,n||=e.invalidationContext.offsetChanged||!1,r||=e.invalidationContext.itemSizeChanged||!1,d||=e.invalidationContext.layoutOptions!=null&&this._invalidationContext.layoutOptions!=null&&e.invalidationContext.layoutOptions!==this._invalidationContext.layoutOptions&&this.layout.shouldInvalidateLayoutOptions(e.invalidationContext.layoutOptions,this._invalidationContext.layoutOptions),i||=r||s||n||d),this._invalidationContext=e.invalidationContext),e.isScrolling!==this._isScrolling&&(this._isScrolling=e.isScrolling,e.isScrolling||(u=!0)),i?this.relayout({offsetChanged:n,sizeChanged:s,widthChanged:a,heightChanged:h,itemSizeChanged:r,layoutOptionsChanged:d,layoutOptions:this._invalidationContext.layoutOptions}):u&&this.updateSubviews(),Array.from(this._rootView.children)}getVisibleView(e){return this._visibleViews.get(e)}invalidate(e){this.delegate.invalidate(e)}updateItemSize(e,t){if(!this.layout.updateItemSize)return;this.layout.updateItemSize(e,t)&&this.invalidate({itemSizeChanged:!0})}}const ze=typeof document<"u"?z.useLayoutEffect:()=>{};function Se(l){let[e,t]=f.useState(new y(0,0,0,0)),[i,n]=f.useState(new b),[s,a]=f.useState(!1),[h,r]=f.useState({}),d=f.useRef(!1),[u]=f.useState(()=>new xe({collection:l.collection,layout:l.layout,delegate:{setVisibleRect(C){t(C),d.current=!0},renderView:l.renderView,invalidate:r}}));ze(()=>{d.current&&(d.current=!1,l.onVisibleRectChange(e))});let c=f.useMemo(()=>l.layoutOptions!=null?{...h,layoutOptions:l.layoutOptions}:h,[h,l.layoutOptions]),o=u.render({layout:l.layout,collection:l.collection,persistedKeys:l.persistedKeys,layoutOptions:l.layoutOptions,visibleRect:e,size:l.allowsWindowScrolling?i:e,invalidationContext:c,isScrolling:s}),m=u.contentSize,w=f.useCallback(()=>{a(!0)},[]),S=f.useCallback(()=>{a(!1)},[]);return f.useMemo(()=>({virtualizer:u,visibleViews:o,setVisibleRect:t,size:i,setSize:n,contentSize:m,isScrolling:s,startScrolling:w,endScrolling:S}),[u,o,t,i,n,m,s,w,S])}class Te{shouldInvalidate(e,t){return e.width!==t.width||e.height!==t.height}shouldInvalidateLayoutOptions(e,t){return e!==t}update(e){}getItemRect(e){return this.getLayoutInfo(e)?.rect??null}getVisibleRect(){return this.virtualizer.visibleRect}constructor(){this.virtualizer=null}}class j{constructor(e,t,i){this.type=e,this.key=t,this.parentKey=null,this.content=null,this.rect=i,this.estimatedSize=!1,this.isSticky=!1,this.opacity=1,this.transform=null,this.zIndex=0,this.allowOverflow=!1}copy(){let e=new j(this.type,this.key,this.rect.copy());return e.estimatedSize=this.estimatedSize,e.opacity=this.opacity,e.transform=this.transform,e.parentKey=this.parentKey,e.content=this.content,e.isSticky=this.isSticky,e.zIndex=this.zIndex,e.allowOverflow=this.allowOverflow,e}}let E=null;function $e(l=!1){if(E===null||l){const e=document.createElement("div"),t=e.style;t.width="50px",t.height="50px",t.overflow="scroll",t.direction="rtl";const i=document.createElement("div"),n=i.style;return n.width="100px",n.height="100px",e.appendChild(i),document.body.appendChild(e),e.scrollLeft>0?E="positive-descending":(e.scrollLeft=1,e.scrollLeft===0?E="negative":E="positive-ascending"),document.body.removeChild(e),E}return E}function Ce(l,e){let{scrollLeft:t}=l;if(e==="rtl"){let{scrollWidth:i,clientWidth:n}=l;switch($e()){case"negative":t=-t;break;case"positive-descending":t=i-n-t;break}}return t}function Ie(l,e){let{contentSize:t,onVisibleRectChange:i,onSizeChange:n,innerStyle:s,onScrollStart:a,onScrollEnd:h,scrollDirection:r="both",onScroll:d,allowsWindowScrolling:u,...c}=l,o=f.useRef({scrollPosition:new x,size:new b,viewportOffset:new x,viewportSize:new b,scrollEndTime:0,scrollTimeout:null,isScrolling:!1,lastVisibleRect:new y}).current,{direction:m}=H(),w=f.useCallback(()=>{let g=u?new y(o.viewportOffset.x+o.scrollPosition.x,o.viewportOffset.y+o.scrollPosition.y,Math.max(0,Math.min(o.size.width-o.viewportOffset.x,o.viewportSize.width)),Math.max(0,Math.min(o.size.height-o.viewportOffset.y,o.viewportSize.height))):new y(o.scrollPosition.x,o.scrollPosition.y,o.size.width,o.size.height);(g.area>0||o.lastVisibleRect.area>0)&&(i(g),o.lastVisibleRect=g)},[o,u,i]),[S,$]=f.useState(!1),C=f.useCallback(g=>{let v=te(g);if(ie(v,e.current)){if(d&&v===e.current&&d(g),v!==e.current){let p=e.current.getBoundingClientRect(),I=p.x<0?-p.x:0,k=p.y<0?-p.y:0;if(I===o.viewportOffset.x&&k===o.viewportOffset.y)return;o.viewportOffset=new x(I,k)}else{let p=v.scrollTop,I=Ce(v,m);o.scrollPosition=new x(Math.max(0,Math.min(I,t.width-o.size.width)),Math.max(0,Math.min(p,t.height-o.size.height)))}M.flushSync(()=>{w(),o.isScrolling||(o.isScrolling=!0,$(!0),window.dispatchEvent(new Event("tk.disconnect-observer")),a&&a());let p=Date.now();o.scrollEndTime<=p+50&&(o.scrollEndTime=p+300,o.scrollTimeout!=null&&clearTimeout(o.scrollTimeout),o.scrollTimeout=setTimeout(()=>{o.isScrolling=!1,$(!1),o.scrollTimeout=null,window.dispatchEvent(new Event("tk.connect-observer")),h&&h()},300))})}},[d,e,m,o,t,w,a,h]);f.useEffect(()=>ne(le(e.current,se(e.current)),"scroll",C,!0),[C,e]),f.useEffect(()=>()=>{o.scrollTimeout!=null&&clearTimeout(o.scrollTimeout),o.isScrolling&&window.dispatchEvent(new Event("tk.connect-observer"))},[]);let R=f.useRef(!1),V=f.useCallback(g=>{let v=e.current;if(!v||R.current)return;R.current=!0,Object.getOwnPropertyNames(window.HTMLElement.prototype).includes("clientWidth"),Object.getOwnPropertyNames(window.HTMLElement.prototype).includes("clientHeight");let p=v.clientWidth,I=v.clientHeight,k=p,N=I,W=window.innerWidth,K=window.innerHeight,Y=o.viewportSize.width!==W||o.viewportSize.height!==K;Y&&(o.viewportSize=new b(W,K)),(o.size.width!==k||o.size.height!==N||Y)&&(o.size=new b(k,N),g(()=>{w(),n?.(o.size)}),(p!==v.clientWidth||I!==v.clientHeight)&&(o.size=new b(v.clientWidth,v.clientHeight),g(()=>{w(),n?.(o.size)}))),R.current=!1},[e,o,w,n]),P=F(V);_(()=>{o.viewportSize=new b(window.innerWidth,window.innerHeight);let g=()=>{P(M.flushSync)};return window.addEventListener("resize",g),()=>window.removeEventListener("resize",g)},[o]);let L=f.useRef(null),[J,Q]=f.useState({});_(()=>{if(!R.current&&(L.current==null||!t.equals(L.current)))if(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u"){Q({}),L.current=t;return}else queueMicrotask(()=>P(M.flushSync));L.current=t}),_(()=>{P(g=>g())},[J]);let ee=f.useCallback(()=>{V(M.flushSync)},[V]);re({ref:e,box:"border-box",onResize:ee});let O={padding:0,...c.style};return r==="horizontal"?(O.overflowX="auto",O.overflowY="hidden"):r==="vertical"||t.width===o.size.width?(O.overflowY="auto",O.overflowX="hidden"):O.overflow="auto",s={width:Number.isFinite(t.width)?t.width:void 0,height:Number.isFinite(t.height)?t.height:void 0,pointerEvents:S?"none":"auto",position:"relative",...s},{isScrolling:S,scrollViewProps:{...c,style:O},contentProps:{role:"presentation",style:s}}}function Re(l){let{layoutInfo:e,virtualizer:t,ref:i,shouldObserveItemSize:n}=l,s=e?.key,a=f.useCallback(()=>{if(s!=null&&i.current){if(!oe(i.current))return;let r=Oe(i.current);t.updateItemSize(s,r)}},[t,s,i]),h=F(a);return _(()=>{e?.estimatedSize&&h()}),f.useEffect(()=>{if(!n)return;let r=i.current;if(!r||typeof ResizeObserver>"u")return;let d=new ResizeObserver(u=>{u.length&&h()});for(let u of r.children)d.observe(u);return()=>{d.disconnect()}},[n,i,s]),{updateSize:a}}function Oe(l){let e=l.style.height;l.style.height="";let t=new b(l.scrollWidth,l.scrollHeight);return l.style.height=e,t}function U(l){let{style:e,className:t,layoutInfo:i,virtualizer:n,parent:s,children:a,shouldObserveItemSize:h}=l,{direction:r}=H(),d=f.useRef(null);return Re({layoutInfo:i,virtualizer:n,ref:d,shouldObserveItemSize:h}),z.createElement("div",{role:"presentation",ref:d,className:t,style:{...Ee(i,r,s),...e}},a)}let q=new WeakMap;function Ee(l,e,t){let i=e==="rtl"?"right":"left",n=q.get(l);if(n&&n[i]!=null){if(!t)return n;let h=l.rect.y-t.rect.y,r=l.rect.x-t.rect.x;if(n.top===h&&n[i]===r)return n}let s={top:l.rect.y-(t&&!(t.allowOverflow&&l.isSticky)?t.rect.y:0),[i]:l.rect.x-(t&&!(t.allowOverflow&&l.isSticky)?t.rect.x:0),width:l.rect.width,height:l.rect.height};Object.entries(s).forEach(([h,r])=>{Number.isFinite(r)||(s[h]=void 0)});let a={position:l.isSticky?"sticky":"absolute",display:l.isSticky?"inline-block":void 0,overflow:l.allowOverflow?"visible":"hidden",opacity:l.opacity,zIndex:l.zIndex,transform:l.transform??void 0,contain:"size layout style",...s};return q.set(l,a),a}const Z=f.createContext(null),A=f.createContext(null);function Pe(l){let{children:e,layout:t,layoutOptions:i,shouldObserveItemSize:n}=l,s=f.useMemo(()=>typeof t=="function"?new t:t,[t]),a=f.useMemo(()=>({isVirtualized:!0,layoutDelegate:s,dropTargetDelegate:s.getDropTargetFromPoint?s:void 0,CollectionRoot:Ve,CollectionBranch:ke}),[s]);return z.createElement(ae.Provider,{value:a},z.createElement(A.Provider,{value:{layout:s,layoutOptions:i,shouldObserveItemSize:n}},e))}function Ve({collection:l,persistedKeys:e,scrollRef:t,renderDropIndicator:i}){let{layout:n,layoutOptions:s,shouldObserveItemSize:a}=f.useContext(A),h=n.useLayoutOptions?.(),r=Se({allowsWindowScrolling:!0,layout:n,collection:l,renderView:(u,c)=>c?.render?.(c),onVisibleRectChange(u){let c=t?.current;c&&(c.scrollLeft=u.x,c.scrollTop=u.y)},persistedKeys:e,layoutOptions:f.useMemo(()=>s&&h?{...s,...h}:s||h,[s,h])}),{contentProps:d}=Ie({onVisibleRectChange:r.setVisibleRect,onSizeChange:r.setSize,contentSize:r.contentSize,onScrollStart:r.startScrolling,onScrollEnd:r.endScrolling,allowsWindowScrolling:!0},t);return z.createElement("div",d,z.createElement(Z.Provider,{value:r},G(null,r.visibleViews,i,a)))}function ke({parent:l,renderDropIndicator:e}){let i=f.useContext(Z).virtualizer.getVisibleView(l.key),{shouldObserveItemSize:n}=f.useContext(A);return G(i,Array.from(i.children),e,n)}function G(l,e,t,i){return e.map(n=>Le(l,n,t,i))}function Le(l,e,t,i){let n=z.createElement(U,{key:e.key,layoutInfo:e.layoutInfo,virtualizer:e.virtualizer,parent:l?.layoutInfo,shouldObserveItemSize:i},e.rendered),{collection:s,layout:a}=e.virtualizer,h=e.content;return h?.type==="item"&&t&&a.getDropTargetLayoutInfo&&(n=z.createElement(z.Fragment,{key:e.key},D(l,e,{type:"item",key:e.content.key,dropPosition:"before"},t),n,he(s,h,r=>D(l,e,r,t)))),n}function D(l,e,t,i){let n=i(t);if(n){let s=e.virtualizer.layout.getDropTargetLayoutInfo(t);n=z.createElement(U,{layoutInfo:s,virtualizer:e.virtualizer,parent:l?.layoutInfo},n)}return n}export{Te as $,b as a,j as b,y as c,Pe as d};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/Virtualizer-CZl-q5wo.js b/luci-app-honk/root/etc/honk/doona/assets/Virtualizer-CZl-q5wo.js
new file mode 100644
index 000000000..f7a0af001
--- /dev/null
+++ b/luci-app-honk/root/etc/honk/doona/assets/Virtualizer-CZl-q5wo.js
@@ -0,0 +1 @@
+import{gm as t,bf as e,cc as i,cb as n,gx as s,gy as o,dW as r,ck as l,cl as a,gt as h,gz as d,e5 as u,gA as c}from"./index-BgFj_VXE.js";import{r as y,$ as g,a as f}from"./vendor-react-64fcanlc.js";class p{constructor(t=0,e=0){this.x=t,this.y=e}copy(){return new p(this.x,this.y)}equals(t){return this.x===t.x&&this.y===t.y}isOrigin(){return 0===this.x&&0===this.y}}class w{constructor(t=0,e=0,i=0,n=0){this.x=t,this.y=e,this.width=i,this.height=n}get maxX(){return this.x+this.width}get maxY(){return this.y+this.height}get area(){return this.width*this.height}get topLeft(){return new p(this.x,this.y)}get topRight(){return new p(this.maxX,this.y)}get bottomLeft(){return new p(this.x,this.maxY)}get bottomRight(){return new p(this.maxX,this.maxY)}intersects(t){return this.area>0&&t.area>0&&this.x<=t.x+t.width&&t.x<=this.x+this.width&&this.y<=t.y+t.height&&t.y<=this.y+this.height}containsRect(t){return this.x<=t.x&&this.y<=t.y&&this.maxX>=t.maxX&&this.maxY>=t.maxY}containsPoint(t){return this.x<=t.x&&this.y<=t.y&&this.maxX>=t.x&&this.maxY>=t.y}getCornerInRect(t){for(let e of["topLeft","topRight","bottomLeft","bottomRight"])if(t.containsPoint(this[e]))return e;return null}equals(t){return t.x===this.x&&t.y===this.y&&t.width===this.width&&t.height===this.height}pointEquals(t){return this.x===t.x&&this.y===t.y}sizeEquals(t){return this.width===t.width&&this.height===t.height}union(t){let e=Math.min(this.x,t.x),i=Math.min(this.y,t.y),n=Math.max(this.maxX,t.maxX)-e,s=Math.max(this.maxY,t.maxY)-i;return new w(e,i,n,s)}intersection(t){if(!this.intersects(t))return new w(0,0,0,0);let e=Math.max(this.x,t.x),i=Math.max(this.y,t.y);return new w(e,i,Math.min(this.maxX,t.maxX)-e,Math.min(this.maxY,t.maxY)-i)}copy(){return new w(this.x,this.y,this.width,this.height)}}class z{constructor(t=0,e=0){this.width=Math.max(t,0),this.height=Math.max(e,0)}copy(){return new z(this.width,this.height)}equals(t){return this.width===t.width&&this.height===t.height}get area(){return this.width*this.height}}let v=0;class m{constructor(t,e){this.virtualizer=t,this.key=++v,this.viewType=e,this.children=new Set,this.reusableViews=new Map,this.layoutInfo=null,this.content=null,this.rendered=null}prepareForReuse(){this.content=null,this.rendered=null,this.layoutInfo=null}getReusableView(t){let e=this.reusableViews.get(t);return e&&e.length>0?e.shift():new b(this.virtualizer,this,t)}reuseChild(t){t.prepareForReuse();let e=this.reusableViews.get(t.viewType);e||(e=[],this.reusableViews.set(t.viewType,e)),e.push(t)}}class S extends m{constructor(t){super(t,"root")}}class b extends m{constructor(t,e,i){super(t,i),this.parent=e}}class x{setVisibleRect(t){let e=performance.now()-this.startTime;e<500&&(t.x!==this.visibleRect.x&&e>0&&(this.velocity.x=(t.x-this.visibleRect.x)/e),t.y!==this.visibleRect.y&&e>0&&(this.velocity.y=(t.y-this.visibleRect.y)/e)),this.startTime=performance.now(),this.visibleRect=t}getOverscannedRect(){let t=this.visibleRect.copy(),e=this.visibleRect.height/3;t.height+=e,this.velocity.y<0&&(t.y-=e);let i=this.visibleRect.width/3;return t.width+=i,this.velocity.x<0&&(t.x-=i),t}constructor(){this.startTime=0,this.velocity=new p(0,0),this.visibleRect=new w}}function I(t){return"x"===t?"width":"height"}function R(t,e,i,n,s){if("start"===i)return t[n]<=s;let o=I(n);return e[o]-(t[n]+t[o])<=s}function C(t,e,i,n,s,o,r,l,a,h){let d=t=>"x"===e?new w(t,a.y,a.width,a.height):new w(a.x,t,a.width,a.height);if(i){let t=function(t,e,i,n,s){let o=i(t.key);if(!o)return null;let r=o.rect[t.corner][e]-n[e]-t.offset;if(0===r)return null;let l=n[e]+r,a=I(e),h=Math.max(0,s[a]-n[a]),d=Math.max(0,Math.min(h,l));return d!==n[e]?d:null}(i,e,l,a,h);if(null!=t)return d(t)}if(n&&!s&&(!o||r>0)){let i=d(function(t,e,i,n){if("start"===t)return 0;let s=I(e);return Math.max(0,i[s]-n[s])}(t,e,h,a));return i.equals(a)?null:i}return null}class k{reset(){this.hasSnappedToEdge=!1,this.hadEstimatedVisibleItems=!1,this.wasNearAnchorEdge=!1}captureBeforeLayout(t,e,i){return t?function(t,e,i,n,s=()=>!0){let o=I(e),r=null;for(let[l,a]of n){if(!a||!s(a))continue;let n=a.rect.intersection(i)[o];if(a.rect.area>0&&n>=4){let n=a.rect.getCornerInRect(i)??"topLeft",s=a.rect[n][e]-i[e];(!r||("end"===t?sr.offset))&&(r={key:l,corner:n,offset:s})}}return r}(t.edge,t.axis,i,e,t.isAnchorable):null}resolveAfterLayout(t){let{anchorInfo:e,anchor:i,postLayoutInfos:n,previousVisibleRect:s,previousContentSize:o,contentSize:r,itemSizeChanged:l,isScrolling:a,getLayoutInfo:h}=t;if(!e)return null;let d=this.hadEstimatedVisibleItems,u=this.wasNearAnchorEdge,c=!1;for(let z of n.values())if(z.estimatedSize){c=!0;break}if(this.hadEstimatedVisibleItems=c,d||(this.wasNearAnchorEdge=R(s,o,e.edge,e.axis,e.threshold)),0===s.area)return null;let y="x"===e.axis?"width":"height",g=r[y]-o[y],f=!this.hasSnappedToEdge;if(this.hasSnappedToEdge=!0,!f&&0===g&&!l)return null;let p=f||d&&u||R(s,o,e.edge,e.axis,e.threshold);d||(this.wasNearAnchorEdge=p);let w=f||d&&u?null:i;return C(e.edge,e.axis,w,p,a,l,g,h,s,r)}constructor(){this.hasSnappedToEdge=!1,this.hadEstimatedVisibleItems=!1,this.wasNearAnchorEdge=!1}}class V{constructor(t){this.delegate=t.delegate,this.collection=t.collection,this.layout=t.layout,this.contentSize=new z,this.visibleRect=new w,this.size=new z,this.persistedKeys=new Set,this._visibleViews=new Map,this._renderedContent=new WeakMap,this._rootView=new S(this),this._isScrolling=!1,this._invalidationContext={},this._overscanManager=new x,this._scrollAnchor=new k}isPersistedKey(t){if(this.persistedKeys.has(t))return!0;for(let e of this.persistedKeys)for(;null!=e;){let i=this.layout.getLayoutInfo(e);if(!i||null==i.parentKey)break;if(e=i.parentKey,e===t)return!0}return!1}getParentView(t){return null!=t.parentKey?this._visibleViews.get(t.parentKey):this._rootView}getReusableView(t){let e=this.getParentView(t).getReusableView(t.type);return e.layoutInfo=t,this._renderView(e),e}_renderView(t){if(t.layoutInfo){let{type:e,key:i,content:n}=t.layoutInfo;t.content=n||this.collection.getItem(i),t.rendered=this._renderContent(e,t.content)}}_renderContent(t,e){let i=null!=e?this._renderedContent.get(e):null;if(null!=i)return i;let n=this.delegate.renderView(t,e);return e&&this._renderedContent.set(e,n),n}keyAtPoint(t){let e=new w(t.x,t.y,1,1),i=0===e.area?[]:this.layout.getVisibleLayoutInfos(e);for(let n of i)if(n.rect.intersects(e))return n.key;return null}relayout(t={}){let e=this.layout.UNSTABLE_getScrollAnchorInfo?.(t.layoutOptions)??null,i=null;if(e){let t=[];for(let[e,i]of this._visibleViews){let n=this.layout.getLayoutInfo(e)??i.layoutInfo;n&&t.push([e,n])}i=this._scrollAnchor.captureBeforeLayout(e,t,this.visibleRect)}let n=this.contentSize,s=this.visibleRect;this.layout.update(t);let o=this.layout.getContentSize();this.contentSize=new z(o.width,o.height);let r=this._scrollAnchor.resolveAfterLayout({anchorInfo:e,anchor:i,postLayoutInfos:e?this.getVisibleLayoutInfos():new Map,previousVisibleRect:s,previousContentSize:n,contentSize:this.contentSize,itemSizeChanged:t.itemSizeChanged??!1,isScrolling:this._isScrolling,getLayoutInfo:t=>this.layout.getLayoutInfo(t)});if(r)return void this.delegate.setVisibleRect(r);let l=this.visibleRect,a=t.contentChanged?0:l.x,h=t.contentChanged?0:l.y;if(a=Math.max(0,Math.min(this.contentSize.width-l.width,a)),h=Math.max(0,Math.min(this.contentSize.height-l.height,h)),a!==l.x||h!==l.y){let t=new w(a,h,l.width,l.height);this.delegate.setVisibleRect(t)}else this.updateSubviews()}getVisibleLayoutInfos(){let t;t=this._overscanManager.getOverscannedRect();let e=this.layout.getVisibleLayoutInfos(t),i=new Map;for(let n of e)i.set(n.key,n);return i}updateSubviews(){let t=this.getVisibleLayoutInfos(),e=new Set;for(let[i,n]of this._visibleViews){let s=t.get(i);s&&n.parent===this.getParentView(s)||(this._visibleViews.delete(i),n.parent.reuseChild(n),e.add(n))}for(let[i,n]of t){let t=this._visibleViews.get(i);if(t){t.layoutInfo=n;let e=this.collection.getItem(n.key);t.content!==e&&(null!=t.content&&this._renderedContent.delete(t.content),this._renderView(t))}else t=this.getReusableView(n),t.parent.children.add(t),this._visibleViews.set(i,t),e.delete(t)}for(let i of e)i.parent.children.delete(i),i.parent.reusableViews.clear();if(!this._isScrolling)for(let i of t.keys()){let t=this._visibleViews.get(i);t.parent.children.delete(t),t.parent.children.add(t)}}render(t){let e=this,i=!1,n=!1,s=!1,o=!1,r=!1,l=!1,a=!1,h=!1;if(t.collection!==this.collection&&(e.collection=t.collection,i=!0),t.layout===this.layout&&this.layout.virtualizer===this||(this.layout&&(this.layout.virtualizer=null),t.layout.virtualizer=this,e.layout=t.layout,this._scrollAnchor.reset(),i=!0),t.persistedKeys&&!function(t,e){if(t===e)return!0;if(t.size!==e.size)return!1;for(let i of t)if(!e.has(i))return!1;return!0}(t.persistedKeys,this.persistedKeys)&&(e.persistedKeys=t.persistedKeys,h=!0),!this.visibleRect.equals(t.visibleRect)||!this.size.equals(t.size)){this._overscanManager.setVisibleRect(t.visibleRect);let l=new w(this.visibleRect.x,this.visibleRect.y,this.size.width,this.size.height),a=new w(t.visibleRect.x,t.visibleRect.y,t.size.width,t.size.height);this.layout.shouldInvalidate(a,l)?(n=!t.visibleRect.pointEquals(this.visibleRect),s=!this.size.equals(t.size),o=this.size.width!==t.size.width,r=this.size.height!==t.size.height,i=!0):h=!0,e.visibleRect=t.visibleRect,e.size=t.size}return t.invalidationContext!==this._invalidationContext&&(t.invalidationContext&&(s||=t.invalidationContext.sizeChanged||!1,o||=t.invalidationContext.widthChanged||!1,r||=t.invalidationContext.heightChanged||!1,n||=t.invalidationContext.offsetChanged||!1,l||=t.invalidationContext.itemSizeChanged||!1,a||=null!=t.invalidationContext.layoutOptions&&null!=this._invalidationContext.layoutOptions&&t.invalidationContext.layoutOptions!==this._invalidationContext.layoutOptions&&this.layout.shouldInvalidateLayoutOptions(t.invalidationContext.layoutOptions,this._invalidationContext.layoutOptions),i||=l||s||n||a),this._invalidationContext=t.invalidationContext),t.isScrolling!==this._isScrolling&&(this._isScrolling=t.isScrolling,t.isScrolling||(h=!0)),i?this.relayout({offsetChanged:n,sizeChanged:s,widthChanged:o,heightChanged:r,itemSizeChanged:l,layoutOptionsChanged:a,layoutOptions:this._invalidationContext.layoutOptions}):h&&this.updateSubviews(),Array.from(this._rootView.children)}getVisibleView(t){return this._visibleViews.get(t)}invalidate(t){this.delegate.invalidate(t)}updateItemSize(t,e){if(!this.layout.updateItemSize)return;this.layout.updateItemSize(t,e)&&this.invalidate({itemSizeChanged:!0})}}const O="undefined"!=typeof document?g.useLayoutEffect:()=>{};class E{shouldInvalidate(t,e){return t.width!==e.width||t.height!==e.height}shouldInvalidateLayoutOptions(t,e){return t!==e}update(t){}getItemRect(t){return this.getLayoutInfo(t)?.rect??null}getVisibleRect(){return this.virtualizer.visibleRect}constructor(){this.virtualizer=null}}class M{constructor(t,e,i){this.type=t,this.key=e,this.parentKey=null,this.content=null,this.rect=i,this.estimatedSize=!1,this.isSticky=!1,this.opacity=1,this.transform=null,this.zIndex=0,this.allowOverflow=!1}copy(){let t=new M(this.type,this.key,this.rect.copy());return t.estimatedSize=this.estimatedSize,t.opacity=this.opacity,t.transform=this.transform,t.parentKey=this.parentKey,t.content=this.content,t.isSticky=this.isSticky,t.zIndex=this.zIndex,t.allowOverflow=this.allowOverflow,t}}const L=48;class T extends E{constructor(t={}){super(),this.rowSize=t?.rowSize??t?.rowHeight??null,this.orientation=t.orientation??"vertical",this.estimatedRowSize=t?.estimatedRowSize??t?.estimatedRowHeight??null,this.headingSize=t?.headingSize??t?.headingHeight??null,this.estimatedHeadingSize=t?.estimatedHeadingSize??t?.estimatedHeadingHeight??null,this.loaderSize=t?.loaderSize??t?.loaderHeight??null,this.dropIndicatorThickness=t.dropIndicatorThickness||2,this.gap=t.gap||0,this.padding=t.padding||0,this.layoutNodes=new Map,this.rootNodes=[],this.lastCollection=null,this.invalidateEverything=!1,this.validRect=new w,this.requestedRect=new w,this.contentSize=new z}get collection(){return this.virtualizer.collection}get rowHeight(){return this.rowSize}get estimatedRowHeight(){return this.estimatedRowSize}get headingHeight(){return this.headingSize}get estimatedHeadingHeight(){return this.estimatedHeadingSize}get loaderHeight(){return this.loaderSize}getLayoutInfo(t){return this.ensureLayoutInfo(t),this.layoutNodes.get(t)?.layoutInfo||null}getVisibleLayoutInfos(t){let e="horizontal"===this.orientation?"x":"y",i="horizontal"===this.orientation?"width":"height";if(t[i]>1){let n=(this.rowSize??this.estimatedRowSize??L)+this.gap;t=t.copy();let s=Math.floor(t[e]/n)*n,o=t[i]+t[e]-s;t[e]=s,t[i]=Math.ceil(o/n)*n}this.layoutIfNeeded(t);let n=[],s=e=>{for(let i of e)this.isVisible(i,t)&&(n.push(i.layoutInfo),i.children&&s(i.children))};return s(this.rootNodes),n}layoutIfNeeded(t){if(this.lastCollection){this.requestedRect.containsRect(t)||(this.requestedRect=this.requestedRect.union(t),this.rootNodes=this.buildCollection());for(let t of this.virtualizer.persistedKeys)if(this.ensureLayoutInfo(t))return}}ensureLayoutInfo(t){return!!(!this.layoutNodes.has(t)&&this.requestedRect.area"content"!==t.type),o=s.filter(t=>"loader"===t.type),r=[],l=0===e?.size;l&&(t=0);for(let a of s){let e=(this.rowSize??this.estimatedRowSize??L)+this.gap;if("item"===a.type&&t+ethis.requestedRect[n]){let i=s.indexOf(a);for(let l of o){let o=s.indexOf(l);t+=(o-i-1)*e;let a="horizontal"===this.orientation?this.buildChild(l,t,this.padding,null):this.buildChild(l,this.padding,t,null);r.push(a),t=a.layoutInfo.rect[n],i=o}t+=(s.length-i-1)*e;break}}return t=Math.max(t-this.gap,0),t+=l?0:this.padding,this.contentSize="horizontal"===this.orientation?new z(t,this.virtualizer.size.height):new z(this.virtualizer.size.width,t),r}isValid(t,e){let i=this.layoutNodes.get(t.key),n="horizontal"===this.orientation?"x":"y";return!this.invalidateEverything&&!!i&&i.node===t&&e===i.layoutInfo.rect[n]&&i.layoutInfo.rect.intersects(this.validRect)&&i.validRect.containsRect(i.layoutInfo.rect.intersection(this.requestedRect))}buildChild(t,e,i,n){if(this.isValid(t,"horizontal"===this.orientation?e:i))return this.layoutNodes.get(t.key);let s=this.buildNode(t,e,i);return s.layoutInfo.parentKey=n??null,s.layoutInfo.allowOverflow=!0,this.layoutNodes.set(t.key,s),s}buildNode(t,e,i){switch(t.type){case"section":return this.buildSection(t,e,i);case"item":case"separator":return this.buildItem(t,e,i);case"header":return this.buildSectionHeader(t,e,i);case"loader":return this.buildLoader(t,e,i);default:throw new Error("Unsupported node type: "+t.type)}}buildLoader(t,e,i){let n=new w(e,i,this.padding,0),s=new M(t.type,t.key,n);return"horizontal"===this.orientation?(n.height=this.virtualizer.contentSize.height-this.padding-i,n.width=t.props.isLoading?this.loaderSize??this.rowSize??this.estimatedRowSize??L:0):(n.width=this.virtualizer.contentSize.width-this.padding-e,n.height=t.props.isLoading?this.loaderSize??this.rowSize??this.estimatedRowSize??L:0),{layoutInfo:s,validRect:n.intersection(this.requestedRect)}}buildSection(e,i,n){let s=this.virtualizer.collection,o=this.virtualizer.size.width-this.padding-i,r=this.virtualizer.size.height-this.padding-n,l="horizontal"===this.orientation?new w(i,n,0,r):new w(i,n,o,0),a=new M(e.type,e.key,l),h="horizontal"===this.orientation?i:n,d="horizontal"===this.orientation?"x":"y",u="horizontal"===this.orientation?"maxX":"maxY",c="horizontal"===this.orientation?"width":"height",y=0,g=[];for(let f of t(e,s)){if("content"===f.type)continue;let o=(this.rowSize??this.estimatedRowSize??L)+this.gap;if(h+othis.requestedRect[u]){h+=([...t(e,s)].length-(g.length+y))*o;break}}return h-=this.gap,l[c]=h-("horizontal"===this.orientation?i:n),{layoutInfo:a,children:g,validRect:a.rect.intersection(this.requestedRect),node:e}}buildSectionHeader(t,e,i){let n="horizontal"===this.orientation?"height":"width",s="horizontal"===this.orientation?"width":"height",o=this.virtualizer.size[n]-this.padding-("horizontal"===this.orientation?i:e),r=this.headingSize,l=!1;if(null==r){let e=this.layoutNodes.get(t.key),i=e?.layoutInfo;if(i){let a=this.virtualizer.collection.getItem(t.key),h=this.lastCollection?this.lastCollection.getItem(t.key):null;r=e.layoutInfo.rect[s],l=o!==i.rect[n]||a!==h||i.estimatedSize}else r=t.rendered?this.estimatedHeadingSize:0,l=!0}null==r&&(r=L);let a="horizontal"===this.orientation?new w(e,i,r,o-i):new w(e,i,o-e,r),h=new M("header",t.key,a);return h.estimatedSize=l,{layoutInfo:h,children:[],validRect:h.rect.intersection(this.requestedRect),node:t}}buildItem(t,e,i){let n="horizontal"===this.orientation?"height":"width",s="horizontal"===this.orientation?"width":"height",o=this.virtualizer.size[n]-this.padding-("horizontal"===this.orientation?i:e),r=this.rowSize,l=!1;if(null==r){let e=this.layoutNodes.get(t.key);e?(r=e.layoutInfo.rect[s],l=o!==e.layoutInfo.rect[n]||t!==e.node||e.layoutInfo.estimatedSize):(r=this.estimatedRowSize,l=!0)}null==r&&(r=L);let a="horizontal"===this.orientation?new w(e,i,r,o):new w(e,i,o,r),h=new M(t.type,t.key,a);return h.estimatedSize=l,{layoutInfo:h,children:[],validRect:h.rect.intersection(this.requestedRect),node:t}}updateItemSize(t,e){let i=this.layoutNodes.get(t);if(!i)return!1;let n=this.virtualizer.collection,s=i.layoutInfo,o="horizontal"===this.orientation?"x":"y",r="horizontal"===this.orientation?"width":"height";if(s.estimatedSize=!1,s.rect[r]!==e[r]){let l=s.copy();l.rect[r]=e[r],i.layoutInfo=l,this.validRect[r]=Math.min(this.validRect[r],s.rect[o]-this.validRect[o]),"item"===i.node?.type&&(this.requestedRect[r]+=l.rect[r]-s.rect[r]),this.updateLayoutNode(t,s,l);let a=null!=s.parentKey?n.getItem(s.parentKey):null;for(;a;)this.updateLayoutNode(a.key,s,l),a=null!=a.parentKey?n.getItem(a.parentKey):null;return!0}return!1}updateLayoutNode(t,e,i){let n=this.layoutNodes.get(t);n&&(n.validRect=n.validRect.intersection(this.validRect),n.layoutInfo===e&&(n.layoutInfo=i))}getContentSize(){return this.contentSize}getDropTargetFromPoint(t,e,i){t+=this.virtualizer.visibleRect.x,e+=this.virtualizer.visibleRect.y;let n=new w(t,Math.max(0,e-this.gap),1,Math.max(1,2*this.gap)),s=this.getVisibleLayoutInfos(n),o=null,r=1/0;for(let d of s){if(!d.rect.intersects(n))continue;let t=Math.abs(d.rect.y-e),i=Math.abs(d.rect.maxY-e),s=Math.min(t,i);s=a.maxY-10&&i({...h,dropPosition:"after"})&&(h.dropPosition="after"):e<=a.y+a.height/2&&i({...h,dropPosition:"before"})?h.dropPosition="before":i({...h,dropPosition:"after"})&&(h.dropPosition="after"),h}getDropTargetLayoutInfo(t){let e,i=this.getLayoutInfo(t.key);if("before"===t.dropPosition)e="horizontal"===this.orientation?new w(Math.max(0,i.rect.x-this.dropIndicatorThickness/2),i.rect.y,this.dropIndicatorThickness,i.rect.height):new w(i.rect.x,Math.max(0,i.rect.y-this.dropIndicatorThickness/2),i.rect.width,this.dropIndicatorThickness);else if("after"===t.dropPosition){let n=this.collection.getItem(t.key);if(n){let e=n.level??0,s=this.collection.getKeyAfter(t.key);for(;null!=s;){let t=this.collection.getItem(s);if(!t||t.level<=e)break;i=this.getLayoutInfo(s)||i,s=this.collection.getKeyAfter(s)}}e="horizontal"===this.orientation?new w(i.rect.maxX-this.dropIndicatorThickness/2,i.rect.y,this.dropIndicatorThickness,i.rect.height):new w(i.rect.x,i.rect.maxY-this.dropIndicatorThickness/2,i.rect.width,this.dropIndicatorThickness)}else e=i.rect;return new M("dropIndicator",t.key+":"+t.dropPosition,e)}}let H=null;function _(t,e){let{scrollLeft:i}=t;if("rtl"===e){let{scrollWidth:e,clientWidth:n}=t;switch(function(t=!1){if(null===H||t){const t=document.createElement("div"),e=t.style;e.width="50px",e.height="50px",e.overflow="scroll",e.direction="rtl";const i=document.createElement("div"),n=i.style;return n.width="100px",n.height="100px",t.appendChild(i),document.body.appendChild(t),t.scrollLeft>0?H="positive-descending":(t.scrollLeft=1,H=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),H}return H}()){case"negative":i=-i;break;case"positive-descending":i=e-n-i}}return i}function N(t){let{layoutInfo:e,virtualizer:i,ref:n,shouldObserveItemSize:s}=t,o=e?.key,r=y.useCallback(()=>{if(null!=o&&n.current){if(!d(n.current))return;let t=function(t){let e=t.style.height;t.style.height="";let i=new z(t.scrollWidth,t.scrollHeight);return t.style.height=e,i}(n.current);i.updateItemSize(o,t)}},[i,o,n]),h=l(r);return a(()=>{e?.estimatedSize&&h()}),y.useEffect(()=>{if(!s)return;let t=n.current;if(!t||"undefined"==typeof ResizeObserver)return;let e=new ResizeObserver(t=>{t.length&&h()});for(let i of t.children)e.observe(i);return()=>{e.disconnect()}},[s,n,o]),{updateSize:r}}function P(t){let{style:i,className:n,layoutInfo:s,virtualizer:o,parent:r,children:l,shouldObserveItemSize:a}=t,{direction:h}=e(),d=y.useRef(null);return N({layoutInfo:s,virtualizer:o,ref:d,shouldObserveItemSize:a}),g.createElement("div",{role:"presentation",ref:d,className:n,style:{...K(s,h,r),...i}},l)}let q=new WeakMap;function K(t,e,i){let n="rtl"===e?"right":"left",s=q.get(t);if(s&&null!=s[n]){if(!i)return s;let e=t.rect.y-i.rect.y,o=t.rect.x-i.rect.x;if(s.top===e&&s[n]===o)return s}let o={top:t.rect.y-(!i||i.allowOverflow&&t.isSticky?0:i.rect.y),[n]:t.rect.x-(!i||i.allowOverflow&&t.isSticky?0:i.rect.x),width:t.rect.width,height:t.rect.height};Object.entries(o).forEach(([t,e])=>{Number.isFinite(e)||(o[t]=void 0)});let r={position:t.isSticky?"sticky":"absolute",display:t.isSticky?"inline-block":void 0,overflow:t.allowOverflow?"visible":"hidden",opacity:t.opacity,zIndex:t.zIndex,transform:t.transform??void 0,contain:"size layout style",...o};return q.set(t,r),r}const A=y.createContext(null),Y=y.createContext(null);function W(t){let{children:e,layout:i,layoutOptions:n,shouldObserveItemSize:s}=t,o=y.useMemo(()=>"function"==typeof i?new i:i,[i]),r=y.useMemo(()=>({isVirtualized:!0,layoutDelegate:o,dropTargetDelegate:o.getDropTargetFromPoint?o:void 0,CollectionRoot:X,CollectionBranch:D}),[o]);return g.createElement(u.Provider,{value:r},g.createElement(Y.Provider,{value:{layout:o,layoutOptions:n,shouldObserveItemSize:s}},e))}function X({collection:t,persistedKeys:d,scrollRef:u,renderDropIndicator:c}){let{layout:v,layoutOptions:m,shouldObserveItemSize:S}=y.useContext(Y),b=v.useLayoutOptions?.(),x=function(t){let[e,i]=y.useState(new w(0,0,0,0)),[n,s]=y.useState(new z),[o,r]=y.useState(!1),[l,a]=y.useState({}),h=y.useRef(!1),[d]=y.useState(()=>new V({collection:t.collection,layout:t.layout,delegate:{setVisibleRect(t){i(t),h.current=!0},renderView:t.renderView,invalidate:a}}));O(()=>{h.current&&(h.current=!1,t.onVisibleRectChange(e))});let u=y.useMemo(()=>null!=t.layoutOptions?{...l,layoutOptions:t.layoutOptions}:l,[l,t.layoutOptions]),c=d.render({layout:t.layout,collection:t.collection,persistedKeys:t.persistedKeys,layoutOptions:t.layoutOptions,visibleRect:e,size:t.allowsWindowScrolling?n:e,invalidationContext:u,isScrolling:o}),g=d.contentSize,f=y.useCallback(()=>{r(!0)},[]),p=y.useCallback(()=>{r(!1)},[]);return y.useMemo(()=>({virtualizer:d,visibleViews:c,setVisibleRect:i,size:n,setSize:s,contentSize:g,isScrolling:o,startScrolling:f,endScrolling:p}),[d,c,i,n,s,g,o,f,p])}({allowsWindowScrolling:!0,layout:v,collection:t,renderView:(t,e)=>e?.render?.(e),onVisibleRectChange(t){let e=u?.current;e&&(e.scrollLeft=t.x,e.scrollTop=t.y)},persistedKeys:d,layoutOptions:y.useMemo(()=>m&&b?{...m,...b}:m||b,[m,b])}),{contentProps:I}=function(t,d){let{contentSize:u,onVisibleRectChange:c,onSizeChange:g,innerStyle:v,onScrollStart:m,onScrollEnd:S,scrollDirection:b="both",onScroll:x,allowsWindowScrolling:I,...R}=t,C=y.useRef({scrollPosition:new p,size:new z,viewportOffset:new p,viewportSize:new z,scrollEndTime:0,scrollTimeout:null,isScrolling:!1,lastVisibleRect:new w}).current,{direction:k}=e(),V=y.useCallback(()=>{let t=I?new w(C.viewportOffset.x+C.scrollPosition.x,C.viewportOffset.y+C.scrollPosition.y,Math.max(0,Math.min(C.size.width-C.viewportOffset.x,C.viewportSize.width)),Math.max(0,Math.min(C.size.height-C.viewportOffset.y,C.viewportSize.height))):new w(C.scrollPosition.x,C.scrollPosition.y,C.size.width,C.size.height);(t.area>0||C.lastVisibleRect.area>0)&&(c(t),C.lastVisibleRect=t)},[C,I,c]),[O,E]=y.useState(!1),M=y.useCallback(t=>{let e=i(t);if(n(e,d.current)){if(x&&e===d.current&&x(t),e!==d.current){let t=d.current.getBoundingClientRect(),e=t.x<0?-t.x:0,i=t.y<0?-t.y:0;if(e===C.viewportOffset.x&&i===C.viewportOffset.y)return;C.viewportOffset=new p(e,i)}else{let t=e.scrollTop,i=_(e,k);C.scrollPosition=new p(Math.max(0,Math.min(i,u.width-C.size.width)),Math.max(0,Math.min(t,u.height-C.size.height)))}f.flushSync(()=>{V(),C.isScrolling||(C.isScrolling=!0,E(!0),window.dispatchEvent(new Event("tk.disconnect-observer")),m&&m());let t=Date.now();C.scrollEndTime<=t+50&&(C.scrollEndTime=t+300,null!=C.scrollTimeout&&clearTimeout(C.scrollTimeout),C.scrollTimeout=setTimeout(()=>{C.isScrolling=!1,E(!1),C.scrollTimeout=null,window.dispatchEvent(new Event("tk.connect-observer")),S&&S()},300))})}},[x,d,k,C,u,V,m,S]);y.useEffect(()=>s(o(d.current,r(d.current)),"scroll",M,!0),[M,d]),y.useEffect(()=>()=>{null!=C.scrollTimeout&&clearTimeout(C.scrollTimeout),C.isScrolling&&window.dispatchEvent(new Event("tk.connect-observer"))},[]);let L=y.useRef(!1),T=y.useCallback(t=>{let e=d.current;if(!e||L.current)return;L.current=!0,Object.getOwnPropertyNames(window.HTMLElement.prototype).includes("clientWidth"),Object.getOwnPropertyNames(window.HTMLElement.prototype).includes("clientHeight");let i=e.clientWidth,n=e.clientHeight,s=i,o=n,r=window.innerWidth,l=window.innerHeight,a=C.viewportSize.width!==r||C.viewportSize.height!==l;a&&(C.viewportSize=new z(r,l)),(C.size.width!==s||C.size.height!==o||a)&&(C.size=new z(s,o),t(()=>{V(),g?.(C.size)}),i===e.clientWidth&&n===e.clientHeight||(C.size=new z(e.clientWidth,e.clientHeight),t(()=>{V(),g?.(C.size)}))),L.current=!1},[d,C,V,g]),H=l(T);a(()=>{C.viewportSize=new z(window.innerWidth,window.innerHeight);let t=()=>{H(f.flushSync)};return window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[C]);let N=y.useRef(null),[P,q]=y.useState({});a(()=>{if(!(L.current||null!=N.current&&u.equals(N.current))){if("boolean"==typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:"undefined"!=typeof jest)return q({}),void(N.current=u);queueMicrotask(()=>H(f.flushSync))}N.current=u}),a(()=>{H(t=>t())},[P]);let K=y.useCallback(()=>{T(f.flushSync)},[T]);h({ref:d,box:"border-box",onResize:K});let A={padding:0,...R.style};return"horizontal"===b?(A.overflowX="auto",A.overflowY="hidden"):"vertical"===b||u.width===C.size.width?(A.overflowY="auto",A.overflowX="hidden"):A.overflow="auto",v={width:Number.isFinite(u.width)?u.width:void 0,height:Number.isFinite(u.height)?u.height:void 0,pointerEvents:O?"none":"auto",position:"relative",...v},{isScrolling:O,scrollViewProps:{...R,style:A},contentProps:{role:"presentation",style:v}}}({onVisibleRectChange:x.setVisibleRect,onSizeChange:x.setSize,contentSize:x.contentSize,onScrollStart:x.startScrolling,onScrollEnd:x.endScrolling,allowsWindowScrolling:!0},u);return g.createElement("div",I,g.createElement(A.Provider,{value:x},F(null,x.visibleViews,c,S)))}function D({parent:t,renderDropIndicator:e}){let i=y.useContext(A).virtualizer.getVisibleView(t.key),{shouldObserveItemSize:n}=y.useContext(Y);return F(i,Array.from(i.children),e,n)}function F(t,e,i,n){return e.map(e=>function(t,e,i,n){let s=g.createElement(P,{key:e.key,layoutInfo:e.layoutInfo,virtualizer:e.virtualizer,parent:t?.layoutInfo,shouldObserveItemSize:n},e.rendered),{collection:o,layout:r}=e.virtualizer,l=e.content;"item"===l?.type&&i&&r.getDropTargetLayoutInfo&&(s=g.createElement(g.Fragment,{key:e.key},j(t,e,{type:"item",key:e.content.key,dropPosition:"before"},i),s,c(o,l,n=>j(t,e,n,i))));return s}(t,e,i,n))}function j(t,e,i,n){let s=n(i);if(s){let n=e.virtualizer.layout.getDropTargetLayoutInfo(i);s=g.createElement(P,{layoutInfo:n,virtualizer:e.virtualizer,parent:t?.layoutInfo},s)}return s}export{E as $,z as a,M as b,w as c,W as d,T as e};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/_commonjsHelpers-CXUWDbkB.js b/luci-app-honk/root/etc/honk/doona/assets/_commonjsHelpers-CXUWDbkB.js
new file mode 100644
index 000000000..46e3f101f
--- /dev/null
+++ b/luci-app-honk/root/etc/honk/doona/assets/_commonjsHelpers-CXUWDbkB.js
@@ -0,0 +1 @@
+function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}export{e as g};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/activity-6eX5ba7W.css b/luci-app-honk/root/etc/honk/doona/assets/activity-6eX5ba7W.css
new file mode 100644
index 000000000..425cb3c71
--- /dev/null
+++ b/luci-app-honk/root/etc/honk/doona/assets/activity-6eX5ba7W.css
@@ -0,0 +1 @@
+.rp-page-heading{justify-content:space-between;align-items:center;gap:var(--rp-space-3);min-inline-size:0;min-block-size:var(--rp-control-lg);flex-wrap:wrap;display:flex}.rp-page-actions{align-items:center;gap:var(--rp-space-2);flex-wrap:wrap;justify-content:flex-end;min-inline-size:0;margin-inline-start:auto;display:flex}.rp-page-actions>*{flex:none}.rp-dashboard{gap:var(--rp-space-6);flex-direction:column;display:flex}.rp-dashboard-cell{flex-direction:column;min-inline-size:0;display:flex}.rp-dashboard-cell>.rp-card,.rp-dashboard-body>.rp-card{flex:1}.rp-module-content{min-inline-size:0;container-type:inline-size}.rp-module-actions{gap:var(--rp-space-2);flex-wrap:wrap;align-self:flex-start;align-items:center;display:flex}.rp-module-actions>button{flex:none}.rp-module-option{gap:var(--rp-space-2) var(--rp-space-3);flex-wrap:wrap;align-items:center;display:flex}.rp-module-option>:last-child{flex:0 auto;max-inline-size:100%}.rp-module-content .rp-kv .k,.rp-module-content .rp-kv .v{white-space:normal;overflow-wrap:normal;min-inline-size:0}.rp-module-content .rp-donut .r .n{text-overflow:clip;white-space:normal;overflow-wrap:normal;min-inline-size:0;overflow:visible}@container (width<=480px){.rp-module-content .rp-markerplot .axis,.rp-module-content .rp-markerplot .row{grid-template-columns:minmax(var(--rp-space-16), 1fr) minmax(var(--rp-space-16), 1fr) auto;gap:var(--rp-space-2)}.rp-module-content .rp-markerplot .row .track,.rp-module-content .rp-markerplot .axis .scale{grid-area:auto}.rp-module-content .rp-markerplot .axis>span:empty{display:block}.rp-module-content .rp-markerplot .scale>span:not(:first-child,:last-child){display:none}}@container (width<=380px){.rp-module-content .rp-donut .lst{flex-basis:100%}.rp-module-content .rp-donut .r{grid-template-columns:var(--rp-space-2) minmax(0, 1fr) calc(var(--rp-space-8) + var(--rp-space-1));gap:var(--rp-space-1);display:grid}.rp-module-content .rp-donut .r .n{grid-column:2/-1}.rp-module-content .rp-donut .r>span:not([class]){grid-column:2}}.rp-module-content .rp-donut .r{flex-shrink:0}.rp-module-content .rp-markerplot .note{overflow-wrap:normal}.rp-module-content[data-size=small] .rp-bar .top{flex-direction:column;align-items:start}.rp-module-content[data-size=small] .rp-donut .box{aspect-ratio:1;block-size:auto;max-inline-size:100%}.rp-module-option{flex-direction:column;align-items:start}.rp-module-inspector{gap:var(--rp-space-4);flex-direction:column;display:flex}.rp-dash-section{--rp-dash-gap:var(--rp-space-3);gap:var(--rp-dash-gap);grid-template-columns:minmax(0,1fr);align-items:stretch;display:grid}.rp-dash-section>*{container:rp-tile/inline-size}.rp-dash-section[data-profile=metrics],.rp-dash-section[data-profile=extensions]{grid-template-columns:repeat(2,minmax(0,1fr))}.rp-dash-section[data-profile=metrics]>:is([data-foot=end],[data-size=large]){grid-column:1/-1}@media (width<=599.98px){.rp-dash-section[data-profile=extensions]{grid-template-columns:minmax(0,1fr)}}@media (width>=600px) and (width<=1279.98px){.rp-dash-section[data-profile=extensions]>[data-size=large]{grid-column:1/-1}}@media (width>=640px){.rp-dash-section[data-profile=quick]{grid-template-columns:repeat(2,minmax(0,1fr))}.rp-dash-section[data-profile=quick]>[data-foot=lead]{grid-column:1/-1}}@media (width>=1024px){.rp-dash-section[data-profile=traffic]{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.rp-dash-section[data-profile=details]{grid-template-columns:repeat(2,minmax(0,1fr))}.rp-dash-section[data-profile=details]>:is([data-foot=end],[data-size=large]){grid-column:1/-1}}@media (width>=1100px){.rp-dash-section[data-profile=quick]{grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr))}.rp-dash-section[data-profile=quick]>[data-foot=lead]{grid-column:auto}.rp-dash-section[data-profile=metrics]{grid-template-columns:repeat(6,minmax(0,1fr))}.rp-dash-section[data-profile=metrics]>*{grid-column:span 2}.rp-dash-section[data-profile=metrics]>:is([data-foot=tail],[data-foot=end]){grid-column:span 3}.rp-dash-section[data-profile=metrics]>[data-size=large]{grid-column:span 4}}@media (width>=1280px){.rp-dash-section[data-profile=metrics]{grid-template-columns:repeat(5,minmax(0,1fr))}.rp-dash-section[data-profile=metrics]>:is(*,[data-foot]){grid-column:span 1}.rp-dash-section[data-profile=metrics]>[data-size=large]{grid-column:span 2}.rp-dash-section:is([data-profile=traffic],[data-profile=details],[data-profile=extensions]){grid-template-columns:repeat(12,minmax(0,1fr))}.rp-dash-section:is([data-profile=traffic],[data-profile=details],[data-profile=extensions])>*,.rp-dash-section[data-profile=details]>[data-foot=end]{grid-column:span 4}.rp-dash-section[data-profile=traffic]>:nth-child(odd of .rp-dashboard-cell),.rp-dash-section:is([data-profile=details],[data-profile=extensions])>[data-size=large]{grid-column:span 8}.rp-dash-section[data-profile=extensions]>[data-size=small]{grid-column:span 2}}.rp-dash-section[data-profile]>.rp-dashboard-cell[data-size=wide]{grid-column:1/-1}.rp-dash-section{--rp-dash-snap:none}@media (width>=768px){.rp-dash-section{--rp-dash-snap:6}.rp-dash-section:is([data-grid],[data-fit]){grid-template-columns:repeat(420,minmax(0,1fr));column-gap:0;margin-inline-start:calc(0px - var(--rp-dash-gap))}.rp-dash-section:is([data-grid],[data-fit])[data-profile]>.rp-dashboard-cell{grid-column:span var(--rp-chosen,var(--rp-span));margin-inline-start:var(--rp-dash-gap)}.rp-dash-section:is([data-grid],[data-fit])[data-profile]>.rp-dashboard-cell:not([data-width],[data-size=wide]){margin-inline-start:calc(var(--rp-dash-gap) * (1 - var(--rp-shift,0)));margin-inline-end:calc(var(--rp-dash-gap) * var(--rp-trim,0))}.rp-dash-section>*{--rp-span:210}.rp-dash-section:is([data-profile=traffic],[data-profile=details])>*,.rp-dash-section[data-profile=quick]>[data-foot=lead],.rp-dash-section[data-profile=metrics]>:is([data-foot=end],[data-size=large]),.rp-dash-section[data-profile=extensions]>[data-size=large]{--rp-span:420}.rp-dash-section>:is([data-width="1/5"],[data-width="1/4"],[data-width="1/3"]){--rp-chosen:140}.rp-dash-section>[data-width="1/2"]{--rp-chosen:210}.rp-dash-section>[data-width="2/3"]{--rp-chosen:280}.rp-dash-section>[data-width=full]{--rp-chosen:420}}@media (width>=1024px){.rp-dash-section[data-profile=traffic]>*{--rp-span:140}.rp-dash-section[data-profile=traffic]>:nth-child(odd of .rp-dashboard-cell){--rp-span:280}.rp-dash-section[data-profile=details]>*{--rp-span:210}.rp-dash-section[data-profile=details]>:is([data-foot=end],[data-size=large]){--rp-span:420}}@media (width>=1024px) and (width<=1279.98px){.rp-dash-section[data-profile=traffic]>:nth-child(odd of .rp-dashboard-cell){--rp-trim:1 / 3}.rp-dash-section[data-profile=traffic]>:nth-child(2n of .rp-dashboard-cell){--rp-shift:1 / 3}}@media (width>=1100px){.rp-dash-section[data-profile=quick]>*{--rp-span:120}.rp-dash-section[data-profile=quick]>:nth-child(3n+1 of .rp-dashboard-cell){--rp-span:180;--rp-trim:2 / 7}.rp-dash-section[data-profile=quick]>:nth-child(3n+2 of .rp-dashboard-cell){--rp-shift:2 / 7;--rp-trim:1 / 7}.rp-dash-section[data-profile=quick]>:nth-child(3n of .rp-dashboard-cell){--rp-shift:1 / 7}.rp-dash-section[data-profile=metrics]>*{--rp-span:140}.rp-dash-section[data-profile=metrics]>:is([data-foot=tail],[data-foot=end]){--rp-span:210}.rp-dash-section[data-profile=metrics]>[data-size=large]{--rp-span:280}}@media (width>=1280px){.rp-dash-section{--rp-dash-snap:12}.rp-dash-section[data-profile=metrics]>:is(*,[data-foot]){--rp-span:84}.rp-dash-section[data-profile=metrics]>[data-size=large]{--rp-span:168}.rp-dash-section:is([data-profile=traffic],[data-profile=details],[data-profile=extensions])>:is(*,[data-foot]){--rp-span:140}.rp-dash-section[data-profile=traffic]>:nth-child(odd of .rp-dashboard-cell),.rp-dash-section:is([data-profile=details],[data-profile=extensions])>[data-size=large]{--rp-span:280}.rp-dash-section[data-profile=extensions]>[data-size=small]{--rp-span:70}.rp-dash-section>[data-width="1/5"]{--rp-chosen:84}.rp-dash-section>[data-width="1/4"]{--rp-chosen:105}}.rp-dash-section[data-profile]>.rp-dashboard-cell[data-size=wide]{--rp-span:420}.rp-dash-section[data-packed]{grid-auto-rows:1px;row-gap:0;margin-block-end:calc(0px - var(--rp-dash-gap))}.rp-dash-section[data-packed]>.rp-dashboard-cell{grid-row-end:span var(--rp-rows,1);margin-block-end:var(--rp-dash-gap)}.rp-dash-section[data-measure]>.rp-dashboard-cell{align-self:start}.rp-dash-section[data-measure]>.rp-dashboard-cell>.rp-card,.rp-dash-section[data-measure] .rp-dashboard-body>.rp-card{flex:none}.rp-dashboard-cell{--rp-tile-chart:var(--rp-space-8)}.rp-dashboard-cell[data-height=short]{--rp-tile-chart:var(--rp-space-6)}.rp-dashboard-cell[data-height=tall]{--rp-tile-chart:var(--rp-space-16)}.rp-dashboard-cell .rp-tile-body{height:auto;min-block-size:var(--rp-tile-chart);flex:1 0 auto}.rp-dashboard-cell .rp-tile-body>.rp-spark{--rp-spark-fill:100%;align-self:stretch}.rp-dashboard-cell[data-width] .rp-tile-body>.rp-spark{max-width:none}.rp-dashboard-cell[data-tile=stacked] .rp-tile-body{grid-template-rows:var(--rp-value-line) minmax(var(--rp-tile-chart), 1fr);place-items:center start;gap:var(--rp-space-2);grid-template-columns:minmax(0,1fr);display:grid}.rp-dashboard-cell[data-tile=stacked] .rp-tile-body>.rp-spark{place-self:stretch stretch;width:100%;max-width:none}.rp-dashboard-cell[data-height=short] .rp-tile-body{gap:var(--rp-space-2);display:flex}.rp-dashboard-cell[data-height=short] .rp-tile-body>.rp-spark{flex:1 1 var(--rp-space-8);min-width:var(--rp-space-8);width:auto}.rp-control-card>.rp-row{flex-wrap:nowrap}.rp-control-tail{align-items:center;gap:var(--rp-space-3);flex:auto;display:flex}.rp-control-tail>:last-child{flex:none;margin-inline-start:auto}.rp-dash-section[data-controls=probe] .rp-control-card :is(.rp-row,.rp-row *){flex-wrap:nowrap;flex-shrink:0}.rp-dash-section[data-lines=probe] .rp-control-card>.rp-row{inline-size:max-content}.rp-dash-section[data-controls=stacked] .rp-control-card>.rp-row{align-items:flex-start;gap:var(--rp-space-2);flex-direction:column}.rp-dash-section[data-controls=stacked] .rp-control-tail{align-self:stretch}.rp-dashboard-cell{position:relative}.rp-dashboard-cell>[role=gridcell],.rp-dashboard-body{display:contents}.rp-dashboard-tools{z-index:1;gap:var(--rp-space-2);border-radius:var(--rp-r-md);background:var(--rp-base);display:flex;position:absolute;inset-block-start:var(--rp-space-3);inset-inline-end:var(--rp-space-3)}.rp-dash-section>.rp-dashboard-cell .rp-dashboard-tools{z-index:2;inset-block:auto calc(100% - var(--rp-space-4));padding:var(--rp-space-half);border:1px solid var(--rp-popover-border);border-radius:var(--rp-r-pill);background:var(--rp-surface);box-shadow:var(--rp-elevated);opacity:0;gap:0}.rp-dashboard[data-editing] .rp-dash-section>.rp-dashboard-cell{z-index:0}.rp-dashboard[data-editing] .rp-dash-section>.rp-dashboard-cell:is([data-hovered],:focus-within,[data-dragging],[data-resizing],:has(.rp-dashboard-tools [aria-expanded=true])){z-index:1}.rp-dash-section>.rp-dashboard-cell:is([data-hovered],:focus-within,[data-dragging],:has(.rp-dashboard-tools [aria-expanded=true])) .rp-dashboard-tools{opacity:1}@media (hover:hover) and (pointer:fine){.rp-dashboard-canvas[data-rearm] .rp-dash-section>.rp-dashboard-cell :is(.rp-dashboard-tools,.rp-dashboard-resize){opacity:0;pointer-events:none}}.rp-dashboard-tools [slot=drag]{touch-action:none;cursor:grab}.rp-dashboard[data-editing] .rp-dashboard-cell{outline:none}.rp-dashboard[data-editing] .rp-dashboard-cell[data-focus-visible]>.rp-dashboard-body>.rp-card{outline:2px solid var(--rp-accent);outline-offset:2px}.rp-dashboard[data-editing] .rp-dashboard-cell[data-dragging]{opacity:.5}.rp-canvas-drop,.rp-canvas-drop>[role=gridcell]{display:contents}.rp-canvas-drop[data-drop-target]+.rp-dashboard-cell:before,.rp-dashboard-cell:has(+.rp-canvas-drop[data-drop-target]):after{content:"";background:var(--rp-accent);border-radius:1px;inline-size:2px;position:absolute;inset-block:0;inset-inline-start:calc(var(--rp-space-3) / -2 - 1px)}.rp-dashboard-cell:has(+.rp-canvas-drop[data-drop-target]):after{inset-inline:auto calc(var(--rp-space-3) / -2 - 1px)}.rp-dashboard[data-editing] .rp-dash-section:not(:has(.rp-dashboard-cell)){min-block-size:var(--rp-space-16);border:1px dashed var(--rp-line);border-radius:var(--rp-r-lg)}.rp-dashboard[data-editing] .rp-dash-section[data-drop-target]{outline:2px solid var(--rp-accent);outline-offset:2px;border-radius:var(--rp-r-lg)}.rp-dashboard-cell .rp-dashboard-resize{z-index:1;border-radius:var(--rp-r-pill);touch-action:none;opacity:0;place-items:center;margin:auto;display:grid;position:absolute}.rp-dashboard-resize:before{content:"";border-radius:var(--rp-r-pill);background:var(--rp-subtle);box-shadow:0 0 0 var(--rp-space-half) var(--rp-base)}.rp-dashboard-cell .rp-dashboard-resize[data-edge=width]{inline-size:var(--rp-control);block-size:var(--rp-space-12);cursor:ew-resize;margin-inline-end:calc(var(--rp-control) / -2);inset-block:0;inset-inline-end:0}.rp-dashboard-resize[data-edge=width]:before{inline-size:var(--rp-space-1);block-size:var(--rp-space-6)}.rp-dashboard-cell .rp-dashboard-resize[data-edge=height]{inline-size:var(--rp-space-12);block-size:var(--rp-control);cursor:ns-resize;margin-block-end:calc(var(--rp-control) / -2);inset-block-end:0;inset-inline:0}.rp-dashboard-resize[data-edge=height]:before{inline-size:var(--rp-space-6);block-size:var(--rp-space-1)}.rp-dashboard-resize[data-focus-visible]:before,.rp-dashboard-cell[data-resizing] .rp-dashboard-resize:before{background:var(--rp-accent)}.rp-dashboard-resize[data-focus-visible]{outline:var(--rp-focus-width) solid var(--rp-accent)}.rp-dashboard-cell:is([data-hovered],:focus-within,[data-resizing]) .rp-dashboard-resize{opacity:1}@media (pointer:coarse){.rp-dashboard-cell .rp-dashboard-resize{opacity:1}}.rp-dashboard-cell[data-resizing] .rp-dashboard-body>.rp-card{outline:2px solid var(--rp-accent);outline-offset:2px}@media (width<=767.98px){.rp-dashboard-cell .rp-dashboard-resize[data-edge=width]{display:none}}.rp-dashboard-canvas{min-inline-size:0;position:relative}.rp-dashboard-gap{border:1px dashed var(--rp-line);border-radius:var(--rp-r-lg);place-items:center;display:grid;position:absolute}.rp-dashboard-gap[data-drop-target]{outline:2px solid var(--rp-accent);outline-offset:2px}.rp-dashboard-gap[data-refused]{outline:2px solid var(--rp-negative);outline-offset:2px;cursor:not-allowed}.rp-floating-frame{z-index:var(--rp-z-panel);inset-block:calc(var(--rp-topbar) + var(--rp-space-4) + env(safe-area-inset-top)) calc(var(--rp-dock) + var(--rp-space-4) + env(safe-area-inset-bottom));inset-inline:max(var(--rp-space-4), env(safe-area-inset-left)) max(var(--rp-space-4), env(safe-area-inset-right));pointer-events:none;flex-direction:column;justify-content:flex-end;align-items:flex-end;display:flex;position:fixed}.rp-floating-frame:after{content:"";flex:0 1 var(--rp-panel-y,0px);min-block-size:0}.rp-floating-frame[data-anchor=top]{justify-content:flex-start}.rp-floating-frame[data-anchor=top]:after{order:-1}.rp-floating-panel{pointer-events:auto;inline-size:min(var(--rp-panel-width), 100%);max-block-size:min(var(--rp-panel-height,480px), 100%);padding:var(--rp-space-4);border:1px solid var(--rp-popover-border);border-radius:var(--rp-r-lg);background:var(--rp-surface);box-shadow:var(--rp-elevated);gap:var(--rp-space-3);flex-direction:column;flex:none;margin-inline-end:var(--rp-panel-x,0px);display:flex;position:relative}.rp-floating-frame[data-anchor=top] .rp-widget-collapse>svg{rotate:180deg}.rp-floating-frame[data-anchor=top] .rp-widget-collapse[aria-expanded=false]>svg{rotate:none}.rp-floating-panel>.rp-widget-panel,.rp-floating-panel .rp-widget-body{flex:auto}.rp-floating-panel>.rp-widget-panel{margin-block-end:calc(0px - var(--rp-space-4))}.rp-floating-panel>.rp-widget-panel>.rp-widget-body{border-end-end-radius:var(--rp-r-lg);border-end-start-radius:var(--rp-r-lg)}.rp-panel-head{flex:none;position:relative}.rp-panel-head>:not(.rp-panel-move){pointer-events:none;position:relative}.rp-panel-head :is(button,a,input,[role=button]){pointer-events:auto}.rp-panel-move{inset-block:calc(0px - var(--rp-space-4)) 0;inset-inline:calc(0px - var(--rp-space-4));cursor:move;touch-action:none;background:0 0;border:0;padding:0;position:absolute}.rp-panel-resize{z-index:1;touch-action:none;background:0 0;border:0;padding:0;position:absolute;inset:-1px}.rp-panel-resize[data-inline=start]{inset-inline-end:auto}.rp-panel-resize[data-inline=end]{inset-inline-start:auto}.rp-panel-resize[data-block=start]{inset-block-end:auto}.rp-panel-resize[data-block=end]{inset-block-start:auto}.rp-panel-resize:is([data-inline],[data-block]){inline-size:var(--rp-space-2);block-size:var(--rp-space-2);cursor:ew-resize}.rp-panel-resize:not([data-inline]){cursor:ns-resize;inline-size:auto}.rp-panel-resize:not([data-block]){block-size:auto}@media (pointer:coarse){.rp-panel-resize[data-inline]:not([data-block]){inline-size:var(--rp-space-4)}.rp-panel-resize[data-block]:not([data-inline]){block-size:var(--rp-space-4)}}.rp-panel-resize[data-inline][data-block]{z-index:2;inline-size:var(--rp-space-4);block-size:var(--rp-space-4);cursor:nwse-resize}.rp-panel-resize[data-inline=start][data-block=end],.rp-panel-resize[data-inline=end][data-block=start],.rp-panel-resize[data-inline=start][data-block=start]:dir(rtl),.rp-panel-resize[data-inline=end][data-block=end]:dir(rtl){cursor:nesw-resize}.rp-panel-resize[data-inline=start][data-block=end]:dir(rtl),.rp-panel-resize[data-inline=end][data-block=start]:dir(rtl){cursor:nwse-resize}:is(.rp-panel-resize,.rp-panel-move):focus-visible{outline:2px solid var(--rp-accent);outline-offset:-2px}.rp-panel-move:focus-visible{border-radius:var(--rp-r-lg) var(--rp-r-lg) 0 0}:root[data-panel-gesture]{-webkit-user-select:none;user-select:none}.rp-floating-panel[data-docking]{outline:2px solid var(--rp-accent)}.rp-floating-panel[data-edge]{transition:translate var(--rp-duration-panel) var(--rp-ease), visibility 0s}.rp-floating-panel[data-tucked]{translate:var(--rp-edge-shift);visibility:hidden;transition:translate var(--rp-duration-panel) var(--rp-ease), visibility 0s linear var(--rp-duration-panel)}.rp-edge-handle{box-sizing:border-box;inline-size:max-content;block-size:var(--rp-control);padding:0 var(--rp-space-2);border:1px solid var(--rp-popover-border);font:inherit;color:var(--rp-text);text-align:start;background:var(--rp-surface);box-shadow:var(--rp-elevated);pointer-events:auto;align-items:center;display:flex;position:fixed}.rp-edge-handle .rp-widget-speed:before{content:attr(data-reserve);block-size:0;visibility:hidden;padding-inline-start:calc(var(--rp-line-caption) + var(--rp-space-1))}.rp-edge-handle:is(:not([data-edge]),[data-out]){visibility:hidden}.rp-edge-handle:is([data-edge=left],[data-edge=right]){top:var(--rp-edge-at)}.rp-edge-handle:is([data-edge=top],[data-edge=bottom]){left:var(--rp-edge-at)}.rp-edge-handle[data-edge=right]{border-radius:var(--rp-r-lg) 0 0 var(--rp-r-lg);border-right:0;right:0}.rp-edge-handle[data-edge=left]{border-radius:0 var(--rp-r-lg) var(--rp-r-lg) 0;border-left:0;left:0}.rp-edge-handle[data-edge=top]{border-radius:0 0 var(--rp-r-lg) var(--rp-r-lg);border-top:0;top:0}.rp-edge-handle[data-edge=bottom]{border-radius:var(--rp-r-lg) var(--rp-r-lg) 0 0;border-bottom:0;bottom:0}.rp-edge-handle:focus-visible{outline:2px solid var(--rp-accent);outline-offset:-2px}.rp-widget-panel{flex-direction:column;min-block-size:0;min-inline-size:0;display:flex;position:relative}.rp-widget-body{overscroll-behavior:contain;scrollbar-gutter:stable;min-block-size:0;min-inline-size:0;scroll-padding-block:var(--rp-space-4);padding:0;position:relative;overflow:auto}.rp-widget-body-content{min-inline-size:0;padding:var(--rp-space-1) var(--rp-sidebar-padding) var(--rp-space-4)}.rp-widget{gap:var(--rp-space-2);overflow-wrap:normal;font-variant-numeric:tabular-nums;flex-direction:column;min-inline-size:0;display:flex}.rp-widget-label{margin:0}.rp-widget>:is(.rp-cluster,.rp-btn){align-self:flex-start;max-inline-size:100%}.rp-widget-row{justify-content:space-between;align-items:center;gap:var(--rp-space-2);min-inline-size:0;display:flex}.rp-widget-row>.rp-kv-label{flex:none}.rp-widget-row>.rp-btn{min-inline-size:0}.rp-widget-header,.rp-widget-actions{align-items:center;gap:var(--rp-space-2);min-inline-size:0;display:flex}.rp-widget-backend{flex:none}.rp-widget-actions{flex:none;margin-inline-start:auto}.rp-widget-speed{min-inline-size:0;font-size:var(--rp-text-xs);line-height:var(--rp-line-caption);white-space:nowrap;font-variant-numeric:tabular-nums;flex-direction:column;display:flex}.rp-widget-speed>span{align-items:center;gap:var(--rp-space-1);min-inline-size:0;display:flex}.rp-widget-speed-icon{flex:none;display:flex}.rp-widget-speed-icon>svg{inline-size:var(--rp-line-caption);block-size:var(--rp-line-caption)}.rp-widget-speed-value{text-overflow:ellipsis;min-inline-size:0;overflow:hidden}.rp-widget-editor{container:rp-widget-editor/inline-size}.rp-widget-editor-grid{gap:var(--rp-space-6);grid-template-columns:minmax(0,1fr);align-items:start;display:grid}.rp-widget-collapse[aria-expanded=false]>svg{rotate:180deg}.rp-widget-gallery,.rp-widget-inspector,.rp-widget-canvas{gap:var(--rp-space-4);flex-direction:column;min-inline-size:0;display:flex}.rp-widget-gallery-list>.rp-widget-body-content{padding:var(--rp-space-1) var(--rp-space-1) var(--rp-space-6);gap:var(--rp-space-4);flex-direction:row;display:flex}.rp-widget-gallery-list .rp-widget-gallery-tile{flex:0 0 min(100%,320px);min-inline-size:min(100%,320px)}.rp-widget-gallery-list .rp-widget-gallery-frame{block-size:auto;max-block-size:200px;mask-image:none}.rp-widget-gallery-list .rp-widget-gallery-tile>.rp-cluster{margin-block-start:auto}.rp-widget-panel[data-more]>.rp-widget-body{mask-image:linear-gradient(to bottom, #000 calc(100% - var(--rp-space-4)), transparent)}.rp-widget-panel[data-kind=canvas]>.rp-widget-body{overflow:hidden}.rp-floating-panel.rp-widget-preview .rp-widget-body{margin-inline:calc(0px - max(var(--rp-sidebar-padding), var(--rp-sortable-gap) + var(--rp-focus-width)))}.rp-widget-panel[data-kind=canvas] .rp-widget-body-content{padding-block-start:calc(var(--rp-sortable-gap) + var(--rp-focus-width));padding-inline:max(var(--rp-sidebar-padding), var(--rp-sortable-gap) + var(--rp-focus-width))}.rp-widget-preview-space{padding:var(--rp-space-3)}.rp-widget-panel[data-kind=gallery]>.rp-widget-body{scrollbar-gutter:auto}.rp-widget-panel[data-kind=gallery][data-more]>.rp-widget-body{mask-image:linear-gradient(to right, #000 calc(100% - var(--rp-space-4)), transparent)}.rp-floating-panel.rp-widget-preview{inline-size:var(--rp-panel-width);--rp-sortable-gap:calc((var(--rp-space-2) + var(--rp-space-half)) / var(--rp-preview-scale));max-block-size:none;margin:0}.rp-floating-panel.rp-widget-preview>.rp-panel-resize[data-inline=end]{inline-size:calc(var(--rp-control) / var(--rp-preview-scale));place-items:center;margin-inline-end:calc(var(--rp-control) / -2 / var(--rp-preview-scale));display:grid}.rp-widget-preview>.rp-panel-resize:before{content:"";inline-size:calc(var(--rp-space-1) / var(--rp-preview-scale));block-size:calc(var(--rp-space-6) / var(--rp-preview-scale));border-radius:var(--rp-r-pill);background:var(--rp-subtle);box-shadow:0 0 0 calc(var(--rp-space-half) / var(--rp-preview-scale)) var(--rp-base)}.rp-widget-preview>.rp-panel-resize:is(:focus-visible,:active):before{background:var(--rp-accent)}@media (hover:hover) and (pointer:fine){.rp-widget-preview>.rp-panel-resize:hover:before{background:var(--rp-accent)}}.rp-widget-inspector{border-block-start:1px solid var(--rp-line);padding-block-start:var(--rp-space-4)}@container rp-widget-editor (width>=624px){.rp-widget-editor-grid{grid-template-rows:min-content 1fr;grid-template-columns:320px minmax(0,1fr)}.rp-widget-gallery{grid-row:1/3}.rp-widget-inspector{border-block-start:0;border-inline-start:1px solid var(--rp-line);grid-column:2;padding-block-start:0;padding-inline-start:var(--rp-space-4)}.rp-widget-editor-grid[data-three-columns]{grid-template-columns:320px minmax(0, var(--rp-panel-width)) minmax(240px, 1fr);grid-template-rows:auto}.rp-widget-editor-grid[data-three-columns]>.rp-widget-gallery{grid-row:auto}.rp-widget-editor-grid[data-three-columns]>.rp-widget-inspector{grid-column:3}.rp-widget-gallery-list>.rp-widget-body-content{flex-direction:column}.rp-widget-gallery-list .rp-widget-gallery-tile{flex-basis:auto;min-inline-size:0}.rp-widget-panel[data-kind=gallery]>.rp-widget-body{overflow:visible}.rp-widget-editor-grid[data-three-columns]>.rp-widget-canvas,.rp-widget-editor-grid[data-three-columns]>.rp-widget-inspector{position:sticky;inset-block-start:0}}.rp-widget-body-content .rp-kv .k,.rp-widget-body-content .rp-kv .v{overflow-wrap:normal;white-space:normal}.rp-side-dock{min-block-size:0;max-block-size:45%;padding-inline:var(--rp-space-3) var(--rp-space-2);flex-direction:column;flex:none;margin-block-start:var(--rp-space-4);margin-inline-end:calc(var(--rp-sidebar-inset-end) - var(--rp-sidebar-padding));display:flex;position:relative}.rp-side-dock>.rp-widget-header{cursor:default;flex:none;padding-inline:0}.rp-dock-title{font:inherit;margin:0}.rp-side-dock .rp-widget-actions{gap:0;margin-inline-end:calc(0px - var(--rp-space-2))}.rp-side-dock .rp-widget-actions .rp-btn.icon{inline-size:calc(var(--rp-space-2h) + var(--rp-space-2) * 2);color:inherit}.rp-side-dock .rp-widget-actions svg{inline-size:var(--rp-space-2h);block-size:var(--rp-space-2h)}.rp-side-dock .rp-widget-collapse[aria-expanded=false]>svg{rotate:calc(-90deg * var(--rp-dir))}.rp-side-dock .rp-widget-body-content{inline-size:var(--rp-sidebar-content-width);padding-block-start:var(--rp-space-2);padding-inline:0}.rp-side-dock .rp-widget-cell[data-size=small]{grid-column:1/-1}.rp-side-dock .rp-kv .v{text-align:end}.rp-side-dock .rp-legend{align-items:stretch;gap:var(--rp-space-2);flex-direction:column}.rp-side-dock .rp-legend b{margin-inline-start:auto}.rp-widget>.rp-cluster:has(>.rp-segfit[data-fill]){align-self:stretch}.rp-segfit[data-fill]+.rp-btn,.rp-segfit[data-fill]+.rp-tipwrap>.rp-btn{flex:1 0 auto;justify-content:center}:is(.rp-floating-panel,.rp-drawer) .rp-widget-body{margin-inline:calc(0px - var(--rp-sidebar-padding))}.rp-drawer>.rp-dialog>.rp-widget-panel{margin-block-end:calc(0px - var(--rp-space-6))}.rp-drawer>.rp-dialog>.rp-widget-panel>.rp-widget-body>.rp-widget-body-content{padding-block-end:calc(var(--rp-space-6) + env(safe-area-inset-bottom,0px))}.rp-side-dock .rp-widget-body{margin-inline-end:calc(0px - var(--rp-space-2) - var(--rp-sidebar-inset-end))}.rp-side-dock[data-sized]{block-size:var(--rp-dock-height);max-block-size:80%}.rp-dock-edge{block-size:var(--rp-space-4);position:absolute;inset-block-start:calc(0px - var(--rp-space-4));inset-inline:0}.rp-dock-edge>.rp-panel-resize{block-size:100%;inset:0}.rp-dock-edge>.rp-panel-resize:after{content:"";inset-inline:var(--rp-space-3) var(--rp-space-2);border-block-start:1px solid #0000;position:absolute;inset-block-start:50%}.rp-dock-edge>.rp-panel-resize:focus-visible:after{border-color:var(--rp-accent)}@media (hover:hover) and (pointer:fine){.rp-dock-edge>.rp-panel-resize:hover:after{border-color:var(--rp-accent)}}.rp-side-dock>.rp-widget-panel{flex:auto;min-block-size:0}.rp-side-dock .rp-version{height:auto;min-height:var(--rp-control);padding-block:var(--rp-space-1);white-space:normal;text-align:start;flex:none;padding-inline:0}.rp-side-dock .rp-version-text{text-overflow:clip;overflow:visible}@keyframes rp-dock-in{0%{opacity:0;translate:var(--rp-dock-from)}}:is(.rp-side-dock,.rp-floating-panel)[data-arriving]{animation:rp-dock-in var(--rp-duration-panel) var(--rp-ease-out)}.rp-side:has([data-arriving]){overflow:hidden}.rp-widget-grid{grid-template-columns:repeat(2,minmax(64px,1fr));grid-auto-flow:row;align-items:start;gap:16px 8px;min-inline-size:0;display:grid}.rp-widget-cell{grid-column:span 2;min-inline-size:0}.rp-widget-cell[data-size=small]{grid-column:span 1}.rp-widget-cell[data-size=large]{grid-row:span 2}
diff --git a/luci-app-honk/root/etc/honk/doona/assets/activity-D06xJ7oH.js b/luci-app-honk/root/etc/honk/doona/assets/activity-D06xJ7oH.js
new file mode 100644
index 000000000..d737c9757
--- /dev/null
+++ b/luci-app-honk/root/etc/honk/doona/assets/activity-D06xJ7oH.js
@@ -0,0 +1,2 @@
+const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./AreaChart-8u_BHC3w.js","./vendor-react-64fcanlc.js","./_commonjsHelpers-CXUWDbkB.js","./index-BgFj_VXE.js","./index-h-bbwFHc.css","./format-s2EANuUb.js","./AreaCurve-DQSHOSpG.js","./array-C0VuvQyb.js","./logs-BxISynQ4.js","./Select-CkiGmyVC.js","./Sparkline-B6w2i-1G.js","./Donut-ICRrmfL0.js","./Editors-CF-H0sca.js","./GridList-BUQihjaB.js","./useGridSelectionCheckbox-BxnCShqN.js","./Delete-DA-ArqRQ.js","./Editors-BWyc5snq.css","./index-D3-KABFr.js","./geodata-X0pHz03D.js","./auth-9NIU4RkK.js","./auth-B7tMStu6.js"])))=>i.map(i=>d[i]);
+import{r as e,j as t,a as n}from"./vendor-react-64fcanlc.js";import{i as a,s as r,q as s,u as o,b as i,a as l,r as c,c as d,d as u,L as m,e as p,f as h,g as f,h as g,j as b,n as x,k as v,o as y,w,l as j,m as k,p as _,t as M,v as N,x as S,y as C,z as A,A as L,B as P,C as $,R,D as E,I as O,E as z,F as T,G as D,_ as I,N as H,T as q,H as B,J as F,K as W,M as G,O as U,P as V,Q as K,S as Z,U as J,V as X,W as Y,X as Q,Y as ee,Z as te,$ as ne,a0 as ae,a1 as re,a2 as se,a3 as oe,a4 as ie,a5 as le,a6 as ce,a7 as de,a8 as ue,a9 as me,aa as pe,ab as he,ac as fe,ad as ge,ae as be,af as xe,ag as ve,ah as ye,ai as we,aj as je,ak as ke,al as _e,am as Me,an as Ne,ao as Se,ap as Ce,aq as Ae,ar as Le,as as Pe,at as $e,au as Re,av as Ee,aw as Oe,ax as ze,ay as Te,az as De,aA as Ie,aB as He,aC as qe,aD as Be,aE as Fe,aF as We,aG as Ge,aH as Ue,aI as Ve,aJ as Ke,aK as Ze,aL as Je,aM as Xe,aN as Ye,aO as Qe,aP as et,aQ as tt,aR as nt,aS as at,aT as rt,aU as st,aV as ot,aW as it,aX as lt,aY as ct,aZ as dt,a_ as ut,a$ as mt,b0 as pt,b1 as ht,b2 as ft,b3 as gt,b4 as bt,b5 as xt,b6 as vt,b7 as yt,b8 as wt,b9 as jt,ba as kt,bb as _t,bc as Mt,bd as Nt,be as St,bf as Ct,bg as At,bh as Lt,bi as Pt,bj as $t,bk as Rt,bl as Et,bm as Ot,bn as zt,bo as Tt,bp as Dt,bq as It,br as Ht,bs as qt,bt as Bt,bu as Ft,bv as Wt,bw as Gt,bx as Ut,by as Vt,bz as Kt,bA as Zt,bB as Jt}from"./index-BgFj_VXE.js";import{W as Xt,S as Yt,u as Qt,e as en,l as tn,a as nn,b as an,c as rn,d as sn,C as on,$ as ln,f as cn,g as dn,M as un}from"./logs-BxISynQ4.js";import{f as mn,a as pn,b as hn,l as fn,c as gn,d as bn,e as xn,g as vn}from"./format-s2EANuUb.js";const yn={blockAds:!1,blockQuic:!0,networkManagerDirect:!0},wn=["# NetworkManager","pname(NetworkManager) -> direct"],jn=["# dae presets: the LAN and multicast stay off the proxy","dip(224.0.0.0/3, 'ff00::/8') -> direct","dip(geoip:private) -> direct"],kn=["# Block UDP/443","l4proto(udp) && dport(443) -> block"],_n=[...wn,...jn,...kn],Mn=["# Ads","domain(geosite:category-ads-all) -> block"],Nn=["# Google China services and mainland games","domain(geosite:google-cn, geosite:category-games@cn) -> direct"],Sn=["# Mainland China","domain(geosite:cn) -> direct","dip(geoip:cn) -> direct"],Cn=e=>["# Telegram",`domain(geosite:telegram) -> ${e}`,`dip(geoip:telegram) -> ${e}`],An=e=>["# Overseas media",`domain(geosite:youtube, geosite:netflix, geosite:disney, geosite:hbo, geosite:primevideo, geosite:twitch, geosite:spotify) -> ${e}`],Ln=e=>["# GFW list",`domain(geosite:gfw) -> ${e}`],Pn="filter: !name('direct', 'block')",$n=(e,t,n,a=n[0])=>({name:e,label:t,lines:[`filter: group(${n.map(s).join(", ")})`,Pn,"policy: select",`default: ${s(a)}`]}),Rn=(e,t,n,a,r)=>({name:e,label:t,flag:n,lines:[`filter: name(regex: ${s(a)})${r?` && !name(regex: ${s(r)})`:""}`,"policy: min_moving_avg"]}),En={proxy:"rule.template.group.proxy",auto:"rule.template.group.auto",hk:["rule.template.group.hk","🇭🇰","港|HK|Hong Kong|HongKong"],jp:["rule.template.group.jp","🇯🇵","日|JP|Japan|Tokyo"],us:["rule.template.group.us","🇺🇸","美|US|United States|America"],tw:["rule.template.group.tw","🇹🇼","台|臺|TW|Taiwan"],sg:["rule.template.group.sg","🇸🇬","新加坡|獅城|狮城|SG|Singapore"],kr:["rule.template.group.kr","🇰🇷","韓|韩|KR|Korea"],cn:["rule.template.group.cn","🇨🇳",String.raw`(?i)回国|回國|中国|中國|大陆|大陸|(?:^|[^A-Za-z])(?:China|Mainland|CN)(?:[^A-Za-z]|$)`,String.raw`(?i)香港|澳门|澳門|台湾|台灣|臺灣|(?:^|[^A-Za-z])(?:HK|MO|TW)(?:[^A-Za-z]|$)|Hong ?Kong|Macau|Macao|Taiwan`],telegram:"rule.template.group.telegram",media:"rule.template.group.media",apple:"rule.template.group.apple",ai:"rule.template.group.ai",youtube:"rule.template.group.youtube",netflix:"rule.template.group.netflix",bahamut:"rule.template.group.bahamut"},On=$n("proxy",En.proxy,["auto"]),zn={name:"auto",label:En.auto,lines:[Pn,"policy: min_moving_avg"]},Tn=["hk","jp","us","tw","sg","kr"].map(e=>Rn(e,En[e][0],En[e][1],En[e][2])),Dn=[...Tn,Rn("cn",...En.cn)],In=(e,t,n=["proxy","auto"],a)=>$n(e,t,n,a),Hn={global:{rules:[..._n],fallback:"{group}",groups:[]},bypass:{rules:[..._n,...Nn,...Sn],fallback:"{group}",groups:[]},gfw:{rules:[..._n,...Cn("{group}"),...Ln("{group}")],fallback:"direct",groups:[]},homebound:{rules:[..._n,"# Mainland China","domain(geosite:cn) -> cn","dip(geoip:cn) -> cn"],fallback:"direct",groups:[Dn.at(-1)]},single:{rules:[..._n,...Nn,...Cn("proxy"),...An("proxy"),...Ln("proxy"),...Sn],fallback:"proxy",groups:[On,zn]},services:{rules:[..._n,...Nn,"# Microsoft","domain(geosite:microsoft) -> direct","# Apple","domain(geosite:apple) -> apple",...Cn("telegram"),...An("media"),...Ln("proxy"),...Sn],fallback:"proxy",groups:[On,zn,In("telegram",En.telegram),In("media",En.media),In("apple",En.apple)]},regions:{rules:[..._n,...Nn,"# Microsoft","domain(geosite:microsoft) -> direct","# Apple","domain(geosite:apple) -> direct",...Cn("telegram"),"# OpenAI","domain(geosite:openai) -> ai","# NetEase Music","domain(geosite:netease) -> direct","# Games","domain(geosite:category-games) -> direct","# YouTube","domain(geosite:youtube) -> youtube","# Netflix","domain(geosite:netflix) -> netflix","# Bahamut","domain(geosite:bahamut) -> bahamut","# Bilibili","domain(geosite:bilibili) -> direct",...An("media"),...Ln("proxy"),...Sn],fallback:"proxy",groups:[$n("proxy",En.proxy,["auto",...Tn.map(e=>e.name)]),zn,...Tn,In("telegram",En.telegram,["proxy","auto",...Tn.map(e=>e.name)]),In("ai",En.ai,["proxy","auto",...Tn.map(e=>e.name)]),In("youtube",En.youtube,["proxy","auto",...Tn.map(e=>e.name)]),In("netflix",En.netflix,["proxy","auto",...Tn.map(e=>e.name)]),In("bahamut",En.bahamut,["tw","proxy","auto"]),In("media",En.media,["proxy","auto",...Tn.map(e=>e.name)])]}};function qn(e,t){return`${e.flag?e.flag+" ":""}${t(e.label)}`}function Bn(e,t={}){const{blockAds:n,blockQuic:a,networkManagerDirect:r}={...yn,...t};return[...r?wn:[],...jn,...a?kn:[],...n?Mn:[],...Hn[e].rules.slice(_n.length)]}function Fn(e){const{blocks:t,tokens:n}=r(e),a=[];for(const r of t.filter(e=>"routing"===e.name)){if(r.children.length)return null;let t=-1,s=0;for(const i of n){if(i.from<=r.open||i.from>=r.close||"comment"===i.kind)continue;const n=e.slice(i.from,i.to);i.line!==t&&0===s&&a.push([]),t=i.line,a.at(-1).push(..."quoted"===i.kind?[s?o(n):n]:n.split(/(&&|\|\||!)/).filter(Boolean)),"symbol"===i.kind&&"("===n?s++:"symbol"===i.kind&&")"===n&&(s=Math.max(0,s-1))}}return a}const Wn="\0group",Gn=(e,t)=>Fn(["routing {",...Bn(e,t),`fallback: ${Hn[e].fallback}`,"}"].join("\n").replaceAll("{group}",Wn));function Un(e){const t=Fn(e);if(!t?.length)return null;for(const n of Object.keys(Hn))for(const e of[!1,!0])for(const r of[!0,!1])for(const s of[!0,!1]){const o={blockAds:e,blockQuic:r,networkManagerDirect:s},i=Gn(n,o);if(i.length!==t.length)continue;let l=null;if(i.every((e,n)=>{const r=t[n];return e.length===r.length&&e.every((e,t)=>e!==Wn?e===r[t]:!(a(r[t])||null!==l&&l!==r[t])&&(l=r[t],!0))}))return{template:n,group:l,...o}}return null}const Vn=["fallback",":","direct"];function Kn(e){const t=Fn(e);if(!t)return null;const{blocks:n}=r(e);let a=e;for(const r of[...n].reverse())a=a.slice(0,r.from)+"\n"+a.slice(r.to);const s=Fn("routing {\n"+a+"\n}");if(!s)return null;const o=[...t,...s].filter(e=>"include"!==e[0]);return[...o.filter(e=>"fallback"!==e[0]),...o.filter(e=>"fallback"===e[0])]}const Zn=[[...Gn("global",yn).slice(0,-1),Vn],[Vn],Kn("routing {\n pname(NetworkManager, systemd-resolved) && l4proto(udp) && dport(53) -> direct(must)\n dip(geoip: private) -> direct(must)\n domain(suffix: doubleclick.net) -> block\n domain(geosite: cn) -> direct\n domain(geosite: telegram) -> proxy\n include rules.dae\n fallback: auto\n}\n# Household exceptions, kept apart from config.dae.\n# The TV never leaves through a node.\nmac(aa:bb:cc:dd:ee:ff) && ipversion(4) -> direct\n\n# AI\ndomain(geosite: openai) -> proxy\nsip(10.0.0.0/24) && dport(25) -> block\n")];function Jn(e){const t=Kn(e);return!!t&&(!t.length||Zn.some(e=>t.length===e.length&&t.every((t,n)=>t.length===e[n].length&&t.every((t,a)=>t===e[n][a]))))}const Xn="proxy";const Yn="tls://1.1.1.1:853",Qn="udp://223.5.5.5:53";function ea(e){return e.some(e=>r(e).blocks.some(e=>"dns"===e.name))}function ta(e,t){const n=new Set(t),a=Hn[e].groups.filter(e=>!n.has(e.name)).map(e=>e.name);return a.length||t.length?a:[Xn]}function na(e,t,n,{dns:a=!1,t:o,...i}){const{blocks:l}=r(e),d=c(e),u=[],m=[];!function(e,t,n,a,r){const s=t.find(e=>"group"===e.name);if(!s&&n.length)r.push(["group {",...n,"}"].join("\n"));else if(s&&n.length){const t=e.lastIndexOf("\n",s.close-1)+1,r=!/^[ \t]*$/.test(e.slice(t,s.close));a.push({from:r?s.close:t,to:r?s.close:t,text:(r?"\n":"")+n.join("\n")+"\n"})}}(e,l,function(e,t,n){const a=new Set(e),r=Hn[t].groups.filter(e=>!a.has(e.name));return!r.length&&e.length?[]:r.length?r.flatMap(e=>[` # ${qn(e,n)}`,` ${e.name} {`,...e.lines.map(e=>" "+e)," }"]):[` ${Xn} {`,` ${Pn}`," policy: min_moving_avg"," }"]}([...d.map(e=>e.written),...n.map(e=>e.written)],t,o),u,m);return function(e,t,n,a){const r=e.filter(e=>"routing"===e.name);r.length?r.forEach((e,a)=>n.push({from:e.from,to:e.to,text:0===a?t:""})):a.push(t)}(l,function(e,t,n){const a=e??Xn,r=e=>" "+e.replaceAll("{group}",()=>a);return["routing {",...Bn(t,n).map(r),r(`fallback: ${Hn[t].fallback}`),"}"]}(d[0]?.written??n[0]?.written??null,t,i).join("\n"),u,m),a&&m.push(["dns {"," upstream {",` cloudflare: ${s(Yn)}`,` alidns: ${s(Qn)}`," }"," routing {"," request {"," qname(geosite:cn) -> alidns"," fallback: cloudflare"," }"," }","}"].join("\n")),function(e,t,n){let a=e;for(const r of t.sort((e,t)=>t.from-e.from))a=a.slice(0,r.from)+r.text+a.slice(r.to);return n.length&&(a=a.replace(/\n$/,"")+"\n\n"+n.join("\n\n")+"\n"),a}(e,u,m)}const aa=String.raw`\p{Alphabetic}\p{M}\p{Nd}\p{Pc}\p{Join_Control}`,ra={d:String.raw`\p{Nd}`,D:String.raw`\P{Nd}`,s:String.raw`\p{White_Space}`,S:String.raw`\P{White_Space}`,w:`[${aa}]`,W:`[^${aa}]`},[sa,oa,ia,la]=[`(?<=[${aa}])`,`(?"]=ca.end;const da={alnum:"0-9A-Za-z",alpha:"A-Za-z",ascii:String.raw`\x00-\x7F`,blank:String.raw`\t `,cntrl:String.raw`\x00-\x1F\x7F`,digit:"0-9",graph:"!-~",lower:"a-z",print:" -~",punct:String.raw`!-\/:-@\[-\`\{-~`,space:String.raw`\t\n\v\f\r `,upper:"A-Z",word:"0-9A-Za-z_",xdigit:"0-9A-Fa-f"},ua={a:7,f:12,t:9,n:10,r:13,v:11},ma=e=>/^[\w -]*$/.test(e)?e.replace(/[ _-]/g,"").toLowerCase():"",pa=e=>new Map(e.split(/\s+/).map(e=>[ma(e),e])),ha=pa("ASCII ASCII_Hex_Digit Alphabetic Any Assigned Bidi_Control Bidi_Mirrored Case_Ignorable Cased Changes_When_Casefolded\n Changes_When_Casemapped Changes_When_Lowercased Changes_When_Titlecased Changes_When_Uppercased Dash Default_Ignorable_Code_Point Deprecated Diacritic Emoji\n Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extended_Pictographic Extender Grapheme_Base Grapheme_Extend Hex_Digit\n IDS_Binary_Operator IDS_Trinary_Operator ID_Continue ID_Start Ideographic Join_Control Logical_Order_Exception Lowercase Math Noncharacter_Code_Point\n Pattern_Syntax Pattern_White_Space Quotation_Mark Radical Regional_Indicator Sentence_Terminal Soft_Dotted Terminal_Punctuation Unified_Ideograph Uppercase\n Variation_Selector White_Space XID_Continue XID_Start"),fa=pa("C Other Cc Control Cf Format Cn Unassigned Co Private_Use L Letter LC Cased_Letter Ll Lowercase_Letter Lm Modifier_Letter Lo\n Other_Letter Lt Titlecase_Letter Lu Uppercase_Letter M Mark Mc Spacing_Mark Me Enclosing_Mark Mn Nonspacing_Mark N Number Nd Decimal_Number Nl Letter_Number\n No Other_Number P Punctuation Pc Connector_Punctuation Pd Dash_Punctuation Pe Close_Punctuation Pf Final_Punctuation Pi Initial_Punctuation Po\n Other_Punctuation Ps Open_Punctuation S Symbol Sc Currency_Symbol Sk Modifier_Symbol Sm Math_Symbol So Other_Symbol Z Separator Zl Line_Separator Zp\n Paragraph_Separator Zs Space_Separator"),ga=pa("Adlam Ahom Anatolian_Hieroglyphs Arabic Armenian Avestan Balinese Bamum Bassa_Vah Batak Bengali Bhaiksuki Bopomofo Brahmi Braille\n Buginese Buhid Canadian_Aboriginal Carian Caucasian_Albanian Chakma Cham Cherokee Chorasmian Common Coptic Cuneiform Cypriot Cypro_Minoan Cyrillic Deseret\n Devanagari Dives_Akuru Dogra Duployan Egyptian_Hieroglyphs Elbasan Elymaic Ethiopic Garay Georgian Glagolitic Gothic Grantha Greek Gujarati Gunjala_Gondi\n Gurmukhi Gurung_Khema Han Hangul Hanifi_Rohingya Hanunoo Hatran Hebrew Hiragana Imperial_Aramaic Inherited Inscriptional_Pahlavi Inscriptional_Parthian\n Javanese Kaithi Kannada Katakana Kawi Kayah_Li Kharoshthi Khitan_Small_Script Khmer Khojki Khudawadi Kirat_Rai Lao Latin Lepcha Limbu Linear_A Linear_B Lisu\n Lycian Lydian Mahajani Makasar Malayalam Mandaic Manichaean Marchen Masaram_Gondi Medefaidrin Meetei_Mayek Mende_Kikakui Meroitic_Cursive\n Meroitic_Hieroglyphs Miao Modi Mongolian Mro Multani Myanmar Nabataean Nag_Mundari Nandinagari New_Tai_Lue Newa Nko Nushu Nyiakeng_Puachue_Hmong Ogham\n Ol_Chiki Ol_Onal Old_Hungarian Old_Italic Old_North_Arabian Old_Permic Old_Persian Old_Sogdian Old_South_Arabian Old_Turkic Old_Uyghur Oriya Osage Osmanya\n Pahawh_Hmong Palmyrene Pau_Cin_Hau Phags_Pa Phoenician Psalter_Pahlavi Rejang Runic Samaritan Saurashtra Sharada Shavian Siddham SignWriting Sinhala Sogdian\n Sora_Sompeng Soyombo Sundanese Sunuwar Syloti_Nagri Syriac Tagalog Tagbanwa Tai_Le Tai_Tham Tai_Viet Takri Tamil Tangsa Tangut Telugu Thaana Thai Tibetan\n Tifinagh Tirhuta Todhri Toto Tulu_Tigalari Ugaritic Vai Vithkuqi Wancho Warang_Citi Yezidi Yi Zanabazar_Square"),ba={script:["Script",ga],sc:["Script",ga],scriptextensions:["Script_Extensions",ga],scx:["Script_Extensions",ga],generalcategory:["General_Category",fa],gc:["General_Category",fa]};class xa extends Error{}function va(){throw new xa}const ya=(e,t)=>Object.hasOwn(e,t)?e[t]:void 0;function wa(e,t){const n=/^(.*?)(!=|[=:])(.*)$/.exec(e),a=ma(n?n[3]:e);let r=ha.get(a)??fa.get(a)??(ga.has(a)?`Script=${ga.get(a)}`:void 0);if(n){const[e,s]=ya(ba,ma(n[1]))??va();r=`${e}=${s.get(a)??va()}`,"!="===n[2]&&(t=!t)}return`\\${t?"P":"p"}{${r??va()}}`}function ja(e,t){const n=String.fromCodePoint(e);return e<32||127===e?`\\u{${e.toString(16)}}`:(t?/[\\\][{}()/|\-^$.*+?&!#%,:;<=>@`~]/:/[\\^$.*+?()[\]{}|/]/).test(n)?`\\${n}`:n}function ka(e){let t=e;const n=new Set;for(let u=/^\(\?([ims]+)\)/.exec(t);u;u=/^\(\?([ims]+)\)/.exec(t)){if(new Set(u[1]).size!==u[1].length)return null;for(const e of u[1])n.add(e);t=t.slice(u[0].length)}const a=[...t];let r=0;const s=(e=0)=>a[r+e],o=()=>a[r++]??va(),i=e=>a.slice(r,r+e.length).join("")===e,l=e=>{let t="";if("{"===s()){for(r++;"}"!==s();)t+=o();r++}else for(let a=0;a1114111||n>=55296&&n<=57343?va():n};function c(e){const t=o(),n=ya(ra,t);if(n)return{text:n};if("p"===t||"P"===t){if("{"!==s())return{text:wa(o(),"P"===t)};r++;let e="";for(;"}"!==s();)e+=o();return r++,{text:wa(e,"P"===t)}}const a=ya(ua,t);if(void 0!==a)return{cp:a};if("x"===t)return{cp:l(2)};if("u"===t)return{cp:l(4)};if("U"===t)return{cp:l(8)};if(!e){if("A"===t)return{text:String.raw`(?1?ya(ca,e):void 0)??va(),assertion:!0}}if("b"===t||"B"===t||"<"===t||">"===t)return{text:ca[t],assertion:!0}}return/^[\0-\x7f]$/.test(t)&&!/[0-9A-Za-z<>]/.test(t)?{cp:t.codePointAt(0)}:va()}function d(){const e="^"===s();e&&r++;const t=[[]],n=[];let l=!0;for(;;){if(void 0===s()&&va(),"]"===s()&&!l){r++;break}const e=["&&","--","~~"].find(i);if(e){!l&&"~~"!==e&&t.at(-1).length||va(),r+=2,n.push(e),t.push([]);continue}let u;if(l=!1,"["===s()){r++;const e=/^:(\^?)([a-z]+):\]/.exec(a.slice(r,r+12).join(""));e?(r+=e[0].length,u={text:`[${e[1]}${ya(da,e[2])??va()}]`}):u={text:d()}}else"\\"===s()?(r++,u=c(!0)):u={cp:o().codePointAt(0)};const m="-"===s()&&"]"!==s(1)&&"-"!==s(1);if(!("cp"in u)){m&&va(),t.at(-1).push(u.text);continue}if(!m){t.at(-1).push(ja(u.cp,!0));continue}r++,"["===s()&&va();const p="\\"===o()?c(!0):{cp:a[r-1].codePointAt(0)};(!("cp"in p)||p.cp`[${e.join("")}]`),m=n.reduce((e,t,n)=>`[${e}${t}${u[n+1]}]`,u[0]);return e?`[^${m}]`:m}try{return new RegExp(function e(t){const a=[];let i=[],l=!1;const u=(e,t)=>{const n=i.at(-1)??va();(n.quantified||t>1&&n.varies)&&va();const a=n.assertion?`(?:${n.text})`:n.text,o="?"===s();o&&r++,i[i.length-1]={text:`${a}${e}${o?"?":""}`,quantified:!0},l=!0};for(;;){const m=s();if(void 0!==m&&")"!==m&&"|"!==m)if(r++,"*"===m||"+"===m||"?"===m)u(m,"?"===m?1:1/0);else if("{"===m){let e="";for(;"}"!==s();)e+=o();r++;const t=/^\s*(\d+)\s*(?:(,)\s*(\d*)\s*)?$/.exec(e)??va();(Number(t[1])>1e3||Number(t[3])>1e3||t[3]&&Number(t[3])e.text).join("")),l||=a.length>1,i=[],void 0===m){t&&va();break}if(r++,")"===m){t||va();break}}}return{text:a.join("|"),varies:l}}(0).text,n.has("i")?"iv":"v")}catch{return null}}function _a(e){const t=e.startsWith("!"),n=t?e.slice(1).trim():e,a=n.startsWith("name(")?"name":n.startsWith("subtag(")?"subtag":null;if(!a||!n.endsWith(")"))return null;const r=[],s=[];for(const i of d(n.slice(a.length+1,-1),",")){const e=/^keyword:\s*/.exec(i),t=/^regex:\s*/.exec(i),n=o((e??t?i.slice((e??t)[0].length):i).trim());if(n)if(e)s.push(e=>e.includes(n));else if(t){const e=ka(n);if(!e)return null;s.push(t=>e.test(t))}else r.push(n),s.push(e=>e===n)}return s.length?{call:a,negated:t,exact:r,tests:s}:null}function Ma(e){const t=d(e,"&&").map(_a);return t.every(e=>null!==e)&&t.length?t:null}function Na(e){const t=e.map(Ma).filter(e=>null!==e);return t.length?e=>t.some(t=>(!a(e.name)||t.some(t=>"name"===t.call&&!t.negated&&t.exact.includes(e.name)))&&t.every(t=>(("subtag"!==t.call||null!==e.subscription_tag)&&t.tests.some(n=>n("name"===t.call?e.name:e.subscription_tag)))!==t.negated)):t=>0===e.length&&!a(t.name)}const Sa=(e,t)=>Na(e)(t),Ca=e=>/^https?:\/\/\S+$/.test(e.trim());function Aa(e){const t=e.trim(),n=/^\+?((?:\d+\.?\d*|\.\d+)(?:[eE][+-]?\d+)?)ms$/.exec(t);if(n)return Math.ceil(Number(n[1])/1e3);const a=/^\+?(\d+)([smh]?)$/.exec(t);return a?Number(a[1])*({s:1,m:60,h:3600}[a[2]]??1):null}function La(e){const t=e.toLowerCase();return!!["true","yes","1","on"].includes(t)||!["false","no","0","off"].includes(t)&&null}function Pa(e){if(!e)return null;try{return new URL(e).hostname||null}catch{return null}}function $a(e,t){const n=e.trim();return/^[\x20-\x7E]{0,256}$/.test(n)?t&&!u(n)?"config.unquotable":null:"nodes.agentInvalid"}const Ra=(e,t)=>t?e.slice(t.from,t.to):"";function Ea(e,t,n){const a=n.filter(e=>e.from>t.open&&e.frome.open===r.from);le.filter(e=>e.name===t).at(-1),d=t=>t?((e,t)=>t.length?1===t.length&&"quoted"===t[0].kind?o(Ra(e,t[0])):e.slice(t[0].from,t.at(-1).to):"")(e,n.filter(e=>e.from>=t.at.from&&e.to<=t.at.to)):null,u=function(e,t){const n=t[0];if("quoted"===n.kind)return":"!==Ra(e,t[1])?{tag:"",tagAt:null,value:t}:{tag:o(Ra(e,n)),tagAt:{from:n.from,to:n.to},value:t.slice(2)};const a=t.findIndex(t=>":"===Ra(e,t));if(a<=0||e.startsWith("//",t[a].to))return{tag:"",tagAt:null,value:t};const r={from:n.from,to:t[a-1].to};return{tag:e.slice(r.from,r.to).trim(),tagAt:r,value:t.slice(a+1)}}(e,a);if(r){const{tag:t,tagAt:a,value:s}=u;if(!a||s.length>1||1===s.length&&"quoted"!==s[0].kind)return"wrapper";const i=function(e,t,n){const a=[];for(const{parts:r,block:s}of Ea(e,t,n)){if(s)return null;if(r.length<2||":"!==Ra(e,r[1])||"symbol"===r[0].kind)continue;const t=r.slice(2),n=t.length?{from:t[0].from,to:t.at(-1).to}:{from:r[1].to,to:r[1].to};a.push({name:o(Ra(e,r[0])),value:e.slice(n.from,n.to),key:{from:r[0].from,to:n.to},at:n})}return a}(e,r,n);if(!i)return null;const m=(e=>({ua:c(e,"ua"),interval:c(e,"interval"),cache:c(e,"cache"),route:c(e,"route"),detour:c(e,"download_detour")}))(i),p={ua:d(m.ua),interval:m.interval?Aa(d(m.interval)):null,cache:m.cache?La(d(m.cache)):null,route:d(m.route)},h=i.map(({name:e,value:t})=>({name:e,value:t}));if(!s.length){const e=c(i,"url");return e?{...l,...p,route:p.route??d(m.detour),tag:t,naming:"tag",form:"block",url:d(e),options:h.filter(e=>"url"!==e.name),tagAt:a,urlAt:e.at,block:r,fields:i}:null}const f={from:s[0].from,to:s[0].to};return{...l,...p,tag:t,naming:"tag",form:"options",url:o(Ra(e,s[0])),options:h,tagAt:a,urlAt:f,block:r,fields:i}}const{tagAt:m,value:p}=u;let{tag:h}=u;if(!p.length)return null;const f=p[0];let g,b,x="short",v=null;if("quoted"!==f.kind)x="bare",g=e.slice(f.from,p.at(-1).to);else if(g=o(Ra(e,f)),p.length>1){const t=p[1],n=p.at(-1);if("("!==Ra(e,t)||")"!==Ra(e,n)||n.parens!==t.parens+1||p.slice(2,-1).some(e=>e.parens<=t.parens))return null;const a=e.slice(t.to,n.from),r=a.trim(),s=4===p.length&&"quoted"===p[2].kind;v=s?o(r):a,x="agent",b={from:t.to,to:n.from,quoted:s,open:t.from,close:n.to}}let y="tag";if(!m){const e=g.indexOf(":");"quoted"===f.kind&&-1!==e&&!g.startsWith("://",e)&&g.slice(e+1).includes("://")?(y="embedded",h=g.slice(0,e).trim(),g=g.slice(e+1).trim()):(y="host",h=g.includes("://")&&Pa(g)||"")}if(!h||!g)return null;const w={from:f.from,to:"bare"===x?p.at(-1).to:f.to};return{...l,tag:h,url:g,form:x,naming:y,ua:v,interval:null,cache:null,route:null,options:null===v?[]:[{name:"ua",value:v}],tagAt:m,urlAt:w,fields:[],agentAt:b}}function za(e){const{blocks:t,tokens:n}=r(e),a=[],s=t=>{for(const r of Ea(e,t,n)){const o=Oa(e,r,n);"wrapper"===o?s(r.block):o&&a.push({...o,container:t})}};for(const r of t.filter(e=>"subscription"===e.name))s(r);return a}function Ta(e){return za(e).map(({block:e,container:t,fields:n,agentAt:a,comment:r,...s})=>s)}const Da=e=>p(e)?e:s(e),Ia=(e,t)=>/^['"]/.test(t??"")||!p(e)?s(e):e,Ha=(e,t)=>t.sort((e,t)=>t.from-e.from).reduce((e,t)=>e.slice(0,t.from)+t.text+e.slice(t.to),e),qa=(e,t)=>e.lastIndexOf("\n",t-1)+1,Ba=(e,t)=>e.slice(qa(e,t),t).match(/^[ \t]*/)[0],Fa=(e,t)=>t.length>e.length&&t.startsWith(e)?t.slice(e.length):"";function Wa(e,t,n){for(const a of[n,...t]){const t=a.block&&a.block.line!==a.block.endLine?a.fields[0]:void 0,n=t?Fa(Ba(e,a.from),Ba(e,t.key.from)):"";if(n)return n}return(n.container?Fa(Ba(e,n.container.open),Ba(e,n.from)):"")||e.match(/\n([ \t]+)\S/)?.[1]||" "}const Ga=e=>e&&e%3600==0?e/3600+"h":e&&e%60==0?e/60+"m":`${e}s`;function Ua(e,t,n){const a=za(e),r=a.find(e=>e.tag===t);if(!r)throw new m("nodes.editMissing");const o={tag:n.tag??r.tag,url:n.url??r.url,ua:void 0===n.ua?r.ua:n.ua,interval:void 0===n.interval?r.interval:n.interval,cache:void 0===n.cache?r.cache:n.cache,route:void 0===n.route?r.route:n.route};if(o.tag!==t&&a.some(e=>e.tag===o.tag))throw new m("nodes.tagTaken");const i={tag:o.tag!==r.tag,url:o.url!==r.url,ua:o.ua!==r.ua,interval:void 0!==n.interval&&o.interval!==r.interval,cache:void 0!==n.cache&&o.cache!==r.cache,route:void 0!==n.route&&o.route!==r.route};if(!Object.values(i).some(Boolean))return e;const l=r.tagAt?e.slice(r.tagAt.from,r.tagAt.to):void 0,c=r.block;if(!c){const t="tag"!==r.naming||i.tag?Ia(o.tag):l,n=`${t}: ${s(o.url)}`;if(i.interval&&null!==o.interval||i.cache&&null!==o.cache||i.route&&null!==o.route){const n=Ba(e,r.from),i=n+Wa(e,a,r),l=[`${t}: {${r.comment?" "+e.slice(r.comment.from,r.comment.to):""}`,`${i}url: ${s(o.url)}`];return null!==o.ua&&l.push(`${i}ua: ${s(o.ua)}`),null!==o.interval&&l.push(`${i}interval: ${Ga(o.interval)}`),null!==o.cache&&l.push(`${i}cache: ${o.cache}`),null!==o.route&&l.push(`${i}route: ${Da(o.route)}`),l.push(`${n}}`),Ha(e,[{from:r.from,to:r.comment?.to??r.to,text:l.join("\n")}])}const c=[],u=null===o.ua?"":`(${r.agentAt?.quoted||(d=o.ua,!/^[^\s()#'"{}]([^()#'"{}]*[^\s()#'"{}])?$/.test(d))?s(o.ua):o.ua})`;return"tag"!==r.naming&&(i.tag||i.url)?c.push({from:r.from,to:r.urlAt.to,text:n}):(i.tag&&c.push({...r.tagAt,text:Ia(o.tag,l)}),(i.url||"bare"===r.form&&i.ua)&&c.push({...r.urlAt,text:s(o.url)})),i.ua&&(r.agentAt?c.push({from:r.agentAt.open,to:r.agentAt.close,text:u}):c.push({from:r.to,to:r.to,text:u})),Ha(e,c)}var d;if(c.line===c.endLine&&r.fields.length&&(i.ua||i.interval||i.cache||i.route)){const s=Ba(e,r.from),o=s+Wa(e,a,r),i=e.slice(c.open+1,c.close).trim();return Ua(Ha(e,[{from:c.open,to:c.to,text:`{\n${o}${i}\n${s}}`}]),t,n)}const u=[];i.tag&&u.push({...r.tagAt,text:Ia(o.tag,l)}),i.url&&u.push({...r.urlAt,text:s(o.url)});const p=r.fields[0],h=p?Ba(e,p.key.from):Ba(e,r.from)+Wa(e,a,r),f=qa(e,c.close),g=/^[ \t]*$/.test(e.slice(f,c.close)),b=[];let x=!1;const v=(t,n)=>{const a=r.fields.filter(e=>e.name===t),o="route"===t&&"block"===r.form?r.fields.filter(e=>"download_detour"===e.name):[];b.push(...o);for(const r of o){const t=qa(e,r.key.from),n=e.indexOf("\n",r.at.to);u.push({from:t,to:-1===n?r.at.to:n+1,text:""})}const i=a.at(-1);if(null===n){b.push(...a);for(const t of a){const n=qa(e,t.key.from),a=e.indexOf("\n",t.at.to);u.push({from:n,to:-1===a?t.at.to:a+1,text:""})}return}x=!0;const l=!!i&&/^['"]/.test(i.value),d="interval"===t?Ga(Number(n)):String(n),m="ua"===t?s(d):"route"===t?Da(d):l?`'${d}'`:d;i?u.push({...i.at,text:m}):g?u.push({from:f,to:f,text:`${h}${t}: ${m}\n`}):u.push({from:c.close,to:c.close,text:`\n${h}${t}: ${m}\n${Ba(e,r.from)}`})};if(i.ua&&v("ua",o.ua),i.interval&&v("interval",o.interval),i.cache&&v("cache",o.cache),i.route&&v("route",o.route),"options"===r.form&&!x&&b.length===r.fields.length){if(!b.reduce((t,n)=>t.replace(e.slice(qa(e,n.key.from),e.indexOf("\n",n.at.to)+1),""),e.slice(c.open+1,c.close)).trim())return Ha(e,[...u.filter(e=>e.from/^[a-z][a-z0-9+.-]*:\/\/\S+$/i.test(e.trim());function Ka(e){const{blocks:t,tokens:n}=r(e);return t.filter(e=>"node"===e.name).flatMap(t=>h(e,t).flatMap(t=>{if(t.block)return[];const a=n.filter(e=>e.from>=t.from&&e.to<=t.to&&"comment"!==e.kind);if(a.length<3||":"!==e.slice(a[1].from,a[1].to))return[];const r=e.slice(a[0].from,a[0].to),s=o(e.slice(a[2].from,a.at(-1).to));return Va(s)&&u(s)?[{name:o(r),link:s,from:a[0].from,to:a.at(-1).to,line:a[0].line+1,nameTo:a[0].to,linkFrom:a[2].from}]:[]}))}function Za(e,t){const{blocks:n,tokens:a}=r(e);return[...n.filter(e=>"group"===e.name).flatMap(n=>n.children.flatMap(n=>g(e,n,a).flatMap(n=>{if("default"===n.name||"final"===n.name)return o(n.value)===t?[{from:n.valueTo-n.value.length,to:n.valueTo}]:[];if("filter"!==n.name)return[];const r=a.filter(e=>e.from>=n.valueFrom&&e.to<=n.valueTo),s=[],i=t=>r[t]?e.slice(r[t].from,r[t].to):"";for(let e=0;e"dns"===e.name).flatMap(e=>e.children.filter(e=>"upstream"===e.name)).flatMap(n=>g(e,n,a).flatMap(n=>{const r=a.filter(e=>e.from>=n.valueFrom&&e.to<=n.valueTo&&"comment"!==e.kind),s=r.at(-1),i=r.at(-2);return s&&i&&"->"===e.slice(i.from,i.to)&&o(e.slice(s.from,s.to))===t?[{from:s.from,to:s.to}]:[]}))]}function Ja(e,t,n){const a=Ka(e).filter(e=>e.name===t.name);if(1!==a.length||a[0].link!==t.link)throw new m("nodes.editNodeMissing");if(!(n.name&&u(n.name)&&Va(n.link)&&u(n.link)))throw new m("config.unquotable");if(n.name!==t.name&&Ka(e).some(e=>e.name===n.name))throw new m("nodes.nameTaken");const r=a[0],o=[];return n.name!==t.name&&o.push({from:r.from,to:r.nameTo,text:f(n.name)}),n.link!==t.link&&o.push({from:r.linkFrom,to:r.to,text:s(n.link)}),n.name!==t.name&&o.push(...Za(e,t.name).map(e=>({...e,text:f(n.name)}))),o.sort((e,t)=>t.from-e.from).reduce((e,t)=>e.slice(0,t.from)+t.text+e.slice(t.to),e)}const Xa=(e,t)=>`${e}:${t}`;function Ya(e,t){const n=e.indexOf(":"),a=e.slice(0,n);return n>0&&t.includes(a)?{kind:a,value:e.slice(n+1)}:null}const Qa=(e,t)=>t&&e?b("rules",{tab:"list",rule:e}):void 0,er=(e,t,n=!1)=>b("nodes",{provider:x(e,t),q:e.name,node:n?e.id??null:null});function tr(e,t){const n=e?.find(e=>e.name===t)?.id;return n?w("",{group:n}):""}function nr(e,t,n){const a=t?.find(t=>t.name===e);return a?{label:a.name,href:b("policies",{group:a.id})}:{label:y(e,n),href:null}}const ar=["network","domain","dst_ip","dst_port","src_ip","src_port","pname"],rr=e=>w("",{tab:"trace",...Object.fromEntries(ar.map(t=>[t,e[t]||null]))});function sr(e){const t=new URLSearchParams(e),n=e=>t.get(e)??"";return n("domain")||n("dst_ip")?{network:"udp"===n("network")?"udp":"tcp",domain:n("domain"),dst_ip:n("dst_ip"),dst_port:n("dst_port"),src_ip:n("src_ip"),src_port:n("src_port"),pname:n("pname")}:null}const or=b("settings",{card:"runtime"});function ir(e,t=v){return e?Ya(e,t):null}function lr(e,t){const n=e.filter(e=>"main"===e.kind||"include"===e.kind);for(const a of n){const e=r(a.content).blocks.find(e=>e.name===t);if(e)return b("config",{tab:"source",source:a.id,line:String(e.line+1)})}return b("config",{tab:"source",source:n.find(e=>"main"===e.kind)?.id??null})}const cr=b("activity",{card:"mode"}),dr=b("overview",{card:"limits"}),ur=e=>b("nodes",{nodes:JSON.stringify(e)});const mr=e=>e.dataset.height??"standard",pr=e=>"short"!==mr(e)&&("tall"===mr(e)||"1"===getComputedStyle(e.querySelector(".rp-tile-body")).getPropertyValue("--rp-tile-stack").trim());const hr=".rp-control-card > .rp-row";function fr(e,t,n=420){const a=e=>e.reduce((e,t)=>e+t,0),r=a(e.map(e=>e.width)),s=a(e.map(e=>e.natural)),o=(r+e.length*t)/n,i=e.map(e=>Math.ceil((e.natural+t)/o-1e-6));if(s>r||a(i)>n)return;const l=e.map(e=>(e.natural+(r-s)*e.width/r+t)/o),c=l.map((e,t)=>Math.max(i[t],Math.floor(e)));for(let d=n-a(c);0!==d;d+=d>0?-1:1){const e=c.map((e,t)=>t).filter(e=>d>0||c[e]>i[e]).reduce((e,t)=>(l[t]-c[t])*Math.sign(d)>(l[e]-c[e])*Math.sign(d)?t:e);c[e]+=Math.sign(d)}return c}function gr(e){const t=()=>[...e.children].filter(e=>e instanceof HTMLElement&&e.classList.contains("rp-dashboard-cell")),n=new Set;let a=0;const r=(t,n)=>{e.dataset.measure="";const a=t.map(e=>Math.ceil(e.getBoundingClientRect().height));delete e.dataset.measure,t.forEach((e,t)=>e.style.setProperty("--rp-rows",String(a[t]+n))),e.dataset.packed="";const r=e.getBoundingClientRect(),s=t.map(e=>{const t=e.getBoundingClientRect();return{top:t.top-r.top,bottom:t.bottom-r.top,left:t.left,right:t.right,band:mr(e)}});return{heights:a,boxes:s}},s=t=>{delete e.dataset.fit;for(const e of t)for(const t of["--rp-span","--rp-shift","--rp-trim"])e.style.removeProperty(t)},o=()=>{const a=t(),o=[...e.querySelectorAll(hr)],i=Number.parseFloat(getComputedStyle(e).getPropertyValue("--rp-dash-gap"))||0;if(o.length&&(e.dataset.controls="probe"),((t,n)=>{s(t);const a=e=>e.querySelector(hr),r=getComputedStyle(e);if(!t.some(a)||"none"===r.getPropertyValue("--rp-dash-snap").trim())return;const o=e.getBoundingClientRect().width+Math.min(0,Number.parseFloat(r.marginInlineStart)||0),i=t.map(e=>e.getBoundingClientRect()),l=new Map;i.forEach((e,t)=>{const n=Math.round(e.top);l.set(n,[...l.get(n)??[],t])});const c=[...l.values()].filter(e=>e.length>1&&e.every(e=>!t[e].dataset.width&&"wide"!==t[e].dataset.size&&a(t[e]))&&Math.abs(Math.max(...e.map(e=>i[e].right))-Math.min(...e.map(e=>i[e].left))-o)<=1);if(!c.length)return;const d=new Map(c.flat().map(e=>[e,i[e].width-a(t[e]).getBoundingClientRect().width]));e.dataset.lines="probe";const u=new Map(c.flat().map(e=>[e,Math.ceil(a(t[e]).getBoundingClientRect().width+d.get(e))+1]));delete e.dataset.lines;for(const s of c){const a=fr(s.map(e=>({natural:u.get(e),width:i[e].width})),n);a&&(e.dataset.fit="",s.forEach((e,n)=>{t[e].style.setProperty("--rp-span",String(a[n])),t[e].style.setProperty("--rp-shift","0"),t[e].style.setProperty("--rp-trim","0")}))}})(a,i),o.length){const t=e=>e.map(e=>({natural:e.scrollWidth,width:e.clientWidth})).every(e=>e.natural<=e.width+.5)?"inline":"stacked";let n=t(o);"inline"===n&&(e.dataset.controls=n,n=t([...e.querySelectorAll(".rp-control-card > .rp-row > .rp-qlabel > .rp-truncate")])),e.dataset.controls=n}else delete e.dataset.controls;const d=a.filter(e=>e.querySelector(".rp-tile-body")),u=d.map(pr);d.forEach((e,t)=>e.dataset.tile=u[t]?"stacked":"inline");let{heights:m,boxes:p}=r(a,i);const h=(e=>{const t=e=>`${Math.round(e.top)} ${e.band}`,n=new Set(e.filter(e=>e.stacks).map(t));return e.map(e=>"short"!==e.band&&n.has(t(e))?"stacked":"inline")})(d.map((e,t)=>({top:p[a.indexOf(e)].top,stacks:u[t],band:mr(e)})));d.some((e,t)=>e.dataset.tile!==h[t])&&(d.forEach((e,t)=>e.dataset.tile=h[t]),({heights:m,boxes:p}=r(a,i))),function(e,t){return e.map(n=>{const a=e.filter(e=>e!==n&&e.top>=n.bottom&&e.leftn.left+1),r=Math.max(...e.filter(e=>e.band===n.band&&e.topn.top+.5).map(e=>e.bottom)),s=a.length?Math.min(r,...a.map(e=>e.top-t)):r;return Math.max(0,Math.round(s-n.bottom))})}(p,i).forEach((e,t)=>{e&&a[t].style.setProperty("--rp-rows",String(m[t]+i+e))});const f=new Set(a.flatMap(e=>{const t=function(e){let t=e.querySelector(".rp-dashboard-body")??e.lastElementChild;for(;t&&"contents"===getComputedStyle(t).display;)t=t.lastElementChild;return t}(e);return t?[t,...t.children]:[]}));for(const e of n)f.has(e)||(l.unobserve(e),n.delete(e));for(const e of f)n.has(e)||(l.observe(e),n.add(e));c.disconnect();for(const e of o)c.observe(e,{subtree:!0,childList:!0,characterData:!0});e.dispatchEvent(new Event("rp-packed"))},i=()=>{a||=requestAnimationFrame(()=>{a=0,o()})},l=new ResizeObserver(()=>i()),c=new MutationObserver(()=>i());l.observe(e);const d=new MutationObserver(o);return d.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-size","data-width","data-height"]}),o(),()=>{cancelAnimationFrame(a),l.disconnect(),d.disconnect(),c.disconnect(),delete e.dataset.packed,s(t())}}function br(t){e.useLayoutEffect(()=>{const e=t.current;return e?gr(e):void 0},[t])}const xr=({id:e,module:t,size:n,foot:a,width:r,height:s})=>({"data-instance":e,"data-module":t,"data-size":n,"data-foot":a,"data-width":r,"data-height":s}),vr=e=>e.some(e=>e.width)?"fraction":void 0;function yr({tile:e,visible:n,targetRef:a,children:r}){return t.jsx("div",{ref:a,className:"rp-dashboard-cell","data-visible":n,...xr(e),children:r})}function wr({profile:n,grid:a,children:r}){const s=e.useRef(null);return br(s),t.jsx("div",{ref:s,className:"rp-dash-section","data-profile":n,"data-grid":a,children:r})}const jr=["quick","metrics","traffic","details","extensions"],kr={quick:["mode","global","status"],metrics:["download","upload","connections","latency","cpu"],traffic:["history","outbounds"],details:["ranking","memory","notices"]},_r={history:"area",memory:"area",status:"facts"},Mr={mode:"lead",latency:"tail",cpu:"end",notices:"end"},Nr=e=>e.instance?void 0:Mr[e.id],Sr=e=>({id:j(e),module:e.id,size:e.size,foot:Nr(e),width:e.width,height:e.height}),Cr=e=>({...k(e),..._r[e]?{form:_r[e]}:{}}),Ar=e=>Object.values(kr).some(t=>t.includes(e.id))&&e.form===Cr(e.id).form,Lr=()=>$r([...Object.entries(kr).map(([e,t])=>[e,t.map(Cr)]),["extensions",[{...k("nodeLatency"),size:"wide"},k("connectionOutbounds"),k("dnsAnswers"),k("policyGroups")]]]),Pr=e=>e.sections.flatMap(e=>e.items);function $r(e){const t=new Map;for(const[a,r]of e)for(const e of r)_(e)&&!t.has(String(e.instance??e.id))&&t.set(String(e.instance??e.id),a);const n=M(e.flatMap(([,e])=>e),"dashboard");return{version:3,sections:jr.map(e=>({id:e,items:n.filter(n=>t.get(j(n))===e)}))}}function Rr(e,t){if(!t)return $r([["extensions",e]]);return $r(jr.map(t=>[t,e.filter(e=>(e=>_(e)&&void 0===e.instance?Object.entries(kr).find(([,t])=>t.includes(e.id))?.[0]??"extensions":"extensions")(e)===t)]))}const Er=(e,t)=>({...e,sections:e.sections.map(e=>({...e,items:e.items.flatMap(e=>t(e)??[])}))}),Or=N(S.dashboard,function(e){if(!_(e))return Lr();if(1===e.version&&Array.isArray(e.items))return Rr(e.items,!0===e.original);if(2!==e.version&&3!==e.version||!Array.isArray(e.sections))return Lr();const t=e.sections.filter(_);return $r(jr.map(e=>[e,t.find(t=>t.id===e&&Array.isArray(t.items))?.items??[]]))},Lr,(e,t,n)=>{try{const a=localStorage.getItem(S.activityGroup);if(!a)return e;const r=t?Er(e,e=>"latency"!==e.id||e.instance?e:{...e,group:a}):e;if(n(r))try{localStorage.removeItem(S.activityGroup)}catch{}return r}catch{return e}}),zr=Or.save,Tr=Or.useLayout,Dr={short:"dashboard.height.short",standard:"dashboard.height.standard",tall:"dashboard.height.tall"},Ir={short:.75,standard:1,tall:2},Hr=e=>"full"===e?1:Number(e[0])/Number(e[2]),qr=["speed","history","download","upload","connections","cpu","memory"],Br=["nodeLatency","ranking","notices","policyGroups","sourceHealth","outbounds","connectionOutbounds","connectionNetworks","dnsAnswers"];function Fr(e,t){return t?P.includes(e.id)||"history"===e.id||"memory"===e.id?"chart":"ranking"===e.id||"notices"===e.id?"rows":void 0:"area"===e.form||"sparkline"===e.form?qr.includes(e.id)?"chart":void 0:Br.includes(e.id)&&"donut"!==e.form&&"waffle"!==e.form?"rows":void 0}const Wr=(e,t)=>({...e,width:t,...t&&"small"===e.size?{size:"medium"}:{}}),Gr=e=>Ir[e.height??"standard"];function Ur(e,t,n){const a={label:n("dashboard.width"),value:e.width??"auto",options:[{value:"auto",label:n("dashboard.automaticWidth")},...C(e.id).map(e=>({value:e,label:"full"===e?n("dashboard.wide"):e,fraction:Hr(e)}))],set:t=>Wr(e,"auto"===t?void 0:t)},r=Fr(e,t);if("chart"===r)return{width:a,height:{label:n("dashboard.height"),value:e.height??"standard",options:A.map(e=>({value:e,label:n(Dr[e])})),set:t=>({...e,height:t})}};if("rows"!==r)return{width:a};const s=function(e,t){return t?"ranking"===e.id?5:void 0:"sourceHealth"!==e.id?"nodeLatency"===e.id?$(e.size,[3,6,12]):"ranking"===e.id?Math.min(5,$(e.size)):$(e.size):void 0}(e,t),o=void 0===s||!L.includes(s),i=L.map(e=>({value:String(e),label:n("dashboard.rows",{n:e}),n:e}));o&&i.push({value:"auto",label:void 0===s?n("dashboard.allRows"):n("dashboard.rows",{n:s}),n:s??1/0});const l=e.rows??s;return{width:a,height:{label:n("dashboard.height"),value:void 0===e.rows&&o?"auto":String(l),options:i.sort((e,t)=>e.n-t.n).map(({value:e,label:t})=>({value:e,label:t})),set:t=>({...e,rows:"auto"===t?void 0:Number(t)})}}}const Vr=(e,t)=>({...Wr(e,t.width),...t.height?{height:t.height}:{},...t.rows?{rows:t.rows}:{}});function Kr(e,t){const n=C(e.id),a=n.find(e=>"1/5"!==e),r=[...new Set([a,"1/2","full"])].filter(e=>n.includes(e)).map(e=>({width:e})),s=Fr(e,t);return"chart"===s&&r.push({width:"1/2",height:"tall"}),"rows"===s&&r.push({width:"1/2",rows:L.at(-1)}),r}const Zr=(e,t)=>{const n="full"===e.width?t("dashboard.wide"):e.width;return e.height?t("dashboard.preset",{width:n,height:t(Dr[e.height])}):e.rows?t("dashboard.preset",{width:n,height:t("dashboard.rows",{n:e.rows})}):n};function Jr({children:n}){return e.useContext(R)?t.jsx("span",{"aria-hidden":"true",children:"—"}):t.jsx(E,{children:n})}function Xr(e){return t.jsxs(O,{...e,children:[t.jsx("path",{fill:"currentColor",d:"M13.53 9.427c-.292-.292-.766-.294-1.06 0l-1.717 1.714V2.75c0-.414-.336-.75-.75-.75s-.75.336-.75.75v8.4L7.53 9.426c-.293-.293-.767-.293-1.06 0s-.293.767 0 1.06l2.998 2.998c.146.147.338.22.53.22.191 0 .384-.073.53-.22l3.002-2.998c.293-.292.293-.767 0-1.06"}),t.jsx("path",{fill:"currentColor",d:"M15.75 18H4.25C3.01 18 2 16.99 2 15.75v-2.021c0-.415.336-.75.75-.75s.75.335.75.75v2.021c0 .413.337.75.75.75h11.5c.413 0 .75-.337.75-.75v-2.021c0-.415.336-.75.75-.75s.75.335.75.75v2.021c0 1.24-1.01 2.25-2.25 2.25"})]})}function Yr(e){return t.jsxs(O,{...e,children:[t.jsx("path",{fill:"currentColor",d:"m13.527 10.491-3.002-2.998c-.293-.293-.767-.293-1.06 0l-2.998 2.998c-.293.293-.293.768 0 1.06.147.147.339.22.53.22s.384-.073.53-.22L9.25 9.83v8.18c0 .414.336.75.75.75s.75-.336.75-.75V9.837l1.718 1.715c.293.293.767.293 1.06 0s.293-.769 0-1.06"}),t.jsx("path",{fill:"currentColor",d:"M15.75 17h-2.799c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h2.799c.414 0 .75-.337.75-.75V4.25c0-.413-.336-.75-.75-.75H4.25c-.414 0-.75.337-.75.75v10.5c0 .413.336.75.75.75h2.726c.414 0 .75.336.75.75s-.336.75-.75.75H4.25C3.01 17 2 15.99 2 14.75V4.25C2 3.01 3.01 2 4.25 2h11.5C16.99 2 18 3.01 18 4.25v10.5c0 1.24-1.01 2.25-2.25 2.25"})]})}function Qr(e){return t.jsx(O,{...e,children:t.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.5 4h9A1.5 1.5 0 0 1 16 5.5v9a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 4 14.5v-9A1.5 1.5 0 0 1 5.5 4m.25 1.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-8.5a.25.25 0 0 0-.25-.25zM7.5 7.5h5v5h-5zM6.25 1.5h1.5V4h-1.5zM6.25 16h1.5v2.5h-1.5zM1.5 6.25H4v1.5H1.5zM16 6.25h2.5v1.5H16zM9.25 1.5h1.5V4h-1.5zM9.25 16h1.5v2.5h-1.5zM1.5 9.25H4v1.5H1.5zM16 9.25h2.5v1.5H16zM12.25 1.5h1.5V4h-1.5zM12.25 16h1.5v2.5h-1.5zM1.5 12.25H4v1.5H1.5zM16 12.25h2.5v1.5H16z"})})}const es=["base","surface","overlay","muted","subtle","text","on-text","love","gold","rose","pine","foam","iris","hl-low","hl-med","hl-high","accent","positive","negative","notice","info","line"];function ts(){const e=getComputedStyle(document.documentElement);return{...Object.fromEntries(es.map(t=>[t,e.getPropertyValue("--rp-"+t).trim()])),cat:[1,2,3,4,5,6,7,8].map(t=>e.getPropertyValue("--rp-c"+t).trim())}}let ns;function as(){const{family:e,flavour:t,scheme:n}=document.documentElement.dataset,a=`${e}/${t}/${n}`;return ns?.key!==a&&(ns={key:a,value:ts()}),ns.value}function rs(e){const t=new MutationObserver(e);return t.observe(document.documentElement,{attributes:!0,attributeFilter:["data-family","data-flavour","data-scheme"]}),()=>t.disconnect()}function ss(){return e.useSyncExternalStore(rs,as)}function os({swatch:e,label:n,value:a}){return t.jsxs("span",{className:"it",children:["string"==typeof e?t.jsx("i",{className:"sw",style:{background:e}}):e,n,void 0!==a&&t.jsxs(t.Fragment,{children:[" ",t.jsx("b",{children:a})]})]})}const is=e.lazy(()=>I(()=>import("./AreaChart-8u_BHC3w.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]),import.meta.url).then(e=>({default:e.AreaPlot}))),ls=e.lazy(()=>I(()=>import("./Sparkline-B6w2i-1G.js"),__vite__mapDeps([10,1,2,5,3,4,6,7,8,9]),import.meta.url).then(e=>({default:e.SparkPlot}))),cs=e.lazy(()=>I(()=>import("./Donut-ICRrmfL0.js"),__vite__mapDeps([11,1,2,3,4,7,8,9,5]),import.meta.url).then(e=>({default:e.DonutPlot})));function ds({series:e,fmt:n}){return t.jsx("div",{className:"rp-legend",children:e.map(e=>t.jsx(os,{swatch:e.color,label:e.label,value:n(e.values[e.values.length-1])},e.label))})}const us=e.memo(function(n){return t.jsx(z,{children:t.jsx(e.Suspense,{fallback:t.jsx("div",{style:n.fill?{minHeight:n.height??150,flex:"1 1 auto",width:"100%"}:{height:n.height??150,width:"100%"}}),children:t.jsx(is,{...n})})})}),ms=e.memo(function(n){return t.jsx(z,{children:t.jsx(e.Suspense,{fallback:t.jsx("div",{style:{height:n.height??32,width:"100%"}}),children:t.jsx(ls,{...n})})})}),ps=e.memo(function({label:n,rows:a,total:r,legendLimit:s}){const o=T(),i=e.useMemo(()=>a.map(e=>({...e,percent:null===e.value?"—":o("ui.percent",{n:e.value})})),[a,o]);return t.jsxs("div",{className:"rp-donut",children:[t.jsxs("div",{className:"box",children:[t.jsx(z,{children:t.jsx(e.Suspense,{fallback:null,children:t.jsx(cs,{label:n,rows:a})})}),t.jsx("div",{className:"center",children:r})]}),t.jsx("div",{className:"lst",children:i.slice(0,s).map(e=>t.jsxs("div",{className:"r",children:[t.jsx("i",{className:"dot",style:{background:e.color}}),t.jsx("span",{className:"n",children:e.href?t.jsx(D,{appearance:"link",href:e.href,children:e.name}):e.name}),t.jsx("span",{children:e.text}),t.jsx("span",{className:"p",children:e.percent})]},e.name))})]})},(e,t)=>e.label===t.label&&e.total===t.total&&e.legendLimit===t.legendLimit&&(e.rows===t.rows||e.rows.length===t.rows.length&&e.rows.every((e,n)=>{const a=t.rows[n];return e.name===a.name&&e.value===a.value&&e.text===a.text&&e.color===a.color&&e.href===a.href})));function hs({facts:e,lead:n}){return e.length?t.jsx("dl",{className:"rp-strip rp-facts"+(n?" rp-facts-lead":""),style:{"--facts":e.length,"--facts-rest":e.length-1},children:e.map((e,a)=>t.jsxs("div",{className:"rp-card"+(e.tone?" "+e.tone:"")+("name"===e.valueRole?" rp-fact-name":""),children:[t.jsxs("dt",{className:"rp-tile-head"+(e.tint?" rp-tint-"+e.tint:""),children:[e.icon,e.label]}),t.jsxs("dd",{className:"rp-tile-body",children:[e.nodeName?t.jsx(H,{name:e.value,className:"rp-big",cut:"name"===e.valueRole?void 0:n&&0===a?"start":void 0}):"name"===e.valueRole?t.jsx("span",{className:"rp-big",children:e.value}):t.jsx(q,{className:"rp-big",cut:n&&0===a?"start":void 0,children:e.value}),e.caption&&t.jsx(q,{className:"rp-fact-caption",children:e.caption})]})]},e.label))}):null}function fs(e,t,n){const a=t.getBoundingClientRect(),r=n&&"mouse"===e.pointerType?Math.floor(e.clientX):e.clientX,s=n&&"mouse"===e.pointerType?Math.floor(e.clientY):e.clientY,o=r-a.left,i=s-a.top;return n?{x:Math.round(o*n.width/a.width),y:Math.round(i*n.height/a.height),width:n.width}:{x:o,y:i,width:a.width}}function gs(t,n,a){const[r,s]=e.useState(null),[o,i]=e.useState(!1),[l,c]=e.useState(!1),d=null!==r&&r{i(!0),null===d&&t&&(s(0),c(!0),n(0))},onBlur:()=>{i(!1),c(!1),a()},onPointerLeave:()=>{o||a()},onKeyDown:e=>{if(!["ArrowRight","ArrowLeft","Enter","Escape"].includes(e.key))return;if(e.preventDefault(),"Escape"===e.key)return c(!1),void a();if("Enter"===e.key){if(null===d)return;return l?a():n(d),void c(!l)}const r=null===d?"ArrowRight"===e.key?0:t-1:d+("ArrowRight"===e.key?1:-1);r<0||r>=t||(s(r),c(!0),n(r))}}}function bs(){let e=null;const t=new Set;return{get:()=>e,set(n){var a,r;(a=e)===(r=n)||a&&r&&a.x===r.x&&a.y===r.y&&a.width===r.width&&a.label===r.label&&a.nodeName===r.nodeName&&a.bounds?.x===r.bounds?.x&&a.bounds?.y===r.bounds?.y&&a.bounds?.height===r.bounds?.height&&a.bounds?.width===r.bounds?.width&&a.lines.length===r.lines.length&&a.lines.every((e,t)=>e===r.lines[t])||(e=n,t.forEach(e=>e()))},subscribe:e=>(t.add(e),()=>{t.delete(e)})}}function xs(e){let t=e.parentElement;for(;t&&"visible"===getComputedStyle(t).overflow;)t=t.parentElement;const n=e.getBoundingClientRect();if(!t)return{x:-n.left,y:-n.top,width:document.documentElement.clientWidth,height:document.documentElement.clientHeight};const a=t.getBoundingClientRect();return{x:a.left+t.clientLeft-n.left,y:a.top+t.clientTop-n.top,width:t.clientWidth,height:t.clientHeight}}function vs(){const t=e.useRef(null),[n]=e.useState(bs),a=e.useCallback((e,a,r)=>{t.current&&n.set({...fs(e,t.current),lines:a,nodeName:r})},[n]),r=e.useCallback(()=>n.set(null),[n]);return{ref:t,tip:n,show:a,showAt:n.set,hide:r}}function ys({tip:n}){const a=e.useSyncExternalStore(n.subscribe,n.get);if(!a)return null;if(a.bounds)return t.jsx(js,{tip:a});const r=a.x>a.width-120?"end":a.x<120?"start":"middle";return t.jsx("div",{className:"rp-charttip "+r,style:{left:a.x,top:a.y},"aria-hidden":"true",children:a.lines.map((e,n)=>0===n?t.jsx("b",{children:a.nodeName?t.jsx(H,{name:e}):e},n):t.jsx("span",{children:e},n))})}const ws=e=>e;function js({tip:n}){const[a,r]=B(ws),[s,o]=e.useState(null);e.useEffect(()=>{const e=e=>{"Escape"===e.key&&o({x:n.x,y:n.y})};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[n.x,n.y]),!s||s.x===n.x&&s.y===n.y||o(null);const i=n.bounds,l=(e,t,n,a)=>{const r=e+10+t>n+a?e-t-10:e+10;return Math.max(n,Math.min(r,n+a-t))},c=l(n.x,r?.width??0,i.x,i.width),d=l(n.y,r?.height??0,i.y,i.height);return t.jsx("div",{ref:a,className:"rp-charttip-bounded",style:{visibility:!r||s?.x===n.x&&s?.y===n.y?"hidden":"visible",pointerEvents:"none",position:"absolute",top:0,left:0,transform:`translate(${c}px, ${d}px)`},children:t.jsxs("div",{role:"status","aria-live":"polite",className:"rp-boundedtip",style:{maxInlineSize:i.width},children:[t.jsx("p",{children:n.label}),t.jsx("ul",{children:n.lines.map((e,n)=>t.jsx("li",{children:e},n))})]})})}function ks(e,t){return e.length?e[Math.min(e.length-1,Math.max(0,Math.ceil(t/100*e.length)-1))]:null}function _s(e,[t,n]){const a=Math.min(n,Math.max(t,e));return(Math.log10(a)-Math.log10(t))/(Math.log10(n)-Math.log10(t))}function Ms(e){const t=e.reduce((e,t)=>e+t,0),n=e.some(e=>e/t*360<6)?Math.min(6,360/e.length):0;return e.map(a=>n+a/t*(360-e.length*n))}function Ns(e,t){return e<=0||t<=0?0:Math.max(1,Math.ceil(e/t*5))}const Ss=[10,30,60,120,300,600,900,1800,3600,7200,21600,43200,86400,172800,604800,2592e3].map(e=>1e3*e);function Cs(e,t,n=24){let a=Ss.find(a=>{return r=a,Math.floor(t/r)-Math.floor(e/r)+1<=n;var r});void 0===a&&(a=Math.ceil((t-e)/(n-1)/Ss[Ss.length-1])*Ss[Ss.length-1]);const r=[];for(let s=Math.floor(e/a)*a;s<=t;s+=a)r.push(s);return r}function As(e,t){return Math.log10(1+Math.max(0,Math.min(e,t)))/Math.log10(1+t)}function Ls(e,t,n,a,r){const s=Math.max(0,Math.min(e,Math.floor(-t/n)-r)),o=Math.max(s,Math.min(e,Math.ceil((a-t)/n)+r));return s===o&&e?s?{start:e-1,end:e}:{start:0,end:1}:{start:s,end:o}}function Ps(e,[t,n],[a,r]){const s=n===t?.5:(e-t)/(n-t);return a*(1-s)+r*s}function $s(e,t,n,a,r,s){if(!e.length)return[];const o=e.length>1&&e[1]{const a=t[n];if(!Number.isFinite(a)||!Number.isFinite(e[n]))return;let u=o*e[n];n===d?u=Math.min(u,l-a/2):0===n&&s&&(u=Math.max(u,i+a/2)),u-a/2l||(c.push({index:n,position:o*u}),s&&n!==d?i=u+a/2+r:l=u-a/2-r)};if(o<0&&(i=-a,l=-n),u(d),s)for(let m=0;m=0;m--)u(m);return c.sort((e,t)=>e.index-t.index)}function Rs(e,t){let n=0;for(let a=1;afunction(e){const t=e.map(e=>Math.max(e,1));if(!t.length)return[1,10];const n=10**Math.floor(Math.log10(Math.min(...t))),a=10**Math.ceil(Math.log10(Math.max(...t)));return[n,a>n?a:10*n]}(a.map(e=>e.value)),[a]),b=e.useMemo(()=>{const e=function([e,t],n=8){const a=[];for(let r=e;r<=t;r*=10)for(const e of[1,2,5])r*e<=t&&a.push(r*e);return a.length>n?a.filter(e=>Math.abs(Math.log10(e)-Math.round(Math.log10(e)))<1e-9):a}(g,u&&u<480?4:8);return null!==u&&u<360?e.filter((e,t)=>t%2==0):e},[g,u]),x=Math.max((u??0)-24,1),v=e=>Es+_s(e,g)*x,y=a.length>400?2:a.length>120?3:4,{ys:w,hidden:j}=e.useMemo(()=>u?function(e,t,n){const a=e.map((e,t)=>({x:e,index:t})).sort((e,t)=>e.x-t.x),r=[],s=new Array(e.length).fill(0),o=[],i=2*t,l=n-t;for(const{x:c,index:d}of a){const e=[];for(let t=r.length-1;t>=0&&c-r[t].xe.every(e=>(e.x-c)**2+(e.y-t)**2>=i*i-1e-6);let a=0;for(let r=0;!n(a);r++){const e=Math.ceil((r+1)/2)*(t/2);if(e>l){a=null;break}a=r%2?e:-e}if(s[d]=a,null===a){const e=o[o.length-1];e&&c-e.xEs+_s(e.value,g)*x),y,(i-36)/2):{ys:[],hidden:[]},[a,g,x,y,i,u]),k=Math.max(24,2*(Math.max(0,...w.map(e=>Math.abs(e??0)))+y+2)),_=k+36;return t.jsx("div",{className:"rp-swarm",ref:d,children:t.jsxs("div",{className:"rp-chart-hover",ref:m,onPointerLeave:f,children:[null!==u&&t.jsxs("svg",{width:u,height:_,role:"img","aria-label":n,"aria-describedby":c,children:[b.map(e=>{const n=v(e)>=u-Es-1;return t.jsxs("g",{children:[t.jsx("line",{className:"grid",x1:v(e),x2:v(e),y1:16,y2:_-18}),t.jsx("text",{className:"tick",x:n?u:v(e),y:_-4,textAnchor:n?"end":"middle",children:o(e)})]},e)}),a.map((e,n)=>null===w[n]||void 0===w[n]?null:t.jsx("circle",{cx:v(e.value),cy:16+k/2+w[n],r:y,fill:e.color,onPointerMove:t=>h(t,e.lines,e.nodeName)},e.id)),j.map(e=>t.jsxs("text",{className:"more",x:e.x,y:12,textAnchor:"middle",children:["+",e.count]},e.x)),r.map((e,n)=>{const a=v(e.value),r=a<96||n%2==1&&a=360&&t.jsx("text",{x:a,y:10,textAnchor:r?"start":"end",dx:r?4:-4,children:e.label})]},e.label)})]}),null!==u&&s.length>0&&t.jsx("div",{className:"rp-strips",children:s.map(e=>t.jsxs("div",{className:"rp-strip-row",children:[t.jsxs("div",{className:"rp-row",children:[t.jsx("span",{className:"name",children:e.label}),t.jsx("span",{className:"rp-note",children:e.detail})]}),t.jsxs("svg",{width:u,height:20,role:"img","aria-label":l("ui.valuePair",{label:e.label,value:e.detail}),children:[t.jsx("line",{className:"grid",x1:Es,x2:Es+x,y1:10,y2:10}),e.points.map(e=>t.jsx("circle",{cx:v(e.value),cy:10,r:4,fill:e.color,onPointerMove:t=>h(t,e.lines,e.nodeName)},e.id)),void 0!==e.mark&&t.jsx("line",{className:"median",x1:v(e.mark),x2:v(e.mark),y1:-2,y2:22})]})]},e.id))}),t.jsx(ys,{tip:p})]})})}function zs({label:n,shares:a,legendLimit:r}){const s=T(),o=F(),{ref:i,tip:l,show:c,hide:d}=vs(),u=e.useMemo(()=>{const e=function(e){const t=e.reduce((e,t)=>e+t,0);if(!t)return e.map(()=>0);const n=e.map(e=>e/t*100),a=n.map(Math.floor);let r=100-a.reduce((e,t)=>e+t,0);const s=n.map((e,t)=>({index:t,rest:e-a[t]})).sort((e,t)=>t.rest-e.rest||e.index-t.index);for(const{index:o}of s){if(!r)break;a[o]++,r--}for(let o=0;o0&&0===a[o]){const e=a.indexOf(Math.max(...a));a[e]--,a[o]=1}return a}(a.map(e=>e.count));return a.flatMap((t,n)=>Array.from({length:e[n]},()=>t))},[a]);return t.jsxs("div",{className:"rp-waffle rp-chart-hover",ref:i,onPointerLeave:d,children:[t.jsxs("div",{className:"body",children:[t.jsx("div",{className:"grid",role:"img","aria-describedby":o,"aria-label":G(n,a,s),children:u.map((e,n)=>t.jsx("span",{style:{background:e.color},onPointerMove:t=>c(t,[e.label,e.text])},n))}),t.jsx("ul",{className:"legend",children:a.slice(0,r).map(e=>t.jsxs("li",{children:[t.jsx("i",{className:"sw",style:{background:e.color}}),t.jsx("span",{children:e.label}),t.jsx("b",{children:e.text})]},e.id))})]}),t.jsx(ys,{tip:l})]})}function Ts({kind:e,tone:n}){return t.jsx("i",{className:"rp-marker "+e+(n?" "+n:""),"aria-hidden":"true"})}function Ds({rows:a,focused:r,render:s}){const o=e.useRef(null),i=e.useRef(()=>{}),[l,c]=e.useState({start:0,end:Math.min(a.length,40),height:0}),[d,u]=e.useState(!1);e.useLayoutEffect(()=>{let e=0;i.current=()=>{cancelAnimationFrame(e),e=0;const t=o.current;if(!t)return;const n=t.querySelector(":scope > .row")?.getBoundingClientRect().height;c(e=>{const r=n||e.height;if(!r)return e;const s={...Ls(a.length,t.getBoundingClientRect().top,r,innerHeight,10),height:r};return e.start===s.start&&e.end===s.end&&e.height===s.height?e:s})};const t=()=>{e||(e=requestAnimationFrame(i.current))},r=()=>n.flushSync(()=>u(!0)),s=()=>u(!1);return i.current(),addEventListener("scroll",t,{capture:!0,passive:!0}),addEventListener("resize",t),addEventListener("beforeprint",r),addEventListener("afterprint",s),()=>{cancelAnimationFrame(e),removeEventListener("scroll",t,{capture:!0}),removeEventListener("resize",t),removeEventListener("beforeprint",r),removeEventListener("afterprint",s)}},[a.length]);const m=function(e,t){if(t<0||t>=e.start&&te.id===r)),p=[];let h=0;const f=e=>e>h&&p.push(t.jsx("div",{style:{height:(e-h)*l.height},"aria-hidden":"true"},"gap-"+h));for(const e of m)f(e.start),p.push(...a.slice(e.start,e.end).map(s)),h=e.end;return f(a.length),t.jsx("div",{ref:o,onFocus:()=>i.current(),children:p})}function Is({label:n,groups:a,legend:r,max:s,fmt:o,limit:i=10,showAll:l}){const c=T(),d=F(),{ref:u,tip:m,show:p,hide:h}=vs(),[f,g]=e.useState(new Set),[b,x]=e.useState(null),v=e.useRef(null);e.useLayoutEffect(()=>{const e=v.current;if(!e||document.activeElement===e.element||document.activeElement&&document.activeElement!==document.body)return;const t=u.current?.querySelector(`[data-row="${CSS.escape(e.id)}"] a`);t&&(v.current={id:e.id,element:t},t.focus({preventScroll:!0}))});const y=[0,s/4,s/2,3*s/4,s],w=e=>Math.min(100,e/s*100),j=e=>{const n=e.range&&function([e,t],n){const a=e=>Math.min(100,Math.max(0,e/n*100));return{start:a(e),width:a(t)-a(e)}}(e.range,s);return t.jsxs("div",{className:"row","data-row":e.id,onPointerMove:t=>p(t,[e.label,...e.details()],e.nodeName),children:[t.jsx("span",{className:"name",children:e.href?t.jsx(D,{appearance:"link",href:e.href,children:e.nodeName?t.jsx(H,{name:e.label}):e.label}):e.nodeName?t.jsx(H,{name:e.label}):t.jsx(q,{children:e.label})}),t.jsxs("div",{className:"track",role:"img","aria-label":[e.label,...e.details()].join(c("ui.separator")),children:[y.map(e=>t.jsx("i",{className:"grid",style:{insetInlineStart:`${w(e)}%`}},e)),n&&n.width>0&&t.jsx("i",{className:"line",style:{insetInlineStart:`${n.start}%`,width:`${n.width}%`}}),null!==e.average&&t.jsx("span",{className:"at",style:{insetInlineStart:`${w(e.average)}%`},children:t.jsx(Ts,{kind:"ring"})}),t.jsx("span",{className:"at"+(e.value>s?" over":""),style:{insetInlineStart:`${w(e.value)}%`},children:t.jsx(Ts,{kind:"dot",tone:e.tone})})]}),t.jsx("span",{className:"value",children:e.text})]},e.id)};return t.jsxs("div",{className:"rp-markerplot rp-chart-hover",ref:u,onPointerLeave:h,onFocus:e=>{const t=e.target.closest("[data-row]")?.dataset.row;v.current=t?{id:t,element:e.target}:null,x(t??null)},onBlur:e=>{const t=e.target;queueMicrotask(()=>{v.current?.element===t&&document.activeElement!==t&&(v.current=null,x(null))})},role:"group","aria-label":n,"aria-describedby":d,children:[r.length>0&&t.jsx("ul",{className:"legend",children:r.map(e=>t.jsxs("li",{children:[t.jsx(Ts,{kind:e.kind,tone:e.tone}),e.label]},e.label))}),t.jsxs("div",{className:"axis","aria-hidden":"true",children:[t.jsx("span",{}),t.jsx("div",{className:"scale",children:y.map(e=>t.jsx("span",{style:{insetInlineStart:`${w(e)}%`},children:o(e)},e))}),t.jsx("span",{})]}),a.map(e=>t.jsxs("section",{"aria-label":e.label,children:[a.length>1&&t.jsx("h4",{className:"rp-label",children:e.label}),f.has(e.id)?e.rows.length>40?t.jsx(Ds,{rows:e.rows,focused:b,render:j}):e.rows.map(j):e.rows.slice(0,i).map(j),!f.has(e.id)&&e.rows.length>i&&t.jsx("div",{className:"row more",children:t.jsx(U,{quiet:!0,small:!0,onPress:()=>g(t=>new Set([...t,e.id])),children:l(e.rows.length)})}),e.notes.map((e,n)=>t.jsx("p",{className:"rp-note note",children:e},n))]},e.id)),t.jsx(ys,{tip:m})]})}function Hs({label:e,rows:n,columns:a}){const r=F(),{ref:s,tip:o,show:i,hide:l}=vs();return t.jsxs("div",{className:"rp-heatmap rp-chart-hover",ref:s,onPointerLeave:l,role:"group","aria-label":e,"aria-describedby":r,style:{"--cols":a.length},children:[n.map(e=>{const n=Math.max(...e.counts);return t.jsxs("div",{className:"row",children:[t.jsx("div",{className:"head",children:e.label}),t.jsx("div",{className:"cells",children:e.counts.map((a,r)=>t.jsx("span",{className:"cell t"+Ns(a,n),style:{"--tone":e.color},onPointerMove:t=>i(t,[e.titles[r]]),role:"img","aria-label":e.titles[r]},r))})]},e.id)}),a.length>0&&t.jsxs("div",{className:"row times","aria-hidden":"true",children:[t.jsx("div",{className:"head"}),t.jsxs("div",{className:"ends",children:[t.jsx("span",{children:a[0]}),a.length>2&&t.jsx("span",{children:a[Math.floor(a.length/2)]}),a.length>1&&t.jsx("span",{children:a[a.length-1]})]})]}),t.jsx(ys,{tip:o})]})}const qs=64;function Bs({label:e,series:n,fmt:a,onSelect:r,regions:s,height:o=260}){const i=F(),[l,c]=W(),{ref:d,tip:u,show:m,hide:p}=vs(),h=Math.max(1,...n.flatMap(e=>e.points.flatMap(e=>[e.x,e.y]))),{end:f,ticks:g}=function(e){const t=Math.max(1e3,2*e),n=[0];for(let a=1e3;a<=t;a*=1e3)n.push(a);return{end:t,ticks:n}}(h),b=Math.max((c??0)-qs-28,1),x=o-8-22,v=e=>qs+As(e,f)*b,y=e=>8+(1-As(e,f))*x,w=new Map,j=n.flatMap(e=>e.points.map(t=>{const n=v(t.x),a=y(t.y),r=n+","+a,s=w.get(r)??0;return w.set(r,s+1),{point:t,color:e.color,cx:n,cy:a,nth:s,spot:r}})).map(e=>({...e,twins:w.get(e.spot)}));return t.jsx("div",{className:"rp-scatter",ref:l,children:t.jsxs("div",{className:"rp-chart-hover",ref:d,onPointerLeave:p,children:[null!==c&&t.jsxs("svg",{width:c,height:o,role:"img","aria-label":e,"aria-describedby":i,children:[g.map(e=>t.jsxs("g",{children:[t.jsx("line",{className:"grid",x1:v(e),x2:v(e),y1:8,y2:8+x}),t.jsx("line",{className:"grid",x1:qs,x2:qs+b,y1:y(e),y2:y(e)}),t.jsx("text",{className:"tick",x:v(e),y:o-6,textAnchor:"middle",children:a(e)}),t.jsx("text",{className:"tick",x:56,y:y(e)+4,textAnchor:"end",children:a(e)})]},e)),s&&t.jsxs("g",{className:"diagonal",children:[t.jsx("line",{x1:v(0),y1:y(0),x2:v(f),y2:y(f)}),t.jsx("text",{x:72,y:22,children:s.above}),t.jsx("text",{x:qs+b-8,y:8+x-8,textAnchor:"end",children:s.below})]}),j.map(({point:e,color:n,cx:a,cy:s,nth:o,twins:i})=>{const l=2*Math.PI*o/i,c=i>1?6:0;return t.jsx("circle",{className:r?"pick":void 0,cx:a+c*Math.cos(l),cy:s+c*Math.sin(l),r:5,fill:n,onClick:r?()=>r(e.id):void 0,onPointerMove:t=>m(t,[e.name,e.detail])},e.id)})]}),t.jsx(ys,{tip:u})]})})}function Fs({series:e}){return t.jsx("div",{className:"rp-legend",children:e.map(e=>t.jsx(os,{swatch:e.color,label:e.label,value:String(e.points.length)},e.id))})}function Ws(e){return t.jsx(O,{...e,children:t.jsx("path",{fill:"currentColor",d:"M8.999 18.729c-.36 0-.717-.099-1.037-.293C7.359 18.07 7 17.43 7 16.726V10.49c0-.186-.068-.364-.192-.501l-4.18-4.644c-.538-.59-.674-1.416-.349-2.152S3.305 2 4.11 2h11.782c.804 0 1.505.457 1.83 1.193s.19 1.562-.353 2.156l-4.176 4.64c-.124.137-.192.315-.192.501v5.046c0 .843-.465 1.609-1.213 1.997l-1.865.968c-.292.152-.609.228-.923.228M4.109 3.5c-.295 0-.418.209-.458.298s-.11.322.088.54l4.184 4.647c.372.413.577.948.577 1.505v6.236c0 .254.168.383.24.427.073.045.266.133.49.017l1.866-.969c.25-.13.404-.384.404-.665V10.49c0-.557.205-1.092.577-1.505l4.18-4.644c.202-.22.132-.453.092-.543s-.163-.298-.458-.298z"})})}function Gs({model:e}){const n=T();return e.writable?t.jsx(U,{accent:!0,isDisabled:!e.dirty||e.incomplete,isPending:e.busy,onPress:e.apply,children:n("config.save")}):null}function Us({model:e,fill:n}){const a=T(),r=X();return t.jsx(Y,{value:"L",children:t.jsxs("span",{className:"rp-cluster",children:[t.jsx(Yt,{label:a("act.mode"),value:e.mode,onChange:e.pick,isDisabled:e.busy||!e.writable,items:e.modes,fill:n}),e.writable?t.jsx(Gs,{model:e}):e.readOnly?t.jsx(Q,{label:a("act.modeWhyReadOnly"),placement:"bottom end",trigger:t.jsx(U,{quiet:!0,label:a("act.modeWhyReadOnly"),children:e.status}),children:()=>t.jsxs(t.Fragment,{children:[t.jsx("p",{children:a("act.modeReadOnlyReason")}),t.jsx("p",{children:a("act.modeReadOnlyAction")}),t.jsx(D,{external:!0,appearance:"link",href:ee(r,"read-only"),children:a("act.readOnlyDocs")})]})}):t.jsx(te,{small:!0,tone:"muted",children:e.status})]})})}function Vs({model:e,part:n}){const a=T();return t.jsxs(t.Fragment,{children:["global"!==n&&e.error&&t.jsx(V,{error:e.error,onRetry:e.retry}),"global"!==n&&t.jsx(K,{title:a("act.mode"),"aria-label":a("act.mode"),tile:{icon:t.jsx(Z,{}),tint:3,kind:"control"},size:"L",reason:e.reasons.mode,aside:t.jsx(Us,{model:e})}),"mode"!==n&&t.jsx(K,{title:a("act.global"),tile:{icon:t.jsx(Ws,{}),tint:2,kind:"control"},size:"L",reason:e.reasons.global,aside:t.jsxs("span",{className:"rp-cluster rp-global-controls",children:[t.jsx(J,{quiet:!0,isDisabled:e.busy||!e.writable,label:a("act.global"),value:e.target,onChange:e.pickTarget,items:e.targets,searchLabel:a("ui.filterOutbounds"),children:t.jsx(Xt,{labels:e.targets.map(e=>e.label),children:e.targetText})}),t.jsx(Gs,{model:e})]})})]})}const Ks=(e,t)=>"invalid"===e.kind?{kind:"negative",text:t("ui.writeInvalid",{n:e.errors})}:"failed"===e.kind?ie(e.error,t,t("ui.writeFailed")):null;function Zs(){const t=ne().data?.resources,n=ae(t,"config",{whileLoading:!1})&&!0===t?.config.writable,a=re(ae(t,"config",{whileLoading:!1})),r=se(a.refetch,{rethrow:!0,shared:"main-source-edit"}),s=a.data?.sources.find(e=>"main"===e.kind&&e.writable)??null,o=oe(s),i=o?s:null,l=!1===o,c=e.useMemo(()=>a.error??(l?new m("config.incomplete"):null),[a.error,l]),{apply:d}=r;return{main:i,checking:!!s&&null===o,writable:n,busy:null!==r.busy,error:c,retry:a.refetch,apply:e.useCallback(async(e,t=i??void 0)=>{if(!t)return{kind:"failed",error:c??new m("config.incomplete")};try{const n=await d(t,e);return n?n.diagnostics?{kind:"invalid",errors:n.diagnostics.filter(e=>"error"===e.level).length}:{kind:"ok"}:{kind:"cancelled"}}catch(n){return{kind:"failed",error:n}}},[i,d,c])}}const Js="# doona: outbound mode";function Xs(e,t,n){return n.filter(n=>"comment"===n.kind&&e.slice(n.from,n.to).trim()===Js&&t.some(e=>"routing"===e.name&&n.from>e.open&&n.to{const a=e.lastIndexOf("\n",t.from-1)+1,r=n.filter(e=>e.from>=a&&e.to<=t.from);if(r.some(e=>1!==e.depth))return[];const s=r.findIndex(t=>0===t.parens&&"->"===e.slice(t.from,t.to)),o=-1===s||s===r.length-1?"":e.slice(r[s+1].from,t.from).trim();return[{from:a,to:t.to+("\n"===e[t.to]?1:0),target:o}]})}const Ys=(e,t)=>e.mode===t.mode&&("global"!==e.mode||"global"!==t.mode||e.target===t.target);function Qs(e){const t=r(e);return Xs(e,t.blocks,t.tokens).map(t=>e.slice(0,t.from).split("\n").length)}const eo={rule:"mode.rule",direct:"mode.direct",global:"mode.global"};function to({writable:e,incomplete:t,status:n},a,r){return a?{mode:null,global:null}:e?{mode:t?r("act.globalMissing"):null,global:null}:{mode:null,global:n}}function no(){const t=T(),n=ne().data?.resources,a=Qt(ae(n,"groups",{whileLoading:!1})),s=re(ae(n,"config",{whileLoading:!1})),{main:o,checking:i,writable:l,busy:c,error:d,retry:u,apply:p}=Zs(),h=le().data,f=en(h).daeText,g=f?(o??s.data?.sources.find(e=>"main"===e.kind))?.content:void 0,b=e.useMemo(()=>null==g?{mode:"rule"}:function(e){const{blocks:t,tokens:n}=r(e),a=Xs(e,t,n).find(e=>e.target);return a?"direct"===a.target?{mode:"direct"}:{mode:"global",target:a.target}:{mode:"rule"}}(g),[g]),[x,v]=ce(),y=de({shared:"mode-action"}),w=(f||!h)&&!!n?.config.available,j=function(e,t,n,a,r,s,o=!0){const i=a?t??e:e,l="global"===i.mode?i.target:("global"===e.mode?e.target:n[0]?.name)??"";return{mode:o?i.mode:"",target:o?l:"",targetText:o&&l||"—",writable:a,dirty:a&&null!==t&&!Ys(t,e),incomplete:"global"===i.mode&&!l,status:s(r?"act.modeReadOnly":"act.modeUnavailable"),readOnly:r&&!a,modes:["rule","direct","global"].map(e=>[e,s(eo[e])]),targets:n.map(e=>({id:e.name,label:e.name}))}}(b,x,a.data??[],f&&l&&(!!o||i),w,t,null!=g),k=()=>y.run("apply",async()=>{const e=x;if(!e||"global"===e.mode&&!e.target)return;const n=await p(t=>function(e,t){const n=r(e);for(const r of Xs(e,n.blocks,n.tokens).reverse())e=e.slice(0,r.from)+e.slice(r.to);if("rule"===t.mode)return e;const{blocks:a,tokens:s}=r(e),o=a.find(e=>"routing"===e.name);if(!o)throw new m("act.modeNoRouting");const i=e.slice(o.open+1,o.close),l=i.match(/\n([ \t]+)\S/)?.[1]??" ";let c=o.open+1;"\n"===e[c]&&c++;let d=null;const u=t=>{const n=e.indexOf("\n",t);return e.slice(e.lastIndexOf("\n",t-1)+1,-1===n?void 0:n).trim()};for(let r=0;ro.close||1!==t.depth||0!==t.parens||"->"!==e.slice(t.from,t.to))continue;const n=s[r+1],a=s[r+2],i=s[r+3],l=s[r+4];if(!(n&&a&&i&&l&&"("===e.slice(a.from,a.to)&&"must"===e.slice(i.from,i.to)&&")"===e.slice(l.from,l.to))){d??=u(t.from);continue}if(null!==d)throw new m("act.modeInterleaved",d);const p=e.indexOf("\n",l.to);c=-1!==p&&p ${p} ${Js}\n`+e.slice(c)}(t,e));if("ok"===n.kind&&(v(t=>t===e?null:t),ue("positive",t("act.modeApplied",{mode:t(eo[e.mode])}))),"failed"===n.kind&&n.error instanceof m&&"act.modeInterleaved"===n.error.key)return void ue("negative",t(n.error.key),{detail:n.error.detail??void 0,error:n.error});const a=Ks(n,t);a&&ue(a.kind,a.text,{detail:a.detail,requestId:a.requestId,error:a.error})});return{...j,reasons:to(j,c||!!y.busy,t),error:d,retry:u,busy:c||!!y.busy,pick:e=>{if("global"===e||"direct"===e||"rule"===e){const t="global"===e?{mode:e,target:j.target}:{mode:e};v(Ys(t,b)?null:t)}},pickTarget:e=>{const t={mode:"global",target:e};v(Ys(t,b)?null:t)},apply:()=>{k()}}}function ao(e,t,n=5){const a=new Map;for(const o of me(e)){const e="dev"===t?pe(o.src):o.domain||o.dst;e&&a.set(e,he(a.has(e)?a.get(e):0n,o.download_bytes))}const r=[...a].map(([e,t])=>({name:e,download:t})),s=he(...r.map(e=>e.download));return r.sort((e,t)=>e.download===t.download?0:null===e.download?1:null===t.download||e.download>t.download?-1:1),r.slice(0,n).map(e=>({...e,percent:fe(e.download,s)}))}const ro=["ok","warn","err"];function so(e,t,n,a){const r=xe(e),s=e?ge(be,e,a):n;return!e||"degraded"!==t&&"failed"!==t?{tone:r,text:s,href:null}:{tone:ro[Math.max(ro.indexOf(r),"failed"===t?2:1)],text:a("failed"===t?"ov.status.datapathFailed":"ov.status.datapathDegraded",{status:s}),href:b("overview",{card:"datapath"})}}const oo=e=>"operation.updated"===e.event&&"failed"===e.data.status?"err":"flow.gap"===e.event?"warn":"info";function io(e,t){const n=[];for(const a of e){const e=we(a,t),r=[a.event,e.key,...Object.entries(e.params??{}).map(([e,t])=>`${e}=${String(t)}`)].join("|"),s=n[n.length-1];if(s&&s.key===r){s.count+=1;continue}if(8===n.length)break;const o=Object.fromEntries(Object.entries(e.params??{}).map(([e,t])=>[e,"string"==typeof t?je(t):t])),i=oo(a);n.push({id:a.id,tone:i,kindText:t("err"===i?"ui.error":"warn"===i?"ui.warning":"ui.notice"),summaryText:t("ui.valuePair",{label:ge(ke,a.event,t),value:t(e.key,o)}),key:r,count:1})}return n.map(({key:e,count:n,summaryText:a,...r})=>({...r,summaryText:n>1?t("ui.aside",{text:a,note:t("act.noticeRepeat",{n:n})}):a}))}function lo(e,t,n,a=!1){return e.down.some(e=>null!==e)||e.up.some(e=>null!==e)?"ready":!1===t?a?"loading":"unavailable":n?"empty":"loading"}function co(e,t,n){const r=e.find(e=>e.id===t)??e.find(e=>void 0!==Me(Ne(e)))??e.find(e=>!a(e.name))??e[0],s=r&&Ne(r),o=Me(s),i="healthy"===s?.state,l="unavailable"===s?.state;return{id:r?.id??"",name:r?.name??"",latency:i&&void 0!==o?gn(o,n):"—",latencyClass:i&&void 0!==o?`rp-big ms ${tn(o)}`:"rp-big",tone:i?"ok":l?"err":"muted",status:i?null:n(l?"act.unavailable":"act.unknown"),healthError:s?.error?Se(s.error,n):void 0}}function uo(e,t,n,a,r){const s=new Map(e.map(e=>[e.name,e])),o=new Map(e.map(e=>[e.id,e])),i=new Map(t.map(e=>[e.id,e])),l=e.map(e=>{const t=_e(e.name,e.selection.tcp_member_id?"tcp":"udp",s,o,i).node;return{id:e.id,label:e.name,node:t}}),c=new Map;for(const p of me(r))"active"===p.state&&p.outbound&&c.set(p.outbound,(c.get(p.outbound)??0)+1);let d;for(const p of l)(c.get(p.label)??0)>(c.get(d?.label??"")??0)&&(d=p);const u=l.find(e=>e.id===n),m=u??d??l.find(e=>e.node&&void 0!==Me(Ne(e.node)))??l[0];return{...co(m?m.node?[m.node]:[]:t,"",a),options:l,chosen:u?.id??""}}const mo=(e,t,n)=>"builtin"===e.kind&&"block"===e.name?n.love:n.cat[t%n.cat.length];function po(){const t=T(),n=Ce(),a=nn($e),s=ne().data?.resources,o=an(ae(s,"providers",{whileLoading:!1})),c=rn(ae(s,"nodes",{whileLoading:!1})),d=re(ae(s,"config",{whileLoading:!1})),u=d.data?.sources.filter(e=>"main"===e.kind||"include"===e.kind),m=function({noNodeSources:e,noRouting:t},n){const a=(e,t,a)=>({id:e,tone:"info",kindText:n("ui.notice"),summaryText:n(t),action:a});return[...e?[a("setup:nodes","act.noSubscriptions",{label:n("nodes.addProvider"),href:b("nodes")})]:[],...t?[a("setup:routing","act.noRoutingMode",{label:n("act.chooseRoutingMode"),href:b("rules",{tab:"list",view:"simple"})})]:[]]}({noNodeSources:Ae(o.data?.providers,c.data),noRouting:!!u&&u.every(e=>void 0!==e.content)&&(p=u.map(e=>e.content),!p.some(e=>r(e).blocks.some(t=>"routing"===t.name&&i(e,t).some(e=>l(e).trim()))))},t);var p;const h=e.useMemo(()=>io(a.records,t),[a.records,t]);return{rows:[...m,...h],total:m.length+a.records.length,error:a.error,retry:()=>{Le().then(()=>Pe(n))},loading:!a.error&&null===a.available,empty:t(!1===a.available?"event.unavailable":"act.noIssues")}}function ho({rows:e,total:n,error:a,retry:r,loading:s,empty:o,limit:i}){const l=T();return t.jsxs(K,{"aria-label":l("act.issues"),children:[t.jsxs("div",{className:"rp-row nowrap",children:[t.jsxs("div",{className:"rp-cluster nowrap",children:[t.jsx("h2",{className:"rp-h3 rp-grow",children:t.jsx(q,{children:l("act.issues")})}),n>0&&t.jsx("span",{className:"rp-label",children:n})]}),t.jsx(D,{appearance:"button",quiet:!0,small:!0,href:b("events"),children:l("act.viewAll")})]}),a&&t.jsx(V,{error:a,onRetry:r}),s?t.jsx("div",{className:"rp-chart-wait",children:t.jsx(Jr,{})}):0===e.length?t.jsx("div",{className:"rp-chart-wait",children:t.jsx(Re,{children:o})}):t.jsx(fo,{rows:void 0===i?e:e.slice(0,i),label:l("act.issues"),bounded:void 0===i})]})}function fo({rows:e,label:n,bounded:a=!1}){return t.jsx("div",{className:"rp-list rp-list-labeled"+(a?" rp-feed":""),role:"list","aria-label":n,tabIndex:a?0:void 0,children:e.map(e=>t.jsxs("div",{role:"listitem",className:"rp-row",children:[t.jsx(te,{small:!0,tone:e.tone,children:e.kindText}),e.action?t.jsxs("span",{className:"rp-cluster nowrap",children:[t.jsx("span",{className:"rp-note rp-grow",children:e.summaryText}),t.jsx(D,{appearance:"button",quiet:!0,small:!0,href:e.action.href,children:e.action.label})]}):t.jsx("span",{className:"rp-note rp-grow",children:e.summaryText})]},e.id))})}const go=(e,t)=>({time:t,rss:ze(e.map(e=>e.rss)),cgroup:ze(e.map(e=>e.cgroup))});function bo(e){const t=Date.parse(e.observed_at);if(!Number.isFinite(t))return;const n=Ee(e.process?.rss_bytes??null),a=Ee(e.cgroup?.current_bytes??null);return{time:t,rss:null===n?null:Number(n),cgroup:null===a?null:Number(a)}}const xo={live:{seconds:120,label:"act.live"},m10:{seconds:600,label:"act.m10"},h1:{seconds:3600,label:"act.h1"},h6:{seconds:21600,label:"act.h6"},h24:{seconds:86400,label:"act.h24"},d7:{seconds:604800,label:"act.d7"}},vo=e=>{const t=Ee(e??null);return null===t?null:Number(t)/1e3},yo=(e,t)=>({time:t,up:ze(e.map(e=>e.up)),down:ze(e.map(e=>e.down)),connections:e.some(e=>null!==e.connections)?Math.max(...e.map(e=>e.connections??0)):null});function wo(e){const t=e.traffic,n=Date.parse(t.sampled_at??"");if(Number.isFinite(n))return{time:n,up:vo(t.rates?.upload_bytes_per_second),down:vo(t.rates?.download_bytes_per_second),connections:t.connections.total}}function jo(e,t,n,a,r){const{samples:s,since:o,until:i}=Oe(e,t,n,yo,a,r);return{timestamps:s.map(e=>e.time),down:s.map(e=>e.down),up:s.map(e=>e.up),connections:s.map(e=>e.connections),since:o,until:i}}function ko(t,n,a,{enabled:r=!0,anchored:s=!1}={}){const o=e.useContext(R),i=Ie(a,r?t:void 0),l=De("traffic",o||!r?void 0:n,wo,yo,r,o),c=e.useMemo(()=>i.data?function(e){return e.samples.map(e=>({time:Date.parse(e.sampled_at),up:vo(e.upload_bytes_per_second),down:vo(e.download_bytes_per_second),connections:e.connections}))}(i.data):[],[i.data]),d=e.useMemo(()=>jo(l,c,a,s?c.at(-1)?.time:void 0),[l,c,a,s]);return{history:i,rings:l,samples:c,series:d}}function _o(t,n,{enabled:a=!0,windowSeconds:r,anchored:s=!1}={}){const o=e.useContext(R),i=Te(a?t:void 0),l=De("memory",o?void 0:n,bo,go,a,o),c=ae(t?.resources,"memory_history",{whileLoading:!1}),d=r??(c?i.windowSeconds:600),u=e.useMemo(()=>i.data&&c?function(e){return e.samples.map(e=>{const t=Ee(e.rss_bytes),n=Ee(e.cgroup_current_bytes);return{time:Date.parse(e.sampled_at),rss:null===t?null:Number(t),cgroup:null===n?null:Number(n)}})}(i.data):[],[i.data,c]),m=e.useMemo(()=>function(e,t,n,a){const r=Oe(e,t,n,go,a);return{...r,timestamps:r.samples.map(e=>e.time),rss:r.samples.map(e=>e.rss),cgroup:r.samples.map(e=>e.cgroup)}}(l,u,d,s?u.at(-1)?.time:void 0),[l,u,d,s]);return{...m,error:c?i.error:void 0,retry:i.refetch}}const Mo={connections:"nav.connections",flows:"flow.records",routing_trace:"ov.r.routingTrace",dns_query:"ov.r.dnsQuery",dns_cache:"ov.r.dnsCache",dns_log:"ov.r.dnsLog",events:"nav.events",probes:"ov.r.probes",traffic_history:"ov.r.trafficHistory",memory_history:"ov.r.memoryHistory",runtime_outbounds:"ov.r.outbounds",logs:"nav.logs",providers:"nodes.providers",rules:"rule.listTitle",config:"nav.config",config_validate:"ov.r.configValidate",runtime_settings:"settings.runtime",geodata:"settings.geodata"},No=["configNotLoaded","configReadOnly","mainReadOnly","recordOff","geodataUpdate","geodataUnreadable","notRunning","flowsIdle","notProvided"],So={"recorder-off":"recordOff","starting-or-stopping":"notRunning","geodata-mismatch":"geodataUnreadable"},Co={"config-unloaded":{text:"ov.lim.configMissing"},"writes-off":{text:"ov.lim.configWrite",docs:["read-only","ov.lim.docsReadOnly"]},"main-file-read-only":{text:"ov.lim.mainReadOnly",docs:["read-only","ov.lim.docsReadOnly"]},"recorder-off":{text:"ov.lim.recordOff"},"no-download-urls":{text:"ov.lim.geoNoStateDb",docs:["state-db","ov.lim.docsStateDb"]},"geodata-mismatch":{text:"ov.lim.geoUnreadable"},"starting-or-stopping":{text:"ov.lim.notRunningReason"}};function Ao(e,t,n,a,r){const s=e.resources,o=en(t),i=t=>o.reason(t,e,r),l=new Map,c=(e,t,a=Mo[t])=>{const r=l.get(e)??[];r.push({id:t,label:n(a)}),l.set(e,r)},d=(e,t)=>({href:ee(a,e),text:n(t),external:!0}),u=(e,t)=>({label:n("ov.lim.why"),text:n(e),link:t}),m=e=>{const t=e.find(e=>void 0!==e),a=t&&Co[t.code];if(!a)return;const r=a.docs&&d(...a.docs),s=e.flatMap(e=>e&&"settings"in e?e.settings:[]);return s.length>0?{label:n("ov.lim.howTo"),text:n(a.text),snippet:o.snippet(s),link:r}:u(a.text,r)},p=s.config.available?!0!==s.config.writable?"configReadOnly":null:"configNotLoaded";p&&c(p,"config");const h=!s.config_validate.available&&"configNotLoaded"===p;h&&c("configNotLoaded","config_validate"),!1!==s.nodes.can_manage&&!1!==s.providers.can_manage||c(p??"mainReadOnly","manage","ov.lim.manage");const f=s.runtime_settings.available&&(s.runtime_settings.fields??[]).includes("record_flows");for(const b of Object.keys(Mo)){const e=s[b];if("config"===b||"config_validate"===b&&h)continue;const t="flows"===b&&e.available&&("off"===s.flows.recording||"auto"===s.flows.recording);if(("flows"===b||"logs"===b||"dns_log"===b)&&!1===r?.[b]?.allowed||t||!e.available){const e=i(b)?.code;c((e&&So[e])??(t?"flowsIdle":"notProvided"),b)}else"geodata"===b&&!0!==s.geodata.can_update&&c(p??"geodataUpdate",b),"providers"===b&&!1===s.providers.can_refresh&&c("notRunning","subscriptions","ov.lim.subscriptions"),"connections"===b&&!1===s.connections.can_close&&c("notProvided","close","ov.lim.close")}const g=()=>{const e=s.geodata;if(0===e.assets?.length)return u("ov.lim.geoNoAssets");const t=m([i("geodata")]);return t||(!0===e.configurable_sources?u("ov.lim.geoNoUrl",{href:b("settings",{card:"geodata"}),text:n("settings.geodata")}):void 0)};return No.flatMap(e=>{const t=l.get(e);if(!t)return[];const{named:r=[],...s}=((e,t)=>{const a=t.length,r=()=>t.map(e=>i(e.id));switch(e){case"configNotLoaded":return{headline:n("ov.lim.h.configNotLoaded"),named:["config"],help:m([i("config")])};case"configReadOnly":return{headline:n("ov.lim.h.configReadOnly"),named:["config"],help:m([i("config")])};case"mainReadOnly":return{headline:n("ov.lim.h.mainReadOnly"),named:["manage"],help:m([i("manage")])};case"recordOff":return{headline:n("ov.lim.h.recordOff",{n:a}),help:m(r())};case"geodataUpdate":return{headline:n("ov.lim.h.geodataUpdate"),named:["geodata"],help:g()};case"geodataUnreadable":return{headline:n("ov.lim.h.geodataUnreadable"),named:["geodata"],help:m(r())};case"notRunning":return{headline:a>1?n("ov.lim.h.notRunning",{n:a}):n("probes"===t[0].id?"ov.lim.h.probes":"ov.lim.h.subscriptions"),named:a>1?[]:[t[0].id],help:m(r())};case"flowsIdle":return{headline:n("recorded-on-demand"===i("flows")?.code?"ov.lim.h.flowsIdle":"ov.lim.h.flowsOff"),named:["flows"],link:f?{href:b("settings",{card:"runtime"}),text:n("settings.runtime")}:void 0};case"notProvided":{const e=r().some(e=>"build-lacks"===e?.code);return{headline:n(e?"ov.lim.h.notProvided":"ov.lim.h.notProvidedOther",{n:a}),link:e?d("honk-version","ov.lim.docsVersion"):void 0}}}})(e,t),o=t.filter(e=>!r.includes(e.id));return[{cause:e,...s,items:t,features:o.length>0?He(a,t.map(e=>e.label)):void 0}]})}const Lo=e=>{const t=Date.parse(e.observed_at);return Number.isFinite(t)?{time:t,value:e.process.cpu_percent}:void 0},Po=(e,t)=>({time:t,value:ze(e.map(e=>e.value))}),$o=(e,t)=>({time:t,value:(e&&Me(Ne(e)))??null});function Ro(e,t,n){const a=function(e,t){if(e.length<=24)return e;const n=Math.ceil(e.length/24),a=[];let r=[];const s=()=>{for(let e=0;ee.time),values:a.map(e=>e.value)}}function Eo(t="history"){const n=T(),a=X(),r=qe[a],s=ss(),o=ne(),i=o.data?.resources,l=Be("memory"!==t&&ae(i,"runtime",{whileLoading:!1})),c=Fe("memory"===t&&ae(i,"runtime_memory",{whileLoading:!1})),d=We("status"===t&&ae(i,"datapath",{whileLoading:!1})),[u,m]=e.useState("live"),p=xo[u].seconds,h=_o(o.data,c.data,{enabled:"memory"===t}),{history:f,rings:g,samples:b,series:x}=ko(o.data,l.data,p,{enabled:["download","upload","connections","history"].includes(t)}),v=e.useMemo(()=>jo(g,b,xo.live.seconds,void 0,24),[g,b]),y=e.useContext(R),w=e.useContext(Ge)?.ap.sparklines??!0,j=De("cpu",y?void 0:l.data,Lo,Po,"cpu"===t&&w,y),k=e.useMemo(()=>Ro(j,xo.live.seconds,Po),[j]),_=e.useMemo(()=>[{label:n("act.download"),color:s.cat[0],values:x.down},{label:n("act.upload"),color:s.cat[3],values:x.up}],[n,s,x]),M=e.useMemo(()=>[{label:n("act.rss"),color:s.cat[0],values:h.rss},{label:n("act.cgroup"),color:s.cat[3],values:h.cgroup}],[n,s,h.rss,h.cgroup]),N=e.useMemo(()=>Object.keys(xo).map(e=>[e,n(xo[e].label)]),[n]),S=e.useCallback(e=>{(e=>Object.hasOwn(xo,e))(e)&&m(e)},[]),C=e.useMemo(()=>({since:x.since,until:x.until}),[x.since,x.until]),A=e.useMemo(()=>({since:h.since,until:h.until}),[h.since,h.until]),L=e.useCallback(e=>pn(null==e?null:1e3*e,r),[r]),P=e.useCallback(e=>ve(e,r),[r]),$=e.useCallback(e=>mn(e,n),[n]),E=e.useCallback(e=>hn(e??null,r),[r]),O=e.useMemo(()=>function(e,t,n,a="en",r){const{tone:s,text:o}=so(e?.lifecycle.state,r,t(!1===n?"act.modeUnavailable":"ui.loading"),t);return{status:{tone:s,text:o},download:pn(e?.traffic.rates?.download_bytes_per_second??null,a),upload:pn(e?.traffic.rates?.upload_bytes_per_second??null,a),connections:null==e?.traffic.connections.total?"—":ve(e.traffic.connections.total,a),cpu:mn(e?.process.cpu_percent,t),cpuHelp:{title:t("act.cpu"),text:t("act.cpuHelp")}}}(l.data,n,i?.runtime.available,r,d.data?.state),[l.data,n,i?.runtime.available,r,d.data?.state]),z=le("status"===t),{refetch:D}=l,{refetch:I}=d,H=e.useCallback(()=>{D(),I()},[D,I]),q=e.useMemo(()=>"status"===t&&o.data?Ao(o.data,z.data,n,a).reduce((e,t)=>e+t.items.length,0):0,[t,o.data,z.data,n,a]);return{...O,limited:q>0?n("act.limited",{n:q}):null,range:u,ranges:N,setRange:S,locale:r,p:s,spark:v,sparklines:w,cpuSpark:k,traffic:_,memorySeries:M,chartRate:L,count:P,cpuText:$,memoryBytes:E,trafficBounds:C,memoryBounds:A,trafficTimestamps:x.timestamps,memoryTimestamps:h.timestamps,ready:!!o.data,discoveryFailed:!!o.error,error:l.error??d.error,stale:!!l.error&&!!l.data,retry:H,history:{error:f.error,retry:f.refetch,state:lo(x,i?.traffic_history.available,!!f.data,ae(i,"runtime",{whileLoading:!1}))},memoryState:{error:c.error??h.error,retry:c.error?c.refetch:h.retry,state:h.samples.length>1?"ready":!1===i?.runtime_memory.available?"unavailable":"loading"}}}function Oo(e){return t.jsxs(O,{...e,children:[t.jsx("path",{fill:"currentColor",d:"M10 18.75c-4.825 0-8.75-3.925-8.75-8.75S5.175 1.25 10 1.25s8.75 3.925 8.75 8.75-3.925 8.75-8.75 8.75m0-16c-3.998 0-7.25 3.252-7.25 7.25s3.252 7.25 7.25 7.25 7.25-3.252 7.25-7.25S13.998 2.75 10 2.75"}),t.jsx("path",{fill:"currentColor",d:"M13.249 12.645c-.129 0-.26-.034-.379-.104l-3.22-1.895c-.23-.134-.37-.38-.37-.646V5c0-.414.335-.75.75-.75s.75.336.75.75v4.571l2.85 1.677c.357.21.476.67.266 1.026-.14.239-.39.37-.647.37"})]})}function zo(t,n){const a=T(),r=ne(),s=rn(ae(r.data?.resources,"nodes",{whileLoading:!1})),o=Qt(ae(r.data?.resources,"groups",{whileLoading:!1})),[i,l]=e.useState(()=>{try{return localStorage.getItem(S.activityGroup)??""}catch{return""}}),c=n?.chosen??i,d=!o.data||o.loading||o.error||o.data.some(e=>e.id===c)?c:"",u=n?.setChosen??l,m=e.useContext(R);e.useEffect(()=>{!c||d||m||u("")},[c,d,u,m]),e.useEffect(()=>{if(!n)try{d?localStorage.setItem(S.activityGroup,d):localStorage.removeItem(S.activityGroup)}catch{}},[d,n]);const p=sn(void 0,!t&&!d&&!0===r.data?.resources.connections.available,!1,Je.summary),h=t??p.data,f=e.useMemo(()=>uo(o.data??[],s.data??[],d,a,h),[o.data,s.data,d,a,h]),g=s.data?.find(e=>e.id===f.id),b=an(!!g&&null==g.provider_id&&ae(r.data?.resources,"providers",{whileLoading:!1})),x=g?er(g,b.data?.providers??[]):void 0;return{...f,nodes:s.data,refetchNodes:s.refetch,href:x,setChosen:u,loading:r.loading||s.loading&&!s.data||o.loading&&!o.data,error:o.error??s.error,retry:()=>{o.refetch(),s.refetch()}}}const To=new Map,Do=e=>{To.delete(e),Ke(e)};function Io({model:e,label:n}){const a=T();return t.jsx(J,{appearance:"select",placement:"bottom start",label:n,triggerLabel:a("ui.valuePair",{label:n,value:e.name||"—"}),searchLabel:a("policy.pickGroups"),items:[{id:"",label:a("act.groupFollow")},...e.options.map(e=>({id:e.id,label:e.label}))],value:e.chosen,onChange:e.setChosen,onAction:e.setChosen,children:t.jsx(Xe,{i:{id:e.chosen,label:e.name||"—",nodeName:!0}})})}function Ho({connections:n,selection:a}){const r=T(),s=zo(n,a),o=ss(),i=qe[X()],l=e.useContext(Ge)?.ap.sparklines??!0,c=e.useCallback(e=>gn(e,r),[r]),d=function(t,n,a,r,s){const o=e.useContext(R),i=`latency-${encodeURIComponent(a)}`,l=r&&!o&&!!n,c=e.useRef(void 0);e.useEffect(()=>{o||(r?n&&(void 0!==c.current&&c.current!==i&&(Do(c.current),Do(i)),c.current=i):(Do(i),c.current=void 0))},[i,n,r,o]);const d=e.useCallback(e=>{if(To.get(i)!==e)return To.set(i,e),$o(e.find(e=>e.id===n),Ze())},[i,n]),u=De(i,l?t:void 0,d,Po,r&&!!n,o),m=e.useMemo(()=>Ro(u,xo.m10.seconds,Po),[u]),p=m.values.filter(e=>null!==e).length<2,h=void 0!==t,f=e.useRef(void 0);return e.useEffect(()=>{if(!l||!h||!p||f.current===i)return;let e=!0;const t=setTimeout(()=>{f.current=i;const t=To.get(i);s()?.then(a=>{a.ok&&setTimeout(()=>{e&&t&&To.get(i)===t&&Ue(i,$o(t.find(e=>e.id===n),Ze()),Po)},0)})},Ve);return()=>{e=!1,clearTimeout(t)}},[l,h,p,i,n,s]),m}(s.nodes,s.id,JSON.stringify([s.chosen,s.id]),l,s.refetchNodes);return t.jsxs(K,{className:"rp-latency",title:r("act.latency"),tile:{icon:t.jsx(Oo,{}),tint:5,kind:"metric",layout:"responsive"},aside:t.jsx(Ye,{help:{title:r("act.latency"),text:r("act.groupPickHelp")},children:t.jsx(Io,{label:r("policy.pickGroups"),model:s})}),children:[s.error&&t.jsx(V,{error:s.error,onRetry:s.retry}),t.jsx("div",{className:"rp-tile-body",children:s.loading?t.jsx(Jr,{}):t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"rp-tile-val",children:s.href?t.jsx(D,{appearance:"link",href:s.href,label:r("ui.valuePair",{label:s.name,value:s.latency}),children:t.jsx("span",{className:s.latencyClass,children:s.latency})}):t.jsx("span",{className:s.latencyClass,children:s.latency})}),s.status?t.jsx(q,{text:s.healthError,children:t.jsx(te,{small:!0,tone:s.tone,children:s.status})}):l&&t.jsx("span",{className:"rp-spark",children:t.jsx(ms,{values:d.values,timestamps:d.timestamps,color:o.cat[4],fmt:c,locale:i})})]})})]})}function qo(){const t=T(),n=qe[X()],a=ss(),r=ne().data?.resources.runtime_outbounds.available,s=Qe(!0===r),o=e.useMemo(()=>function(e,t,n,a){const r=ye(e);return{since:e?a("act.since",{time:fn(e.counter_since,t)}):"",total:hn(r.total,t),rows:r.rows.map((e,r)=>({name:y(e.name,a),value:null===e.percent?null:Math.round(e.percent),text:hn(e.bytes,t),href:b("connections",{out:e.name}),color:mo(e,r,n)}))}}(s.data,n,a,t),[s.data,n,a,t]);return{view:o,state:!1===r?"unavailable":s.data?o.rows.length?"ready":"empty":"loading",error:s.error,retry:s.refetch}}function Bo(){const e=T(),{view:n,state:a,error:r,retry:s}=qo();return t.jsxs(K,{children:[t.jsx("div",{className:"rp-row",children:t.jsxs("div",{className:"rp-cluster",children:[t.jsx("h2",{className:"rp-h3",children:e("act.outUsage")}),n.since&&t.jsx("span",{className:"rp-label rp-counter-since",children:n.since})]})}),r&&t.jsx(V,{error:r,onRetry:s}),r&&"ready"!==a?null:"unavailable"===a?t.jsx("div",{className:"rp-chart-wait tall",children:t.jsx(Re,{children:e("act.noOutbounds")})}):"loading"===a?t.jsx("div",{className:"rp-chart-wait tall",children:t.jsx(Jr,{children:e("ui.loading")})}):"empty"===a?t.jsx("div",{className:"rp-chart-wait tall",children:t.jsx(Re,{children:e("ui.empty")})}):t.jsx(ps,{label:e("act.outUsage"),rows:n.rows,total:n.total})]})}function Fo({model:e}){const n=T(),{ref:a,by:r,setBy:s,rows:o,state:i,error:l,retry:c,truncated:d}=e;return t.jsxs(K,{ref:a,children:[t.jsxs("div",{className:"rp-row",children:[t.jsx(q,{text:n("act.rankingScope"),children:t.jsx("h2",{className:"rp-h3",children:n("act.topDevices")})}),t.jsx(Yt,{label:n("act.topDevices"),value:r,onChange:s,items:[["dev",n("act.devices")],["host",n("act.domains")]]})]}),l&&t.jsx(V,{error:l,onRetry:c}),d&&t.jsx(q,{text:n("act.rankingTruncated"),children:t.jsx(et,{tone:"warn",children:n("act.truncated")})}),"error"===i?null:"loading"===i?t.jsx("div",{className:"rp-chart-wait bars",children:t.jsx(Jr,{children:n("ui.loading")})}):"unavailable"===i?t.jsx("div",{className:"rp-chart-wait bars",children:t.jsx(Re,{children:n("act.noConnections")})}):"empty"===i?t.jsx("div",{className:"rp-chart-wait bars",children:t.jsx(Re,{children:n("act.rankingEmpty")})}):t.jsx("div",{className:"rp-list",children:o.map(e=>t.jsx(tt,{label:t.jsx(D,{appearance:"link",href:e.href,children:t.jsx(q,{children:e.name})}),value:e.value,pct:e.pct,color:e.color},e.name))})]})}function Wo(t=!0,n,a=5){const r=T(),s=qe[X()],o=ss(),[i,l]=e.useState("dev"),c=n?.by??i,d=n?.setBy??l,u=ne().data?.resources.connections.available,[m,p]=nt(),[h,f]=e.useState(!1),g=sn(void 0,t&&!0===u,!p&&h,Je.summary);g.data&&!h&&f(!0);const x=e.useMemo(()=>function(e,t,n,a,r,s=5){return ao(e,t,s).map((e,s)=>({name:e.name,value:null===e.percent?hn(e.download,a):r("ui.share",{bytes:hn(e.download,a),percent:e.percent}),pct:e.percent??0,color:n.cat[s%n.cat.length],href:b("connections","dev"===t?{src:e.name}:{q:e.name})}))}(g.data,c,o,s,r,a),[g.data,c,o,s,r,a]),v=g.data?x.length?"ready":"empty":g.error?"error":!0===u?"loading":"unavailable";return{ref:m,connections:g.data,by:c,setBy:d,rows:x,state:v,error:g.error??void 0,retry:g.refetch,truncated:!!g.data?.truncated}}function Go({item:e,scale:n=1,selection:a,ranking:r}){switch(e.id){case"mode":return t.jsx(Uo,{part:"mode"});case"global":return t.jsx(Uo,{part:"global"});case"latency":return t.jsx(Vo,{selection:a});case"ranking":return t.jsx(Ko,{selection:r,limit:e.rows});case"notices":return t.jsx(Zo,{limit:e.rows});case"outbounds":return t.jsx(Bo,{});case"download":case"upload":case"connections":case"cpu":case"history":case"memory":case"status":return t.jsx(Xo,{kind:e.id,scale:n});default:return null}}function Uo({part:e}){return t.jsx(Vs,{model:no(),part:e})}function Vo({selection:e}){return t.jsx(Ho,{connections:void 0,selection:e})}function Ko({selection:e,limit:n}){return t.jsx(Fo,{model:Wo(!0,e,n)})}function Zo({limit:e}){return t.jsx(ho,{...po(),limit:e})}function Jo(){const e=Eo("status");return e.error?t.jsx(V,{error:e.error,onRetry:e.retry}):null}function Xo({kind:e,scale:n}){const a=T(),r=Eo(e),{p:s,locale:o,range:i,ranges:l,setRange:c,traffic:d,spark:u,sparklines:m,cpuSpark:p,chartRate:h,count:f,cpuText:g,memorySeries:x,memoryBytes:v}=r,y=r.stale?"rp-big rp-muted":"rp-big",w="status"===e&&r.error&&t.jsx(V,{error:r.error,onRetry:r.retry});if(!r.ready)return w||(r.discoveryFailed?null:t.jsx(Jr,{children:a("ui.loading")}));let j;switch(e){case"status":j=t.jsx(K,{className:"rp-control-card",size:"L",children:t.jsxs("div",{className:"rp-row",children:[t.jsx(te,{tone:r.status.tone,children:r.status.text}),t.jsx("div",{className:"rp-control-tail",children:t.jsx(D,{appearance:"button",quiet:!0,href:b("overview"),children:r.limited??a("act.viewDetails")})})]})});break;case"download":j=t.jsx(on,{href:b("connections",{tab:"traffic"}),label:a("act.download"),tile:{icon:t.jsx(Xr,{}),tint:1},children:t.jsxs("div",{className:"rp-tile-body",children:[t.jsx("span",{className:"rp-tile-val",children:t.jsx("span",{className:y,children:r.download})}),m&&t.jsx("span",{className:"rp-spark",children:t.jsx(ms,{values:u.down,timestamps:u.timestamps,color:s.cat[0],floor:100,fmt:h,locale:o})})]})});break;case"upload":j=t.jsx(on,{href:b("connections",{tab:"traffic"}),label:a("act.upload"),tile:{icon:t.jsx(Yr,{}),tint:4},children:t.jsxs("div",{className:"rp-tile-body",children:[t.jsx("span",{className:"rp-tile-val",children:t.jsx("span",{className:y,children:r.upload})}),m&&t.jsx("span",{className:"rp-spark",children:t.jsx(ms,{values:u.up,timestamps:u.timestamps,color:s.cat[3],floor:100,fmt:h,locale:o})})]})});break;case"connections":j=t.jsx(on,{href:b("connections",{tab:"list"}),label:a("act.active"),tile:{icon:t.jsx(rt,{}),tint:3},children:t.jsxs("div",{className:"rp-tile-body",children:[t.jsx("span",{className:"rp-tile-val",children:t.jsx("span",{className:y,children:r.connections})}),m&&t.jsx("span",{className:"rp-spark",children:t.jsx(ms,{values:u.connections,timestamps:u.timestamps,color:s.cat[2],fmt:f,locale:o})})]})});break;case"cpu":j=t.jsx(K,{title:a("act.cpu"),tile:{icon:t.jsx(Qr,{}),tint:2,kind:"metric"},aside:t.jsx(at,{...r.cpuHelp}),children:t.jsxs("div",{className:"rp-tile-body",children:[t.jsx("span",{className:"rp-tile-val",children:t.jsx(D,{appearance:"link",href:b("overview"),label:a("ui.valuePair",{label:a("act.cpu"),value:r.cpu}),children:t.jsx("span",{className:y,children:r.cpu})})}),m&&t.jsx("span",{className:"rp-spark",children:t.jsx(ms,{values:p.values,timestamps:p.timestamps,color:s.cat[1],floor:100,fmt:g,locale:o})})]})});break;case"history":j=t.jsx(K,{title:a("act.traffic"),aside:t.jsx(Yt,{label:a("act.historyRange"),value:i,onChange:c,items:l}),children:r.history.error&&"ready"!==r.history.state?t.jsx(V,{error:r.history.error,onRetry:r.history.retry}):"unavailable"===r.history.state?t.jsx("div",{className:"rp-chart-wait tall",children:t.jsx(Re,{children:a("act.noHistory")})}):"loading"===r.history.state?t.jsx("div",{className:"rp-chart-wait tall",children:t.jsx(Jr,{children:a("ui.loading")})}):"empty"===r.history.state?t.jsx("div",{className:"rp-chart-wait tall",children:t.jsx(Re,{children:a("act.emptyHistory")})}):t.jsxs(t.Fragment,{children:[t.jsx(ds,{series:d,fmt:h}),t.jsx(us,{label:a("act.traffic"),series:d,timestamps:r.trafficTimestamps,fmt:h,locale:o,height:120*n,fill:!0,window:r.trafficBounds})]})});break;case"memory":j=t.jsx(K,{title:a("act.memory"),aside:t.jsx(D,{appearance:"button",quiet:!0,small:!0,href:b("overview"),children:a("act.viewDetails")}),children:r.memoryState.error?t.jsx(V,{error:r.memoryState.error,onRetry:r.memoryState.retry}):"ready"===r.memoryState.state?t.jsxs(t.Fragment,{children:[t.jsx(ds,{series:x,fmt:v}),t.jsx(us,{label:a("act.memory"),series:x,timestamps:r.memoryTimestamps,fmt:v,locale:o,height:150*n,fill:!0,baseline:"auto",window:r.memoryBounds})]}):"unavailable"===r.memoryState.state?t.jsx(Re,{children:a("act.noHistory")}):t.jsx("div",{className:"rp-chart-wait",children:t.jsx(Jr,{children:a("act.sampling")})})})}return t.jsxs(t.Fragment,{children:[w,j]})}const Yo=[{id:"nodes",title:"act.setup.nodes",hint:"act.setup.nodesHint",action:"nodes.addProvider",href:b("nodes",{add:"subscription"})},{id:"rules",title:"act.setup.rules",hint:"act.setup.rulesHint",action:"act.setup.chooseRules",href:b("rules",{view:"simple"})},{id:"connection",title:"act.setup.connection",hint:"act.setup.connectionHint",action:"act.setup.checkConnection",href:b("policies")}];function Qo({model:e}){const n=T();return e.visible?t.jsx(K,{title:n("act.setup.title"),titleVariant:"caption",aside:t.jsx(U,{quiet:!0,small:!0,icon:!0,label:n("act.setup.dismiss"),onPress:e.dismiss,children:t.jsx(it,{})}),children:t.jsx("div",{className:"rp-setup",role:"list",children:Yo.map(a=>t.jsxs("div",{role:"listitem",className:"rp-setup-step","data-complete":e.done[a.id],children:[t.jsxs("span",{className:"rp-setup-status",children:[e.done[a.id]?t.jsx(st,{}):t.jsx(Oo,{}),t.jsx(ot,{children:n(e.done[a.id]?"act.setup.complete":"act.setup.incomplete")})]}),t.jsxs("div",{className:"rp-setup-copy",children:[t.jsx("span",{children:n(a.title)}),t.jsx("span",{className:"rp-note",children:n(a.hint)})]}),!e.done[a.id]&&t.jsx(D,{appearance:"button",small:!0,href:a.href,children:n(a.action)})]},a.id))})}):null}let ei=null;function ti(){if(ei)return ei;try{const e=localStorage.getItem(S.gettingStarted);return"complete"===e||"dismissed"===e?e:null}catch{return null}}function ni(e){ei=e;try{localStorage.getItem(S.gettingStarted)!==e&&localStorage.setItem(S.gettingStarted,e)}catch{}}function ai(){const[t,n]=e.useState(ti),a=ne().data?.resources,r=rn(!t&&ae(a,"nodes",{whileLoading:!1})),s=an(!t&&ae(a,"providers",{whileLoading:!1})),o=re(!t&&ae(a,"config",{whileLoading:!1})),i=Qt(!t&&ae(a,"groups",{whileLoading:!1})),l=t?{nodes:!0,rules:!0,connection:!0}:function(e,t,n,a){const r=new Map(n.map(e=>[e.name,e])),s=new Map(n.map(e=>[e.id,e])),o=new Map(e.map(e=>[e.id,e])),i=t.filter(e=>"main"===e.kind||"include"===e.kind).map(e=>e.content??"").join("\n");return{nodes:!Ae(a,e),rules:null!==Un(i)||!Jn(i),connection:n.some(e=>["tcp","udp"].some(t=>{const n=_e(e.name,t,r,s,o).node;return!!n&&"builtin"!==lt(n)&&void 0!==Me(Ne(n))}))}}(r.data??[],o.data?.sources??[],i.data??[],s.data?.providers??[]),c=!!(r.data&&s.data&&o.data&&i.data),d=["nodes","providers","config","groups"].every(e=>ae(a,e,{whileLoading:!1})),u=!!(r.error||s.error||o.error||i.error),m=c&&Object.values(l).every(Boolean);return e.useEffect(()=>{if(t||!m)return;const e=requestAnimationFrame(()=>{ni("complete"),n("complete")});return()=>cancelAnimationFrame(e)},[t,m]),{done:l,pending:!t&&d&&!c&&!u,visible:!t&&c&&!m,dismiss:()=>{ni("dismissed"),n("dismissed")}}}function ri({layout:n}){const a=Pr(n).some(e=>"mode"===e.id);return e.useEffect(()=>{const e=document.querySelector('main [data-module="mode"] .rp-card');e&&(e.tabIndex=-1,e.focus())},[]),a?null:t.jsx("div",{"data-module":"mode",children:t.jsx(Go,{item:{id:"mode"}})})}const si=e.lazy(()=>I(()=>Promise.resolve().then(()=>Ec),void 0,import.meta.url).then(e=>({default:e.WidgetContent}))),oi=e.lazy(()=>I(()=>import("./Editors-CF-H0sca.js"),__vite__mapDeps([12,1,2,3,4,13,14,9,15,8,5,16]),import.meta.url).then(e=>({default:e.DashboardEditor}))),ii=e.lazy(()=>I(()=>import("./Editors-CF-H0sca.js"),__vite__mapDeps([12,1,2,3,4,13,14,9,15,8,5,16]),import.meta.url).then(e=>({default:e.DashboardActions})));function li({item:e,onChange:n}){const[a,r]=nt(void 0,0);return t.jsx(yr,{tile:Sr(e),visible:r,targetRef:a,children:t.jsx(R,{value:!r,children:t.jsx(ci,{item:e,onChange:n})})})}function ci({item:n,preview:a=!1,onChange:r=()=>{}}){const s=T();return Ar(n)?t.jsx(Go,{item:n,scale:Gr(n),ranking:{by:"domain"===n.by?"host":"dev",setBy:e=>r({...n,by:"host"===e?"domain":"dev"})},selection:{chosen:n.group??"",setChosen:e=>r({...n,group:e})}}):t.jsx(K,{title:s(dt[n.id].label),children:t.jsx(e.Suspense,{children:t.jsx(si,{item:n,dashboard:!0,preview:a,onChange:r})})})}const di=Object.freeze(Object.defineProperty({__proto__:null,Activity:function({query:n}){const a=T(),r=ai(),s=Tr(),[o,i]=e.useState(null),l=ne(),c=null!==o;if(!l.data)return l.error?null:t.jsx(E,{});if(r.pending)return t.jsx(E,{});const d=e=>zr(t=>({...t,sections:t.sections.map(t=>({...t,items:t.items.map(t=>j(t)===j(e)?e:t)}))}));return t.jsxs(t.Fragment,{children:[t.jsx(ct,{children:c?t.jsx(e.Suspense,{children:t.jsx(ii,{draft:o,saved:s,setDraft:i,onClose:()=>i(null)})}):t.jsx(U,{onPress:()=>i(s),children:a("dashboard.edit")})}),"mode"===new URLSearchParams(n).get("card")&&t.jsx(ri,{layout:s}),t.jsx(Qo,{model:r}),!Pr(s).some(e=>"status"===e.id)&&Pr(s).some(e=>"runtime"===dt[e.id].resource)&&t.jsx(Jo,{}),t.jsxs("div",{className:"rp-dashboard","data-editing":c||void 0,children:[c?t.jsx(e.Suspense,{children:t.jsx(R,{value:!0,children:t.jsx(oi,{draft:o,setDraft:i,render:e=>t.jsx(ci,{item:e})})})}):s.sections.filter(e=>e.items.length).map(e=>t.jsx(wr,{profile:e.id,grid:vr(e.items.map(Sr)),children:e.items.map(e=>t.jsx(li,{item:e,onChange:d},j(e)))},e.id)),!Pr(o??s).length&&t.jsx(K,{children:t.jsx("span",{className:"rp-label",children:a("widgets.empty")})})]})]})},WidgetCard:ci},Symbol.toStringTag,{value:"Module"}));function ui(e,t){const n=new Map;for(const r of e)n.set(r,(n.get(r)??0)+1);const a=[...n].map(([e,t])=>({key:e,count:t})).sort((e,t)=>t.count-e.count||((e,t)=>e===t?0:null===e?1:null===t||ee+t.count,0)}}const mi="select";function pi(e,t){const n=e??mi,a=mt(n);return a?ge(ht,a,t):n}function hi(e,t){const n=e.native?pi(e.native,t):ge(ht,e.kind,t),a=e.native||e.kind;return n===a?{label:n}:{label:n,id:a}}const fi=e=>"selector"===(mt(e??mi)??"selector");function gi(e,t){const n=ut.map(e=>({id:e.id,label:t(e.label),desc:t(e.description)}));return{selected:e??mi,items:e&&!n.some(t=>t.id===e)?[{id:e,label:pi(e,t)},...n]:n}}const bi={invalid:"group.badName",taken:"group.takenName"};function xi(e,t,n){const a=pt(e,t);return a?n(bi[a]):null}function vi(e,t,n){return e.every(e=>n?.filters.includes(e)||ft(e))&&(t===(n?.policy??null)||ft(t??""))}const yi=["cached","answered","nxdomain","failed"],wi=e=>e.cached?"cached":"NOERROR"===e.status?"answered":"NXDOMAIN"===e.status?"nxdomain":"failed";function ji(e,t){const n={cached:0,answered:0,nxdomain:0,failed:0},a=[];for(const l of e){const e=wi(l);n[e]++,l.cached||null===l.upstream||a.push({id:l.id,value:l.elapsed_ms,outcome:e,name:l.question.name,upstream:l.upstream})}const r=a.map(e=>e.value).sort((e,t)=>e-t),s=new Map;for(const l of a)s.set(l.upstream,[...s.get(l.upstream)??[],l]);const o=[...s].map(([e,t])=>({upstream:e,median:ks(t.map(e=>e.value).sort((e,t)=>e-t),50),samples:t}));o.sort((e,n)=>n.samples.length-e.samples.length||bn(t)(e.upstream,n.upstream));const i=e.length-n.cached;return{domains:ui(e.map(e=>e.question.name.replace(/\.$/,"")),8),devices:ui(e.map(e=>null===e.src?null:ki(e.src)),8),total:e.length,counts:n,uncached:i,samples:a,typical:ks(r,50),slowest:ks(r,95),failureRate:i?n.failed/i:null,cacheRate:e.length?n.cached/e.length:null,upstreams:o}}const ki=e=>e.replace(/:\d+$/,""),_i=(e,t)=>!!e?.next_cursor&&void 0!==t&&e.records.lengthe?Ni.filter(n=>e.capabilities.mutable_config.includes(n)&&("default_member_id"!==n||fi(t))):[],Ci=e=>null===e?"none":`=${e}`,Ai=e=>e.startsWith("=")?e.slice(1):null,Li=e=>null===e?null:o(e),Pi=(e,t)=>null===e||e===Li(t)||vt(e);function $i(e){const t=new Map;for(const[n,a]of e){if("ambiguous"===a)continue;const e=Li(a.entry.final);t.set(n,[...gt(a.entry),...e?[e]:[]])}return t}function Ri(e,t){const n=new Map;for(const[s,o]of t)for(const e of o)n.set(e,[...n.get(e)??[],s]);const a=new Set([e]),r=[e];for(;r.length;)for(const e of n.get(r.pop())??[])a.has(e)||(a.add(e),r.push(e));return a}const Ei=(e,t,n)=>({id:"none",items:[{id:Ci(null),label:n("ui.none")},...[...new Set(t)].filter(t=>null!==t&&!e.some(e=>e.id===Ci(t))).map(e=>({id:Ci(e),label:e}))]});function Oi(e,t,n=new Set){return e.filter(e=>{const a=t(e);return!n.has(a)&&(n.add(a),!0)})}const zi=e=>!1===e.alive?"err":void 0===e.tcp?void 0:tn(e.tcp);function Ti(e,t,n,a){const r=Ri(e,t.links),s=new Set([...xt,...t.groups]),o=xt.map(e=>({id:Ci(e),label:e})),i=t.groups.filter(e=>!r.has(e)).map(e=>({id:Ci(e),label:e})),l=Oi(t.nodes,e=>e.name,s).map(e=>({id:Ci(e.name),label:e.name,nodeName:!0,desc:!1===e.alive?a("ui.unavailable"):void 0===e.tcp?"—":gn(e.tcp,a),tone:zi(e)})),c=[...o,...i,...l];return[Ei(c,n,a),{id:"builtin",title:a("policy.pickBuiltin"),items:o},{id:"groups",title:a("policy.pickGroups"),items:i},{id:"nodes",title:a("policy.pickNodes"),items:l}].filter(e=>e.items.length)}function Di(e,t,n){const a=Oi(e,e=>e.name).map(e=>({id:Ci(e.name),label:e.name,nodeName:e.nodeName,desc:e.status.text,tone:e.status.tone}));return[Ei(a,t,n),{id:"members",title:n("policy.pickMembers"),items:a}].filter(e=>e.items.length)}function Ii(e,t){const n=Me(e);return void 0!==n?{text:gn(n,t),tone:tn(n)}:"unavailable"===e?.state?{text:t("ui.unavailable"),tone:"err"}:{text:"—"}}function Hi(e,t,n){const a=Na(e);return[...gt({filters:e}).map(e=>({name:e,nodeName:!1,status:{text:n("ui.group"),badge:!0}})),...t.filter(a).map(e=>({name:e.name,nodeName:!0,status:Ii(Ne(e),n)}))]}function qi(e){const t=new Map;for(const n of e)for(const e of c(n.content))t.set(e.name,t.has(e.name)?"ambiguous":{entry:e,origin:n});return t}function Bi(e,t,n){return t.error?bt(t.error,n):t.loaded?e?"ambiguous"===e?n("policy.editAmbiguous"):e.origin.writable?void 0===t.complete?n("policy.editNoConfig"):t.complete?null:n("config.incomplete"):n("policy.editReadOnly",{file:e.origin.path}):n("policy.editNoEntry"):n("policy.editNoConfig")}function Fi(e,t,n,a,r,s){t!==n&&e(t).then(e=>{e&&void 0!==a&&ue("positive",((e,t,n,a)=>a("override"===e.source?"policy.pinned":e.connections_interrupted?"policy.selectedInterrupted":"policy.selectedKept",{name:t,member:n}))(e,a,r(e.member_id),s))})}function Wi(e){return{measured:[...new Map(e.flatMap(e=>e.rows).map(e=>[e.id,e])).values()].sort((e,t)=>e.latest-t.latest),missing:[...new Map(e.flatMap(e=>e.missing).map(e=>[e.id,e])).values()],down:new Set(e.flatMap(e=>e.missing.filter(e=>"unavailable"===e.state).map(e=>e.id))).size}}function Gi(e,t,n){const a=function(e){const t=function(e){const t=[e.moving,e.avg10].filter(e=>null!==e);return t.length?[Math.min(...t),Math.max(...t)]:null}(e);return null!==t&&e.latest>t[1]*Vi.ratio&&e.latest-t[1]>=Vi.ms}(e);return{id:e.id,label:e.name,nodeName:!0,href:n,value:e.latest,average:Ki(e),range:Zi(e),text:gn(e.latest,t),tone:a?"notice":void 0,details:()=>[t("ui.valuePair",{label:t("nodes.latency.latest"),value:gn(e.latest,t)}),...null!==e.moving?[t("ui.valuePair",{label:t("nodes.latency.moving"),value:gn(e.moving,t)})]:[],...null!==e.avg10?[t("ui.valuePair",{label:t("nodes.latency.avg10"),value:gn(e.avg10,t)})]:[],...a?[t("nodes.latency.slower")]:[]]}}function Ui(e,t,n,a){const r=bn(a),s=new Map((t??[]).map(e=>[e.id,e.name])),o=new Map,i=(e,t)=>{let n=o.get(e);return n||o.set(e,n={id:e,label:t,rows:[],missing:[]}),n};for(const c of e){const e=Ne(c),t="protocol"===n?[["protocol:"+(c.protocol??""),c.protocol??null]]:c.group_ids.length?c.group_ids.map(e=>["group:"+e,s.get(e)??e]):[["group:",null]];for(const[n,a]of t){const t=i(n,a);"healthy"===e?.state&&null!==e.latency_ms?t.rows.push({id:c.id,name:c.name,latest:e.latency_ms,moving:e.moving_avg_ms,avg10:e.avg10_ms}):t.missing.push({id:c.id,name:c.name,state:"unavailable"===e?.state?"unavailable":"unmeasured"})}}const l=[...o.values()];for(const c of l)c.rows.sort((e,t)=>e.latest-t.latest||r(e.name,t.name)),c.missing.sort((e,t)=>r(e.name,t.name));return l.sort((e,t)=>(null===e.label?1:0)-(null===t.label?1:0)||r(e.label??"",t.label??""))}const Vi={ratio:1.3,ms:20};function Ki(e){return e.avg10??e.moving}function Zi(e){if(null===e.moving&&null===e.avg10)return null;const t=[e.latest,e.moving,e.avg10].filter(e=>null!==e);return[Math.min(...t),Math.max(...t)]}function Ji(e){const t=e.flatMap(e=>e.rows);return{moving:t.some(e=>null!==e.moving),avg10:t.some(e=>null!==e.avg10)}}function Xi(e){const t=e.flatMap(e=>e.rows.flatMap(e=>[e.latest,e.moving??e.latest,e.avg10??e.latest])).sort((e,t)=>e-t),n=Math.max(10,1.25*(ks(t,90)??0)),a=n<=100?20:n<=500?100:n<=2e3?500:1e3;return Math.ceil(n/a)*a}const Yi=[3600,21600,43200,86400];function Qi(e,t,n){return 0===e?n("nodes.manualOnly"):e%3600==0?n("nodes.everyHours",{n:e/3600}):n("nodes.everyDuration",{duration:xn(String(e),t)})}function el(e){const t=e.at(-1);return"m"===t||"h"===t?{count:e.slice(0,-1),unit:t}:null}function tl(e){return el(e)??(/^\d+$/.test(e)?0===(t=Number(e))||Yi.includes(t)||t%60?null:t%3600?{count:String(t/60),unit:"m"}:{count:String(t/3600),unit:"h"}:null);var t}function nl(e){const t=Number(e);return t>0&&t%3600==0?t/3600+"h":"h"}function al(e){if(""===e)return;const t=Aa(e);return null!==t&&Number.isSafeInteger(t)?t:null}function rl(e){if(""===e||""===el(e)?.count)return null;const t=Aa(e);return null===t?"nodes.intervalInvalid":Number.isSafeInteger(t)?null:"nodes.intervalTooLarge"}function sl(e,t){const n=e+t;return 0===al(n)?"0":n}function ol(e,t,n){return[...[0,...Yi,...null===e||e%60==0?[]:[e]].map(e=>({id:String(e),label:Qi(e,t,n)})),{id:"typed",label:n("nodes.intervalCustom")}]}function il(e,t,n,a){const r=ll(Ne(e),a),s=function(e,t){const n=St(e.health);return n.map(({kind:e,transport:a,observation:r})=>({label:n.some(t=>t.kind===e&&t.transport!==a)?t("ui.aside",{text:e,note:a.toUpperCase()}):e,...ll(r,t,r.error?Se(r.error,t):void 0)}))}(e,a);return{id:e.id,name:e.name,protocol:e.protocol??"—",latency:r.value,latencyClass:r.tone,groups:e.group_ids.length?He(n,e.group_ids.map(e=>t.get(e)??e)):"—",probeKinds:s,showProbeKinds:s.length>1,probeLabel:a("nodes.probe",{name:e.name}),removeLabel:a("nodes.remove",{name:e.name})}}function ll(e,t,n){const a=Me(e);return{value:void 0!==a?gn(a,t):"unavailable"===e?.state?n??t("ui.unavailable"):"—",tone:void 0!==a?`ms ${tn(a)}`:"unavailable"===e?.state?"ms err":"ms"}}const cl=e=>Me(Ne(e)),dl=(e,t,n,a)=>e&&t&&n.writable&&!0===a;function ul(e,t,n){const a=al(e.interval);return{name:e.name.trim()!==t.tag,url:e.value.trim()!==t.url,interval:""!==e.interval&&(null===a||a!==t.interval),agent:e.agent!==(t.ua??"")&&(e.agent.trim()||null)!==(t.ua??null),cache:null!==e.cache&&e.cache!==(t.cache??n),route:(e.route||"routing")!==(t.route||"routing")}}function ml(e,t,n,a,r){return e&&t&&n&&a.writable&&void 0===r?null:e&&dl(t,n,a,r)?"edit":"open"}function pl(e,t,n){if(!e.length)return null;const a=e.length>1?e.filter(({entry:e})=>Pa(e.url)===Pa(t.url_redacted)):e;return{...1===a.length?a[0]:e[0],unique:1===e.length&&1===n.filter(e=>"subscription"===e.kind&&e.name===t.name).length}}function hl(e,t,n,a,r,s){const o=r.name.trim(),i=o!==n.name,l=i&&e.some(e=>e.id!==t.id&&((e,t)=>Za(e,t).length>0)(e.content,n.name)),c=i&&(a.some(e=>e.name===o)||e.some(e=>("main"===e.kind||"include"===e.kind)&&Ka(e.content).some(e=>e.name===o)))?s("nodes.nameTaken"):u(o)?null:s("config.unquotable"),d=l?s("nodes.renameElsewhere"):u(r.value.trim())?null:s("config.unquotable");return{nameError:c,error:d,valid:!!o&&Va(r.value)&&!d&&!c&&(r.name!==n.name||r.value!==n.link)}}const fl=e=>e.some(({source:e})=>"main"!==e.kind);function gl(e,t,n){const a="subscription"===n?.kind;return{blockers:a?[...new Set((e??[]).flatMap(e=>wt(e.content,n.name)))]:[],checking:a&&t&&!e}}function bl(e,t,n){return{here:jt(t.content??"",n),elsewhere:e.filter(e=>e.id!==t.id&&jt(e.content??"",n).length>0||kt(e.content??"",n))}}function xl(e,t,n,a){const r=new Map;for(const f of t){if(!f.provider_id||!f.subscription_tag)continue;const e=r.get(f.provider_id)??new Set;e.add(f.subscription_tag),r.set(f.provider_id,e)}const s=e=>{const t=r.get(e);return 1===t?.size?[...t][0]:void 0},o=e=>{const t=Pa(e.url_redacted),a=t?n.filter(e=>Pa(e.url)===t):[];return 1===a.length?a[0].tag:void 0},i=new Map,l=e.filter(e=>"subscription"===e.kind);for(const f of l){const e=s(f.id)??o(f);e&&i.set(f.id,e)}const c=l.filter(e=>!i.has(e.id)),d=new Set(i.values()),u=n.filter(e=>!d.has(e.tag));1===c.length&&1===u.length&&i.set(c[0].id,u[0].tag);const m=e.map(e=>{const t=s(e.id);return{...e,displayName:i.get(e.id)??e.name,configTag:"subscription"===e.kind&&t&&1===n.filter(e=>e.tag===t).length?t:void 0,sourceTag:"subscription"===e.kind?e.name:void 0}}),p={builtin:0,unattributed:0};for(const f of t)null==f.provider_id&&p[lt(f)]++;const h=[];for(const f of["builtin","unattributed"]){const t=p[f];t&&h.push({id:yt(f,e),name:a("builtin"===f?"nodes.kind.builtin":"nodes.kind.unattributed"),kind:f,url_redacted:null,node_count:t,updated_at:null,expires_at:null,traffic:null,status:"ok",last_error:null})}return{list:[...h,...m]}}function vl(e,t){return null!==t&&e.some(e=>e.id===t)?t:(e.find(e=>"builtin"!==e.kind&&"unattributed"!==e.kind)??e[0])?.id??null}function yl(e,t,n){return e.filter(e=>void 0===t||(null===t?null==e.provider_id&&"builtin"===lt(e)==("builtin"===n):e.provider_id===t))}function wl(e,t){const n=new Map(e.map(e=>[e.id,e.displayName??e.name]));return e=>n.get(x(e,t))??"—"}function jl(e,t,n,a,r,s,o){const i=t.trim(),l=e.filter(e=>(!i||s(e.name,i))&&(!n||e.group_ids.includes(n))&&(!a||e.protocol===a)),c="ascending"===r.direction?1:-1,d=bn(o),u="latency"===r.column?new Map(l.map(e=>[e.id,cl(e)])):new Map,m={name:(e,t)=>d(e.name,t.name),protocol:(e,t)=>d(e.protocol??"",t.protocol??""),latency:(e,t)=>Nt(u.get(e.id),u.get(t.id))||d(e.name,t.name)};return l.sort((e,t)=>c*(m[r.column]??m.name)(e,t))}function kl(e,t){return e.filter(e=>!("ua"===e.name||"interval"===e.name||"cache"===e.name&&t.cache||("route"===e.name||"download_detour"===e.name)&&t.route))}function _l(e,t){const n={name:e.name.trim(),kind:"subscription",url:e.value.trim()},a=al(e.interval);void 0!==t?.update_interval&&null!=a&&a!==t.update_interval&&(n.update_interval=a);const r=e.agent.trim();return void 0!==t?.user_agent&&r&&r!==t.user_agent&&(n.user_agent=r),void 0!==t?.cache&&null!==e.cache&&e.cache!==t.cache&&(n.cache=e.cache),n}function Ml(e,t,n,a){const r="builtin"===e.kind||"unattributed"===e.kind,s="subscription"===e.kind&&"stale"===e.status&&null===e.updated_at&&null===e.last_error,o=e.traffic?he(e.traffic.upload_bytes,e.traffic.download_bytes):null,i="subscription"===e.kind?t:void 0,l=e.displayName??e.name;return{id:e.id,name:l,url:e.url_redacted??void 0,kind:ge({subscription:"nodes.kind.subscription",file:"nodes.kind.file",inline:"nodes.kind.inline",builtin:"nodes.kind.builtin",unattributed:"nodes.kind.unattributed"},e.kind,a),count:ve(e.node_count,n),usage:null===o?"—":e.traffic?.total_bytes?a("ui.fraction",{part:hn(o,n),whole:hn(e.traffic.total_bytes,n)}):hn(o,n),updatedAt:r?null:e.updated_at,expires:e.expires_at?fn(e.expires_at,n):"—",interval:null==i?"—":Qi(i,n,a),status:r?null:s?a("nodes.status.never"):ge({ok:"nodes.status.ok",stale:"nodes.status.stale",error:"nodes.status.error"},e.status,a),tone:s?"neutral":{ok:"ok",stale:"warn",error:"err"}[e.status],error:e.last_error?_t(Mt(e.last_error.code,e.last_error.message,a),a):void 0,refreshLabel:a("nodes.refresh",{name:l}),removeLabel:a("nodes.remove",{name:l})}}function Nl(e,t,n,a){const r=t.trim();return"provider"!==e&&"node"!==e||!r&&!n.trim()?null:r?"node"===e?Va(n)?null:a("nodes.linkInvalid"):p(r)?Ca(n)?null:a("nodes.urlInvalid"):a("nodes.nameInvalid"):a("nodes.nameMissing")}function Sl(e,t,n){return[...qi(e).values()].flatMap(e=>"ambiguous"!==e&&e.origin.writable&&!0===t(e.origin)&&!n(e.origin)?[e.entry]:[])}const Cl=16,Al=$t.width,Ll={ArrowLeft:[-16,0],ArrowRight:[Cl,0],ArrowUp:[0,-16],ArrowDown:[0,Cl]},Pl=[{inline:"start",block:"start"},{inline:"end",block:"start"},{inline:"start",block:"end"},{inline:"end",block:"end"},{block:"start"},{block:"end"},{inline:"start"},{inline:"end"}];function $l(t,n,a){const[r,s]=e.useState(null),o=e.useRef(null),i=e=>{o.current=e,s(e),document.documentElement.toggleAttribute("data-panel-gesture",null!==e)};e.useEffect(()=>()=>document.documentElement.removeAttribute("data-panel-gesture"),[]);const{moveProps:l}=ln({onMoveStart:()=>i(t()),onMove:({deltaX:e,deltaY:t})=>{o.current&&i(n(o.current,e,t))},onMoveEnd:()=>{o.current&&(a(o.current),i(null))}});return{live:r,props:{...l,onKeyDown:e=>{const r=Ll[e.key];r&&(e.preventDefault(),a(n(t(),...r)))}}}}function Rl({edge:e,label:n,...a}){return t.jsx("button",{type:"button",...a,className:"rp-panel-resize","data-inline":e.inline,"data-block":e.block,...n?{"aria-label":n}:{tabIndex:-1,"aria-hidden":!0}})}const El=(e,{x:t,y:n})=>{const a=e?.getBoundingClientRect();return!!a&&t>=a.left&&t<=a.right&&n>=a.top&&n<=a.bottom},Ol=e=>[...e?.querySelectorAll('[aria-expanded="true"][aria-controls]')??[]],zl=(e,t)=>!!t&&(!!e?.contains(t)||Ol(e).some(e=>{const n=document.getElementById(e.getAttribute("aria-controls")??"");return!!(n?.closest("[data-trigger]")??n)?.contains(t)})),Tl=`${Et}, input:not([type="radio"], [type="checkbox"]), textarea, [role="menu"], [role="listbox"], [aria-expanded="true"]`;function Dl(a,r,s,o,i){const l=!!a,c=e.useRef(null),[d,u]=e.useState(!1),[m,p]=e.useState(!1),[h,f]=e.useState(!1),[g,b]=e.useState(!1),[x,v]=e.useState(!1),[y,w]=e.useState(!1),{isFocusVisible:j}=Rt(),k=l&&!g&&(d||m&&j||h||x||!r||!!a?.keepOut),[_,M]=e.useState(k);_!==k&&(M(k),w(!k&&!g)),e.useEffect(()=>{if(!y)return;const e=setTimeout(()=>w(!1),400);return()=>clearTimeout(e)},[y]);const N=k||y&&!g,[S,C]=e.useState(null);e.useEffect(()=>{const e=i.current;if(!l||!e)return;const t=()=>v(Ol(e).length>0),n=new MutationObserver(t);return n.observe(e,{subtree:!0,attributes:!0,attributeFilter:["aria-expanded"]}),t(),()=>n.disconnect()},[l,i]);const A=e.useRef(null),L=e.useRef(!1),P=e.useEffectEvent(()=>{const e=A.current,t=!!e&&(El(i.current,e)||El(c.current,e));t&&!L.current&&b(!1),L.current=t,u(t)});e.useLayoutEffect(()=>{const[e,t]=[i.current,c.current];if(!(l&&r&&e&&t))return;const n=()=>{const e=o();if(!e)return;const n={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight},a=Ot(e,n),r={edge:a,...zt(e,n,a,"left"===a||"right"===a?t.offsetHeight:t.offsetWidth)};C(e=>JSON.stringify(e)===JSON.stringify(r)?e:r),P()};n();const a=new ResizeObserver(n);return a.observe(e),a.observe(t),()=>a.disconnect()},[l,r,s,o,i]),e.useLayoutEffect(()=>P(),[S]),e.useEffect(()=>{if(!l)return;const e=e=>{"touch"!==e.pointerType&&(A.current={x:e.clientX,y:e.clientY},P())},t=()=>{A.current=null,P()};return addEventListener("pointermove",e),document.documentElement.addEventListener("pointerleave",t),()=>{removeEventListener("pointermove",e),document.documentElement.removeEventListener("pointerleave",t)}},[l]),e.useEffect(()=>{if(!h)return;const e=e=>{const t=e.target;zl(i.current,t)||c.current?.contains(t)||f(!1)};return addEventListener("pointerdown",e,!0),()=>removeEventListener("pointerdown",e,!0)},[h,i]);const $=e.useRef(""),R=e.useRef(!1);if(!a)return{handle:null,panelProps:{},frameProps:{}};const E=()=>{b(!1),f(!0)},O=()=>{n.flushSync(E),i.current?.querySelector(".rp-panel-move")?.focus()};return{handle:t.jsx("button",{ref:c,type:"button",className:"rp-edge-handle","data-edge":S?.edge,"data-out":N||void 0,"aria-label":a.label,style:S?{"--rp-edge-at":`${S.at}px`}:void 0,onFocus:e=>!R.current&&e.currentTarget.matches(":focus-visible")&&O(),onPointerDown:e=>$.current=e.pointerType,onClick:()=>{"touch"===$.current?E():O(),$.current=""},children:a.handle}),panelProps:{"data-edge":S?.edge,"data-tucked":N||!S?void 0:"",style:S&&{"--rp-edge-shift":`${S.shift.x}px ${S.shift.y}px`}},frameProps:{onFocus:()=>p(!0),onBlur:e=>{const t=e.relatedTarget;e.currentTarget.contains(t)||zl(i.current,t)||(p(!1),b(!1),t&&f(!1))},onKeyDown:e=>{const t=e.target;var r;"Escape"!==e.key||!N||a.keepOut||t.closest(Tl)||(r=t,r.getAttribute("aria-describedby")?.split(" ").some(e=>"tooltip"===document.getElementById(e)?.getAttribute("role")))||(n.flushSync(()=>{b(!0),f(!1),u(!1)}),R.current=!0,c.current?.focus(),R.current=!1)}}}}function Il({label:n,resizeLabel:a,moveLabel:r,movedText:s,size:o,offset:i,onResize:l,onMove:c,header:d,collapsed:u=!1,children:m,dockTarget:p,onDock:h,edge:f}){const g="rtl"===Ct().direction,b=e.useRef(null),x=e.useRef(null),[v,y]=e.useState(0),w=e=>g?e:-e,j=()=>b.current?.getBoundingClientRect()??{width:innerWidth-32,height:innerHeight,left:0,right:innerWidth,top:0,bottom:innerHeight},k=e.useCallback(()=>function(e,t){if(!e||!t)return null;const n=e.getBoundingClientRect(),[a,r,s,o]=[n.left+t.offsetLeft,n.top+t.offsetTop,t.offsetWidth,t.offsetHeight];return{left:a,top:r,width:s,height:o,right:a+s,bottom:r+o}}(b.current,x.current),[]),_=()=>k()??{width:o?.width??Al,height:$t.height,left:0,right:0,top:0,bottom:0},M=()=>{const[e,t]=[j(),_()],n=g?t.left-e.left:e.right-t.right;return i?.top?{x:n,y:t.top-e.top,top:!0}:{x:n,y:e.bottom-t.bottom}},N=e.useRef(Pl[0]),S=$l(()=>{const e=_(),t=x.current?.querySelector(".rp-widget-body"),n=e.height+(t?t.scrollHeight-t.clientHeight:0);return{size:{width:e.width,height:e.height},offset:M(),tallest:n}},(e,t,n)=>({...At(e,N.current,-w(t),n,j(),e.tallest),tallest:e.tallest}),e=>l(e.size,e.offset)),C=e.useRef(null),A=(e=p?.())=>{const t=C.current,n=e?.getBoundingClientRect();return!!(t&&n&&t.x>=n.left&&t.x<=n.right&&t.y>=n.top&&t.y<=n.bottom)},L=$l(M,(e,t,n)=>{C.current&&(C.current={x:C.current.x+t,y:C.current.y+n});const a=p?.();a?.toggleAttribute("data-dock-armed",!!C.current);const r=A(a);a?.toggleAttribute("data-dock-target",r),x.current?.toggleAttribute("data-docking",r);const s={...e,x:e.x+w(t),y:e.top?e.y+n:e.y-n};return Pt(s,j(),_())},e=>{const t=p?.(),n=A(t);if(t?.removeAttribute("data-dock-armed"),t?.removeAttribute("data-dock-target"),x.current?.removeAttribute("data-docking"),C.current=null,n&&h)return h();c(Lt(e,j().height,_().height)),y(e=>e+1)});!function(){const[,t]=e.useReducer(e=>e+1,0);e.useEffect(()=>(addEventListener("resize",t),()=>removeEventListener("resize",t)),[])}();const P=Dl(f,!L.live&&!S.live,f?[i?.x,i?.y,i?.top,o?.width,o?.height,u,innerWidth,innerHeight].join():"",k,x),$=e=>{e.target.closest('button:not(.rp-panel-move), a, input, [role="button"]')||(C.current={x:e.clientX,y:e.clientY},L.props.onPointerDown?.(e))},R=S.live?.size??o,E=S.live?.offset??L.live??(i&&Pt(i,{width:innerWidth-32,height:innerHeight},{width:o?.width??Al,height:0}));return t.jsxs("div",{ref:b,className:"rp-floating-frame","data-anchor":E?.top?"top":void 0,style:E&&{"--rp-panel-x":`${E.x}px`,"--rp-panel-y":`${E.y}px`},...P.frameProps,children:[P.handle,t.jsxs("section",{ref:x,className:"rp-floating-panel","aria-label":n,...P.panelProps,style:{...P.panelProps.style,"--rp-panel-width":`${R?.width??Al}px`,...R&&!u&&{"--rp-panel-height":`${R.height}px`}},children:[!u&&Pl.map((e,n)=>t.jsx(Rl,{edge:e,label:n?void 0:a,...S.props,onPointerDown:t=>{N.current=e,S.props.onPointerDown?.(t)},onKeyDown:t=>{N.current=e,S.props.onKeyDown(t)}},n)),t.jsxs("div",{className:"rp-panel-head",onPointerDown:$,children:[t.jsx("button",{type:"button",...L.props,onPointerDown:$,className:"rp-panel-move","aria-label":r}),d]}),m,t.jsx(ot,{children:t.jsx("span",{role:"status",children:v>0&&t.jsx("span",{children:s},v)})})]})]})}function Hl({children:n,label:a,kind:r="panel"}){const s=e.useRef(null),[o,i]=e.useState(!1);return e.useLayoutEffect(()=>{const e=s.current;if(!e)return;const t=()=>{const t=e.offsetWidth-e.clientWidth+"px";e.style.getPropertyValue("--rp-scrollbar-gutter")!==t&&e.style.setProperty("--rp-scrollbar-gutter",t),i(e.scrollHeight>e.clientHeight+e.scrollTop+1||e.scrollWidth>e.clientWidth+Math.abs(e.scrollLeft)+1)};let n=0;const a=()=>{n||=requestAnimationFrame(()=>{n=0,t()})},o=new ResizeObserver(a);o.observe(e),e.firstElementChild&&o.observe(e.firstElementChild);const l=new MutationObserver(()=>{a();const t=e.querySelector(".rp-sortable-row[data-selected]");if("canvas"!==r||!t)return;const n=e.getBoundingClientRect(),s=t.getBoundingClientRect(),o=Number.parseFloat(getComputedStyle(e).scrollPaddingBlockStart)||0;s.topn.bottom-o&&(e.scrollTop+=s.bottom-n.bottom+o)});return l.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-selected"]}),e.addEventListener("scroll",a),t(),()=>{cancelAnimationFrame(n),o.disconnect(),l.disconnect(),e.removeEventListener("scroll",a)}},[r]),t.jsx("section",{className:"rp-widget-panel","data-kind":r,"data-more":o||void 0,children:t.jsx("div",{ref:s,className:"rp-widget-body rp-overlay-scroll"+("gallery"===r?" rp-widget-gallery-list":""),tabIndex:0,role:"region","aria-label":a,children:t.jsx("div",{className:"rp-widget-body-content",children:n})})})}function ql({label:n,hideLabel:a,children:r}){const s=e.useContext(Tt);return t.jsxs("section",{className:"rp-widget","aria-label":n,children:[!a&&s&&t.jsx("h3",{className:"rp-widget-label rp-kv-label",children:n}),r]})}function Bl({label:e,children:n}){return t.jsxs("div",{className:"rp-widget-row",children:[t.jsx("span",{className:"rp-kv-label",children:e}),n]})}function Fl({backend:e,actions:n,summary:a}){return t.jsxs("div",{className:"rp-widget-header",children:[e&&t.jsx("div",{className:"rp-widget-backend",children:e}),a,n&&t.jsx("div",{className:"rp-widget-actions",children:n})]})}function Wl({rates:e,reserve:n}){return t.jsx("div",{className:"rp-widget-speed","data-reserve":n,children:e.map(e=>t.jsxs("span",{children:[t.jsx("span",{className:"rp-widget-speed-icon",style:{color:e.color},children:e.icon}),t.jsxs(ot,{children:[e.label," "]}),t.jsx("span",{className:"rp-widget-speed-value",children:e.value})]},e.label))})}function Gl({panelWidth:n,onPanelWidth:a,resizeLabel:r,header:s,gallery:o,canvas:i,inspector:l,galleryLabel:c,canvasLabel:d,inspectorLabel:u}){const m=e.useRef(null),p=e.useRef(null),[h,f]=e.useState(1),[g,b]=e.useState(!1),x="rtl"===Ct().direction,v=e=>Dt({width:e,height:$t.height}).width,y=$l(()=>({width:n,scale:h}),(e,t)=>({...e,width:v(e.width+(x?-t:t)/e.scale)}),e=>a?.(e.width)),w=y.live?.width??n;return e.useLayoutEffect(()=>{const e=m.current,t=p.current;if(!e||!t)return;const n=()=>{const n=Number.parseFloat(getComputedStyle(e.firstElementChild).columnGap);b(e.clientWidth>=w+320+240+2*n);const a=getComputedStyle(t),r=t.clientWidth-Number.parseFloat(a.paddingLeft)-Number.parseFloat(a.paddingRight);f(Math.min(1,r/w))},a=new ResizeObserver(n);return a.observe(e),a.observe(t),n(),()=>a.disconnect()},[w]),t.jsx("div",{ref:m,className:"rp-widget-editor",style:{"--rp-panel-width":`${w}px`},children:t.jsxs("div",{className:"rp-widget-editor-grid","data-three-columns":g||void 0,children:[t.jsxs("section",{className:"rp-widget-gallery",children:[t.jsx("h3",{className:"rp-h3",children:c}),t.jsx(Hl,{label:c,kind:"gallery",children:o})]}),t.jsxs("section",{className:"rp-widget-canvas",children:[t.jsx("h3",{className:"rp-h3",children:d}),t.jsx("div",{ref:p,className:"rp-widget-preview-space",children:t.jsxs("div",{className:"rp-floating-panel rp-widget-preview",style:{zoom:h,"--rp-preview-scale":h},children:[t.jsx("div",{className:"rp-panel-head",inert:!0,children:s}),t.jsx(Hl,{label:d,kind:"canvas",children:i}),a&&t.jsx(Rl,{edge:{inline:"end"},label:r,...y.props,onKeyDown:e=>{const t={ArrowLeft:-16,ArrowRight:Cl}[e.key];t&&(e.preventDefault(),a?.(v(n+(x?-t:t))))}})]})})]}),t.jsxs("section",{className:"rp-widget-inspector","aria-label":u,children:[t.jsx("h3",{className:"rp-h3",children:u}),l]})]})})}function Ul({children:e}){return t.jsx("div",{className:"rp-widget-grid",children:e})}function Vl({size:e,id:n,children:a}){return t.jsx("div",{className:"rp-widget-cell","data-size":e,"data-widget-id":n,children:a})}const Kl=e.createContext(2);function Zl({size:n,scale:a=1,combine:r=!1,...s}){const o=T(),i=e.useContext(Kl),l=t.jsx(ds,{series:s.series,fmt:e=>null==e?"—":s.fmt(e)});if("normal"===n)return t.jsxs(t.Fragment,{children:[l,t.jsx(us,{...s,height:(s.height??150)*a})]});const c=("widget"===n?64:32)*a;if(r)return t.jsxs("figure",{className:"rp-compact-chart","aria-label":s.label,children:[l,t.jsx(us,{...s,height:c,bare:!0,inset:i})]});const d=function(e,t=1e3){const n=[];for(let a=e.length-1;a>=0;a--)(!n.length||e[n.at(-1)]-e[a]>=t)&&n.push(a);return n.reverse()}(s.timestamps),u=e=>s.series.filter(t=>null!=t.values[d[e]]).sort((e,t)=>e.labelt.label?1:0).map(t=>o("ui.valuePair",{label:t.label,value:s.fmt(t.values[d[e]])}));return t.jsxs("figure",{className:"rp-compact-chart","aria-label":s.label,children:[l,s.series.map(e=>t.jsx(ms,{values:d.map(t=>e.values[t]),timestamps:d.map(e=>s.timestamps[e]),color:e.color,inset:i,height:c,fmt:s.fmt,locale:s.locale,lines:u},e.label))]})}function Jl(e){return t.jsx("svg",{className:"rp-icon",viewBox:"0 0 20 20",fill:"none",stroke:"currentColor",strokeWidth:"1.5","aria-hidden":"true",...e,children:t.jsx("path",{d:"m7 3 6 0-1 5 3 3v2H5v-2l3-3-1-5Zm3 10v5"})})}const Xl=Date.now(),Yl=[12,18,15,27,22,19,24].map((e,t)=>({time:Xl-1e4*(6-t),value:e})),Ql=[{id:"sample-ready",event:"stream.ready",data:{instance_id:"sample-engine",observed_at:new Date(Xl).toISOString()}}];let ec;const tc=()=>ec??=async function(){const{createMockApi:e}=await I(async()=>{const{createMockApi:e}=await(import("./index-D3-KABFr.js"));return{createMockApi:e}},__vite__mapDeps([17,3,1,2,4,8,9,18,19,20,5]),import.meta.url),t=e({isolated:!0}),[n,a,r,s,o,i,l,c,d,u,m,p,h]=await Promise.all([t.capabilities(),t.runtime(),t.runtimeMemory(),t.runtimeOutbounds(),t.datapath(),t.nodes({limit:8}),t.groups(),t.providers(),t.connections({detail:"full",limit:1e3}),t.dnsLog({limit:4}),t.config(),t.trafficHistory({window_seconds:120}),t.memoryHistory({window_seconds:120})]),f=await t.group(l[0].id);return{capabilities:n,runtime:a,runtimeMemory:r,runtimeOutbounds:s,datapath:o,nodes:i.nodes,groups:l,providers:c,connections:d,dnsLog:u,config:m,trafficHistory:p,memoryHistory:h,group:f,notices:Ql}}();function nc(e){if(null==e)return!1;if(Array.isArray(e))return e.length>0;if("object"!=typeof e)return!0;const t=e;for(const n of["records","providers","samples","outbounds"])if(Array.isArray(t[n]))return t[n].length>0;return"tcp"in t&&"udp"in t?nc(t.tcp)||nc(t.udp):Object.keys(t).length>0}function ac(e,t,n){return!!nc(t)&&("capabilities"===e?It(n,t):"connections"===e&&"ranking"===n?[...t.tcp,...t.udp].some(e=>e.src&&(Ee(e.download_bytes)??0n)>0n):"runtimeOutbounds"!==e||t.outbounds.some(e=>(Ee(e.download_bytes)??0n)>0n))}function rc({children:n,id:a}){const[r,s]=e.useState(),[o,i]=e.useState();e.useEffect(()=>{let e=!0;return tc().then(t=>{e&&s(t)},t=>{e&&i(t instanceof Error?t:new Error(String(t)))}),()=>{e=!1}},[]);const l=e.useMemo(()=>({get:(e,t)=>ac(e,t,a)?void 0:r?.[e]}),[a,r]);if(o)throw o;return t.jsx(Ht,{value:l,children:n})}function sc(e){return t.jsx(O,{...e,children:t.jsx("path",{fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",d:"M10 3.5v13M4.75 11.5 10 16.75l5.25-5.25"})})}function oc(e){return t.jsx(O,{...e,children:t.jsx("path",{fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",d:"M10 16.5v-13M4.75 8.5 10 3.25l5.25 5.25"})})}function ic({state:e,children:n}){const a=T();return t.jsxs(t.Fragment,{children:[t.jsx(V,{error:e.error,onRetry:e.refetch}),e.error&&e.data&&t.jsx("span",{className:"rp-label",children:a("widgets.stale")}),e.loading&&!e.data?t.jsx(E,{}):n]})}const lc=["speed","history","download","upload"],cc=(e,t)=>lc.includes(e.id)&&"kv"!==t&&"small"!==e.size;function dc({item:e,form:n}){const a=T(),r=qe[X()],s=Be(),o=s.data,i=o?.traffic.rates;return t.jsxs(ic,{state:s,children:[!cc(e,n)&&t.jsx(qt,{compact:!0,row:"small"!==e.size,items:"traffic"===e.id?[[a("ui.download"),hn(o?.traffic.bytes.download??null,r)],..."small"===e.size?[]:[[a("ui.upload"),hn(o?.traffic.bytes.upload??null,r)]]]:lc.includes(e.id)?[[a("upload"===e.id?"ui.upload":"ui.download"),pn(("upload"===e.id?i?.upload_bytes_per_second:i?.download_bytes_per_second)??null,r)],..."small"===e.size||"download"===e.id||"upload"===e.id?[]:[[a("ui.upload"),pn(i?.upload_bytes_per_second??null,r)]]]:[[a("cpu"===e.id?"act.cpu":"act.active"),"cpu"===e.id?mn(o?.process.cpu_percent,a):null==o?.traffic.connections.total?"—":ve(o.traffic.connections.total,r)]]}),"traffic"===e.id&&"small"!==e.size&&t.jsx("span",{className:"rp-label rp-counter-since",children:a("act.since",{time:fn(o?.traffic.counter_since??null,r)})}),"traffic"!==e.id&&"kv"!==n&&"small"!==e.size&&("cpu"===e.id?t.jsx(pc,{scale:Gr(e),large:"large"===e.size||"wide"===e.size,form:n,runtime:o}):t.jsx(mc,{scale:Gr(e),large:"large"===e.size||"wide"===e.size,form:n,runtime:o,connections:"connections"===e.id,direction:e.id}))]})}function uc({form:e,large:n,scale:a,history:r,...s}){const o=T(),i=qe[X()];return t.jsxs(t.Fragment,{children:[r&&t.jsx(V,{error:r.error,onRetry:r.refetch}),t.jsx(Zl,{size:"sparkline"===e?n?"widget":"compact":"normal",scale:a,label:o("widgets.lastMinute"),locale:i,...s})]})}function mc({runtime:n,connections:a,direction:r,...s}){const o=T(),i=qe[X()],l=ss(),{history:c,series:d}=ko(ne().data,n,60,{anchored:!!e.useContext(Ht)}),u=Bt().splitRates;return t.jsx(uc,{...s,combine:"speed"===r&&!u,history:c,timestamps:d.timestamps,fmt:e=>a?null==e?"—":ve(e,i):pn(null==e?null:1e3*e,i),series:a?[{label:o("act.active"),color:l.cat[2],values:d.connections}]:[..."upload"===r?[]:[{label:o("ui.download"),color:l.cat[0],values:d.down}],..."download"===r?[]:[{label:o("ui.upload"),color:l.cat[3],values:d.up}]]})}function pc({runtime:n,...a}){const r=T(),s=ss(),o=e.useContext(Ht),i=e.useContext(R),l=De("cpu",i?void 0:n,Lo,Po,!0,i),c=!!o&&!l.fine.length&&!l.coarse.length,d=e.useMemo(()=>Oe(l,c?Yl:[],60,Po,o?c?Yl.at(-1)?.time:l.fine.at(-1)?.time:void 0),[l,o,c]);return t.jsx(uc,{...a,timestamps:d.samples.map(e=>e.time),fmt:e=>mn(e,r),series:[{label:r("act.cpu"),color:s.cat[0],values:d.samples.map(e=>e.value)}]})}function hc({item:e,form:n}){const a=T(),r=qe[X()],s=Fe(),o=ne().data?.resources.runtime_memory?.metrics??[],i=o.includes("process.rss_bytes"),l=o.includes("cgroup.current_bytes");return t.jsxs(ic,{state:s,children:[t.jsx(qt,{compact:!0,row:"small"!==e.size,items:[...i?[[a("act.rss"),hn(s.data?.process?.rss_bytes??null,r)]]:[],...!l||"small"===e.size&&i?[]:[[a("act.cgroup"),hn(s.data?.cgroup?.current_bytes??null,r)]]]}),!i&&!l&&t.jsx("span",{className:"rp-label",children:a("widgets.unavailable")}),"kv"!==n&&"small"!==e.size&&t.jsx(fc,{scale:Gr(e),large:"large"===e.size||"wide"===e.size,form:n,memory:s.data,rss:i,cgroup:l})]})}function fc({memory:n,rss:a,cgroup:r,...s}){const o=T(),i=qe[X()],l=ss(),c=_o(ne().data,n,{windowSeconds:60,anchored:!!e.useContext(Ht)});return t.jsx(uc,{...s,history:{error:c.error,refetch:c.retry},timestamps:c.timestamps,fmt:e=>hn(e??null,i),series:[...a?[{label:o("act.rss"),color:l.cat[0],values:c.rss}]:[],...r?[{label:o("act.cgroup"),color:l.cat[3],values:c.cgroup}]:[]]})}function gc({item:e,rows:n,bytes:a=!1,empty:r}){const s=T(),o=qe[X()],i=ss(),l=e=>a?hn(e,o):ve(e,o),{total:c,rows:d}=function(e,t){const n=(e=e.filter(e=>e.count>0)).reduce((e,t)=>e+t.count,0);return{total:n,rows:e.map((e,a)=>({...e,pct:e.percent??e.count/n*100,color:e.color??t[a%t.length]}))}}(n,i.cat),u=d.map(e=>({...e,text:l(e.count)})),m={legendLimit:e.rows??$(e.size),label:s(dt[e.id].label)};return c?"donut"===e.form?t.jsx(ps,{...m,total:l(c),rows:u.map(e=>({...e,value:Math.round(e.pct)}))}):"waffle"===e.form?t.jsx(zs,{...m,shares:u.map(e=>({...e,id:e.name,label:e.name}))}):t.jsx("div",{className:"rp-list",children:u.slice(0,e.rows??$(e.size)).map(n=>"ranked"===e.form?t.jsx(tt,{label:n.name,value:n.text,pct:n.pct,color:n.color},n.name):t.jsx(qt,{truncate:!0,compact:!0,row:"small"!==e.size,items:[[n.name,n.text]]},n.name))}):t.jsx(Re,{children:r})}function bc({item:n}){const a=T(),r=sn(void 0,!0,!1,Je.summary),s=e.useMemo(()=>ao(r.data,n.by??"dev",n.rows??5).map(e=>({name:e.name,count:Number(e.download??0n),percent:e.percent??void 0})),[r.data,n.by,n.rows]);return t.jsxs(ic,{state:r,children:[t.jsx(gc,{item:n,rows:s,bytes:!0,empty:a("ui.empty")}),r.data?.truncated&&t.jsx("span",{className:"rp-label",children:a("widgets.sampled")})]})}function xc({item:n}){const a=T(),r=qe[X()],s=Qe(!0),o=ss(),i=e.useMemo(()=>ye(s.data),[s.data]).rows.map((e,t)=>({name:e.name,count:Number(e.bytes??0n),color:mo(e,t,o)}));return t.jsxs(ic,{state:s,children:[t.jsx(gc,{item:n,rows:i,bytes:!0,empty:a("ui.empty")}),"small"!==n.size&&t.jsx("span",{className:"rp-label rp-counter-since",children:a("act.since",{time:fn(s.data?.counter_since??null,r)})})]})}function vc({item:n}){const a=T(),r=sn(void 0,!0,!1,Je.summary),s=!0===ne().data?.resources.runtime_outbounds.available,o=Qe("connectionOutbounds"===n.id&&s),i=ss(),l=e.useMemo(()=>{const e=new Map(ye(o.data).rows.map((e,t)=>[e.name,mo(e,t,i)])),t=ui(me(r.data).map(e=>"connectionOutbounds"===n.id?e.outbound:e.network),6);return[...t.top.map(t=>({name:"connectionOutbounds"===n.id?y(t.key,a):t.key??"—",count:t.count,color:"connectionOutbounds"===n.id?e.get(t.key??""):void 0})),...t.rest?[{name:a("dashboard.other"),count:t.rest}]:[]]},[r.data,o.data,i,n.id,a]);return t.jsxs(ic,{state:r,children:[t.jsx(gc,{item:n,rows:l,empty:a("dashboard.noConnections")}),r.data?.truncated&&t.jsx("span",{className:"rp-label",children:a("widgets.sampled")})]})}function yc({item:n}){const a=T(),r=qe[X()],s=cn({}),o=e.useMemo(()=>ji(s.data?.records??[],r),[s.data,r]);return t.jsxs(ic,{state:s,children:[t.jsx(gc,{item:n,rows:yi.map(e=>({name:a(`dns.outcome.${e}`),count:o.counts[e]})),empty:a("dashboard.noQueries")}),o.total>0&&t.jsx("span",{className:"rp-label",children:a("dashboard.dnsSample",{n:o.total})})]})}function wc({targetOnly:e,fill:n=!1}){const a=T(),r=no();return t.jsxs(t.Fragment,{children:[t.jsx(V,{error:r.error,onRetry:r.retry}),!e&&t.jsx(Us,{model:r,fill:n}),(e||"global"===r.mode)&&t.jsx(Bl,{label:a("act.global"),children:t.jsxs("span",{className:e?"rp-cluster rp-global-controls":"rp-cluster",children:[t.jsx(J,{quiet:!0,label:a("act.global"),value:r.target,onChange:r.pickTarget,isDisabled:r.busy||!r.writable,items:r.targets,searchLabel:a("ui.filterOutbounds"),children:t.jsx(Xt,{labels:r.targets.map(e=>e.label),children:r.targetText})}),e&&t.jsx(Gs,{model:r})]})}),r.incomplete&&t.jsx("span",{className:"rp-label",children:a("act.globalMissing")})]})}function jc({item:e,onChange:n}){const a=T(),r=Qt(),s=((e,t)=>e?.find(e=>e.id===t)??e?.find(e=>"selector"===e.policy.kind))(r.data,e.group);return t.jsx(ic,{state:r,children:s?t.jsxs(t.Fragment,{children:[t.jsx(Bl,{label:a("widgets.group"),children:t.jsx(J,{quiet:!0,label:a("ui.group"),value:s.id,items:(r.data??[]).map(e=>({id:e.id,label:e.name})),onChange:t=>n?.({...e,group:t}),searchLabel:a("ui.filterGroups"),children:s.name})}),t.jsx(kc,{id:s.id,refresh:r.refetch})]}):t.jsxs(Re,{children:[a("widgets.noManualGroup"),t.jsx(D,{appearance:"button",small:!0,href:b("policies",{new:"1"}),children:a("group.newGroup")})]})})}function kc({id:e,refresh:n}){const a=T(),r=dn(e,n,()=>{}),s=r.data,o=r.network,i=s?.runtime.selection,l="both"===o?i?.tcp?.member_id===i?.udp?.member_id?i?.tcp?.member_id:"":i?.[o]?.member_id,c=!!s&&(s.capabilities.can_select||s.capabilities.can_override),d="both"===o?[i?.tcp,i?.udp].some(e=>"override"===e?.source):"override"===i?.[o]?.source,u=e=>s?.members.find(t=>t.id===e)?.name??"—";return t.jsxs(ic,{state:r,children:[t.jsx(V,{error:r.actionError}),t.jsx(Yt,{label:a("widgets.network"),value:o,onChange:e=>r.setNetwork(e),isDisabled:!!r.busy,items:[["both",a("policy.both")],["tcp","TCP"],["udp","UDP"]]}),""===l&&t.jsx(qt,{compact:!0,row:!0,items:[["TCP",u(i?.tcp?.member_id)],["UDP",u(i?.udp?.member_id)]]}),t.jsx(Bl,{label:a("widgets.member"),children:t.jsx(J,{quiet:!0,searchLabel:a("ui.filterMembers"),label:a("widgets.member"),value:l??"",isDisabled:!!r.busy||!c,items:(s?.members??[]).map(e=>({id:e.id,label:e.name})),onChange:e=>Fi(r.select,e,l,s?.name,u,a),children:u(l)})}),s?.capabilities.can_override&&d&&t.jsx(U,{small:!0,isPending:"selection"===r.busy,onPress:()=>{r.clearOverride()},children:a("policy.releaseOverride")}),!c&&t.jsx("span",{className:"rp-label",children:a("widgets.readOnly")})]})}function _c({item:e,dashboard:n,onChange:a}){const r=T(),s=zo(void 0,{chosen:e.group??"",setChosen:t=>{a?a({...e,group:t}):n?zr(n=>Er(n,n=>j(n)===j(e)?{...n,group:t}:n)):Ft(n=>({...n,items:n.items.map(n=>j(n)===j(e)?{...n,group:t}:n)}))}});return t.jsxs(t.Fragment,{children:[t.jsxs("div",{className:"rp-cluster",children:[t.jsx(Io,{label:r("policy.pickGroups"),model:s}),t.jsx(at,{title:r("act.latency"),text:r("act.groupPickHelp")})]}),t.jsx(V,{error:s.error,onRetry:s.retry}),t.jsx(qt,{truncate:!0,compact:!0,row:"small"!==e.size,items:[[s.name||"—",s.status??s.latency]]})]})}function Mc({item:n,dashboard:a=!1}){const r=T(),s=qe[X()],o=ne().data?.resources,i=rn(!0===o?.nodes.available),l=Qt(!0===o?.groups.available),c=e.useMemo(()=>Ui(i.data??[],l.data,"group",s).filter(e=>!n.group||e.id===`group:${n.group}`),[i.data,l.data,n.group,s]),{measured:d,missing:u}=Wi(c),m=Ji(c),p=e.useContext(Ht)&&!a?3:n.rows??$(n.size,[3,6,12]);return t.jsx(ic,{state:{...i,error:i.error??l.error,refetch:()=>(i.refetch(),l.refetch())},children:c.length?"dots"===n.form?t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"rp-label",children:r("dashboard.latencyOrder")}),t.jsx(qt,{truncate:!0,compact:!0,row:"small"!==n.size,items:[[r("nodes.latency.lowest"),gn(d[0]?.latest??null,r)],[r("nodes.latency.highest"),gn(d.at(-1)?.latest??null,r)]]}),t.jsx(Is,{label:r("ui.nodeLatency"),max:Xi(c),fmt:e=>gn(e,r),limit:p,showAll:e=>r("nodes.latency.showAll",{n:e}),legend:m.moving||m.avg10?[{kind:"dot",label:r("nodes.latency.latest")},{kind:"ring",label:r("nodes.latency.average")},{kind:"line",label:r("nodes.latency.range")}]:[],groups:[{id:"nodes",label:n.group?c[0]?.label??r("nodes.latency.noGroup"):r("dashboard.allGroups"),rows:d.map(e=>Gi(e,r)),notes:u.map(e=>r("ui.valuePair",{label:e.name,value:r("unavailable"===e.state?"act.unavailable":"act.unknown")}))}]})]}):t.jsxs("div",{className:"rp-list",children:[d.slice(0,p).map(e=>t.jsx(qt,{truncate:!0,compact:!0,row:"small"!==n.size,items:[[e.name,gn(e.latest,r)]]},e.id)),u.slice(0,Math.max(0,p-d.length)).map(e=>t.jsx(qt,{truncate:!0,compact:!0,row:"small"!==n.size,items:[[e.name,r("unavailable"===e.state?"act.unavailable":"act.unknown")]]},e.id))]}):t.jsx(Re,{children:r("dashboard.noNodes")})})}function Nc({item:e}){const n=T(),a=qe[X()],r=an();return t.jsx(ic,{state:r,children:r.data?.providers.length?(void 0===e.rows?r.data.providers:r.data.providers.slice(0,e.rows)).map(r=>{const s=Ml(r,void 0,a,n);return t.jsx(qt,{truncate:!0,compact:!0,row:"small"!==e.size,items:[[s.name,s.status??"—"]]},s.id)}):t.jsx(Re,{children:n("dashboard.noSources")})})}function Sc({item:e}){const n=T(),a=ne().data?.resources,r=Qt(!0===a?.groups.available),s=rn(!0===a?.nodes.available),o=uo(r.data??[],s.data??[],"",n).options.filter(t=>!e.group||t.id===e.group);return t.jsx(ic,{state:{...r,error:r.error??s.error,refetch:()=>(r.refetch(),s.refetch())},children:o.length?o.slice(0,e.rows??$(e.size)).map(a=>{const r=co(a.node?[a.node]:[],"",n);return t.jsx(qt,{truncate:!0,compact:!0,row:"small"!==e.size,items:[[a.label,n("ui.valuePair",{label:a.node?.name??"—",value:r.status??r.latency})]]},a.id)}):t.jsx(Re,{children:n("dashboard.noGroups")})})}function Cc({reserveWidth:e=!1}){const n=T(),a=qe[X()],r=ss(),s=ne(),o=Be(!0===s.data?.resources.runtime.available),i=o.data?.traffic.rates;return t.jsx(Wl,{reserve:e?vn(999.9,a,"unit.megabytePerSecond",1):void 0,rates:[{icon:t.jsx(oc,{}),label:n("ui.upload"),value:pn(i?.upload_bytes_per_second??null,a),color:r.cat[3]},{icon:t.jsx(sc,{}),label:n("ui.download"),value:pn(i?.download_bytes_per_second??null,a),color:r.cat[0]}]})}function Ac({item:e,dashboard:n=!1,onChange:a}){const r=Wt(e,n?"dashboard":"panel");switch((e={...e,form:r}).id){case"download":case"upload":case"history":case"speed":case"traffic":case"connections":case"cpu":return t.jsx(dc,{item:e,form:r});case"memory":return t.jsx(hc,{item:e,form:r});case"ranking":return t.jsx(bc,{item:e});case"outbounds":return t.jsx(xc,{item:e});case"global":case"mode":return t.jsx(wc,{targetOnly:"global"===e.id,fill:!n});case"latency":return t.jsx(_c,{item:e,dashboard:n,onChange:a});case"nodeLatency":return t.jsx(Mc,{item:e,dashboard:n});case"sourceHealth":return t.jsx(Nc,{item:e});case"policyGroups":return t.jsx(Sc,{item:e});case"connectionOutbounds":case"connectionNetworks":return t.jsx(vc,{item:e});case"dnsAnswers":return t.jsx(yc,{item:e});case"group":return t.jsx(jc,{item:e,onChange:a});case"status":return t.jsx(Lc,{item:e});case"notices":return t.jsx(Pc,{item:e});case"divider":return t.jsx(Gt,{orientation:"horizontal"});default:return null}}function Lc({item:e}){const n=T(),a=qe[X()],r=Be(),s=We(!0===ne().data?.resources.datapath?.available),o=so(r.data?.lifecycle.state,s.data?.state,"—",n);return t.jsxs(ic,{state:r,children:[t.jsx(V,{error:s.error,onRetry:s.refetch}),t.jsx(te,{tone:o.tone,children:o.text}),t.jsx(qt,{compact:!0,row:"small"!==e.size,items:[[n("widgets.uptime"),xn(r.data?.lifecycle.uptime_seconds??null,a)]]})]})}function Pc({item:e}){const n=Ce(),a=T(),r=nn($e),s=r.records,o=io(s,a).slice(0,e.rows??$(e.size));return t.jsxs(t.Fragment,{children:[t.jsx(V,{error:r.error,onRetry:()=>Pe(n)}),o.length?t.jsxs(t.Fragment,{children:[t.jsx(fo,{rows:o,label:a("act.issues")}),t.jsx(D,{appearance:"link",href:b("events"),children:a("widgets.noticeCount",{n:s.length})})]}):t.jsx("span",{className:"rp-label",children:a("widgets.noNotices")})]})}function $c({item:n,preview:a=!1,dashboard:r=!1,sample:s=!1,onChange:o}){const i=e.useContext(R),[l,c]=nt(void 0,0);return t.jsx("div",{ref:l,className:"rp-module-content","data-size":n.size,inert:a||i||s,children:t.jsx(R,{value:a||i||!c,children:s?t.jsx(rc,{id:n.id,children:t.jsx(Rc,{item:n,dashboard:r,sample:!0})}):t.jsx(Rc,{item:n,dashboard:r,onChange:o})})})}function Rc({item:e,dashboard:n,sample:a=!1,onChange:r}){const s=T(),o=ne().data,i=o?.resources.runtime_memory?.metrics??[],l="memory"===e.id&&1===i.filter(e=>"process.rss_bytes"===e||"cgroup.current_bytes"===e).length;return t.jsx(ql,{label:s(dt[e.id].label),hideLabel:n||"small"===e.size||l||["connections","cpu","global","group"].includes(e.id)||"divider"===e.id&&!a,children:a||It(e.id,o)?t.jsx(Ac,{item:e,dashboard:n,onChange:r}):t.jsx("span",{className:"rp-label",children:s(o?"widgets.unavailable":"ui.loading")})})}const Ec=Object.freeze(Object.defineProperty({__proto__:null,WidgetContent:$c},Symbol.toStringTag,{value:"Module"})),Oc=e=>document.querySelector(e?".rp-side-dock":".rp-floating-panel");let zc=null;const Tc=(e,t)=>[{id:"combine",label:t("widgets.combineRates"),checked:!e.splitRates,onAction:()=>Vt({splitRates:!e.splitRates||void 0})},{id:"titles",label:t("widgets.showTitles"),checked:!!e.titles,onAction:()=>Vt({titles:!e.titles||void 0})}];function Dc(){const e=Bt(),n=T();return t.jsxs(Hl,{label:n("widgets.title"),children:[t.jsx(Tt,{value:!!e.titles,children:t.jsx(Ul,{children:e.items.map(e=>t.jsx(Vl,{id:j(e),size:"wide"===e.size?"large":e.size,children:t.jsx($c,{item:e,onChange:e=>Ft(t=>({...t,items:t.items.map(t=>j(t)===j(e)?e:t)}))})},j(e)))})}),!e.items.length&&t.jsx("span",{className:"rp-label",children:n("widgets.empty")})]})}function Ic({backend:e,honk:n,docked:a=!1,dockable:r=!1,onDock:s,preview:o=!1}){const i=T(),l=Bt(),c=!o&&l.collapsed;return t.jsx(Fl,{backend:a?void 0:n?t.jsx(Zt,{backend:e,honk:n,panel:!0}):t.jsx(U,{quiet:!0,icon:!0,label:e.label,children:t.jsx(te,{tone:e.tone,small:!0})}),summary:c?t.jsx(Cc,{}):a?t.jsx("h3",{className:"rp-dock-title",children:i("widgets.title")}):void 0,actions:t.jsxs(t.Fragment,{children:[t.jsx(un,{quiet:!0,label:i("widgets.panelOptions"),actions:[{id:"edit",label:i("widgets.edit"),onAction:()=>Ut.set(!0)},...r&&s?[{id:"dock",label:i(a?"widgets.undock":"widgets.dock"),onAction:s}]:[],...a?[]:[{id:"edge",label:i("widgets.edgeHide"),checked:!!l.edge,onAction:()=>Vt({edge:!l.edge||void 0})}],...Tc(l,i),{id:"hide",label:i("widgets.hide"),onAction:()=>Vt({visible:!1})}]}),!a&&t.jsx(U,{quiet:!0,icon:!0,isSelected:l.pinned,label:i(l.pinned?"widgets.unpin":"widgets.pin"),onPress:()=>Vt({pinned:!l.pinned}),children:t.jsx(Jl,{})}),t.jsx(U,{quiet:!0,icon:!0,className:"rp-widget-collapse",expanded:!c,label:i(c?"widgets.expand":"widgets.collapse"),onPress:()=>Vt({collapsed:!c}),children:t.jsx(Kt,{})})]})})}const Hc=Object.freeze(Object.defineProperty({__proto__:null,PanelHeader:Ic,PanelHost:function({route:a,backend:r,honk:s,dockable:o,onDock:i}){const l=Bt(),c=T(),d=l.collapsed,u=o&&!!l.docked,m=e.useSyncExternalStore(Ut.subscribe,Ut.snapshot);e.useLayoutEffect(()=>function(e){const t=zc;zc=null;const n=Oc(e);if(!t||!n||performance.now()-t.at>1e3)return;const a=n.getBoundingClientRect();n.style.setProperty("--rp-dock-from",`${t.left-a.left}px ${t.top-a.top}px`),n.setAttribute("data-arriving",""),n.addEventListener("animationend",()=>{n.removeAttribute("data-arriving"),n.style.removeProperty("--rp-dock-from")},{once:!0})}(u),[u]);const p=e=>{(e=>{const t=Oc(e)?.getBoundingClientRect();zc=t?{left:t.left,top:t.top,at:performance.now()}:null})(!e),i(e)},h=e.useRef(a);e.useEffect(()=>{h.current===a||l.pinned||u||Vt({collapsed:!0}),h.current=a},[a,l.pinned,u]);const f=e.useRef(null),g=$l(()=>{const e=f.current,t=e?.getBoundingClientRect().height??0,n=e?.querySelector(".rp-widget-body"),a=e?.querySelector(".rp-widget-body-content > * > *"),r=e?.parentElement,s=r?.querySelector(".rp-side-links"),o=t-(n?.clientHeight??0)+(a?.getBoundingClientRect().height??0),i=s?s.clientHeight-s.scrollHeight:0;return{height:t,min:o,max:Math.max(o,t+i,.45*(r?.clientHeight??0))}},(e,t,n)=>({...e,height:Math.min(e.max,Math.max(e.min,e.height-n))}),e=>Vt({dockHeight:Math.round(e.height)})),b=g.live?.height??l.dockHeight,x=t.jsx(Ic,{backend:r,honk:s,docked:u,dockable:o,onDock:()=>p(!u)});return u?t.jsxs("section",{ref:f,className:"rp-side-dock","aria-label":c("widgets.title"),"data-sized":!(!b||d)||void 0,style:b?{"--rp-dock-height":`${b}px`}:void 0,children:[t.jsx("div",{className:"rp-dock-edge",children:!d&&t.jsx(Rl,{edge:{block:"start"},label:c("widgets.resizePanel"),...g.props})}),x,!d&&t.jsx(Kl.Provider,{value:0,children:t.jsx(Dc,{})}),t.jsx(Zt,{backend:r,honk:s})]}):n.createPortal(t.jsx(Il,{label:r.text,resizeLabel:c("widgets.resizePanel"),moveLabel:c("widgets.movePanel"),movedText:c("widgets.panelMoved"),size:l.size,offset:l.offset,onResize:(e,t)=>Vt({size:e,offset:t}),onMove:e=>Vt({offset:e}),header:x,collapsed:d,dockTarget:()=>document.querySelector(".rp-dock-slot"),onDock:()=>p(!0),edge:l.edge&&!l.pinned?{handle:t.jsx(Fl,{backend:t.jsx(te,{tone:r.tone,small:!0}),summary:t.jsx(Cc,{reserveWidth:!0})}),label:c("widgets.title"),keepOut:m}:void 0,children:!d&&t.jsx(Dc,{})}),document.body)},PhoneDrawer:function({open:e,onClose:n,backend:a}){const r=T(),s=Bt();return t.jsx(Jt,{open:e,title:a.text,icon:t.jsx(te,{tone:a.tone,small:!0}),fit:!0,onClose:n,actions:t.jsx(un,{quiet:!0,label:r("widgets.panelOptions"),actions:[{id:"edit",label:r("widgets.edit"),onAction:()=>Ut.set(!0)},...Tc(s,r)]}),children:e&&t.jsx(Dc,{})})}},Symbol.toStringTag,{value:"Module"}));export{gi as $,Bs as A,Fs as B,Os as C,Xr as D,rr as E,hs as F,Qa as G,Xa as H,ui as I,ks as J,nr as K,os as L,Ya as M,hi as N,or as O,Ic as P,lr as Q,_i as R,rc as S,ji as T,Yr as U,Oo as V,$c as W,zs as X,yi as Y,Ii as Z,Mi as _,Ka as a,_l as a$,tr as a0,Na as a1,Dn as a2,Bi as a3,fi as a4,Si as a5,Hi as a6,Ri as a7,xi as a8,Li as a9,Gi as aA,Xi as aB,ur as aC,Ml as aD,jl as aE,il as aF,$a as aG,Ca as aH,bl as aI,Ua as aJ,kl as aK,al as aL,ul as aM,pl as aN,ml as aO,dl as aP,Sl as aQ,fl as aR,xl as aS,vl as aT,yl as aU,wl as aV,rl as aW,gl as aX,hl as aY,Va as aZ,Nl as a_,Di as aa,Ti as ab,Ci as ac,vi as ad,Pi as ae,Ks as af,Ai as ag,Zs as ah,qi as ai,$i as aj,Fi as ak,Qs as al,sr as am,ir as an,yn as ao,ea as ap,ta as aq,Hn as ar,qn as as,Xn as at,Un as au,cr as av,Ui as aw,Ji as ax,Wi as ay,Is as az,xr as b,Ja as b0,tl as b1,ol as b2,sl as b3,nl as b4,Cs as b5,Hs as b6,dr as b7,vs as b8,Ps as b9,xs as ba,gs as bb,$s as bc,ys as bd,fs as be,Rs as bf,Ms as bg,di as bh,Hc as bi,Lr as c,Pr as d,Vr as e,Zr as f,Sa as g,ci as h,Sr as i,Ur as j,Hr as k,zr as l,Ar as m,Gl as n,Er as o,Kr as p,er as q,Ta as r,vr as s,Bn as t,br as u,Mo as v,na as w,so as x,Ao as y,ss as z};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/array-C0P64tl-.js b/luci-app-honk/root/etc/honk/doona/assets/array-C0P64tl-.js
deleted file mode 100644
index 21fc6ff88..000000000
--- a/luci-app-honk/root/etc/honk/doona/assets/array-C0P64tl-.js
+++ /dev/null
@@ -1 +0,0 @@
-function P(n){return function(){return n}}const M=Math.PI,y=2*M,p=1e-6,E=y-p;function m(n){this._+=n[0];for(let t=1,h=n.length;t=0))throw new Error(`invalid digits: ${n}`);if(t>15)return m;const h=10**t;return function(i){this._+=i[0];for(let s=1,e=i.length;sp)if(!(Math.abs(l*r-o*a)>p)||!e)this._append`L${this._x1=t},${this._y1=h}`;else{let f=i-$,d=s-u,x=r*r+o*o,A=f*f+d*d,g=Math.sqrt(x),v=Math.sqrt(_),w=e*Math.tan((M-Math.acos((x+_-A)/(2*g*v)))/2),c=w/v,b=w/g;Math.abs(c-1)>p&&this._append`L${t+c*a},${h+c*l}`,this._append`A${e},${e},0,0,${+(l*f>a*d)},${this._x1=t+b*r},${this._y1=h+b*o}`}}arc(t,h,i,s,e,$){if(t=+t,h=+h,i=+i,$=!!$,i<0)throw new Error(`negative radius: ${i}`);let u=i*Math.cos(s),r=i*Math.sin(s),o=t+u,a=h+r,l=1^$,_=$?s-e:e-s;this._x1===null?this._append`M${o},${a}`:(Math.abs(this._x1-o)>p||Math.abs(this._y1-a)>p)&&this._append`L${o},${a}`,i&&(_<0&&(_=_%y+y),_>E?this._append`A${i},${i},0,1,${l},${t-u},${h-r}A${i},${i},0,1,${l},${this._x1=o},${this._y1=a}`:_>p&&this._append`A${i},${i},0,${+(_>=M)},${l},${this._x1=t+i*Math.cos(e)},${this._y1=h+i*Math.sin(e)}`)}rect(t,h,i,s){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+h}h${i=+i}v${+s}h${-i}Z`}toString(){return this._}}function q(n){let t=3;return n.digits=function(h){if(!arguments.length)return t;if(h==null)t=null;else{const i=Math.floor(h);if(!(i>=0))throw new RangeError(`invalid digits: ${h}`);t=i}return n},()=>new L(t)}function C(n){return typeof n=="object"&&"length"in n?n:Array.from(n)}export{C as a,P as c,q as w};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/array-C0VuvQyb.js b/luci-app-honk/root/etc/honk/doona/assets/array-C0VuvQyb.js
new file mode 100644
index 000000000..585f60967
--- /dev/null
+++ b/luci-app-honk/root/etc/honk/doona/assets/array-C0VuvQyb.js
@@ -0,0 +1 @@
+function t(t){return function(){return t}}const i=Math.PI,s=2*i,h=1e-6,n=s-h;function e(t){this._+=t[0];for(let i=1,s=t.length;i=0))throw new Error(`invalid digits: ${t}`);if(i>15)return e;const s=10**i;return function(t){this._+=t[0];for(let i=1,h=t.length;ih)if(Math.abs(p*$-o*l)>h&&_){let c=n-r,d=e-a,f=$*$+o*o,x=c*c+d*d,y=Math.sqrt(f),M=Math.sqrt(u),g=_*Math.tan((i-Math.acos((f+u-x)/(2*y*M)))/2),w=g/M,v=g/y;Math.abs(w-1)>h&&this._append`L${t+w*l},${s+w*p}`,this._append`A${_},${_},0,0,${+(p*c>l*d)},${this._x1=t+v*$},${this._y1=s+v*o}`}else this._append`L${this._x1=t},${this._y1=s}`;else;}arc(t,e,_,r,a,$){if(t=+t,e=+e,$=!!$,(_=+_)<0)throw new Error(`negative radius: ${_}`);let o=_*Math.cos(r),l=_*Math.sin(r),p=t+o,u=e+l,c=1^$,d=$?r-a:a-r;null===this._x1?this._append`M${p},${u}`:(Math.abs(this._x1-p)>h||Math.abs(this._y1-u)>h)&&this._append`L${p},${u}`,_&&(d<0&&(d=d%s+s),d>n?this._append`A${_},${_},0,1,${c},${t-o},${e-l}A${_},${_},0,1,${c},${this._x1=p},${this._y1=u}`:d>h&&this._append`A${_},${_},0,${+(d>=i)},${c},${this._x1=t+_*Math.cos(a)},${this._y1=e+_*Math.sin(a)}`)}rect(t,i,s,h){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+i}h${s=+s}v${+h}h${-s}Z`}toString(){return this._}}function r(t){let i=3;return t.digits=function(s){if(!arguments.length)return i;if(null==s)i=null;else{const t=Math.floor(s);if(!(t>=0))throw new RangeError(`invalid digits: ${s}`);i=t}return t},()=>new _(i)}function a(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}export{a,t as c,r as w};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/auth-9NIU4RkK.js b/luci-app-honk/root/etc/honk/doona/assets/auth-9NIU4RkK.js
new file mode 100644
index 000000000..9cc789ec8
--- /dev/null
+++ b/luci-app-honk/root/etc/honk/doona/assets/auth-9NIU4RkK.js
@@ -0,0 +1 @@
+import{D as e}from"./auth-B7tMStu6.js";import{bD as t,bU as o}from"./index-BgFj_VXE.js";import"./vendor-react-64fcanlc.js";import"./_commonjsHelpers-CXUWDbkB.js";const r="demo-session-";function n(){return{mode:"password",setup_required:!1}}const s={auth_setup:"/api/v1/auth/setup",auth_login:"/api/v1/auth/login"};function a(n,s){if("setup"===n)throw new t(409,"setup_already_completed","Setup already completed");if(s.username!==e.username||s.password!==e.password)throw new t(401,"invalid_credentials","Invalid credentials");return{token:r+o(),expires_at:new Date(Date.now()+432e5).toISOString()}}function i(e){return!!e?.startsWith(r)}function u(e){return{...e,discovery:async t=>{const o=await e.discovery(t);return"status"in o?{...o,links:{...o.links,...s,auth_logout:"/api/v1/auth/logout"},auth:{mode:"password",setup_required:!1,anonymous_loopback:!1}}:o}}}function d(e){const o=()=>Promise.reject(new t(401,"authentication_required","Authentication required")),r=async e=>(e?.throwIfAborted(),{name:"daeuniverse/native",api_major:1,links:{...s},auth:{mode:"password",setup_required:!1}});return new Proxy(e,{get:(e,t,n)=>"discovery"===t?r:"function"==typeof Reflect.get(e,t,n)?o:void 0})}export{n as mockDiscovery,a as mockOpenSession,i as mockSessionValid,d as refuseWithoutSession,u as withPasswordAuth};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/auth-B7tMStu6.js b/luci-app-honk/root/etc/honk/doona/assets/auth-B7tMStu6.js
new file mode 100644
index 000000000..d1b334314
--- /dev/null
+++ b/luci-app-honk/root/etc/honk/doona/assets/auth-B7tMStu6.js
@@ -0,0 +1,2 @@
+const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./auth-9NIU4RkK.js","./index-BgFj_VXE.js","./vendor-react-64fcanlc.js","./_commonjsHelpers-CXUWDbkB.js","./index-h-bbwFHc.css"])))=>i.map(i=>d[i]);
+import{bE as a,gh as t,gi as o,L as n,_ as e}from"./index-BgFj_VXE.js";const i=(a,t)=>new URL(a.replace(/\/+$/,"")+t,globalThis.location?.href),s=()=>e(()=>import("./auth-9NIU4RkK.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url),r={username:"demo",password:"demo"};async function c(e,r){if(a(e))return(await s()).mockDiscovery();const c=await t(i(e,"/api"),{headers:{Accept:"application/json"},cache:"no-store",signal:r});if(!c.ok)throw await o(c);const p=await c.json();if("dae/honk-native"===p.name)throw new n("login.engineOutdated");return p.auth}async function p(a,o){return 404!==(await t(i(a,"/api/v1/capabilities"),{headers:{Accept:"application/json"},cache:"no-store",signal:o})).status}function u(a){return"password"!==a.mode?"token":a.setup_required?"setup":"login"}async function h(n,e,r,c){if(a(n))return(await s()).mockOpenSession(e,r);const p=await t(i(n,`/api/v1/auth/${e}`),{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(r),cache:"no-store",signal:c},"setup"===e);if(!p.ok)throw await o(p,"POST");return p.json()}async function d(n,e,s){if(a(n))return;const r=await t(i(n,"/api/v1/auth/logout"),{method:"POST",headers:{Accept:"application/json",Authorization:"Bearer "+e},cache:"no-store",signal:s});if(!r.ok&&401!==r.status)throw await o(r,"POST")}export{r as D,p as a,d as c,c as d,h as o,u as s};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/auth-DKKBdTVr.js b/luci-app-honk/root/etc/honk/doona/assets/auth-DKKBdTVr.js
deleted file mode 100644
index 4b7fdd2ea..000000000
--- a/luci-app-honk/root/etc/honk/doona/assets/auth-DKKBdTVr.js
+++ /dev/null
@@ -1,2 +0,0 @@
-const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./auth-DTgOavf4.js","./index-BOpK0UVB.js","./vendor-react-Bf71BWbF.js","./index-tAbIWhIz.css"])))=>i.map(i=>d[i]);
-import{i as r,eT as s,eU as c,dN as u,_ as d}from"./index-BOpK0UVB.js";const n=(o,e)=>new URL(o.replace(/\/+$/,"")+e,globalThis.location?.href),p=()=>d(()=>import("./auth-DTgOavf4.js"),__vite__mapDeps([0,1,2,3]),import.meta.url),w={username:"demo",password:"demo"};async function l(o,e){if(r(o))return(await p()).mockDiscovery();const t=await s(n(o,"/api"),{headers:{Accept:"application/json"},cache:"no-store",signal:e});if(!t.ok)throw await c(t);const a=await t.json();if(a.name==="dae/honk-native")throw new u("login.engineOutdated");return a.auth}async function f(o,e){return(await s(n(o,"/api/v1/capabilities"),{headers:{Accept:"application/json"},cache:"no-store",signal:e})).status!==404}function m(o){return o.mode!=="password"?"token":o.setup_required?"setup":"login"}async function A(o,e,t,a){if(r(o))return(await p()).mockOpenSession(e,t);const i=await s(n(o,`/api/v1/auth/${e}`),{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(t),cache:"no-store",signal:a},e==="setup");if(!i.ok)throw await c(i);return i.json()}async function v(o,e,t){if(r(o))return;const a=await s(n(o,"/api/v1/auth/logout"),{method:"POST",headers:{Accept:"application/json",Authorization:"Bearer "+e},cache:"no-store",signal:t});if(!a.ok&&a.status!==401)throw await c(a)}export{w as D,f as a,v as c,l as d,A as o,m as s};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/auth-DTgOavf4.js b/luci-app-honk/root/etc/honk/doona/assets/auth-DTgOavf4.js
deleted file mode 100644
index 9819259e8..000000000
--- a/luci-app-honk/root/etc/honk/doona/assets/auth-DTgOavf4.js
+++ /dev/null
@@ -1 +0,0 @@
-import{D as i}from"./auth-DKKBdTVr.js";import{A as r,o as p}from"./index-BOpK0UVB.js";import"./vendor-react-Bf71BWbF.js";const a="demo-session-",l=12*36e5;function u(){return{mode:"password",setup_required:!1}}const c={auth_setup:"/api/v1/auth/setup",auth_login:"/api/v1/auth/login"};function w(e,t){if(e==="setup")throw new r(409,"setup_already_completed","Setup already completed");if(t.username!==i.username||t.password!==i.password)throw new r(401,"invalid_credentials","Invalid credentials");return{token:a+p(),expires_at:new Date(Date.now()+l).toISOString()}}function v(e){return!!e?.startsWith(a)}function y(e){return{...e,discovery:async t=>{const o=await e.discovery(t);return"status"in o?{...o,links:{...o.links,...c,auth_logout:"/api/v1/auth/logout"},auth:{...u(),anonymous_loopback:!1}}:o}}}function _(e){const t=()=>Promise.reject(new r(401,"authentication_required","Authentication required")),o=async n=>(n?.throwIfAborted(),{name:"daeuniverse/native",api_major:1,links:{...c},auth:u()});return new Proxy(e,{get:(n,s,d)=>s==="discovery"?o:typeof Reflect.get(n,s,d)=="function"?t:void 0})}export{u as mockDiscovery,w as mockOpenSession,v as mockSessionValid,_ as refuseWithoutSession,y as withPasswordAuth};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/daeTokens-BVtuNnWZ.js b/luci-app-honk/root/etc/honk/doona/assets/daeTokens-BVtuNnWZ.js
new file mode 100644
index 000000000..c074dbd9f
--- /dev/null
+++ b/luci-app-honk/root/etc/honk/doona/assets/daeTokens-BVtuNnWZ.js
@@ -0,0 +1 @@
+const t=/^(global|dns|upstream|routing|request|response|subscription|node|group|include|fallback)\b(?!\s*\()/,s=()=>({afterArrow:!1});function r(s,r){return s.sol()&&(r.afterArrow=!1),s.eatSpace()?null:s.match("#")?(s.skipToEnd(),"comment"):s.match(/^'[^']*'/)||s.match(/^"[^"]*"/)?"string":s.match("->")?(r.afterArrow=!0,"operator"):r.afterArrow&&s.match(/^[\w.-]+/)?(r.afterArrow=!1,"keyword"):(s.sol()||""===s.string.slice(0,s.pos).trim())&&s.match(t)?"keyword":s.match(/^\d+(\.\d+)*(\/\d+)?[a-z]*/)?"number":s.match(/^[\w.-]+(?=\s*\()/)?"propertyName":s.match(/^[\w.-]+(?=\s*:)/)?"variableName":s.match(/^[A-Za-z_][\w.-]*/)?null:s.match(/^[{}()&|!,:]/)?"punctuation":(s.next(),null)}class e{pos=0;string;constructor(t){this.string=t}sol(){return 0===this.pos}eatSpace(){const t=/^\s+/.exec(this.string.slice(this.pos));return!!t&&(this.pos+=t[0].length,!0)}match(t){const s="string"==typeof t?this.string.slice(this.pos).startsWith(t)&&t:t.exec(this.string.slice(this.pos));return s&&(this.pos+="string"==typeof s?s.length:s[0].length),s}skipToEnd(){this.pos=this.string.length}next(){return this.pos{const a=new e(t);for(;a.posM(e=>t.dnsCache({cursor:e,limit:E,detail:"summary"},s),(e,a)=>e?(e.entries.push(...a.entries),e):{...a,entries:[...a.entries]});try{return await n()}catch(e){if(!(e instanceof C&&e.status===503&&e.code==="snapshot_unavailable"&&e.transient))throw e;return await v(e.retryAfter,s),n()}}function U(){const t=h(),{busy:s,run:n,cancel:e}=g({rethrow:!0});return{busy:s!==null,cancel:e,flush:m.useCallback(()=>n("flush",a=>A(t,a)),[t,n])}}function F(t,s=!0){const n=h(),e=t.name?.trim()||void 0,a=t.type&&t.type!=="all"?t.type:void 0,c=t.src?.trim()||void 0,r=b().data,o=G(r),i=w({key:["dnsLog",{name:e,type:a,src:c,limit:o}],fetch:async u=>{const l=await z(f=>n.dnsLog(f,u),{name:e,type:a,src:c,limit:o},u);return{...l.page,limit:l.limit}}},{enabled:s});return{...i,limit:i.data?i.data.limit:o}}const p=new WeakMap,d=new WeakMap;async function P(t,s){const n=d.get(t)??0,e=await I(t,s);return(d.get(t)??0)===n&&p.set(t,{at:Date.now(),list:{...e,entries:[]}}),e}const k=t=>{d.set(t,(d.get(t)??0)+1),p.delete(t)};function A(t,s){return t.flushDnsCache(s).finally(()=>k(t))}function S(t,s,n){return t.deleteDnsEntry(s,n).finally(()=>k(t))}function W(t,s){const n=p.get(t);return n&&Date.now()-n.atP(n,e)},{enabled:t,paused:s})}function H(t=!0,s=!1){const n=h();return w({key:["dnsCache",{usage:!0}],every:y.background,fetch:e=>W(n,e)},{enabled:t,paused:s})}function K(t=!1){const s=h(),n=b(),e=n.data?.resources,a=N(_(e,"dns_cache",{whileLoading:!1})&&!!e?.dns_cache.read,t),{refetch:c}=a,{busy:r,error:o,run:i,cancel:u}=g({rethrow:!0});return{capabilities:n,cache:a,busy:r,error:o,cancel:u,remove:m.useCallback(l=>i(l,async f=>{const D=await S(s,l,f);return c(),D}),[s,i,c]),flush:m.useCallback(()=>i("flush",async l=>{const f=await A(s,l);return c(),f}),[s,i,c])}}async function Q(t,s,n,e,a){const c=Math.max(1,Math.floor(e));let r;for(let o=0;oURL.revokeObjectURL(o),1e3)}function a(n){return n.map(e=>e==null?"":/[",\r\n]/.test(String(e))?'"'+String(e).replace(/"/g,'""')+'"':String(e)).join(",")}export{a as c,i as d,c as e};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/files-Dt8K7QfP.js b/luci-app-honk/root/etc/honk/doona/assets/files-Dt8K7QfP.js
new file mode 100644
index 000000000..841e5bd24
--- /dev/null
+++ b/luci-app-honk/root/etc/honk/doona/assets/files-Dt8K7QfP.js
@@ -0,0 +1 @@
+function e(e,t){return`${e}-${(new Date).toISOString().slice(0,19).replace(/[:T]/g,"-")}.${t}`}function t(e,t,n){const r=URL.createObjectURL(new Blob([t],{type:n})),c=document.createElement("a");c.href=r,c.download=e,document.body.append(c),c.click(),c.remove(),setTimeout(()=>URL.revokeObjectURL(r),1e3)}function n(e){return e.map(e=>null==e?"":/[",\r\n]/.test(String(e))?'"'+String(e).replace(/"/g,'""')+'"':String(e)).join(",")}export{n as c,t as d,e};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/flows-BW6GjUpE.js b/luci-app-honk/root/etc/honk/doona/assets/flows-BW6GjUpE.js
deleted file mode 100644
index f24d1767a..000000000
--- a/luci-app-honk/root/etc/honk/doona/assets/flows-BW6GjUpE.js
+++ /dev/null
@@ -1 +0,0 @@
-import{bG as i,dI as c,c$ as w,dJ as p,aa as y,dK as h,dL as g,cQ as m,dM as _}from"./index-BOpK0UVB.js";async function A(e,{input:r,resolve:s,recordTypes:f},u){if(s!=="query")return{traces:[await e.routingTrace({input:r,resolve:s},u)],query:null};const o=await e.dnsQuery(r.domain,f,u),l=[...new Set(["A","AAAA"].flatMap(t=>o.results.filter(n=>n.type===t).map(w).find(Boolean)??[]))],a=[];for(const t of l.length?l:[null])a.push(await e.routingTrace({input:t?{...r,dst_ip:t}:r,resolve:"none"},u));if(a.some(t=>t.instance_id!==a[0].instance_id||t.generation_id!==a[0].generation_id))throw p(409,"snapshot_unavailable","The routing generation changed during simulation; retry the query","ui.errGenerationChanged");return{traces:a,query:o}}function v({connection_id:e,network:r="all",state:s="all"}={},f=!0){const u=i(),{data:o,error:l}=y(),a=h(o,o?.resources.flows.max_page_size);return c({key:["flows",{connection_id:e,network:r,state:s,limit:a}],every:m.lists,fetch:t=>_(n=>u.flows({network:r,state:s,connection_id:e,cursor:n,limit:a,detail:"full"},t),(n,d)=>n?(n.flows.push(...d.flows),n):{...d,flows:[...d.flows]})},g(o,l,f))}function R(e){const r=i();return c({key:["flow",{id:e}],fetch:s=>e?r.flow(e,s):Promise.resolve(null),acceptEvent:s=>s.event!=="flow.updated"||s.data.resource_id===e},{enabled:e!==null})}function k(e=!0){const r=i();return c({key:["rules"],every:0,fetch:s=>r.rules(s)},{enabled:e})}function q(e=!0){const r=i();return c({key:["dnsRules"],every:0,fetch:s=>r.dnsRules(s)},{enabled:e})}export{q as a,v as b,R as c,A as r,k as u};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/flows-xKlsDqlH.js b/luci-app-honk/root/etc/honk/doona/assets/flows-xKlsDqlH.js
new file mode 100644
index 000000000..c4f9f2b31
--- /dev/null
+++ b/luci-app-honk/root/etc/honk/doona/assets/flows-xKlsDqlH.js
@@ -0,0 +1 @@
+import{ap as e,fK as n,eK as t,fL as s,$ as r,fM as a,fN as o,aL as i,fO as l}from"./index-BgFj_VXE.js";async function u(e,{input:n,resolve:r,recordTypes:a},o){if("query"!==r)return{traces:[await e.routingTrace({input:n,resolve:r},o)],query:null};const i=await e.dnsQuery(n.domain,a,o),l=[...new Set(["A","AAAA"].flatMap(e=>i.results.filter(n=>n.type===e).map(t).find(Boolean)??[]))],u=[];for(const t of l.length?l:[null])u.push(await e.routingTrace({input:t?{...n,dst_ip:t}:n,resolve:"none"},o));if(u.some(e=>e.instance_id!==u[0].instance_id||e.generation_id!==u[0].generation_id))throw s(409,"snapshot_unavailable","The routing generation changed during simulation; retry the query","ui.errGenerationChanged");return{traces:u,query:i}}function c({connection_id:t,network:s="all",state:u="all"}={},c=!0,f=!1){const d=e(),{data:p,error:w}=r(),y=a(p,p?.resources.flows.max_page_size);return n({key:["flows",{connection_id:t,network:s,state:u,limit:y}],every:i.lists,fetch:e=>l(n=>d.flows({network:s,state:u,connection_id:t,cursor:n,limit:y,detail:"full"},e),(e,n)=>e?(e.flows.push(...n.flows),e):{...n,flows:[...n.flows]})},{...o(p,w,c),paused:f})}function f(t){const s=e();return n({key:["flow",{id:t}],fetch:e=>t?s.flow(t,e):Promise.resolve(null),acceptEvent:e=>"flow.updated"!==e.event||e.data.resource_id===t},{enabled:null!==t})}function d(t=!0){const s=e();return n({key:["rules"],every:0,fetch:e=>s.rules(e)},{enabled:t})}function p(t=!0){const s=e();return n({key:["dnsRules"],every:0,fetch:e=>s.dnsRules(e)},{enabled:t})}export{p as a,c as b,f as c,u as r,d as u};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/fonts-sc-DWPGxLPK.css b/luci-app-honk/root/etc/honk/doona/assets/fonts-sc-DWPGxLPK.css
deleted file mode 100644
index 11438ded8..000000000
--- a/luci-app-honk/root/etc/honk/doona/assets/fonts-sc-DWPGxLPK.css
+++ /dev/null
@@ -1 +0,0 @@
-@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.4.woff2)format("woff2");unicode-range:U+1F1E9-1F1F5,U+1F1F7-1F1FF,U+1F21A,U+1F232,U+1F234-1F237,U+1F250-1F251,U+1F300,U+1F302-1F308,U+1F30A-1F311,U+1F315,U+1F319-1F320,U+1F324,U+1F327,U+1F32A,U+1F32C-1F32D,U+1F330-1F357,U+1F359-1F37E;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.5.woff2)format("woff2");unicode-range:U+FEE3,U+FEF3,U+FF03-FF04,U+FF07,U+FF0A,U+FF17-FF19,U+FF1C-FF1D,U+FF20-FF3A,U+FF3C,U+FF3E-FF5B,U+FF5D,U+FF61-FF65,U+FF67-FF6A,U+FF6C,U+FF6F-FF78,U+FF7A-FF7D,U+FF80-FF84,U+FF86,U+FF89-FF8E,U+FF92,U+FF97-FF9B,U+FF9D-FF9F,U+FFE0-FFE4,U+FFE6,U+FFE9,U+FFEB,U+FFED,U+FFFC,U+1F004,U+1F170-1F171,U+1F192-1F195,U+1F198-1F19A,U+1F1E6-1F1E8;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.6.woff2)format("woff2");unicode-range:U+F0A7,U+F0B2,U+F0B7,U+F0C9,U+F0D8,U+F0DA,U+F0DC-F0DD,U+F0E0,U+F0E6,U+F0EB,U+F0FC,U+F101,U+F104-F105,U+F107,U+F10B,U+F11B,U+F14B,U+F18A,U+F193,U+F1D6-F1D7,U+F244,U+F27A,U+F296,U+F2AE,U+F471,U+F4B3,U+F610-F611,U+F880-F881,U+F8EC,U+F8F5,U+F8FF,U+F901,U+F90A,U+F92C-F92D,U+F934,U+F937,U+F941,U+F965,U+F967,U+F969,U+F96B,U+F96F,U+F974,U+F978-F979,U+F97E,U+F981,U+F98A,U+F98E,U+F997,U+F99C,U+F9B2,U+F9B5,U+F9BA,U+F9BE,U+F9CA,U+F9D0-F9D1,U+F9DD,U+F9E0-F9E1,U+F9E4,U+F9F7,U+FA00-FA01,U+FA08,U+FA0A,U+FA11,U+FB01-FB02,U+FDFC,U+FE0E,U+FE30-FE31,U+FE33-FE44,U+FE49-FE52,U+FE54-FE57,U+FE59-FE66,U+FE68-FE6B,U+FE8E,U+FE92-FE93,U+FEAE,U+FEB8,U+FECB-FECC,U+FEE0;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.21.woff2)format("woff2");unicode-range:U+9F83,U+9F85-9F8D,U+9F90-9F91,U+9F94-9F96,U+9F98,U+9F9B-9F9C,U+9F9E,U+9FA0,U+9FA2,U+9FF?,U+A001,U+A007,U+A025,U+A046-A047,U+A057,U+A072,U+A078-A079,U+A083,U+A085,U+A100,U+A118,U+A132,U+A134,U+A1F4,U+A242,U+A4A6,U+A4AA,U+A4B0-A4B1,U+A4B3,U+A9C1-A9C2,U+AC00-AC01,U+AC04,U+AC08,U+AC10-AC11,U+AC13-AC16,U+AC19,U+AC1C-AC1D,U+AC24,U+AC70-AC71,U+AC74,U+AC77-AC78,U+AC80-AC81,U+AC83,U+AC8C,U+AC90,U+AC9F-ACA0,U+ACA8-ACA9,U+ACAC,U+ACB0,U+ACBD,U+ACC1,U+ACC4,U+ACE0-ACE1,U+ACE4,U+ACE8,U+ACF3,U+ACF5,U+ACFC-ACFD,U+AD00,U+AD0C,U+AD11,U+AD1C,U+AD34,U+AD50,U+AD64,U+AD6C,U+AD70,U+AD74,U+AD7F,U+AD81,U+AD8C,U+ADC0,U+ADC8,U+ADDC,U+ADE0,U+ADF8-ADF9,U+ADFC,U+AE00,U+AE08-AE09,U+AE0B,U+AE30,U+AE34,U+AE38,U+AE40,U+AE4A,U+AE4C,U+AE54,U+AE68,U+AEBC,U+AED8,U+AF2C-AF2D;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.22.woff2)format("woff2");unicode-range:U+9E30-9E33,U+9E35-9E3B,U+9E3E,U+9E40-9E44,U+9E46-9E4E,U+9E51,U+9E53,U+9E55-9E58,U+9E5A-9E5C,U+9E5E-9E63,U+9E66-9E6E,U+9E71,U+9E73,U+9E75,U+9E78-9E79,U+9E7C-9E7E,U+9E82,U+9E86-9E88,U+9E8B-9E8C,U+9E90-9E91,U+9E93,U+9E95,U+9E97,U+9E9D,U+9EA4-9EA5,U+9EA9-9EAA,U+9EB4-9EB5,U+9EB8-9EBA,U+9EBC-9EBF,U+9EC3,U+9EC9,U+9ECD,U+9ED0,U+9ED2-9ED3,U+9ED5-9ED6,U+9ED9,U+9EDC-9EDD,U+9EDF-9EE0,U+9EE2,U+9EE5,U+9EE7-9EEA,U+9EEF,U+9EF1,U+9EF3-9EF4,U+9EF6,U+9EF9,U+9EFB-9EFC,U+9EFE,U+9F0B,U+9F0D,U+9F10,U+9F14,U+9F17,U+9F19,U+9F22,U+9F29,U+9F2C,U+9F2F,U+9F31,U+9F37,U+9F39,U+9F3D-9F3E,U+9F41,U+9F4A-9F4B,U+9F51-9F52,U+9F61-9F63,U+9F66-9F67,U+9F80-9F81;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.23.woff2)format("woff2");unicode-range:U+9C82-9C83,U+9C85-9C8C,U+9C8E-9C92,U+9C94-9C9B,U+9C9E-9CA3,U+9CA5-9CA7,U+9CA9,U+9CAB,U+9CAD-9CAE,U+9CB1-9CB7,U+9CB9-9CBD,U+9CBF-9CC0,U+9CC3,U+9CC5-9CC7,U+9CC9-9CD1,U+9CD3-9CDA,U+9CDC-9CDD,U+9CDF,U+9CE1-9CE3,U+9CE5,U+9CE9,U+9CEE-9CEF,U+9CF3-9CF4,U+9CF6,U+9CFC-9CFD,U+9D02,U+9D08-9D09,U+9D12,U+9D1B,U+9D1E,U+9D26,U+9D28,U+9D37,U+9D3B,U+9D3F,U+9D51,U+9D59,U+9D5C-9D5D,U+9D5F-9D61,U+9D6C,U+9D70,U+9D72,U+9D7A,U+9D7E,U+9D84,U+9D89,U+9D8F,U+9D92,U+9DAF,U+9DB4,U+9DB8,U+9DBC,U+9DC4,U+9DC7,U+9DC9,U+9DD7,U+9DDF,U+9DF2,U+9DF9-9DFA,U+9E0A,U+9E11,U+9E1A,U+9E1E,U+9E20,U+9E22,U+9E28-9E2C,U+9E2E-9E2F;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.24.woff2)format("woff2");unicode-range:U+9A80,U+9A83,U+9A85,U+9A88-9A8A,U+9A8D-9A8E,U+9A90,U+9A92-9A93,U+9A95-9A96,U+9A98-9A99,U+9A9B-9AA2,U+9AA5,U+9AA7,U+9AAF-9AB1,U+9AB5-9AB6,U+9AB9-9ABA,U+9AC0-9AC4,U+9AC8,U+9ACB-9ACC,U+9ACE-9ACF,U+9AD1-9AD2,U+9AD9,U+9ADF,U+9AE1,U+9AE3,U+9AEA-9AEB,U+9AED-9AEF,U+9AF4,U+9AF9,U+9AFB,U+9B03-9B04,U+9B06,U+9B08,U+9B0D,U+9B0F-9B10,U+9B13,U+9B18,U+9B1A,U+9B1F,U+9B22-9B23,U+9B25,U+9B27-9B28,U+9B2A,U+9B2F,U+9B31-9B32,U+9B3B,U+9B43,U+9B46-9B49,U+9B4D-9B4E,U+9B51,U+9B56,U+9B58,U+9B5A,U+9B5C,U+9B5F,U+9B61-9B62,U+9B6F,U+9B77,U+9B80,U+9B88,U+9B8B,U+9B8E,U+9B91,U+9B9F-9BA0,U+9BA8,U+9BAA-9BAB,U+9BAD-9BAE,U+9BB0-9BB1,U+9BB8,U+9BC9-9BCA,U+9BD3,U+9BD6,U+9BDB,U+9BE8,U+9BF0-9BF1,U+9C02,U+9C10,U+9C15,U+9C24,U+9C2D,U+9C32,U+9C39,U+9C3B,U+9C40,U+9C47-9C49,U+9C53,U+9C57,U+9C64,U+9C72,U+9C77-9C78,U+9C7B,U+9C7F-9C80;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.25.woff2)format("woff2");unicode-range:U+98DD,U+98E1-98E2,U+98E7-98EA,U+98EC,U+98EE-98EF,U+98F2,U+98F4,U+98FC-98FE,U+9903,U+9905,U+9908,U+990A,U+990C-990D,U+9913-9914,U+9918,U+991A-991B,U+991E,U+9921,U+9928,U+992C,U+992E,U+9935,U+9938-9939,U+993D-993E,U+9945,U+994B-994C,U+9951-9952,U+9954-9955,U+9957,U+995E,U+9963,U+9966-9969,U+996B-996C,U+996F,U+9974-9975,U+9977-9979,U+997D-997E,U+9980-9981,U+9983-9984,U+9987,U+998A-998B,U+998D-9991,U+9993-9995,U+9997-9998,U+99A5,U+99AB,U+99AD-99AE,U+99B1,U+99B3-99B4,U+99BC,U+99BF,U+99C1,U+99C3-99C6,U+99CC,U+99D0,U+99D2,U+99D5,U+99DB,U+99DD,U+99E1,U+99ED,U+99F1,U+99FF,U+9A01,U+9A03-9A04,U+9A0E-9A0F,U+9A11-9A13,U+9A19,U+9A1B,U+9A28,U+9A2B,U+9A30,U+9A32,U+9A37,U+9A40,U+9A45,U+9A4A,U+9A4D-9A4E,U+9A52,U+9A55,U+9A57,U+9A5A-9A5B,U+9A5F,U+9A62,U+9A65,U+9A69,U+9A6B,U+9A6E,U+9A75,U+9A77-9A7A,U+9A7D;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.26.woff2)format("woff2");unicode-range:U+975B-975C,U+9763,U+9765-9766,U+976C-976D,U+9773,U+9776,U+977A,U+977C,U+9784-9785,U+978E-978F,U+9791-9792,U+9794-9795,U+9798,U+979A,U+979E,U+97A3,U+97A5-97A6,U+97A8,U+97AB-97AC,U+97AE-97AF,U+97B2,U+97B4,U+97C6,U+97CB-97CC,U+97D3,U+97D8,U+97DC,U+97E1,U+97EA-97EB,U+97EE,U+97FB,U+97FE-97FF,U+9801-9803,U+9805-9806,U+9808,U+980C,U+9810-9814,U+9817-9818,U+981E,U+9820-9821,U+9824,U+9828,U+982B-982D,U+9830,U+9834,U+9838-9839,U+983C,U+9846,U+984D-984F,U+9851-9852,U+9854-9855,U+9857-9858,U+985A-985B,U+9862-9863,U+9865,U+9867,U+986B,U+986F-9871,U+9877-9878,U+987C,U+9880,U+9883,U+9885,U+9889,U+988B-988F,U+9893-9895,U+9899-989B,U+989E-989F,U+98A1-98A2,U+98A5-98A7,U+98A9,U+98AF,U+98B1,U+98B6,U+98BA,U+98BE,U+98C3-98C4,U+98C6-98C8,U+98CF-98D6,U+98DA-98DB;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.27.woff2)format("woff2");unicode-range:U+95C4-95CA,U+95CC-95CD,U+95D4-95D6,U+95D8,U+95E1-95E2,U+95E9,U+95F0-95F1,U+95F3,U+95F6,U+95FC,U+95FE-95FF,U+9602-9604,U+9606-960D,U+960F,U+9611-9613,U+9615-9617,U+9619-961B,U+961D,U+9621,U+9628,U+962F,U+963C-963E,U+9641-9642,U+9649,U+9654,U+965B-965F,U+9661,U+9663,U+9665,U+9667-9668,U+966C,U+9670,U+9672-9674,U+9678,U+967A,U+967D,U+9682,U+9685,U+9688,U+968A,U+968D-968E,U+9695,U+9697-9698,U+969E,U+96A0,U+96A3-96A4,U+96A8,U+96AA,U+96B0-96B1,U+96B3-96B4,U+96B7-96B9,U+96BB-96BD,U+96C9,U+96CB,U+96CE,U+96D1-96D2,U+96D6,U+96D9,U+96DB-96DC,U+96DE,U+96E0,U+96E3,U+96E9,U+96EB,U+96F0-96F2,U+96F9,U+96FF,U+9701-9702,U+9705,U+9708,U+970A,U+970E-970F,U+9711,U+9719,U+9727,U+972A,U+972D,U+9730,U+973D,U+9742,U+9744,U+9748-9749,U+9750-9751,U+975A;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.28.woff2)format("woff2");unicode-range:U+94F5,U+94F7,U+94F9,U+94FB-94FD,U+94FF,U+9503-9504,U+9506-9507,U+9509-950A,U+950D-950F,U+9511-9518,U+951A-9520,U+9522,U+9528-952D,U+9530-953A,U+953C-953F,U+9543-9546,U+9548-9550,U+9552-9555,U+9557-955B,U+955D-9568,U+956A-956D,U+9570-9574,U+9583,U+9586,U+9589,U+958E-958F,U+9591-9592,U+9594,U+9598-9599,U+959E-95A0,U+95A2-95A6,U+95A8-95B2,U+95B4,U+95B8-95C3;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.29.woff2)format("woff2");unicode-range:U+941C-942B,U+942D-942E,U+9432-9433,U+9435,U+9438,U+943A,U+943E,U+9444,U+944A,U+9451-9452,U+945A,U+9462-9463,U+9465,U+9470-9487,U+948A-9492,U+9494-9498,U+949A,U+949C-949D,U+94A1,U+94A3-94A4,U+94A8,U+94AA-94AD,U+94AF,U+94B2,U+94B4-94BA,U+94BC-94C0,U+94C4,U+94C6-94DB,U+94DE-94EC,U+94EE-94F1,U+94F3;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.30.woff2)format("woff2");unicode-range:U+92EC-92ED,U+92F0,U+92F3,U+92F8,U+92FC,U+9304,U+9306,U+9310,U+9312,U+9315,U+9318,U+931A,U+931E,U+9320-9322,U+9324,U+9326-9329,U+932B-932C,U+932F,U+9331-9332,U+9335-9336,U+933E,U+9340-9341,U+934A-9360,U+9362-9363,U+9365-936B,U+936E,U+9375,U+937E,U+9382,U+938A,U+938C,U+938F,U+9393-9394,U+9396-9397,U+939A,U+93A2,U+93A7,U+93AC-93CD,U+93D0-93D1,U+93D6-93D8,U+93DE-93DF,U+93E1-93E2,U+93E4,U+93F8,U+93FB,U+93FD,U+940E-941A;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.31.woff2)format("woff2");unicode-range:U+9163-9164,U+9169,U+9170,U+9172,U+9174,U+9179-917A,U+917D-917E,U+9182-9183,U+9185,U+918C-918D,U+9190-9191,U+919A,U+919C,U+91A1-91A4,U+91A8,U+91AA-91AF,U+91B4-91B5,U+91B8,U+91BA,U+91BE,U+91C0-91C1,U+91C6,U+91C8,U+91CB,U+91D0,U+91D2,U+91D7-91D8,U+91DD,U+91E3,U+91E6-91E7,U+91ED,U+91F0,U+91F5,U+91F9,U+9200,U+9205,U+9207-920A,U+920D-920E,U+9210,U+9214-9215,U+921C,U+921E,U+9221,U+9223-9227,U+9229-922A,U+922D,U+9234-9235,U+9237,U+9239-923A,U+923C-9240,U+9244-9246,U+9249,U+924E-924F,U+9251,U+9253,U+9257,U+925B,U+925E,U+9262,U+9264-9266,U+9268,U+926C,U+926F,U+9271,U+927B,U+927E,U+9280,U+9283,U+9285-928A,U+928E,U+9291,U+9293,U+9296,U+9298,U+929C-929D,U+92A8,U+92AB-92AE,U+92B3,U+92B6-92B7,U+92B9,U+92C1,U+92C5-92C6,U+92C8,U+92CC,U+92D0,U+92D2,U+92E4,U+92EA;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.32.woff2)format("woff2");unicode-range:U+9004,U+900B,U+9011,U+9015-9016,U+901E,U+9021,U+9026,U+902D,U+902F,U+9031,U+9035-9036,U+9039-903A,U+9041,U+9044-9046,U+904A,U+904F-9052,U+9054-9055,U+9058-9059,U+905B-905E,U+9060-9062,U+9068-9069,U+906F,U+9072,U+9074,U+9076-907A,U+907C-907D,U+9081,U+9083,U+9085,U+9087-908B,U+908F,U+9095,U+9097,U+9099-909B,U+909D,U+90A0-90A1,U+90A8-90A9,U+90AC,U+90B0,U+90B2-90B4,U+90B6,U+90B8,U+90BA,U+90BD-90BE,U+90C3-90C5,U+90C7-90C8,U+90CF-90D0,U+90D3,U+90D5,U+90D7,U+90DA-90DC,U+90DE,U+90E2,U+90E4,U+90E6-90E7,U+90EA-90EB,U+90EF,U+90F4-90F5,U+90F7,U+90FE-9100,U+9104,U+9109,U+910C,U+9112,U+9114-9115,U+9118,U+911C,U+911E,U+9120,U+9122-9123,U+9127,U+912D,U+912F-9132,U+9139-913A,U+9143,U+9146,U+9149-914A,U+914C,U+914E-9150,U+9154,U+9157,U+915A,U+915D-915E,U+9161-9162;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.33.woff2)format("woff2");unicode-range:U+8E41-8E42,U+8E47,U+8E49-8E4B,U+8E50-8E53,U+8E59-8E5A,U+8E5F-8E60,U+8E64,U+8E69,U+8E6C,U+8E70,U+8E74,U+8E76,U+8E7A-8E7C,U+8E7F,U+8E84-8E85,U+8E87,U+8E89,U+8E8B,U+8E8D,U+8E8F-8E90,U+8E94,U+8E99,U+8E9C,U+8E9E,U+8EAA,U+8EAC,U+8EB0,U+8EB6,U+8EC0,U+8EC6,U+8ECA-8ECE,U+8ED2,U+8EDA,U+8EDF,U+8EE2,U+8EEB,U+8EF8,U+8EFB-8EFE,U+8F03,U+8F09,U+8F0B,U+8F12-8F15,U+8F1B,U+8F1D,U+8F1F,U+8F29-8F2A,U+8F2F,U+8F36,U+8F38,U+8F3B,U+8F3E-8F3F,U+8F44-8F45,U+8F49,U+8F4D-8F4E,U+8F5F,U+8F6B,U+8F6D,U+8F71-8F73,U+8F75-8F76,U+8F78-8F7A,U+8F7C,U+8F7E,U+8F81-8F82,U+8F84,U+8F87,U+8F8A-8F8B,U+8F8D-8F8F,U+8F94-8F95,U+8F97-8F9A,U+8FA6,U+8FAD-8FAF,U+8FB2,U+8FB5-8FB7,U+8FBA-8FBC,U+8FBF,U+8FC2,U+8FCB,U+8FCD,U+8FD3,U+8FD5,U+8FD7,U+8FDA,U+8FE2-8FE5,U+8FE8-8FE9,U+8FEE,U+8FF3-8FF4,U+8FF8,U+8FFA;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.34.woff2)format("woff2");unicode-range:U+8CBD,U+8CBF-8CC4,U+8CC7-8CC8,U+8CCA,U+8CCD,U+8CD1,U+8CD3,U+8CDB-8CDC,U+8CDE,U+8CE0,U+8CE2-8CE4,U+8CE6-8CE8,U+8CEA,U+8CED,U+8CF4,U+8CF8,U+8CFA,U+8CFC-8CFD,U+8D04-8D05,U+8D07-8D08,U+8D0A,U+8D0D,U+8D0F,U+8D13-8D14,U+8D16,U+8D1B,U+8D20,U+8D30,U+8D32-8D33,U+8D36,U+8D3B,U+8D3D,U+8D40,U+8D42-8D43,U+8D45-8D46,U+8D48-8D4A,U+8D4D,U+8D51,U+8D53,U+8D55,U+8D59,U+8D5C-8D5D,U+8D5F,U+8D61,U+8D66-8D67,U+8D6A,U+8D6D,U+8D71,U+8D73,U+8D84,U+8D90-8D91,U+8D94-8D95,U+8D99,U+8DA8,U+8DAF,U+8DB1,U+8DB5,U+8DB8,U+8DBA,U+8DBC,U+8DBF,U+8DC2,U+8DC4,U+8DC6,U+8DCB,U+8DCE-8DCF,U+8DD6-8DD7,U+8DDA-8DDB,U+8DDE,U+8DE1,U+8DE3-8DE4,U+8DE9,U+8DEB-8DEC,U+8DF0-8DF1,U+8DF6-8DFD,U+8E05,U+8E07,U+8E09-8E0A,U+8E0C,U+8E0E,U+8E10,U+8E14,U+8E1D-8E1F,U+8E23,U+8E26,U+8E2B-8E31,U+8E34-8E35,U+8E39-8E3A,U+8E3D,U+8E40;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.35.woff2)format("woff2");unicode-range:U+8B80,U+8B83,U+8B8A,U+8B8C,U+8B90,U+8B93,U+8B99-8B9A,U+8BA0,U+8BA3,U+8BA5-8BA7,U+8BAA-8BAC,U+8BB4-8BB5,U+8BB7,U+8BB9,U+8BC2-8BC3,U+8BC5,U+8BCB-8BCC,U+8BCE-8BD0,U+8BD2-8BD4,U+8BD6,U+8BD8-8BD9,U+8BDC,U+8BDF,U+8BE3-8BE4,U+8BE7-8BE9,U+8BEB-8BEC,U+8BEE,U+8BF0,U+8BF2-8BF3,U+8BF6,U+8BF9,U+8BFC-8BFD,U+8BFF-8C00,U+8C02,U+8C04,U+8C06-8C07,U+8C0C,U+8C0F,U+8C11-8C12,U+8C14-8C1B,U+8C1D-8C21,U+8C24-8C25,U+8C27,U+8C2A-8C2C,U+8C2E-8C30,U+8C32-8C36,U+8C3F,U+8C47-8C4C,U+8C4E-8C50,U+8C54-8C56,U+8C62,U+8C68,U+8C6C,U+8C73,U+8C78,U+8C7A,U+8C82,U+8C85,U+8C89-8C8A,U+8C8D-8C8E,U+8C90,U+8C93-8C94,U+8C98,U+8C9D-8C9E,U+8CA0-8CA2,U+8CA7-8CAC,U+8CAF-8CB0,U+8CB3-8CB4,U+8CB6-8CB9,U+8CBB-8CBC;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.36.woff2)format("woff2");unicode-range:U+8A15-8A18,U+8A1A-8A1B,U+8A1D,U+8A1F,U+8A22-8A23,U+8A25,U+8A2B,U+8A2D,U+8A31,U+8A33-8A34,U+8A36-8A38,U+8A3A,U+8A3C,U+8A3E,U+8A40-8A41,U+8A46,U+8A48,U+8A50,U+8A52,U+8A54-8A55,U+8A58,U+8A5B,U+8A5D-8A63,U+8A66,U+8A69-8A6B,U+8A6D-8A6E,U+8A70,U+8A72-8A73,U+8A7A,U+8A85,U+8A87,U+8A8A,U+8A8C-8A8D,U+8A90-8A92,U+8A95,U+8A98,U+8AA0-8AA1,U+8AA3-8AA6,U+8AA8-8AA9,U+8AAC-8AAE,U+8AB0,U+8AB2,U+8AB8-8AB9,U+8ABC,U+8ABE-8ABF,U+8AC7,U+8ACF,U+8AD2,U+8AD6-8AD7,U+8ADB-8ADC,U+8ADF,U+8AE1,U+8AE6-8AE8,U+8AEB,U+8AED-8AEE,U+8AF1,U+8AF3-8AF4,U+8AF7-8AF8,U+8AFA,U+8AFE,U+8B00-8B02,U+8B07,U+8B0A,U+8B0C,U+8B0E,U+8B10,U+8B17,U+8B19,U+8B1B,U+8B1D,U+8B20-8B21,U+8B26,U+8B28,U+8B2C,U+8B33,U+8B39,U+8B3E-8B3F,U+8B41,U+8B45,U+8B49,U+8B4C,U+8B4F,U+8B57-8B58,U+8B5A,U+8B5C,U+8B5E,U+8B60,U+8B6C,U+8B6F-8B70,U+8B72,U+8B74,U+8B77,U+8B7D;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.37.woff2)format("woff2");unicode-range:U+8882,U+8884-8886,U+8888,U+888F,U+8892-8893,U+889B,U+88A2,U+88A4,U+88A6,U+88A8,U+88AA,U+88AE,U+88B1,U+88B4,U+88B7,U+88BC,U+88C0,U+88C6-88C9,U+88CE-88CF,U+88D1-88D3,U+88D8,U+88DB-88DD,U+88DF,U+88E1-88E3,U+88E5,U+88E8,U+88EC,U+88F0-88F1,U+88F3-88F4,U+88FC-88FE,U+8900,U+8902,U+8906-8907,U+8909-890C,U+8912-8915,U+8918-891B,U+8921,U+8925,U+892B,U+8930,U+8932,U+8934,U+8936,U+893B,U+893D,U+8941,U+894C,U+8955-8956,U+8959,U+895C,U+895E-8960,U+8966,U+896A,U+896C,U+896F-8970,U+8972,U+897B,U+897E,U+8980,U+8983,U+8985,U+8987-8988,U+898C,U+898F,U+8993,U+8997,U+899A,U+89A1,U+89A7,U+89A9-89AA,U+89B2-89B3,U+89B7,U+89C0,U+89C7,U+89CA-89CC,U+89CE-89D1,U+89D6,U+89DA,U+89DC,U+89DE,U+89E5,U+89E7,U+89EB,U+89EF,U+89F1,U+89F3-89F4,U+89F8,U+89FF,U+8A01-8A03,U+8A07-8A0A,U+8A0E-8A0F,U+8A13;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.38.woff2)format("woff2");unicode-range:U+86F4,U+86F8-86F9,U+86FB,U+86FE,U+8703,U+8706-870A,U+870D,U+8711-8713,U+871A,U+871E,U+8722-8723,U+8725,U+8729,U+872E,U+8731,U+8734,U+8737,U+873A-873B,U+873E-8740,U+8742,U+8747-8748,U+8753,U+8755,U+8757-8758,U+875D,U+875F,U+8762-8766,U+8768,U+876E,U+8770,U+8772,U+8775,U+8778,U+877B-877E,U+8782,U+8785,U+8788,U+878B,U+8793,U+8797,U+879A,U+879E-87A0,U+87A2-87A3,U+87A8,U+87AB-87AD,U+87AF,U+87B3,U+87B5,U+87BD,U+87C0,U+87C4,U+87C6,U+87CA-87CB,U+87D1-87D2,U+87DB-87DC,U+87DE,U+87E0,U+87E5,U+87EA,U+87EC,U+87EE,U+87F2-87F3,U+87FB,U+87FD-87FE,U+8802-8803,U+8805,U+880A-880B,U+880D,U+8813-8816,U+8819,U+881B,U+881F,U+8821,U+8823,U+8831-8832,U+8835-8836,U+8839,U+883B-883C,U+8844,U+8846,U+884A,U+884E,U+8852-8853,U+8855,U+8859,U+885B,U+885D-885E,U+8862,U+8864,U+8869-886A,U+886E-886F,U+8872,U+8879,U+887D-887F;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.39.woff2)format("woff2");unicode-range:U+8548,U+854E,U+8553,U+8556-8557,U+8559,U+855E,U+8561,U+8564-8565,U+8568-856A,U+856D,U+856F-8570,U+8572,U+8576,U+8579-857B,U+8580,U+8585-8586,U+8588,U+858A,U+858F,U+8591,U+8594,U+8599,U+859C,U+85A2,U+85A4,U+85A6,U+85A8-85A9,U+85AB-85AC,U+85AE,U+85B7-85B9,U+85BE,U+85C1,U+85C7,U+85CD,U+85D0,U+85D3,U+85D5,U+85DC-85DD,U+85DF-85E0,U+85E5-85E6,U+85E8-85EA,U+85F4,U+85F9,U+85FE-85FF,U+8602,U+8605-8607,U+860A-860B,U+8616,U+8618,U+861A,U+8627,U+8629,U+862D,U+8638,U+863C,U+863F,U+864D,U+864F,U+8652-8655,U+865B-865C,U+865F,U+8662,U+8667,U+866C,U+866E,U+8671,U+8675,U+867A-867C,U+867F,U+868B,U+868D,U+8693,U+869C-869D,U+86A1,U+86A3-86A4,U+86A7-86A9,U+86AC,U+86AF-86B1,U+86B4-86B6,U+86BA,U+86C0,U+86C4,U+86C6,U+86C9-86CA,U+86CD-86D1,U+86D4,U+86D8,U+86DE-86DF,U+86E4,U+86E6,U+86E9,U+86ED,U+86EF-86F3;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.40.woff2)format("woff2");unicode-range:U+83C5,U+83C8-83C9,U+83CB,U+83D1,U+83D3-83D6,U+83D8,U+83DB,U+83DD,U+83DF,U+83E1,U+83E5,U+83EA-83EB,U+83F0,U+83F4,U+83F8-83F9,U+83FB,U+83FD,U+83FF,U+8401,U+8406,U+840A-840B,U+840F,U+8411,U+8418,U+841C,U+8420,U+8422-8424,U+8426,U+8429,U+842C,U+8438-8439,U+843B-843C,U+843F,U+8446-8447,U+8449,U+844E,U+8451-8452,U+8456,U+8459-845A,U+845C,U+8462,U+8466,U+846D,U+846F-8470,U+8473,U+8476-8478,U+847A,U+847D,U+8484-8485,U+8487,U+8489,U+848C,U+848E,U+8490,U+8493-8494,U+8497,U+849B,U+849E-849F,U+84A1,U+84A5,U+84A8,U+84AF,U+84B4,U+84B9-84BF,U+84C1-84C2,U+84C5-84C7,U+84CA-84CB,U+84CD,U+84D0-84D1,U+84D3,U+84D6,U+84DF-84E0,U+84E2-84E3,U+84E5-84E7,U+84EE,U+84F3,U+84F6,U+84FA,U+84FC,U+84FF-8500,U+850C,U+8511,U+8514-8515,U+8517-8518,U+851F,U+8523,U+8525-8526,U+8529,U+852B,U+852D,U+8532,U+8534-8535,U+8538-853A,U+853C,U+8543,U+8545;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.41.woff2)format("woff2");unicode-range:U+82BC,U+82BE,U+82C0-82C2,U+82C4-82C8,U+82CA-82CC,U+82CE,U+82D0,U+82D2-82D3,U+82D5-82D6,U+82D8-82D9,U+82DC-82DE,U+82E0-82E4,U+82E7,U+82E9-82EB,U+82ED-82EE,U+82F3-82F4,U+82F7-82F8,U+82FA-8301,U+8306-8308,U+830C-830D,U+830F,U+8311,U+8313-8315,U+8318,U+831A-831B,U+831D,U+8324,U+8327,U+832A,U+832C-832D,U+832F,U+8331-8334,U+833A-833C,U+8340,U+8343-8345,U+8347-8348,U+834A,U+834C,U+834F,U+8351,U+8356,U+8358-835C,U+835E,U+8360,U+8364-8366,U+8368-836A,U+836C-836E,U+8373,U+8378,U+837B-837D,U+837F-8380,U+8382,U+8388,U+838A-838B,U+8392,U+8394,U+8396,U+8398-8399,U+839B-839C,U+83A0,U+83A2-83A3,U+83A8-83AA,U+83AE-83B0,U+83B3-83B4,U+83B6,U+83B8,U+83BA,U+83BC-83BD,U+83BF-83C0,U+83C2;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.42.woff2)format("woff2");unicode-range:U+8166-8169,U+816B,U+816D,U+8171,U+8173-8174,U+8178,U+817C-817D,U+8182,U+8188,U+8191,U+8198-819B,U+81A0,U+81A3,U+81A5-81A6,U+81A9,U+81B6,U+81BA-81BB,U+81BD,U+81BF,U+81C1,U+81C3,U+81C6,U+81C9-81CA,U+81CC-81CD,U+81D1,U+81D3-81D4,U+81D8,U+81DB-81DC,U+81DE-81DF,U+81E5,U+81E7-81E9,U+81EB-81EC,U+81EE-81EF,U+81F5,U+81F8,U+81FA,U+81FC,U+81FE,U+8200-8202,U+8204,U+8208-820A,U+820E-8210,U+8216-8218,U+821B-821C,U+8221-8224,U+8226-8228,U+822B,U+822D,U+822F,U+8232-8234,U+8237-8238,U+823A-823B,U+823E,U+8244,U+8249,U+824B,U+824F,U+8259-825A,U+825F,U+8266,U+8268,U+826E,U+8271,U+8276-8279,U+827D,U+827F,U+8283-8284,U+8288-828A,U+828D-8291,U+8293-8294,U+8296-8298,U+829F-82A1,U+82A3-82A4,U+82A7-82AB,U+82AE,U+82B0,U+82B2,U+82B4-82B6;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.43.woff2)format("woff2");unicode-range:U+8016,U+8018-8019,U+801C,U+801E,U+8026-802A,U+8031,U+8034-8035,U+8037,U+8043,U+804B,U+804D,U+8052,U+8056,U+8059,U+805E,U+8061,U+8068-8069,U+806E-8074,U+8076-8078,U+807C-8080,U+8082,U+8084-8085,U+8088,U+808F,U+8093,U+809C,U+809F,U+80AB,U+80AD-80AE,U+80B1,U+80B6-80B8,U+80BC-80BD,U+80C2,U+80C4,U+80CA,U+80CD,U+80D1,U+80D4,U+80D7,U+80D9-80DB,U+80DD,U+80E0,U+80E4-80E5,U+80E7-80ED,U+80EF-80F1,U+80F3-80F4,U+80FC,U+8101,U+8104-8105,U+8107-8108,U+810C-810E,U+8112-8115,U+8117-8119,U+811B-811F,U+8121-8130,U+8132-8134,U+8137,U+8139,U+813F-8140,U+8142,U+8146,U+8148,U+814D-814E,U+8151,U+8153,U+8158-815A,U+815E,U+8160;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.44.woff2)format("woff2");unicode-range:U+7EF0-7EF2,U+7EF6,U+7EFA-7EFB,U+7EFE,U+7F01-7F04,U+7F08,U+7F0A-7F12,U+7F17,U+7F19,U+7F1B-7F1C,U+7F1F,U+7F21-7F23,U+7F25-7F28,U+7F2A-7F33,U+7F35-7F37,U+7F3D,U+7F42,U+7F44-7F45,U+7F4C-7F4D,U+7F52,U+7F54,U+7F58-7F59,U+7F5D,U+7F5F-7F61,U+7F63,U+7F65,U+7F68,U+7F70-7F71,U+7F73-7F75,U+7F77,U+7F79,U+7F7D-7F7E,U+7F85-7F86,U+7F88-7F89,U+7F8B-7F8C,U+7F90-7F91,U+7F94-7F96,U+7F98-7F9B,U+7F9D,U+7F9F,U+7FA3,U+7FA7-7FA9,U+7FAC-7FB2,U+7FB4,U+7FB6,U+7FB8,U+7FBC,U+7FBF-7FC0,U+7FC3,U+7FCA,U+7FCC,U+7FCE,U+7FD2,U+7FD5,U+7FD9-7FDB,U+7FDF,U+7FE3,U+7FE5-7FE7,U+7FE9,U+7FEB-7FEC,U+7FEE-7FEF,U+7FF1,U+7FF3-7FF4,U+7FF9-7FFA,U+7FFE,U+8004,U+8006,U+800B,U+800E,U+8011-8012,U+8014;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.45.woff2)format("woff2");unicode-range:U+7DD2,U+7DD4,U+7DD6-7DD8,U+7DDA-7DE0,U+7DE2-7DE6,U+7DE8-7DED,U+7DEF,U+7DF1-7DF5,U+7DF7,U+7DF9,U+7DFB-7DFC,U+7DFE-7E02,U+7E04,U+7E08-7E0B,U+7E12,U+7E1B,U+7E1E,U+7E20,U+7E22-7E23,U+7E26,U+7E29,U+7E2B,U+7E2E-7E2F,U+7E31,U+7E37,U+7E39-7E3E,U+7E40,U+7E43-7E44,U+7E46-7E47,U+7E4A-7E4B,U+7E4D-7E4E,U+7E51,U+7E54-7E56,U+7E58-7E5B,U+7E5D-7E5E,U+7E61,U+7E66-7E67,U+7E69-7E6B,U+7E6D,U+7E70,U+7E73,U+7E77,U+7E79,U+7E7B-7E7D,U+7E81-7E82,U+7E8C-7E8D,U+7E8F,U+7E92-7E94,U+7E96,U+7E98,U+7E9A-7E9C,U+7E9E-7E9F,U+7EA1,U+7EA3,U+7EA5,U+7EA8-7EA9,U+7EAB,U+7EAD-7EAE,U+7EB0,U+7EBB,U+7EBE,U+7EC0-7EC2,U+7EC9,U+7ECB-7ECC,U+7ED0,U+7ED4,U+7ED7,U+7EDB,U+7EE0-7EE2,U+7EE5-7EE6,U+7EE8,U+7EEB;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.46.woff2)format("woff2");unicode-range:U+7CE8,U+7CEC,U+7CF0,U+7CF5-7CF9,U+7CFC,U+7CFE,U+7D00,U+7D04-7D0B,U+7D0D,U+7D10-7D14,U+7D17-7D19,U+7D1B-7D1F,U+7D21,U+7D24-7D26,U+7D28-7D2A,U+7D2C-7D2E,U+7D30-7D31,U+7D33,U+7D35-7D36,U+7D38-7D3A,U+7D40,U+7D42-7D44,U+7D46,U+7D4B-7D4C,U+7D4F,U+7D51,U+7D54-7D56,U+7D58,U+7D5B-7D5C,U+7D5E,U+7D61-7D63,U+7D66,U+7D68,U+7D6A-7D6C,U+7D6F,U+7D71-7D73,U+7D75-7D77,U+7D79-7D7A,U+7D7E,U+7D81,U+7D84-7D8B,U+7D8D,U+7D8F,U+7D91,U+7D94,U+7D96,U+7D98-7D9A,U+7D9C-7DA0,U+7DA2,U+7DA6,U+7DAA-7DB1,U+7DB4-7DB8,U+7DBA-7DBF,U+7DC1,U+7DC4,U+7DC7-7DC8,U+7DCA-7DCD,U+7DCF,U+7DD1;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.47.woff2)format("woff2");unicode-range:U+7BD3-7BD4,U+7BD9-7BDA,U+7BDD,U+7BE0-7BE1,U+7BE4-7BE6,U+7BE9-7BEA,U+7BEF,U+7BF4,U+7BF6,U+7BFC,U+7BFE,U+7C01,U+7C03,U+7C07-7C08,U+7C0A-7C0D,U+7C0F,U+7C11,U+7C15-7C16,U+7C19,U+7C1E-7C21,U+7C23-7C24,U+7C26,U+7C28-7C33,U+7C35,U+7C37-7C3B,U+7C3D-7C3E,U+7C40-7C41,U+7C43,U+7C47-7C48,U+7C4C,U+7C50,U+7C53-7C54,U+7C59,U+7C5F-7C60,U+7C63-7C65,U+7C6C,U+7C6E,U+7C72,U+7C74,U+7C79-7C7A,U+7C7C,U+7C81-7C82,U+7C84-7C85,U+7C88,U+7C8A-7C91,U+7C93-7C96,U+7C99,U+7C9B-7C9E,U+7CA0-7CA2,U+7CA6-7CA9,U+7CAC,U+7CAF-7CB3,U+7CB5-7CB7,U+7CBA-7CBD,U+7CBF-7CC2,U+7CC5,U+7CC7-7CC9,U+7CCC-7CCD,U+7CD7,U+7CDC,U+7CDE,U+7CE0,U+7CE4-7CE5,U+7CE7;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.48.woff2)format("woff2");unicode-range:U+7AE6,U+7AF4-7AF7,U+7AFA-7AFB,U+7AFD-7B0A,U+7B0C,U+7B0E-7B0F,U+7B13,U+7B15-7B16,U+7B18-7B19,U+7B1E-7B20,U+7B22-7B25,U+7B29-7B2B,U+7B2D-7B2E,U+7B30-7B3B,U+7B3E-7B3F,U+7B41-7B42,U+7B44-7B47,U+7B4A,U+7B4C-7B50,U+7B58,U+7B5A,U+7B5C,U+7B60,U+7B66-7B67,U+7B69,U+7B6C-7B6F,U+7B72-7B76,U+7B7B-7B7D,U+7B7F,U+7B82,U+7B85,U+7B87,U+7B8B-7B96,U+7B98-7B99,U+7B9B-7B9F,U+7BA2-7BA4,U+7BA6-7BAC,U+7BAE-7BB0,U+7BB4,U+7BB7-7BB9,U+7BBB,U+7BC0-7BC1,U+7BC3-7BC4,U+7BC6,U+7BC8-7BCC,U+7BD1;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.49.woff2)format("woff2");unicode-range:U+798B-798E,U+7992,U+7994-7995,U+7997-7998,U+799A-799C,U+799F,U+79A3-79A6,U+79A8-79AC,U+79AE-79B1,U+79B3-79B5,U+79B8,U+79BA,U+79BF,U+79C2,U+79C6,U+79C8,U+79CF,U+79D5-79D6,U+79DD-79DE,U+79E3,U+79E7-79E8,U+79EB,U+79ED,U+79F4,U+79F7-79F8,U+79FA,U+79FE,U+7A02-7A03,U+7A05,U+7A0A,U+7A14,U+7A17,U+7A19,U+7A1C,U+7A1E-7A1F,U+7A23,U+7A25-7A26,U+7A2C,U+7A2E,U+7A30-7A32,U+7A36-7A37,U+7A39,U+7A3C,U+7A40,U+7A42,U+7A47,U+7A49,U+7A4C-7A4F,U+7A51,U+7A55,U+7A5B,U+7A5D-7A5E,U+7A62-7A63,U+7A66,U+7A68-7A69,U+7A6B,U+7A70,U+7A78,U+7A80,U+7A85-7A88,U+7A8A,U+7A90,U+7A93-7A96,U+7A98,U+7A9B-7A9C,U+7A9E,U+7AA0-7AA1,U+7AA3,U+7AA8-7AAA,U+7AAC-7AB0,U+7AB3,U+7AB8,U+7ABA,U+7ABD-7ABF,U+7AC4-7AC5,U+7AC7-7AC8,U+7ACA,U+7AD1-7AD2,U+7ADA-7ADD,U+7AE1,U+7AE4;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.50.woff2)format("woff2");unicode-range:U+784C,U+784E-7854,U+7856-7857,U+7859-785A,U+7865,U+7869-786A,U+786D,U+786F,U+7876-7877,U+787C,U+787E-787F,U+7881,U+7887-7889,U+7893-7894,U+7898-789E,U+78A1,U+78A3,U+78A5,U+78A9,U+78AD,U+78B2,U+78B4,U+78B6,U+78B9-78BA,U+78BC,U+78BF,U+78C3,U+78C9,U+78CB,U+78D0-78D2,U+78D4,U+78D9-78DA,U+78DC,U+78DE,U+78E1,U+78E5-78E6,U+78EA,U+78EC,U+78EF,U+78F1-78F2,U+78F4,U+78FA-78FB,U+78FE,U+7901-7902,U+7905,U+7907,U+7909,U+790B-790C,U+790E,U+7910,U+7913,U+7919-791B,U+791E-791F,U+7921,U+7924,U+7926,U+792A-792B,U+7934,U+7936,U+7939,U+793B,U+793D,U+7940,U+7942-7943,U+7945-7947,U+7949-794A,U+794C,U+794E-7951,U+7953-7955,U+7957-795A,U+795C,U+795F-7960,U+7962,U+7964,U+7966-7967,U+7969,U+796B,U+796F,U+7972,U+7974,U+7979,U+797B-797C,U+797E-7980,U+7982,U+7986-7987,U+7989-798A;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.51.woff2)format("woff2");unicode-range:U+7722,U+7726,U+7728,U+772B-7730,U+7732-7736,U+7739-773A,U+773D-773F,U+7743,U+7746-7747,U+774C-774F,U+7751-7752,U+7758-775A,U+775C-775E,U+7762,U+7765-7766,U+7768-776A,U+776C-776D,U+7771-7772,U+777A,U+777C-777E,U+7780,U+7785,U+7787,U+778B-778D,U+778F-7791,U+7793,U+779E-77A0,U+77A2,U+77A5,U+77AD,U+77AF,U+77B4-77B7,U+77BD-77C0,U+77C2,U+77C5,U+77C7,U+77CD,U+77D6-77D7,U+77D9-77DA,U+77DD-77DE,U+77E7,U+77EA,U+77EC,U+77EF,U+77F8,U+77FB,U+77FD-77FE,U+7800,U+7803,U+7806,U+7809,U+780F-7812,U+7815,U+7817-7818,U+781A-781F,U+7821-7823,U+7825-7827,U+7829,U+782B-7830,U+7832-7833,U+7835,U+7837,U+7839-783C,U+783E,U+7841-7844,U+7847-7849,U+784B;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.52.woff2)format("woff2");unicode-range:U+7613-7619,U+761B-761D,U+761F-7622,U+7625,U+7627-762A,U+762E-7630,U+7632-7635,U+7638-763A,U+763C-763D,U+763F-7640,U+7642-7643,U+7647-7648,U+764D-764E,U+7652,U+7654,U+7658,U+765A,U+765C,U+765E-765F,U+7661-7663,U+7665,U+7669,U+766C,U+766E-766F,U+7671-7673,U+7675-7676,U+7678-767A,U+767F,U+7681,U+7683,U+7688,U+768A-768C,U+768E,U+7690-7692,U+7695,U+7698,U+769A-769B,U+769D-76A0,U+76A2,U+76A4-76A7,U+76AB-76AC,U+76AF-76B0,U+76B2,U+76B4-76B5,U+76BA-76BB,U+76BF,U+76C2-76C3,U+76C5,U+76C9,U+76CC-76CE,U+76DC-76DE,U+76E1-76EA,U+76F1,U+76F9-76FB,U+76FD,U+76FF-7700,U+7703-7704,U+7707-7708,U+770C-770F,U+7712,U+7714,U+7716,U+7719-771B,U+771E,U+7721;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.53.woff2)format("woff2");unicode-range:U+750D,U+750F,U+7511,U+7513,U+7515,U+7517,U+7519,U+7521-7527,U+752A,U+752C-752D,U+752F,U+7534,U+7536,U+753A,U+753E,U+7540,U+7544,U+7547-754B,U+754D-754E,U+7550-7553,U+7556-7557,U+755A-755B,U+755D-755E,U+7560,U+7562,U+7564,U+7566-7568,U+756B-756C,U+756F-7573,U+7575,U+7579-757C,U+757E-757F,U+7581-7584,U+7587,U+7589-758E,U+7590,U+7592,U+7594,U+7596,U+7599-759A,U+759D,U+759F-75A0,U+75A3,U+75A5,U+75A8,U+75AC-75AD,U+75B0-75B1,U+75B3-75B5,U+75B8,U+75BD,U+75C1-75C4,U+75C8-75CA,U+75CC-75CD,U+75D4,U+75D6,U+75D9,U+75DE,U+75E0,U+75E2-75E4,U+75E6-75EA,U+75F1-75F3,U+75F7,U+75F9-75FA,U+75FC,U+75FE-7601,U+7603,U+7605-7606,U+7608-760E,U+7610-7612;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.54.woff2)format("woff2");unicode-range:U+73F0,U+73F2,U+73F4-73F5,U+73F7,U+73F9-73FA,U+73FC-73FD,U+73FF-7402,U+7404,U+7407-7408,U+740A-740F,U+7418,U+741A-741C,U+741E,U+7424-7425,U+7428-7429,U+742C-7430,U+7432,U+7435-7436,U+7438-743B,U+743E-7441,U+7443-7446,U+7448,U+744A-744B,U+7452,U+7457,U+745B,U+745D,U+7460,U+7462-7465,U+7467-746A,U+746D,U+746F,U+7471,U+7473-7474,U+7477,U+747A,U+747E,U+7481-7482,U+7484,U+7486,U+7488-748B,U+748E-748F,U+7493,U+7498,U+749A,U+749C-74A0,U+74A3,U+74A6,U+74A9-74AA,U+74AE,U+74B0-74B2,U+74B6,U+74B8-74BA,U+74BD,U+74BF,U+74C1,U+74C3,U+74C5,U+74C8,U+74CA,U+74CC,U+74CF,U+74D1-74D2,U+74D4-74D5,U+74D8-74DB,U+74DE-74E0,U+74E2,U+74E4-74E5,U+74E7-74E9,U+74EE-74EF,U+74F4,U+74FF,U+7501,U+7503,U+7505,U+7508;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.55.woff2)format("woff2");unicode-range:U+72E6,U+72E8,U+72EF-72F0,U+72F2-72F4,U+72F6-72F7,U+72F9-72FB,U+72FD,U+7300-7304,U+7307,U+730A-730C,U+7313-7317,U+731D-7322,U+7327,U+7329,U+732C-732D,U+7330-7331,U+7333,U+7335-7337,U+7339,U+733D-733E,U+7340,U+7342,U+7344-7345,U+734A,U+734D-7350,U+7352,U+7355,U+7357,U+7359,U+735F-7360,U+7362-7363,U+7365,U+7368,U+736C-736D,U+736F-7370,U+7372,U+7374-7376,U+7378,U+737A-737B,U+737D-737E,U+7382-7383,U+7386,U+7388,U+738A,U+738C-7393,U+7395,U+7397-739A,U+739C,U+739E,U+73A0-73A3,U+73A5-73A8,U+73AA,U+73AD,U+73B1,U+73B3,U+73B6-73B7,U+73B9,U+73C2,U+73C5-73C9,U+73CC,U+73CE-73D0,U+73D2,U+73D6,U+73D9,U+73DB-73DE,U+73E3,U+73E5-73EA,U+73EE-73EF;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.56.woff2)format("woff2");unicode-range:U+71A8,U+71AF,U+71B1-71BC,U+71BE,U+71C1-71C2,U+71C4,U+71C8-71CB,U+71CE-71D0,U+71D2,U+71D4,U+71D9-71DA,U+71DC,U+71DF-71E0,U+71E6-71E8,U+71EA,U+71ED-71EE,U+71F4,U+71F6,U+71F9,U+71FB-71FC,U+71FF-7200,U+7207,U+720C-720D,U+7210,U+7216,U+721A-721E,U+7223,U+7228,U+722B,U+722D-722E,U+7230,U+7232,U+723A-723C,U+723E-7242,U+7246,U+724B,U+724D-724E,U+7252,U+7256,U+7258,U+725A,U+725C-725D,U+7260,U+7264-7266,U+726A,U+726C,U+726E-726F,U+7271,U+7273-7274,U+7278,U+727B,U+727D-727E,U+7281-7282,U+7284,U+7287,U+728A,U+728D,U+728F,U+7292,U+729B,U+729F-72A0,U+72A7,U+72AD-72AE,U+72B0-72B5,U+72B7-72B8,U+72BA-72BE,U+72C0-72C1,U+72C3,U+72C5-72C6,U+72C8,U+72CC-72CE,U+72D2,U+72D6,U+72DB,U+72DD-72DF,U+72E1,U+72E5;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.57.woff2)format("woff2");unicode-range:U+700B,U+700D,U+7015,U+7018,U+701B,U+701D-701F,U+7023,U+7026-7028,U+702C,U+702E-7030,U+7035,U+7037,U+7039-703A,U+703C-703E,U+7044,U+7049-704B,U+704F,U+7051,U+7058,U+705A,U+705C-705E,U+7061,U+7064,U+7066,U+706C,U+707D,U+7080-7081,U+7085-7086,U+708A,U+708F,U+7091,U+7094-7095,U+7098-7099,U+709C-709D,U+709F,U+70A4,U+70A9-70AA,U+70AF-70B2,U+70B4-70B7,U+70BB,U+70C0,U+70C3,U+70C7,U+70CB,U+70CE-70CF,U+70D4,U+70D9-70DA,U+70DC-70DD,U+70E0,U+70E9,U+70EC,U+70F7,U+70FA,U+70FD,U+70FF,U+7104,U+7108-7109,U+710C,U+7110,U+7113-7114,U+7116-7118,U+711C,U+711E,U+7120,U+712E-712F,U+7131,U+713C,U+7142,U+7144-7147,U+7149-714B,U+7150,U+7152,U+7155-7156,U+7159-715A,U+715C,U+7161,U+7165-7166,U+7168-7169,U+716D,U+7173-7174,U+7176,U+7178,U+717A,U+717D,U+717F-7180,U+7184,U+7186-7188,U+7192,U+7198,U+719C,U+71A0,U+71A4-71A5;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.58.woff2)format("woff2");unicode-range:U+6ED9,U+6EDB,U+6EDD,U+6EDF-6EE0,U+6EE2,U+6EE6,U+6EEA,U+6EEC,U+6EEE-6EEF,U+6EF2-6EF3,U+6EF7-6EFA,U+6EFE,U+6F01,U+6F03,U+6F08-6F09,U+6F15-6F16,U+6F19,U+6F22-6F25,U+6F28-6F2A,U+6F2C-6F2D,U+6F2F,U+6F32,U+6F36-6F38,U+6F3F,U+6F43-6F46,U+6F48,U+6F4B,U+6F4E-6F4F,U+6F51,U+6F54-6F57,U+6F59-6F5B,U+6F5E-6F5F,U+6F61,U+6F64-6F67,U+6F69-6F6C,U+6F6F-6F72,U+6F74-6F76,U+6F78-6F7E,U+6F80-6F83,U+6F86,U+6F89,U+6F8B-6F8D,U+6F90,U+6F92,U+6F94,U+6F97-6F98,U+6F9B,U+6FA3-6FA5,U+6FA7,U+6FAA,U+6FAF,U+6FB1,U+6FB4,U+6FB6,U+6FB9,U+6FC1-6FCB,U+6FD1-6FD3,U+6FD5,U+6FDB,U+6FDE-6FE1,U+6FE4,U+6FE9,U+6FEB-6FEC,U+6FEE-6FF1,U+6FFA,U+6FFE,U+7005-7006,U+7009;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.59.woff2)format("woff2");unicode-range:U+6DC3,U+6DC5-6DC6,U+6DC9,U+6DCC,U+6DCF,U+6DD2-6DD3,U+6DD6,U+6DD9-6DDE,U+6DE0,U+6DE4,U+6DE6,U+6DE8-6DEA,U+6DEC,U+6DEF-6DF0,U+6DF5-6DF6,U+6DF8,U+6DFA,U+6DFC,U+6E03-6E04,U+6E07-6E09,U+6E0B-6E0C,U+6E0E,U+6E11,U+6E13,U+6E15-6E16,U+6E19-6E1B,U+6E1E-6E1F,U+6E22,U+6E25-6E27,U+6E2B-6E2C,U+6E36-6E37,U+6E39-6E3A,U+6E3C-6E41,U+6E44-6E45,U+6E47,U+6E49-6E4B,U+6E4D-6E4E,U+6E51,U+6E53-6E55,U+6E5C-6E5F,U+6E61-6E63,U+6E65-6E67,U+6E6A-6E6B,U+6E6D-6E70,U+6E72-6E74,U+6E76-6E78,U+6E7C,U+6E80-6E82,U+6E86-6E87,U+6E89,U+6E8D,U+6E8F,U+6E96,U+6E98,U+6E9D-6E9F,U+6EA1,U+6EA5-6EA7,U+6EAB,U+6EB1-6EB2,U+6EB4,U+6EB7,U+6EBB-6EBD,U+6EBF-6EC6,U+6EC8-6EC9,U+6ECC,U+6ECF-6ED0,U+6ED3-6ED4,U+6ED7-6ED8;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.60.woff2)format("woff2");unicode-range:U+6CB1-6CB2,U+6CB4-6CB5,U+6CB7,U+6CBA,U+6CBC-6CBD,U+6CC1-6CC3,U+6CC5-6CC7,U+6CD0-6CD4,U+6CD6-6CD7,U+6CD9-6CDA,U+6CDE-6CE0,U+6CE4,U+6CE6,U+6CE9,U+6CEB-6CEF,U+6CF1-6CF2,U+6CF6-6CF7,U+6CFA,U+6CFE,U+6D03-6D05,U+6D07-6D08,U+6D0A,U+6D0C,U+6D0E-6D11,U+6D13-6D14,U+6D16,U+6D18-6D1A,U+6D1C,U+6D1F,U+6D22-6D23,U+6D26-6D29,U+6D2B,U+6D2E-6D30,U+6D33,U+6D35-6D36,U+6D38-6D3A,U+6D3C,U+6D3F,U+6D42-6D44,U+6D48-6D49,U+6D4D,U+6D50,U+6D52,U+6D54,U+6D56-6D58,U+6D5A-6D5C,U+6D5E,U+6D60-6D61,U+6D63-6D65,U+6D67,U+6D6C-6D6D,U+6D6F,U+6D75,U+6D7B-6D7D,U+6D87,U+6D8A,U+6D8E,U+6D90-6D9A,U+6D9C-6DA0,U+6DA2-6DA3,U+6DA7,U+6DAA-6DAC,U+6DAE,U+6DB3-6DB4,U+6DB6,U+6DB8,U+6DBC,U+6DBF,U+6DC2;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.61.woff2)format("woff2");unicode-range:U+6B83-6B86,U+6B89,U+6B8D,U+6B91-6B93,U+6B95,U+6B97-6B98,U+6B9A-6B9B,U+6B9E,U+6BA1-6BA4,U+6BA9-6BAA,U+6BAD,U+6BAF-6BB0,U+6BB2-6BB3,U+6BBA-6BBD,U+6BC0,U+6BC2,U+6BC6,U+6BCA-6BCC,U+6BCE,U+6BD0-6BD1,U+6BD3,U+6BD6-6BD8,U+6BDA,U+6BE1,U+6BE6,U+6BEC,U+6BF1,U+6BF3-6BF5,U+6BF9,U+6BFD,U+6C05-6C08,U+6C0D,U+6C10,U+6C15-6C1A,U+6C21,U+6C23-6C26,U+6C29-6C2D,U+6C30-6C33,U+6C35-6C37,U+6C39-6C3A,U+6C3C-6C3F,U+6C46,U+6C4A-6C4C,U+6C4E-6C50,U+6C54,U+6C56,U+6C59-6C5C,U+6C5E,U+6C63,U+6C67-6C69,U+6C6B,U+6C6D,U+6C6F,U+6C72-6C74,U+6C78-6C7A,U+6C7C,U+6C84-6C87,U+6C8B-6C8C,U+6C8F,U+6C91,U+6C93-6C96,U+6C98,U+6C9A,U+6C9D,U+6CA2-6CA4,U+6CA8-6CA9,U+6CAC-6CAE;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.62.woff2)format("woff2");unicode-range:U+69FE-6A01,U+6A06,U+6A09,U+6A0B,U+6A11,U+6A13,U+6A17-6A19,U+6A1B,U+6A1E,U+6A23,U+6A28-6A29,U+6A2B,U+6A2F-6A30,U+6A35,U+6A38-6A40,U+6A46-6A48,U+6A4A-6A4B,U+6A4E,U+6A50,U+6A52,U+6A5B,U+6A5E,U+6A62,U+6A65-6A67,U+6A6B,U+6A79,U+6A7C,U+6A7E-6A7F,U+6A84,U+6A86,U+6A8E,U+6A90-6A91,U+6A94,U+6A97,U+6A9C,U+6A9E,U+6AA0,U+6AA2,U+6AA4,U+6AA9,U+6AAB,U+6AAE-6AB0,U+6AB2-6AB3,U+6AB5,U+6AB7-6AB8,U+6ABA-6ABB,U+6ABD,U+6ABF,U+6AC2-6AC4,U+6AC6,U+6AC8,U+6ACC,U+6ACE,U+6AD2-6AD3,U+6AD8-6ADC,U+6ADF-6AE0,U+6AE4-6AE5,U+6AE7-6AE8,U+6AFB,U+6B04-6B05,U+6B0D-6B13,U+6B16-6B17,U+6B19,U+6B24-6B25,U+6B2C,U+6B37-6B39,U+6B3B,U+6B3D,U+6B43,U+6B46,U+6B4E,U+6B50,U+6B53-6B54,U+6B58-6B59,U+6B5B,U+6B60,U+6B69,U+6B6D,U+6B6F-6B70,U+6B73-6B74,U+6B77-6B7A,U+6B80-6B82;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.63.woff2)format("woff2");unicode-range:U+68D3,U+68D7,U+68DD,U+68DF,U+68E1,U+68E3-68E4,U+68E6-68ED,U+68EF-68F0,U+68F2,U+68F4,U+68F6-68F7,U+68F9,U+68FB-68FD,U+68FF-6902,U+6906-6908,U+690B,U+6910,U+691A-691C,U+691F-6920,U+6924-6925,U+692A,U+692D,U+6934,U+6939,U+693C-6945,U+694A-694B,U+6952-6954,U+6957,U+6959,U+695B,U+695D,U+695F,U+6962-6964,U+6966,U+6968-696C,U+696E-696F,U+6971,U+6973-6974,U+6978-6979,U+697D,U+697F-6980,U+6985,U+6987-698A,U+698D-698E,U+6994-6999,U+699B,U+69A3-69A4,U+69A6-69A7,U+69AB,U+69AD-69AE,U+69B1,U+69B7,U+69BB-69BC,U+69C1,U+69C3-69C5,U+69C7,U+69CA-69CE,U+69D0-69D1,U+69D3-69D4,U+69D7-69DA,U+69E0,U+69E4,U+69E6,U+69EC-69ED,U+69F1-69F3,U+69F8,U+69FA-69FC;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.64.woff2)format("woff2");unicode-range:U+678B-678D,U+678F,U+6792-6793,U+6796,U+6798,U+679E-67A1,U+67A5,U+67A7-67A9,U+67AC-67AD,U+67B0-67B1,U+67B3,U+67B5,U+67B7,U+67B9,U+67BB-67BC,U+67C0-67C1,U+67C3,U+67C5-67CA,U+67D1-67D2,U+67D7-67D9,U+67DD-67DF,U+67E2-67E4,U+67E6-67E9,U+67F0,U+67F5,U+67F7-67F8,U+67FA-67FB,U+67FD-67FE,U+6800-6801,U+6803-6804,U+6806,U+6809-680A,U+680C,U+680E,U+6812,U+681D-681F,U+6822,U+6824-6829,U+682B-682D,U+6831-6835,U+683B,U+683E,U+6840-6841,U+6844-6845,U+6849,U+684E,U+6853,U+6855-6856,U+685C-685D,U+685F-6862,U+6864,U+6866-6868,U+686B,U+686F,U+6872,U+6874,U+6877,U+687F,U+6883,U+6886,U+688F,U+689B,U+689F-68A0,U+68A2-68A3,U+68B1,U+68B6,U+68B9-68BA,U+68BC-68BF,U+68C1-68C4,U+68C6,U+68C8,U+68CA,U+68CC,U+68D0-68D1;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.65.woff2)format("woff2");unicode-range:U+6631,U+6633-6634,U+6636,U+663A-663B,U+663D,U+6641,U+6644-6645,U+6649,U+664C,U+664F,U+6654,U+6659,U+665B,U+665D-665E,U+6660-6667,U+6669,U+666B-666C,U+6671,U+6673,U+6677-6679,U+667C,U+6680-6681,U+6684-6685,U+6688-6689,U+668B-668E,U+6690,U+6692,U+6695,U+6698,U+669A,U+669D,U+669F-66A0,U+66A2-66A3,U+66A6,U+66AA-66AB,U+66B1-66B2,U+66B5,U+66B8-66B9,U+66BB,U+66BE,U+66C1,U+66C6-66C9,U+66CC,U+66D5-66D8,U+66DA-66DC,U+66DE-66E2,U+66E8-66EA,U+66EC,U+66F1,U+66F3,U+66F7,U+66FA,U+66FD,U+6702,U+6705,U+670A,U+670F-6710,U+6713,U+6715,U+6719,U+6722-6723,U+6725-6727,U+6729,U+672D-672E,U+6732-6733,U+6736,U+6739,U+673B,U+673F,U+6744,U+6748,U+674C-674D,U+6753,U+6755,U+6762,U+6767,U+6769-676C,U+676E,U+6772-6773,U+6775,U+6777,U+677A-677D,U+6782-6783,U+6787,U+678A;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.66.woff2)format("woff2");unicode-range:U+64F1-64F2,U+64F4,U+64F7-64F8,U+64FA,U+64FC,U+64FE-64FF,U+6503,U+6509,U+650F,U+6514,U+6518,U+651C-651E,U+6522-6525,U+652A-652C,U+652E,U+6530-6532,U+6534-6535,U+6537-6538,U+653A,U+653C-653D,U+6542,U+6549-654B,U+654D-654E,U+6553-6555,U+6557-6558,U+655D,U+6564,U+6569,U+656B,U+656D-656F,U+6571,U+6573,U+6575-6576,U+6578-657E,U+6581-6583,U+6585-6586,U+6589,U+658E-658F,U+6592-6593,U+6595-6596,U+659B,U+659D,U+659F-65A1,U+65A3,U+65AB-65AC,U+65B2,U+65B6-65B7,U+65BA-65BB,U+65BE-65C0,U+65C2-65C4,U+65C6-65C8,U+65CC,U+65CE,U+65D0,U+65D2-65D3,U+65D6,U+65DB,U+65DD,U+65E1,U+65E3,U+65EE-65F0,U+65F3-65F5,U+65F8,U+65FB-65FC,U+65FE-6600,U+6603,U+6607,U+6609,U+660B,U+6610-6611,U+6619-661A,U+661C-661E,U+6621,U+6624,U+6626,U+662A-662C,U+662E,U+6630;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.67.woff2)format("woff2");unicode-range:U+63B8-63BC,U+63BE,U+63C0,U+63C3-63C4,U+63C6,U+63C8,U+63CD-63CE,U+63D1,U+63D6,U+63DA-63DB,U+63DE,U+63E0,U+63E3,U+63E9-63EA,U+63EE,U+63F2,U+63F5-63FA,U+63FC,U+63FE-6400,U+6406,U+640B-640D,U+6410,U+6414,U+6416-6417,U+641B,U+6420-6423,U+6425-6428,U+642A,U+6431-6432,U+6434-6437,U+643D-6442,U+6445,U+6448,U+6450-6452,U+645B-645F,U+6462,U+6465,U+6468,U+646D,U+646F-6471,U+6473,U+6477,U+6479-647D,U+6482-6485,U+6487-6488,U+648C,U+6490,U+6493,U+6496-649A,U+649D,U+64A0,U+64A5,U+64AB-64AC,U+64B1-64B7,U+64B9-64BB,U+64BE-64C1,U+64C4,U+64C7,U+64C9-64CB,U+64D0,U+64D4,U+64D7-64D8,U+64DA,U+64DE,U+64E0-64E2,U+64E4,U+64E9,U+64EC,U+64F0;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.68.woff2)format("woff2");unicode-range:U+622C,U+622E-6230,U+6232,U+6238,U+623B,U+623D-623E,U+6243,U+6246,U+6248-6249,U+624C,U+6255,U+6259,U+625E,U+6260-6261,U+6265-6266,U+626A,U+6271,U+627A,U+627C-627D,U+6283,U+6286,U+6289,U+628E,U+6294,U+629C,U+629E-629F,U+62A1,U+62A8,U+62BA-62BB,U+62BF,U+62C2,U+62C4,U+62C8,U+62CA-62CB,U+62CF,U+62D1,U+62D7,U+62D9-62DA,U+62DD,U+62E0-62E1,U+62E3-62E4,U+62E7,U+62EB,U+62EE,U+62F0,U+62F4-62F6,U+6308,U+630A-630E,U+6310,U+6312-6313,U+6317,U+6319,U+631B,U+631D-631F,U+6322,U+6326,U+6329,U+6331-6332,U+6334-6337,U+6339,U+633B-633C,U+633E-6340,U+6343,U+6347,U+634B-634E,U+6354,U+635C-635D,U+6368-6369,U+636D,U+636F-6372,U+6376,U+637A-637B,U+637D,U+6382-6383,U+6387,U+638A-638B,U+638D-638E,U+6391,U+6393-6397,U+6399,U+639B,U+639E-639F,U+63A1,U+63A3-63A4,U+63AC-63AE,U+63B1-63B5;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.69.woff2)format("woff2");unicode-range:U+60ED-60EE,U+60F0-60F1,U+60F4,U+60F6,U+60FA,U+6100,U+6106,U+610D-610E,U+6112,U+6114-6115,U+6119,U+611C,U+6120,U+6122-6123,U+6126,U+6128-6130,U+6136-6137,U+613A,U+613D-613E,U+6144,U+6146-6147,U+614A-614B,U+6151,U+6153,U+6158,U+615A,U+615C-615D,U+615F,U+6161,U+6163-6165,U+616B-616C,U+616E,U+6171,U+6173-6177,U+617E,U+6182,U+6187,U+618A,U+618D-618E,U+6190-6191,U+6194,U+6199-619A,U+619C,U+619F,U+61A1,U+61A3-61A4,U+61A7-61A9,U+61AB-61AD,U+61B2-61B3,U+61B5-61B7,U+61BA-61BB,U+61BF,U+61C3-61C4,U+61C6-61C7,U+61C9-61CB,U+61D0-61D1,U+61D3-61D4,U+61D7,U+61DA,U+61DF-61E1,U+61E6,U+61EE,U+61F0,U+61F2,U+61F6-61F8,U+61FA,U+61FC-61FE,U+6200,U+6206-6207,U+6209,U+620B,U+620D-620E,U+6213-6215,U+6217,U+6219,U+621B-6223,U+6225-6226;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.70.woff2)format("woff2");unicode-range:U+5FC4,U+5FC9,U+5FCB,U+5FCE-5FD6,U+5FDA-5FDE,U+5FE1-5FE2,U+5FE4-5FE5,U+5FEA,U+5FED-5FEE,U+5FF1-5FF3,U+5FF6,U+5FF8,U+5FFB,U+5FFE-5FFF,U+6002-6006,U+600A,U+600D,U+600F,U+6014,U+6019,U+601B,U+6020,U+6023,U+6026,U+6029,U+602B,U+602E-602F,U+6031,U+6033,U+6035,U+6039,U+603F,U+6041-6043,U+6046,U+604F,U+6053-6054,U+6058-605B,U+605D-605E,U+6060,U+6063,U+6065,U+6067,U+606A-606C,U+6075,U+6078-6079,U+607B,U+607D,U+607F,U+6083,U+6085-6087,U+608A,U+608C,U+608E-608F,U+6092-6093,U+6095-6097,U+609B-609D,U+60A2,U+60A7,U+60A9-60AB,U+60AD,U+60AF-60B1,U+60B3-60B6,U+60B8,U+60BB,U+60BD-60BE,U+60C0-60C3,U+60C6-60C9,U+60CB,U+60CE,U+60D3-60D4,U+60D7-60DB,U+60DD,U+60E1-60E4,U+60E6,U+60EA,U+60EC;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.71.woff2)format("woff2");unicode-range:U+5E98,U+5E9B,U+5E9D,U+5EA0-5EA5,U+5EA8,U+5EAB,U+5EAF,U+5EB3,U+5EB5-5EB6,U+5EB9,U+5EBE,U+5EC1-5EC3,U+5EC6,U+5EC8,U+5ECB-5ECC,U+5ED1-5ED2,U+5ED4,U+5ED9-5EDB,U+5EDD,U+5EDF-5EE0,U+5EE2-5EE3,U+5EE8,U+5EEA,U+5EEC,U+5EEF-5EF0,U+5EF3-5EF4,U+5EF8,U+5EFB-5EFC,U+5EFE-5EFF,U+5F01,U+5F07,U+5F0B-5F0E,U+5F10-5F12,U+5F14,U+5F1A,U+5F22,U+5F28-5F29,U+5F2C-5F2D,U+5F35-5F36,U+5F38,U+5F3B-5F43,U+5F45-5F4A,U+5F4C-5F4E,U+5F50,U+5F54,U+5F56-5F59,U+5F5B-5F5F,U+5F61,U+5F63,U+5F65,U+5F67-5F68,U+5F6B,U+5F6E-5F6F,U+5F72-5F78,U+5F7A,U+5F7E-5F7F,U+5F82-5F83,U+5F87,U+5F89-5F8A,U+5F8D,U+5F91,U+5F93,U+5F95,U+5F98-5F99,U+5F9C,U+5F9E,U+5FA0,U+5FA6-5FA9,U+5FAC-5FAD,U+5FAF,U+5FB3-5FB5,U+5FB9,U+5FBC;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.72.woff2)format("woff2");unicode-range:U+5D26-5D27,U+5D2E-5D34,U+5D3C-5D3E,U+5D41-5D44,U+5D46-5D48,U+5D4A-5D4B,U+5D4E,U+5D50,U+5D52,U+5D55-5D58,U+5D5A-5D5D,U+5D68-5D69,U+5D6B-5D6C,U+5D6F,U+5D74,U+5D7F,U+5D82-5D89,U+5D8B-5D8C,U+5D8F,U+5D92-5D93,U+5D99,U+5D9D,U+5DB2,U+5DB6-5DB7,U+5DBA,U+5DBC-5DBD,U+5DC2-5DC3,U+5DC6-5DC7,U+5DC9,U+5DCC,U+5DD2,U+5DD4,U+5DD6-5DD8,U+5DDB-5DDC,U+5DE3,U+5DED,U+5DEF,U+5DF3,U+5DF6,U+5DFA-5DFD,U+5DFF-5E00,U+5E07,U+5E0F,U+5E11,U+5E13-5E14,U+5E19-5E1B,U+5E22,U+5E25,U+5E28,U+5E2A,U+5E2F-5E31,U+5E33-5E34,U+5E36,U+5E39-5E3C,U+5E3E,U+5E40,U+5E44,U+5E46-5E48,U+5E4C,U+5E4F,U+5E53-5E54,U+5E57,U+5E59,U+5E5B,U+5E5E-5E5F,U+5E61,U+5E63,U+5E6A-5E6B,U+5E75,U+5E77,U+5E79-5E7A,U+5E7E,U+5E80-5E81,U+5E83,U+5E85,U+5E87,U+5E8B,U+5E91-5E92,U+5E96;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.73.woff2)format("woff2");unicode-range:U+5BEC,U+5BEE-5BF0,U+5BF2-5BF3,U+5BF5-5BF6,U+5BFE,U+5C02-5C03,U+5C05,U+5C07-5C09,U+5C0B-5C0C,U+5C0E,U+5C10,U+5C12-5C13,U+5C15,U+5C17,U+5C19,U+5C1B-5C1C,U+5C1E-5C1F,U+5C22,U+5C25,U+5C28,U+5C2A-5C2B,U+5C2F-5C30,U+5C37,U+5C3B,U+5C43-5C44,U+5C46-5C47,U+5C4D,U+5C50,U+5C59,U+5C5B-5C5C,U+5C62-5C64,U+5C66,U+5C6C,U+5C6E,U+5C74,U+5C78-5C7E,U+5C80,U+5C83-5C84,U+5C88,U+5C8B-5C8D,U+5C91,U+5C94-5C96,U+5C98-5C99,U+5C9C,U+5C9E,U+5CA1-5CA3,U+5CAB-5CAC,U+5CB1,U+5CB5,U+5CB7,U+5CBA,U+5CBD-5CBF,U+5CC1,U+5CC3-5CC4,U+5CC7,U+5CCB,U+5CD2,U+5CD8-5CD9,U+5CDF-5CE0,U+5CE3-5CE6,U+5CE8-5CEA,U+5CED,U+5CEF,U+5CF3-5CF4,U+5CF6,U+5CF8,U+5CFD,U+5D00-5D04,U+5D06,U+5D08,U+5D0B-5D0D,U+5D0F-5D13,U+5D15,U+5D17-5D1A,U+5D1D-5D22,U+5D24-5D25;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.74.woff2)format("woff2");unicode-range:U+5AA0,U+5AA3-5AA4,U+5AAA,U+5AAE-5AAF,U+5AB1-5AB2,U+5AB4-5AB5,U+5AB7-5ABA,U+5ABD-5ABF,U+5AC3-5AC4,U+5AC6-5AC8,U+5ACA-5ACB,U+5ACD,U+5ACF-5AD2,U+5AD4,U+5AD8-5ADA,U+5ADC,U+5ADF-5AE2,U+5AE4,U+5AE6,U+5AE8,U+5AEA-5AED,U+5AF0-5AF3,U+5AF5,U+5AF9-5AFB,U+5AFD,U+5B01,U+5B05,U+5B08,U+5B0B-5B0C,U+5B11,U+5B16-5B17,U+5B1B,U+5B21-5B22,U+5B24,U+5B27-5B2E,U+5B30,U+5B32,U+5B34,U+5B36-5B38,U+5B3E-5B40,U+5B43,U+5B45,U+5B4A-5B4B,U+5B51-5B53,U+5B56,U+5B5A-5B5B,U+5B62,U+5B65,U+5B67,U+5B6A-5B6E,U+5B70-5B71,U+5B73,U+5B7A-5B7B,U+5B7F-5B80,U+5B84,U+5B8D,U+5B91,U+5B93-5B95,U+5B9F,U+5BA5-5BA6,U+5BAC,U+5BAE,U+5BB8,U+5BC0,U+5BC3,U+5BCB,U+5BD0-5BD1,U+5BD4-5BD8,U+5BDA-5BDC,U+5BE2,U+5BE4-5BE5,U+5BE7,U+5BE9,U+5BEB;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.75.woff2)format("woff2");unicode-range:U+596A,U+596C-596E,U+5977,U+597B-597C,U+5981,U+598F,U+5997-5998,U+599A,U+599C-599D,U+59A0-59A1,U+59A3-59A4,U+59A7,U+59AA-59AD,U+59AF,U+59B2-59B3,U+59B5-59B6,U+59B8,U+59BA,U+59BD-59BE,U+59C0-59C1,U+59C3-59C4,U+59C7-59CA,U+59CC-59CD,U+59CF,U+59D2,U+59D5-59D6,U+59D8-59D9,U+59DB,U+59DD-59E0,U+59E2-59E7,U+59E9-59EB,U+59EE,U+59F1,U+59F3,U+59F5,U+59F7-59F9,U+59FD,U+5A06,U+5A08-5A0A,U+5A0C-5A0D,U+5A11-5A13,U+5A15-5A16,U+5A1A-5A1B,U+5A21-5A23,U+5A2D-5A2F,U+5A32,U+5A38,U+5A3C,U+5A3E-5A45,U+5A47,U+5A4A,U+5A4C-5A4D,U+5A4F-5A51,U+5A53,U+5A55-5A57,U+5A5E,U+5A60,U+5A62,U+5A65-5A67,U+5A6A,U+5A6C-5A6D,U+5A72-5A73,U+5A75-5A76,U+5A79-5A7C,U+5A81-5A84,U+5A8C,U+5A8E,U+5A93,U+5A96-5A97,U+5A9C,U+5A9E;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.76.woff2)format("woff2");unicode-range:U+5820,U+5822-5823,U+5825-5826,U+582C,U+582F,U+5831,U+583A,U+583D,U+583F-5842,U+5844-5846,U+5848,U+584A,U+584D,U+5852,U+5857,U+5859-585A,U+585C-585D,U+5862,U+5868-5869,U+586C-586D,U+586F-5873,U+5875,U+5879,U+587D-587E,U+5880-5881,U+5888-588A,U+588D,U+5892,U+5896-5898,U+589A,U+589C-589D,U+58A0-58A1,U+58A3,U+58A6,U+58A9,U+58AB-58AE,U+58B0,U+58B3,U+58BB-58BF,U+58C2-58C3,U+58C5-58C8,U+58CA,U+58CC,U+58CE,U+58D1-58D3,U+58D5,U+58D8-58D9,U+58DE-58DF,U+58E2,U+58E9,U+58EC,U+58EF,U+58F1-58F2,U+58F5,U+58F7-58F8,U+58FA,U+58FD,U+5900,U+5902,U+5906,U+5908-590C,U+590E,U+5910,U+5914,U+5919,U+591B,U+591D-591E,U+5920,U+5922-5925,U+5928,U+592C-592D,U+592F,U+5932,U+5936,U+593C,U+593E,U+5940-5942,U+5944,U+594C-594D,U+5950,U+5953,U+5958,U+595A,U+5961,U+5966-5968;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.77.woff2)format("woff2");unicode-range:U+56F9,U+56FC,U+56FF-5700,U+5703-5704,U+5709-570A,U+570C-570D,U+570F,U+5712-5713,U+5718-5719,U+571C,U+571E,U+5725,U+5727,U+5729-572A,U+572C,U+572E-572F,U+5734-5735,U+5739,U+573B,U+5741,U+5743,U+5745,U+5749,U+574C-574D,U+575C,U+5763,U+5768-5769,U+576B,U+576D-576E,U+5770,U+5773,U+5775,U+5777,U+577B-577C,U+5785-5786,U+5788,U+578C,U+578E-578F,U+5793-5795,U+5799-57A1,U+57A3-57A4,U+57A6-57AA,U+57AC-57AD,U+57AF-57B2,U+57B4-57B6,U+57B8-57B9,U+57BD-57BF,U+57C2,U+57C4-57C8,U+57CC-57CD,U+57CF,U+57D2,U+57D5-57DE,U+57E1-57E2,U+57E4-57E5,U+57E7,U+57EB,U+57ED,U+57EF,U+57F4-57F8,U+57FC-57FD,U+5800-5801,U+5803,U+5805,U+5807,U+5809,U+580B-580E,U+5811,U+5814,U+5819,U+581B-581F;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.78.woff2)format("woff2");unicode-range:U+55F5-55F7,U+55FB,U+55FE,U+5600-5601,U+5605-5606,U+5608,U+560C-560D,U+560F,U+5614,U+5616-5617,U+561A,U+561C,U+561E,U+5621-5625,U+5627,U+5629,U+562B-5630,U+5636,U+5638-563A,U+563C,U+5640-5642,U+5649,U+564C-5650,U+5653-5655,U+5657-565B,U+5660,U+5663-5664,U+5666,U+566B,U+566F-5671,U+5673-567C,U+567E,U+5684-5687,U+568C,U+568E-5693,U+5695,U+5697,U+569B-569C,U+569E-569F,U+56A1-56A2,U+56A4-56A9,U+56AC-56AF,U+56B1,U+56B4,U+56B6-56B8,U+56BF,U+56C1-56C3,U+56C9,U+56CD,U+56D1,U+56D4,U+56D6-56D9,U+56DD,U+56DF,U+56E1,U+56E3-56E6,U+56E8-56EC,U+56EE-56EF,U+56F1-56F3,U+56F5,U+56F7-56F8;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.79.woff2)format("woff2");unicode-range:U+550F,U+5511-5514,U+5516-5517,U+5519,U+551B,U+551D-551E,U+5520,U+5522-5523,U+5526-5527,U+552A-552C,U+5530,U+5532-5535,U+5537-5538,U+553B-5541,U+5543-5544,U+5547-5549,U+554B,U+554D,U+5550,U+5553,U+5555-5558,U+555B-555F,U+5567-5569,U+556B-5572,U+5574-5577,U+557B-557C,U+557E-557F,U+5581,U+5583,U+5585-5586,U+5588,U+558B-558C,U+558E-5591,U+5593,U+5599-559A,U+559F,U+55A5-55A6,U+55A8-55AC,U+55AE,U+55B0-55B3,U+55B6,U+55B9-55BA,U+55BC-55BE,U+55C4,U+55C6-55C7,U+55C9,U+55CC-55D2,U+55D4-55DB,U+55DD-55DF,U+55E1,U+55E3-55E6,U+55EA-55EE,U+55F0-55F3;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.80.woff2)format("woff2");unicode-range:U+53E7-53E9,U+53F1,U+53F4-53F5,U+53FA-5400,U+5402,U+5405-5407,U+540B,U+540F,U+5412,U+5414,U+5416,U+5418-541A,U+541D,U+5420-5423,U+5425,U+5429-542A,U+542D-542E,U+5431-5433,U+5436,U+543D,U+543F,U+5442-5443,U+5449,U+544B-544C,U+544E,U+5451-5454,U+5456,U+5459,U+545B-545C,U+5461,U+5463-5464,U+546A-5472,U+5474,U+5476-5478,U+547A,U+547E-5484,U+5486,U+548A,U+548D-548E,U+5490-5491,U+5494,U+5497-5499,U+549B,U+549D,U+54A1-54A7,U+54A9,U+54AB,U+54AD,U+54B4-54B5,U+54B9,U+54BB,U+54BE-54BF,U+54C2-54C3,U+54C9-54CC,U+54CF-54D0,U+54D3,U+54D5-54D6,U+54D9-54DA,U+54DC-54DE,U+54E2,U+54E7,U+54F3-54F4,U+54F8-54F9,U+54FD-54FF,U+5501,U+5504-5506,U+550C-550E;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.81.woff2)format("woff2");unicode-range:U+5289,U+528B,U+528D,U+528F,U+5291-5293,U+529A,U+52A2,U+52A6-52A7,U+52AC-52AD,U+52AF,U+52B4-52B5,U+52B9,U+52BB-52BC,U+52BE,U+52C1,U+52C5,U+52CA,U+52CD,U+52D0,U+52D6-52D7,U+52D9,U+52DB,U+52DD-52DE,U+52E0,U+52E2-52E3,U+52E5,U+52E7-52F0,U+52F2-52F3,U+52F5-52F9,U+52FB-52FC,U+5302,U+5304,U+530B,U+530D,U+530F-5310,U+5315,U+531A,U+531C-531D,U+5321,U+5323,U+5326,U+532E-5331,U+5338,U+533C-533E,U+5344-5345,U+534B-534D,U+5350,U+5354,U+5358,U+535D-535F,U+5363,U+5368-5369,U+536C,U+536E-536F,U+5372,U+5379-537B,U+537D,U+538D-538E,U+5390,U+5393-5394,U+5396,U+539B-539D,U+53A0-53A1,U+53A3-53A5,U+53A9,U+53AD-53AE,U+53B0,U+53B2-53B3,U+53B5-53B8,U+53BC,U+53BE,U+53C1,U+53C3-53C7,U+53CE-53CF,U+53D2-53D3,U+53D5,U+53DA,U+53DE-53DF,U+53E1-53E2;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.82.woff2)format("woff2");unicode-range:U+5104,U+5106-5107,U+5109-510B,U+510D,U+510F-5110,U+5113,U+5115,U+5117-5118,U+511A-511C,U+511E-511F,U+5121,U+5128,U+512B-512D,U+5131-5135,U+5137-5139,U+513C,U+5140,U+5142,U+5147,U+514C,U+514E-5150,U+5155-5158,U+5162,U+5169,U+5172,U+517F,U+5181-5184,U+5186-5187,U+518B,U+518F,U+5191,U+5195-5197,U+519A,U+51A2-51A3,U+51A6-51AB,U+51AD-51AE,U+51B1,U+51B4,U+51BC-51BD,U+51BF,U+51C3,U+51C7-51C8,U+51CA-51CB,U+51CD-51CE,U+51D4,U+51D6,U+51DB-51DC,U+51E6,U+51E8-51EB,U+51F1,U+51F5,U+51FC,U+51FF,U+5202,U+5205,U+5208,U+520B,U+520D-520E,U+5215-5216,U+5228,U+522A,U+522C-522D,U+5233,U+523C-523D,U+523F-5240,U+5245,U+5247,U+5249,U+524B-524C,U+524E,U+5250,U+525B-525F,U+5261,U+5263-5264,U+5270,U+5273,U+5275,U+5277,U+527D,U+527F,U+5281-5285,U+5287;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.83.woff2)format("woff2");unicode-range:U+4FD1,U+4FD3,U+4FDA-4FDC,U+4FDF-4FE0,U+4FE2-4FE4,U+4FE6,U+4FE8,U+4FEB-4FED,U+4FF3,U+4FF5-4FF6,U+4FF8,U+4FFE,U+5001,U+5005-5006,U+5009,U+500C,U+500F,U+5013-5018,U+501B-501E,U+5022-5025,U+5027-5028,U+502B-502E,U+5030,U+5033-5034,U+5036-5039,U+503B,U+5041-5043,U+5045-5046,U+5048-504A,U+504C-504E,U+5051,U+5053,U+5055-5057,U+505B,U+505E,U+5060,U+5062-5063,U+5067,U+506A,U+506C,U+5070-5072,U+5074-5075,U+5078,U+507B,U+507D-507E,U+5080,U+5088-5089,U+5091-5092,U+5095,U+5097-509E,U+50A2-50A3,U+50A5-50A7,U+50A9,U+50AD,U+50B3,U+50B5,U+50B7,U+50BA,U+50BE,U+50C4-50C5,U+50C7,U+50CA,U+50CD,U+50D1,U+50D5-50D6,U+50DA,U+50DE,U+50E5-50E6,U+50EC-50EE,U+50F0-50F1,U+50F3,U+50F9-50FB,U+50FE-5102;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.84.woff2)format("woff2");unicode-range:U+4EA3,U+4EA5,U+4EB0-4EB1,U+4EB3-4EB6,U+4EB8-4EB9,U+4EBB-4EBE,U+4EC2-4EC4,U+4EC8-4EC9,U+4ECC,U+4ECF-4ED0,U+4ED2,U+4EDA-4EDB,U+4EDD-4EE1,U+4EE6-4EE9,U+4EEB,U+4EEE-4EEF,U+4EF3-4EF5,U+4EF8-4EFA,U+4EFC,U+4F00,U+4F03-4F05,U+4F08-4F09,U+4F0B,U+4F0E,U+4F12-4F13,U+4F15,U+4F1B,U+4F1D,U+4F21-4F22,U+4F25,U+4F27-4F29,U+4F2B-4F2E,U+4F31-4F33,U+4F36-4F37,U+4F39,U+4F3E,U+4F40-4F41,U+4F43,U+4F47-4F49,U+4F54,U+4F57-4F58,U+4F5D-4F5E,U+4F61-4F62,U+4F64-4F65,U+4F67,U+4F6A,U+4F6E-4F6F,U+4F72,U+4F74-4F7E,U+4F80-4F82,U+4F84,U+4F89-4F8A,U+4F8E-4F98,U+4F9E,U+4FA1,U+4FA5,U+4FA9-4FAA,U+4FAC,U+4FB3,U+4FB6-4FB8,U+4FBD,U+4FC2,U+4FC5-4FC6,U+4FCD-4FCE,U+4FD0;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.85.woff2)format("woff2");unicode-range:U+3129,U+3131,U+3134,U+3137,U+3139,U+3141-3142,U+3145,U+3147-3148,U+314B,U+314D-314E,U+315C,U+3160-3161,U+3163-3164,U+3186,U+318D,U+3192,U+3196-3198,U+319E-319F,U+3220-3229,U+3231,U+3268,U+3297,U+3299,U+32A3,U+338E-338F,U+3395,U+339C-339E,U+33C4,U+33D1-33D2,U+33D5,U+3434,U+34DC,U+34EE,U+353E,U+355D,U+3566,U+3575,U+3592,U+35A0-35A1,U+35AD,U+35CE,U+36A2,U+36AB,U+38A8,U+3DAB,U+3DE7,U+3DEB,U+3E1A,U+3F1B,U+3F6D,U+4495,U+4723,U+48FA,U+4CA3,U+4DB6-4DBF,U+4E02,U+4E04-4E06,U+4E0C,U+4E0F,U+4E15,U+4E17,U+4E1F-4E21,U+4E26,U+4E29,U+4E2C,U+4E2F,U+4E31,U+4E35,U+4E37,U+4E3C,U+4E3F-4E42,U+4E44,U+4E46-4E47,U+4E57,U+4E5A-4E5C,U+4E64-4E65,U+4E67,U+4E69,U+4E6D,U+4E78,U+4E7F-4E82,U+4E85,U+4E87,U+4E8A,U+4E8D,U+4E93,U+4E96,U+4E98-4E99,U+4E9C,U+4E9E-4EA0,U+4EA2;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.86.woff2)format("woff2");unicode-range:U+279F-27A2,U+27A4-27A5,U+27A8,U+27B0,U+27B2-27B3,U+27B9,U+27E8-27E9,U+27F6,U+2800,U+28EC,U+2913,U+2921-2922,U+2934-2935,U+2A2F,U+2B05-2B07,U+2B50,U+2B55,U+2BC5-2BC6,U+2E1C-2E1D,U+2EBB,U+2F00,U+2F08,U+2F24,U+2F2D,U+2F2F-2F30,U+2F3C,U+2F45,U+2F63-2F64,U+2F74,U+2F83,U+2F8F,U+2FBC,U+3003,U+3005-3007,U+3012-3013,U+301C-301E,U+3021,U+3023-3024,U+3030,U+3034-3035,U+3041,U+3043,U+3045,U+3047,U+3049,U+3056,U+3058,U+305C,U+305E,U+3062,U+306C,U+3074,U+3077,U+307A,U+307C-307D,U+3080,U+308E,U+3090-3091,U+3099-309B,U+309D-309E,U+30A5,U+30BC,U+30BE,U+30C2,U+30C5,U+30CC,U+30D8,U+30E2,U+30E8,U+30EE,U+30F0-30F2,U+30F4-30F6,U+30FD-30FE,U+3105-3126,U+3128;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.87.woff2)format("woff2");unicode-range:U+2651-2655,U+2658,U+265A-265B,U+265D-265E,U+2660-266D,U+266F,U+267B,U+2688,U+2693-2696,U+2698-2699,U+269C,U+26A0-26A1,U+26A4,U+26AA-26AB,U+26BD-26BE,U+26C4-26C5,U+26D4,U+26E9,U+26F0-26F1,U+26F3,U+26F5,U+26FD,U+2702,U+2704-2706,U+2708-270F,U+2712-2718,U+271A-271B,U+271D,U+271F,U+2721,U+2724-2730,U+2732-2734,U+273A,U+273D-2744,U+2747-2749,U+274C,U+274E-274F,U+2753-2757,U+275B,U+275D-275E,U+2763,U+2765-2767,U+276E-276F,U+2776-277E,U+2780-2782,U+278A-278C,U+278E,U+2794-2796,U+279C;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.88.woff2)format("woff2");unicode-range:U+2550-2551,U+2554,U+2557,U+255A-255B,U+255D,U+255F-2560,U+2562-2563,U+2565-2567,U+2569-256A,U+256C-2572,U+2579,U+2580-2595,U+25A1,U+25A3,U+25A9-25AD,U+25B0,U+25B3-25BB,U+25BD-25C2,U+25C4,U+25C8-25CB,U+25CD,U+25D0-25D1,U+25D4-25D5,U+25D8,U+25DC-25E6,U+25EA-25EB,U+25EF,U+25FE,U+2600-2604,U+2609,U+260E-260F,U+2611,U+2614-2615,U+2618,U+261A-2620,U+2622-2623,U+262A,U+262D-2630,U+2639-2640,U+2642,U+2648-2650;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.89.woff2)format("woff2");unicode-range:U+23F0,U+23F3,U+2445,U+2449,U+2465-2471,U+2474-249B,U+24B8,U+24C2,U+24C7,U+24C9,U+24D0,U+24D2,U+24D4,U+24D8,U+24DD-24DE,U+24E3,U+24E6,U+24E8,U+2500-2509,U+250B-2526,U+2528-2534,U+2536-2537,U+253B-2548,U+254A-254B;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.90.woff2)format("woff2");unicode-range:U+207C-2083,U+208C-208E,U+2092,U+20A6,U+20A8-20AD,U+20AF,U+20B1,U+20B4-20B5,U+20B8-20BA,U+20BD,U+20DB,U+20DD,U+20E0,U+20E3,U+2105,U+2109,U+2113,U+2116-2117,U+2120-2121,U+2126,U+212B,U+2133,U+2139,U+2194,U+2196-2199,U+21A0,U+21A9-21AA,U+21AF,U+21B3,U+21B5,U+21BA-21BB,U+21C4,U+21CA,U+21CC,U+21D0-21D4,U+21E1,U+21E6-21E9,U+2200,U+2202,U+2205-2208,U+220F,U+2211-2212,U+2215,U+2217-2219,U+221D-2220,U+2223,U+2225,U+2227-222B,U+222E,U+2234-2237,U+223C-223D,U+2248,U+224C,U+2252,U+2256,U+2260-2261,U+2266-2267,U+226A-226B,U+226E-226F,U+2282-2283,U+2295,U+2297,U+2299,U+22A5,U+22B0-22B1,U+22B9,U+22BF,U+22C5-22C6,U+22EF,U+2304,U+2307,U+230B,U+2312-2314,U+2318,U+231A-231B,U+2323,U+239B,U+239D-239E,U+23A0,U+23E9;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.91.woff2)format("woff2");unicode-range:U+1D34-1D35,U+1D38-1D3A,U+1D3C,U+1D3F-1D40,U+1D49,U+1D4E-1D4F,U+1D52,U+1D55,U+1D5B,U+1D5E,U+1D9C,U+1DA0,U+1DC4-1DC5,U+1E69,U+1E73,U+1EA0-1EA9,U+1EAB-1EAD,U+1EAF,U+1EB1,U+1EB3,U+1EB5,U+1EB7,U+1EB9,U+1EBB,U+1EBD-1EBE,U+1EC0-1EC3,U+1EC5-1EC6,U+1EC9-1ECD,U+1ECF-1ED3,U+1ED5,U+1ED7-1EDF,U+1EE1,U+1EE3,U+1EE5-1EEB,U+1EED,U+1EEF-1EF1,U+1EF3,U+1EF7,U+1EF9,U+1F62,U+1F7B,U+2001-2002,U+2004-2006,U+2009-200A,U+200C-2012,U+2015-2016,U+201A,U+201E-2021,U+2023,U+2025,U+2028,U+202A-202D,U+202F-2030,U+2032-2033,U+2035,U+2038,U+203C,U+203E-203F,U+2043-2044,U+2049,U+204D-204E,U+2060-2061,U+2070,U+2074-2078,U+207A-207B;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.97.woff2)format("woff2");unicode-range:U+2AE-2B3,U+2B5-2BF,U+2C2-2C3,U+2C6-2D1,U+2D8-2DA,U+2DC,U+2E1-2E3,U+2E5,U+2EB,U+2EE-2F0,U+2F2-2F7,U+2F9-2FF,U+302-30D,U+311,U+31B,U+321-325,U+327-329,U+32B-32C,U+32E-32F,U+331-339,U+33C-33D,U+33F,U+348,U+352,U+35C,U+35E-35F,U+361,U+363,U+368,U+36C,U+36F,U+530-540,U+55D-55E,U+561,U+563,U+565,U+56B,U+56E-579;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.98.woff2)format("woff2");unicode-range:U+176-17F,U+192,U+194,U+19A-19B,U+19D,U+1A0-1A1,U+1A3-1A4,U+1AA,U+1AC-1AD,U+1AF-1BF,U+1D2,U+1D4,U+1D6,U+1D8,U+1DA,U+1DC,U+1E3,U+1E7,U+1E9,U+1EE,U+1F0-1F1,U+1F3,U+1F5-1FF,U+219-21B,U+221,U+223-226,U+228,U+22B,U+22F,U+231,U+234-237,U+23A-23B,U+23D,U+250-252,U+254-255,U+259-25E,U+261-263,U+265,U+268,U+26A-26B,U+26F-277,U+279,U+27B-280,U+282-283,U+285,U+28A,U+28C,U+28F,U+292,U+294-296,U+298-29A,U+29C,U+29F,U+2A1-2A4,U+2A6-2A7,U+2A9,U+2AB;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.99.woff2)format("woff2");unicode-range:U+A1-A4,U+A6-A8,U+AA,U+AC,U+AF,U+B1,U+B3-B6,U+B8-BA,U+BC-D6,U+D8-DE,U+E6,U+EB,U+EE-F0,U+F5,U+F7-F8,U+FB,U+FD-100,U+102,U+104-107,U+10D,U+10F-112,U+115,U+117,U+119,U+11B,U+11E-11F,U+121,U+123,U+125-127,U+129-12A,U+12D,U+12F-13F,U+141-142,U+144,U+146,U+14B-14C,U+14F-153,U+158-15B,U+15E-160,U+163-165,U+168-16A,U+16D-175;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.100.woff2)format("woff2");unicode-range:U+221A,U+2264,U+2464,U+25A0,U+3008,U+4E10,U+512A,U+5152,U+5201,U+5241,U+5340,U+5352,U+549A,U+54B2,U+54C6,U+54D7,U+54E1,U+5509,U+55C5,U+5618,U+5716,U+576F,U+5784,U+57A2,U+589F,U+5A20,U+5A25,U+5A29,U+5A34,U+5A7F,U+5AD6,U+5B09,U+5B5C,U+5BC7,U+5BE6,U+5C27,U+5D2D,U+5DCD,U+5F1B,U+5F37,U+604D,U+6055,U+6073,U+60EB,U+61FF,U+62CE,U+62ED,U+6345,U+6390,U+63B0,U+63B7,U+64AE,U+64C2,U+64D2,U+6556,U+663C,U+667E,U+66D9,U+66F8,U+6756,U+6789,U+689D,U+68F1,U+695E,U+6975,U+6A1F,U+6B0A,U+6B61,U+6B87,U+6C5D,U+6C7E,U+6C92,U+6D31,U+6DF9,U+6E0D,U+6E2D,U+6F31,U+6F3E,U+70B3,U+70BD,U+70CA,U+70E8,U+725F,U+733F,U+7396,U+739F,U+7459,U+74A7,U+75A1,U+75F0,U+76CF,U+76D4,U+7729,U+77AA,U+77B0,U+77E3,U+780C,U+78D5,U+7941,U+7977,U+797A,U+79C3,U+7A20,U+7A92,U+7B71,U+7BF1,U+7C9F,U+7EB6,U+7ECA,U+7EF7,U+7F07,U+7F09,U+7F15,U+7F81,U+7FB9,U+8038,U+8098,U+80B4,U+8110,U+814B-814C,U+816E,U+818A,U+8205,U+8235,U+828B,U+82A5,U+82B7,U+82D4,U+82DB,U+82DF,U+8317,U+8338,U+8385-8386,U+83C1,U+83CF,U+8537,U+853B,U+854A,U+8715,U+8783,U+892A,U+8A71,U+8BB3,U+8D2E,U+8D58,U+8DBE,U+8F67,U+8FAB,U+8FC4,U+8FE6,U+9023,U+9084,U+9091,U+916A,U+91C9,U+91DC,U+94B3,U+9502,U+9523,U+9551,U+956F,U+960E,U+962A,U+962E,U+9647,U+96F3,U+9739,U+97A0,U+97ED,U+983B,U+985E,U+988A,U+99AC,U+9A6F,U+9A87,U+9A8B,U+9AB7,U+9ABC,U+9AC5,U+9E25,U+E608,U+E621,U+FF06,U+FF14-FF16;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.101.woff2)format("woff2");unicode-range:U+161,U+926,U+928,U+939,U+93F-940,U+94D,U+E17,U+E22,U+E44,U+25C7,U+25CE,U+2764,U+3009,U+3016-3017,U+4E4D,U+4E53,U+4F5A,U+4F70,U+4FAE,U+4FD8,U+4FFA,U+5011,U+501A,U+51C4,U+5225,U+547B,U+5495,U+54E8,U+54EE,U+5594,U+55D3,U+55DC,U+55FD,U+560E,U+565C,U+5662,U+5669,U+566C,U+56BC,U+5742,U+5824,U+5834,U+598A,U+5992,U+59A9,U+5A04,U+5AC9,U+5B75,U+5B7D,U+5BC5,U+5C49,U+5C90,U+5E1C,U+5E27,U+5E2B,U+5E37,U+5E90,U+618B,U+61F5,U+620A,U+620C,U+6273,U+62C7,U+62F7,U+6320,U+6342,U+6401-6402,U+6413,U+6512,U+655B,U+65A7,U+65F1,U+65F7,U+665F,U+6687,U+66A7,U+673D,U+67B8,U+6854,U+68D8,U+68FA,U+696D,U+6A02,U+6A0A,U+6A80,U+6B7C,U+6BD9,U+6C2E,U+6C76,U+6CF8,U+6D4A,U+6D85,U+6E24,U+6E32,U+6EC7,U+6F88,U+700F,U+701A,U+7078,U+707C,U+70AC,U+70C1,U+72E9,U+7409,U+7422,U+745A,U+7480,U+74A8,U+752B,U+7574,U+7656,U+7699,U+7737,U+785D,U+78BE,U+79B9,U+7A3D,U+7A91,U+7A9F,U+7AE3,U+7B77,U+7C3F,U+7D1A,U+7D50,U+7D93,U+8042,U+808B,U+8236,U+82B8-82B9,U+82EF,U+8309,U+836B,U+83EF,U+8431,U+85C9,U+865E,U+868C,U+8759,U+8760,U+8845,U+89BA,U+8A2A,U+8AAA,U+8C41,U+8D2C,U+8D4E,U+8E66,U+8E6D,U+8EAF,U+902E,U+914B,U+916E,U+919B,U+949B,U+94A0,U+94B0,U+9541-9542,U+9556,U+95EB,U+95F5,U+964B,U+968B,U+96CC-96CD,U+96CF,U+9713,U+9890,U+98A8,U+9985,U+9992,U+9A6D,U+9A81,U+9A86,U+9AB8,U+9CA4,U+E606-E607,U+E60A,U+E60C,U+E60E,U+FE0F,U+FF02,U+FF1E;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.102.woff2)format("woff2");unicode-range:U+10C,U+627-629,U+639,U+644,U+64A,U+203B,U+2265,U+2463,U+2573,U+25B2,U+3448-3449,U+4E1E,U+4E5E,U+4F3A,U+4F5F,U+4FEA,U+5026,U+508D,U+516E,U+5189,U+5254,U+5288,U+52D8,U+52FA,U+5306,U+5308,U+5364,U+5384,U+53ED,U+543C,U+5450,U+5455,U+5466,U+54C4,U+5578,U+55A7,U+561F,U+5631,U+572D,U+575F,U+57AE,U+57E0,U+5830,U+594E,U+5984,U+5993,U+5BDD,U+5C0D,U+5C7F,U+5C82,U+5E62,U+5ED3,U+5F08,U+607A,U+60BC,U+625B,U+6292,U+62E2,U+6363,U+6467,U+6714,U+675E,U+6771,U+67A2,U+67FF,U+6805,U+68A7,U+68E0,U+6930,U+6986,U+69A8,U+69DF,U+6A44,U+6A5F,U+6C13,U+6C1F,U+6C22,U+6C2F,U+6C40,U+6C81,U+6C9B,U+6CA5,U+6DA4,U+6DF3,U+6E85,U+6EBA,U+6ED5,U+6F13,U+6F33,U+6F62,U+715E,U+72C4,U+73D1,U+7405,U+7487,U+7578,U+75A4,U+75EB,U+7693,U+7738,U+7741,U+776B,U+7792,U+77A7,U+77A9,U+77B3,U+788C,U+7984,U+79A7,U+79E4,U+7A1A,U+7A57,U+7AA6,U+7B0B,U+7B5D,U+7C27,U+7C7D,U+7CAA,U+7CD9,U+7CEF,U+7EDA,U+7EDE,U+7F24,U+803F,U+8046,U+80FA,U+81FB,U+8207,U+8258,U+8335,U+8339,U+8354,U+840E,U+85B0,U+85FB,U+8695,U+86AA,U+8717,U+8749,U+874C,U+8996,U+89BD,U+89C5,U+8BDB,U+8BF5,U+8C5A,U+8CEC,U+8D3F,U+8D9F,U+8E44,U+8FED,U+9005,U+9019,U+9082,U+90AF,U+90DD,U+90E1,U+90F8,U+916F,U+9176,U+949E,U+94A7,U+94C2,U+9525,U+9580,U+95DC,U+96E2,U+96FB,U+9704,U+9A7C,U+9A7F,U+9B41,U+9CA8,U+9CC4,U+9CDE,U+9E92,U+9EDE,U+9F9A,U+E60B,U+E610,U+FF10,U+FF13,U+FF3B,U+FF3D,U+F012B;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.103.woff2)format("woff2");unicode-range:U+60,U+631,U+2606,U+3014-3015,U+309C,U+33A1,U+4E52,U+4EC6,U+4F86,U+4F8D,U+4FDE,U+4FEF,U+500B,U+502A,U+515C,U+518A,U+51A5,U+51F3,U+5243,U+52C9,U+52D5,U+53A2,U+53EE,U+54CE,U+54FA,U+54FC,U+5580,U+5587,U+563F,U+56DA,U+5792,U+5815,U+5960,U+59D7,U+5B78,U+5B9B,U+5BE1,U+5C4E,U+5C51,U+5C6F,U+5C9A,U+5CFB,U+5D16,U+5ED6,U+5F27,U+5F6A,U+609A,U+60DF,U+6168,U+61C8,U+6236,U+62F1,U+62FD,U+631A,U+6328,U+632B,U+6346,U+638F,U+63A0,U+63C9,U+655E,U+6590,U+6615,U+6627,U+66AE,U+66E6,U+66F0,U+67DA,U+67EC,U+6813,U+6816,U+6869,U+6893,U+68AD,U+68F5,U+6977,U+6984,U+69DB,U+6B72,U+6BB7,U+6CE3,U+6CFB,U+6D47,U+6DA1,U+6DC4,U+6E43,U+6EAF,U+6EFF,U+6F8E,U+7011,U+7063,U+7076,U+7096,U+70BA,U+70DB,U+70EF,U+7119-711A,U+7172,U+718F,U+7194,U+727A,U+72D9,U+72ED,U+7325,U+73AE,U+73BA,U+73C0,U+73FE,U+7410,U+7426,U+7455,U+7554,U+7576,U+75AE,U+75B9,U+762B,U+766B,U+7682,U+7750,U+7779,U+7784,U+77EB,U+77EE,U+78F7,U+79E9,U+7A79,U+7B1B,U+7B28,U+7BF7,U+7DB2,U+7EC5,U+7EEE,U+7F14,U+7F1A,U+7FE1,U+8087,U+809B,U+81B3,U+8231,U+830E,U+835F,U+83E9,U+849C,U+851A,U+868A,U+8718,U+874E,U+8822,U+8910,U+8944,U+8A3B,U+8BB6,U+8BBC,U+8E72,U+8F9C,U+900D,U+904B,U+904E,U+9063,U+90A2,U+90B9,U+9119,U+94F2,U+952F,U+9576-9577,U+9593,U+95F8,U+961C,U+969B,U+96A7,U+96C1,U+9716,U+9761,U+97AD,U+97E7,U+98A4,U+997A,U+9A73,U+9B44,U+9E3D,U+9ECF,U+9ED4,U+FF11-FF12,U+FFFD;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.104.woff2)format("woff2");unicode-range:U+2003,U+2193,U+2462,U+4E19,U+4E2B,U+4E36,U+4EA8,U+4ED1,U+4ED7,U+4F51,U+4F63,U+4F83,U+50E7,U+5112,U+5167,U+51A4,U+51B6,U+5239,U+5265,U+532A,U+5351,U+537F,U+5401,U+548F,U+5492,U+54AF,U+54B3,U+54BD,U+54D1,U+54DF,U+554F,U+5564,U+5598,U+5632,U+56A3,U+56E7,U+574E,U+575D-575E,U+57D4,U+584C,U+58E4,U+5937,U+5955,U+5A05,U+5A1F,U+5A49,U+5AC2,U+5C39,U+5C61,U+5D0E,U+5DE9,U+5E9A,U+5EB8,U+5F0A,U+5F13,U+5F6C,U+5F8C,U+603C,U+608D,U+611B,U+6127,U+62A0,U+62D0,U+634F,U+635E,U+63FD,U+6577,U+658B,U+65BC,U+660A,U+6643,U+6656,U+6703,U+6760,U+67AF,U+67C4,U+67E0,U+6817,U+68CD,U+690E,U+6960,U+69B4,U+6A71,U+6AAC,U+6B67,U+6BB4,U+6C55,U+6C70,U+6C82,U+6CA6,U+6CB8,U+6CBE,U+6EDE,U+6EE5,U+6F4D,U+6F84,U+6F9C,U+7115,U+7121,U+722A,U+7261,U+7272,U+7280,U+72F8,U+7504,U+754F,U+75D8,U+767C,U+76EF,U+778E,U+77BB,U+77F6,U+786B,U+78B1,U+7948,U+7985,U+79BE,U+7A83,U+7A8D,U+7EAC,U+7EEF,U+7EF8,U+7EFD,U+7F00,U+803D,U+8086,U+810A,U+8165,U+819D,U+81A8,U+8214,U+829C,U+831C,U+832B,U+8367,U+83E0,U+83F1,U+8403,U+846B,U+8475,U+84B2,U+8513,U+8574,U+85AF,U+86D9,U+86DB,U+8ACB,U+8BBD,U+8BE0-8BE1,U+8C0E,U+8D29,U+8D50,U+8D63,U+8F7F,U+9032,U+9042,U+90B1,U+90B5,U+9165,U+9175,U+94A6,U+94C5,U+950C,U+9610,U+9631,U+9699,U+973E,U+978D,U+97EC,U+97F6,U+984C,U+987D,U+9882,U+9965,U+996A,U+9972,U+9A8F,U+9AD3,U+9AE6,U+9CB8,U+9EDB,U+E600,U+E60F,U+E611,U+FF05,U+FF0B;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.105.woff2)format("woff2");unicode-range:U+5E,U+2190,U+250A,U+25BC,U+25CF,U+4E56,U+4EA9,U+4F3D,U+4F6C,U+4F88,U+4FA8,U+4FCF,U+5029,U+5188,U+51F9,U+5203,U+524A,U+5256,U+529D,U+5375,U+53DB,U+541F,U+5435,U+5457,U+548B,U+54C7,U+54D4,U+54E9,U+556A,U+5589,U+55BB,U+55E8,U+55EF,U+563B,U+566A,U+576A,U+58F9,U+598D,U+599E,U+59A8,U+5A9B,U+5AE3,U+5BB0,U+5BDE,U+5C4C,U+5C60,U+5D1B,U+5DEB,U+5DF7,U+5E18,U+5F26,U+5F64,U+601C,U+6084,U+60E9,U+614C,U+6208,U+621A,U+6233,U+6254,U+62D8,U+62E6,U+62EF,U+6323,U+632A,U+633D,U+6361,U+6405,U+640F,U+6614,U+6642,U+6657,U+67A3,U+6808,U+683D,U+6850,U+6897,U+68B3,U+68B5,U+68D5,U+6A58,U+6B47,U+6B6A,U+6C28,U+6C90,U+6CA7,U+6CF5,U+6D51,U+6DA9,U+6DC7,U+6DD1,U+6E0A,U+6E5B,U+6E9C,U+6F47,U+6F6D,U+70AD,U+70F9,U+710A,U+7130,U+71AC,U+745F,U+7476,U+7490,U+7529,U+7538,U+75D2,U+7696,U+76B1,U+76FC,U+777F,U+77DC,U+789F,U+795B,U+79BD,U+79C9,U+7A3B,U+7A46,U+7AA5,U+7AD6,U+7CA5,U+7CB9,U+7CDF,U+7D6E,U+7F06,U+7F38,U+7FA1,U+7FC1,U+8015,U+803B,U+80A2,U+80AA,U+8116,U+813E,U+82BD,U+8305,U+8328,U+8346,U+846C,U+8549,U+859B,U+8611,U+8680,U+87F9,U+884D,U+8877,U+888D,U+88D4,U+898B,U+8A79,U+8A93,U+8C05,U+8C0D,U+8C26,U+8D1E,U+8D31,U+8D81,U+8E22,U+8E81,U+8F90,U+8F96,U+90CA,U+916C,U+917F,U+9187,U+918B,U+9499,U+94A9,U+9524,U+9540,U+958B,U+9600,U+9640,U+96B6,U+96C7,U+96EF,U+98D9,U+9976,U+997F,U+9A74,U+9A84,U+9C8D,U+9E26,U+9E9F,U+AD6D,U+C5B4,U+D55C,U+FF0F;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.106.woff2)format("woff2");unicode-range:U+B0,U+2191,U+2460-2461,U+25C6,U+300E-300F,U+4E1B,U+4E7E,U+4ED5,U+4EF2,U+4F10,U+4F1E,U+4F50,U+4FA6,U+4FAF,U+5021,U+50F5,U+5179,U+5180,U+51D1,U+522E,U+52A3,U+52C3,U+52CB,U+5300,U+5319,U+5320,U+5349,U+5395,U+53D9,U+541E,U+5428,U+543E,U+54B1,U+54C0,U+54D2,U+570B,U+5858,U+58F6,U+5974,U+59A5,U+59E8,U+59EC,U+5A36,U+5A9A,U+5AB3,U+5B99,U+5BAA,U+5CE1,U+5D14,U+5D4C,U+5DC5,U+5DE2,U+5E99,U+5E9E,U+5F18,U+5F66,U+5F70,U+6070,U+60D5,U+60E7,U+6101,U+611A,U+61BE,U+6241,U+6252,U+626F,U+6296,U+62BC,U+62CC,U+6380,U+63A9,U+644A,U+6454,U+64A9,U+64B8,U+6500,U+6572,U+65A5,U+65A9,U+65EC,U+660F,U+6749,U+6795,U+67AB,U+68DA,U+6912,U+6BBF,U+6BEF,U+6CAB,U+6CCA,U+6CCC,U+6CFC,U+6D3D,U+6D78,U+6DEE,U+6E17,U+6E34,U+6E83,U+6EA2,U+6EB6,U+6F20,U+6FA1,U+707F,U+70D8,U+70EB,U+714C,U+714E,U+7235,U+7239,U+73CA,U+743C,U+745C,U+7624,U+763E,U+76F2,U+77DB,U+77E9,U+780D,U+7838,U+7845,U+78CA,U+796D,U+7A84,U+7AED,U+7B3C,U+7EB2,U+7F05,U+7F20,U+7F34,U+7F62,U+7FC5,U+7FD8,U+7FF0,U+800D,U+8036,U+80BA,U+80BE,U+80C0-80C1,U+8155,U+817A,U+8180,U+81E3,U+8206,U+8247,U+8270,U+8299,U+82AD,U+8304,U+8393,U+83B9,U+840D,U+8427,U+8469,U+8471,U+84C4,U+84EC,U+853D,U+8681-8682,U+8721,U+8854,U+88D5,U+88F9,U+8BC0,U+8C0A,U+8C29,U+8C2D,U+8D41,U+8DEA,U+8EB2,U+8F9F,U+903B,U+903E,U+9102,U+9493,U+94A5,U+94F8,U+95F7,U+9706,U+9709,U+9774,U+98A0,U+9E64,U+9F9F,U+E603;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.107.woff2)format("woff2");unicode-range:U+200B,U+2103,U+4E18,U+4E27-4E28,U+4E38,U+4E59,U+4E8F,U+4EAD,U+4EC7,U+4FE9,U+503A,U+5085,U+5146,U+51AF,U+51F8,U+52AB,U+5339,U+535C,U+5378,U+538C,U+5398,U+53F9,U+5415,U+5475,U+54AA,U+54AC,U+54B8,U+5582,U+5760,U+5764,U+57CB,U+5835,U+5885,U+5951,U+5983,U+59DA,U+5A77,U+5B5D,U+5B5F,U+5BB5,U+5BC2,U+5BE8,U+5BFA,U+5C2C,U+5C34,U+5C41,U+5C48,U+5C65,U+5CAD,U+5E06,U+5E42,U+5EF7,U+5F17,U+5F25,U+5F6D,U+5F79,U+6028,U+6064,U+6068,U+606D,U+607C,U+6094,U+6109,U+6124,U+6247,U+626D,U+6291,U+629A,U+62AC,U+62B9,U+62FE,U+6324,U+6349,U+6367,U+6398,U+6495,U+64A4,U+64B0,U+64BC,U+64CE,U+658C,U+65ED,U+6602,U+6674,U+6691,U+66A8,U+674F,U+679A,U+67EF,U+67F4,U+680B,U+6876,U+68A8,U+6A59,U+6A61,U+6B20,U+6BC5,U+6D12,U+6D46,U+6D8C,U+6DC0,U+6E14,U+6E23,U+6F06,U+7164,U+716E,U+7199,U+71E5,U+72AC,U+742A,U+755C,U+75AB,U+75B2,U+75F4,U+7897,U+78B3,U+78C5,U+7978,U+79FD,U+7A74,U+7B4B,U+7B5B,U+7ECE,U+7ED2,U+7EE3,U+7EF3,U+7F50,U+7F55,U+7F9E,U+7FE0,U+809D,U+8106,U+814A,U+8154,U+817B,U+818F,U+81C2,U+81ED,U+821F,U+82A6,U+82D1,U+8302,U+83C7,U+83CA,U+845B,U+848B,U+84C9,U+85E4,U+86EE,U+8700,U+8774,U+8881,U+8C1C,U+8C79,U+8D2A,U+8D3C,U+8EBA,U+8F70,U+8FA9,U+8FB1,U+900A,U+9017,U+901D,U+9022,U+906E,U+946B,U+94DD,U+94ED,U+953B,U+95EF,U+95FA,U+95FD,U+96C0,U+971E,U+9753,U+9756,U+97E6,U+9881,U+9887,U+9B4F,U+9E2D,U+9F0E,U+E601-E602,U+E604-E605,U+FF5C;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.108.woff2)format("woff2");unicode-range:U+24,U+4E08,U+4E43,U+4E4F,U+4EF0,U+4F2A,U+507F,U+50AC,U+50BB,U+5151,U+51BB,U+51F6,U+51FD,U+5272,U+52FE,U+5362,U+53C9,U+53D4,U+53E0,U+543B,U+54F2,U+5507,U+5524,U+558A,U+55B5,U+561B,U+56CA,U+5782,U+57C3,U+5893,U+5915,U+5949,U+5962,U+59AE,U+59DC,U+59FB,U+5BD3,U+5C38,U+5CB3,U+5D07,U+5D29,U+5DE1,U+5DFE,U+5E15,U+5ECA,U+5F2F,U+5F7C,U+5FCC,U+6021,U+609F,U+60F9,U+6108,U+6148,U+6155,U+6170,U+61D2,U+6251,U+629B,U+62AB,U+62E8,U+62F3,U+6321,U+6350,U+6566,U+659C,U+65E8,U+6635,U+6655,U+6670,U+66F9,U+6734,U+679D,U+6851,U+6905,U+6B49,U+6B96,U+6C1B,U+6C41,U+6C6A,U+6C83,U+6CF3,U+6D9B,U+6DCB,U+6E1D,U+6E20-6E21,U+6EAA,U+6EE4,U+6EE9,U+6F58,U+70E4,U+722C,U+7262,U+7267,U+72B9,U+72E0,U+72EE,U+72F1,U+7334,U+73AB,U+7433,U+7470,U+758F,U+75D5,U+764C,U+7686,U+76C6,U+76FE,U+7720,U+77E2,U+7802,U+7816,U+788D,U+7891,U+7A00,U+7A9D,U+7B52,U+7BAD,U+7C98,U+7CCA,U+7EBA,U+7EEA,U+7EF5,U+7F1D,U+7F69,U+806A,U+809A,U+80BF,U+80C3,U+81C0,U+820C,U+82AC,U+82AF,U+82CD,U+82D7,U+838E,U+839E,U+8404,U+84B8,U+852C,U+8587,U+8650,U+8679,U+86C7,U+8702,U+87BA,U+886B-886C,U+8870,U+8C10,U+8C23,U+8C6B,U+8D3E,U+8D4B-8D4C,U+8D64,U+8D6B,U+8D74,U+8E29,U+8F69,U+8F74,U+8FB0,U+8FDF,U+901B,U+9038,U+9093,U+9171,U+9489,U+94AE,U+94C3,U+9508,U+9510,U+9601,U+9614,U+964C,U+9675,U+971C,U+97F5,U+9888,U+98D8,U+9971,U+9AA4,U+9E3F,U+9E45,U+9E4F,U+9E70,U+9F7F,U+E715;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.109.woff2)format("woff2");unicode-range:U+A5,U+2192,U+2605,U+4E11,U+4E22,U+4E32,U+4F0D,U+4F0F,U+4F69,U+4FF1,U+50B2,U+5154,U+51DD,U+51F0,U+5211,U+5269,U+533F,U+5366-5367,U+5389,U+5413,U+5440,U+5446,U+5561,U+574A,U+5751,U+57AB,U+5806,U+5821,U+582A,U+58F3,U+5938,U+5948,U+5978,U+59D1,U+5A03,U+5A07,U+5AC1,U+5ACC,U+5AE9,U+5BB4,U+5BC4,U+5C3F,U+5E3D,U+5E7D,U+5F92,U+5FAA,U+5FE0,U+5FFD,U+6016,U+60A0,U+60DC,U+60E8,U+614E,U+6212,U+6284,U+62C6,U+62D3-62D4,U+63F4,U+642C,U+6478,U+6491-6492,U+64E6,U+6591,U+65A4,U+664B,U+6735,U+6746,U+67F1,U+67F3,U+6842,U+68AF,U+68C9,U+68CB,U+6A31,U+6B3A,U+6BC1,U+6C0F,U+6C27,U+6C57,U+6CC4,U+6CE5,U+6D2A,U+6D66,U+6D69,U+6DAF,U+6E58,U+6ECB,U+6EF4,U+707E,U+7092,U+70AB,U+71D5,U+7275,U+7384,U+73B2,U+7434,U+74E6,U+74F7,U+75BC,U+76C8,U+76D0,U+7709,U+77AC,U+7855,U+78A7,U+78C1,U+7A77,U+7B79,U+7C92,U+7CAE,U+7CD5,U+7EA4,U+7EB5,U+7EBD,U+7F5A,U+7FD4,U+7FFC,U+8083,U+8096,U+80A0,U+80D6,U+80DE,U+8102,U+8109,U+810F,U+8179,U+8292,U+82B3,U+8352,U+8361,U+83CC,U+841D,U+8461,U+8482,U+8521,U+857E,U+85AA,U+866B,U+8776,U+8896,U+889C,U+88F8,U+8A9E,U+8BC8,U+8BF8,U+8C0B,U+8C28,U+8D2B,U+8D2F,U+8D37,U+8D3A,U+8D54,U+8DC3,U+8DCC,U+8DF5,U+8E0F,U+8E48,U+8F86,U+8F88,U+8F9E,U+8FC1,U+8FC8,U+8FEB,U+9065,U+90A6,U+90AA,U+90BB,U+90C1,U+94DC,U+9521,U+9676,U+96D5,U+970D,U+9897,U+997C,U+9A70,U+9A76,U+9A9A,U+9AD4,U+9E23,U+9E7F,U+9F3B,U+E675,U+E6B9,U+FFE5;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.110.woff2)format("woff2");unicode-range:U+300C-300D,U+4E54,U+4E58,U+4E95,U+4EC1,U+4F2F,U+4F38,U+4FA3,U+4FCA,U+503E,U+5141,U+5144,U+517C,U+51CC,U+51ED,U+5242,U+52B2,U+52D2,U+52E4,U+540A,U+5439,U+5448,U+5496,U+54ED,U+5565,U+5761,U+5766,U+58EE,U+593A,U+594B,U+594F,U+5954,U+5996,U+59C6,U+59FF,U+5B64,U+5BFF,U+5C18,U+5C1D,U+5C97,U+5CA9,U+5CB8,U+5E9F,U+5EC9,U+5F04,U+5F7B,U+5FA1,U+5FCD,U+6012,U+60A6,U+60AC,U+60B2,U+60EF,U+626E,U+6270,U+6276,U+62D6,U+62DC,U+6316,U+632F,U+633A,U+6355,U+63AA,U+6447,U+649E,U+64C5,U+654C,U+65C1,U+65CB,U+65E6,U+6606,U+6731,U+675C,U+67CF,U+67DC,U+6846,U+6B8B,U+6BEB,U+6C61,U+6C88,U+6CBF,U+6CDB,U+6CEA,U+6D45,U+6D53,U+6D74,U+6D82,U+6DA8,U+6DB5,U+6DEB,U+6EDA,U+6EE8,U+6F0F,U+706D,U+708E,U+70AE,U+70BC,U+70C2,U+70E6,U+7237-7238,U+72FC,U+730E,U+731B,U+739B,U+73BB,U+7483,U+74DC,U+74F6,U+7586,U+7626,U+775B,U+77FF,U+788E,U+78B0,U+7956,U+7965,U+79E6,U+7AF9,U+7BEE,U+7C97,U+7EB1,U+7EB7,U+7ED1,U+7ED5,U+7F6A,U+7F72,U+7FBD,U+8017,U+808C,U+80A9,U+80C6,U+80CE,U+8150,U+8170,U+819C,U+820D,U+8230,U+8239,U+827E,U+8377,U+8389,U+83B2,U+8428,U+8463,U+867E,U+88C2,U+88D9,U+8986,U+8BCA,U+8BDE,U+8C13,U+8C8C,U+8D21,U+8D24,U+8D56,U+8D60,U+8D8B,U+8DB4,U+8E2A,U+8F68,U+8F89,U+8F9B,U+8FA8,U+8FBD,U+9003,U+90CE,U+90ED,U+9189,U+94BB,U+9505,U+95F9,U+963B,U+9655,U+966A,U+9677,U+96FE,U+9896,U+99A8,U+9A71,U+9A82,U+9A91,U+9B45,U+9ECE,U+9F20,U+FEFF,U+FF0D;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.111.woff2)format("woff2");unicode-range:U+4E4C,U+4E88,U+4EA1,U+4EA6,U+4ED3-4ED4,U+4EFF,U+4F30,U+4FA7,U+4FC4,U+4FD7,U+500D,U+504F,U+5076-5077,U+517D,U+5192,U+51C9,U+51EF,U+5238,U+5251,U+526A,U+52C7,U+52DF,U+52FF,U+53A6,U+53A8,U+53EC,U+5410,U+559D,U+55B7,U+5634,U+573E,U+5783,U+585E,U+586B,U+58A8,U+5999,U+59D3,U+5A1C,U+5A46,U+5B54-5B55,U+5B85,U+5B8B,U+5B8F,U+5BBF,U+5BD2,U+5C16,U+5C24,U+5E05,U+5E45,U+5E7C,U+5E84,U+5F03,U+5F1F,U+5F31,U+5F84,U+5F90,U+5FBD,U+5FC6,U+5FD9,U+5FE7,U+6052,U+6062,U+6089,U+60A3,U+60D1,U+6167,U+622A,U+6234,U+624E,U+6269,U+626C,U+62B5,U+62D2,U+6325,U+63E1,U+643A,U+6446,U+6562,U+656C,U+65E2,U+65FA,U+660C,U+6628,U+6652,U+6668,U+6676,U+66FC,U+66FF,U+6717,U+676D,U+67AA,U+67D4,U+6843,U+6881,U+68D2,U+695A,U+69FD,U+6A2A,U+6B8A,U+6C60,U+6C64,U+6C9F,U+6CAA,U+6CC9,U+6CE1,U+6CFD,U+6D1B,U+6D1E,U+6D6E,U+6DE1,U+6E10,U+6E7F,U+6F5C,U+704C,U+7070,U+7089,U+70B8,U+718A,U+71C3,U+723D,U+732A,U+73CD,U+7518,U+756A,U+75AF,U+75BE,U+75C7,U+76D2,U+76D7,U+7763,U+78E8,U+795D,U+79DF,U+7C4D,U+7D2F,U+7EE9,U+7F13,U+7F8A,U+8000,U+8010,U+80AF,U+80F6,U+80F8,U+8212,U+8273,U+82F9,U+83AB,U+83B1,U+83F2,U+8584,U+871C,U+8861,U+888B,U+88C1,U+88E4,U+8BD1,U+8BF1,U+8C31,U+8D5A,U+8D75-8D76,U+8DE8,U+8F85,U+8FA3,U+8FC5,U+9006,U+903C,U+904D,U+9075,U+9178,U+9274,U+950B,U+9526,U+95EA,U+9636,U+9686,U+978B,U+987F,U+9A7E,U+9B42,U+9E1F,U+9EA6,U+9F13,U+9F84,U+FF5E;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.112.woff2)format("woff2");unicode-range:U+23,U+3D,U+4E01,U+4E39,U+4E73,U+4ECD,U+4ED9,U+4EEA,U+4F0A,U+4F1F,U+4F5B,U+4FA0,U+4FC3,U+501F,U+50A8,U+515A,U+5175,U+51A0,U+51C0,U+51E1,U+51E4,U+5200,U+520A,U+5224,U+523A,U+52AA,U+52B1,U+52B3,U+5348,U+5353,U+5360,U+5371,U+5377,U+539A,U+541B,U+5434,U+547C,U+54E6,U+5510,U+5531,U+5609,U+56F0,U+56FA,U+5733,U+574F,U+5851,U+5854,U+5899,U+58C1,U+592E,U+5939,U+5976,U+5986,U+59BB,U+5A18,U+5A74,U+5B59,U+5B87,U+5B97,U+5BA0,U+5BAB,U+5BBD-5BBE,U+5BF8,U+5C0A,U+5C3A,U+5C4A,U+5E16,U+5E1D,U+5E2D,U+5E8A,U+6015,U+602A,U+6050,U+6069,U+6162,U+61C2,U+6293,U+6297,U+62B1,U+62BD,U+62DF,U+62FC,U+6302,U+635F,U+638C,U+63ED,U+6458,U+6469,U+6563,U+6620,U+6653,U+6696-6697,U+66DD,U+675F,U+676F-6770,U+67D0,U+67D3,U+684C,U+6865,U+6885,U+68B0,U+68EE,U+690D,U+6B23,U+6B32,U+6BD5,U+6C89,U+6D01,U+6D25,U+6D89,U+6DA6,U+6DB2,U+6DF7,U+6ED1,U+6F02,U+70C8,U+70DF,U+70E7,U+7126,U+7236,U+7259,U+731C,U+745E,U+74E3,U+751A,U+751C,U+7532,U+7545,U+75DB,U+7761,U+7A0D,U+7B51,U+7CA4,U+7CD6,U+7D2B,U+7EA0,U+7EB9,U+7ED8,U+7F18,U+7F29,U+8033,U+804A,U+80A4-80A5,U+80E1,U+817F,U+829D,U+82E6,U+8336,U+840C,U+8499,U+864E,U+8651,U+865A,U+88AD,U+89E6,U+8BD7,U+8BFA,U+8C37,U+8D25,U+8D38,U+8DDD,U+8FEA,U+9010,U+9012,U+906D,U+907F-9080,U+90D1,U+9177,U+91CA,U+94FA,U+9501,U+9634-9635,U+9694,U+9707,U+9738,U+9769,U+9A7B,U+9A97,U+9AA8,U+9B3C,U+9C81,U+9ED8;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.113.woff2)format("woff2");unicode-range:U+26,U+3C,U+D7,U+4E4E,U+4E61,U+4E71,U+4EBF,U+4F26,U+5012,U+51AC,U+51B0,U+51B2,U+51B7,U+5218,U+521A,U+5220,U+5237,U+523B,U+526F,U+5385,U+53BF,U+53E5,U+53EB,U+53F3,U+53F6,U+5409,U+5438,U+54C8,U+54E5,U+552F,U+5584,U+5706,U+5723,U+5750,U+575A,U+5987-5988,U+59B9,U+59D0,U+59D4,U+5B88,U+5B9C,U+5BDF,U+5BFB,U+5C01,U+5C04,U+5C3E,U+5C4B,U+5C4F,U+5C9B,U+5CF0,U+5DDD,U+5DE6,U+5DE8,U+5E01,U+5E78,U+5E7B,U+5E9C,U+5EAD,U+5EF6,U+5F39,U+5FD8,U+6000,U+6025,U+604B,U+6076,U+613F,U+6258,U+6263,U+6267,U+6298,U+62A2,U+62E5,U+62EC,U+6311,U+6377,U+6388-6389,U+63A2,U+63D2,U+641E,U+642D,U+654F,U+6551,U+6597,U+65CF,U+65D7,U+65E7,U+6682,U+66F2,U+671D,U+672B,U+6740,U+6751,U+6768,U+6811,U+6863,U+6982,U+6BD2,U+6CF0,U+6D0B,U+6D17,U+6D59,U+6DD8,U+6DFB,U+6E7E,U+6F6E,U+6FB3,U+706F,U+719F,U+72AF,U+72D0,U+72D7,U+732B,U+732E,U+7389,U+73E0,U+7530,U+7687,U+76D6,U+76DB,U+7840,U+786C,U+79CB,U+79D2,U+7A0E,U+7A33,U+7A3F,U+7A97,U+7ADE-7ADF,U+7B26,U+7E41,U+7EC3,U+7F3A,U+8089,U+80DC,U+811A,U+8131,U+8138,U+821E,U+8349,U+83DC,U+8457,U+867D,U+86CB,U+8A89,U+8BA8,U+8BAD,U+8BEF,U+8BFE,U+8C6A,U+8D1D,U+8D4F,U+8D62,U+8DD1,U+8DF3,U+8F6E,U+8FF9,U+900F,U+9014,U+9057,U+9192,U+91CE,U+9488,U+94A2,U+9547,U+955C,U+95F2,U+9644,U+964D,U+96C4-96C5,U+96E8,U+96F6-96F7,U+9732,U+9759,U+9760,U+987A,U+989C,U+9910,U+996D-996E,U+9B54,U+9E21,U+9EBB,U+9F50;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.114.woff2)format("woff2");unicode-range:U+7E,U+2026,U+4E03,U+4E25,U+4E30,U+4E34,U+4E45,U+4E5D,U+4E89,U+4EAE,U+4ED8,U+4F11,U+4F19,U+4F24,U+4F34,U+4F59,U+4F73,U+4F9D,U+4FB5,U+5047,U+505C,U+5170,U+519C,U+51CF,U+5267,U+5356,U+5374,U+5382,U+538B,U+53E6,U+5426,U+542B,U+542F,U+5462,U+5473,U+554A,U+5566,U+5708,U+571F,U+5757,U+57DF,U+57F9,U+5802,U+590F,U+591C,U+591F,U+592B,U+5965,U+5979,U+5A01,U+5A5A,U+5B63,U+5B69,U+5B81,U+5BA1,U+5BA3,U+5C3C,U+5C42,U+5C81,U+5DE7,U+5DEE,U+5E0C,U+5E10,U+5E55,U+5E86,U+5E8F,U+5EA7,U+5F02,U+5F52,U+5F81,U+5FF5,U+60CA,U+60E0,U+6279,U+62C5,U+62FF,U+63CF,U+6444,U+64CD,U+653B,U+65BD,U+65E9,U+665A,U+66B4,U+66FE,U+6728,U+6742,U+677E,U+67B6,U+680F,U+68A6,U+68C0,U+699C,U+6B4C,U+6B66,U+6B7B,U+6BCD,U+6BDB,U+6C38,U+6C47,U+6C49,U+6CB3,U+6CB9,U+6CE2,U+6D32,U+6D3E,U+6D4F,U+6E56,U+6FC0,U+7075,U+7206,U+725B,U+72C2,U+73ED,U+7565,U+7591,U+7597,U+75C5,U+76AE,U+76D1,U+76DF,U+7834,U+7968,U+7981,U+79C0,U+7A7F,U+7A81,U+7AE5,U+7B14,U+7C89,U+7D27,U+7EAF,U+7EB3,U+7EB8,U+7EC7,U+7EE7,U+7EFF,U+7F57,U+7FFB,U+805A,U+80A1,U+822C,U+82CF,U+82E5,U+8363,U+836F,U+84DD,U+878D,U+8840,U+8857,U+8863,U+8865,U+8B66,U+8BB2,U+8BDA,U+8C01,U+8C08,U+8C46,U+8D1F,U+8D35,U+8D5B,U+8D5E,U+8DA3,U+8DDF,U+8F93,U+8FDD,U+8FF0,U+8FF7,U+8FFD,U+9000,U+9047,U+9152,U+949F,U+94C1,U+94F6,U+9646,U+9648,U+9669,U+969C,U+96EA,U+97E9,U+987B,U+987E,U+989D,U+9970,U+9986,U+9C7C,U+9C9C;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.115.woff2)format("woff2");unicode-range:U+25,U+4E14,U+4E1D,U+4E3D,U+4E49,U+4E60,U+4E9A,U+4EB2,U+4EC5,U+4EFD,U+4F3C,U+4F4F,U+4F8B,U+4FBF,U+5019,U+5145,U+514B,U+516B,U+516D,U+5174,U+5178,U+517B,U+5199,U+519B,U+51B3,U+51B5,U+5207,U+5212,U+5219,U+521D,U+52BF,U+533B,U+5343,U+5347,U+534A,U+536B,U+5370,U+53E4,U+53F2,U+5403,U+542C,U+547D,U+54A8,U+54CD,U+54EA,U+552E,U+56F4,U+5747,U+575B,U+5883,U+589E,U+5931,U+5947,U+5956-5957,U+5A92,U+5B83,U+5BA4,U+5BB3,U+5BCC,U+5C14,U+5C1A,U+5C3D,U+5C40,U+5C45,U+5C5E,U+5DF4,U+5E72,U+5E95,U+5F80,U+5F85,U+5FB7,U+5FD7,U+601D,U+626B,U+627F,U+62C9,U+62CD,U+6309,U+63A7,U+6545,U+65AD,U+65AF,U+65C5,U+666E,U+667A,U+670B,U+671B,U+674E,U+677F,U+6781,U+6790,U+6797,U+6821,U+6838-6839,U+697C,U+6B27,U+6B62,U+6BB5,U+6C7D,U+6C99,U+6D4B,U+6D4E,U+6D6A,U+6E29,U+6E2F,U+6EE1,U+6F14,U+6F2B,U+72B6,U+72EC,U+7387,U+7533,U+753B,U+76CA,U+76D8,U+7701,U+773C,U+77ED,U+77F3,U+7814,U+793C,U+79BB,U+79C1,U+79D8,U+79EF,U+79FB,U+7A76,U+7B11,U+7B54,U+7B56,U+7B97,U+7BC7,U+7C73,U+7D20,U+7EAA,U+7EC8,U+7EDD,U+7EED,U+7EFC,U+7FA4,U+804C,U+8058,U+80CC,U+8111,U+817E,U+826F,U+8303,U+843D,U+89C9,U+89D2,U+8BA2,U+8BBF,U+8BC9,U+8BCD,U+8BE6,U+8C22,U+8C61,U+8D22,U+8D26-8D27,U+8D8A,U+8F6F,U+8F7B,U+8F83,U+8F91,U+8FB9,U+8FD4,U+8FDC,U+9002,U+94B1,U+9519,U+95ED,U+961F,U+9632-9633,U+963F,U+968F-9690,U+96BE,U+9876,U+9884,U+98DE,U+9988,U+9999,U+9EC4,U+FF1B;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.116.woff2)format("woff2");unicode-range:U+2B,U+40,U+3000,U+300A-300B,U+4E16,U+4E66,U+4E70,U+4E91-4E92,U+4E94,U+4E9B,U+4EC0,U+4ECA,U+4F01,U+4F17-4F18,U+4F46,U+4F4E,U+4F9B,U+4FEE,U+503C,U+5065,U+50CF,U+513F,U+5148,U+518D,U+51C6,U+51E0,U+5217,U+529E-529F,U+5341,U+534F,U+5361,U+5386,U+53C2,U+53C8,U+53CC,U+53D7-53D8,U+53EA,U+5404,U+5411,U+5417,U+5427,U+5468,U+559C,U+5668,U+56E0,U+56E2,U+56ED,U+5740,U+57FA,U+58EB,U+5904,U+592A,U+59CB,U+5A31,U+5B58,U+5B9D,U+5BC6,U+5C71,U+5DDE,U+5DF1,U+5E08,U+5E26,U+5E2E,U+5E93,U+5E97,U+5EB7,U+5F15,U+5F20,U+5F3A,U+5F62,U+5F69,U+5F88,U+5F8B,U+5FC5,U+600E,U+620F,U+6218,U+623F,U+627E,U+628A,U+62A4,U+62DB,U+62E9,U+6307,U+6362,U+636E,U+64AD,U+6539,U+653F,U+6548,U+6574,U+6613,U+6625,U+663E,U+666F,U+672A,U+6750,U+6784,U+6A21,U+6B3E,U+6B65,U+6BCF,U+6C11,U+6C5F,U+6DF1,U+706B,U+7167,U+724C,U+738B,U+73A9,U+73AF,U+7403,U+7537,U+754C,U+7559,U+767D,U+7740,U+786E,U+795E,U+798F,U+79F0,U+7AEF,U+7B7E,U+7BB1,U+7EA2,U+7EA6,U+7EC4,U+7EC6,U+7ECD,U+7EDC,U+7EF4,U+8003,U+80B2,U+81F3-81F4,U+822A,U+827A,U+82F1,U+83B7,U+8425,U+89C2,U+89C8,U+8BA9,U+8BB8,U+8BC6,U+8BD5,U+8BE2,U+8BE5,U+8BED,U+8C03,U+8D23,U+8D2D,U+8D34,U+8D70,U+8DB3,U+8FBE,U+8FCE,U+8FD1,U+8FDE,U+9001,U+901F-9020,U+90A3,U+914D,U+91C7,U+94FE,U+9500,U+952E,U+9605,U+9645,U+9662,U+9664,U+9700,U+9752,U+975E,U+97F3,U+9879,U+9886,U+98DF,U+9A6C,U+9A8C,U+9ED1,U+9F99;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.117.woff2)format("woff2");unicode-range:U+4E,U+201C-201D,U+3010-3011,U+4E07,U+4E1C,U+4E24,U+4E3E,U+4E48,U+4E50,U+4E5F,U+4E8B-4E8C,U+4EA4,U+4EAB-4EAC,U+4ECB,U+4ECE,U+4ED6,U+4EE3,U+4EF6-4EF7,U+4EFB,U+4F20,U+4F55,U+4F7F,U+4FDD,U+505A,U+5143,U+5149,U+514D,U+5171,U+5177,U+518C,U+51FB,U+521B,U+5229,U+522B,U+52A9,U+5305,U+5317,U+534E,U+5355,U+5357,U+535A,U+5373,U+539F,U+53BB,U+53CA,U+53CD,U+53D6,U+53E3,U+53F0,U+5458,U+5546,U+56DB,U+573A,U+578B,U+57CE,U+58F0,U+590D,U+5934,U+5973,U+5B57,U+5B8C,U+5B98,U+5BB9,U+5BFC,U+5C06,U+5C11,U+5C31,U+5C55,U+5DF2,U+5E03,U+5E38,U+5E76,U+5E94,U+5EFA,U+5F71,U+5F97,U+5FEB,U+6001,U+603B,U+60F3,U+611F,U+6216,U+624D,U+6253,U+6295,U+6301,U+6392,U+641C,U+652F,U+653E,U+6559,U+6599,U+661F,U+671F,U+672F,U+6761,U+67E5,U+6807,U+6837,U+683C,U+6848,U+6B22,U+6B64,U+6BD4,U+6C14,U+6C34,U+6C42,U+6CA1,U+6D41,U+6D77,U+6D88,U+6E05,U+6E38,U+6E90,U+7136,U+7231,U+7531,U+767E,U+76EE,U+76F4,U+771F,U+7801,U+793A,U+79CD,U+7A0B,U+7A7A,U+7ACB,U+7AE0,U+7B2C,U+7B80,U+7BA1,U+7CBE,U+7D22,U+7EA7,U+7ED3,U+7ED9,U+7EDF,U+7F16,U+7F6E,U+8001,U+800C,U+8272,U+8282,U+82B1,U+8350,U+88AB,U+88C5,U+897F,U+89C1,U+89C4,U+89E3,U+8A00,U+8BA1,U+8BA4,U+8BAE-8BB0,U+8BBE,U+8BC1,U+8BC4,U+8BFB,U+8D28,U+8D39,U+8D77,U+8D85,U+8DEF,U+8EAB,U+8F66,U+8F6C,U+8F7D,U+8FD0,U+9009,U+90AE,U+90FD,U+91CC-91CD,U+91CF,U+95FB,U+9650,U+96C6,U+9891,U+98CE,U+FF1F;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.118.woff2)format("woff2");unicode-range:U+D,U+3E,U+5F,U+7C,U+A0,U+A9,U+4E09-4E0B,U+4E0D-4E0E,U+4E13,U+4E1A,U+4E2A,U+4E3A-4E3B,U+4E4B,U+4E86,U+4E8E,U+4EA7,U+4EBA,U+4EE4-4EE5,U+4EEC,U+4F1A,U+4F4D,U+4F53,U+4F5C,U+4F60,U+4FE1,U+5165,U+5168,U+516C,U+5173,U+5176,U+5185,U+51FA,U+5206,U+5230,U+5236,U+524D,U+529B,U+52A0-52A1,U+52A8,U+5316,U+533A,U+53CB,U+53D1,U+53EF,U+53F7-53F8,U+5408,U+540C-540E,U+544A,U+548C,U+54C1,U+56DE,U+56FD-56FE,U+5728,U+5730,U+5907,U+5916,U+591A,U+5927,U+5929,U+597D,U+5982,U+5B50,U+5B66,U+5B89,U+5B9A,U+5B9E,U+5BA2,U+5BB6,U+5BF9,U+5C0F,U+5DE5,U+5E02,U+5E73-5E74,U+5E7F,U+5EA6,U+5F00,U+5F0F,U+5F53,U+5F55,U+5FAE,U+5FC3,U+6027,U+606F,U+60A8,U+60C5,U+610F,U+6210-6211,U+6237,U+6240,U+624B,U+6280,U+62A5,U+63A5,U+63A8,U+63D0,U+6536,U+6570,U+6587,U+65B9,U+65E0,U+65F6,U+660E,U+662D,U+662F,U+66F4,U+6700,U+670D,U+672C,U+673A,U+6743,U+6765,U+679C,U+682A,U+6B21,U+6B63,U+6CBB,U+6CD5,U+6CE8,U+6D3B,U+70ED,U+7247-7248,U+7269,U+7279,U+73B0,U+7406,U+751F,U+7528,U+7535,U+767B,U+76F8,U+770B,U+77E5,U+793E,U+79D1,U+7AD9,U+7B49,U+7C7B,U+7CFB,U+7EBF,U+7ECF,U+7F8E,U+8005,U+8054,U+80FD,U+81EA,U+85CF,U+884C,U+8868,U+8981,U+89C6,U+8BBA,U+8BDD,U+8BF4,U+8BF7,U+8D44,U+8FC7,U+8FD8-8FD9,U+8FDB,U+901A,U+9053,U+90E8,U+91D1,U+957F,U+95E8,U+95EE,U+95F4,U+9762,U+9875,U+9898,U+9996,U+9AD8,U+FF01,U+FF08-FF09;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.119.woff2)format("woff2");unicode-range:U+20-22,U+27-2A,U+2C-3B,U+3F,U+41-4D,U+4F-5D,U+61-7B,U+7D,U+AB,U+AE,U+B2,U+B7,U+BB,U+DF-E5,U+E7-EA,U+EC-ED,U+F1-F4,U+F6,U+F9-FA,U+FC,U+101,U+103,U+113,U+12B,U+148,U+14D,U+16B,U+1CE,U+1D0,U+300-301,U+1EBF,U+1EC7,U+2013-2014,U+2022,U+2027,U+2039-203A,U+2122,U+3001-3002,U+3042,U+3044,U+3046,U+3048,U+304A-3055,U+3057,U+3059-305B,U+305D,U+305F-3061,U+3063-306B,U+306D-3073,U+3075-3076,U+3078-3079,U+307B,U+307E-307F,U+3081-308D,U+308F,U+3092-3093,U+30A1-30A4,U+30A6-30BB,U+30BD,U+30BF-30C1,U+30C3-30C4,U+30C6-30CB,U+30CD-30D7,U+30D9-30E1,U+30E3-30E7,U+30E9-30ED,U+30EF,U+30F3,U+30FB-30FC,U+3127,U+4E00,U+4E2D,U+65B0,U+65E5,U+6708-6709,U+70B9,U+7684,U+7F51,U+FF0C,U+FF0E,U+FF1A;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALRKoKIyQ4.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALRIYKIyQ4.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALRIIKIyQ4.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/k3kXo84MPvpLmixcA63oeALRLoKI.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;ascent-override:100%;descent-override:20%;line-gap-override:0%}
diff --git a/luci-app-honk/root/etc/honk/doona/assets/fonts-sc-Dyn9aW84.css b/luci-app-honk/root/etc/honk/doona/assets/fonts-sc-Dyn9aW84.css
new file mode 100644
index 000000000..ce5643ac6
--- /dev/null
+++ b/luci-app-honk/root/etc/honk/doona/assets/fonts-sc-Dyn9aW84.css
@@ -0,0 +1 @@
+@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-4-wght-normal-BRbPMj-C.woff2)format("woff2");unicode-range:U+1F1E9-1F1F5,U+1F1F7-1F1FF,U+1F21A,U+1F232,U+1F234-1F237,U+1F250-1F251,U+1F300,U+1F302-1F308,U+1F30A-1F311,U+1F315,U+1F319-1F320,U+1F324,U+1F327,U+1F32A,U+1F32C-1F32D,U+1F330-1F357,U+1F359-1F37E;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-5-wght-normal-DI846rD9.woff2)format("woff2");unicode-range:U+FEE3,U+FEF3,U+FF03-FF04,U+FF07,U+FF0A,U+FF17-FF19,U+FF1C-FF1D,U+FF20-FF3A,U+FF3C,U+FF3E-FF5B,U+FF5D,U+FF61-FF65,U+FF67-FF6A,U+FF6C,U+FF6F-FF78,U+FF7A-FF7D,U+FF80-FF84,U+FF86,U+FF89-FF8E,U+FF92,U+FF97-FF9B,U+FF9D-FF9F,U+FFE0-FFE4,U+FFE6,U+FFE9,U+FFEB,U+FFED,U+FFFC,U+1F004,U+1F170-1F171,U+1F192-1F195,U+1F198-1F19A,U+1F1E6-1F1E8;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-6-wght-normal-ozUCEY9O.woff2)format("woff2");unicode-range:U+F0A7,U+F0B2,U+F0B7,U+F0C9,U+F0D8,U+F0DA,U+F0DC-F0DD,U+F0E0,U+F0E6,U+F0EB,U+F0FC,U+F101,U+F104-F105,U+F107,U+F10B,U+F11B,U+F14B,U+F18A,U+F193,U+F1D6-F1D7,U+F244,U+F27A,U+F296,U+F2AE,U+F471,U+F4B3,U+F610-F611,U+F880-F881,U+F8EC,U+F8F5,U+F8FF,U+F901,U+F90A,U+F92C-F92D,U+F934,U+F937,U+F941,U+F965,U+F967,U+F969,U+F96B,U+F96F,U+F974,U+F978-F979,U+F97E,U+F981,U+F98A,U+F98E,U+F997,U+F99C,U+F9B2,U+F9B5,U+F9BA,U+F9BE,U+F9CA,U+F9D0-F9D1,U+F9DD,U+F9E0-F9E1,U+F9E4,U+F9F7,U+FA00-FA01,U+FA08,U+FA0A,U+FA11,U+FB01-FB02,U+FDFC,U+FE0E,U+FE30-FE31,U+FE33-FE44,U+FE49-FE52,U+FE54-FE57,U+FE59-FE66,U+FE68-FE6B,U+FE8E,U+FE92-FE93,U+FEAE,U+FEB8,U+FECB-FECC,U+FEE0;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-21-wght-normal-DIu_1ZBI.woff2)format("woff2");unicode-range:U+9F83,U+9F85-9F8D,U+9F90-9F91,U+9F94-9F96,U+9F98,U+9F9B-9F9C,U+9F9E,U+9FA0,U+9FA2,U+9FF?,U+A001,U+A007,U+A025,U+A046-A047,U+A057,U+A072,U+A078-A079,U+A083,U+A085,U+A100,U+A118,U+A132,U+A134,U+A1F4,U+A242,U+A4A6,U+A4AA,U+A4B0-A4B1,U+A4B3,U+A9C1-A9C2,U+AC00-AC01,U+AC04,U+AC08,U+AC10-AC11,U+AC13-AC16,U+AC19,U+AC1C-AC1D,U+AC24,U+AC70-AC71,U+AC74,U+AC77-AC78,U+AC80-AC81,U+AC83,U+AC8C,U+AC90,U+AC9F-ACA0,U+ACA8-ACA9,U+ACAC,U+ACB0,U+ACBD,U+ACC1,U+ACC4,U+ACE0-ACE1,U+ACE4,U+ACE8,U+ACF3,U+ACF5,U+ACFC-ACFD,U+AD00,U+AD0C,U+AD11,U+AD1C,U+AD34,U+AD50,U+AD64,U+AD6C,U+AD70,U+AD74,U+AD7F,U+AD81,U+AD8C,U+ADC0,U+ADC8,U+ADDC,U+ADE0,U+ADF8-ADF9,U+ADFC,U+AE00,U+AE08-AE09,U+AE0B,U+AE30,U+AE34,U+AE38,U+AE40,U+AE4A,U+AE4C,U+AE54,U+AE68,U+AEBC,U+AED8,U+AF2C-AF2D;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-22-wght-normal-VXjdYcT-.woff2)format("woff2");unicode-range:U+9E30-9E33,U+9E35-9E3B,U+9E3E,U+9E40-9E44,U+9E46-9E4E,U+9E51,U+9E53,U+9E55-9E58,U+9E5A-9E5C,U+9E5E-9E63,U+9E66-9E6E,U+9E71,U+9E73,U+9E75,U+9E78-9E79,U+9E7C-9E7E,U+9E82,U+9E86-9E88,U+9E8B-9E8C,U+9E90-9E91,U+9E93,U+9E95,U+9E97,U+9E9D,U+9EA4-9EA5,U+9EA9-9EAA,U+9EB4-9EB5,U+9EB8-9EBA,U+9EBC-9EBF,U+9EC3,U+9EC9,U+9ECD,U+9ED0,U+9ED2-9ED3,U+9ED5-9ED6,U+9ED9,U+9EDC-9EDD,U+9EDF-9EE0,U+9EE2,U+9EE5,U+9EE7-9EEA,U+9EEF,U+9EF1,U+9EF3-9EF4,U+9EF6,U+9EF9,U+9EFB-9EFC,U+9EFE,U+9F0B,U+9F0D,U+9F10,U+9F14,U+9F17,U+9F19,U+9F22,U+9F29,U+9F2C,U+9F2F,U+9F31,U+9F37,U+9F39,U+9F3D-9F3E,U+9F41,U+9F4A-9F4B,U+9F51-9F52,U+9F61-9F63,U+9F66-9F67,U+9F80-9F81;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-23-wght-normal-4HrHKhpL.woff2)format("woff2");unicode-range:U+9C82-9C83,U+9C85-9C8C,U+9C8E-9C92,U+9C94-9C9B,U+9C9E-9CA3,U+9CA5-9CA7,U+9CA9,U+9CAB,U+9CAD-9CAE,U+9CB1-9CB7,U+9CB9-9CBD,U+9CBF-9CC0,U+9CC3,U+9CC5-9CC7,U+9CC9-9CD1,U+9CD3-9CDA,U+9CDC-9CDD,U+9CDF,U+9CE1-9CE3,U+9CE5,U+9CE9,U+9CEE-9CEF,U+9CF3-9CF4,U+9CF6,U+9CFC-9CFD,U+9D02,U+9D08-9D09,U+9D12,U+9D1B,U+9D1E,U+9D26,U+9D28,U+9D37,U+9D3B,U+9D3F,U+9D51,U+9D59,U+9D5C-9D5D,U+9D5F-9D61,U+9D6C,U+9D70,U+9D72,U+9D7A,U+9D7E,U+9D84,U+9D89,U+9D8F,U+9D92,U+9DAF,U+9DB4,U+9DB8,U+9DBC,U+9DC4,U+9DC7,U+9DC9,U+9DD7,U+9DDF,U+9DF2,U+9DF9-9DFA,U+9E0A,U+9E11,U+9E1A,U+9E1E,U+9E20,U+9E22,U+9E28-9E2C,U+9E2E-9E2F;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-24-wght-normal-B58DWgHS.woff2)format("woff2");unicode-range:U+9A80,U+9A83,U+9A85,U+9A88-9A8A,U+9A8D-9A8E,U+9A90,U+9A92-9A93,U+9A95-9A96,U+9A98-9A99,U+9A9B-9AA2,U+9AA5,U+9AA7,U+9AAF-9AB1,U+9AB5-9AB6,U+9AB9-9ABA,U+9AC0-9AC4,U+9AC8,U+9ACB-9ACC,U+9ACE-9ACF,U+9AD1-9AD2,U+9AD9,U+9ADF,U+9AE1,U+9AE3,U+9AEA-9AEB,U+9AED-9AEF,U+9AF4,U+9AF9,U+9AFB,U+9B03-9B04,U+9B06,U+9B08,U+9B0D,U+9B0F-9B10,U+9B13,U+9B18,U+9B1A,U+9B1F,U+9B22-9B23,U+9B25,U+9B27-9B28,U+9B2A,U+9B2F,U+9B31-9B32,U+9B3B,U+9B43,U+9B46-9B49,U+9B4D-9B4E,U+9B51,U+9B56,U+9B58,U+9B5A,U+9B5C,U+9B5F,U+9B61-9B62,U+9B6F,U+9B77,U+9B80,U+9B88,U+9B8B,U+9B8E,U+9B91,U+9B9F-9BA0,U+9BA8,U+9BAA-9BAB,U+9BAD-9BAE,U+9BB0-9BB1,U+9BB8,U+9BC9-9BCA,U+9BD3,U+9BD6,U+9BDB,U+9BE8,U+9BF0-9BF1,U+9C02,U+9C10,U+9C15,U+9C24,U+9C2D,U+9C32,U+9C39,U+9C3B,U+9C40,U+9C47-9C49,U+9C53,U+9C57,U+9C64,U+9C72,U+9C77-9C78,U+9C7B,U+9C7F-9C80;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-25-wght-normal-C3Jm6l7O.woff2)format("woff2");unicode-range:U+98DD,U+98E1-98E2,U+98E7-98EA,U+98EC,U+98EE-98EF,U+98F2,U+98F4,U+98FC-98FE,U+9903,U+9905,U+9908,U+990A,U+990C-990D,U+9913-9914,U+9918,U+991A-991B,U+991E,U+9921,U+9928,U+992C,U+992E,U+9935,U+9938-9939,U+993D-993E,U+9945,U+994B-994C,U+9951-9952,U+9954-9955,U+9957,U+995E,U+9963,U+9966-9969,U+996B-996C,U+996F,U+9974-9975,U+9977-9979,U+997D-997E,U+9980-9981,U+9983-9984,U+9987,U+998A-998B,U+998D-9991,U+9993-9995,U+9997-9998,U+99A5,U+99AB,U+99AD-99AE,U+99B1,U+99B3-99B4,U+99BC,U+99BF,U+99C1,U+99C3-99C6,U+99CC,U+99D0,U+99D2,U+99D5,U+99DB,U+99DD,U+99E1,U+99ED,U+99F1,U+99FF,U+9A01,U+9A03-9A04,U+9A0E-9A0F,U+9A11-9A13,U+9A19,U+9A1B,U+9A28,U+9A2B,U+9A30,U+9A32,U+9A37,U+9A40,U+9A45,U+9A4A,U+9A4D-9A4E,U+9A52,U+9A55,U+9A57,U+9A5A-9A5B,U+9A5F,U+9A62,U+9A65,U+9A69,U+9A6B,U+9A6E,U+9A75,U+9A77-9A7A,U+9A7D;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-26-wght-normal-YNOygvr_.woff2)format("woff2");unicode-range:U+975B-975C,U+9763,U+9765-9766,U+976C-976D,U+9773,U+9776,U+977A,U+977C,U+9784-9785,U+978E-978F,U+9791-9792,U+9794-9795,U+9798,U+979A,U+979E,U+97A3,U+97A5-97A6,U+97A8,U+97AB-97AC,U+97AE-97AF,U+97B2,U+97B4,U+97C6,U+97CB-97CC,U+97D3,U+97D8,U+97DC,U+97E1,U+97EA-97EB,U+97EE,U+97FB,U+97FE-97FF,U+9801-9803,U+9805-9806,U+9808,U+980C,U+9810-9814,U+9817-9818,U+981E,U+9820-9821,U+9824,U+9828,U+982B-982D,U+9830,U+9834,U+9838-9839,U+983C,U+9846,U+984D-984F,U+9851-9852,U+9854-9855,U+9857-9858,U+985A-985B,U+9862-9863,U+9865,U+9867,U+986B,U+986F-9871,U+9877-9878,U+987C,U+9880,U+9883,U+9885,U+9889,U+988B-988F,U+9893-9895,U+9899-989B,U+989E-989F,U+98A1-98A2,U+98A5-98A7,U+98A9,U+98AF,U+98B1,U+98B6,U+98BA,U+98BE,U+98C3-98C4,U+98C6-98C8,U+98CF-98D6,U+98DA-98DB;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-27-wght-normal-BP2pEGQH.woff2)format("woff2");unicode-range:U+95C4-95CA,U+95CC-95CD,U+95D4-95D6,U+95D8,U+95E1-95E2,U+95E9,U+95F0-95F1,U+95F3,U+95F6,U+95FC,U+95FE-95FF,U+9602-9604,U+9606-960D,U+960F,U+9611-9613,U+9615-9617,U+9619-961B,U+961D,U+9621,U+9628,U+962F,U+963C-963E,U+9641-9642,U+9649,U+9654,U+965B-965F,U+9661,U+9663,U+9665,U+9667-9668,U+966C,U+9670,U+9672-9674,U+9678,U+967A,U+967D,U+9682,U+9685,U+9688,U+968A,U+968D-968E,U+9695,U+9697-9698,U+969E,U+96A0,U+96A3-96A4,U+96A8,U+96AA,U+96B0-96B1,U+96B3-96B4,U+96B7-96B9,U+96BB-96BD,U+96C9,U+96CB,U+96CE,U+96D1-96D2,U+96D6,U+96D9,U+96DB-96DC,U+96DE,U+96E0,U+96E3,U+96E9,U+96EB,U+96F0-96F2,U+96F9,U+96FF,U+9701-9702,U+9705,U+9708,U+970A,U+970E-970F,U+9711,U+9719,U+9727,U+972A,U+972D,U+9730,U+973D,U+9742,U+9744,U+9748-9749,U+9750-9751,U+975A;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-28-wght-normal-BWPKDbtH.woff2)format("woff2");unicode-range:U+94F5,U+94F7,U+94F9,U+94FB-94FD,U+94FF,U+9503-9504,U+9506-9507,U+9509-950A,U+950D-950F,U+9511-9518,U+951A-9520,U+9522,U+9528-952D,U+9530-953A,U+953C-953F,U+9543-9546,U+9548-9550,U+9552-9555,U+9557-955B,U+955D-9568,U+956A-956D,U+9570-9574,U+9583,U+9586,U+9589,U+958E-958F,U+9591-9592,U+9594,U+9598-9599,U+959E-95A0,U+95A2-95A6,U+95A8-95B2,U+95B4,U+95B8-95C3;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-29-wght-normal-45aVmHn_.woff2)format("woff2");unicode-range:U+941C-942B,U+942D-942E,U+9432-9433,U+9435,U+9438,U+943A,U+943E,U+9444,U+944A,U+9451-9452,U+945A,U+9462-9463,U+9465,U+9470-9487,U+948A-9492,U+9494-9498,U+949A,U+949C-949D,U+94A1,U+94A3-94A4,U+94A8,U+94AA-94AD,U+94AF,U+94B2,U+94B4-94BA,U+94BC-94C0,U+94C4,U+94C6-94DB,U+94DE-94EC,U+94EE-94F1,U+94F3;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-30-wght-normal-B8_s30jZ.woff2)format("woff2");unicode-range:U+92EC-92ED,U+92F0,U+92F3,U+92F8,U+92FC,U+9304,U+9306,U+9310,U+9312,U+9315,U+9318,U+931A,U+931E,U+9320-9322,U+9324,U+9326-9329,U+932B-932C,U+932F,U+9331-9332,U+9335-9336,U+933E,U+9340-9341,U+934A-9360,U+9362-9363,U+9365-936B,U+936E,U+9375,U+937E,U+9382,U+938A,U+938C,U+938F,U+9393-9394,U+9396-9397,U+939A,U+93A2,U+93A7,U+93AC-93CD,U+93D0-93D1,U+93D6-93D8,U+93DE-93DF,U+93E1-93E2,U+93E4,U+93F8,U+93FB,U+93FD,U+940E-941A;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-31-wght-normal-DW0t445S.woff2)format("woff2");unicode-range:U+9163-9164,U+9169,U+9170,U+9172,U+9174,U+9179-917A,U+917D-917E,U+9182-9183,U+9185,U+918C-918D,U+9190-9191,U+919A,U+919C,U+91A1-91A4,U+91A8,U+91AA-91AF,U+91B4-91B5,U+91B8,U+91BA,U+91BE,U+91C0-91C1,U+91C6,U+91C8,U+91CB,U+91D0,U+91D2,U+91D7-91D8,U+91DD,U+91E3,U+91E6-91E7,U+91ED,U+91F0,U+91F5,U+91F9,U+9200,U+9205,U+9207-920A,U+920D-920E,U+9210,U+9214-9215,U+921C,U+921E,U+9221,U+9223-9227,U+9229-922A,U+922D,U+9234-9235,U+9237,U+9239-923A,U+923C-9240,U+9244-9246,U+9249,U+924E-924F,U+9251,U+9253,U+9257,U+925B,U+925E,U+9262,U+9264-9266,U+9268,U+926C,U+926F,U+9271,U+927B,U+927E,U+9280,U+9283,U+9285-928A,U+928E,U+9291,U+9293,U+9296,U+9298,U+929C-929D,U+92A8,U+92AB-92AE,U+92B3,U+92B6-92B7,U+92B9,U+92C1,U+92C5-92C6,U+92C8,U+92CC,U+92D0,U+92D2,U+92E4,U+92EA;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-32-wght-normal-ShbWPcei.woff2)format("woff2");unicode-range:U+9004,U+900B,U+9011,U+9015-9016,U+901E,U+9021,U+9026,U+902D,U+902F,U+9031,U+9035-9036,U+9039-903A,U+9041,U+9044-9046,U+904A,U+904F-9052,U+9054-9055,U+9058-9059,U+905B-905E,U+9060-9062,U+9068-9069,U+906F,U+9072,U+9074,U+9076-907A,U+907C-907D,U+9081,U+9083,U+9085,U+9087-908B,U+908F,U+9095,U+9097,U+9099-909B,U+909D,U+90A0-90A1,U+90A8-90A9,U+90AC,U+90B0,U+90B2-90B4,U+90B6,U+90B8,U+90BA,U+90BD-90BE,U+90C3-90C5,U+90C7-90C8,U+90CF-90D0,U+90D3,U+90D5,U+90D7,U+90DA-90DC,U+90DE,U+90E2,U+90E4,U+90E6-90E7,U+90EA-90EB,U+90EF,U+90F4-90F5,U+90F7,U+90FE-9100,U+9104,U+9109,U+910C,U+9112,U+9114-9115,U+9118,U+911C,U+911E,U+9120,U+9122-9123,U+9127,U+912D,U+912F-9132,U+9139-913A,U+9143,U+9146,U+9149-914A,U+914C,U+914E-9150,U+9154,U+9157,U+915A,U+915D-915E,U+9161-9162;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-33-wght-normal-BOTZYTjM.woff2)format("woff2");unicode-range:U+8E41-8E42,U+8E47,U+8E49-8E4B,U+8E50-8E53,U+8E59-8E5A,U+8E5F-8E60,U+8E64,U+8E69,U+8E6C,U+8E70,U+8E74,U+8E76,U+8E7A-8E7C,U+8E7F,U+8E84-8E85,U+8E87,U+8E89,U+8E8B,U+8E8D,U+8E8F-8E90,U+8E94,U+8E99,U+8E9C,U+8E9E,U+8EAA,U+8EAC,U+8EB0,U+8EB6,U+8EC0,U+8EC6,U+8ECA-8ECE,U+8ED2,U+8EDA,U+8EDF,U+8EE2,U+8EEB,U+8EF8,U+8EFB-8EFE,U+8F03,U+8F09,U+8F0B,U+8F12-8F15,U+8F1B,U+8F1D,U+8F1F,U+8F29-8F2A,U+8F2F,U+8F36,U+8F38,U+8F3B,U+8F3E-8F3F,U+8F44-8F45,U+8F49,U+8F4D-8F4E,U+8F5F,U+8F6B,U+8F6D,U+8F71-8F73,U+8F75-8F76,U+8F78-8F7A,U+8F7C,U+8F7E,U+8F81-8F82,U+8F84,U+8F87,U+8F8A-8F8B,U+8F8D-8F8F,U+8F94-8F95,U+8F97-8F9A,U+8FA6,U+8FAD-8FAF,U+8FB2,U+8FB5-8FB7,U+8FBA-8FBC,U+8FBF,U+8FC2,U+8FCB,U+8FCD,U+8FD3,U+8FD5,U+8FD7,U+8FDA,U+8FE2-8FE5,U+8FE8-8FE9,U+8FEE,U+8FF3-8FF4,U+8FF8,U+8FFA;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-34-wght-normal-BF1rqDSt.woff2)format("woff2");unicode-range:U+8CBD,U+8CBF-8CC4,U+8CC7-8CC8,U+8CCA,U+8CCD,U+8CD1,U+8CD3,U+8CDB-8CDC,U+8CDE,U+8CE0,U+8CE2-8CE4,U+8CE6-8CE8,U+8CEA,U+8CED,U+8CF4,U+8CF8,U+8CFA,U+8CFC-8CFD,U+8D04-8D05,U+8D07-8D08,U+8D0A,U+8D0D,U+8D0F,U+8D13-8D14,U+8D16,U+8D1B,U+8D20,U+8D30,U+8D32-8D33,U+8D36,U+8D3B,U+8D3D,U+8D40,U+8D42-8D43,U+8D45-8D46,U+8D48-8D4A,U+8D4D,U+8D51,U+8D53,U+8D55,U+8D59,U+8D5C-8D5D,U+8D5F,U+8D61,U+8D66-8D67,U+8D6A,U+8D6D,U+8D71,U+8D73,U+8D84,U+8D90-8D91,U+8D94-8D95,U+8D99,U+8DA8,U+8DAF,U+8DB1,U+8DB5,U+8DB8,U+8DBA,U+8DBC,U+8DBF,U+8DC2,U+8DC4,U+8DC6,U+8DCB,U+8DCE-8DCF,U+8DD6-8DD7,U+8DDA-8DDB,U+8DDE,U+8DE1,U+8DE3-8DE4,U+8DE9,U+8DEB-8DEC,U+8DF0-8DF1,U+8DF6-8DFD,U+8E05,U+8E07,U+8E09-8E0A,U+8E0C,U+8E0E,U+8E10,U+8E14,U+8E1D-8E1F,U+8E23,U+8E26,U+8E2B-8E31,U+8E34-8E35,U+8E39-8E3A,U+8E3D,U+8E40;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-35-wght-normal-Bosspiyr.woff2)format("woff2");unicode-range:U+8B80,U+8B83,U+8B8A,U+8B8C,U+8B90,U+8B93,U+8B99-8B9A,U+8BA0,U+8BA3,U+8BA5-8BA7,U+8BAA-8BAC,U+8BB4-8BB5,U+8BB7,U+8BB9,U+8BC2-8BC3,U+8BC5,U+8BCB-8BCC,U+8BCE-8BD0,U+8BD2-8BD4,U+8BD6,U+8BD8-8BD9,U+8BDC,U+8BDF,U+8BE3-8BE4,U+8BE7-8BE9,U+8BEB-8BEC,U+8BEE,U+8BF0,U+8BF2-8BF3,U+8BF6,U+8BF9,U+8BFC-8BFD,U+8BFF-8C00,U+8C02,U+8C04,U+8C06-8C07,U+8C0C,U+8C0F,U+8C11-8C12,U+8C14-8C1B,U+8C1D-8C21,U+8C24-8C25,U+8C27,U+8C2A-8C2C,U+8C2E-8C30,U+8C32-8C36,U+8C3F,U+8C47-8C4C,U+8C4E-8C50,U+8C54-8C56,U+8C62,U+8C68,U+8C6C,U+8C73,U+8C78,U+8C7A,U+8C82,U+8C85,U+8C89-8C8A,U+8C8D-8C8E,U+8C90,U+8C93-8C94,U+8C98,U+8C9D-8C9E,U+8CA0-8CA2,U+8CA7-8CAC,U+8CAF-8CB0,U+8CB3-8CB4,U+8CB6-8CB9,U+8CBB-8CBC;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-36-wght-normal-CtU9CyKw.woff2)format("woff2");unicode-range:U+8A15-8A18,U+8A1A-8A1B,U+8A1D,U+8A1F,U+8A22-8A23,U+8A25,U+8A2B,U+8A2D,U+8A31,U+8A33-8A34,U+8A36-8A38,U+8A3A,U+8A3C,U+8A3E,U+8A40-8A41,U+8A46,U+8A48,U+8A50,U+8A52,U+8A54-8A55,U+8A58,U+8A5B,U+8A5D-8A63,U+8A66,U+8A69-8A6B,U+8A6D-8A6E,U+8A70,U+8A72-8A73,U+8A7A,U+8A85,U+8A87,U+8A8A,U+8A8C-8A8D,U+8A90-8A92,U+8A95,U+8A98,U+8AA0-8AA1,U+8AA3-8AA6,U+8AA8-8AA9,U+8AAC-8AAE,U+8AB0,U+8AB2,U+8AB8-8AB9,U+8ABC,U+8ABE-8ABF,U+8AC7,U+8ACF,U+8AD2,U+8AD6-8AD7,U+8ADB-8ADC,U+8ADF,U+8AE1,U+8AE6-8AE8,U+8AEB,U+8AED-8AEE,U+8AF1,U+8AF3-8AF4,U+8AF7-8AF8,U+8AFA,U+8AFE,U+8B00-8B02,U+8B07,U+8B0A,U+8B0C,U+8B0E,U+8B10,U+8B17,U+8B19,U+8B1B,U+8B1D,U+8B20-8B21,U+8B26,U+8B28,U+8B2C,U+8B33,U+8B39,U+8B3E-8B3F,U+8B41,U+8B45,U+8B49,U+8B4C,U+8B4F,U+8B57-8B58,U+8B5A,U+8B5C,U+8B5E,U+8B60,U+8B6C,U+8B6F-8B70,U+8B72,U+8B74,U+8B77,U+8B7D;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-37-wght-normal-ghDiyiuv.woff2)format("woff2");unicode-range:U+8882,U+8884-8886,U+8888,U+888F,U+8892-8893,U+889B,U+88A2,U+88A4,U+88A6,U+88A8,U+88AA,U+88AE,U+88B1,U+88B4,U+88B7,U+88BC,U+88C0,U+88C6-88C9,U+88CE-88CF,U+88D1-88D3,U+88D8,U+88DB-88DD,U+88DF,U+88E1-88E3,U+88E5,U+88E8,U+88EC,U+88F0-88F1,U+88F3-88F4,U+88FC-88FE,U+8900,U+8902,U+8906-8907,U+8909-890C,U+8912-8915,U+8918-891B,U+8921,U+8925,U+892B,U+8930,U+8932,U+8934,U+8936,U+893B,U+893D,U+8941,U+894C,U+8955-8956,U+8959,U+895C,U+895E-8960,U+8966,U+896A,U+896C,U+896F-8970,U+8972,U+897B,U+897E,U+8980,U+8983,U+8985,U+8987-8988,U+898C,U+898F,U+8993,U+8997,U+899A,U+89A1,U+89A7,U+89A9-89AA,U+89B2-89B3,U+89B7,U+89C0,U+89C7,U+89CA-89CC,U+89CE-89D1,U+89D6,U+89DA,U+89DC,U+89DE,U+89E5,U+89E7,U+89EB,U+89EF,U+89F1,U+89F3-89F4,U+89F8,U+89FF,U+8A01-8A03,U+8A07-8A0A,U+8A0E-8A0F,U+8A13;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-38-wght-normal-4Nz8k_dt.woff2)format("woff2");unicode-range:U+86F4,U+86F8-86F9,U+86FB,U+86FE,U+8703,U+8706-870A,U+870D,U+8711-8713,U+871A,U+871E,U+8722-8723,U+8725,U+8729,U+872E,U+8731,U+8734,U+8737,U+873A-873B,U+873E-8740,U+8742,U+8747-8748,U+8753,U+8755,U+8757-8758,U+875D,U+875F,U+8762-8766,U+8768,U+876E,U+8770,U+8772,U+8775,U+8778,U+877B-877E,U+8782,U+8785,U+8788,U+878B,U+8793,U+8797,U+879A,U+879E-87A0,U+87A2-87A3,U+87A8,U+87AB-87AD,U+87AF,U+87B3,U+87B5,U+87BD,U+87C0,U+87C4,U+87C6,U+87CA-87CB,U+87D1-87D2,U+87DB-87DC,U+87DE,U+87E0,U+87E5,U+87EA,U+87EC,U+87EE,U+87F2-87F3,U+87FB,U+87FD-87FE,U+8802-8803,U+8805,U+880A-880B,U+880D,U+8813-8816,U+8819,U+881B,U+881F,U+8821,U+8823,U+8831-8832,U+8835-8836,U+8839,U+883B-883C,U+8844,U+8846,U+884A,U+884E,U+8852-8853,U+8855,U+8859,U+885B,U+885D-885E,U+8862,U+8864,U+8869-886A,U+886E-886F,U+8872,U+8879,U+887D-887F;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-39-wght-normal-Ddtm1XVC.woff2)format("woff2");unicode-range:U+8548,U+854E,U+8553,U+8556-8557,U+8559,U+855E,U+8561,U+8564-8565,U+8568-856A,U+856D,U+856F-8570,U+8572,U+8576,U+8579-857B,U+8580,U+8585-8586,U+8588,U+858A,U+858F,U+8591,U+8594,U+8599,U+859C,U+85A2,U+85A4,U+85A6,U+85A8-85A9,U+85AB-85AC,U+85AE,U+85B7-85B9,U+85BE,U+85C1,U+85C7,U+85CD,U+85D0,U+85D3,U+85D5,U+85DC-85DD,U+85DF-85E0,U+85E5-85E6,U+85E8-85EA,U+85F4,U+85F9,U+85FE-85FF,U+8602,U+8605-8607,U+860A-860B,U+8616,U+8618,U+861A,U+8627,U+8629,U+862D,U+8638,U+863C,U+863F,U+864D,U+864F,U+8652-8655,U+865B-865C,U+865F,U+8662,U+8667,U+866C,U+866E,U+8671,U+8675,U+867A-867C,U+867F,U+868B,U+868D,U+8693,U+869C-869D,U+86A1,U+86A3-86A4,U+86A7-86A9,U+86AC,U+86AF-86B1,U+86B4-86B6,U+86BA,U+86C0,U+86C4,U+86C6,U+86C9-86CA,U+86CD-86D1,U+86D4,U+86D8,U+86DE-86DF,U+86E4,U+86E6,U+86E9,U+86ED,U+86EF-86F3;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-40-wght-normal-BVn4-kgX.woff2)format("woff2");unicode-range:U+83C5,U+83C8-83C9,U+83CB,U+83D1,U+83D3-83D6,U+83D8,U+83DB,U+83DD,U+83DF,U+83E1,U+83E5,U+83EA-83EB,U+83F0,U+83F4,U+83F8-83F9,U+83FB,U+83FD,U+83FF,U+8401,U+8406,U+840A-840B,U+840F,U+8411,U+8418,U+841C,U+8420,U+8422-8424,U+8426,U+8429,U+842C,U+8438-8439,U+843B-843C,U+843F,U+8446-8447,U+8449,U+844E,U+8451-8452,U+8456,U+8459-845A,U+845C,U+8462,U+8466,U+846D,U+846F-8470,U+8473,U+8476-8478,U+847A,U+847D,U+8484-8485,U+8487,U+8489,U+848C,U+848E,U+8490,U+8493-8494,U+8497,U+849B,U+849E-849F,U+84A1,U+84A5,U+84A8,U+84AF,U+84B4,U+84B9-84BF,U+84C1-84C2,U+84C5-84C7,U+84CA-84CB,U+84CD,U+84D0-84D1,U+84D3,U+84D6,U+84DF-84E0,U+84E2-84E3,U+84E5-84E7,U+84EE,U+84F3,U+84F6,U+84FA,U+84FC,U+84FF-8500,U+850C,U+8511,U+8514-8515,U+8517-8518,U+851F,U+8523,U+8525-8526,U+8529,U+852B,U+852D,U+8532,U+8534-8535,U+8538-853A,U+853C,U+8543,U+8545;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-41-wght-normal-CZqajZnl.woff2)format("woff2");unicode-range:U+82BC,U+82BE,U+82C0-82C2,U+82C4-82C8,U+82CA-82CC,U+82CE,U+82D0,U+82D2-82D3,U+82D5-82D6,U+82D8-82D9,U+82DC-82DE,U+82E0-82E4,U+82E7,U+82E9-82EB,U+82ED-82EE,U+82F3-82F4,U+82F7-82F8,U+82FA-8301,U+8306-8308,U+830C-830D,U+830F,U+8311,U+8313-8315,U+8318,U+831A-831B,U+831D,U+8324,U+8327,U+832A,U+832C-832D,U+832F,U+8331-8334,U+833A-833C,U+8340,U+8343-8345,U+8347-8348,U+834A,U+834C,U+834F,U+8351,U+8356,U+8358-835C,U+835E,U+8360,U+8364-8366,U+8368-836A,U+836C-836E,U+8373,U+8378,U+837B-837D,U+837F-8380,U+8382,U+8388,U+838A-838B,U+8392,U+8394,U+8396,U+8398-8399,U+839B-839C,U+83A0,U+83A2-83A3,U+83A8-83AA,U+83AE-83B0,U+83B3-83B4,U+83B6,U+83B8,U+83BA,U+83BC-83BD,U+83BF-83C0,U+83C2;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-42-wght-normal-CQ4lY28u.woff2)format("woff2");unicode-range:U+8166-8169,U+816B,U+816D,U+8171,U+8173-8174,U+8178,U+817C-817D,U+8182,U+8188,U+8191,U+8198-819B,U+81A0,U+81A3,U+81A5-81A6,U+81A9,U+81B6,U+81BA-81BB,U+81BD,U+81BF,U+81C1,U+81C3,U+81C6,U+81C9-81CA,U+81CC-81CD,U+81D1,U+81D3-81D4,U+81D8,U+81DB-81DC,U+81DE-81DF,U+81E5,U+81E7-81E9,U+81EB-81EC,U+81EE-81EF,U+81F5,U+81F8,U+81FA,U+81FC,U+81FE,U+8200-8202,U+8204,U+8208-820A,U+820E-8210,U+8216-8218,U+821B-821C,U+8221-8224,U+8226-8228,U+822B,U+822D,U+822F,U+8232-8234,U+8237-8238,U+823A-823B,U+823E,U+8244,U+8249,U+824B,U+824F,U+8259-825A,U+825F,U+8266,U+8268,U+826E,U+8271,U+8276-8279,U+827D,U+827F,U+8283-8284,U+8288-828A,U+828D-8291,U+8293-8294,U+8296-8298,U+829F-82A1,U+82A3-82A4,U+82A7-82AB,U+82AE,U+82B0,U+82B2,U+82B4-82B6;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-43-wght-normal-psppu0d8.woff2)format("woff2");unicode-range:U+8016,U+8018-8019,U+801C,U+801E,U+8026-802A,U+8031,U+8034-8035,U+8037,U+8043,U+804B,U+804D,U+8052,U+8056,U+8059,U+805E,U+8061,U+8068-8069,U+806E-8074,U+8076-8078,U+807C-8080,U+8082,U+8084-8085,U+8088,U+808F,U+8093,U+809C,U+809F,U+80AB,U+80AD-80AE,U+80B1,U+80B6-80B8,U+80BC-80BD,U+80C2,U+80C4,U+80CA,U+80CD,U+80D1,U+80D4,U+80D7,U+80D9-80DB,U+80DD,U+80E0,U+80E4-80E5,U+80E7-80ED,U+80EF-80F1,U+80F3-80F4,U+80FC,U+8101,U+8104-8105,U+8107-8108,U+810C-810E,U+8112-8115,U+8117-8119,U+811B-811F,U+8121-8130,U+8132-8134,U+8137,U+8139,U+813F-8140,U+8142,U+8146,U+8148,U+814D-814E,U+8151,U+8153,U+8158-815A,U+815E,U+8160;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-44-wght-normal-cbKJlTUe.woff2)format("woff2");unicode-range:U+7EF0-7EF2,U+7EF6,U+7EFA-7EFB,U+7EFE,U+7F01-7F04,U+7F08,U+7F0A-7F12,U+7F17,U+7F19,U+7F1B-7F1C,U+7F1F,U+7F21-7F23,U+7F25-7F28,U+7F2A-7F33,U+7F35-7F37,U+7F3D,U+7F42,U+7F44-7F45,U+7F4C-7F4D,U+7F52,U+7F54,U+7F58-7F59,U+7F5D,U+7F5F-7F61,U+7F63,U+7F65,U+7F68,U+7F70-7F71,U+7F73-7F75,U+7F77,U+7F79,U+7F7D-7F7E,U+7F85-7F86,U+7F88-7F89,U+7F8B-7F8C,U+7F90-7F91,U+7F94-7F96,U+7F98-7F9B,U+7F9D,U+7F9F,U+7FA3,U+7FA7-7FA9,U+7FAC-7FB2,U+7FB4,U+7FB6,U+7FB8,U+7FBC,U+7FBF-7FC0,U+7FC3,U+7FCA,U+7FCC,U+7FCE,U+7FD2,U+7FD5,U+7FD9-7FDB,U+7FDF,U+7FE3,U+7FE5-7FE7,U+7FE9,U+7FEB-7FEC,U+7FEE-7FEF,U+7FF1,U+7FF3-7FF4,U+7FF9-7FFA,U+7FFE,U+8004,U+8006,U+800B,U+800E,U+8011-8012,U+8014;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-45-wght-normal-MKIEVRIC.woff2)format("woff2");unicode-range:U+7DD2,U+7DD4,U+7DD6-7DD8,U+7DDA-7DE0,U+7DE2-7DE6,U+7DE8-7DED,U+7DEF,U+7DF1-7DF5,U+7DF7,U+7DF9,U+7DFB-7DFC,U+7DFE-7E02,U+7E04,U+7E08-7E0B,U+7E12,U+7E1B,U+7E1E,U+7E20,U+7E22-7E23,U+7E26,U+7E29,U+7E2B,U+7E2E-7E2F,U+7E31,U+7E37,U+7E39-7E3E,U+7E40,U+7E43-7E44,U+7E46-7E47,U+7E4A-7E4B,U+7E4D-7E4E,U+7E51,U+7E54-7E56,U+7E58-7E5B,U+7E5D-7E5E,U+7E61,U+7E66-7E67,U+7E69-7E6B,U+7E6D,U+7E70,U+7E73,U+7E77,U+7E79,U+7E7B-7E7D,U+7E81-7E82,U+7E8C-7E8D,U+7E8F,U+7E92-7E94,U+7E96,U+7E98,U+7E9A-7E9C,U+7E9E-7E9F,U+7EA1,U+7EA3,U+7EA5,U+7EA8-7EA9,U+7EAB,U+7EAD-7EAE,U+7EB0,U+7EBB,U+7EBE,U+7EC0-7EC2,U+7EC9,U+7ECB-7ECC,U+7ED0,U+7ED4,U+7ED7,U+7EDB,U+7EE0-7EE2,U+7EE5-7EE6,U+7EE8,U+7EEB;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-46-wght-normal-CErGc6Mt.woff2)format("woff2");unicode-range:U+7CE8,U+7CEC,U+7CF0,U+7CF5-7CF9,U+7CFC,U+7CFE,U+7D00,U+7D04-7D0B,U+7D0D,U+7D10-7D14,U+7D17-7D19,U+7D1B-7D1F,U+7D21,U+7D24-7D26,U+7D28-7D2A,U+7D2C-7D2E,U+7D30-7D31,U+7D33,U+7D35-7D36,U+7D38-7D3A,U+7D40,U+7D42-7D44,U+7D46,U+7D4B-7D4C,U+7D4F,U+7D51,U+7D54-7D56,U+7D58,U+7D5B-7D5C,U+7D5E,U+7D61-7D63,U+7D66,U+7D68,U+7D6A-7D6C,U+7D6F,U+7D71-7D73,U+7D75-7D77,U+7D79-7D7A,U+7D7E,U+7D81,U+7D84-7D8B,U+7D8D,U+7D8F,U+7D91,U+7D94,U+7D96,U+7D98-7D9A,U+7D9C-7DA0,U+7DA2,U+7DA6,U+7DAA-7DB1,U+7DB4-7DB8,U+7DBA-7DBF,U+7DC1,U+7DC4,U+7DC7-7DC8,U+7DCA-7DCD,U+7DCF,U+7DD1;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-47-wght-normal-C5Kgg1_m.woff2)format("woff2");unicode-range:U+7BD3-7BD4,U+7BD9-7BDA,U+7BDD,U+7BE0-7BE1,U+7BE4-7BE6,U+7BE9-7BEA,U+7BEF,U+7BF4,U+7BF6,U+7BFC,U+7BFE,U+7C01,U+7C03,U+7C07-7C08,U+7C0A-7C0D,U+7C0F,U+7C11,U+7C15-7C16,U+7C19,U+7C1E-7C21,U+7C23-7C24,U+7C26,U+7C28-7C33,U+7C35,U+7C37-7C3B,U+7C3D-7C3E,U+7C40-7C41,U+7C43,U+7C47-7C48,U+7C4C,U+7C50,U+7C53-7C54,U+7C59,U+7C5F-7C60,U+7C63-7C65,U+7C6C,U+7C6E,U+7C72,U+7C74,U+7C79-7C7A,U+7C7C,U+7C81-7C82,U+7C84-7C85,U+7C88,U+7C8A-7C91,U+7C93-7C96,U+7C99,U+7C9B-7C9E,U+7CA0-7CA2,U+7CA6-7CA9,U+7CAC,U+7CAF-7CB3,U+7CB5-7CB7,U+7CBA-7CBD,U+7CBF-7CC2,U+7CC5,U+7CC7-7CC9,U+7CCC-7CCD,U+7CD7,U+7CDC,U+7CDE,U+7CE0,U+7CE4-7CE5,U+7CE7;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-48-wght-normal-DFMjDDY6.woff2)format("woff2");unicode-range:U+7AE6,U+7AF4-7AF7,U+7AFA-7AFB,U+7AFD-7B0A,U+7B0C,U+7B0E-7B0F,U+7B13,U+7B15-7B16,U+7B18-7B19,U+7B1E-7B20,U+7B22-7B25,U+7B29-7B2B,U+7B2D-7B2E,U+7B30-7B3B,U+7B3E-7B3F,U+7B41-7B42,U+7B44-7B47,U+7B4A,U+7B4C-7B50,U+7B58,U+7B5A,U+7B5C,U+7B60,U+7B66-7B67,U+7B69,U+7B6C-7B6F,U+7B72-7B76,U+7B7B-7B7D,U+7B7F,U+7B82,U+7B85,U+7B87,U+7B8B-7B96,U+7B98-7B99,U+7B9B-7B9F,U+7BA2-7BA4,U+7BA6-7BAC,U+7BAE-7BB0,U+7BB4,U+7BB7-7BB9,U+7BBB,U+7BC0-7BC1,U+7BC3-7BC4,U+7BC6,U+7BC8-7BCC,U+7BD1;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-49-wght-normal-B7l_3BZr.woff2)format("woff2");unicode-range:U+798B-798E,U+7992,U+7994-7995,U+7997-7998,U+799A-799C,U+799F,U+79A3-79A6,U+79A8-79AC,U+79AE-79B1,U+79B3-79B5,U+79B8,U+79BA,U+79BF,U+79C2,U+79C6,U+79C8,U+79CF,U+79D5-79D6,U+79DD-79DE,U+79E3,U+79E7-79E8,U+79EB,U+79ED,U+79F4,U+79F7-79F8,U+79FA,U+79FE,U+7A02-7A03,U+7A05,U+7A0A,U+7A14,U+7A17,U+7A19,U+7A1C,U+7A1E-7A1F,U+7A23,U+7A25-7A26,U+7A2C,U+7A2E,U+7A30-7A32,U+7A36-7A37,U+7A39,U+7A3C,U+7A40,U+7A42,U+7A47,U+7A49,U+7A4C-7A4F,U+7A51,U+7A55,U+7A5B,U+7A5D-7A5E,U+7A62-7A63,U+7A66,U+7A68-7A69,U+7A6B,U+7A70,U+7A78,U+7A80,U+7A85-7A88,U+7A8A,U+7A90,U+7A93-7A96,U+7A98,U+7A9B-7A9C,U+7A9E,U+7AA0-7AA1,U+7AA3,U+7AA8-7AAA,U+7AAC-7AB0,U+7AB3,U+7AB8,U+7ABA,U+7ABD-7ABF,U+7AC4-7AC5,U+7AC7-7AC8,U+7ACA,U+7AD1-7AD2,U+7ADA-7ADD,U+7AE1,U+7AE4;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-50-wght-normal-C5KfAmFp.woff2)format("woff2");unicode-range:U+784C,U+784E-7854,U+7856-7857,U+7859-785A,U+7865,U+7869-786A,U+786D,U+786F,U+7876-7877,U+787C,U+787E-787F,U+7881,U+7887-7889,U+7893-7894,U+7898-789E,U+78A1,U+78A3,U+78A5,U+78A9,U+78AD,U+78B2,U+78B4,U+78B6,U+78B9-78BA,U+78BC,U+78BF,U+78C3,U+78C9,U+78CB,U+78D0-78D2,U+78D4,U+78D9-78DA,U+78DC,U+78DE,U+78E1,U+78E5-78E6,U+78EA,U+78EC,U+78EF,U+78F1-78F2,U+78F4,U+78FA-78FB,U+78FE,U+7901-7902,U+7905,U+7907,U+7909,U+790B-790C,U+790E,U+7910,U+7913,U+7919-791B,U+791E-791F,U+7921,U+7924,U+7926,U+792A-792B,U+7934,U+7936,U+7939,U+793B,U+793D,U+7940,U+7942-7943,U+7945-7947,U+7949-794A,U+794C,U+794E-7951,U+7953-7955,U+7957-795A,U+795C,U+795F-7960,U+7962,U+7964,U+7966-7967,U+7969,U+796B,U+796F,U+7972,U+7974,U+7979,U+797B-797C,U+797E-7980,U+7982,U+7986-7987,U+7989-798A;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-51-wght-normal-C2bq6hC8.woff2)format("woff2");unicode-range:U+7722,U+7726,U+7728,U+772B-7730,U+7732-7736,U+7739-773A,U+773D-773F,U+7743,U+7746-7747,U+774C-774F,U+7751-7752,U+7758-775A,U+775C-775E,U+7762,U+7765-7766,U+7768-776A,U+776C-776D,U+7771-7772,U+777A,U+777C-777E,U+7780,U+7785,U+7787,U+778B-778D,U+778F-7791,U+7793,U+779E-77A0,U+77A2,U+77A5,U+77AD,U+77AF,U+77B4-77B7,U+77BD-77C0,U+77C2,U+77C5,U+77C7,U+77CD,U+77D6-77D7,U+77D9-77DA,U+77DD-77DE,U+77E7,U+77EA,U+77EC,U+77EF,U+77F8,U+77FB,U+77FD-77FE,U+7800,U+7803,U+7806,U+7809,U+780F-7812,U+7815,U+7817-7818,U+781A-781F,U+7821-7823,U+7825-7827,U+7829,U+782B-7830,U+7832-7833,U+7835,U+7837,U+7839-783C,U+783E,U+7841-7844,U+7847-7849,U+784B;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-52-wght-normal-P18e_Y0j.woff2)format("woff2");unicode-range:U+7613-7619,U+761B-761D,U+761F-7622,U+7625,U+7627-762A,U+762E-7630,U+7632-7635,U+7638-763A,U+763C-763D,U+763F-7640,U+7642-7643,U+7647-7648,U+764D-764E,U+7652,U+7654,U+7658,U+765A,U+765C,U+765E-765F,U+7661-7663,U+7665,U+7669,U+766C,U+766E-766F,U+7671-7673,U+7675-7676,U+7678-767A,U+767F,U+7681,U+7683,U+7688,U+768A-768C,U+768E,U+7690-7692,U+7695,U+7698,U+769A-769B,U+769D-76A0,U+76A2,U+76A4-76A7,U+76AB-76AC,U+76AF-76B0,U+76B2,U+76B4-76B5,U+76BA-76BB,U+76BF,U+76C2-76C3,U+76C5,U+76C9,U+76CC-76CE,U+76DC-76DE,U+76E1-76EA,U+76F1,U+76F9-76FB,U+76FD,U+76FF-7700,U+7703-7704,U+7707-7708,U+770C-770F,U+7712,U+7714,U+7716,U+7719-771B,U+771E,U+7721;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-53-wght-normal-Bgkuo2tF.woff2)format("woff2");unicode-range:U+750D,U+750F,U+7511,U+7513,U+7515,U+7517,U+7519,U+7521-7527,U+752A,U+752C-752D,U+752F,U+7534,U+7536,U+753A,U+753E,U+7540,U+7544,U+7547-754B,U+754D-754E,U+7550-7553,U+7556-7557,U+755A-755B,U+755D-755E,U+7560,U+7562,U+7564,U+7566-7568,U+756B-756C,U+756F-7573,U+7575,U+7579-757C,U+757E-757F,U+7581-7584,U+7587,U+7589-758E,U+7590,U+7592,U+7594,U+7596,U+7599-759A,U+759D,U+759F-75A0,U+75A3,U+75A5,U+75A8,U+75AC-75AD,U+75B0-75B1,U+75B3-75B5,U+75B8,U+75BD,U+75C1-75C4,U+75C8-75CA,U+75CC-75CD,U+75D4,U+75D6,U+75D9,U+75DE,U+75E0,U+75E2-75E4,U+75E6-75EA,U+75F1-75F3,U+75F7,U+75F9-75FA,U+75FC,U+75FE-7601,U+7603,U+7605-7606,U+7608-760E,U+7610-7612;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-54-wght-normal-DL5lmlUd.woff2)format("woff2");unicode-range:U+73F0,U+73F2,U+73F4-73F5,U+73F7,U+73F9-73FA,U+73FC-73FD,U+73FF-7402,U+7404,U+7407-7408,U+740A-740F,U+7418,U+741A-741C,U+741E,U+7424-7425,U+7428-7429,U+742C-7430,U+7432,U+7435-7436,U+7438-743B,U+743E-7441,U+7443-7446,U+7448,U+744A-744B,U+7452,U+7457,U+745B,U+745D,U+7460,U+7462-7465,U+7467-746A,U+746D,U+746F,U+7471,U+7473-7474,U+7477,U+747A,U+747E,U+7481-7482,U+7484,U+7486,U+7488-748B,U+748E-748F,U+7493,U+7498,U+749A,U+749C-74A0,U+74A3,U+74A6,U+74A9-74AA,U+74AE,U+74B0-74B2,U+74B6,U+74B8-74BA,U+74BD,U+74BF,U+74C1,U+74C3,U+74C5,U+74C8,U+74CA,U+74CC,U+74CF,U+74D1-74D2,U+74D4-74D5,U+74D8-74DB,U+74DE-74E0,U+74E2,U+74E4-74E5,U+74E7-74E9,U+74EE-74EF,U+74F4,U+74FF,U+7501,U+7503,U+7505,U+7508;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-55-wght-normal-BV_Oy6IF.woff2)format("woff2");unicode-range:U+72E6,U+72E8,U+72EF-72F0,U+72F2-72F4,U+72F6-72F7,U+72F9-72FB,U+72FD,U+7300-7304,U+7307,U+730A-730C,U+7313-7317,U+731D-7322,U+7327,U+7329,U+732C-732D,U+7330-7331,U+7333,U+7335-7337,U+7339,U+733D-733E,U+7340,U+7342,U+7344-7345,U+734A,U+734D-7350,U+7352,U+7355,U+7357,U+7359,U+735F-7360,U+7362-7363,U+7365,U+7368,U+736C-736D,U+736F-7370,U+7372,U+7374-7376,U+7378,U+737A-737B,U+737D-737E,U+7382-7383,U+7386,U+7388,U+738A,U+738C-7393,U+7395,U+7397-739A,U+739C,U+739E,U+73A0-73A3,U+73A5-73A8,U+73AA,U+73AD,U+73B1,U+73B3,U+73B6-73B7,U+73B9,U+73C2,U+73C5-73C9,U+73CC,U+73CE-73D0,U+73D2,U+73D6,U+73D9,U+73DB-73DE,U+73E3,U+73E5-73EA,U+73EE-73EF;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-56-wght-normal-B4L7Hj8f.woff2)format("woff2");unicode-range:U+71A8,U+71AF,U+71B1-71BC,U+71BE,U+71C1-71C2,U+71C4,U+71C8-71CB,U+71CE-71D0,U+71D2,U+71D4,U+71D9-71DA,U+71DC,U+71DF-71E0,U+71E6-71E8,U+71EA,U+71ED-71EE,U+71F4,U+71F6,U+71F9,U+71FB-71FC,U+71FF-7200,U+7207,U+720C-720D,U+7210,U+7216,U+721A-721E,U+7223,U+7228,U+722B,U+722D-722E,U+7230,U+7232,U+723A-723C,U+723E-7242,U+7246,U+724B,U+724D-724E,U+7252,U+7256,U+7258,U+725A,U+725C-725D,U+7260,U+7264-7266,U+726A,U+726C,U+726E-726F,U+7271,U+7273-7274,U+7278,U+727B,U+727D-727E,U+7281-7282,U+7284,U+7287,U+728A,U+728D,U+728F,U+7292,U+729B,U+729F-72A0,U+72A7,U+72AD-72AE,U+72B0-72B5,U+72B7-72B8,U+72BA-72BE,U+72C0-72C1,U+72C3,U+72C5-72C6,U+72C8,U+72CC-72CE,U+72D2,U+72D6,U+72DB,U+72DD-72DF,U+72E1,U+72E5;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-57-wght-normal-DU8YBsDj.woff2)format("woff2");unicode-range:U+700B,U+700D,U+7015,U+7018,U+701B,U+701D-701F,U+7023,U+7026-7028,U+702C,U+702E-7030,U+7035,U+7037,U+7039-703A,U+703C-703E,U+7044,U+7049-704B,U+704F,U+7051,U+7058,U+705A,U+705C-705E,U+7061,U+7064,U+7066,U+706C,U+707D,U+7080-7081,U+7085-7086,U+708A,U+708F,U+7091,U+7094-7095,U+7098-7099,U+709C-709D,U+709F,U+70A4,U+70A9-70AA,U+70AF-70B2,U+70B4-70B7,U+70BB,U+70C0,U+70C3,U+70C7,U+70CB,U+70CE-70CF,U+70D4,U+70D9-70DA,U+70DC-70DD,U+70E0,U+70E9,U+70EC,U+70F7,U+70FA,U+70FD,U+70FF,U+7104,U+7108-7109,U+710C,U+7110,U+7113-7114,U+7116-7118,U+711C,U+711E,U+7120,U+712E-712F,U+7131,U+713C,U+7142,U+7144-7147,U+7149-714B,U+7150,U+7152,U+7155-7156,U+7159-715A,U+715C,U+7161,U+7165-7166,U+7168-7169,U+716D,U+7173-7174,U+7176,U+7178,U+717A,U+717D,U+717F-7180,U+7184,U+7186-7188,U+7192,U+7198,U+719C,U+71A0,U+71A4-71A5;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-58-wght-normal-CE0BKS9u.woff2)format("woff2");unicode-range:U+6ED9,U+6EDB,U+6EDD,U+6EDF-6EE0,U+6EE2,U+6EE6,U+6EEA,U+6EEC,U+6EEE-6EEF,U+6EF2-6EF3,U+6EF7-6EFA,U+6EFE,U+6F01,U+6F03,U+6F08-6F09,U+6F15-6F16,U+6F19,U+6F22-6F25,U+6F28-6F2A,U+6F2C-6F2D,U+6F2F,U+6F32,U+6F36-6F38,U+6F3F,U+6F43-6F46,U+6F48,U+6F4B,U+6F4E-6F4F,U+6F51,U+6F54-6F57,U+6F59-6F5B,U+6F5E-6F5F,U+6F61,U+6F64-6F67,U+6F69-6F6C,U+6F6F-6F72,U+6F74-6F76,U+6F78-6F7E,U+6F80-6F83,U+6F86,U+6F89,U+6F8B-6F8D,U+6F90,U+6F92,U+6F94,U+6F97-6F98,U+6F9B,U+6FA3-6FA5,U+6FA7,U+6FAA,U+6FAF,U+6FB1,U+6FB4,U+6FB6,U+6FB9,U+6FC1-6FCB,U+6FD1-6FD3,U+6FD5,U+6FDB,U+6FDE-6FE1,U+6FE4,U+6FE9,U+6FEB-6FEC,U+6FEE-6FF1,U+6FFA,U+6FFE,U+7005-7006,U+7009;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-59-wght-normal-Azv2Ku9_.woff2)format("woff2");unicode-range:U+6DC3,U+6DC5-6DC6,U+6DC9,U+6DCC,U+6DCF,U+6DD2-6DD3,U+6DD6,U+6DD9-6DDE,U+6DE0,U+6DE4,U+6DE6,U+6DE8-6DEA,U+6DEC,U+6DEF-6DF0,U+6DF5-6DF6,U+6DF8,U+6DFA,U+6DFC,U+6E03-6E04,U+6E07-6E09,U+6E0B-6E0C,U+6E0E,U+6E11,U+6E13,U+6E15-6E16,U+6E19-6E1B,U+6E1E-6E1F,U+6E22,U+6E25-6E27,U+6E2B-6E2C,U+6E36-6E37,U+6E39-6E3A,U+6E3C-6E41,U+6E44-6E45,U+6E47,U+6E49-6E4B,U+6E4D-6E4E,U+6E51,U+6E53-6E55,U+6E5C-6E5F,U+6E61-6E63,U+6E65-6E67,U+6E6A-6E6B,U+6E6D-6E70,U+6E72-6E74,U+6E76-6E78,U+6E7C,U+6E80-6E82,U+6E86-6E87,U+6E89,U+6E8D,U+6E8F,U+6E96,U+6E98,U+6E9D-6E9F,U+6EA1,U+6EA5-6EA7,U+6EAB,U+6EB1-6EB2,U+6EB4,U+6EB7,U+6EBB-6EBD,U+6EBF-6EC6,U+6EC8-6EC9,U+6ECC,U+6ECF-6ED0,U+6ED3-6ED4,U+6ED7-6ED8;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-60-wght-normal-C1lngC61.woff2)format("woff2");unicode-range:U+6CB1-6CB2,U+6CB4-6CB5,U+6CB7,U+6CBA,U+6CBC-6CBD,U+6CC1-6CC3,U+6CC5-6CC7,U+6CD0-6CD4,U+6CD6-6CD7,U+6CD9-6CDA,U+6CDE-6CE0,U+6CE4,U+6CE6,U+6CE9,U+6CEB-6CEF,U+6CF1-6CF2,U+6CF6-6CF7,U+6CFA,U+6CFE,U+6D03-6D05,U+6D07-6D08,U+6D0A,U+6D0C,U+6D0E-6D11,U+6D13-6D14,U+6D16,U+6D18-6D1A,U+6D1C,U+6D1F,U+6D22-6D23,U+6D26-6D29,U+6D2B,U+6D2E-6D30,U+6D33,U+6D35-6D36,U+6D38-6D3A,U+6D3C,U+6D3F,U+6D42-6D44,U+6D48-6D49,U+6D4D,U+6D50,U+6D52,U+6D54,U+6D56-6D58,U+6D5A-6D5C,U+6D5E,U+6D60-6D61,U+6D63-6D65,U+6D67,U+6D6C-6D6D,U+6D6F,U+6D75,U+6D7B-6D7D,U+6D87,U+6D8A,U+6D8E,U+6D90-6D9A,U+6D9C-6DA0,U+6DA2-6DA3,U+6DA7,U+6DAA-6DAC,U+6DAE,U+6DB3-6DB4,U+6DB6,U+6DB8,U+6DBC,U+6DBF,U+6DC2;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-61-wght-normal-BxWkGF5M.woff2)format("woff2");unicode-range:U+6B83-6B86,U+6B89,U+6B8D,U+6B91-6B93,U+6B95,U+6B97-6B98,U+6B9A-6B9B,U+6B9E,U+6BA1-6BA4,U+6BA9-6BAA,U+6BAD,U+6BAF-6BB0,U+6BB2-6BB3,U+6BBA-6BBD,U+6BC0,U+6BC2,U+6BC6,U+6BCA-6BCC,U+6BCE,U+6BD0-6BD1,U+6BD3,U+6BD6-6BD8,U+6BDA,U+6BE1,U+6BE6,U+6BEC,U+6BF1,U+6BF3-6BF5,U+6BF9,U+6BFD,U+6C05-6C08,U+6C0D,U+6C10,U+6C15-6C1A,U+6C21,U+6C23-6C26,U+6C29-6C2D,U+6C30-6C33,U+6C35-6C37,U+6C39-6C3A,U+6C3C-6C3F,U+6C46,U+6C4A-6C4C,U+6C4E-6C50,U+6C54,U+6C56,U+6C59-6C5C,U+6C5E,U+6C63,U+6C67-6C69,U+6C6B,U+6C6D,U+6C6F,U+6C72-6C74,U+6C78-6C7A,U+6C7C,U+6C84-6C87,U+6C8B-6C8C,U+6C8F,U+6C91,U+6C93-6C96,U+6C98,U+6C9A,U+6C9D,U+6CA2-6CA4,U+6CA8-6CA9,U+6CAC-6CAE;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-62-wght-normal-CXXMAq-5.woff2)format("woff2");unicode-range:U+69FE-6A01,U+6A06,U+6A09,U+6A0B,U+6A11,U+6A13,U+6A17-6A19,U+6A1B,U+6A1E,U+6A23,U+6A28-6A29,U+6A2B,U+6A2F-6A30,U+6A35,U+6A38-6A40,U+6A46-6A48,U+6A4A-6A4B,U+6A4E,U+6A50,U+6A52,U+6A5B,U+6A5E,U+6A62,U+6A65-6A67,U+6A6B,U+6A79,U+6A7C,U+6A7E-6A7F,U+6A84,U+6A86,U+6A8E,U+6A90-6A91,U+6A94,U+6A97,U+6A9C,U+6A9E,U+6AA0,U+6AA2,U+6AA4,U+6AA9,U+6AAB,U+6AAE-6AB0,U+6AB2-6AB3,U+6AB5,U+6AB7-6AB8,U+6ABA-6ABB,U+6ABD,U+6ABF,U+6AC2-6AC4,U+6AC6,U+6AC8,U+6ACC,U+6ACE,U+6AD2-6AD3,U+6AD8-6ADC,U+6ADF-6AE0,U+6AE4-6AE5,U+6AE7-6AE8,U+6AFB,U+6B04-6B05,U+6B0D-6B13,U+6B16-6B17,U+6B19,U+6B24-6B25,U+6B2C,U+6B37-6B39,U+6B3B,U+6B3D,U+6B43,U+6B46,U+6B4E,U+6B50,U+6B53-6B54,U+6B58-6B59,U+6B5B,U+6B60,U+6B69,U+6B6D,U+6B6F-6B70,U+6B73-6B74,U+6B77-6B7A,U+6B80-6B82;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-63-wght-normal-4La5uKvS.woff2)format("woff2");unicode-range:U+68D3,U+68D7,U+68DD,U+68DF,U+68E1,U+68E3-68E4,U+68E6-68ED,U+68EF-68F0,U+68F2,U+68F4,U+68F6-68F7,U+68F9,U+68FB-68FD,U+68FF-6902,U+6906-6908,U+690B,U+6910,U+691A-691C,U+691F-6920,U+6924-6925,U+692A,U+692D,U+6934,U+6939,U+693C-6945,U+694A-694B,U+6952-6954,U+6957,U+6959,U+695B,U+695D,U+695F,U+6962-6964,U+6966,U+6968-696C,U+696E-696F,U+6971,U+6973-6974,U+6978-6979,U+697D,U+697F-6980,U+6985,U+6987-698A,U+698D-698E,U+6994-6999,U+699B,U+69A3-69A4,U+69A6-69A7,U+69AB,U+69AD-69AE,U+69B1,U+69B7,U+69BB-69BC,U+69C1,U+69C3-69C5,U+69C7,U+69CA-69CE,U+69D0-69D1,U+69D3-69D4,U+69D7-69DA,U+69E0,U+69E4,U+69E6,U+69EC-69ED,U+69F1-69F3,U+69F8,U+69FA-69FC;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-64-wght-normal-CbIuD2Eg.woff2)format("woff2");unicode-range:U+678B-678D,U+678F,U+6792-6793,U+6796,U+6798,U+679E-67A1,U+67A5,U+67A7-67A9,U+67AC-67AD,U+67B0-67B1,U+67B3,U+67B5,U+67B7,U+67B9,U+67BB-67BC,U+67C0-67C1,U+67C3,U+67C5-67CA,U+67D1-67D2,U+67D7-67D9,U+67DD-67DF,U+67E2-67E4,U+67E6-67E9,U+67F0,U+67F5,U+67F7-67F8,U+67FA-67FB,U+67FD-67FE,U+6800-6801,U+6803-6804,U+6806,U+6809-680A,U+680C,U+680E,U+6812,U+681D-681F,U+6822,U+6824-6829,U+682B-682D,U+6831-6835,U+683B,U+683E,U+6840-6841,U+6844-6845,U+6849,U+684E,U+6853,U+6855-6856,U+685C-685D,U+685F-6862,U+6864,U+6866-6868,U+686B,U+686F,U+6872,U+6874,U+6877,U+687F,U+6883,U+6886,U+688F,U+689B,U+689F-68A0,U+68A2-68A3,U+68B1,U+68B6,U+68B9-68BA,U+68BC-68BF,U+68C1-68C4,U+68C6,U+68C8,U+68CA,U+68CC,U+68D0-68D1;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-65-wght-normal-BGqvKda2.woff2)format("woff2");unicode-range:U+6631,U+6633-6634,U+6636,U+663A-663B,U+663D,U+6641,U+6644-6645,U+6649,U+664C,U+664F,U+6654,U+6659,U+665B,U+665D-665E,U+6660-6667,U+6669,U+666B-666C,U+6671,U+6673,U+6677-6679,U+667C,U+6680-6681,U+6684-6685,U+6688-6689,U+668B-668E,U+6690,U+6692,U+6695,U+6698,U+669A,U+669D,U+669F-66A0,U+66A2-66A3,U+66A6,U+66AA-66AB,U+66B1-66B2,U+66B5,U+66B8-66B9,U+66BB,U+66BE,U+66C1,U+66C6-66C9,U+66CC,U+66D5-66D8,U+66DA-66DC,U+66DE-66E2,U+66E8-66EA,U+66EC,U+66F1,U+66F3,U+66F7,U+66FA,U+66FD,U+6702,U+6705,U+670A,U+670F-6710,U+6713,U+6715,U+6719,U+6722-6723,U+6725-6727,U+6729,U+672D-672E,U+6732-6733,U+6736,U+6739,U+673B,U+673F,U+6744,U+6748,U+674C-674D,U+6753,U+6755,U+6762,U+6767,U+6769-676C,U+676E,U+6772-6773,U+6775,U+6777,U+677A-677D,U+6782-6783,U+6787,U+678A;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-66-wght-normal-BvNozWOY.woff2)format("woff2");unicode-range:U+64F1-64F2,U+64F4,U+64F7-64F8,U+64FA,U+64FC,U+64FE-64FF,U+6503,U+6509,U+650F,U+6514,U+6518,U+651C-651E,U+6522-6525,U+652A-652C,U+652E,U+6530-6532,U+6534-6535,U+6537-6538,U+653A,U+653C-653D,U+6542,U+6549-654B,U+654D-654E,U+6553-6555,U+6557-6558,U+655D,U+6564,U+6569,U+656B,U+656D-656F,U+6571,U+6573,U+6575-6576,U+6578-657E,U+6581-6583,U+6585-6586,U+6589,U+658E-658F,U+6592-6593,U+6595-6596,U+659B,U+659D,U+659F-65A1,U+65A3,U+65AB-65AC,U+65B2,U+65B6-65B7,U+65BA-65BB,U+65BE-65C0,U+65C2-65C4,U+65C6-65C8,U+65CC,U+65CE,U+65D0,U+65D2-65D3,U+65D6,U+65DB,U+65DD,U+65E1,U+65E3,U+65EE-65F0,U+65F3-65F5,U+65F8,U+65FB-65FC,U+65FE-6600,U+6603,U+6607,U+6609,U+660B,U+6610-6611,U+6619-661A,U+661C-661E,U+6621,U+6624,U+6626,U+662A-662C,U+662E,U+6630;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-67-wght-normal-CC-WRBV-.woff2)format("woff2");unicode-range:U+63B8-63BC,U+63BE,U+63C0,U+63C3-63C4,U+63C6,U+63C8,U+63CD-63CE,U+63D1,U+63D6,U+63DA-63DB,U+63DE,U+63E0,U+63E3,U+63E9-63EA,U+63EE,U+63F2,U+63F5-63FA,U+63FC,U+63FE-6400,U+6406,U+640B-640D,U+6410,U+6414,U+6416-6417,U+641B,U+6420-6423,U+6425-6428,U+642A,U+6431-6432,U+6434-6437,U+643D-6442,U+6445,U+6448,U+6450-6452,U+645B-645F,U+6462,U+6465,U+6468,U+646D,U+646F-6471,U+6473,U+6477,U+6479-647D,U+6482-6485,U+6487-6488,U+648C,U+6490,U+6493,U+6496-649A,U+649D,U+64A0,U+64A5,U+64AB-64AC,U+64B1-64B7,U+64B9-64BB,U+64BE-64C1,U+64C4,U+64C7,U+64C9-64CB,U+64D0,U+64D4,U+64D7-64D8,U+64DA,U+64DE,U+64E0-64E2,U+64E4,U+64E9,U+64EC,U+64F0;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-68-wght-normal-c0FjfUaj.woff2)format("woff2");unicode-range:U+622C,U+622E-6230,U+6232,U+6238,U+623B,U+623D-623E,U+6243,U+6246,U+6248-6249,U+624C,U+6255,U+6259,U+625E,U+6260-6261,U+6265-6266,U+626A,U+6271,U+627A,U+627C-627D,U+6283,U+6286,U+6289,U+628E,U+6294,U+629C,U+629E-629F,U+62A1,U+62A8,U+62BA-62BB,U+62BF,U+62C2,U+62C4,U+62C8,U+62CA-62CB,U+62CF,U+62D1,U+62D7,U+62D9-62DA,U+62DD,U+62E0-62E1,U+62E3-62E4,U+62E7,U+62EB,U+62EE,U+62F0,U+62F4-62F6,U+6308,U+630A-630E,U+6310,U+6312-6313,U+6317,U+6319,U+631B,U+631D-631F,U+6322,U+6326,U+6329,U+6331-6332,U+6334-6337,U+6339,U+633B-633C,U+633E-6340,U+6343,U+6347,U+634B-634E,U+6354,U+635C-635D,U+6368-6369,U+636D,U+636F-6372,U+6376,U+637A-637B,U+637D,U+6382-6383,U+6387,U+638A-638B,U+638D-638E,U+6391,U+6393-6397,U+6399,U+639B,U+639E-639F,U+63A1,U+63A3-63A4,U+63AC-63AE,U+63B1-63B5;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-69-wght-normal-D596Jjl2.woff2)format("woff2");unicode-range:U+60ED-60EE,U+60F0-60F1,U+60F4,U+60F6,U+60FA,U+6100,U+6106,U+610D-610E,U+6112,U+6114-6115,U+6119,U+611C,U+6120,U+6122-6123,U+6126,U+6128-6130,U+6136-6137,U+613A,U+613D-613E,U+6144,U+6146-6147,U+614A-614B,U+6151,U+6153,U+6158,U+615A,U+615C-615D,U+615F,U+6161,U+6163-6165,U+616B-616C,U+616E,U+6171,U+6173-6177,U+617E,U+6182,U+6187,U+618A,U+618D-618E,U+6190-6191,U+6194,U+6199-619A,U+619C,U+619F,U+61A1,U+61A3-61A4,U+61A7-61A9,U+61AB-61AD,U+61B2-61B3,U+61B5-61B7,U+61BA-61BB,U+61BF,U+61C3-61C4,U+61C6-61C7,U+61C9-61CB,U+61D0-61D1,U+61D3-61D4,U+61D7,U+61DA,U+61DF-61E1,U+61E6,U+61EE,U+61F0,U+61F2,U+61F6-61F8,U+61FA,U+61FC-61FE,U+6200,U+6206-6207,U+6209,U+620B,U+620D-620E,U+6213-6215,U+6217,U+6219,U+621B-6223,U+6225-6226;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-70-wght-normal-ColEcmtJ.woff2)format("woff2");unicode-range:U+5FC4,U+5FC9,U+5FCB,U+5FCE-5FD6,U+5FDA-5FDE,U+5FE1-5FE2,U+5FE4-5FE5,U+5FEA,U+5FED-5FEE,U+5FF1-5FF3,U+5FF6,U+5FF8,U+5FFB,U+5FFE-5FFF,U+6002-6006,U+600A,U+600D,U+600F,U+6014,U+6019,U+601B,U+6020,U+6023,U+6026,U+6029,U+602B,U+602E-602F,U+6031,U+6033,U+6035,U+6039,U+603F,U+6041-6043,U+6046,U+604F,U+6053-6054,U+6058-605B,U+605D-605E,U+6060,U+6063,U+6065,U+6067,U+606A-606C,U+6075,U+6078-6079,U+607B,U+607D,U+607F,U+6083,U+6085-6087,U+608A,U+608C,U+608E-608F,U+6092-6093,U+6095-6097,U+609B-609D,U+60A2,U+60A7,U+60A9-60AB,U+60AD,U+60AF-60B1,U+60B3-60B6,U+60B8,U+60BB,U+60BD-60BE,U+60C0-60C3,U+60C6-60C9,U+60CB,U+60CE,U+60D3-60D4,U+60D7-60DB,U+60DD,U+60E1-60E4,U+60E6,U+60EA,U+60EC;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-71-wght-normal-ChZfXpdg.woff2)format("woff2");unicode-range:U+5E98,U+5E9B,U+5E9D,U+5EA0-5EA5,U+5EA8,U+5EAB,U+5EAF,U+5EB3,U+5EB5-5EB6,U+5EB9,U+5EBE,U+5EC1-5EC3,U+5EC6,U+5EC8,U+5ECB-5ECC,U+5ED1-5ED2,U+5ED4,U+5ED9-5EDB,U+5EDD,U+5EDF-5EE0,U+5EE2-5EE3,U+5EE8,U+5EEA,U+5EEC,U+5EEF-5EF0,U+5EF3-5EF4,U+5EF8,U+5EFB-5EFC,U+5EFE-5EFF,U+5F01,U+5F07,U+5F0B-5F0E,U+5F10-5F12,U+5F14,U+5F1A,U+5F22,U+5F28-5F29,U+5F2C-5F2D,U+5F35-5F36,U+5F38,U+5F3B-5F43,U+5F45-5F4A,U+5F4C-5F4E,U+5F50,U+5F54,U+5F56-5F59,U+5F5B-5F5F,U+5F61,U+5F63,U+5F65,U+5F67-5F68,U+5F6B,U+5F6E-5F6F,U+5F72-5F78,U+5F7A,U+5F7E-5F7F,U+5F82-5F83,U+5F87,U+5F89-5F8A,U+5F8D,U+5F91,U+5F93,U+5F95,U+5F98-5F99,U+5F9C,U+5F9E,U+5FA0,U+5FA6-5FA9,U+5FAC-5FAD,U+5FAF,U+5FB3-5FB5,U+5FB9,U+5FBC;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-72-wght-normal-D1VyfEG3.woff2)format("woff2");unicode-range:U+5D26-5D27,U+5D2E-5D34,U+5D3C-5D3E,U+5D41-5D44,U+5D46-5D48,U+5D4A-5D4B,U+5D4E,U+5D50,U+5D52,U+5D55-5D58,U+5D5A-5D5D,U+5D68-5D69,U+5D6B-5D6C,U+5D6F,U+5D74,U+5D7F,U+5D82-5D89,U+5D8B-5D8C,U+5D8F,U+5D92-5D93,U+5D99,U+5D9D,U+5DB2,U+5DB6-5DB7,U+5DBA,U+5DBC-5DBD,U+5DC2-5DC3,U+5DC6-5DC7,U+5DC9,U+5DCC,U+5DD2,U+5DD4,U+5DD6-5DD8,U+5DDB-5DDC,U+5DE3,U+5DED,U+5DEF,U+5DF3,U+5DF6,U+5DFA-5DFD,U+5DFF-5E00,U+5E07,U+5E0F,U+5E11,U+5E13-5E14,U+5E19-5E1B,U+5E22,U+5E25,U+5E28,U+5E2A,U+5E2F-5E31,U+5E33-5E34,U+5E36,U+5E39-5E3C,U+5E3E,U+5E40,U+5E44,U+5E46-5E48,U+5E4C,U+5E4F,U+5E53-5E54,U+5E57,U+5E59,U+5E5B,U+5E5E-5E5F,U+5E61,U+5E63,U+5E6A-5E6B,U+5E75,U+5E77,U+5E79-5E7A,U+5E7E,U+5E80-5E81,U+5E83,U+5E85,U+5E87,U+5E8B,U+5E91-5E92,U+5E96;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-73-wght-normal-DwSJRYPJ.woff2)format("woff2");unicode-range:U+5BEC,U+5BEE-5BF0,U+5BF2-5BF3,U+5BF5-5BF6,U+5BFE,U+5C02-5C03,U+5C05,U+5C07-5C09,U+5C0B-5C0C,U+5C0E,U+5C10,U+5C12-5C13,U+5C15,U+5C17,U+5C19,U+5C1B-5C1C,U+5C1E-5C1F,U+5C22,U+5C25,U+5C28,U+5C2A-5C2B,U+5C2F-5C30,U+5C37,U+5C3B,U+5C43-5C44,U+5C46-5C47,U+5C4D,U+5C50,U+5C59,U+5C5B-5C5C,U+5C62-5C64,U+5C66,U+5C6C,U+5C6E,U+5C74,U+5C78-5C7E,U+5C80,U+5C83-5C84,U+5C88,U+5C8B-5C8D,U+5C91,U+5C94-5C96,U+5C98-5C99,U+5C9C,U+5C9E,U+5CA1-5CA3,U+5CAB-5CAC,U+5CB1,U+5CB5,U+5CB7,U+5CBA,U+5CBD-5CBF,U+5CC1,U+5CC3-5CC4,U+5CC7,U+5CCB,U+5CD2,U+5CD8-5CD9,U+5CDF-5CE0,U+5CE3-5CE6,U+5CE8-5CEA,U+5CED,U+5CEF,U+5CF3-5CF4,U+5CF6,U+5CF8,U+5CFD,U+5D00-5D04,U+5D06,U+5D08,U+5D0B-5D0D,U+5D0F-5D13,U+5D15,U+5D17-5D1A,U+5D1D-5D22,U+5D24-5D25;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-74-wght-normal-Cte7o1QG.woff2)format("woff2");unicode-range:U+5AA0,U+5AA3-5AA4,U+5AAA,U+5AAE-5AAF,U+5AB1-5AB2,U+5AB4-5AB5,U+5AB7-5ABA,U+5ABD-5ABF,U+5AC3-5AC4,U+5AC6-5AC8,U+5ACA-5ACB,U+5ACD,U+5ACF-5AD2,U+5AD4,U+5AD8-5ADA,U+5ADC,U+5ADF-5AE2,U+5AE4,U+5AE6,U+5AE8,U+5AEA-5AED,U+5AF0-5AF3,U+5AF5,U+5AF9-5AFB,U+5AFD,U+5B01,U+5B05,U+5B08,U+5B0B-5B0C,U+5B11,U+5B16-5B17,U+5B1B,U+5B21-5B22,U+5B24,U+5B27-5B2E,U+5B30,U+5B32,U+5B34,U+5B36-5B38,U+5B3E-5B40,U+5B43,U+5B45,U+5B4A-5B4B,U+5B51-5B53,U+5B56,U+5B5A-5B5B,U+5B62,U+5B65,U+5B67,U+5B6A-5B6E,U+5B70-5B71,U+5B73,U+5B7A-5B7B,U+5B7F-5B80,U+5B84,U+5B8D,U+5B91,U+5B93-5B95,U+5B9F,U+5BA5-5BA6,U+5BAC,U+5BAE,U+5BB8,U+5BC0,U+5BC3,U+5BCB,U+5BD0-5BD1,U+5BD4-5BD8,U+5BDA-5BDC,U+5BE2,U+5BE4-5BE5,U+5BE7,U+5BE9,U+5BEB;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-75-wght-normal-B0qL41rF.woff2)format("woff2");unicode-range:U+596A,U+596C-596E,U+5977,U+597B-597C,U+5981,U+598F,U+5997-5998,U+599A,U+599C-599D,U+59A0-59A1,U+59A3-59A4,U+59A7,U+59AA-59AD,U+59AF,U+59B2-59B3,U+59B5-59B6,U+59B8,U+59BA,U+59BD-59BE,U+59C0-59C1,U+59C3-59C4,U+59C7-59CA,U+59CC-59CD,U+59CF,U+59D2,U+59D5-59D6,U+59D8-59D9,U+59DB,U+59DD-59E0,U+59E2-59E7,U+59E9-59EB,U+59EE,U+59F1,U+59F3,U+59F5,U+59F7-59F9,U+59FD,U+5A06,U+5A08-5A0A,U+5A0C-5A0D,U+5A11-5A13,U+5A15-5A16,U+5A1A-5A1B,U+5A21-5A23,U+5A2D-5A2F,U+5A32,U+5A38,U+5A3C,U+5A3E-5A45,U+5A47,U+5A4A,U+5A4C-5A4D,U+5A4F-5A51,U+5A53,U+5A55-5A57,U+5A5E,U+5A60,U+5A62,U+5A65-5A67,U+5A6A,U+5A6C-5A6D,U+5A72-5A73,U+5A75-5A76,U+5A79-5A7C,U+5A81-5A84,U+5A8C,U+5A8E,U+5A93,U+5A96-5A97,U+5A9C,U+5A9E;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-76-wght-normal-BPLMO_2x.woff2)format("woff2");unicode-range:U+5820,U+5822-5823,U+5825-5826,U+582C,U+582F,U+5831,U+583A,U+583D,U+583F-5842,U+5844-5846,U+5848,U+584A,U+584D,U+5852,U+5857,U+5859-585A,U+585C-585D,U+5862,U+5868-5869,U+586C-586D,U+586F-5873,U+5875,U+5879,U+587D-587E,U+5880-5881,U+5888-588A,U+588D,U+5892,U+5896-5898,U+589A,U+589C-589D,U+58A0-58A1,U+58A3,U+58A6,U+58A9,U+58AB-58AE,U+58B0,U+58B3,U+58BB-58BF,U+58C2-58C3,U+58C5-58C8,U+58CA,U+58CC,U+58CE,U+58D1-58D3,U+58D5,U+58D8-58D9,U+58DE-58DF,U+58E2,U+58E9,U+58EC,U+58EF,U+58F1-58F2,U+58F5,U+58F7-58F8,U+58FA,U+58FD,U+5900,U+5902,U+5906,U+5908-590C,U+590E,U+5910,U+5914,U+5919,U+591B,U+591D-591E,U+5920,U+5922-5925,U+5928,U+592C-592D,U+592F,U+5932,U+5936,U+593C,U+593E,U+5940-5942,U+5944,U+594C-594D,U+5950,U+5953,U+5958,U+595A,U+5961,U+5966-5968;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-77-wght-normal-Dkbi3pye.woff2)format("woff2");unicode-range:U+56F9,U+56FC,U+56FF-5700,U+5703-5704,U+5709-570A,U+570C-570D,U+570F,U+5712-5713,U+5718-5719,U+571C,U+571E,U+5725,U+5727,U+5729-572A,U+572C,U+572E-572F,U+5734-5735,U+5739,U+573B,U+5741,U+5743,U+5745,U+5749,U+574C-574D,U+575C,U+5763,U+5768-5769,U+576B,U+576D-576E,U+5770,U+5773,U+5775,U+5777,U+577B-577C,U+5785-5786,U+5788,U+578C,U+578E-578F,U+5793-5795,U+5799-57A1,U+57A3-57A4,U+57A6-57AA,U+57AC-57AD,U+57AF-57B2,U+57B4-57B6,U+57B8-57B9,U+57BD-57BF,U+57C2,U+57C4-57C8,U+57CC-57CD,U+57CF,U+57D2,U+57D5-57DE,U+57E1-57E2,U+57E4-57E5,U+57E7,U+57EB,U+57ED,U+57EF,U+57F4-57F8,U+57FC-57FD,U+5800-5801,U+5803,U+5805,U+5807,U+5809,U+580B-580E,U+5811,U+5814,U+5819,U+581B-581F;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-78-wght-normal-BFUXeSw6.woff2)format("woff2");unicode-range:U+55F5-55F7,U+55FB,U+55FE,U+5600-5601,U+5605-5606,U+5608,U+560C-560D,U+560F,U+5614,U+5616-5617,U+561A,U+561C,U+561E,U+5621-5625,U+5627,U+5629,U+562B-5630,U+5636,U+5638-563A,U+563C,U+5640-5642,U+5649,U+564C-5650,U+5653-5655,U+5657-565B,U+5660,U+5663-5664,U+5666,U+566B,U+566F-5671,U+5673-567C,U+567E,U+5684-5687,U+568C,U+568E-5693,U+5695,U+5697,U+569B-569C,U+569E-569F,U+56A1-56A2,U+56A4-56A9,U+56AC-56AF,U+56B1,U+56B4,U+56B6-56B8,U+56BF,U+56C1-56C3,U+56C9,U+56CD,U+56D1,U+56D4,U+56D6-56D9,U+56DD,U+56DF,U+56E1,U+56E3-56E6,U+56E8-56EC,U+56EE-56EF,U+56F1-56F3,U+56F5,U+56F7-56F8;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-79-wght-normal-DoJG4UTB.woff2)format("woff2");unicode-range:U+550F,U+5511-5514,U+5516-5517,U+5519,U+551B,U+551D-551E,U+5520,U+5522-5523,U+5526-5527,U+552A-552C,U+5530,U+5532-5535,U+5537-5538,U+553B-5541,U+5543-5544,U+5547-5549,U+554B,U+554D,U+5550,U+5553,U+5555-5558,U+555B-555F,U+5567-5569,U+556B-5572,U+5574-5577,U+557B-557C,U+557E-557F,U+5581,U+5583,U+5585-5586,U+5588,U+558B-558C,U+558E-5591,U+5593,U+5599-559A,U+559F,U+55A5-55A6,U+55A8-55AC,U+55AE,U+55B0-55B3,U+55B6,U+55B9-55BA,U+55BC-55BE,U+55C4,U+55C6-55C7,U+55C9,U+55CC-55D2,U+55D4-55DB,U+55DD-55DF,U+55E1,U+55E3-55E6,U+55EA-55EE,U+55F0-55F3;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-80-wght-normal-BEFypWOO.woff2)format("woff2");unicode-range:U+53E7-53E9,U+53F1,U+53F4-53F5,U+53FA-5400,U+5402,U+5405-5407,U+540B,U+540F,U+5412,U+5414,U+5416,U+5418-541A,U+541D,U+5420-5423,U+5425,U+5429-542A,U+542D-542E,U+5431-5433,U+5436,U+543D,U+543F,U+5442-5443,U+5449,U+544B-544C,U+544E,U+5451-5454,U+5456,U+5459,U+545B-545C,U+5461,U+5463-5464,U+546A-5472,U+5474,U+5476-5478,U+547A,U+547E-5484,U+5486,U+548A,U+548D-548E,U+5490-5491,U+5494,U+5497-5499,U+549B,U+549D,U+54A1-54A7,U+54A9,U+54AB,U+54AD,U+54B4-54B5,U+54B9,U+54BB,U+54BE-54BF,U+54C2-54C3,U+54C9-54CC,U+54CF-54D0,U+54D3,U+54D5-54D6,U+54D9-54DA,U+54DC-54DE,U+54E2,U+54E7,U+54F3-54F4,U+54F8-54F9,U+54FD-54FF,U+5501,U+5504-5506,U+550C-550E;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-81-wght-normal-ed_TZlfo.woff2)format("woff2");unicode-range:U+5289,U+528B,U+528D,U+528F,U+5291-5293,U+529A,U+52A2,U+52A6-52A7,U+52AC-52AD,U+52AF,U+52B4-52B5,U+52B9,U+52BB-52BC,U+52BE,U+52C1,U+52C5,U+52CA,U+52CD,U+52D0,U+52D6-52D7,U+52D9,U+52DB,U+52DD-52DE,U+52E0,U+52E2-52E3,U+52E5,U+52E7-52F0,U+52F2-52F3,U+52F5-52F9,U+52FB-52FC,U+5302,U+5304,U+530B,U+530D,U+530F-5310,U+5315,U+531A,U+531C-531D,U+5321,U+5323,U+5326,U+532E-5331,U+5338,U+533C-533E,U+5344-5345,U+534B-534D,U+5350,U+5354,U+5358,U+535D-535F,U+5363,U+5368-5369,U+536C,U+536E-536F,U+5372,U+5379-537B,U+537D,U+538D-538E,U+5390,U+5393-5394,U+5396,U+539B-539D,U+53A0-53A1,U+53A3-53A5,U+53A9,U+53AD-53AE,U+53B0,U+53B2-53B3,U+53B5-53B8,U+53BC,U+53BE,U+53C1,U+53C3-53C7,U+53CE-53CF,U+53D2-53D3,U+53D5,U+53DA,U+53DE-53DF,U+53E1-53E2;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-82-wght-normal-DcxfR5OJ.woff2)format("woff2");unicode-range:U+5104,U+5106-5107,U+5109-510B,U+510D,U+510F-5110,U+5113,U+5115,U+5117-5118,U+511A-511C,U+511E-511F,U+5121,U+5128,U+512B-512D,U+5131-5135,U+5137-5139,U+513C,U+5140,U+5142,U+5147,U+514C,U+514E-5150,U+5155-5158,U+5162,U+5169,U+5172,U+517F,U+5181-5184,U+5186-5187,U+518B,U+518F,U+5191,U+5195-5197,U+519A,U+51A2-51A3,U+51A6-51AB,U+51AD-51AE,U+51B1,U+51B4,U+51BC-51BD,U+51BF,U+51C3,U+51C7-51C8,U+51CA-51CB,U+51CD-51CE,U+51D4,U+51D6,U+51DB-51DC,U+51E6,U+51E8-51EB,U+51F1,U+51F5,U+51FC,U+51FF,U+5202,U+5205,U+5208,U+520B,U+520D-520E,U+5215-5216,U+5228,U+522A,U+522C-522D,U+5233,U+523C-523D,U+523F-5240,U+5245,U+5247,U+5249,U+524B-524C,U+524E,U+5250,U+525B-525F,U+5261,U+5263-5264,U+5270,U+5273,U+5275,U+5277,U+527D,U+527F,U+5281-5285,U+5287;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-83-wght-normal-C9UjAcMM.woff2)format("woff2");unicode-range:U+4FD1,U+4FD3,U+4FDA-4FDC,U+4FDF-4FE0,U+4FE2-4FE4,U+4FE6,U+4FE8,U+4FEB-4FED,U+4FF3,U+4FF5-4FF6,U+4FF8,U+4FFE,U+5001,U+5005-5006,U+5009,U+500C,U+500F,U+5013-5018,U+501B-501E,U+5022-5025,U+5027-5028,U+502B-502E,U+5030,U+5033-5034,U+5036-5039,U+503B,U+5041-5043,U+5045-5046,U+5048-504A,U+504C-504E,U+5051,U+5053,U+5055-5057,U+505B,U+505E,U+5060,U+5062-5063,U+5067,U+506A,U+506C,U+5070-5072,U+5074-5075,U+5078,U+507B,U+507D-507E,U+5080,U+5088-5089,U+5091-5092,U+5095,U+5097-509E,U+50A2-50A3,U+50A5-50A7,U+50A9,U+50AD,U+50B3,U+50B5,U+50B7,U+50BA,U+50BE,U+50C4-50C5,U+50C7,U+50CA,U+50CD,U+50D1,U+50D5-50D6,U+50DA,U+50DE,U+50E5-50E6,U+50EC-50EE,U+50F0-50F1,U+50F3,U+50F9-50FB,U+50FE-5102;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-84-wght-normal-C7NxT478.woff2)format("woff2");unicode-range:U+4EA3,U+4EA5,U+4EB0-4EB1,U+4EB3-4EB6,U+4EB8-4EB9,U+4EBB-4EBE,U+4EC2-4EC4,U+4EC8-4EC9,U+4ECC,U+4ECF-4ED0,U+4ED2,U+4EDA-4EDB,U+4EDD-4EE1,U+4EE6-4EE9,U+4EEB,U+4EEE-4EEF,U+4EF3-4EF5,U+4EF8-4EFA,U+4EFC,U+4F00,U+4F03-4F05,U+4F08-4F09,U+4F0B,U+4F0E,U+4F12-4F13,U+4F15,U+4F1B,U+4F1D,U+4F21-4F22,U+4F25,U+4F27-4F29,U+4F2B-4F2E,U+4F31-4F33,U+4F36-4F37,U+4F39,U+4F3E,U+4F40-4F41,U+4F43,U+4F47-4F49,U+4F54,U+4F57-4F58,U+4F5D-4F5E,U+4F61-4F62,U+4F64-4F65,U+4F67,U+4F6A,U+4F6E-4F6F,U+4F72,U+4F74-4F7E,U+4F80-4F82,U+4F84,U+4F89-4F8A,U+4F8E-4F98,U+4F9E,U+4FA1,U+4FA5,U+4FA9-4FAA,U+4FAC,U+4FB3,U+4FB6-4FB8,U+4FBD,U+4FC2,U+4FC5-4FC6,U+4FCD-4FCE,U+4FD0;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-85-wght-normal-DBcDBu1n.woff2)format("woff2");unicode-range:U+3129,U+3131,U+3134,U+3137,U+3139,U+3141-3142,U+3145,U+3147-3148,U+314B,U+314D-314E,U+315C,U+3160-3161,U+3163-3164,U+3186,U+318D,U+3192,U+3196-3198,U+319E-319F,U+3220-3229,U+3231,U+3268,U+3297,U+3299,U+32A3,U+338E-338F,U+3395,U+339C-339E,U+33C4,U+33D1-33D2,U+33D5,U+3434,U+34DC,U+34EE,U+353E,U+355D,U+3566,U+3575,U+3592,U+35A0-35A1,U+35AD,U+35CE,U+36A2,U+36AB,U+38A8,U+3DAB,U+3DE7,U+3DEB,U+3E1A,U+3F1B,U+3F6D,U+4495,U+4723,U+48FA,U+4CA3,U+4DB6-4DBF,U+4E02,U+4E04-4E06,U+4E0C,U+4E0F,U+4E15,U+4E17,U+4E1F-4E21,U+4E26,U+4E29,U+4E2C,U+4E2F,U+4E31,U+4E35,U+4E37,U+4E3C,U+4E3F-4E42,U+4E44,U+4E46-4E47,U+4E57,U+4E5A-4E5C,U+4E64-4E65,U+4E67,U+4E69,U+4E6D,U+4E78,U+4E7F-4E82,U+4E85,U+4E87,U+4E8A,U+4E8D,U+4E93,U+4E96,U+4E98-4E99,U+4E9C,U+4E9E-4EA0,U+4EA2;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-86-wght-normal-CLJIoPpl.woff2)format("woff2");unicode-range:U+279F-27A2,U+27A4-27A5,U+27A8,U+27B0,U+27B2-27B3,U+27B9,U+27E8-27E9,U+27F6,U+2800,U+28EC,U+2913,U+2921-2922,U+2934-2935,U+2A2F,U+2B05-2B07,U+2B50,U+2B55,U+2BC5-2BC6,U+2E1C-2E1D,U+2EBB,U+2F00,U+2F08,U+2F24,U+2F2D,U+2F2F-2F30,U+2F3C,U+2F45,U+2F63-2F64,U+2F74,U+2F83,U+2F8F,U+2FBC,U+3003,U+3005-3007,U+3012-3013,U+301C-301E,U+3021,U+3023-3024,U+3030,U+3034-3035,U+3041,U+3043,U+3045,U+3047,U+3049,U+3056,U+3058,U+305C,U+305E,U+3062,U+306C,U+3074,U+3077,U+307A,U+307C-307D,U+3080,U+308E,U+3090-3091,U+3099-309B,U+309D-309E,U+30A5,U+30BC,U+30BE,U+30C2,U+30C5,U+30CC,U+30D8,U+30E2,U+30E8,U+30EE,U+30F0-30F2,U+30F4-30F6,U+30FD-30FE,U+3105-3126,U+3128;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-87-wght-normal-DYfJ-vGE.woff2)format("woff2");unicode-range:U+2651-2655,U+2658,U+265A-265B,U+265D-265E,U+2660-266D,U+266F,U+267B,U+2688,U+2693-2696,U+2698-2699,U+269C,U+26A0-26A1,U+26A4,U+26AA-26AB,U+26BD-26BE,U+26C4-26C5,U+26D4,U+26E9,U+26F0-26F1,U+26F3,U+26F5,U+26FD,U+2702,U+2704-2706,U+2708-270F,U+2712-2718,U+271A-271B,U+271D,U+271F,U+2721,U+2724-2730,U+2732-2734,U+273A,U+273D-2744,U+2747-2749,U+274C,U+274E-274F,U+2753-2757,U+275B,U+275D-275E,U+2763,U+2765-2767,U+276E-276F,U+2776-277E,U+2780-2782,U+278A-278C,U+278E,U+2794-2796,U+279C;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-88-wght-normal-ClNDOCGW.woff2)format("woff2");unicode-range:U+2550-2551,U+2554,U+2557,U+255A-255B,U+255D,U+255F-2560,U+2562-2563,U+2565-2567,U+2569-256A,U+256C-2572,U+2579,U+2580-2595,U+25A1,U+25A3,U+25A9-25AD,U+25B0,U+25B3-25BB,U+25BD-25C2,U+25C4,U+25C8-25CB,U+25CD,U+25D0-25D1,U+25D4-25D5,U+25D8,U+25DC-25E6,U+25EA-25EB,U+25EF,U+25FE,U+2600-2604,U+2609,U+260E-260F,U+2611,U+2614-2615,U+2618,U+261A-2620,U+2622-2623,U+262A,U+262D-2630,U+2639-2640,U+2642,U+2648-2650;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-89-wght-normal-IQU_KQA8.woff2)format("woff2");unicode-range:U+23F0,U+23F3,U+2445,U+2449,U+2465-2471,U+2474-249B,U+24B8,U+24C2,U+24C7,U+24C9,U+24D0,U+24D2,U+24D4,U+24D8,U+24DD-24DE,U+24E3,U+24E6,U+24E8,U+2500-2509,U+250B-2526,U+2528-2534,U+2536-2537,U+253B-2548,U+254A-254B;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-90-wght-normal-BWcrRNoG.woff2)format("woff2");unicode-range:U+207C-2083,U+208C-208E,U+2092,U+20A6,U+20A8-20AD,U+20AF,U+20B1,U+20B4-20B5,U+20B8-20BA,U+20BD,U+20DB,U+20DD,U+20E0,U+20E3,U+2105,U+2109,U+2113,U+2116-2117,U+2120-2121,U+2126,U+212B,U+2133,U+2139,U+2194,U+2196-2199,U+21A0,U+21A9-21AA,U+21AF,U+21B3,U+21B5,U+21BA-21BB,U+21C4,U+21CA,U+21CC,U+21D0-21D4,U+21E1,U+21E6-21E9,U+2200,U+2202,U+2205-2208,U+220F,U+2211-2212,U+2215,U+2217-2219,U+221D-2220,U+2223,U+2225,U+2227-222B,U+222E,U+2234-2237,U+223C-223D,U+2248,U+224C,U+2252,U+2256,U+2260-2261,U+2266-2267,U+226A-226B,U+226E-226F,U+2282-2283,U+2295,U+2297,U+2299,U+22A5,U+22B0-22B1,U+22B9,U+22BF,U+22C5-22C6,U+22EF,U+2304,U+2307,U+230B,U+2312-2314,U+2318,U+231A-231B,U+2323,U+239B,U+239D-239E,U+23A0,U+23E9;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-91-wght-normal-CGekvDdH.woff2)format("woff2");unicode-range:U+1D34-1D35,U+1D38-1D3A,U+1D3C,U+1D3F-1D40,U+1D49,U+1D4E-1D4F,U+1D52,U+1D55,U+1D5B,U+1D5E,U+1D9C,U+1DA0,U+1DC4-1DC5,U+1E69,U+1E73,U+1EA0-1EA9,U+1EAB-1EAD,U+1EAF,U+1EB1,U+1EB3,U+1EB5,U+1EB7,U+1EB9,U+1EBB,U+1EBD-1EBE,U+1EC0-1EC3,U+1EC5-1EC6,U+1EC9-1ECD,U+1ECF-1ED3,U+1ED5,U+1ED7-1EDF,U+1EE1,U+1EE3,U+1EE5-1EEB,U+1EED,U+1EEF-1EF1,U+1EF3,U+1EF7,U+1EF9,U+1F62,U+1F7B,U+2001-2002,U+2004-2006,U+2009-200A,U+200C-2012,U+2015-2016,U+201A,U+201E-2021,U+2023,U+2025,U+2028,U+202A-202D,U+202F-2030,U+2032-2033,U+2035,U+2038,U+203C,U+203E-203F,U+2043-2044,U+2049,U+204D-204E,U+2060-2061,U+2070,U+2074-2078,U+207A-207B;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-97-wght-normal-BsBHkXi3.woff2)format("woff2");unicode-range:U+2AE-2B3,U+2B5-2BF,U+2C2-2C3,U+2C6-2D1,U+2D8-2DA,U+2DC,U+2E1-2E3,U+2E5,U+2EB,U+2EE-2F0,U+2F2-2F7,U+2F9-2FF,U+302-30D,U+311,U+31B,U+321-325,U+327-329,U+32B-32C,U+32E-32F,U+331-339,U+33C-33D,U+33F,U+348,U+352,U+35C,U+35E-35F,U+361,U+363,U+368,U+36C,U+36F,U+530-540,U+55D-55E,U+561,U+563,U+565,U+56B,U+56E-579;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-98-wght-normal-BZqSA1r_.woff2)format("woff2");unicode-range:U+176-17F,U+192,U+194,U+19A-19B,U+19D,U+1A0-1A1,U+1A3-1A4,U+1AA,U+1AC-1AD,U+1AF-1BF,U+1D2,U+1D4,U+1D6,U+1D8,U+1DA,U+1DC,U+1E3,U+1E7,U+1E9,U+1EE,U+1F0-1F1,U+1F3,U+1F5-1FF,U+219-21B,U+221,U+223-226,U+228,U+22B,U+22F,U+231,U+234-237,U+23A-23B,U+23D,U+250-252,U+254-255,U+259-25E,U+261-263,U+265,U+268,U+26A-26B,U+26F-277,U+279,U+27B-280,U+282-283,U+285,U+28A,U+28C,U+28F,U+292,U+294-296,U+298-29A,U+29C,U+29F,U+2A1-2A4,U+2A6-2A7,U+2A9,U+2AB;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-99-wght-normal-Q_IptJM5.woff2)format("woff2");unicode-range:U+A1-A4,U+A6-A8,U+AA,U+AC,U+AF,U+B1,U+B3-B6,U+B8-BA,U+BC-D6,U+D8-DE,U+E6,U+EB,U+EE-F0,U+F5,U+F7-F8,U+FB,U+FD-100,U+102,U+104-107,U+10D,U+10F-112,U+115,U+117,U+119,U+11B,U+11E-11F,U+121,U+123,U+125-127,U+129-12A,U+12D,U+12F-13F,U+141-142,U+144,U+146,U+14B-14C,U+14F-153,U+158-15B,U+15E-160,U+163-165,U+168-16A,U+16D-175;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-100-wght-normal-DrqXJETY.woff2)format("woff2");unicode-range:U+221A,U+2264,U+2464,U+25A0,U+3008,U+4E10,U+512A,U+5152,U+5201,U+5241,U+5340,U+5352,U+549A,U+54B2,U+54C6,U+54D7,U+54E1,U+5509,U+55C5,U+5618,U+5716,U+576F,U+5784,U+57A2,U+589F,U+5A20,U+5A25,U+5A29,U+5A34,U+5A7F,U+5AD6,U+5B09,U+5B5C,U+5BC7,U+5BE6,U+5C27,U+5D2D,U+5DCD,U+5F1B,U+5F37,U+604D,U+6055,U+6073,U+60EB,U+61FF,U+62CE,U+62ED,U+6345,U+6390,U+63B0,U+63B7,U+64AE,U+64C2,U+64D2,U+6556,U+663C,U+667E,U+66D9,U+66F8,U+6756,U+6789,U+689D,U+68F1,U+695E,U+6975,U+6A1F,U+6B0A,U+6B61,U+6B87,U+6C5D,U+6C7E,U+6C92,U+6D31,U+6DF9,U+6E0D,U+6E2D,U+6F31,U+6F3E,U+70B3,U+70BD,U+70CA,U+70E8,U+725F,U+733F,U+7396,U+739F,U+7459,U+74A7,U+75A1,U+75F0,U+76CF,U+76D4,U+7729,U+77AA,U+77B0,U+77E3,U+780C,U+78D5,U+7941,U+7977,U+797A,U+79C3,U+7A20,U+7A92,U+7B71,U+7BF1,U+7C9F,U+7EB6,U+7ECA,U+7EF7,U+7F07,U+7F09,U+7F15,U+7F81,U+7FB9,U+8038,U+8098,U+80B4,U+8110,U+814B-814C,U+816E,U+818A,U+8205,U+8235,U+828B,U+82A5,U+82B7,U+82D4,U+82DB,U+82DF,U+8317,U+8338,U+8385-8386,U+83C1,U+83CF,U+8537,U+853B,U+854A,U+8715,U+8783,U+892A,U+8A71,U+8BB3,U+8D2E,U+8D58,U+8DBE,U+8F67,U+8FAB,U+8FC4,U+8FE6,U+9023,U+9084,U+9091,U+916A,U+91C9,U+91DC,U+94B3,U+9502,U+9523,U+9551,U+956F,U+960E,U+962A,U+962E,U+9647,U+96F3,U+9739,U+97A0,U+97ED,U+983B,U+985E,U+988A,U+99AC,U+9A6F,U+9A87,U+9A8B,U+9AB7,U+9ABC,U+9AC5,U+9E25,U+E608,U+E621,U+FF06,U+FF14-FF16;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-101-wght-normal-c94LAl5p.woff2)format("woff2");unicode-range:U+161,U+926,U+928,U+939,U+93F-940,U+94D,U+E17,U+E22,U+E44,U+25C7,U+25CE,U+2764,U+3009,U+3016-3017,U+4E4D,U+4E53,U+4F5A,U+4F70,U+4FAE,U+4FD8,U+4FFA,U+5011,U+501A,U+51C4,U+5225,U+547B,U+5495,U+54E8,U+54EE,U+5594,U+55D3,U+55DC,U+55FD,U+560E,U+565C,U+5662,U+5669,U+566C,U+56BC,U+5742,U+5824,U+5834,U+598A,U+5992,U+59A9,U+5A04,U+5AC9,U+5B75,U+5B7D,U+5BC5,U+5C49,U+5C90,U+5E1C,U+5E27,U+5E2B,U+5E37,U+5E90,U+618B,U+61F5,U+620A,U+620C,U+6273,U+62C7,U+62F7,U+6320,U+6342,U+6401-6402,U+6413,U+6512,U+655B,U+65A7,U+65F1,U+65F7,U+665F,U+6687,U+66A7,U+673D,U+67B8,U+6854,U+68D8,U+68FA,U+696D,U+6A02,U+6A0A,U+6A80,U+6B7C,U+6BD9,U+6C2E,U+6C76,U+6CF8,U+6D4A,U+6D85,U+6E24,U+6E32,U+6EC7,U+6F88,U+700F,U+701A,U+7078,U+707C,U+70AC,U+70C1,U+72E9,U+7409,U+7422,U+745A,U+7480,U+74A8,U+752B,U+7574,U+7656,U+7699,U+7737,U+785D,U+78BE,U+79B9,U+7A3D,U+7A91,U+7A9F,U+7AE3,U+7B77,U+7C3F,U+7D1A,U+7D50,U+7D93,U+8042,U+808B,U+8236,U+82B8-82B9,U+82EF,U+8309,U+836B,U+83EF,U+8431,U+85C9,U+865E,U+868C,U+8759,U+8760,U+8845,U+89BA,U+8A2A,U+8AAA,U+8C41,U+8D2C,U+8D4E,U+8E66,U+8E6D,U+8EAF,U+902E,U+914B,U+916E,U+919B,U+949B,U+94A0,U+94B0,U+9541-9542,U+9556,U+95EB,U+95F5,U+964B,U+968B,U+96CC-96CD,U+96CF,U+9713,U+9890,U+98A8,U+9985,U+9992,U+9A6D,U+9A81,U+9A86,U+9AB8,U+9CA4,U+E606-E607,U+E60A,U+E60C,U+E60E,U+FE0F,U+FF02,U+FF1E;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-102-wght-normal-C1RtbCZr.woff2)format("woff2");unicode-range:U+10C,U+627-629,U+639,U+644,U+64A,U+203B,U+2265,U+2463,U+2573,U+25B2,U+3448-3449,U+4E1E,U+4E5E,U+4F3A,U+4F5F,U+4FEA,U+5026,U+508D,U+516E,U+5189,U+5254,U+5288,U+52D8,U+52FA,U+5306,U+5308,U+5364,U+5384,U+53ED,U+543C,U+5450,U+5455,U+5466,U+54C4,U+5578,U+55A7,U+561F,U+5631,U+572D,U+575F,U+57AE,U+57E0,U+5830,U+594E,U+5984,U+5993,U+5BDD,U+5C0D,U+5C7F,U+5C82,U+5E62,U+5ED3,U+5F08,U+607A,U+60BC,U+625B,U+6292,U+62E2,U+6363,U+6467,U+6714,U+675E,U+6771,U+67A2,U+67FF,U+6805,U+68A7,U+68E0,U+6930,U+6986,U+69A8,U+69DF,U+6A44,U+6A5F,U+6C13,U+6C1F,U+6C22,U+6C2F,U+6C40,U+6C81,U+6C9B,U+6CA5,U+6DA4,U+6DF3,U+6E85,U+6EBA,U+6ED5,U+6F13,U+6F33,U+6F62,U+715E,U+72C4,U+73D1,U+7405,U+7487,U+7578,U+75A4,U+75EB,U+7693,U+7738,U+7741,U+776B,U+7792,U+77A7,U+77A9,U+77B3,U+788C,U+7984,U+79A7,U+79E4,U+7A1A,U+7A57,U+7AA6,U+7B0B,U+7B5D,U+7C27,U+7C7D,U+7CAA,U+7CD9,U+7CEF,U+7EDA,U+7EDE,U+7F24,U+803F,U+8046,U+80FA,U+81FB,U+8207,U+8258,U+8335,U+8339,U+8354,U+840E,U+85B0,U+85FB,U+8695,U+86AA,U+8717,U+8749,U+874C,U+8996,U+89BD,U+89C5,U+8BDB,U+8BF5,U+8C5A,U+8CEC,U+8D3F,U+8D9F,U+8E44,U+8FED,U+9005,U+9019,U+9082,U+90AF,U+90DD,U+90E1,U+90F8,U+916F,U+9176,U+949E,U+94A7,U+94C2,U+9525,U+9580,U+95DC,U+96E2,U+96FB,U+9704,U+9A7C,U+9A7F,U+9B41,U+9CA8,U+9CC4,U+9CDE,U+9E92,U+9EDE,U+9F9A,U+E60B,U+E610,U+FF10,U+FF13,U+FF3B,U+FF3D,U+F012B;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-103-wght-normal-DGHo20nu.woff2)format("woff2");unicode-range:U+60,U+631,U+2606,U+3014-3015,U+309C,U+33A1,U+4E52,U+4EC6,U+4F86,U+4F8D,U+4FDE,U+4FEF,U+500B,U+502A,U+515C,U+518A,U+51A5,U+51F3,U+5243,U+52C9,U+52D5,U+53A2,U+53EE,U+54CE,U+54FA,U+54FC,U+5580,U+5587,U+563F,U+56DA,U+5792,U+5815,U+5960,U+59D7,U+5B78,U+5B9B,U+5BE1,U+5C4E,U+5C51,U+5C6F,U+5C9A,U+5CFB,U+5D16,U+5ED6,U+5F27,U+5F6A,U+609A,U+60DF,U+6168,U+61C8,U+6236,U+62F1,U+62FD,U+631A,U+6328,U+632B,U+6346,U+638F,U+63A0,U+63C9,U+655E,U+6590,U+6615,U+6627,U+66AE,U+66E6,U+66F0,U+67DA,U+67EC,U+6813,U+6816,U+6869,U+6893,U+68AD,U+68F5,U+6977,U+6984,U+69DB,U+6B72,U+6BB7,U+6CE3,U+6CFB,U+6D47,U+6DA1,U+6DC4,U+6E43,U+6EAF,U+6EFF,U+6F8E,U+7011,U+7063,U+7076,U+7096,U+70BA,U+70DB,U+70EF,U+7119-711A,U+7172,U+718F,U+7194,U+727A,U+72D9,U+72ED,U+7325,U+73AE,U+73BA,U+73C0,U+73FE,U+7410,U+7426,U+7455,U+7554,U+7576,U+75AE,U+75B9,U+762B,U+766B,U+7682,U+7750,U+7779,U+7784,U+77EB,U+77EE,U+78F7,U+79E9,U+7A79,U+7B1B,U+7B28,U+7BF7,U+7DB2,U+7EC5,U+7EEE,U+7F14,U+7F1A,U+7FE1,U+8087,U+809B,U+81B3,U+8231,U+830E,U+835F,U+83E9,U+849C,U+851A,U+868A,U+8718,U+874E,U+8822,U+8910,U+8944,U+8A3B,U+8BB6,U+8BBC,U+8E72,U+8F9C,U+900D,U+904B,U+904E,U+9063,U+90A2,U+90B9,U+9119,U+94F2,U+952F,U+9576-9577,U+9593,U+95F8,U+961C,U+969B,U+96A7,U+96C1,U+9716,U+9761,U+97AD,U+97E7,U+98A4,U+997A,U+9A73,U+9B44,U+9E3D,U+9ECF,U+9ED4,U+FF11-FF12,U+FFFD;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-104-wght-normal-CJT2ioDJ.woff2)format("woff2");unicode-range:U+2003,U+2193,U+2462,U+4E19,U+4E2B,U+4E36,U+4EA8,U+4ED1,U+4ED7,U+4F51,U+4F63,U+4F83,U+50E7,U+5112,U+5167,U+51A4,U+51B6,U+5239,U+5265,U+532A,U+5351,U+537F,U+5401,U+548F,U+5492,U+54AF,U+54B3,U+54BD,U+54D1,U+54DF,U+554F,U+5564,U+5598,U+5632,U+56A3,U+56E7,U+574E,U+575D-575E,U+57D4,U+584C,U+58E4,U+5937,U+5955,U+5A05,U+5A1F,U+5A49,U+5AC2,U+5C39,U+5C61,U+5D0E,U+5DE9,U+5E9A,U+5EB8,U+5F0A,U+5F13,U+5F6C,U+5F8C,U+603C,U+608D,U+611B,U+6127,U+62A0,U+62D0,U+634F,U+635E,U+63FD,U+6577,U+658B,U+65BC,U+660A,U+6643,U+6656,U+6703,U+6760,U+67AF,U+67C4,U+67E0,U+6817,U+68CD,U+690E,U+6960,U+69B4,U+6A71,U+6AAC,U+6B67,U+6BB4,U+6C55,U+6C70,U+6C82,U+6CA6,U+6CB8,U+6CBE,U+6EDE,U+6EE5,U+6F4D,U+6F84,U+6F9C,U+7115,U+7121,U+722A,U+7261,U+7272,U+7280,U+72F8,U+7504,U+754F,U+75D8,U+767C,U+76EF,U+778E,U+77BB,U+77F6,U+786B,U+78B1,U+7948,U+7985,U+79BE,U+7A83,U+7A8D,U+7EAC,U+7EEF,U+7EF8,U+7EFD,U+7F00,U+803D,U+8086,U+810A,U+8165,U+819D,U+81A8,U+8214,U+829C,U+831C,U+832B,U+8367,U+83E0,U+83F1,U+8403,U+846B,U+8475,U+84B2,U+8513,U+8574,U+85AF,U+86D9,U+86DB,U+8ACB,U+8BBD,U+8BE0-8BE1,U+8C0E,U+8D29,U+8D50,U+8D63,U+8F7F,U+9032,U+9042,U+90B1,U+90B5,U+9165,U+9175,U+94A6,U+94C5,U+950C,U+9610,U+9631,U+9699,U+973E,U+978D,U+97EC,U+97F6,U+984C,U+987D,U+9882,U+9965,U+996A,U+9972,U+9A8F,U+9AD3,U+9AE6,U+9CB8,U+9EDB,U+E600,U+E60F,U+E611,U+FF05,U+FF0B;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-105-wght-normal-BFoiJwz2.woff2)format("woff2");unicode-range:U+5E,U+2190,U+250A,U+25BC,U+25CF,U+4E56,U+4EA9,U+4F3D,U+4F6C,U+4F88,U+4FA8,U+4FCF,U+5029,U+5188,U+51F9,U+5203,U+524A,U+5256,U+529D,U+5375,U+53DB,U+541F,U+5435,U+5457,U+548B,U+54C7,U+54D4,U+54E9,U+556A,U+5589,U+55BB,U+55E8,U+55EF,U+563B,U+566A,U+576A,U+58F9,U+598D,U+599E,U+59A8,U+5A9B,U+5AE3,U+5BB0,U+5BDE,U+5C4C,U+5C60,U+5D1B,U+5DEB,U+5DF7,U+5E18,U+5F26,U+5F64,U+601C,U+6084,U+60E9,U+614C,U+6208,U+621A,U+6233,U+6254,U+62D8,U+62E6,U+62EF,U+6323,U+632A,U+633D,U+6361,U+6405,U+640F,U+6614,U+6642,U+6657,U+67A3,U+6808,U+683D,U+6850,U+6897,U+68B3,U+68B5,U+68D5,U+6A58,U+6B47,U+6B6A,U+6C28,U+6C90,U+6CA7,U+6CF5,U+6D51,U+6DA9,U+6DC7,U+6DD1,U+6E0A,U+6E5B,U+6E9C,U+6F47,U+6F6D,U+70AD,U+70F9,U+710A,U+7130,U+71AC,U+745F,U+7476,U+7490,U+7529,U+7538,U+75D2,U+7696,U+76B1,U+76FC,U+777F,U+77DC,U+789F,U+795B,U+79BD,U+79C9,U+7A3B,U+7A46,U+7AA5,U+7AD6,U+7CA5,U+7CB9,U+7CDF,U+7D6E,U+7F06,U+7F38,U+7FA1,U+7FC1,U+8015,U+803B,U+80A2,U+80AA,U+8116,U+813E,U+82BD,U+8305,U+8328,U+8346,U+846C,U+8549,U+859B,U+8611,U+8680,U+87F9,U+884D,U+8877,U+888D,U+88D4,U+898B,U+8A79,U+8A93,U+8C05,U+8C0D,U+8C26,U+8D1E,U+8D31,U+8D81,U+8E22,U+8E81,U+8F90,U+8F96,U+90CA,U+916C,U+917F,U+9187,U+918B,U+9499,U+94A9,U+9524,U+9540,U+958B,U+9600,U+9640,U+96B6,U+96C7,U+96EF,U+98D9,U+9976,U+997F,U+9A74,U+9A84,U+9C8D,U+9E26,U+9E9F,U+AD6D,U+C5B4,U+D55C,U+FF0F;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-106-wght-normal-D6uUHw3w.woff2)format("woff2");unicode-range:U+B0,U+2191,U+2460-2461,U+25C6,U+300E-300F,U+4E1B,U+4E7E,U+4ED5,U+4EF2,U+4F10,U+4F1E,U+4F50,U+4FA6,U+4FAF,U+5021,U+50F5,U+5179,U+5180,U+51D1,U+522E,U+52A3,U+52C3,U+52CB,U+5300,U+5319,U+5320,U+5349,U+5395,U+53D9,U+541E,U+5428,U+543E,U+54B1,U+54C0,U+54D2,U+570B,U+5858,U+58F6,U+5974,U+59A5,U+59E8,U+59EC,U+5A36,U+5A9A,U+5AB3,U+5B99,U+5BAA,U+5CE1,U+5D14,U+5D4C,U+5DC5,U+5DE2,U+5E99,U+5E9E,U+5F18,U+5F66,U+5F70,U+6070,U+60D5,U+60E7,U+6101,U+611A,U+61BE,U+6241,U+6252,U+626F,U+6296,U+62BC,U+62CC,U+6380,U+63A9,U+644A,U+6454,U+64A9,U+64B8,U+6500,U+6572,U+65A5,U+65A9,U+65EC,U+660F,U+6749,U+6795,U+67AB,U+68DA,U+6912,U+6BBF,U+6BEF,U+6CAB,U+6CCA,U+6CCC,U+6CFC,U+6D3D,U+6D78,U+6DEE,U+6E17,U+6E34,U+6E83,U+6EA2,U+6EB6,U+6F20,U+6FA1,U+707F,U+70D8,U+70EB,U+714C,U+714E,U+7235,U+7239,U+73CA,U+743C,U+745C,U+7624,U+763E,U+76F2,U+77DB,U+77E9,U+780D,U+7838,U+7845,U+78CA,U+796D,U+7A84,U+7AED,U+7B3C,U+7EB2,U+7F05,U+7F20,U+7F34,U+7F62,U+7FC5,U+7FD8,U+7FF0,U+800D,U+8036,U+80BA,U+80BE,U+80C0-80C1,U+8155,U+817A,U+8180,U+81E3,U+8206,U+8247,U+8270,U+8299,U+82AD,U+8304,U+8393,U+83B9,U+840D,U+8427,U+8469,U+8471,U+84C4,U+84EC,U+853D,U+8681-8682,U+8721,U+8854,U+88D5,U+88F9,U+8BC0,U+8C0A,U+8C29,U+8C2D,U+8D41,U+8DEA,U+8EB2,U+8F9F,U+903B,U+903E,U+9102,U+9493,U+94A5,U+94F8,U+95F7,U+9706,U+9709,U+9774,U+98A0,U+9E64,U+9F9F,U+E603;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-107-wght-normal-kFQzJDLH.woff2)format("woff2");unicode-range:U+200B,U+2103,U+4E18,U+4E27-4E28,U+4E38,U+4E59,U+4E8F,U+4EAD,U+4EC7,U+4FE9,U+503A,U+5085,U+5146,U+51AF,U+51F8,U+52AB,U+5339,U+535C,U+5378,U+538C,U+5398,U+53F9,U+5415,U+5475,U+54AA,U+54AC,U+54B8,U+5582,U+5760,U+5764,U+57CB,U+5835,U+5885,U+5951,U+5983,U+59DA,U+5A77,U+5B5D,U+5B5F,U+5BB5,U+5BC2,U+5BE8,U+5BFA,U+5C2C,U+5C34,U+5C41,U+5C48,U+5C65,U+5CAD,U+5E06,U+5E42,U+5EF7,U+5F17,U+5F25,U+5F6D,U+5F79,U+6028,U+6064,U+6068,U+606D,U+607C,U+6094,U+6109,U+6124,U+6247,U+626D,U+6291,U+629A,U+62AC,U+62B9,U+62FE,U+6324,U+6349,U+6367,U+6398,U+6495,U+64A4,U+64B0,U+64BC,U+64CE,U+658C,U+65ED,U+6602,U+6674,U+6691,U+66A8,U+674F,U+679A,U+67EF,U+67F4,U+680B,U+6876,U+68A8,U+6A59,U+6A61,U+6B20,U+6BC5,U+6D12,U+6D46,U+6D8C,U+6DC0,U+6E14,U+6E23,U+6F06,U+7164,U+716E,U+7199,U+71E5,U+72AC,U+742A,U+755C,U+75AB,U+75B2,U+75F4,U+7897,U+78B3,U+78C5,U+7978,U+79FD,U+7A74,U+7B4B,U+7B5B,U+7ECE,U+7ED2,U+7EE3,U+7EF3,U+7F50,U+7F55,U+7F9E,U+7FE0,U+809D,U+8106,U+814A,U+8154,U+817B,U+818F,U+81C2,U+81ED,U+821F,U+82A6,U+82D1,U+8302,U+83C7,U+83CA,U+845B,U+848B,U+84C9,U+85E4,U+86EE,U+8700,U+8774,U+8881,U+8C1C,U+8C79,U+8D2A,U+8D3C,U+8EBA,U+8F70,U+8FA9,U+8FB1,U+900A,U+9017,U+901D,U+9022,U+906E,U+946B,U+94DD,U+94ED,U+953B,U+95EF,U+95FA,U+95FD,U+96C0,U+971E,U+9753,U+9756,U+97E6,U+9881,U+9887,U+9B4F,U+9E2D,U+9F0E,U+E601-E602,U+E604-E605,U+FF5C;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-108-wght-normal-7aXvqIa2.woff2)format("woff2");unicode-range:U+24,U+4E08,U+4E43,U+4E4F,U+4EF0,U+4F2A,U+507F,U+50AC,U+50BB,U+5151,U+51BB,U+51F6,U+51FD,U+5272,U+52FE,U+5362,U+53C9,U+53D4,U+53E0,U+543B,U+54F2,U+5507,U+5524,U+558A,U+55B5,U+561B,U+56CA,U+5782,U+57C3,U+5893,U+5915,U+5949,U+5962,U+59AE,U+59DC,U+59FB,U+5BD3,U+5C38,U+5CB3,U+5D07,U+5D29,U+5DE1,U+5DFE,U+5E15,U+5ECA,U+5F2F,U+5F7C,U+5FCC,U+6021,U+609F,U+60F9,U+6108,U+6148,U+6155,U+6170,U+61D2,U+6251,U+629B,U+62AB,U+62E8,U+62F3,U+6321,U+6350,U+6566,U+659C,U+65E8,U+6635,U+6655,U+6670,U+66F9,U+6734,U+679D,U+6851,U+6905,U+6B49,U+6B96,U+6C1B,U+6C41,U+6C6A,U+6C83,U+6CF3,U+6D9B,U+6DCB,U+6E1D,U+6E20-6E21,U+6EAA,U+6EE4,U+6EE9,U+6F58,U+70E4,U+722C,U+7262,U+7267,U+72B9,U+72E0,U+72EE,U+72F1,U+7334,U+73AB,U+7433,U+7470,U+758F,U+75D5,U+764C,U+7686,U+76C6,U+76FE,U+7720,U+77E2,U+7802,U+7816,U+788D,U+7891,U+7A00,U+7A9D,U+7B52,U+7BAD,U+7C98,U+7CCA,U+7EBA,U+7EEA,U+7EF5,U+7F1D,U+7F69,U+806A,U+809A,U+80BF,U+80C3,U+81C0,U+820C,U+82AC,U+82AF,U+82CD,U+82D7,U+838E,U+839E,U+8404,U+84B8,U+852C,U+8587,U+8650,U+8679,U+86C7,U+8702,U+87BA,U+886B-886C,U+8870,U+8C10,U+8C23,U+8C6B,U+8D3E,U+8D4B-8D4C,U+8D64,U+8D6B,U+8D74,U+8E29,U+8F69,U+8F74,U+8FB0,U+8FDF,U+901B,U+9038,U+9093,U+9171,U+9489,U+94AE,U+94C3,U+9508,U+9510,U+9601,U+9614,U+964C,U+9675,U+971C,U+97F5,U+9888,U+98D8,U+9971,U+9AA4,U+9E3F,U+9E45,U+9E4F,U+9E70,U+9F7F,U+E715;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-109-wght-normal-CnjNbNmw.woff2)format("woff2");unicode-range:U+A5,U+2192,U+2605,U+4E11,U+4E22,U+4E32,U+4F0D,U+4F0F,U+4F69,U+4FF1,U+50B2,U+5154,U+51DD,U+51F0,U+5211,U+5269,U+533F,U+5366-5367,U+5389,U+5413,U+5440,U+5446,U+5561,U+574A,U+5751,U+57AB,U+5806,U+5821,U+582A,U+58F3,U+5938,U+5948,U+5978,U+59D1,U+5A03,U+5A07,U+5AC1,U+5ACC,U+5AE9,U+5BB4,U+5BC4,U+5C3F,U+5E3D,U+5E7D,U+5F92,U+5FAA,U+5FE0,U+5FFD,U+6016,U+60A0,U+60DC,U+60E8,U+614E,U+6212,U+6284,U+62C6,U+62D3-62D4,U+63F4,U+642C,U+6478,U+6491-6492,U+64E6,U+6591,U+65A4,U+664B,U+6735,U+6746,U+67F1,U+67F3,U+6842,U+68AF,U+68C9,U+68CB,U+6A31,U+6B3A,U+6BC1,U+6C0F,U+6C27,U+6C57,U+6CC4,U+6CE5,U+6D2A,U+6D66,U+6D69,U+6DAF,U+6E58,U+6ECB,U+6EF4,U+707E,U+7092,U+70AB,U+71D5,U+7275,U+7384,U+73B2,U+7434,U+74E6,U+74F7,U+75BC,U+76C8,U+76D0,U+7709,U+77AC,U+7855,U+78A7,U+78C1,U+7A77,U+7B79,U+7C92,U+7CAE,U+7CD5,U+7EA4,U+7EB5,U+7EBD,U+7F5A,U+7FD4,U+7FFC,U+8083,U+8096,U+80A0,U+80D6,U+80DE,U+8102,U+8109,U+810F,U+8179,U+8292,U+82B3,U+8352,U+8361,U+83CC,U+841D,U+8461,U+8482,U+8521,U+857E,U+85AA,U+866B,U+8776,U+8896,U+889C,U+88F8,U+8A9E,U+8BC8,U+8BF8,U+8C0B,U+8C28,U+8D2B,U+8D2F,U+8D37,U+8D3A,U+8D54,U+8DC3,U+8DCC,U+8DF5,U+8E0F,U+8E48,U+8F86,U+8F88,U+8F9E,U+8FC1,U+8FC8,U+8FEB,U+9065,U+90A6,U+90AA,U+90BB,U+90C1,U+94DC,U+9521,U+9676,U+96D5,U+970D,U+9897,U+997C,U+9A70,U+9A76,U+9A9A,U+9AD4,U+9E23,U+9E7F,U+9F3B,U+E675,U+E6B9,U+FFE5;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-110-wght-normal-D2JBr045.woff2)format("woff2");unicode-range:U+300C-300D,U+4E54,U+4E58,U+4E95,U+4EC1,U+4F2F,U+4F38,U+4FA3,U+4FCA,U+503E,U+5141,U+5144,U+517C,U+51CC,U+51ED,U+5242,U+52B2,U+52D2,U+52E4,U+540A,U+5439,U+5448,U+5496,U+54ED,U+5565,U+5761,U+5766,U+58EE,U+593A,U+594B,U+594F,U+5954,U+5996,U+59C6,U+59FF,U+5B64,U+5BFF,U+5C18,U+5C1D,U+5C97,U+5CA9,U+5CB8,U+5E9F,U+5EC9,U+5F04,U+5F7B,U+5FA1,U+5FCD,U+6012,U+60A6,U+60AC,U+60B2,U+60EF,U+626E,U+6270,U+6276,U+62D6,U+62DC,U+6316,U+632F,U+633A,U+6355,U+63AA,U+6447,U+649E,U+64C5,U+654C,U+65C1,U+65CB,U+65E6,U+6606,U+6731,U+675C,U+67CF,U+67DC,U+6846,U+6B8B,U+6BEB,U+6C61,U+6C88,U+6CBF,U+6CDB,U+6CEA,U+6D45,U+6D53,U+6D74,U+6D82,U+6DA8,U+6DB5,U+6DEB,U+6EDA,U+6EE8,U+6F0F,U+706D,U+708E,U+70AE,U+70BC,U+70C2,U+70E6,U+7237-7238,U+72FC,U+730E,U+731B,U+739B,U+73BB,U+7483,U+74DC,U+74F6,U+7586,U+7626,U+775B,U+77FF,U+788E,U+78B0,U+7956,U+7965,U+79E6,U+7AF9,U+7BEE,U+7C97,U+7EB1,U+7EB7,U+7ED1,U+7ED5,U+7F6A,U+7F72,U+7FBD,U+8017,U+808C,U+80A9,U+80C6,U+80CE,U+8150,U+8170,U+819C,U+820D,U+8230,U+8239,U+827E,U+8377,U+8389,U+83B2,U+8428,U+8463,U+867E,U+88C2,U+88D9,U+8986,U+8BCA,U+8BDE,U+8C13,U+8C8C,U+8D21,U+8D24,U+8D56,U+8D60,U+8D8B,U+8DB4,U+8E2A,U+8F68,U+8F89,U+8F9B,U+8FA8,U+8FBD,U+9003,U+90CE,U+90ED,U+9189,U+94BB,U+9505,U+95F9,U+963B,U+9655,U+966A,U+9677,U+96FE,U+9896,U+99A8,U+9A71,U+9A82,U+9A91,U+9B45,U+9ECE,U+9F20,U+FEFF,U+FF0D;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-111-wght-normal-ClFr5QXM.woff2)format("woff2");unicode-range:U+4E4C,U+4E88,U+4EA1,U+4EA6,U+4ED3-4ED4,U+4EFF,U+4F30,U+4FA7,U+4FC4,U+4FD7,U+500D,U+504F,U+5076-5077,U+517D,U+5192,U+51C9,U+51EF,U+5238,U+5251,U+526A,U+52C7,U+52DF,U+52FF,U+53A6,U+53A8,U+53EC,U+5410,U+559D,U+55B7,U+5634,U+573E,U+5783,U+585E,U+586B,U+58A8,U+5999,U+59D3,U+5A1C,U+5A46,U+5B54-5B55,U+5B85,U+5B8B,U+5B8F,U+5BBF,U+5BD2,U+5C16,U+5C24,U+5E05,U+5E45,U+5E7C,U+5E84,U+5F03,U+5F1F,U+5F31,U+5F84,U+5F90,U+5FBD,U+5FC6,U+5FD9,U+5FE7,U+6052,U+6062,U+6089,U+60A3,U+60D1,U+6167,U+622A,U+6234,U+624E,U+6269,U+626C,U+62B5,U+62D2,U+6325,U+63E1,U+643A,U+6446,U+6562,U+656C,U+65E2,U+65FA,U+660C,U+6628,U+6652,U+6668,U+6676,U+66FC,U+66FF,U+6717,U+676D,U+67AA,U+67D4,U+6843,U+6881,U+68D2,U+695A,U+69FD,U+6A2A,U+6B8A,U+6C60,U+6C64,U+6C9F,U+6CAA,U+6CC9,U+6CE1,U+6CFD,U+6D1B,U+6D1E,U+6D6E,U+6DE1,U+6E10,U+6E7F,U+6F5C,U+704C,U+7070,U+7089,U+70B8,U+718A,U+71C3,U+723D,U+732A,U+73CD,U+7518,U+756A,U+75AF,U+75BE,U+75C7,U+76D2,U+76D7,U+7763,U+78E8,U+795D,U+79DF,U+7C4D,U+7D2F,U+7EE9,U+7F13,U+7F8A,U+8000,U+8010,U+80AF,U+80F6,U+80F8,U+8212,U+8273,U+82F9,U+83AB,U+83B1,U+83F2,U+8584,U+871C,U+8861,U+888B,U+88C1,U+88E4,U+8BD1,U+8BF1,U+8C31,U+8D5A,U+8D75-8D76,U+8DE8,U+8F85,U+8FA3,U+8FC5,U+9006,U+903C,U+904D,U+9075,U+9178,U+9274,U+950B,U+9526,U+95EA,U+9636,U+9686,U+978B,U+987F,U+9A7E,U+9B42,U+9E1F,U+9EA6,U+9F13,U+9F84,U+FF5E;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-112-wght-normal-CiZxJMyY.woff2)format("woff2");unicode-range:U+23,U+3D,U+4E01,U+4E39,U+4E73,U+4ECD,U+4ED9,U+4EEA,U+4F0A,U+4F1F,U+4F5B,U+4FA0,U+4FC3,U+501F,U+50A8,U+515A,U+5175,U+51A0,U+51C0,U+51E1,U+51E4,U+5200,U+520A,U+5224,U+523A,U+52AA,U+52B1,U+52B3,U+5348,U+5353,U+5360,U+5371,U+5377,U+539A,U+541B,U+5434,U+547C,U+54E6,U+5510,U+5531,U+5609,U+56F0,U+56FA,U+5733,U+574F,U+5851,U+5854,U+5899,U+58C1,U+592E,U+5939,U+5976,U+5986,U+59BB,U+5A18,U+5A74,U+5B59,U+5B87,U+5B97,U+5BA0,U+5BAB,U+5BBD-5BBE,U+5BF8,U+5C0A,U+5C3A,U+5C4A,U+5E16,U+5E1D,U+5E2D,U+5E8A,U+6015,U+602A,U+6050,U+6069,U+6162,U+61C2,U+6293,U+6297,U+62B1,U+62BD,U+62DF,U+62FC,U+6302,U+635F,U+638C,U+63ED,U+6458,U+6469,U+6563,U+6620,U+6653,U+6696-6697,U+66DD,U+675F,U+676F-6770,U+67D0,U+67D3,U+684C,U+6865,U+6885,U+68B0,U+68EE,U+690D,U+6B23,U+6B32,U+6BD5,U+6C89,U+6D01,U+6D25,U+6D89,U+6DA6,U+6DB2,U+6DF7,U+6ED1,U+6F02,U+70C8,U+70DF,U+70E7,U+7126,U+7236,U+7259,U+731C,U+745E,U+74E3,U+751A,U+751C,U+7532,U+7545,U+75DB,U+7761,U+7A0D,U+7B51,U+7CA4,U+7CD6,U+7D2B,U+7EA0,U+7EB9,U+7ED8,U+7F18,U+7F29,U+8033,U+804A,U+80A4-80A5,U+80E1,U+817F,U+829D,U+82E6,U+8336,U+840C,U+8499,U+864E,U+8651,U+865A,U+88AD,U+89E6,U+8BD7,U+8BFA,U+8C37,U+8D25,U+8D38,U+8DDD,U+8FEA,U+9010,U+9012,U+906D,U+907F-9080,U+90D1,U+9177,U+91CA,U+94FA,U+9501,U+9634-9635,U+9694,U+9707,U+9738,U+9769,U+9A7B,U+9A97,U+9AA8,U+9B3C,U+9C81,U+9ED8;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-113-wght-normal-OgQXOX6x.woff2)format("woff2");unicode-range:U+26,U+3C,U+D7,U+4E4E,U+4E61,U+4E71,U+4EBF,U+4F26,U+5012,U+51AC,U+51B0,U+51B2,U+51B7,U+5218,U+521A,U+5220,U+5237,U+523B,U+526F,U+5385,U+53BF,U+53E5,U+53EB,U+53F3,U+53F6,U+5409,U+5438,U+54C8,U+54E5,U+552F,U+5584,U+5706,U+5723,U+5750,U+575A,U+5987-5988,U+59B9,U+59D0,U+59D4,U+5B88,U+5B9C,U+5BDF,U+5BFB,U+5C01,U+5C04,U+5C3E,U+5C4B,U+5C4F,U+5C9B,U+5CF0,U+5DDD,U+5DE6,U+5DE8,U+5E01,U+5E78,U+5E7B,U+5E9C,U+5EAD,U+5EF6,U+5F39,U+5FD8,U+6000,U+6025,U+604B,U+6076,U+613F,U+6258,U+6263,U+6267,U+6298,U+62A2,U+62E5,U+62EC,U+6311,U+6377,U+6388-6389,U+63A2,U+63D2,U+641E,U+642D,U+654F,U+6551,U+6597,U+65CF,U+65D7,U+65E7,U+6682,U+66F2,U+671D,U+672B,U+6740,U+6751,U+6768,U+6811,U+6863,U+6982,U+6BD2,U+6CF0,U+6D0B,U+6D17,U+6D59,U+6DD8,U+6DFB,U+6E7E,U+6F6E,U+6FB3,U+706F,U+719F,U+72AF,U+72D0,U+72D7,U+732B,U+732E,U+7389,U+73E0,U+7530,U+7687,U+76D6,U+76DB,U+7840,U+786C,U+79CB,U+79D2,U+7A0E,U+7A33,U+7A3F,U+7A97,U+7ADE-7ADF,U+7B26,U+7E41,U+7EC3,U+7F3A,U+8089,U+80DC,U+811A,U+8131,U+8138,U+821E,U+8349,U+83DC,U+8457,U+867D,U+86CB,U+8A89,U+8BA8,U+8BAD,U+8BEF,U+8BFE,U+8C6A,U+8D1D,U+8D4F,U+8D62,U+8DD1,U+8DF3,U+8F6E,U+8FF9,U+900F,U+9014,U+9057,U+9192,U+91CE,U+9488,U+94A2,U+9547,U+955C,U+95F2,U+9644,U+964D,U+96C4-96C5,U+96E8,U+96F6-96F7,U+9732,U+9759,U+9760,U+987A,U+989C,U+9910,U+996D-996E,U+9B54,U+9E21,U+9EBB,U+9F50;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-114-wght-normal-CRH9SDZu.woff2)format("woff2");unicode-range:U+7E,U+2026,U+4E03,U+4E25,U+4E30,U+4E34,U+4E45,U+4E5D,U+4E89,U+4EAE,U+4ED8,U+4F11,U+4F19,U+4F24,U+4F34,U+4F59,U+4F73,U+4F9D,U+4FB5,U+5047,U+505C,U+5170,U+519C,U+51CF,U+5267,U+5356,U+5374,U+5382,U+538B,U+53E6,U+5426,U+542B,U+542F,U+5462,U+5473,U+554A,U+5566,U+5708,U+571F,U+5757,U+57DF,U+57F9,U+5802,U+590F,U+591C,U+591F,U+592B,U+5965,U+5979,U+5A01,U+5A5A,U+5B63,U+5B69,U+5B81,U+5BA1,U+5BA3,U+5C3C,U+5C42,U+5C81,U+5DE7,U+5DEE,U+5E0C,U+5E10,U+5E55,U+5E86,U+5E8F,U+5EA7,U+5F02,U+5F52,U+5F81,U+5FF5,U+60CA,U+60E0,U+6279,U+62C5,U+62FF,U+63CF,U+6444,U+64CD,U+653B,U+65BD,U+65E9,U+665A,U+66B4,U+66FE,U+6728,U+6742,U+677E,U+67B6,U+680F,U+68A6,U+68C0,U+699C,U+6B4C,U+6B66,U+6B7B,U+6BCD,U+6BDB,U+6C38,U+6C47,U+6C49,U+6CB3,U+6CB9,U+6CE2,U+6D32,U+6D3E,U+6D4F,U+6E56,U+6FC0,U+7075,U+7206,U+725B,U+72C2,U+73ED,U+7565,U+7591,U+7597,U+75C5,U+76AE,U+76D1,U+76DF,U+7834,U+7968,U+7981,U+79C0,U+7A7F,U+7A81,U+7AE5,U+7B14,U+7C89,U+7D27,U+7EAF,U+7EB3,U+7EB8,U+7EC7,U+7EE7,U+7EFF,U+7F57,U+7FFB,U+805A,U+80A1,U+822C,U+82CF,U+82E5,U+8363,U+836F,U+84DD,U+878D,U+8840,U+8857,U+8863,U+8865,U+8B66,U+8BB2,U+8BDA,U+8C01,U+8C08,U+8C46,U+8D1F,U+8D35,U+8D5B,U+8D5E,U+8DA3,U+8DDF,U+8F93,U+8FDD,U+8FF0,U+8FF7,U+8FFD,U+9000,U+9047,U+9152,U+949F,U+94C1,U+94F6,U+9646,U+9648,U+9669,U+969C,U+96EA,U+97E9,U+987B,U+987E,U+989D,U+9970,U+9986,U+9C7C,U+9C9C;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-115-wght-normal-BN__2iBG.woff2)format("woff2");unicode-range:U+25,U+4E14,U+4E1D,U+4E3D,U+4E49,U+4E60,U+4E9A,U+4EB2,U+4EC5,U+4EFD,U+4F3C,U+4F4F,U+4F8B,U+4FBF,U+5019,U+5145,U+514B,U+516B,U+516D,U+5174,U+5178,U+517B,U+5199,U+519B,U+51B3,U+51B5,U+5207,U+5212,U+5219,U+521D,U+52BF,U+533B,U+5343,U+5347,U+534A,U+536B,U+5370,U+53E4,U+53F2,U+5403,U+542C,U+547D,U+54A8,U+54CD,U+54EA,U+552E,U+56F4,U+5747,U+575B,U+5883,U+589E,U+5931,U+5947,U+5956-5957,U+5A92,U+5B83,U+5BA4,U+5BB3,U+5BCC,U+5C14,U+5C1A,U+5C3D,U+5C40,U+5C45,U+5C5E,U+5DF4,U+5E72,U+5E95,U+5F80,U+5F85,U+5FB7,U+5FD7,U+601D,U+626B,U+627F,U+62C9,U+62CD,U+6309,U+63A7,U+6545,U+65AD,U+65AF,U+65C5,U+666E,U+667A,U+670B,U+671B,U+674E,U+677F,U+6781,U+6790,U+6797,U+6821,U+6838-6839,U+697C,U+6B27,U+6B62,U+6BB5,U+6C7D,U+6C99,U+6D4B,U+6D4E,U+6D6A,U+6E29,U+6E2F,U+6EE1,U+6F14,U+6F2B,U+72B6,U+72EC,U+7387,U+7533,U+753B,U+76CA,U+76D8,U+7701,U+773C,U+77ED,U+77F3,U+7814,U+793C,U+79BB,U+79C1,U+79D8,U+79EF,U+79FB,U+7A76,U+7B11,U+7B54,U+7B56,U+7B97,U+7BC7,U+7C73,U+7D20,U+7EAA,U+7EC8,U+7EDD,U+7EED,U+7EFC,U+7FA4,U+804C,U+8058,U+80CC,U+8111,U+817E,U+826F,U+8303,U+843D,U+89C9,U+89D2,U+8BA2,U+8BBF,U+8BC9,U+8BCD,U+8BE6,U+8C22,U+8C61,U+8D22,U+8D26-8D27,U+8D8A,U+8F6F,U+8F7B,U+8F83,U+8F91,U+8FB9,U+8FD4,U+8FDC,U+9002,U+94B1,U+9519,U+95ED,U+961F,U+9632-9633,U+963F,U+968F-9690,U+96BE,U+9876,U+9884,U+98DE,U+9988,U+9999,U+9EC4,U+FF1B;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-116-wght-normal-vdFVzbO2.woff2)format("woff2");unicode-range:U+2B,U+40,U+3000,U+300A-300B,U+4E16,U+4E66,U+4E70,U+4E91-4E92,U+4E94,U+4E9B,U+4EC0,U+4ECA,U+4F01,U+4F17-4F18,U+4F46,U+4F4E,U+4F9B,U+4FEE,U+503C,U+5065,U+50CF,U+513F,U+5148,U+518D,U+51C6,U+51E0,U+5217,U+529E-529F,U+5341,U+534F,U+5361,U+5386,U+53C2,U+53C8,U+53CC,U+53D7-53D8,U+53EA,U+5404,U+5411,U+5417,U+5427,U+5468,U+559C,U+5668,U+56E0,U+56E2,U+56ED,U+5740,U+57FA,U+58EB,U+5904,U+592A,U+59CB,U+5A31,U+5B58,U+5B9D,U+5BC6,U+5C71,U+5DDE,U+5DF1,U+5E08,U+5E26,U+5E2E,U+5E93,U+5E97,U+5EB7,U+5F15,U+5F20,U+5F3A,U+5F62,U+5F69,U+5F88,U+5F8B,U+5FC5,U+600E,U+620F,U+6218,U+623F,U+627E,U+628A,U+62A4,U+62DB,U+62E9,U+6307,U+6362,U+636E,U+64AD,U+6539,U+653F,U+6548,U+6574,U+6613,U+6625,U+663E,U+666F,U+672A,U+6750,U+6784,U+6A21,U+6B3E,U+6B65,U+6BCF,U+6C11,U+6C5F,U+6DF1,U+706B,U+7167,U+724C,U+738B,U+73A9,U+73AF,U+7403,U+7537,U+754C,U+7559,U+767D,U+7740,U+786E,U+795E,U+798F,U+79F0,U+7AEF,U+7B7E,U+7BB1,U+7EA2,U+7EA6,U+7EC4,U+7EC6,U+7ECD,U+7EDC,U+7EF4,U+8003,U+80B2,U+81F3-81F4,U+822A,U+827A,U+82F1,U+83B7,U+8425,U+89C2,U+89C8,U+8BA9,U+8BB8,U+8BC6,U+8BD5,U+8BE2,U+8BE5,U+8BED,U+8C03,U+8D23,U+8D2D,U+8D34,U+8D70,U+8DB3,U+8FBE,U+8FCE,U+8FD1,U+8FDE,U+9001,U+901F-9020,U+90A3,U+914D,U+91C7,U+94FE,U+9500,U+952E,U+9605,U+9645,U+9662,U+9664,U+9700,U+9752,U+975E,U+97F3,U+9879,U+9886,U+98DF,U+9A6C,U+9A8C,U+9ED1,U+9F99;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-117-wght-normal-Dsz3vkzU.woff2)format("woff2");unicode-range:U+4E,U+201C-201D,U+3010-3011,U+4E07,U+4E1C,U+4E24,U+4E3E,U+4E48,U+4E50,U+4E5F,U+4E8B-4E8C,U+4EA4,U+4EAB-4EAC,U+4ECB,U+4ECE,U+4ED6,U+4EE3,U+4EF6-4EF7,U+4EFB,U+4F20,U+4F55,U+4F7F,U+4FDD,U+505A,U+5143,U+5149,U+514D,U+5171,U+5177,U+518C,U+51FB,U+521B,U+5229,U+522B,U+52A9,U+5305,U+5317,U+534E,U+5355,U+5357,U+535A,U+5373,U+539F,U+53BB,U+53CA,U+53CD,U+53D6,U+53E3,U+53F0,U+5458,U+5546,U+56DB,U+573A,U+578B,U+57CE,U+58F0,U+590D,U+5934,U+5973,U+5B57,U+5B8C,U+5B98,U+5BB9,U+5BFC,U+5C06,U+5C11,U+5C31,U+5C55,U+5DF2,U+5E03,U+5E38,U+5E76,U+5E94,U+5EFA,U+5F71,U+5F97,U+5FEB,U+6001,U+603B,U+60F3,U+611F,U+6216,U+624D,U+6253,U+6295,U+6301,U+6392,U+641C,U+652F,U+653E,U+6559,U+6599,U+661F,U+671F,U+672F,U+6761,U+67E5,U+6807,U+6837,U+683C,U+6848,U+6B22,U+6B64,U+6BD4,U+6C14,U+6C34,U+6C42,U+6CA1,U+6D41,U+6D77,U+6D88,U+6E05,U+6E38,U+6E90,U+7136,U+7231,U+7531,U+767E,U+76EE,U+76F4,U+771F,U+7801,U+793A,U+79CD,U+7A0B,U+7A7A,U+7ACB,U+7AE0,U+7B2C,U+7B80,U+7BA1,U+7CBE,U+7D22,U+7EA7,U+7ED3,U+7ED9,U+7EDF,U+7F16,U+7F6E,U+8001,U+800C,U+8272,U+8282,U+82B1,U+8350,U+88AB,U+88C5,U+897F,U+89C1,U+89C4,U+89E3,U+8A00,U+8BA1,U+8BA4,U+8BAE-8BB0,U+8BBE,U+8BC1,U+8BC4,U+8BFB,U+8D28,U+8D39,U+8D77,U+8D85,U+8DEF,U+8EAB,U+8F66,U+8F6C,U+8F7D,U+8FD0,U+9009,U+90AE,U+90FD,U+91CC-91CD,U+91CF,U+95FB,U+9650,U+96C6,U+9891,U+98CE,U+FF1F;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-118-wght-normal-BPEb0gM9.woff2)format("woff2");unicode-range:U+D,U+3E,U+5F,U+7C,U+A0,U+A9,U+4E09-4E0B,U+4E0D-4E0E,U+4E13,U+4E1A,U+4E2A,U+4E3A-4E3B,U+4E4B,U+4E86,U+4E8E,U+4EA7,U+4EBA,U+4EE4-4EE5,U+4EEC,U+4F1A,U+4F4D,U+4F53,U+4F5C,U+4F60,U+4FE1,U+5165,U+5168,U+516C,U+5173,U+5176,U+5185,U+51FA,U+5206,U+5230,U+5236,U+524D,U+529B,U+52A0-52A1,U+52A8,U+5316,U+533A,U+53CB,U+53D1,U+53EF,U+53F7-53F8,U+5408,U+540C-540E,U+544A,U+548C,U+54C1,U+56DE,U+56FD-56FE,U+5728,U+5730,U+5907,U+5916,U+591A,U+5927,U+5929,U+597D,U+5982,U+5B50,U+5B66,U+5B89,U+5B9A,U+5B9E,U+5BA2,U+5BB6,U+5BF9,U+5C0F,U+5DE5,U+5E02,U+5E73-5E74,U+5E7F,U+5EA6,U+5F00,U+5F0F,U+5F53,U+5F55,U+5FAE,U+5FC3,U+6027,U+606F,U+60A8,U+60C5,U+610F,U+6210-6211,U+6237,U+6240,U+624B,U+6280,U+62A5,U+63A5,U+63A8,U+63D0,U+6536,U+6570,U+6587,U+65B9,U+65E0,U+65F6,U+660E,U+662D,U+662F,U+66F4,U+6700,U+670D,U+672C,U+673A,U+6743,U+6765,U+679C,U+682A,U+6B21,U+6B63,U+6CBB,U+6CD5,U+6CE8,U+6D3B,U+70ED,U+7247-7248,U+7269,U+7279,U+73B0,U+7406,U+751F,U+7528,U+7535,U+767B,U+76F8,U+770B,U+77E5,U+793E,U+79D1,U+7AD9,U+7B49,U+7C7B,U+7CFB,U+7EBF,U+7ECF,U+7F8E,U+8005,U+8054,U+80FD,U+81EA,U+85CF,U+884C,U+8868,U+8981,U+89C6,U+8BBA,U+8BDD,U+8BF4,U+8BF7,U+8D44,U+8FC7,U+8FD8-8FD9,U+8FDB,U+901A,U+9053,U+90E8,U+91D1,U+957F,U+95E8,U+95EE,U+95F4,U+9762,U+9875,U+9898,U+9996,U+9AD8,U+FF01,U+FF08-FF09;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-119-wght-normal-BfzSEbFz.woff2)format("woff2");unicode-range:U+20-22,U+27-2A,U+2C-3B,U+3F,U+41-4D,U+4F-5D,U+61-7B,U+7D,U+AB,U+AE,U+B2,U+B7,U+BB,U+DF-E5,U+E7-EA,U+EC-ED,U+F1-F4,U+F6,U+F9-FA,U+FC,U+101,U+103,U+113,U+12B,U+148,U+14D,U+16B,U+1CE,U+1D0,U+300-301,U+1EBF,U+1EC7,U+2013-2014,U+2022,U+2027,U+2039-203A,U+2122,U+3001-3002,U+3042,U+3044,U+3046,U+3048,U+304A-3055,U+3057,U+3059-305B,U+305D,U+305F-3061,U+3063-306B,U+306D-3073,U+3075-3076,U+3078-3079,U+307B,U+307E-307F,U+3081-308D,U+308F,U+3092-3093,U+30A1-30A4,U+30A6-30BB,U+30BD,U+30BF-30C1,U+30C3-30C4,U+30C6-30CB,U+30CD-30D7,U+30D9-30E1,U+30E3-30E7,U+30E9-30ED,U+30EF,U+30F3,U+30FB-30FC,U+3127,U+4E00,U+4E2D,U+65B0,U+65E5,U+6708-6709,U+70B9,U+7684,U+7F51,U+FF0C,U+FF0E,U+FF1A;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-cyrillic-wght-normal-CRA5_Pf1.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-vietnamese-wght-normal-y5SU35Rl.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-latin-ext-wght-normal-CqPqLCfe.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans SC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-sc-latin-wght-normal-DYAKOyvl.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;ascent-override:100%;descent-override:20%;line-gap-override:0%}
diff --git a/luci-app-honk/root/etc/honk/doona/assets/fonts-tc-B6Zt5HQN.css b/luci-app-honk/root/etc/honk/doona/assets/fonts-tc-B6Zt5HQN.css
deleted file mode 100644
index c70fa7f68..000000000
--- a/luci-app-honk/root/etc/honk/doona/assets/fonts-tc-B6Zt5HQN.css
+++ /dev/null
@@ -1 +0,0 @@
-@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.0.woff2)format("woff2");unicode-range:U+1F921-1F930,U+1F932-1F935,U+1F937-1F939,U+1F940-1F944,U+1F947-1F94A,U+1F95?,U+1F962-1F967,U+1F969-1F96A,U+1F980-1F981,U+1F984-1F98D,U+1F990-1F992,U+1F994-1F996,U+1F9C0,U+1F9D0,U+1F9D2,U+1F9D4,U+1F9D6,U+1F9D8,U+1F9DA,U+1F9DC-1F9DD,U+1F9DF-1F9E2,U+1F9E5-1F9E6,U+20024,U+20487,U+20779,U+20C41,U+20C78,U+20D71,U+20E98,U+20EF9,U+2107B,U+210C1,U+22C51,U+233B4,U+24A12,U+2512B,U+2546E,U+25683,U+267CC,U+269F2,U+27657,U+282E2,U+2898D,U+29D5A,U+F0001-F0005,U+F0019,U+F009B,U+F0101-F0104,U+F012B,U+F01BA,U+F01D6,U+F0209,U+F0217,U+F0223-F0224,U+FC355,U+FE327,U+FE517,U+FEB97,U+FFFB4;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.6.woff2)format("woff2");unicode-range:U+FF78-FF7E,U+FF80-FF86,U+FF89-FF94,U+FF97-FF9E,U+FFB9,U+FFE0-FFE3,U+FFE9,U+FFEB,U+FFED,U+FFFC,U+1D7C7,U+1F004,U+1F0CF,U+1F141-1F142,U+1F150,U+1F154,U+1F158,U+1F15B,U+1F15D-1F15E,U+1F162-1F163,U+1F170-1F171,U+1F174,U+1F177-1F178,U+1F17D-1F17F,U+1F192-1F195,U+1F197-1F19A,U+1F1E6-1F1F5,U+1F1F7-1F1FF,U+1F21A,U+1F22F,U+1F232-1F237,U+1F239-1F23A,U+1F250-1F251,U+1F300,U+1F302-1F319;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.7.woff2)format("woff2");unicode-range:U+FA0A,U+FA0C,U+FA11,U+FA17,U+FA19,U+FA1B,U+FA1D,U+FA26,U+FA2C,U+FB01,U+FDFC,U+FE0E,U+FE33-FE36,U+FE38-FE44,U+FE49-FE51,U+FE54,U+FE56-FE57,U+FE59-FE5C,U+FE5F-FE6A,U+FE8E,U+FE92-FE93,U+FEAE,U+FECB-FECC,U+FEE0,U+FEEC,U+FEF3,U+FF04,U+FF07,U+FF26-FF2C,U+FF31-FF32,U+FF35-FF37,U+FF39-FF3A,U+FF3C,U+FF3E-FF5B,U+FF5D,U+FF61-FF65,U+FF67-FF68,U+FF6A,U+FF6C-FF77;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.8.woff2)format("woff2");unicode-range:U+F78A-F78C,U+F78E,U+F792-F796,U+F798,U+F79C,U+F7F5,U+F812,U+F815,U+F876,U+F8F5,U+F8F8,U+F8FF,U+F901-F902,U+F904,U+F906,U+F909-F90A,U+F90F,U+F914,U+F918-F919,U+F91B,U+F91D,U+F91F,U+F923,U+F925,U+F92D-F92F,U+F934,U+F937-F938,U+F93D,U+F93F,U+F941,U+F949,U+F94C,U+F94E-F94F,U+F95A,U+F95D-F95E,U+F961-F963,U+F965-F970,U+F974,U+F976-F97A,U+F97C,U+F97E-F97F,U+F981,U+F983,U+F988,U+F98A,U+F98C,U+F98E,U+F996-F997,U+F999-F99A,U+F99C,U+F99F-F9A0,U+F9A3,U+F9A8,U+F9AD,U+F9B2-F9B6,U+F9B9-F9BA,U+F9BD-F9BE,U+F9C1,U+F9C4,U+F9C7,U+F9CA,U+F9CD,U+F9D0-F9D1,U+F9D3-F9D4,U+F9D7-F9D8,U+F9DC-F9DD,U+F9DF-F9E1,U+F9E4,U+F9E8-F9EA,U+F9F4,U+F9F6-F9F7,U+F9F9-F9FA,U+F9FC-FA01,U+FA03-FA04,U+FA06,U+FA08-FA09;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.19.woff2)format("woff2");unicode-range:U+9EE5,U+9EE7,U+9EEE,U+9EF3-9EF4,U+9EF6-9EF7,U+9EF9,U+9EFB-9EFD,U+9EFF,U+9F07-9F09,U+9F10,U+9F14-9F15,U+9F19,U+9F22,U+9F29,U+9F2C,U+9F2F,U+9F31,U+9F34,U+9F37,U+9F39,U+9F3D-9F3E,U+9F41,U+9F4C-9F50,U+9F54,U+9F57,U+9F59,U+9F5C,U+9F5F-9F60,U+9F62-9F63,U+9F66-9F67,U+9F6A,U+9F6C,U+9F72,U+9F76-9F77,U+9F7F,U+9F84-9F85,U+9F88,U+9F8E,U+9F91,U+9F94-9F96,U+9F98,U+9F9A-9F9B,U+9F9F-9FA0,U+9FA2,U+9FA4,U+9FF?,U+A1F4,U+A4B0-A4B1,U+A4B3,U+A9C1-A9C2,U+AA31,U+AB34,U+AC00-AC01,U+AC04,U+AC08,U+AC10-AC11,U+AC13-AC16,U+AC19,U+AC1C-AC1D,U+AC24,U+AC70-AC71,U+AC74,U+AC77-AC78,U+AC80-AC81,U+AC83,U+AC8C,U+AC90,U+ACA0,U+ACA8-ACA9,U+ACAC,U+ACB0,U+ACB8-ACB9,U+ACBC-ACBD,U+ACC1,U+ACC4,U+ACE0-ACE1,U+ACE4,U+ACE8,U+ACF0-ACF1,U+ACF3,U+ACF5,U+ACFC;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.20.woff2)format("woff2");unicode-range:U+9D77,U+9D7A,U+9D7E,U+9D87,U+9D89,U+9D8F,U+9D91-9D93,U+9D96,U+9D98,U+9D9A,U+9DA1-9DA2,U+9DA5,U+9DA9,U+9DAB-9DAC,U+9DB1-9DB2,U+9DB5,U+9DB9-9DBC,U+9DBF-9DC2,U+9DC4,U+9DC7-9DC9,U+9DD3,U+9DD6,U+9DD9-9DDA,U+9DDE-9DDF,U+9DE2,U+9DE5-9DE6,U+9DE8,U+9DEF-9DF0,U+9DF2-9DF4,U+9DF8,U+9DFA,U+9DFD,U+9DFF,U+9E02,U+9E07,U+9E0A,U+9E11,U+9E15,U+9E18,U+9E1A-9E1B,U+9E1D-9E1E,U+9E20-9E23,U+9E25-9E26,U+9E2D,U+9E2F,U+9E33,U+9E35,U+9E3D-9E3F,U+9E42-9E43,U+9E45,U+9E48-9E4A,U+9E4C,U+9E4F,U+9E51,U+9E55,U+9E64,U+9E66,U+9E6B,U+9E6D-9E6E,U+9E70,U+9E73,U+9E75,U+9E78,U+9E80-9E83,U+9E87-9E88,U+9E8B-9E8C,U+9E90-9E91,U+9E93,U+9E96,U+9E9D,U+9EA1,U+9EA4,U+9EA6,U+9EA9-9EAB,U+9EAD,U+9EAF,U+9EB4,U+9EB7-9EBA,U+9EBE-9EBF,U+9ECC-9ECD,U+9ED0,U+9ED2,U+9ED4,U+9ED9-9EDA,U+9EDC-9EDD,U+9EDF-9EE0,U+9EE2;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.21.woff2)format("woff2");unicode-range:U+9BF0-9BF1,U+9BF5,U+9BF7,U+9BF9,U+9BFD,U+9BFF,U+9C02,U+9C06,U+9C08-9C0A,U+9C0D,U+9C10,U+9C12-9C13,U+9C15,U+9C1C,U+9C1F,U+9C21,U+9C23-9C25,U+9C28-9C29,U+9C2D-9C2E,U+9C31-9C33,U+9C35-9C37,U+9C39-9C3B,U+9C3D-9C3E,U+9C40,U+9C42,U+9C45-9C49,U+9C52,U+9C54,U+9C56,U+9C58-9C5A,U+9C5D,U+9C5F-9C60,U+9C63,U+9C67-9C68,U+9C72,U+9C75,U+9C78,U+9C7A-9C7C,U+9C7F-9C81,U+9C87-9C88,U+9C8D,U+9C91,U+9C94,U+9C97,U+9C9B,U+9CA4,U+9CA8,U+9CAB,U+9CAD,U+9CB1-9CB3,U+9CB6-9CB8,U+9CC4-9CC5,U+9CCC-9CCD,U+9CD5-9CD7,U+9CDD-9CDF,U+9CE7,U+9CE9,U+9CEE-9CF0,U+9CF2,U+9CFC-9CFE,U+9D03,U+9D06-9D08,U+9D0E,U+9D10,U+9D12,U+9D15,U+9D17,U+9D1D-9D1F,U+9D23,U+9D2B,U+9D2F-9D30,U+9D34,U+9D37,U+9D3D,U+9D42,U+9D50,U+9D52-9D53,U+9D59,U+9D5C,U+9D5E-9D61,U+9D6A,U+9D6F-9D70;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.22.woff2)format("woff2");unicode-range:U+9A87,U+9A8A-9A8B,U+9A8F-9A91,U+9A97,U+9A9A,U+9A9E,U+9AA0-9AA1,U+9AA4-9AA5,U+9AAF-9AB1,U+9AB6-9AB7,U+9AB9-9ABA,U+9ABE,U+9AC0-9AC5,U+9AC8,U+9ACB-9ACC,U+9ACE-9ACF,U+9AD1,U+9AD5-9AD7,U+9AD9,U+9ADF,U+9AE1,U+9AE3,U+9AEA-9AEB,U+9AED,U+9AEF,U+9AF2,U+9AF4,U+9AF9,U+9AFB,U+9AFD,U+9B03-9B04,U+9B08,U+9B13,U+9B18,U+9B1F,U+9B22-9B23,U+9B28-9B2A,U+9B2C-9B30,U+9B32,U+9B3B,U+9B43,U+9B46-9B49,U+9B4B-9B4E,U+9B51,U+9B55,U+9B58,U+9B5B,U+9B5E-9B60,U+9B63,U+9B68-9B69,U+9B74,U+9B7D,U+9B80-9B81,U+9B83-9B84,U+9B87-9B88,U+9B8A-9B8B,U+9B8D-9B8E,U+9B90,U+9B92-9B95,U+9B97,U+9B9F-9BA0,U+9BA2-9BA3,U+9BA8,U+9BAB,U+9BB0,U+9BB8,U+9BC0-9BC1,U+9BC3,U+9BC6-9BC8,U+9BD3-9BD7,U+9BD9,U+9BDB,U+9BDD,U+9BE1-9BE2,U+9BE4-9BE5,U+9BE7,U+9BEA,U+9BED-9BEE;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.23.woff2)format("woff2");unicode-range:U+993C-9940,U+9943-9944,U+9948-994A,U+994C-994E,U+9951,U+9954,U+995C,U+995E-995F,U+9961-9962,U+9965,U+9968,U+996A,U+996D-9972,U+9975-9976,U+997A,U+997C,U+997F-9980,U+9984-9985,U+9988,U+998B,U+998D,U+998F,U+9992,U+9994-9995,U+9997-9998,U+999C,U+999E,U+99A0-99A1,U+99AB,U+99AF,U+99B1,U+99B4,U+99B9,U+99C4-99C6,U+99CF,U+99D1-99D2,U+99D4,U+99D6,U+99D8-99D9,U+99DF,U+99E1-99E2,U+99E9,U+99EE,U+99F0,U+99F8,U+99FB,U+9A01-9A05,U+9A0C,U+9A0F-9A13,U+9A16,U+9A1B-9A1C,U+9A20,U+9A24,U+9A28,U+9A2B,U+9A2D-9A2E,U+9A34-9A36,U+9A38,U+9A3E,U+9A40-9A44,U+9A4A,U+9A4C-9A4E,U+9A52,U+9A56,U+9A62-9A65,U+9A69-9A6B,U+9A6D,U+9A6F-9A71,U+9A73-9A74,U+9A76,U+9A78-9A79,U+9A7B-9A7C,U+9A7E-9A7F,U+9A81-9A82,U+9A84-9A86;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.24.woff2)format("woff2");unicode-range:U+97F5,U+97F9-97FA,U+97FE,U+9804,U+9807,U+980A,U+980E-980F,U+9814,U+9816,U+981A,U+981C,U+981E,U+9820-9821,U+9823,U+9826,U+9828,U+982A-982C,U+9832,U+9834-9835,U+9837,U+9839,U+983C-983D,U+9845,U+9848-9849,U+984E,U+9852-9857,U+9859-985A,U+9862-9863,U+9865,U+9870-9871,U+9873-9874,U+9877,U+987A-987F,U+9881-9882,U+9885,U+9887-988A,U+988C-988D,U+9890,U+9893,U+9896-9897,U+989A,U+989C-989E,U+98A0,U+98A4,U+98A6-98A7,U+98A9,U+98AE-98AF,U+98B2-98B3,U+98B6-98B8,U+98BA-98BD,U+98BF,U+98C7-98C8,U+98CA,U+98D2-98D3,U+98D8-98DA,U+98DC,U+98DE,U+98E0-98E1,U+98E3,U+98E5,U+98E7-98E9,U+98EB-98EE,U+98F1,U+98F4,U+9901,U+9908-9909,U+990C,U+9911-9912,U+9914,U+9916-9917,U+991B-991C,U+991E,U+9920,U+9927,U+992B-992C,U+992E,U+9931-9933,U+9938,U+993A;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.25.woff2)format("woff2");unicode-range:U+9672,U+9674,U+967A,U+9682-9685,U+9688-9689,U+968B,U+968D,U+9695,U+9697-9698,U+969E,U+96A0-96A4,U+96A9,U+96AC,U+96AE,U+96B0,U+96B2-96B4,U+96B6-96B7,U+96B9,U+96BC-96BE,U+96C3,U+96C9-96CB,U+96CE-96CF,U+96D1-96D2,U+96D8,U+96DD,U+96E9,U+96EB,U+96F0-96F1,U+96F3-96F4,U+96F9,U+96FE-96FF,U+9701-9702,U+9705,U+9708,U+970A,U+970E-9711,U+9719,U+971D,U+971F-9720,U+9728,U+972A,U+972D,U+9730,U+9733,U+973A,U+973D,U+9744,U+9746-9747,U+9749,U+9750-9751,U+9753,U+9758-9759,U+975B,U+975D,U+9763,U+9765-9766,U+9768,U+976C-976D,U+9771,U+9773,U+9776,U+977A,U+977C,U+9780,U+9784-9786,U+9788,U+978E-978F,U+9798,U+979D-979E,U+97A3,U+97A5-97A6,U+97A8,U+97AB-97AC,U+97AE,U+97B6-97B7,U+97B9,U+97BF,U+97C1,U+97C3,U+97C6,U+97C9,U+97CD,U+97D6,U+97D8-97D9,U+97DC-97DE,U+97E1,U+97E6-97E7,U+97EC-97EE,U+97F0-97F1;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.26.woff2)format("woff2");unicode-range:U+9530,U+9535,U+953A-953B,U+9540-9542,U+9547,U+9549-954A,U+954D,U+9550-9551,U+9554-9556,U+955C,U+956C-956D,U+956F-9570,U+9573,U+9576,U+9578,U+9582,U+9586,U+9588,U+958E-958F,U+9599,U+959C,U+959E-959F,U+95A1-95A2,U+95A4,U+95A6-95A7,U+95AA-95AE,U+95B0,U+95B2,U+95B6,U+95B9-95BF,U+95C2-95C4,U+95C7-95C9,U+95CB-95CD,U+95D0,U+95D3-95D5,U+95D7-95D8,U+95DA,U+95DE,U+95E0-95E1,U+95E4-95E5,U+95EA-95EB,U+95EF-95F0,U+95F2-95F3,U+95F5,U+95F7-95FA,U+95FD,U+9600-9602,U+9607-9609,U+960E,U+9610-9611,U+9614,U+9616,U+9619-961A,U+961C-961D,U+961F,U+9621,U+9624,U+9628,U+962F,U+9633-9636,U+963C,U+9641-9643,U+9645,U+9647-9648,U+964E-964F,U+9651,U+9653-9655,U+9658,U+965B-965F,U+9661,U+9665,U+9668-9669,U+966C;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.27.woff2)format("woff2");unicode-range:U+941A,U+941C,U+941E,U+9420-9425,U+9427-942B,U+942E,U+9432-9433,U+9436,U+9438,U+943A,U+943D,U+943F-9440,U+9445,U+944A,U+944C,U+9454-9455,U+945A-945B,U+945E,U+9460,U+9462-9463,U+9468,U+946A,U+946D,U+946F,U+9471,U+9474-9477,U+9479,U+947E-9481,U+9488-948A,U+948E,U+9492-9493,U+9497,U+9499,U+949B-94A3,U+94A5-94A9,U+94AC,U+94AE-94B1,U+94B3-94B5,U+94BB-94BC,U+94BE-94C3,U+94C5-94C6,U+94C9,U+94CE-94D0,U+94DB-94DD,U+94E0,U+94E2-94E3,U+94E8,U+94EC-94EE,U+94F0,U+94F2,U+94F5-94F6,U+94F8,U+94FA,U+94FF-9502,U+9504-9506,U+9508,U+950B-950C,U+950F-9510,U+9519-951B,U+951D,U+951F,U+9521-9526,U+952D-952F;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.28.woff2)format("woff2");unicode-range:U+930B,U+930F,U+9312,U+9315,U+9319-931B,U+931D-931F,U+9321,U+9323-9325,U+9327-932A,U+932C-932E,U+9331-9333,U+9335,U+9338,U+933C,U+9340-9341,U+9345-9349,U+934F-9352,U+9354,U+9356-935A,U+935C-9360,U+9363-9367,U+9369-936A,U+936C,U+936E,U+9370-9371,U+9373,U+9376,U+9379-937A,U+937C,U+9385,U+9387,U+938C,U+938F,U+9394,U+9397-9398,U+939A-939B,U+939D-939E,U+93A1-93A3,U+93A6-93A7,U+93A9-93AA,U+93AC-93AD,U+93AF-93B0,U+93B3-93BB,U+93BD-93BE,U+93C0-93C4,U+93C7,U+93CA-93CD,U+93D0-93D1,U+93D6-93D8,U+93DC-93DE,U+93E0,U+93E4,U+93E8,U+93EE,U+93F0,U+93F5,U+93F7-93F9,U+93FB,U+9403,U+9407,U+940F-9410,U+9413-9414,U+9417,U+9419;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.29.woff2)format("woff2");unicode-range:U+9208-920A,U+920D-920E,U+9210-9211,U+9217,U+9219,U+921C,U+9221,U+9224-9225,U+9227,U+922A,U+922D-922E,U+9230-9231,U+9233,U+9235-9239,U+923B,U+923D-9241,U+9244,U+9246,U+9248-9249,U+924B-9251,U+9253,U+925A,U+925D-925E,U+9262,U+9265-9267,U+926B-926D,U+926F,U+9271-9272,U+9274,U+9276,U+9278,U+927A-927C,U+927E-927F,U+9282-9283,U+9286,U+9288,U+928A,U+928D-928E,U+9291,U+9295-9296,U+9299-929B,U+929D,U+92A0-92AE,U+92B2,U+92B5-92B6,U+92BB-92BC,U+92C2-92C3,U+92C6-92CD,U+92CF-92D1,U+92D5,U+92D7,U+92D9,U+92DD,U+92DF,U+92E4-92E6,U+92E8-92E9,U+92ED-92EF,U+92F1-92F3,U+92F6,U+92F9,U+92FB,U+9300-9302,U+9306;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.30.woff2)format("woff2");unicode-range:U+90E2-90E4,U+90EA-90EB,U+90EF,U+90F4,U+90F7-90F8,U+90FC,U+90FE-9100,U+9102,U+9104,U+9106,U+9112,U+9114-911A,U+911C,U+911E,U+9120,U+9122-9123,U+9129,U+912B,U+912F,U+9131-9132,U+9134,U+9136,U+9139-913A,U+9143,U+9146,U+9148-914A,U+914E-9150,U+9154,U+9156-9157,U+9159-915A,U+915D-915E,U+9161-9164,U+916B,U+916E,U+9170-9172,U+9174,U+9176,U+9179-917A,U+917F,U+9181-9182,U+9184-9186,U+918C-918E,U+9190-9191,U+9196,U+919A-919B,U+919E,U+91A1-91A4,U+91A7,U+91AA,U+91AE-91B2,U+91B4-91B5,U+91B8,U+91BD-91BE,U+91C1,U+91C3,U+91C5-91C6,U+91C8-91CA,U+91D2-91D5,U+91D7,U+91D9,U+91E1,U+91E4,U+91E6-91E9,U+91EC-91ED,U+91F0-91F1,U+91F5-91FA,U+91FD,U+91FF-9201,U+9203-9207;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.31.woff2)format("woff2");unicode-range:U+8F85-8F86,U+8F88-8F8A,U+8F8D,U+8F90,U+8F93,U+8F95-8F97,U+8F99,U+8F9E-8F9F,U+8FA2,U+8FA7,U+8FA9,U+8FAB,U+8FAE,U+8FB3,U+8FB5-8FB6,U+8FBA-8FBD,U+8FBF,U+8FC1-8FC2,U+8FC6,U+8FC8,U+8FCC-8FCD,U+8FD2-8FD3,U+8FD5,U+8FDC-8FDD,U+8FDF,U+8FE2-8FE5,U+8FE8-8FE9,U+8FED-8FEE,U+8FF3,U+8FF5,U+8FF8,U+8FFA-8FFC,U+8FFE,U+9002,U+9004,U+9008,U+900A-900B,U+9011-9013,U+9016,U+901E,U+9021,U+9024,U+902D,U+902F-9030,U+9034-9036,U+9039-903B,U+9041,U+9044-9045,U+904F-9052,U+9057-9058,U+905B,U+905D,U+9061-9062,U+9065,U+9068,U+906F,U+9074,U+9079,U+907D,U+9083,U+9085,U+9087-9089,U+908B,U+9090,U+9093,U+9095,U+9097,U+9099,U+909B,U+909D-909E,U+90A0-90A2,U+90AC,U+90AF-90B0,U+90B2-90B4,U+90B6,U+90B9,U+90BB,U+90BD-90BE,U+90C3-90C5,U+90C7,U+90D1,U+90D4-90D5,U+90D7,U+90DB-90DF;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.32.woff2)format("woff2");unicode-range:U+8E30-8E31,U+8E35,U+8E39,U+8E3C-8E3D,U+8E40-8E42,U+8E47,U+8E49-8E4E,U+8E50,U+8E53-8E55,U+8E59-8E5B,U+8E60,U+8E62-8E63,U+8E67,U+8E69,U+8E6C-8E6D,U+8E6F,U+8E74,U+8E76,U+8E7A-8E7C,U+8E82,U+8E84-8E85,U+8E87,U+8E89-8E8B,U+8E8F-8E95,U+8E99-8E9A,U+8E9D-8E9E,U+8EA1,U+8EA3,U+8EA5-8EA6,U+8EAA,U+8EAC-8EAD,U+8EAF-8EB1,U+8EB9,U+8EBC,U+8EBE,U+8EC6,U+8ECB,U+8ECF,U+8ED1,U+8ED4,U+8ED7,U+8EDA-8EDB,U+8EE2,U+8EE8,U+8EEB,U+8EF2,U+8EF9-8EFE,U+8F05,U+8F07-8F08,U+8F0A-8F0C,U+8F12-8F13,U+8F17,U+8F19-8F1A,U+8F1C,U+8F1E-8F1F,U+8F25-8F26,U+8F2D,U+8F30,U+8F33,U+8F36,U+8F3E,U+8F40-8F42,U+8F45-8F47,U+8F4D,U+8F54-8F55,U+8F5D,U+8F61-8F62,U+8F64,U+8F67-8F69,U+8F6D-8F72,U+8F74,U+8F76,U+8F7B-8F7C,U+8F7F,U+8F83-8F84;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.33.woff2)format("woff2");unicode-range:U+8CE1,U+8CE8,U+8CEB,U+8CF0,U+8CF8,U+8CFB,U+8CFE,U+8D04,U+8D07,U+8D0B,U+8D0D,U+8D10,U+8D12-8D14,U+8D17,U+8D1B-8D1F,U+8D21-8D26,U+8D29-8D2C,U+8D2E-8D32,U+8D34-8D35,U+8D37-8D38,U+8D3A-8D3C,U+8D3E-8D3F,U+8D41-8D43,U+8D48,U+8D4B-8D4C,U+8D4E-8D50,U+8D54,U+8D56,U+8D58,U+8D5A-8D5B,U+8D5F-8D60,U+8D62-8D63,U+8D66-8D69,U+8D6C-8D6E,U+8D73,U+8D75-8D76,U+8D7B,U+8D7D,U+8D84,U+8D8B,U+8D90-8D91,U+8D94,U+8D96,U+8D9C,U+8DAB,U+8DAF,U+8DB2,U+8DB5,U+8DB7,U+8DBA,U+8DBC,U+8DBF,U+8DC2-8DC3,U+8DC6,U+8DCB,U+8DCE-8DD0,U+8DD6-8DD7,U+8DDA-8DDB,U+8DE3-8DE4,U+8DE9,U+8DEB-8DEC,U+8DF1,U+8DF5-8DF7,U+8DFA-8DFD,U+8E05,U+8E08-8E0A,U+8E0E,U+8E14,U+8E16,U+8E18,U+8E1D-8E21,U+8E23,U+8E26-8E28,U+8E2A-8E2B,U+8E2D-8E2E;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.34.woff2)format("woff2");unicode-range:U+8B9C,U+8B9E-8B9F,U+8BA3,U+8BA5,U+8BA7,U+8BAA,U+8BAD,U+8BB2-8BB4,U+8BB6-8BB9,U+8BBC-8BBD,U+8BBF-8BC0,U+8BC3,U+8BC5,U+8BC8-8BCB,U+8BCF,U+8BD1,U+8BD7-8BDC,U+8BDE-8BE1,U+8BE3,U+8BE5,U+8BE7,U+8BE9,U+8BEB-8BEC,U+8BEF,U+8BF1-8BF2,U+8BF5-8BF6,U+8BF8,U+8BFA,U+8BFD-8BFE,U+8C01-8C02,U+8C05,U+8C08,U+8C0A-8C11,U+8C13-8C15,U+8C18-8C1C,U+8C1F,U+8C23-8C29,U+8C2C-8C2D,U+8C31,U+8C34,U+8C36,U+8C39,U+8C3F,U+8C47,U+8C49-8C4C,U+8C4F,U+8C51,U+8C55,U+8C62,U+8C68,U+8C73,U+8C78,U+8C7A-8C7C,U+8C82,U+8C85,U+8C89-8C8A,U+8C8D-8C8E,U+8C90,U+8C94,U+8C98-8C99,U+8CA3-8CA4,U+8CAD-8CB0,U+8CB2,U+8CB9-8CBA,U+8CBD,U+8CC1-8CC2,U+8CC4-8CC5,U+8CCF-8CD2,U+8CD4-8CD5,U+8CD9-8CDB;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.35.woff2)format("woff2");unicode-range:U+8A1B,U+8A22,U+8A25,U+8A27,U+8A2B,U+8A33,U+8A36,U+8A38,U+8A3D-8A3E,U+8A41,U+8A45-8A46,U+8A48,U+8A4E,U+8A51-8A52,U+8A54,U+8A56-8A58,U+8A5B,U+8A5D,U+8A61,U+8A63,U+8A67,U+8A6A-8A6C,U+8A70,U+8A74-8A76,U+8A7A-8A7C,U+8A82,U+8A84-8A86,U+8A89,U+8A8F-8A92,U+8A94,U+8A9A,U+8AA1,U+8AA3,U+8AA5,U+8AA7-8AA8,U+8AAD,U+8AB1,U+8AB6,U+8ABE,U+8AC2,U+8AC4,U+8AC6,U+8AC9,U+8ACC-8ACF,U+8AD1,U+8ADB,U+8ADD-8AE2,U+8AE4,U+8AE6,U+8AEA-8AEB,U+8AED,U+8AF1-8AF6,U+8AFA,U+8AFC,U+8B01,U+8B04-8B05,U+8B07,U+8B0B-8B0D,U+8B0F-8B10,U+8B13-8B14,U+8B16,U+8B1A,U+8B1C,U+8B21-8B22,U+8B26,U+8B28,U+8B2B,U+8B2E,U+8B33,U+8B41,U+8B46,U+8B4C-8B4F,U+8B53-8B54,U+8B56,U+8B59,U+8B5E-8B60,U+8B64,U+8B6A-8B6D,U+8B72,U+8B7E,U+8B83,U+8B89,U+8B8C,U+8B8E,U+8B90,U+8B92,U+8B95-8B96,U+8B99;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.36.woff2)format("woff2");unicode-range:U+88B7-88B8,U+88BC-88BE,U+88C0,U+88C4,U+88C6-88C7,U+88C9-88CC,U+88CE,U+88D2,U+88D6,U+88D8,U+88DB,U+88DF,U+88E4,U+88E8-88E9,U+88EC,U+88EF-88F1,U+88F3-88F5,U+88FC,U+88FE,U+8900,U+8902,U+8906,U+890A-890C,U+8912-8915,U+8918-891A,U+891F,U+8921,U+8923,U+8925,U+892A-892B,U+892D,U+8930,U+8933,U+8935-8936,U+8938,U+893D,U+8941-8943,U+8946-8947,U+8949,U+894C-894D,U+8956-8957,U+8959,U+895C,U+895E-8960,U+8964,U+8966,U+896C,U+8971,U+8974,U+897B,U+897E,U+8980,U+8982-8983,U+8987-8988,U+898A,U+898C,U+8991,U+8994-8995,U+8997-8998,U+899A,U+899C,U+89A1,U+89A4-89A7,U+89A9,U+89AC,U+89AF,U+89B2-89B3,U+89B7,U+89BB,U+89BF,U+89C5,U+89C9-89CA,U+89D1,U+89D4-89D5,U+89DA,U+89DC-89DE,U+89E5-89E7,U+89ED,U+89F1,U+89F3-89F4,U+89F6,U+89FF,U+8A01,U+8A03,U+8A07,U+8A09,U+8A0C,U+8A0F-8A12,U+8A16;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.37.woff2)format("woff2");unicode-range:U+8763-8765,U+8768,U+876A,U+876C-8770,U+8772,U+8777,U+877A-877B,U+877D,U+8781,U+8784-8785,U+8788,U+878B,U+8793,U+8797-8798,U+879F,U+87A3,U+87A8,U+87AB-87AD,U+87AF,U+87B3,U+87B5,U+87B9,U+87BB,U+87BD-87C0,U+87C4-87C8,U+87CA-87CC,U+87CE,U+87D2,U+87DB-87DC,U+87E0-87E1,U+87E3,U+87E5,U+87E7,U+87EA-87EB,U+87EE-87EF,U+87F3-87F4,U+87F6-87F7,U+87FE,U+8802-8806,U+880A-880B,U+880E,U+8810-8811,U+8813,U+8815-8816,U+881B,U+8821,U+8823,U+8827,U+8831-8832,U+8835,U+8839-883A,U+883C,U+8844-8846,U+884A,U+884E,U+8852,U+8854-8856,U+8859-885A,U+885E,U+8862,U+8864-8865,U+8869-886A,U+886C-886E,U+8871-8872,U+8875,U+8879,U+887D-887F,U+8882,U+8884-8885,U+8888,U+8890,U+8892-8893,U+8897-8898,U+889A-889C,U+889E,U+88A2,U+88A4,U+88A8,U+88AA,U+88AD-88AE,U+88B1,U+88B4;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.38.woff2)format("woff2");unicode-range:U+8621-8622,U+8627,U+8629-862A,U+8634-8636,U+8638,U+863A,U+863C,U+8640,U+8642,U+8646,U+864C-864D,U+864F,U+8651-8654,U+8657,U+8659-865A,U+865C,U+8662,U+866B-866C,U+866F-8671,U+8673,U+8677,U+867A-867B,U+867D-867E,U+8680-8682,U+868B-868D,U+8693-8696,U+869A,U+869C-869D,U+86A1,U+86A3-86A4,U+86A7-86AA,U+86AF-86B1,U+86B3-86B4,U+86B6,U+86B9-86BA,U+86C0-86C2,U+86C4,U+86C6,U+86C9-86CA,U+86CC-86CE,U+86D0,U+86D3-86D4,U+86DE-86DF,U+86E9,U+86ED-86F0,U+86F3,U+86F8-86FC,U+86FE,U+8703,U+8706-870A,U+870D-870E,U+8711-8712,U+8715,U+8717,U+8719-871A,U+871E,U+8721-8723,U+8725,U+8728-8729,U+872E,U+8731,U+8734,U+8737,U+873A,U+873E-8740,U+8742,U+8747,U+8749,U+874B-874C,U+874E-874F,U+8753,U+8757-8758,U+875D,U+875F,U+8761-8762;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.39.woff2)format("woff2");unicode-range:U+84C0,U+84C2,U+84C6-84C7,U+84CA,U+84CD-84D2,U+84D6,U+84DD,U+84DF,U+84E2,U+84E6-84E8,U+84EA,U+84EF-84F0,U+84F3-84F4,U+84F7,U+84FA,U+84FC-84FD,U+84FF-8500,U+8506,U+850C,U+8511,U+8515,U+8517,U+851D-851F,U+8524,U+852B,U+852F,U+8532,U+8534-8535,U+8537-8538,U+853A,U+853C,U+853E,U+8541-8542,U+8545,U+8548,U+854B,U+854D-854E,U+8552-8553,U+8555-8558,U+855A,U+855E,U+8561-8565,U+8568,U+856A-856C,U+856F,U+8574,U+8577-857B,U+8580-8581,U+8585-8586,U+858A,U+858C,U+858F-8590,U+8594,U+8597-8599,U+859C,U+859F,U+85A1-85A2,U+85A4,U+85A8,U+85AB-85AC,U+85AE,U+85B3-85B4,U+85B7,U+85B9-85BA,U+85BD-85BE,U+85C1-85C2,U+85CB,U+85CE,U+85D0,U+85D3,U+85D5,U+85DC,U+85E0,U+85E6,U+85E8,U+85EA,U+85ED,U+85F4,U+85F6-85F7,U+85F9-85FA,U+85FF,U+8602,U+8604-8605,U+8610,U+8616-8618,U+861A,U+861E;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.40.woff2)format("woff2");unicode-range:U+8380,U+8383,U+8385-8386,U+8392,U+8394-8395,U+8398-8399,U+839B-839C,U+83A0,U+83A2,U+83A4,U+83A7-83AA,U+83AF-83B5,U+83B7,U+83B9-83BA,U+83BC-83C0,U+83C2,U+83C4-83C5,U+83C8-83C9,U+83CB,U+83CE-83CF,U+83D1,U+83D4-83D6,U+83D8,U+83DD,U+83DF,U+83E1-83E2,U+83E5,U+83EA-83EB,U+83F0,U+83F3-83F4,U+83F9,U+83FB-83FE,U+8406-8407,U+840B,U+840F,U+8411,U+8413,U+8418,U+841B-841D,U+8420-8421,U+8423-8424,U+8426-8429,U+842B,U+842D-842E,U+8432-8433,U+8435,U+8437-8439,U+843B-843C,U+843E,U+8445-8447,U+844E,U+8451-8452,U+8456,U+8459-845A,U+845C,U+845F,U+8462,U+8466-8467,U+846D,U+846F-8471,U+8473-8474,U+8476-8478,U+847A,U+8484,U+848B,U+848D-848E,U+8493-8494,U+8497,U+849D,U+849F,U+84A1,U+84A8,U+84AF,U+84B1,U+84B4,U+84B9-84BB,U+84BD-84BF;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.41.woff2)format("woff2");unicode-range:U+827D,U+827F,U+8283-8284,U+8288-828A,U+828D-8291,U+8293-8294,U+8298,U+829A-829C,U+829E-82A4,U+82A6-82AB,U+82AE,U+82B0,U+82B4,U+82B6,U+82BA-82BC,U+82BE,U+82C1,U+82C4-82C5,U+82C7,U+82CB,U+82CD,U+82CF-82D0,U+82D2,U+82D5-82D6,U+82D9,U+82DB-82DC,U+82DE-82E1,U+82E3-82E4,U+82E7,U+82EA-82EB,U+82EF-82F0,U+82F3-82F4,U+82F6-82F7,U+82F9-82FC,U+82FE-8301,U+8306-8308,U+830B-830E,U+8316,U+8318,U+831A-831B,U+831D-831E,U+8327,U+832A,U+832C-832D,U+832F,U+8331,U+8333-8334,U+8337,U+833A-833C,U+833F-8340,U+8342,U+8344-8347,U+834B-834C,U+834F,U+8351,U+8356-8358,U+835A,U+835E-8361,U+8363-8364,U+8367-8368,U+836B,U+836F,U+8373,U+8375,U+8378,U+837A-837F;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.42.woff2)format("woff2");unicode-range:U+811B,U+811E,U+8121-8127,U+8129,U+812C,U+812F-8134,U+8137-8138,U+813A,U+813D,U+8144,U+8146,U+8148,U+814A,U+814C-814D,U+8151,U+8153,U+8156,U+8158,U+815A,U+8160,U+8167,U+8169,U+816D,U+816F,U+8171,U+8174,U+817B-817C,U+817E,U+8182,U+8188,U+818A,U+8194-8195,U+8198,U+819B,U+819E,U+81A3,U+81A6-81A7,U+81AB,U+81AF-81B0,U+81B5-81B6,U+81B8,U+81BA-81BB,U+81BE-81BF,U+81C3,U+81C6,U+81CA,U+81CC,U+81CF,U+81D1-81D3,U+81D6-81D7,U+81D9-81DA,U+81DD-81DE,U+81E0-81E2,U+81E7,U+81EC,U+81EF,U+81FC,U+81FE,U+8200-8202,U+8204-8206,U+820B,U+820E,U+8210,U+8215,U+8217-8218,U+821B,U+821D,U+8221-8222,U+8224,U+8228-8229,U+822B,U+822F-8234,U+8236-8238,U+823A,U+823E,U+8240,U+8244-8245,U+8249,U+824B,U+824E-824F,U+8257,U+825A,U+825F,U+8264,U+8268,U+826B,U+826E,U+8270,U+8273,U+8276,U+8278-8279;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.43.woff2)format("woff2");unicode-range:U+7FB8,U+7FBC,U+7FBF-7FC0,U+7FC3,U+7FCB-7FCC,U+7FCE-7FCF,U+7FD1,U+7FD5,U+7FD8,U+7FDB,U+7FDE-7FDF,U+7FE5-7FE6,U+7FE9,U+7FEB-7FEC,U+7FEE,U+7FF2-7FF3,U+7FFA,U+7FFD-7FFE,U+8002,U+8004,U+8006,U+800B,U+800E,U+8011-8012,U+8014,U+8016,U+8018-8019,U+801C,U+8024,U+8026,U+8028,U+802C,U+8030,U+8035,U+8037-8039,U+803B,U+8042-8043,U+804B-804C,U+8052,U+8061,U+8068,U+806A,U+806E,U+8071,U+8073-8076,U+8079,U+807C,U+807E-807F,U+8083-8084,U+808F,U+8093,U+8095,U+8098,U+809C,U+809F-80A0,U+80A4,U+80A7,U+80AB,U+80AD-80AE,U+80B0-80B1,U+80B4-80B6,U+80B8,U+80BC-80C2,U+80C4,U+80C6-80C7,U+80CB,U+80CD,U+80CF,U+80D4,U+80D7,U+80D9,U+80DB-80DD,U+80E0,U+80E3-80E5,U+80E7,U+80EB-80ED,U+80EF-80F1,U+80F3-80F4,U+80F6-80F7,U+80FC,U+80FE-80FF,U+8101,U+8107,U+8109,U+810F-8113,U+8115,U+8117-8118,U+811A;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.44.woff2)format("woff2");unicode-range:U+7EB3,U+7EB5-7EBA,U+7EBD-7EBE,U+7EC0-7EC1,U+7EC3,U+7EC5,U+7EC7-7ECA,U+7ECD-7ECE,U+7ED1-7ED2,U+7ED4-7ED5,U+7ED7-7ED8,U+7EDA-7EDB,U+7EDD-7EDE,U+7EE2-7EE3,U+7EE5,U+7EE7,U+7EE9-7EEB,U+7EEE-7EF0,U+7EF3,U+7EF5,U+7EF7-7EF8,U+7EFD-7F01,U+7F03,U+7F05-7F09,U+7F0E,U+7F10,U+7F13-7F15,U+7F18-7F1A,U+7F1C-7F1D,U+7F20,U+7F24-7F25,U+7F28-7F2A,U+7F2D-7F2E,U+7F30,U+7F34,U+7F36-7F37,U+7F3D,U+7F42-7F45,U+7F47-7F4E,U+7F52,U+7F54,U+7F58,U+7F5A,U+7F5D,U+7F5F-7F63,U+7F65,U+7F68,U+7F6B,U+7F78,U+7F7D-7F7E,U+7F81-7F83,U+7F86-7F87,U+7F8B-7F8D,U+7F91,U+7F93-7F95,U+7F97,U+7F99-7F9A,U+7F9D,U+7F9F,U+7FA1-7FA3,U+7FA5,U+7FA7,U+7FAD-7FB2,U+7FB4,U+7FB6;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.45.woff2)format("woff2");unicode-range:U+7D8C-7D8F,U+7D91,U+7D95-7D96,U+7D98-7D9A,U+7D9D-7D9E,U+7DA2-7DA3,U+7DA6,U+7DAA,U+7DAC,U+7DAE-7DB0,U+7DB3,U+7DB5,U+7DB7,U+7DB9,U+7DBD,U+7DC1,U+7DC3-7DC7,U+7DCC-7DCF,U+7DD1,U+7DD6-7DD9,U+7DDB-7DDC,U+7DE1-7DE2,U+7DE6,U+7DF0-7DF3,U+7DF6,U+7DFE,U+7E01-7E02,U+7E04,U+7E08-7E0B,U+7E10-7E11,U+7E13,U+7E15,U+7E1D-7E20,U+7E22,U+7E25-7E27,U+7E29,U+7E2D,U+7E2F-7E30,U+7E32-7E37,U+7E39,U+7E3B,U+7E44-7E45,U+7E47-7E48,U+7E4A-7E4B,U+7E4D,U+7E50-7E52,U+7E56,U+7E58-7E5B,U+7E62,U+7E68,U+7E6D-7E70,U+7E76,U+7E78,U+7E7B,U+7E7E,U+7E81-7E82,U+7E86-7E88,U+7E8A,U+7E8D-7E8E,U+7E92-7E94,U+7E98-7E9B,U+7E9E,U+7EA0,U+7EA3-7EA4,U+7EA8,U+7EAA-7EAF,U+7EB1-7EB2;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.46.woff2)format("woff2");unicode-range:U+7C23,U+7C25-7C26,U+7C2A-7C2B,U+7C37-7C39,U+7C40-7C41,U+7C48-7C49,U+7C50,U+7C53-7C54,U+7C56-7C57,U+7C59-7C5C,U+7C5F,U+7C63,U+7C65,U+7C69,U+7C6C-7C6E,U+7C74-7C75,U+7C79,U+7C7C,U+7C7E,U+7C84,U+7C8B,U+7C8D,U+7C91,U+7C94-7C95,U+7C9B,U+7C9F,U+7CA2,U+7CA4,U+7CA6,U+7CA8-7CAA,U+7CAE,U+7CB1-7CB3,U+7CBA,U+7CBC,U+7CBF-7CC0,U+7CC5,U+7CC8-7CC9,U+7CCC-7CCE,U+7CD7,U+7CDC-7CDD,U+7CE0,U+7CE2,U+7CE8,U+7CEA,U+7CED,U+7CF2,U+7CF4,U+7CF6,U+7CF8-7CFA,U+7CFC,U+7D02,U+7D06-7D0A,U+7D0F,U+7D11-7D12,U+7D15,U+7D18,U+7D1C-7D1E,U+7D25,U+7D27,U+7D29,U+7D2C,U+7D31-7D32,U+7D35,U+7D38,U+7D3A,U+7D3C,U+7D3E-7D41,U+7D43,U+7D45,U+7D4C,U+7D4E-7D4F,U+7D53-7D54,U+7D56,U+7D5B-7D5D,U+7D5F,U+7D63,U+7D67,U+7D6A,U+7D6D,U+7D70,U+7D73,U+7D75,U+7D79-7D7B,U+7D7D,U+7D80,U+7D83-7D84,U+7D86-7D89,U+7D8B;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.47.woff2)format("woff2");unicode-range:U+7AFD-7AFE,U+7B01-7B06,U+7B09-7B0B,U+7B0E-7B10,U+7B14,U+7B18,U+7B1A,U+7B1E-7B1F,U+7B22-7B25,U+7B29-7B2B,U+7B2D-7B2E,U+7B31-7B35,U+7B38-7B3C,U+7B45,U+7B47-7B48,U+7B4A,U+7B4C,U+7B4E-7B50,U+7B58,U+7B5B,U+7B5D,U+7B60,U+7B62,U+7B65-7B67,U+7B69,U+7B6D-7B6F,U+7B72-7B76,U+7B79,U+7B7E,U+7B82,U+7B84-7B85,U+7B87,U+7B8B,U+7B8D-7B93,U+7B95-7B96,U+7B98,U+7B9C-7B9D,U+7BA0,U+7BA7,U+7BA9-7BAC,U+7BB0,U+7BB4,U+7BB6,U+7BB8-7BB9,U+7BC1,U+7BC3,U+7BC6,U+7BCB-7BCC,U+7BCF,U+7BD4,U+7BD9-7BDB,U+7BDD,U+7BE0-7BE1,U+7BE5-7BE6,U+7BEA,U+7BED-7BEE,U+7BF1-7BF3,U+7BF8-7BF9,U+7BFC-7C01,U+7C03,U+7C07,U+7C0A-7C0D,U+7C0F,U+7C11-7C12,U+7C15,U+7C1E-7C20;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.48.woff2)format("woff2");unicode-range:U+798A-798B,U+7991,U+7993-7996,U+7998,U+799A-799B,U+799F-79A2,U+79A4,U+79A8-79A9,U+79AF-79B0,U+79B3,U+79B5,U+79B8,U+79BA,U+79C3,U+79C6,U+79C8,U+79CF,U+79D5-79D6,U+79DC-79DE,U+79E3,U+79E7,U+79EA-79ED,U+79EF-79F0,U+79F4,U+79F6-79F8,U+79FD,U+7A02-7A03,U+7A08-7A0A,U+7A0C,U+7A0E,U+7A10-7A11,U+7A14,U+7A17-7A19,U+7A1C,U+7A1E-7A1F,U+7A23,U+7A26,U+7A2D,U+7A32-7A33,U+7A37,U+7A39,U+7A3C,U+7A42,U+7A45,U+7A49,U+7A4F,U+7A56,U+7A5A,U+7A5C,U+7A60-7A61,U+7A63,U+7A68,U+7A6D-7A6E,U+7A70-7A71,U+7A77-7A79,U+7A80,U+7A83,U+7A85-7A86,U+7A88,U+7A8D,U+7A90-7A91,U+7A93-7A96,U+7A98,U+7A9C-7A9D,U+7AA0,U+7AA3,U+7AA5-7AA6,U+7AA8,U+7AAA,U+7AAC,U+7AB0,U+7AB3,U+7AB6,U+7AB8,U+7ABB,U+7ABE-7ABF,U+7AC2,U+7AC8-7AC9,U+7AD1-7AD2,U+7AD6,U+7ADA,U+7ADC-7ADE,U+7AE4,U+7AE6,U+7AE9-7AEB,U+7AF4,U+7AF8,U+7AFA-7AFB;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.49.woff2)format("woff2");unicode-range:U+7842-7843,U+7845,U+7847,U+784A,U+784C-7850,U+7852-7853,U+7855,U+7858,U+785A,U+785C-785D,U+7864,U+7866,U+7868,U+786A,U+786F,U+7874,U+7876,U+787C,U+787F,U+7886-7887,U+7889,U+788D,U+788F,U+7893,U+7895-7896,U+7898,U+789A,U+789E,U+78A1,U+78A3,U+78A5,U+78AA,U+78AD,U+78B1-78B2,U+78B4,U+78B6,U+78B8,U+78BE,U+78C8-78C9,U+78CB,U+78CE,U+78D0-78D1,U+78D4-78D5,U+78D7-78D8,U+78DE,U+78E3,U+78E6-78E7,U+78EA,U+78EC,U+78F2-78F4,U+78FA-78FB,U+78FD-7900,U+7904-7906,U+790A,U+790C,U+7910-7912,U+791C,U+791E,U+7920-7921,U+792A-792C,U+792E,U+7931,U+7934,U+7938,U+793B,U+793D,U+793F,U+7941-7942,U+7945-7947,U+7949,U+794C,U+794E,U+7953-7954,U+7957-795C,U+795F,U+7961-7962,U+7964,U+7967,U+7969,U+796B-796C,U+796F,U+7972-7973,U+7977-7979,U+797B-797C,U+797E,U+7980,U+7982,U+7984-7988;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.50.woff2)format("woff2");unicode-range:U+7707-7708,U+770A,U+770C,U+770F,U+7715,U+7719-771B,U+771D-771E,U+7722,U+7725-7726,U+7728,U+772D,U+772F,U+7733-7736,U+7738,U+773B,U+773D,U+7741,U+7744,U+7746,U+774C,U+774E-7752,U+7755,U+7759-775A,U+775F-7760,U+7762,U+7765-7766,U+7768-776A,U+776C-776E,U+7771,U+7778,U+777A,U+777D-777E,U+7780,U+7785,U+7787,U+7789,U+778B-778D,U+7791-7793,U+779C,U+779F-77A0,U+77A2,U+77A5,U+77A9,U+77B0-77B1,U+77B4,U+77B6-77B7,U+77B9,U+77BC-77BF,U+77C5,U+77C7,U+77CC-77CD,U+77D3,U+77D6-77D7,U+77DC,U+77DE,U+77E3,U+77E7,U+77EB-77EC,U+77F0,U+77F2,U+77F6,U+77F8,U+77FA-77FC,U+77FE-7800,U+7803,U+7805-7806,U+7809,U+7810-7812,U+7815-7816,U+781A,U+781C-781D,U+781F-7823,U+7825-7827,U+7829,U+782C-7830,U+7833,U+7835,U+7837,U+7839-783A,U+783C,U+783E,U+7840;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.51.woff2)format("woff2");unicode-range:U+75CD,U+75D2,U+75D4,U+75D9,U+75DF,U+75E2-75E4,U+75E6-75E7,U+75E9-75EC,U+75F0-75F3,U+75F7,U+75F9-75FA,U+75FC,U+75FE-7602,U+7608-760A,U+760C-760D,U+7610,U+7615-7616,U+7618-7620,U+7622-7623,U+7625,U+7627,U+7629,U+762B,U+762E,U+7630,U+7632-7635,U+7638,U+763A-763C,U+763E,U+7640,U+7643,U+7646,U+7648-7649,U+764D-764E,U+7654,U+7658,U+765C,U+765F,U+7663-7667,U+7669,U+766B-766D,U+766F-7670,U+7676,U+7678-767A,U+767F-7681,U+7683,U+7688,U+768A-768B,U+768E,U+7690,U+7695-7696,U+769A-769E,U+76A3-76A4,U+76AA,U+76B0-76B1,U+76B4,U+76B7-76B8,U+76C2,U+76C5,U+76C9,U+76CC-76CD,U+76CF-76D1,U+76D6-76D8,U+76E5-76E6,U+76E9,U+76EC,U+76F1,U+76F7,U+76F9-76FB,U+76FF-7700,U+7704-7705;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.52.woff2)format("woff2");unicode-range:U+749C-74A1,U+74A3,U+74A5-74A7,U+74A9-74AB,U+74AE,U+74B1-74B2,U+74B5,U+74B8,U+74BA,U+74BF,U+74C5,U+74C8,U+74CC-74CD,U+74D2,U+74D4,U+74D6,U+74D8,U+74DA,U+74DE-74E0,U+74E2,U+74E4,U+74E8-74E9,U+74EE-74EF,U+74F4,U+74F9,U+74FB,U+74FF-7501,U+7503,U+7507,U+750C-750D,U+7511,U+7513,U+7515-7517,U+7519,U+751E,U+7521,U+7525,U+752A,U+752C-752F,U+7534,U+753E,U+7542,U+7545,U+7547-7548,U+754A-754B,U+754E,U+7551,U+755A-755B,U+755D,U+7560,U+7563-7564,U+7566-7568,U+756C-756F,U+7572-7575,U+7577-757A,U+757C,U+757E-757F,U+7583-7584,U+7587,U+7589,U+758B-758E,U+7590,U+7592,U+7594-7595,U+7597,U+7599-759A,U+759D,U+759F,U+75A1-75A3,U+75A5,U+75A7,U+75AA,U+75AC,U+75AE-75B1,U+75B3-75B4,U+75B8,U+75BD,U+75C0,U+75C2-75C4,U+75C9-75CA,U+75CC;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.53.woff2)format("woff2");unicode-range:U+73B4-73BA,U+73BC,U+73BF,U+73C2,U+73C4-73C6,U+73C9,U+73CB-73CC,U+73CE-73D2,U+73D6-73D7,U+73D9,U+73DB-73DE,U+73E3,U+73E5-73EB,U+73EF,U+73F5-73F7,U+73F9-73FA,U+73FC-73FD,U+7400-7401,U+7404-7405,U+7407-7408,U+740A-740D,U+740F-7410,U+7416,U+741A-741B,U+741D-741E,U+7420-7425,U+7428-7429,U+742C-7432,U+7435-7436,U+7438-743A,U+743C-7442,U+7445-7446,U+7448-744A,U+7451-7452,U+7454,U+7457,U+7459,U+745D,U+7460-7462,U+7465,U+7467-7468,U+746C-746E,U+7471-7477,U+7479-747A,U+747C-747F,U+7481-7482,U+7484-7486,U+7488-748A,U+748E-7490,U+7492,U+7498,U+749A;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.54.woff2)format("woff2");unicode-range:U+7281-7282,U+7284,U+7287,U+728A,U+728D,U+7292,U+7296,U+7298,U+729B,U+729F-72A2,U+72AD-72AE,U+72B0-72B5,U+72B8-72B9,U+72BC-72BD,U+72C1,U+72C3,U+72C5-72C6,U+72C8,U+72CC-72CE,U+72D2,U+72D4,U+72DB,U+72DD,U+72DF,U+72E1,U+72E8,U+72EC-72EE,U+72F1,U+72F3-72F4,U+72F7,U+72FA-72FB,U+72FD,U+7300-7301,U+7304,U+7307,U+730A-730B,U+730E,U+7313,U+7315-7317,U+7319,U+731E-731F,U+7322,U+7328-732E,U+7330-7331,U+7337,U+733A-733C,U+733E,U+7340-7341,U+7343,U+734C-734D,U+734F-7350,U+7352,U+7355,U+7357,U+7359-735A,U+7360-7363,U+7365,U+7369-7370,U+7373-7374,U+7377,U+737A,U+737C,U+737E,U+7380,U+7385-7386,U+738A,U+738E-738F,U+7391-7395,U+7397-7398,U+739B,U+73A0-73A2,U+73A5-73A8,U+73AD-73AE,U+73B3;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.55.woff2)format("woff2");unicode-range:U+7115-7116,U+7118,U+711C,U+711E,U+7120,U+7122,U+712E-712F,U+7131,U+7134,U+713C,U+713F,U+7143,U+7145-7147,U+714A-714B,U+7150-7153,U+7155-7156,U+715A,U+7160,U+7162,U+7166,U+7168,U+716C,U+7171,U+7173,U+7178,U+717A-717B,U+717D,U+7180-7181,U+7185,U+7187-7188,U+718B,U+718F-7190,U+7192,U+7196-7198,U+719A-719C,U+71A0,U+71A4,U+71A8,U+71AF,U+71B2-71B3,U+71B5,U+71B7-71BA,U+71BE,U+71C1,U+71C4,U+71CA-71CB,U+71CE-71D0,U+71D4,U+71D7-71D8,U+71DA,U+71DC,U+71E0-71E1,U+71E7,U+71EC,U+71EE,U+71F4-71F6,U+71F9,U+71FC,U+71FE-7201,U+7203,U+7207,U+7209,U+720C,U+7213-7215,U+7217,U+721A,U+721D,U+7222-7223,U+7228,U+722B,U+7230,U+7237,U+723B,U+723F-7242,U+724B,U+724D,U+7252-7253,U+7256,U+7258,U+725D,U+7263-7266,U+726A-726B,U+726E-7270,U+7273-7275,U+7277,U+727A-727B,U+727E-727F;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.56.woff2)format("woff2");unicode-range:U+6FEC,U+6FEE,U+6FF0,U+6FF3,U+6FF5-6FF6,U+6FFA,U+6FFC,U+6FFF-7001,U+7003,U+7005-7007,U+700B,U+700D,U+7015,U+7018,U+701B,U+701E,U+7020-7021,U+7023,U+7026-7027,U+702C,U+702F-7032,U+7034-7035,U+7037-703C,U+7040,U+7042-7044,U+7046,U+7049,U+704B,U+704F,U+7052,U+7054-7055,U+705C-7061,U+7064-7069,U+706C-706D,U+706F,U+7073-7075,U+7078,U+707A,U+707E-7081,U+7085-7086,U+7089,U+7090-7091,U+7094-7096,U+7098,U+709C,U+709F,U+70A1,U+70A4,U+70A9,U+70AC,U+70AF-70B2,U+70B4-70B5,U+70B7,U+70BB-70BE,U+70C0-70C3,U+70CA-70CB,U+70D2,U+70D4-70D5,U+70D9-70DD,U+70DF,U+70E6-70E9,U+70EB-70EC,U+70EF,U+70F1,U+70F4,U+70F7,U+70FA,U+70FD,U+70FF,U+7104,U+7106,U+7109,U+710C,U+7110,U+7113-7114;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.57.woff2)format("woff2");unicode-range:U+6EDA-6EDB,U+6EDD-6EDE,U+6EE2,U+6EE4-6EE5,U+6EE8-6EE9,U+6EEB,U+6EEE,U+6EF3,U+6EF8-6EFB,U+6F00,U+6F08-6F0A,U+6F0D-6F0E,U+6F11-6F13,U+6F15,U+6F19-6F1A,U+6F23,U+6F25-6F2A,U+6F2D-6F31,U+6F33-6F36,U+6F3A-6F3C,U+6F40-6F41,U+6F43-6F44,U+6F47,U+6F4D-6F4F,U+6F53,U+6F57,U+6F59-6F5A,U+6F5C,U+6F5E-6F61,U+6F63,U+6F66-6F67,U+6F69-6F6C,U+6F6F,U+6F72-6F78,U+6F7A-6F7F,U+6F81-6F82,U+6F87,U+6F89,U+6F8B-6F8D,U+6F90,U+6F92,U+6F94-6F97,U+6F9C,U+6F9F-6FA0,U+6FA2-6FA3,U+6FA5-6FA8,U+6FAA-6FAB,U+6FAE-6FAF,U+6FB4,U+6FB6,U+6FB9-6FBA,U+6FBC,U+6FC2,U+6FC6-6FCB,U+6FCE,U+6FD1-6FD2,U+6FD4,U+6FD8,U+6FDA,U+6FDE,U+6FE0-6FE2,U+6FE8-6FE9;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.58.woff2)format("woff2");unicode-range:U+6DD6,U+6DD9,U+6DDB-6DE0,U+6DE2-6DE6,U+6DE9,U+6DEC,U+6DEF-6DF0,U+6DF2,U+6DF4,U+6DF6,U+6DF8,U+6DFC-6DFD,U+6E00,U+6E02-6E03,U+6E07-6E0B,U+6E0D-6E0E,U+6E10,U+6E13-6E15,U+6E17,U+6E19-6E1A,U+6E1D,U+6E1F,U+6E22,U+6E24-6E25,U+6E27,U+6E2B,U+6E2D-6E2E,U+6E30-6E31,U+6E36,U+6E39-6E3A,U+6E3C-6E3D,U+6E40-6E41,U+6E44-6E45,U+6E47,U+6E49,U+6E4B,U+6E4D-6E4F,U+6E51,U+6E53-6E54,U+6E59,U+6E5C,U+6E5E-6E61,U+6E63-6E66,U+6E69-6E6B,U+6E6E,U+6E70-6E76,U+6E78,U+6E7C,U+6E7F-6E80,U+6E83,U+6E85-6E86,U+6E88-6E89,U+6E8B,U+6E8D-6E8F,U+6E93,U+6E98-6E9A,U+6E9F,U+6EA1,U+6EA4-6EA7,U+6EAE,U+6EB1-6EB2,U+6EB4-6EB5,U+6EB7,U+6EBD,U+6EC1-6EC3,U+6EC7-6EC9,U+6ECD-6ED0,U+6ED3-6ED6,U+6ED8;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.59.woff2)format("woff2");unicode-range:U+6CDD-6CDE,U+6CE0,U+6CE7,U+6CE9-6CEC,U+6CEE-6CEF,U+6CF1,U+6CF7-6CF8,U+6CFB-6CFE,U+6D00-6D02,U+6D04,U+6D06-6D07,U+6D09-6D0A,U+6D0C,U+6D0E-6D12,U+6D18-6D1A,U+6D1F,U+6D22-6D24,U+6D27-6D28,U+6D2B,U+6D2D-6D31,U+6D33-6D3A,U+6D3C,U+6D3F,U+6D43-6D47,U+6D4A-6D4B,U+6D4E-6D4F,U+6D51-6D53,U+6D57-6D58,U+6D5A,U+6D5C,U+6D5E-6D65,U+6D67,U+6D6C-6D6D,U+6D6F-6D70,U+6D72,U+6D75,U+6D79,U+6D7C,U+6D7F,U+6D82,U+6D85,U+6D87,U+6D8E-6D8F,U+6D91-6D95,U+6D97-6D99,U+6D9B,U+6D9D,U+6D9F,U+6DA1,U+6DA4,U+6DA6-6DAC,U+6DB3-6DB4,U+6DB7-6DB8,U+6DBE-6DC0,U+6DC2,U+6DC4-6DC5,U+6DC8-6DCA,U+6DCC-6DCD,U+6DCF-6DD0,U+6DD2-6DD3,U+6DD5;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.60.woff2)format("woff2");unicode-range:U+6BC1-6BC2,U+6BCC,U+6BCE,U+6BD0-6BD1,U+6BD5-6BD9,U+6BDE,U+6BE1,U+6BEC,U+6BF3,U+6BF9,U+6BFD,U+6BFF-6C00,U+6C02,U+6C05-6C06,U+6C0A,U+6C0C-6C0D,U+6C10,U+6C13,U+6C16,U+6C18-6C1A,U+6C1F,U+6C21-6C22,U+6C24,U+6C26,U+6C28-6C2A,U+6C2C,U+6C2E-6C33,U+6C35-6C37,U+6C39-6C3A,U+6C3D-6C3F,U+6C43,U+6C46,U+6C49-6C4F,U+6C54-6C55,U+6C58,U+6C5A-6C5C,U+6C5E,U+6C64-6C69,U+6C6B-6C6F,U+6C71-6C75,U+6C78-6C79,U+6C7C,U+6C7E,U+6C82,U+6C84-6C87,U+6C8C-6C8D,U+6C8F,U+6C93-6C94,U+6C98,U+6C9A,U+6C9D,U+6C9F,U+6CA2,U+6CA5-6CA8,U+6CAA,U+6CAC-6CB2,U+6CB4-6CB5,U+6CBA,U+6CBC,U+6CC2-6CC3,U+6CC5-6CC7,U+6CD0-6CD2,U+6CD4,U+6CD6-6CD7,U+6CD9-6CDA,U+6CDC;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.61.woff2)format("woff2");unicode-range:U+6A35,U+6A3B,U+6A3E-6A40,U+6A47-6A48,U+6A50,U+6A52,U+6A55-6A57,U+6A5A-6A5B,U+6A5E,U+6A62,U+6A66,U+6A6A,U+6A71,U+6A79,U+6A7C,U+6A7E-6A81,U+6A84,U+6A87,U+6A89,U+6A8D-6A8E,U+6A90-6A92,U+6A97,U+6A9C,U+6A9E-6AA1,U+6AA3-6AA5,U+6AA8,U+6AAB,U+6AAE,U+6AB5,U+6ABA,U+6ABE,U+6AC2,U+6AC5-6AC6,U+6AC8-6AC9,U+6ACC,U+6AD3,U+6ADA-6ADB,U+6ADD-6ADF,U+6AE3,U+6AE7-6AE8,U+6AEA-6AEC,U+6AF1,U+6AF3,U+6AF8,U+6AFA,U+6AFC,U+6B05,U+6B09,U+6B0E-6B13,U+6B17,U+6B1D-6B1E,U+6B25,U+6B2C,U+6B31,U+6B35-6B37,U+6B39,U+6B3B,U+6B40,U+6B43,U+6B46,U+6B48,U+6B53-6B55,U+6B59,U+6B5B,U+6B5F-6B60,U+6B68-6B69,U+6B6F,U+6B74,U+6B7A,U+6B7C,U+6B7F-6B84,U+6B86-6B87,U+6B89,U+6B8B,U+6B8D,U+6B91-6B93,U+6B9B,U+6B9E,U+6BA1-6BA2,U+6BA4,U+6BAA-6BAB,U+6BAD-6BAE,U+6BB2-6BB4,U+6BBB,U+6BBD;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.62.woff2)format("woff2");unicode-range:U+6904,U+6906-6907,U+6909,U+690B,U+690F-6910,U+6917,U+691A-691C,U+6925,U+692A,U+692C-692D,U+6932,U+6934,U+6939,U+693C-6940,U+6942,U+6949,U+6952,U+6954-6957,U+6959,U+695B-695F,U+6961-696C,U+696E-6970,U+6973-6974,U+6976,U+6978-697A,U+697C,U+6980,U+6984-6986,U+6988-698A,U+698D-698E,U+6990-6991,U+6994,U+6996-699B,U+699E,U+69A3-69A7,U+69AB,U+69AD,U+69AF,U+69B1,U+69B3,U+69B6-69B7,U+69BB-69BC,U+69BF,U+69C1,U+69C3-69C5,U+69C7,U+69CA,U+69CC,U+69CE,U+69D0-69D1,U+69D4,U+69D8-69D9,U+69DB,U+69DF,U+69E4,U+69E8-69EA,U+69ED-69EE,U+69F1-69F4,U+69F6,U+69F8,U+69FA-69FB,U+69FF-6A00,U+6A05,U+6A0A-6A0B,U+6A17-6A18,U+6A1B,U+6A28-6A2B,U+6A31-6A32;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.63.woff2)format("woff2");unicode-range:U+67DC-67E0,U+67E2,U+67E4,U+67E9-67EA,U+67F0,U+67F2,U+67F6-67F8,U+67FA-67FB,U+67FE,U+6800-6805,U+6808-6809,U+680B,U+680E-680F,U+6811-6812,U+6814,U+6816,U+6818,U+681C-681E,U+6820,U+6822,U+6825,U+6827-6829,U+682B,U+682E-682F,U+6831-6834,U+683A-683B,U+683E,U+6840-6841,U+6844-6845,U+6849,U+684E,U+6853,U+6855-6856,U+685C-685D,U+685F,U+6861-6863,U+6865-6869,U+686B,U+686D,U+686F,U+6871-6872,U+6874-6875,U+6877,U+6879,U+687B-687C,U+687E,U+6880,U+6882-6883,U+6886,U+688F,U+6891-6892,U+6894,U+6896,U+6898,U+689B-689C,U+689F-68A0,U+68A2-68A3,U+68A6,U+68A9,U+68B1-68B2,U+68B4,U+68B6,U+68C0,U+68C3,U+68C6,U+68C8,U+68CA,U+68D0-68D1,U+68D3,U+68D6,U+68E1,U+68E3,U+68E6,U+68E8-68EC,U+68EF-68F1,U+68F3,U+68F6-68F7,U+68F9,U+68FB-68FD,U+6900,U+6902;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.64.woff2)format("woff2");unicode-range:U+66B3,U+66B5,U+66B8-66BC,U+66BE,U+66C1,U+66C4,U+66C7-66C8,U+66CC,U+66CF,U+66D5,U+66D8-66DB,U+66DF,U+66E1-66E2,U+66E8-66E9,U+66EF,U+66F1,U+66F5,U+66F7,U+66FA,U+66FD,U+6705,U+670A,U+670F-6710,U+6713-6715,U+6718-6719,U+6720,U+6722-6727,U+6729,U+672E,U+6733,U+6736,U+6738-6739,U+673F-6740,U+6742,U+6745,U+6747-6748,U+674B-674D,U+6753,U+6755,U+6759,U+675D-675E,U+6760,U+6762-6763,U+6767-676A,U+676C,U+676E,U+6772-6777,U+677A-677C,U+6782,U+6786-6787,U+678A-678C,U+678E-678F,U+6791-6793,U+6796,U+6798-6799,U+679F-67A3,U+67A5,U+67AA-67AE,U+67B0-67B5,U+67B7-67BC,U+67C0-67C3,U+67C5-67C6,U+67C8-67CA,U+67CE,U+67D2,U+67D8-67D9,U+67DB;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.65.woff2)format("woff2");unicode-range:U+6565,U+6567,U+656B,U+656D-656E,U+6573,U+6576,U+6579-657B,U+6581,U+6586,U+6588-6589,U+658B,U+658E,U+6593,U+6595,U+659B,U+659D,U+659F-65A1,U+65A9,U+65AB,U+65AD,U+65B2-65B3,U+65B5,U+65BB,U+65BE-65BF,U+65C2-65C4,U+65C6,U+65CC,U+65CE,U+65D2,U+65D6,U+65DB,U+65E1,U+65E3,U+65E7,U+65EE-65F0,U+65F2-65F4,U+65F7-65F8,U+65FC-65FD,U+6600,U+6603-6605,U+6609,U+660D,U+6610-6611,U+6619,U+661C-661E,U+6621-6622,U+6624,U+6626,U+6629,U+662B,U+6630,U+6633-6636,U+6639-663D,U+6640-6641,U+6644-6645,U+664A-664C,U+6653-6657,U+6659,U+665B,U+665D-665E,U+6661-6667,U+6669,U+666C,U+6672-6673,U+6677-6679,U+667B-667E,U+6681-6684,U+668B-6690,U+6692,U+6698,U+669D,U+669F-66A0,U+66A6-66A7,U+66AA,U+66B2;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.66.woff2)format("woff2");unicode-range:U+642B,U+642F-6430,U+6432,U+6434,U+6437,U+643A,U+643D-6444,U+6446-6447,U+644A-644B,U+644E,U+6450-6453,U+6456,U+6459,U+645B-645C,U+645E,U+6460-6461,U+6463-6465,U+6468,U+646C-646E,U+6470,U+6472-6477,U+6479,U+647B,U+647D,U+6480,U+6482,U+6485,U+648B-648C,U+6491,U+6493,U+6496-649A,U+649D,U+649F-64A0,U+64A2-64A3,U+64AC,U+64B1,U+64B3-64B4,U+64B7-64B9,U+64BB,U+64BE,U+64C0,U+64C3-64C4,U+64D0,U+64D2,U+64D5,U+64D7-64D8,U+64E1-64E4,U+64E7,U+64E9,U+64ED,U+64EF-64F0,U+64F3,U+64F8,U+64FB-64FC,U+64FF,U+6504-6506,U+6509,U+6511-6512,U+6516,U+6518-6519,U+651B,U+6520-6523,U+6525-6526,U+6529,U+652B,U+652E,U+6530,U+6532,U+6534-6535,U+6537-6538,U+653A,U+653D,U+6542-6543,U+6549,U+654C-654E,U+6554-6555,U+655B,U+655D,U+6561,U+6564;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.67.woff2)format("woff2");unicode-range:U+6312-6313,U+6319-631B,U+631D-6321,U+6323-6325,U+632D-632E,U+6332,U+6334-6339,U+633B-633C,U+633E-6340,U+6342-6346,U+634B-634C,U+634E,U+6352,U+6357,U+635A,U+635C,U+635E-635F,U+6361,U+6363,U+6365,U+6369,U+636B-636D,U+636F-6370,U+6373,U+6375-6376,U+637A-637B,U+637D,U+6381,U+6384,U+6387,U+638A,U+638D-638E,U+6390,U+6394-6397,U+639E-639F,U+63A3-63A4,U+63A6,U+63AC-63AF,U+63B1-63B4,U+63B7,U+63B9-63BB,U+63BD-63BE,U+63C3-63C4,U+63C8,U+63CD-63CE,U+63D1,U+63D6,U+63DC,U+63DE,U+63E0,U+63E3-63E4,U+63E6,U+63E9,U+63F0,U+63F2-63F3,U+63F5-63F8,U+63FA,U+63FC-63FE,U+6400-6402,U+6405-6406,U+6409-640C,U+6410,U+6414-6415,U+6418,U+641B,U+641F-6423,U+6425-6428,U+642A;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.68.woff2)format("woff2");unicode-range:U+61CC-61CD,U+61D0,U+61D2,U+61DE-61E0,U+61E3,U+61E6,U+61E8,U+61ED-61EE,U+61F5,U+61F9-61FA,U+61FD-61FE,U+6207,U+6209,U+620D-620E,U+6213-6215,U+6219,U+621B,U+621D-6223,U+6225-6227,U+6229,U+622B-622C,U+622E-622F,U+6231,U+6238,U+623B,U+623D-623E,U+6242-6243,U+6246,U+6248-6249,U+624C,U+6251,U+6255,U+6259-625A,U+625E,U+6260-6262,U+6265-6267,U+6269,U+626B-626C,U+6270-6273,U+6275,U+627A-627D,U+6283,U+6285-6286,U+6289,U+628C,U+628E,U+6294,U+629A-629E,U+62A0,U+62A2,U+62A6,U+62A8,U+62AF,U+62B3,U+62B6,U+62BA-62BB,U+62BE-62BF,U+62C2,U+62C4-62C5,U+62C8,U+62CA,U+62CF,U+62D1,U+62D5,U+62D7,U+62D9,U+62DD,U+62DF-62E3,U+62E5-62E8,U+62EE,U+62F4-62FB,U+62FD,U+6300,U+6302,U+6308,U+630C-630E,U+6310;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.69.woff2)format("woff2");unicode-range:U+60B0-60B1,U+60B3-60B5,U+60B8,U+60BB,U+60BD-60BE,U+60C0,U+60C6-60C7,U+60CA-60CB,U+60D3-60D5,U+60D7-60DB,U+60DD,U+60E2-60E3,U+60E6-60F0,U+60F2,U+60F4,U+60F6,U+60FA-60FB,U+60FF-6100,U+6103,U+6106,U+610A-610B,U+610D-610E,U+6110,U+6112-6116,U+6120,U+6123-6124,U+6128-6130,U+6134,U+6136,U+613C-613F,U+6144,U+6146-6147,U+6149-614A,U+614D,U+6151-6153,U+6159-615A,U+615C-615F,U+6164-6165,U+6169-616D,U+616F,U+6171-6175,U+6177,U+617A,U+617C,U+617F-6180,U+6187,U+618A-618E,U+6192-6194,U+6199-619B,U+619F,U+61A1,U+61A7-61A8,U+61AA-61AF,U+61B8,U+61BA,U+61BF,U+61C3,U+61C6,U+61CA-61CB;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.70.woff2)format("woff2");unicode-range:U+5F82-5F84,U+5F87,U+5F89-5F8A,U+5F8D,U+5F93,U+5F95,U+5F98-5F99,U+5F9B-5F9C,U+5FA0,U+5FA4,U+5FA6-5FA8,U+5FAB-5FAD,U+5FB3-5FB4,U+5FBC,U+5FC4,U+5FC6,U+5FC9,U+5FCB,U+5FCE-5FD6,U+5FDC-5FDF,U+5FE1,U+5FE4,U+5FE7,U+5FEA,U+5FEC-5FEE,U+5FF1,U+5FF3,U+5FF8,U+5FFA-5FFC,U+5FFF-6000,U+6002,U+6005,U+600A,U+600D,U+600F-6010,U+6014,U+6017,U+6019-601C,U+601E,U+6020,U+6022,U+6026,U+6029,U+602B-602C,U+602E-602F,U+6031,U+6033-6035,U+6039,U+603C,U+6040-6043,U+6045,U+6047,U+604A-604C,U+604F,U+6053,U+6059-605B,U+605D,U+6060,U+6063,U+6067,U+606A-606B,U+606E,U+6072-6076,U+6078,U+607A,U+607C,U+607F-6081,U+6083,U+6086,U+608A,U+608C,U+608E,U+6092-6093,U+6095-6097,U+609B,U+609D,U+60A2,U+60A6-60A7,U+60A9-60AA,U+60AC-60AD,U+60AF;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.71.woff2)format("woff2");unicode-range:U+5E3C,U+5E40,U+5E42-5E44,U+5E47,U+5E54,U+5E57-5E5B,U+5E5E-5E5F,U+5E61-5E62,U+5E64,U+5E6A,U+5E6C,U+5E6E,U+5E75,U+5E77,U+5E7A,U+5E80-5E81,U+5E83,U+5E86,U+5E88,U+5E8B,U+5E90,U+5E92,U+5E96,U+5E99,U+5E9B,U+5E9D-5EA2,U+5EA4-5EA5,U+5EB3-5EB6,U+5EB9,U+5EBE,U+5EC3-5EC4,U+5EC6,U+5ECB-5ECD,U+5ED0-5ED2,U+5ED4-5ED5,U+5ED8-5ED9,U+5EDB,U+5EDD,U+5EE1,U+5EE8-5EE9,U+5EEC,U+5EEF-5EF0,U+5EF4-5EF5,U+5EF8,U+5EFB-5EFC,U+5EFE,U+5F01-5F03,U+5F05,U+5F07-5F09,U+5F0B-5F0E,U+5F10-5F12,U+5F14,U+5F16,U+5F1B,U+5F1D,U+5F22,U+5F25,U+5F28-5F29,U+5F2D,U+5F2F-5F30,U+5F36,U+5F38-5F39,U+5F3C,U+5F3E,U+5F40-5F42,U+5F45-5F46,U+5F4A,U+5F50-5F52,U+5F54,U+5F56-5F58,U+5F5A-5F5E,U+5F61,U+5F63,U+5F66-5F67,U+5F6B,U+5F72-5F74,U+5F76,U+5F78,U+5F7B,U+5F7D;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.72.woff2)format("woff2");unicode-range:U+5CE6,U+5CE8-5CEA,U+5CED-5CEE,U+5CF1,U+5CF4-5CF5,U+5CF8,U+5CFE-5D00,U+5D06,U+5D08,U+5D0A-5D0D,U+5D15,U+5D18,U+5D1A,U+5D1D,U+5D1F-5D22,U+5D24,U+5D26-5D28,U+5D2C-5D2E,U+5D33-5D35,U+5D3D,U+5D3F,U+5D42-5D43,U+5D46-5D47,U+5D49-5D4B,U+5D4E,U+5D52-5D53,U+5D57-5D59,U+5D5B-5D5C,U+5D65,U+5D68-5D69,U+5D6B-5D6C,U+5D6F,U+5D74-5D75,U+5D7E-5D7F,U+5D81-5D82,U+5D85-5D88,U+5D8B-5D8C,U+5D92,U+5D94,U+5D97,U+5D99,U+5D9D,U+5DA0-5DA2,U+5DA7,U+5DA9-5DAA,U+5DAE,U+5DB2,U+5DB4,U+5DB7-5DB8,U+5DBD,U+5DC2-5DC5,U+5DC9,U+5DCB-5DCD,U+5DD2,U+5DD6,U+5DD8,U+5DDB-5DDC,U+5DE0,U+5DE3,U+5DE9,U+5DF0,U+5DF3,U+5DF5,U+5DF9,U+5DFB-5DFD,U+5E00-5E01,U+5E04-5E05,U+5E0A,U+5E11,U+5E14,U+5E18-5E1C,U+5E1F-5E22,U+5E27-5E28,U+5E2F-5E30,U+5E34,U+5E37,U+5E3A;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.73.woff2)format("woff2");unicode-range:U+5B84,U+5B8D,U+5B92-5B93,U+5B95-5B96,U+5B9F-5BA1,U+5BA6-5BA8,U+5BAA-5BAD,U+5BBD-5BBE,U+5BC0-5BC1,U+5BC3,U+5BD0-5BD1,U+5BD4-5BD8,U+5BDB-5BDD,U+5BE4-5BE5,U+5BEF,U+5BF3,U+5BFB,U+5BFE-5BFF,U+5C02-5C03,U+5C05,U+5C09,U+5C0C,U+5C10,U+5C12-5C13,U+5C15,U+5C18-5C19,U+5C1B,U+5C1D-5C1F,U+5C22,U+5C25,U+5C27-5C28,U+5C2A-5C2B,U+5C34,U+5C38,U+5C3D,U+5C42,U+5C44,U+5C47,U+5C49-5C4A,U+5C50,U+5C53,U+5C58-5C59,U+5C5B,U+5C5D,U+5C61,U+5C63,U+5C68,U+5C6D-5C6E,U+5C74,U+5C79-5C84,U+5C86,U+5C88,U+5C8A-5C8D,U+5C92-5C9C,U+5CA0,U+5CA2-5CA3,U+5CA5-5CA7,U+5CAB-5CAD,U+5CB5,U+5CB7,U+5CBA-5CBB,U+5CC1,U+5CC8,U+5CCA-5CCB,U+5CCE,U+5CD2,U+5CD6,U+5CD8-5CDA,U+5CDF-5CE1,U+5CE5;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.74.woff2)format("woff2");unicode-range:U+5A57,U+5A5D-5A5E,U+5A60-5A62,U+5A65,U+5A67,U+5A6A,U+5A6C-5A6D,U+5A73-5A76,U+5A7A-5A7C,U+5A81-5A84,U+5A8C,U+5A90,U+5A93,U+5A96-5A97,U+5A9C,U+5A9E-5AA0,U+5AA4,U+5AA7,U+5AAB-5AAC,U+5AAE-5AAF,U+5AB1,U+5AB4-5AB5,U+5AB8,U+5ABA-5ABC,U+5ABE-5ABF,U+5AC3-5AC4,U+5AC6-5ACB,U+5ACF-5AD2,U+5AD4-5ADC,U+5AE0-5AE1,U+5AE3,U+5AE5-5AE6,U+5AE8,U+5AEA-5AEB,U+5AEE,U+5AF0,U+5AF2,U+5AF5,U+5AFA,U+5AFF,U+5B01,U+5B05,U+5B08,U+5B0B,U+5B11,U+5B16-5B17,U+5B19,U+5B1B,U+5B1D,U+5B21-5B23,U+5B28,U+5B2A-5B2D,U+5B32,U+5B34,U+5B36-5B38,U+5B3E-5B40,U+5B43-5B46,U+5B4B-5B4C,U+5B51,U+5B53,U+5B59,U+5B5B-5B5C,U+5B62,U+5B65,U+5B6C-5B6E,U+5B70-5B73,U+5B75,U+5B7A-5B7B,U+5B7D,U+5B7F-5B82;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.75.woff2)format("woff2");unicode-range:U+5910-5911,U+5914,U+5919,U+591B,U+591F,U+5923-5924,U+592C,U+5932,U+5938-593A,U+5940,U+5942,U+5944,U+594B-594C,U+594E,U+5950,U+5953,U+5956,U+5958,U+595A,U+5961,U+5966,U+5968-5969,U+596C-596D,U+5975,U+5977,U+597B-597C,U+597E,U+5980-5981,U+5986-5988,U+598A,U+598F,U+5997-5998,U+599F-59A3,U+59A6-59A7,U+59A9,U+59AB-59AC,U+59AF,U+59B1-59B2,U+59B6,U+59B8,U+59BA,U+59BE,U+59C1,U+59C3,U+59C7-59C9,U+59CD-59CE,U+59D2,U+59D6-59D9,U+59DD-59DE,U+59E0,U+59E3-59E5,U+59E9-59EB,U+59EE,U+59F1-59F3,U+59F5-59F9,U+59FC-59FD,U+5A00,U+5A04-5A07,U+5A09,U+5A0C,U+5A11,U+5A13,U+5A16-5A17,U+5A1A,U+5A1E,U+5A20,U+5A23-5A24,U+5A29-5A2B,U+5A2D-5A2F,U+5A32-5A34,U+5A38,U+5A3C,U+5A3F-5A44,U+5A47-5A48,U+5A4A,U+5A4C-5A4D,U+5A50-5A51,U+5A53,U+5A56;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.76.woff2)format("woff2");unicode-range:U+57A9,U+57AB,U+57B5,U+57B8-57BB,U+57C2,U+57C5-57C8,U+57CC,U+57CF,U+57D2,U+57DC-57DE,U+57E1-57E2,U+57E5,U+57E7,U+57ED-57EE,U+57F0,U+57F3-57F6,U+57F8,U+57FB-57FD,U+5800-5801,U+5803-5804,U+5807,U+5809-580B,U+580D-580E,U+5810-5811,U+5814-5815,U+5819,U+581D-581E,U+5820,U+5823,U+5826,U+582C-582D,U+5830,U+583A,U+583F-5841,U+5848,U+584B,U+584D,U+584F,U+5852,U+5859-585A,U+585C,U+5861,U+5864,U+5868-5869,U+586C-586D,U+5871-5872,U+5879,U+587C-5881,U+5887-5889,U+588E,U+5890-5892,U+5896-5899,U+589D,U+58A1,U+58A3,U+58A6,U+58A9,U+58AC,U+58B0-58B1,U+58BB-58BC,U+58C2,U+58C5-58C6,U+58CA,U+58CC,U+58CE,U+58D0-58D1,U+58D5,U+58D9-58DA,U+58DF-58E0,U+58E9,U+58EC,U+58EE,U+58F1-58F3,U+58F6-58F7,U+58FB-58FC,U+5900,U+5902,U+5906,U+5909-590C,U+590E;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.77.woff2)format("woff2");unicode-range:U+567B-567C,U+5680,U+5684-5686,U+568C,U+568E-568F,U+5692-5693,U+5697-5699,U+569C,U+569E,U+56A1-56A7,U+56A9,U+56AB-56AD,U+56AF,U+56B3,U+56B5-56B6,U+56B8,U+56BF-56C1,U+56C3,U+56C5,U+56C7-56C8,U+56CB-56CC,U+56D1-56D4,U+56D6-56D9,U+56DD,U+56DF,U+56E1-56E5,U+56EA-56EC,U+56EE-56EF,U+56F1-56F4,U+56F7,U+56F9,U+56FF-5700,U+5703-5704,U+5706-5707,U+5709-570A,U+570C,U+570F,U+5711,U+5717,U+571C,U+5723-5724,U+5727,U+5729-572A,U+572C,U+572E-572F,U+5734-5735,U+573B,U+5741,U+574B-574D,U+574F,U+5752,U+5754,U+575A-5760,U+5763,U+5768-5769,U+576B,U+576D,U+576F-5770,U+5772-5775,U+5777,U+577B-577D,U+5780,U+5784,U+5788,U+578C,U+578E,U+5792-5793,U+5795,U+579A-579B,U+579F-57A1,U+57A4,U+57A6;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.78.woff2)format("woff2");unicode-range:U+555C,U+5562-5563,U+5567,U+5569,U+556B-556C,U+5570,U+5575-5579,U+557B-557C,U+557F,U+5581,U+5583,U+5586,U+5588,U+558B,U+558F,U+5591,U+5599,U+559F,U+55A1,U+55A3,U+55A5-55A6,U+55A8-55A9,U+55AB,U+55AD,U+55B0-55B1,U+55B3,U+55B6-55B7,U+55B9,U+55BC-55BD,U+55C4-55C5,U+55C7,U+55C9,U+55CC-55CD,U+55D0,U+55D2,U+55D4-55D9,U+55DB,U+55DD-55DF,U+55E1-55E6,U+55E9-55EA,U+55EC,U+55EE,U+55F1-55F3,U+55F5-55F7,U+55F9-55FA,U+55FE,U+5600-5602,U+5608,U+560C,U+560F,U+5612-5613,U+5615-5616,U+5618,U+561A,U+561C,U+561E,U+5620,U+5623-5625,U+5627,U+562A,U+562C-562E,U+5630-5631,U+5635-5636,U+5638-563A,U+5640,U+5642-5643,U+5649,U+564C-5650,U+5654,U+5658-565D,U+5664-5666,U+5669,U+566B,U+566D,U+566F,U+5671-5672,U+5676,U+567A;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.79.woff2)format("woff2");unicode-range:U+5447,U+5449,U+544B-544D,U+5450-5455,U+5457,U+545B-545C,U+545F-5460,U+5463-5464,U+546A-5472,U+5474,U+5476,U+5478,U+547B,U+547E-547F,U+5482-5488,U+548A,U+548D-5491,U+5494,U+5498-549D,U+54A1-54A5,U+54AB,U+54AD-54AF,U+54B5,U+54B7,U+54BB-54BC,U+54BE-54BF,U+54CA,U+54CC,U+54CF-54D2,U+54D4,U+54D6-54D7,U+54DA,U+54DE-54DF,U+54E2,U+54E4,U+54E7,U+54EB,U+54F3,U+54FD,U+54FF,U+5501-5502,U+5504-5506,U+550A,U+550C,U+550E-550F,U+5511-5513,U+5516-5517,U+551A-551B,U+551E,U+5520,U+5524,U+5526-5527,U+552A,U+552C-552D,U+5530,U+5532-5533,U+5535-5536,U+553B-553C,U+553E-553F,U+5541-5542,U+5544-5545,U+5547,U+5549,U+554B,U+554D-554E,U+5550-5551,U+5553,U+5555-5557;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.80.woff2)format("woff2");unicode-range:U+52EB,U+52ED-52EE,U+52F0-52F2,U+52F7,U+52F9-52FA,U+5300-5302,U+530A-530B,U+530D,U+530F-5310,U+5315,U+531A,U+531C-531D,U+532D-532E,U+5331,U+5338,U+533B-533E,U+5344-5345,U+534B-534D,U+534F-5350,U+5358,U+535E-535F,U+5362-5364,U+5367,U+5369,U+536B-536C,U+536E-536F,U+5372,U+5374,U+5379-537A,U+537C-537D,U+5382,U+5385,U+5389,U+538B-538C,U+538E,U+5392-5396,U+5399,U+53A0-53A2,U+53A4-53A6,U+53A8-53A9,U+53AE,U+53B0,U+53B3-53B4,U+53B6-53B7,U+53B9,U+53BF,U+53C1,U+53C4,U+53CE-53CF,U+53D2,U+53D5,U+53D9-53DA,U+53DF-53E1,U+53E7-53E9,U+53F1,U+53F5-53F6,U+53F9,U+53FB-53FD,U+5400-5402,U+5405-5407,U+540F,U+5412,U+5414-5417,U+541A,U+5420-5421,U+5424-5425,U+5428-5429,U+542C-542F,U+5431-5432,U+5434,U+5437,U+543D,U+543F,U+5441,U+5444-5445;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.81.woff2)format("woff2");unicode-range:U+5197,U+519A-519C,U+519E,U+51A2,U+51A6-51A9,U+51AB,U+51AD-51AF,U+51B1-51B6,U+51BA-51C0,U+51C3-51C5,U+51C7,U+51C9-51CB,U+51CE-51D1,U+51D4,U+51D6,U+51D9,U+51DB-51DC,U+51DF,U+51E4,U+51E6,U+51E9-51EA,U+51ED,U+51EF,U+51F4-51F5,U+51FC,U+51FF,U+5201-5202,U+5204-5205,U+5208,U+520B,U+520D-520E,U+5213,U+5215-5216,U+5218,U+521A,U+5220,U+5223,U+5226-5228,U+5232-5234,U+5239,U+523C,U+5241-5242,U+5244,U+5249,U+524C,U+5251-5252,U+5255,U+5257,U+525C,U+525E,U+5261,U+5263-5265,U+526E,U+5270,U+5273-5274,U+5277,U+527D,U+527F,U+5281-5282,U+5284,U+528A,U+528C,U+528F,U+5292-5294,U+529D,U+52A6,U+52AC-52AD,U+52B1-52B5,U+52B9,U+52BB-52BC,U+52BE-52C0,U+52C5,U+52CB,U+52CD,U+52D0-52D1,U+52D6-52D7,U+52DB,U+52E0,U+52E3,U+52E6-52E7;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.82.woff2)format("woff2");unicode-range:U+5040-5041,U+5043,U+5045-5046,U+5048,U+504A-504E,U+5051-5053,U+505D-5060,U+5063,U+506A,U+506F-5072,U+5078,U+507A-507B,U+507F-5080,U+5088-5089,U+508B-508C,U+508E,U+5092,U+5095-5096,U+509A-509D,U+50A3,U+50A5,U+50A8,U+50AF,U+50B1,U+50B4,U+50BA,U+50C2,U+50C6-50CA,U+50CD-50CE,U+50D6,U+50D9,U+50DD-50DF,U+50E1,U+50E3,U+50E5-50E6,U+50E8-50EA,U+50EC-50F0,U+50F3,U+50FB,U+50FE,U+5101-5102,U+5105-5109,U+510B-510E,U+5110,U+5113-5115,U+5117,U+511A-511C,U+511E,U+5120-5121,U+5125,U+512B,U+5131,U+5134-5135,U+5138-513C,U+5140,U+514E,U+5150-5151,U+5155-5157,U+515A,U+515F,U+5162,U+516A,U+516E,U+5172,U+5174,U+5179,U+517B,U+517D,U+5182,U+5186,U+5188-5189,U+518B,U+518F,U+5191,U+5193,U+5195-5196;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.83.woff2)format("woff2");unicode-range:U+4F2D,U+4F31-4F32,U+4F35,U+4F37,U+4F39,U+4F3B,U+4F3E,U+4F41-4F43,U+4F47,U+4F49,U+4F4C,U+4F52,U+4F57-4F58,U+4F5A,U+4F5D-4F5F,U+4F61,U+4F63-4F64,U+4F67,U+4F6A,U+4F6E-4F6F,U+4F72,U+4F74,U+4F76-4F7B,U+4F7D-4F7E,U+4F80-4F82,U+4F84,U+4F89-4F8A,U+4F8E-4F94,U+4F96-4F98,U+4F9A,U+4F9E,U+4FA0-4FA3,U+4FA5-4FA8,U+4FAA-4FAC,U+4FB2-4FB3,U+4FB7-4FBA,U+4FC0-4FC1,U+4FC5-4FC7,U+4FCB,U+4FCD-4FCE,U+4FD1,U+4FD3-4FD4,U+4FD8-4FDC,U+4FDF,U+4FE2-4FE5,U+4FE8-4FEA,U+4FEC-4FED,U+4FF3-4FF6,U+4FF8-4FFA,U+4FFD,U+5000,U+5002,U+5005,U+5008,U+500C,U+500F,U+5013-5015,U+501B-501C,U+501E,U+5022-5025,U+5027-5028,U+502C-502E,U+5030-5032,U+5036,U+503A-503B,U+503E;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.84.woff2)format("woff2");unicode-range:U+3F97,U+4102,U+411B,U+4181,U+43C8,U+4552,U+4576,U+46E5,U+4837,U+493D,U+4A3B,U+4D09,U+4DB6-4DBF,U+4E02,U+4E04-4E05,U+4E0C,U+4E0F-4E10,U+4E15,U+4E17,U+4E1B,U+4E21-4E22,U+4E25,U+4E27,U+4E31,U+4E34,U+4E36-4E37,U+4E3D,U+4E3F-4E42,U+4E44,U+4E47,U+4E49,U+4E4C,U+4E52-4E54,U+4E57,U+4E5A-4E5B,U+4E60-4E61,U+4E69,U+4E6D,U+4E78,U+4E80-4E81,U+4E85,U+4E87,U+4E89-4E8A,U+4E8D,U+4E8F,U+4E93,U+4E96,U+4E98-4E99,U+4E9C,U+4E9F-4EA0,U+4EA2,U+4EA5,U+4EA9,U+4EB0,U+4EB2-4EB3,U+4EB5-4EB7,U+4EB9,U+4EBB-4EBC,U+4EBF,U+4EC2-4EC6,U+4EC8-4EC9,U+4ECF,U+4ED1,U+4ED3,U+4EDC-4EE1,U+4EE7-4EEB,U+4EEE-4EEF,U+4EF1,U+4EF3-4EF5,U+4EFA,U+4EFC,U+4F00,U+4F02-4F03,U+4F05,U+4F07-4F09,U+4F0B,U+4F0E,U+4F15,U+4F17,U+4F1D-4F1F,U+4F22,U+4F24,U+4F29-4F2B;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.85.woff2)format("woff2");unicode-range:U+3052,U+305C,U+3062,U+306D,U+307A,U+307C,U+3080,U+308E,U+3090-3091,U+3099-309E,U+30A5,U+30C2,U+30C5,U+30EE,U+30F0-30F2,U+30F4-30F6,U+30FD-30FE,U+3105-3106,U+3108,U+310A-310B,U+310D-3112,U+3115-3117,U+3119,U+3131,U+3134,U+3137,U+3139,U+3141-3142,U+3145,U+3147-3148,U+314B,U+314D-314F,U+3153,U+315C,U+3160-3161,U+3163-3164,U+3181,U+318D,U+3192-3193,U+3196-3198,U+319D-319F,U+3220-3226,U+3231,U+3268,U+3281,U+328B,U+3291-3292,U+3295-3297,U+3299,U+329D,U+329F,U+32A3-32A4,U+32D6,U+32E1,U+3314,U+3322,U+337F,U+338E-338F,U+339C-339E,U+33A1,U+33C4,U+33D1-33D2,U+3440,U+3449,U+3479,U+3551,U+3569,U+35AD,U+35CE,U+36AC,U+373A,U+3863,U+38EC,U+39B8,U+3A02,U+3A17,U+3A52,U+3B22,U+3BD7,U+3BFF,U+3CA5,U+3D68,U+3DDB,U+3DE7,U+3DEB,U+3E03,U+3E74,U+3F08,U+3F0E,U+3F21;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.86.woff2)format("woff2");unicode-range:U+2748-274F,U+2752-275B,U+275D-275E,U+2761,U+2763,U+2765-2769,U+276E-276F,U+2771,U+2776-277E,U+2780-2782,U+278A-278C,U+2794-2796,U+2798-2799,U+279C-27A6,U+27A8-27AB,U+27AD,U+27AF-27B0,U+27B2-27B3,U+27B7-27B9,U+27BC-27BD,U+27BF,U+27E9-27EB,U+27F5-27F6,U+2800,U+28EC,U+2922,U+2934-2935,U+29BF,U+2A2F,U+2B05-2B07,U+2B1B,U+2B50,U+2B55,U+2CF5,U+2E1C-2E1D,U+2F00,U+2F08,U+2F12,U+2F24,U+2F29,U+2F2F,U+2F3C,U+2F3F,U+2F42,U+2F45,U+2F63-2F64,U+2F83,U+2F8F,U+3003-3007,U+3012-3013,U+3016-3019,U+3020-3025,U+3030,U+303D,U+3041,U+3043,U+3045,U+3047,U+3049;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.87.woff2)format("woff2");unicode-range:U+2649-2656,U+2658-265C,U+265E-2660,U+2662-2664,U+2666-2669,U+266B-266F,U+267B,U+2692-2696,U+2698,U+269B-269C,U+26A0-26A1,U+26A3-26A5,U+26AA-26AC,U+26BD-26BE,U+26C4-26C5,U+26C8,U+26D1,U+26D3-26D4,U+26E4,U+26E9-26EA,U+26F0-26F5,U+26F9-26FA,U+26FD,U+2701-2702,U+2704-2706,U+2708,U+270A-2712,U+2714,U+2716-2727,U+2729-273E,U+2740-2747;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.88.woff2)format("woff2");unicode-range:U+2566-2570,U+2572,U+2574,U+2579,U+2580-258A,U+258C-2595,U+2597,U+25A1,U+25A3-25A4,U+25A6-25AC,U+25B0,U+25B4,U+25B7-25B9,U+25BB,U+25BD,U+25BF-25C2,U+25C7-25CA,U+25CC-25CD,U+25D0-25D9,U+25DC-25E6,U+25EA-25EB,U+25EF,U+25FB-25FE,U+2600-2604,U+2607,U+2609-260B,U+260D-2615,U+2618,U+261A-2623,U+262A,U+262D-2630,U+2638-263E,U+2641-2642,U+2648;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.89.woff2)format("woff2");unicode-range:U+2475-2481,U+2488-2491,U+24B6-24C5,U+24C7-24CA,U+24CC,U+24CE,U+24D?,U+24E1-24EA,U+24F5,U+24FF,U+2501,U+2503-250D,U+250F-2511,U+2513-2515,U+2517-2518,U+251B-251D,U+2520,U+2523-2524,U+2528,U+252B-252C,U+252F,U+2533-2534,U+2537,U+253B-253C,U+2541,U+2543-2545,U+254B,U+2550-2565;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.90.woff2)format("woff2");unicode-range:U+2139,U+2153,U+2194-2197,U+2199,U+219D-219E,U+21A0,U+21A9-21AA,U+21AC,U+21AF-21B1,U+21B3-21B5,U+21BA-21BB,U+21C4,U+21CA,U+21CC,U+21D0,U+21D2-21D4,U+21D8,U+21DD,U+21E2-21E9,U+2200,U+2202,U+2205-2208,U+220E-220F,U+2211-2212,U+2215,U+2217-221A,U+221D-2220,U+2225,U+2227-222B,U+222E,U+2234-2237,U+223C-223D,U+2248,U+2256,U+2260-2261,U+2264-2265,U+226A-226B,U+226E-226F,U+2282-2283,U+2295-2296,U+2299,U+22A5,U+22B0-22B1,U+22B9,U+22BF,U+22C5-22C6,U+22C8,U+22D0-22D1,U+22EE,U+2312-2313,U+2318,U+231A-231B,U+2323,U+2328,U+239D,U+23A0,U+23AF,U+23E4,U+23E9-23EA,U+23EC,U+23F0-23F3,U+23FA,U+2445,U+2460-2471,U+2474;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.91.woff2)format("woff2");unicode-range:U+1EC0-1EC3,U+1EC5-1EC6,U+1EC9,U+1ECB-1ECD,U+1ECF-1ED1,U+1ED3-1ED5,U+1ED7-1EDD,U+1EDF,U+1EE1,U+1EE3-1EE7,U+1EE9,U+1EEB,U+1EED,U+1EEF-1EF1,U+1EF3,U+1EF7,U+1EF9,U+1F62,U+1FA2,U+2001-2006,U+2009-200A,U+200C-200D,U+200F-2012,U+2015-2016,U+201A,U+201E,U+2020-2021,U+2023-2025,U+2028,U+202A-202D,U+202F-2030,U+2032-2033,U+2035,U+2038,U+203E-203F,U+2042-2044,U+2049,U+204D-204E,U+2060-2061,U+2063,U+2070,U+2074-207B,U+207D-2083,U+208A,U+208D-208E,U+20A1,U+20A4,U+20A6,U+20A8-20AB,U+20AD-20AE,U+20B1-20B3,U+20B5,U+20B8-20BA,U+20BD,U+20DD,U+20E3,U+2105,U+2109,U+2112-2113,U+2115-2117,U+2120-2121,U+2126,U+212B;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.92.woff2)format("woff2");unicode-range:U+11AF,U+11B7,U+11BC,U+121B,U+122D,U+129B,U+12A0,U+13A6,U+13A9,U+13AC,U+13AF,U+13B3,U+13C2,U+13E3,U+141B,U+1555,U+1557,U+15DC,U+15E8,U+1780-1782,U+1784-1785,U+1787,U+178A,U+178E-1791,U+1793-179C,U+179F,U+17A2,U+17B6-17B9,U+17BB-17BC,U+17BF-17C7,U+17C9,U+17CB,U+17D0,U+17D2,U+17DB,U+1871,U+18FA,U+1BFF,U+1D00,U+1D04-1D05,U+1D07,U+1D0A-1D0B,U+1D0D,U+1D0F,U+1D17-1D18,U+1D1B-1D1C,U+1D20-1D22,U+1D25,U+1D2C,U+1D2E,U+1D30-1D31,U+1D33-1D3A,U+1D3C,U+1D3E-1D42,U+1D52,U+1D55,U+1D5B,U+1D5E,U+1D9C,U+1DA0,U+1DC4-1DC5,U+1E3B,U+1E43,U+1E45,U+1E47,U+1E63,U+1E6D,U+1E73,U+1EA0,U+1EA2,U+1EA4-1EA9,U+1EAB-1EAF,U+1EB1,U+1EB3,U+1EB5,U+1EB7,U+1EB9,U+1EBB,U+1EBD-1EBE;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.97.woff2)format("woff2");unicode-range:U+2C8-2C9,U+2CC-2CD,U+2D0,U+2D8,U+2DA,U+2DC,U+2E1-2E3,U+2E7,U+2EB,U+2EE,U+2F1-2FF,U+302-304,U+306-309,U+30C-30D,U+311,U+31B,U+321,U+323-325,U+328-329,U+32B-32C,U+32E-32F,U+331-33A,U+33C-33F,U+348,U+353,U+358-359,U+35C,U+35E-35F,U+361,U+363,U+367-368,U+36C,U+36F,U+530-535,U+537-540,U+55E,U+561-565,U+568-56D,U+56F-576,U+578-582,U+584,U+5A1,U+5A3-5A4,U+5AA,U+5AE,U+5B0-5B4;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.98.woff2)format("woff2");unicode-range:U+1AF,U+1B1,U+1B4-1BE,U+1D0,U+1D2,U+1D4,U+1DA,U+1DC-1DD,U+1E1,U+1E3-1E4,U+1E7,U+1E9,U+1EB-1EC,U+1F0-1F1,U+1F3-1F5,U+1F7,U+1F9-1FF,U+219,U+221,U+225-226,U+228-22B,U+22E-22F,U+231-235,U+239,U+23B,U+23E,U+250-252,U+254-255,U+259-25E,U+261-263,U+268-26B,U+26D,U+26F-277,U+279-27A,U+27D-281,U+283,U+28A-28C,U+28F,U+292,U+294-296,U+298-29A,U+29C,U+29F,U+2A1-2A2,U+2A4-2A7,U+2A9-2AA,U+2AE-2B3,U+2B5-2B7,U+2B9-2BF,U+2C2-2C4,U+2C6-2C7;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.99.woff2)format("woff2");unicode-range:U+A1-A2,U+A4,U+A6-A8,U+AA,U+AC,U+AF,U+B1,U+B5-B6,U+B8-BA,U+BC-BE,U+C0-C8,U+CA-CC,U+CE-D5,U+D8-DF,U+F0,U+F5,U+F8,U+FB,U+FE-100,U+102,U+105,U+107,U+109-10B,U+10F,U+112,U+115,U+117,U+119,U+11B,U+11F,U+121,U+123-124,U+127,U+129,U+12C-12D,U+13?,U+141-142,U+144,U+148,U+14B-14C,U+14F-153,U+159-15B,U+15E-160,U+163-166,U+169-16A,U+16D-171,U+173-17E,U+192,U+1A0,U+1A4,U+1AA,U+1AC-1AD;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.100.woff2)format("woff2");unicode-range:U+A3,U+2CA,U+2223,U+2640,U+273F,U+301C-301D,U+3107,U+310C,U+4E30,U+4E3E,U+4E5E,U+4E71,U+4F26,U+4F7C,U+4F83,U+50DA,U+5243,U+5267,U+529E,U+5321,U+5352,U+5477,U+548B,U+54A6,U+54B2,U+54C2,U+54C4,U+54C6,U+54CD,U+54EE,U+5543,U+55D1,U+55D3,U+55F0,U+55FD,U+560D,U+5629,U+5660,U+57AE,U+57E0,U+57E4,U+5904,U+592D,U+5965,U+5A31,U+5A7F,U+5B5A,U+5BB8,U+5C14,U+5C3B,U+5C5C,U+5C5E,U+5D10,U+5E10,U+5E4C,U+603B,U+604D,U+611C,U+6137,U+61C8,U+6292,U+62C7,U+6371,U+6382,U+645F,U+64AE,U+64C2,U+651E,U+65F1,U+660A,U+663E,U+673D,U+6784,U+6789,U+67FF,U+6813,U+6854,U+68D8,U+68FA,U+697D,U+6A01,U+6A1E,U+6BAF,U+6C08,U+6C17,U+6C2B,U+6C81,U+6CBD,U+6DC6,U+6DF9,U+6ED9,U+6EE1,U+6F86,U+6FC1,U+6FDB,U+701F,U+7076,U+715C,U+7194,U+71FB,U+720D,U+72B6,U+7396,U+73AF,U+745B,U+746F,U+748B,U+7647,U+7699,U+76BF,U+76CE,U+76DE,U+77AA,U+786B,U+7881,U+78CA,U+793C,U+797A,U+79B9,U+79BB,U+79BF,U+7A92,U+7AC7,U+7AE3,U+7B19,U+7B20,U+7B51,U+7B94,U+7CBD,U+7CDE,U+7CEF,U+7D46,U+7DDE,U+7F88,U+80DA,U+814B,U+81CD,U+8235,U+8258,U+8282,U+82B9,U+846B,U+84C1,U+84D3,U+8518,U+8611,U+8783,U+8814,U+8A15,U+8AA6,U+8B2C,U+8BA8-8BA9,U+8BC6,U+8BE2,U+8BE6,U+8C22,U+8D05,U+8D27,U+8DBE,U+8E34,U+8E66,U+8EC0,U+9005,U+9082,U+9091,U+914B,U+916F,U+92C5,U+92F0,U+9318,U+9382,U+938A,U+93E2,U+964B,U+96C1,U+96CC-96CD,U+96DB,U+973E,U+97A0,U+9803,U+9876,U+9879,U+9955,U+9986,U+99F1,U+9A5B,U+9ABC,U+9C57,U+9C9C,U+9D1B,U+9D26,U+9D51,U+9EEF,U+9F99,U+C2A4,U+E253,U+E313-E314,U+E5C7,U+E5C9,U+E8DB-E8DC,U+FF25,U+FF2D-FF2E,U+FF34,U+FFE5,U+1F60A,U+1F618,U+1F62D;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.101.woff2)format("woff2");unicode-range:U+B4,U+10D,U+2D9,U+641,U+6CC,U+E20,U+E29,U+200E,U+20AC,U+2266,U+25BE,U+301E,U+3058,U+4E07,U+4E1D,U+4E66,U+4ECE,U+4FDE,U+5016,U+5180,U+5199,U+51AA,U+5306,U+5386,U+53D8,U+5413,U+541D,U+5436,U+54CE,U+54E8,U+54FC,U+5571,U+557E,U+558E,U+55A7,U+56A8,U+57A2-57A3,U+58B3,U+5960,U+5992-5993,U+59A4,U+5A55,U+5AB2,U+5AFB,U+5B56,U+5BC5,U+5BC7,U+5BF0,U+5CB1,U+5CC7,U+5DFF,U+5E93,U+5ED3,U+5F6A,U+60BC,U+61FF,U+6218,U+6254,U+634D,U+6467,U+64F1-64F2,U+6582,U+65FB,U+6615,U+6687,U+66E6,U+66F0,U+6781,U+67F5,U+68A7,U+6A1F,U+6B27,U+6B4E,U+6B73,U+6B79,U+6BCB,U+6C5D,U+6CF5,U+6DEE,U+6EC4,U+6ECC,U+6F88,U+6FEF,U+701D,U+703E,U+707C,U+7099,U+710A,U+725F,U+72D9,U+72E9,U+731D,U+7325,U+739F,U+7463,U+7480,U+74A8,U+7523,U+7526,U+75E0,U+7613,U+7656,U+76D4,U+773A,U+775C,U+775E,U+780C,U+78E1,U+78F7,U+7960,U+7A20,U+7AAF,U+7B08,U+7B71,U+7BE4,U+7CEC,U+7CF0,U+7D5E,U+7D62,U+7DBE,U+7E1B,U+7EA2,U+7EC4,U+7EC6,U+7EDC,U+7EED,U+7EFC,U+7F16,U+7F57,U+7FB9,U+7FCA,U+803D,U+816E,U+82A5,U+82B7,U+8317,U+8338,U+834A,U+83D3,U+8401,U+8469,U+849E,U+854A,U+8559,U+865E,U+86E4,U+8700,U+8759,U+8760,U+8778,U+8782,U+879E,U+87D1,U+880D,U+8836,U+8944,U+89C8,U+8AAC,U+8B74,U+8BA2,U+8BA4,U+8BAE,U+8BFB,U+8C4E,U+8CB3,U+8CB6,U+8D16,U+8D28,U+8E44,U+8F3B,U+8F3F,U+8F91,U+8FB9,U+8FC4,U+8FDE,U+8FF9,U+9076,U+90AE,U+90B8,U+9257,U+9310,U+93DF,U+94FE,U+95A5,U+95A9,U+962E,U+968F-9690,U+9704,U+9713,U+97F6,U+9824,U+986B,U+9884,U+9886,U+98E2,U+991A,U+99A5,U+99DD,U+9AB8,U+9B41,U+9B77,U+9BAD,U+C774,U+E5D4,U+FE52,U+FF02,U+1F389,U+1F449,U+1F495;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.102.woff2)format("woff2");unicode-range:U+2CB,U+5D1,U+5D9,U+5E2,U+5E8,U+5EA,U+633,U+E32,U+2252,U+2267,U+2573,U+25B3,U+25C4,U+2713,U+2715,U+30E2,U+4E28,U+4E3C,U+4E4D,U+4E70,U+4F88,U+4FEF,U+5018,U+501A,U+5026,U+5137,U+513F,U+51F3,U+524B,U+5254,U+52D8,U+5308,U+5384,U+53CC,U+5443,U+5466,U+54A7-54A8,U+54BD,U+54C9,U+54CB,U+555E,U+556A,U+5580,U+560E,U+5614,U+561F,U+562F,U+566C,U+5679,U+56BC,U+56CD,U+56E7,U+56ED,U+572D,U+57D7,U+582F,U+589F,U+5B09,U+5BA5,U+5C51,U+5C90,U+5CEF,U+5D16,U+5D84,U+5DD4,U+5E08,U+5E26,U+5F0A,U+5F20,U+606C,U+61C7,U+620F,U+625B,U+62A4,U+62D0,U+62F1,U+63A0,U+63C6,U+63F9,U+6413,U+6417,U+6483,U+64F7,U+650F,U+65A7,U+665F,U+66AE,U+66D6,U+66E0,U+6746,U+6756,U+67D1,U+6837,U+68D7,U+68E0,U+68F5,U+6977,U+6995,U+69A8,U+69B4,U+69D3,U+6A3D,U+6ABB,U+6BB7,U+6BD3,U+6C47,U+6CC4,U+6CD3,U+6DAE,U+6E26,U+6E29,U+6E5B,U+6EAF,U+6EBA,U+7028,U+70B3,U+711A,U+733F,U+73C0,U+73EE,U+7444,U+745A,U+7487,U+7540,U+75A4,U+7729,U+779E,U+798E,U+79CD,U+79E9,U+7A3D,U+7A4C,U+7A9F,U+7AC4,U+7AFF,U+7B77,U+7C27,U+7CA7,U+7CD9,U+7D76,U+7E43,U+7EA6,U+7ED9,U+7FF1,U+808B,U+809B,U+80FA,U+827A,U+8309,U+8328,U+832B,U+8396,U+83E0,U+840E,U+8425,U+852D,U+853B,U+8588,U+85E9,U+86B5,U+8718,U+87EC,U+8910,U+893B,U+89C1-89C2,U+8B3E,U+8BAF,U+8BC1,U+8BCD,U+8BDD,U+8C41,U+8C48,U+8D2D,U+8D5E,U+8FBE,U+9015,U+90A8,U+90B5,U+90E1,U+9169,U+9183,U+91D0,U+91DC,U+9293,U+92F8,U+9472,U+9598,U+95ED,U+95FB,U+9605,U+96C7,U+9739,U+9742,U+9761,U+99AD,U+9AE6,U+9B1A,U+9B44,U+9BC9,U+9D3F,U+9DD7,U+9E7C,U+9E92,U+FE5D-FE5E,U+FF22-FF24,U+FF2F-FF30,U+FF33;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.103.woff2)format("woff2");unicode-range:U+60,U+F7,U+161,U+2198,U+2571,U+258B,U+25B6,U+2661,U+3051,U+3109,U+4E11,U+4E1C,U+4E24,U+4E2B,U+4EF7,U+4F18,U+4F36,U+4FD0,U+5029-502A,U+5055,U+508D,U+50AD,U+50D5,U+50E7,U+50F1,U+50F5,U+51A5,U+51C8,U+51FB,U+5203,U+524E,U+5288,U+5323,U+53C2,U+5458,U+54B1,U+54B3,U+54B8,U+5582,U+55B2,U+55BA,U+55DA,U+55DC,U+5662,U+5678,U+56C2,U+5742,U+57D5,U+5862,U+58E4,U+58F0,U+5907,U+590D,U+5934,U+5978,U+5984,U+5A25,U+5C06,U+5C62,U+5C91,U+5CFB,U+5D01,U+5D11,U+5D1B,U+5E87,U+5EFF,U+5F27,U+5F3A,U+5F53,U+5F64,U+6001,U+6168,U+61A9,U+6233,U+62A5,U+62CE,U+62ED,U+638F,U+6399,U+63C0,U+646F,U+6590,U+6631,U+664F,U+6689,U+66DC,U+672F,U+67AF,U+67EC,U+6807,U+6A44,U+6C14,U+6C40,U+6C70,U+6C76,U+6CB8,U+6CE3,U+6DF3,U+6E20,U+6E43,U+6EBC,U+6EEC,U+6F2C,U+6FB1,U+7009,U+7011,U+701A,U+7117,U+7184,U+72F9,U+7426,U+74BD,U+74CF,U+752B,U+7554,U+75B9,U+7621,U+7671-7672,U+7693,U+76EF,U+7737,U+77A7,U+77B3,U+77BB,U+77DA,U+77E2,U+77E9,U+77EF,U+7801,U+7940,U+797F,U+79A7,U+79B1,U+79BD,U+7A6B,U+7AC5,U+7B1B,U+7DAB,U+7DB4,U+7DB8,U+7DCB,U+7DDD,U+7DE0,U+7E55,U+7E9C,U+7ED3,U+7EF4,U+803F,U+8046,U+8087,U+8116,U+81A8,U+8214,U+821C,U+82D4,U+8305,U+831C,U+8335,U+8339,U+8350,U+8354,U+8526,U+860A,U+86DB,U+8713,U+873B,U+8822,U+8993,U+8A1F,U+8AB9,U+8AD7,U+8E72,U+8F4E,U+8F9C,U+8FD0,U+8FD8,U+8FE6,U+9042,U+907C,U+91BA,U+9452,U+9591,U+95E2,U+9631,U+9699,U+96B8,U+9709,U+978D,U+9811,U+9830,U+98CE,U+9945,U+99ED,U+9A8C,U+9AD3,U+9BAA,U+9BE8,U+9C77,U+9CF6,U+9D72,U+9E1F,U+9EC4,U+FE31,U+FE55,U+FF03,U+FF20,U+FF3B,U+FF3D,U+1F3FB,U+1F44D,U+1F60D;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.104.woff2)format("woff2");unicode-range:U+10C,U+E44,U+2728,U+3081,U+4E13,U+4E19,U+4E1E,U+4E5C,U+4EA7,U+4ED7,U+4F20,U+4F8D,U+4FFE,U+5021,U+515C,U+51A4,U+51E0,U+521B,U+522B,U+532A,U+534E,U+5355,U+537F,U+5398,U+539D,U+541F,U+543C,U+544E,U+5509,U+5598,U+5622,U+5632,U+563F,U+5641,U+566A,U+5695,U+569F,U+56AE,U+56DA,U+573A,U+574E,U+5835,U+584C,U+5885,U+58AE,U+5A1F,U+5AC2,U+5B24,U+5BB0,U+5BDE,U+5BE1,U+5BFC,U+5C39,U+5C4C,U+5C60,U+5E76,U+5E7F,U+5E9A,U+5EB8,U+5F13,U+5F6C,U+6127,U+61F2,U+6208,U+620A,U+620C,U+6252,U+62EF,U+6328,U+633D,U+6362,U+63B0,U+63C9,U+640F,U+64A9,U+6514,U+652C,U+655E,U+6583,U+658C,U+6627,U+66F3,U+6734,U+6743,U+676D,U+67C4,U+67DA,U+68CD,U+68F2,U+690E,U+6AB3,U+6B16,U+6B38,U+6B3D,U+6BC6,U+6CA1,U+6CAB,U+6D8C,U+6DEA,U+6E32,U+6E3E,U+6E58,U+6EEF,U+6EF2,U+6FE4,U+708A,U+7130,U+7165,U+7172,U+71C9,U+71ED,U+7232,U+7239,U+7261,U+7280,U+72A7,U+72F8,U+73C8,U+7464,U+753B,U+754F,U+755C,U+75D8,U+76EA,U+776B,U+7779,U+777F,U+7784,U+778E,U+77DB,U+77EE,U+79E4,U+7A46,U+7A57,U+7ABA,U+7AED,U+7B4D,U+7C7B,U+7C7D,U+7D13,U+7D33,U+7DBB,U+7DF9,U+7E46,U+7EA7,U+8085,U+8165,U+81FB,U+82B8,U+82D3,U+8343,U+839E,U+83E9,U+840D,U+851A,U+853D,U+8543,U+859B,U+85FB,U+87FB,U+888D,U+88C5,U+8ADC,U+8B0A,U+8BB0,U+8BBE,U+8BC4,U+8BF4,U+8C5A,U+8CC3,U+8CE4,U+8D44,U+8E81,U+8F44,U+8F66,U+8FDB,U+900D,U+9063,U+914C,U+9223,U+9226,U+923A,U+925B,U+9264,U+929C,U+92B9,U+9320,U+934D,U+935B,U+9444,U+957F,U+96A7,U+97AD,U+97CC,U+9898,U+98EA,U+9921,U+9952,U+9A55,U+9B0D,U+9B91,U+9BCA,U+9EBD,U+9F4B,U+E60F-E610,U+FF1C-FF1D,U+FF21,U+FF38,U+FF9F,U+FFFD,U+1F602;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.105.woff2)format("woff2");unicode-range:U+E17,U+E22,U+2103,U+25A0,U+266A,U+3014-3015,U+4E1A,U+4E50,U+4F10,U+4F6C,U+4F70,U+4FCF,U+5006,U+50D1,U+5170,U+518C,U+51F0,U+51F6,U+51F9,U+5219,U+5256,U+525D,U+52C9,U+5349,U+5351,U+5356,U+5375,U+53DB,U+53EE,U+53F7,U+5492,U+54FA,U+5538,U+55BB,U+55E8,U+5757,U+58BE,U+5937,U+59DC,U+59E8,U+5A49,U+5A9A-5A9B,U+5AB3,U+5B9B,U+5B9E,U+5BE8,U+5C37,U+5C4E,U+5D14,U+5D19,U+5D4C,U+5D50,U+5DEB,U+5E84,U+5E94,U+5EC2,U+5F17,U+5F26,U+5F55,U+5F77,U+5F7F,U+5FBD,U+6052,U+6064-6065,U+608D,U+609A,U+6101,U+611A,U+614C,U+621A,U+6237,U+6284,U+6296,U+62E9,U+632A-632B,U+634F,U+6488,U+6500,U+652A,U+6556,U+65E0,U+65EC,U+6643,U+679A,U+6850,U+6893,U+6897,U+68B3,U+68D5,U+6930,U+6960,U+6A11,U+6A38,U+6A3A,U+6B22,U+6B67,U+6B6A,U+6C59,U+6C83,U+6CCC,U+6DF5,U+6EF7,U+6F3E,U+6F80,U+70ED,U+7164,U+722A,U+7260,U+7272,U+73B0,U+74CA,U+74E3,U+7538,U+7586,U+75B5,U+7624,U+7661-7662,U+7838,U+786E,U+788C,U+7950,U+79A6,U+79AA,U+7A40,U+7A62,U+7BF7,U+7C3E,U+7C98,U+7CA5,U+7D21,U+7D2E,U+7DBA,U+7DEC,U+7E79,U+7ECF,U+7EDF,U+7F79,U+8086,U+810A,U+8139,U+813E,U+817A,U+81B3,U+821F,U+8247,U+8259,U+8271,U+8431,U+846C,U+849C,U+84B2,U+84C4,U+8513-8514,U+8549,U+8755,U+8877,U+8881,U+88F9,U+8A1D,U+8A3C,U+8A6D-8A6E,U+8A93,U+8AE7,U+8AF7,U+8B17,U+8B5A,U+8BA1,U+8BBA,U+8CDC,U+8DEA,U+8F6C,U+8F7D,U+8FC7,U+8FD9,U+902E,U+90CA,U+916A,U+916C,U+921E,U+9245,U+947C,U+9594,U+95A8,U+95EE,U+95F4,U+9706,U+971E,U+9756,U+980C,U+9891,U+98B1,U+98FC,U+9903,U+9957,U+99AE,U+99FF,U+9DB4,U+E602-E605,U+E611,U+FF16-FF19;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.106.woff2)format("woff2");unicode-range:U+A5,U+2190-2191,U+2193,U+22C1,U+2302,U+25CB,U+2699,U+2709,U+4E0E,U+4E18,U+4E3A,U+4E48,U+4E91,U+4EEC,U+4F3D,U+5112,U+524A,U+52A3,U+52AB,U+52C3,U+52F3,U+52FB,U+5320,U+5339,U+533F,U+53E2,U+543E,U+5480,U+5495,U+5497,U+5564,U+5572,U+55C6,U+55EF,U+563B,U+5653,U+5657,U+56B7,U+5764,U+5824,U+58D8,U+5955,U+5983,U+598D,U+59A8,U+59DA,U+59E6,U+5A36,U+5BB5,U+5BC2,U+5BEE,U+5BF9,U+5CB3,U+5D17,U+5DBC,U+5E2E,U+6070,U+60DF,U+6190,U+61A4,U+61BE,U+61FC,U+62AC,U+62BC,U+636E,U+6398,U+63A9,U+6435,U+6487,U+6495,U+64AB,U+64BF,U+6577,U+65AC,U+6602,U+6652,U+66F9,U+672D,U+6761,U+683D,U+68AD,U+68B5,U+68DA,U+68E7,U+6A59,U+6A61,U+6AE5,U+6B47,U+6BEF,U+6C50,U+6C9B,U+6E23,U+6E34,U+6E4A,U+6E67,U+6EA2,U+6EB6,U+6F20,U+6FEB,U+7149,U+714C,U+715E,U+7199,U+71AC,U+7231,U+7262,U+7409,U+745F,U+7469,U+7504,U+7535,U+753A,U+75F4,U+7682,U+76BA,U+76F2,U+77FD,U+780D,U+7832,U+78C5,U+78EF,U+7901,U+79BE,U+79C9,U+79E6,U+7A1A,U+7A84,U+7ACA,U+7CB5,U+7CB9,U+7CDF,U+7CE7,U+7D6E,U+7DB1,U+7DEF,U+7E61,U+7E7D,U+7E8F,U+7F38,U+7F77,U+7FA8,U+7FC5,U+7FE1,U+7FF9,U+800D,U+8015,U+8054,U+80A2,U+80AA,U+80BA,U+814E,U+8180,U+819D,U+81C0,U+828B,U+82AD,U+82AF,U+83F1,U+83F8,U+8403,U+8475,U+84BC,U+84C9,U+84EC,U+8523,U+8569,U+8591,U+85B0,U+86D9,U+8774,U+881F,U+884D,U+88D4,U+89C4,U+89C6,U+8A60,U+8A79,U+8B19,U+8BD5,U+8BF7,U+8C03,U+8C79,U+8CC8,U+8D9F,U+8E10,U+8E48,U+8FAF,U+9009,U+9017,U+9175,U+9187,U+918B,U+91D8,U+9214,U+946B,U+9470,U+9640,U+9675,U+96EF,U+9716,U+97CB,U+97E9,U+985B,U+99B3,U+9B4F,U+9D09,U+9E9F,U+9EDB,U+9F90,U+FF05,U+FF14,U+1F464;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.107.woff2)format("woff2");unicode-range:U+25CE,U+4E08,U+4E2A,U+4E56,U+4E9A,U+4EA8,U+4EAD,U+4EC7,U+4F3A,U+4F51,U+4F62,U+4FAF,U+507D,U+5098,U+50AC,U+5147,U+5173,U+5187,U+51F8,U+52A1,U+52A8,U+52F8,U+535C,U+53ED,U+541E,U+5435,U+5475,U+54A9,U+54C0,U+54C7,U+5589,U+5605,U+5690,U+5733,U+5782,U+57C3,U+5858,U+5893,U+589C,U+58E2,U+5974,U+599E,U+59A5,U+59EC,U+5B66,U+5B99,U+5B9D,U+5C2C,U+5C48,U+5C65,U+5CFD,U+5D0E,U+5DBA,U+5DE2,U+5E06,U+5E15,U+5EC1,U+5ED6,U+5F00,U+5F4C,U+5F65,U+6055,U+609F,U+60B6,U+6241,U+624E,U+626F,U+6291,U+62CC,U+62D3,U+62D8,U+62DA,U+62FE,U+6349,U+6367,U+63EA,U+6454,U+64A4,U+64B2,U+64BC,U+64C5,U+64CE,U+6558,U+6572,U+65A5,U+65E8,U+65ED,U+6606,U+6614,U+6670,U+6688,U+673A,U+674F,U+6770,U+6795,U+68CB,U+6912,U+6953,U+6AAC,U+6AAF,U+6AB8,U+6B20,U+6B96,U+6BBF,U+6BC5,U+6C6A,U+6CBE,U+6D59,U+6D78,U+6DC7,U+6DEB,U+6E7E,U+6E9C,U+6F3F,U+6F51,U+6F70,U+6F84,U+704C,U+7051,U+70AB,U+70AD,U+70F9,U+7119,U+714E,U+71D9,U+71E5-71E6,U+72C4,U+72D0,U+72E0,U+7334,U+744B,U+7455,U+74F7,U+7529,U+75AB,U+75B2,U+766E,U+76C3,U+76FC,U+76FE,U+7891,U+7948,U+7A74,U+7B28,U+7C60,U+7C72,U+7CCA,U+7EBF,U+7F55,U+7FF0,U+8154,U+81C2,U+81D8,U+81E3,U+81E5,U+8292,U+8299,U+8302,U+8304,U+8332,U+83C1,U+83C7,U+83CA,U+845B,U+8490,U+85AF,U+8650,U+8667,U+8ABC,U+8B0E,U+8B39,U+8BED,U+8C54,U+8C6B,U+8C9E,U+8CA7,U+8CAA-8CAB,U+8CE6,U+8CEC-8CED,U+8EB2,U+8EBA,U+8FB0,U+901D,U+908F,U+9127,U+91C0,U+9215,U+92B3,U+932B,U+93FD,U+95CA,U+964C,U+96C0,U+970D,U+9774,U+97FB,U+9812,U+9817,U+9913,U+9935,U+99C1,U+9B31,U+9D5D,U+9D6C,U+9E79,U+FE0F,U+FE30,U+FF0B,U+FF10,U+FF15;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.108.woff2)format("woff2");unicode-range:U+B0,U+926,U+928,U+939,U+93F-940,U+94D,U+200B,U+22EF,U+25BA,U+25C6,U+2665,U+4E4F,U+4E59,U+4F0D,U+4F0F,U+4F19,U+4F59,U+4FAE,U+5075,U+50B2,U+50B5,U+511F,U+5141,U+5146,U+514C,U+5185,U+51DD,U+51FD,U+522E,U+5319,U+533A,U+5378,U+53AD,U+53C9,U+53D1,U+53D4,U+543B,U+5442,U+5446,U+5481,U+54E9,U+5507,U+5565,U+559A,U+55AA,U+5606,U+56CA,U+56FE,U+582A,U+58FA,U+5915,U+5949,U+5962,U+5996,U+59FB,U+5A77,U+5B0C,U+5B5F,U+5BD3,U+5BE2,U+5BFA,U+5C41,U+5CA9,U+5D07,U+5EC8,U+5ECA,U+5F18,U+5F4E,U+5F59,U+5F6D,U+5F79,U+5FB9,U+6028,U+6062,U+6068,U+606D,U+6094,U+60F1,U+6108-6109,U+614E,U+6170,U+617E,U+61B2,U+61F8,U+6247,U+626D,U+6276,U+62AB,U+62CB,U+62F3,U+6368,U+6380,U+6492,U+64B0,U+64E0,U+6570,U+660F,U+6649,U+6691,U+66A8,U+6749,U+67F1,U+67F3-67F4,U+6842,U+6851,U+687F,U+68DF,U+69FD,U+6A58,U+6C27,U+6C88,U+6CCA,U+6CDB,U+6D29,U+6D66,U+6DAF,U+6F01,U+6F06,U+6F58,U+6F62,U+6F6D,U+6FA1,U+6FF1,U+6FFE,U+7058,U+70AE,U+7235,U+7267,U+73CA,U+742A,U+758F,U+75BC,U+76C6,U+7740,U+7955,U+7A00,U+7A3B,U+7B4B,U+7BAD,U+7BE9,U+7C4C,U+7CFE,U+7DBF,U+7E2B,U+7E31,U+7F9E,U+7FC1,U+7FFC,U+8096,U+809D,U+80DE,U+8108,U+8155,U+816B,U+81DF,U+8277,U+82BD,U+8352,U+8393,U+8404,U+8525,U+856D,U+8587,U+8606,U+868A,U+8776,U+87BA,U+87F9,U+886B,U+8870,U+88D5,U+896A,U+896F,U+8A23,U+8A87,U+8AD2,U+8B00,U+8B20,U+8CB8,U+8CCA,U+8CE0,U+8D39,U+8D6B,U+8D81,U+8DB4,U+8E29,U+8EF8,U+8F1B,U+8F5F,U+8FA8,U+906E,U+9077,U+90AA,U+90B1,U+90C1,U+9165,U+919C,U+92C1,U+95D6,U+95E8,U+975A,U+98C6,U+9ECF,U+9F0E,U+9F52,U+FEFF,U+FF06,U+FF0A,U+FF12-FF13;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.109.woff2)format("woff2");unicode-range:U+627-629,U+631,U+639,U+644,U+64A,U+25CF,U+2606,U+2764,U+3008-3009,U+4E1F,U+4E38,U+4E43,U+4ED5,U+4EF0,U+4EFF,U+4FB6,U+4FE0,U+5085,U+50A2,U+50BE,U+5118,U+5211-5212,U+5272,U+52FE,U+5366,U+53B2,U+53EC,U+54AC,U+5587,U+55B5,U+561B,U+5751,U+576A,U+57CB,U+58EF,U+592F,U+594F,U+5951,U+5954,U+596E,U+59D1,U+5AC1,U+5ACC,U+5B8B,U+5C4D,U+5C6F,U+5CA1,U+5D29,U+5DE1,U+5DFE,U+5E7D,U+5EDF,U+5EF7,U+5F7C,U+5F81,U+5FA1,U+5FAA,U+5FCC,U+5FFD,U+6021,U+6046,U+6155,U+6212,U+62B9,U+6316,U+6350,U+6478,U+647A,U+6490,U+64E6,U+6524,U+6591,U+659C,U+65A4,U+65E6,U+65F6,U+6607,U+6674,U+6765,U+679D,U+68A8,U+6B3A,U+6C57,U+6C61,U+6C90,U+6CBF,U+6D69,U+6DB5,U+6DCB,U+6DD1,U+6E21,U+70D8,U+71C3,U+71D5,U+722C,U+727D,U+72AC,U+72FC,U+731C,U+7336,U+7344,U+7384,U+73AB,U+7433-7434,U+745C,U+7470,U+758A,U+75D5,U+7652,U+76C8,U+76E7,U+7709,U+7720,U+7747,U+7763,U+77AC-77AD,U+7802,U+78A7,U+78A9,U+78B3,U+78C1,U+78DA,U+7926,U+796D,U+798D,U+7AAE,U+7B52,U+7C92,U+7D68,U+7D81,U+7E5E,U+7E69,U+7E73,U+7F50,U+7F70,U+7F75,U+8058,U+8070,U+80C3,U+8105-8106,U+8179,U+818F,U+81A9,U+81ED,U+820C-820D,U+82D1,U+838E,U+83CC,U+8461,U+84B8,U+852C,U+857E,U+85E4,U+863F,U+8679,U+86C7,U+8702,U+8896,U+88C2,U+88F8,U+8AF8,U+8B7D,U+8CA2,U+8CC0,U+8D64,U+8D74,U+8D99,U+8E5F,U+8E8D,U+8ECC,U+8ED2,U+8FB1,U+8FC5,U+9022,U+9038,U+903E,U+905C,U+9072,U+9081,U+9189,U+9234,U+92D2,U+934A,U+95A3,U+962A,U+9646,U+9676,U+96D5,U+971C,U+9838,U+9875,U+98C4,U+99DB,U+9A45,U+9A5F,U+9A6C,U+9AD2,U+9CF4,U+9D28,U+9DAF,U+9DF9,U+9E7D,U+9F9C,U+FF11,U+FF1E;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.110.woff2)format("woff2");unicode-range:U+2500,U+25BC,U+4E95,U+4F50,U+4F54,U+4F69,U+4FC4,U+4FCA,U+5009,U+50BB,U+5154,U+51CC,U+528D,U+5291,U+52D2,U+52E4,U+5353,U+5360,U+540A-540B,U+5410,U+54F2,U+5510,U+5514,U+5537,U+558A,U+55AC,U+5617,U+56FD,U+573E,U+5766,U+5783,U+57D4,U+5806,U+5821,U+5857,U+5875,U+58F9,U+596A,U+59AE,U+59C6,U+59CA,U+59FF,U+5A03,U+5AE9,U+5B64,U+5BB4,U+5C3F,U+5E16,U+5E45,U+5E72,U+5EC9,U+5F90-5F92,U+6012,U+6016,U+6084-6085,U+6089,U+60A0,U+60A3,U+60B2,U+60D1,U+60F9,U+6148,U+6158,U+6191,U+626E,U+62D4,U+632F,U+633A,U+6355,U+63AA,U+642C,U+64A5,U+64CB,U+6566,U+6575,U+6597,U+660C,U+66B1,U+66EC,U+6731,U+6735,U+675C,U+67EF,U+6846,U+6876,U+6881,U+68AF-68B0,U+68C9,U+6905,U+6B98,U+6BC0,U+6BEB,U+6C0F,U+6C1B,U+6C41,U+6CE5,U+6CF3,U+6D25,U+6D2A,U+6D3D,U+6D6E,U+6DD8,U+6DDA,U+6DFA,U+6E9D,U+6EAA,U+6EC5,U+6ECB,U+6EF4,U+6F0F,U+6F32,U+707D,U+708E,U+7092,U+716E,U+723A,U+731B,U+7345,U+7375,U+7378,U+73B2,U+74E6,U+75BE,U+75DE,U+764C,U+76DC,U+788E,U+7897,U+789F,U+78B0,U+790E,U+7965,U+7A4E,U+7AA9,U+7C43,U+7D17,U+7DD2,U+7E96,U+7F51,U+7F69,U+7F72,U+7FD4,U+7FE0,U+8017,U+80A9,U+80D6,U+8102,U+8150,U+8178,U+81BD,U+829D,U+82AC,U+8303,U+840C,U+8482,U+8499,U+85A9-85AA,U+883B,U+8861,U+88C1,U+88CF,U+88D9,U+8A3A,U+8A98,U+8AEE,U+8C8C,U+8CE2,U+8D0F,U+8DA8,U+8DCC,U+8E0F,U+8E22,U+8F1D,U+8F29,U+8FAD,U+9003,U+9006,U+903C,U+904D,U+9059,U+9075,U+90CE,U+90ED,U+9130,U+91AC,U+91E3,U+9285,U+9298,U+92EA,U+9326,U+937E,U+93C8,U+95C6,U+9677,U+9727,U+994B,U+99A8,U+99D0,U+9A30,U+9A37,U+9B42,U+9B45,U+9D3B,U+9E7F,U+9EE8,U+9F3B,U+C5B4;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.111.woff2)format("woff2");unicode-range:U+5E,U+2502,U+2605,U+4E32,U+4E58,U+4EA1,U+4EF2,U+4F2F-4F30,U+4F75,U+4FD7,U+4FF1,U+501F,U+5049,U+5074,U+5091,U+5144,U+517C,U+51C6,U+51CD,U+5269-526A,U+52AA,U+52C1,U+52C7,U+52DF,U+5377,U+541B,U+5439,U+5440,U+5448,U+54AA,U+54E6,U+54ED,U+5674,U+5687,U+585E,U+588A,U+58A8,U+58C1,U+5925,U+5948,U+5999,U+59B3,U+5A1C,U+5A46,U+5B54,U+5B5D,U+5B6B,U+5B8F,U+5BD2,U+5BE9,U+5C0A,U+5C16,U+5C46,U+5CF0,U+5E25,U+5E3D,U+5E79,U+5EE2,U+5F04,U+5F31,U+5FCD,U+5FE0,U+60DC,U+6163,U+616E,U+6182,U+61F6,U+622A,U+6258,U+6293,U+62C6,U+62D2,U+6372,U+63DA,U+63ED-63EE,U+6416,U+6458,U+649E,U+64EC,U+64F4,U+651C,U+65CB,U+65E2,U+65FA,U+6628,U+6668,U+66A2,U+66C9,U+66FC,U+6717,U+67CF,U+67D4,U+6817,U+6885,U+69CD,U+6A6B,U+6AFB,U+6B32,U+6B49,U+6BBC,U+6C89,U+6C96,U+6CC9,U+6D1B,U+6D1E,U+6DFB,U+6EFE,U+6F38,U+6F5B,U+6F64,U+6F8E,U+6FA4,U+7070,U+70B8,U+70CF,U+70E4,U+7159,U+7169,U+7210,U+721B,U+7238,U+737B,U+73BB,U+746A,U+7483,U+74DC,U+74F6,U+7518,U+756A,U+75C7,U+775B,U+78E8,U+7919,U+7956,U+795D,U+7A0D,U+7BC9,U+7C97,U+7CD5,U+7D10,U+7D1B,U+7DE9,U+7DFB,U+7E3E,U+7E6A,U+7F6A,U+7F8A,U+7FBD,U+8000,U+8036,U+809A,U+80CE,U+80E1,U+80F8,U+8170,U+819C,U+8216,U+8239,U+8266,U+827E,U+82B3,U+8377,U+83AB,U+85C9,U+865B,U+8766,U+87A2,U+87F2,U+8972,U+8A17,U+8A50,U+8A95,U+8B02,U+8B6F,U+8C6C,U+8CA9,U+8CFA,U+8D95,U+8DE1,U+8F14,U+8F9B,U+8FA3,U+8FEB,U+8FF4,U+9010,U+901B,U+905E,U+9080,U+912D,U+9177,U+91C7,U+9336,U+9451,U+947D,U+963B,U+966A,U+9670,U+9769,U+9813,U+98FD,U+99D5,U+9A19,U+9B27,U+9B6F,U+9ECE,U+9ED8,U+9F13,U+9F20,U+AD6D,U+D55C;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.112.woff2)format("woff2");unicode-range:U+201C-201D,U+203B,U+2192,U+25B2,U+300F,U+4E01,U+4E39,U+4E73,U+4E88,U+4E8E,U+4ED9,U+4F0A,U+4F38,U+4F5B,U+4FC3,U+500D,U+504F,U+5076-5077,U+5100,U+5104,U+5132,U+5175,U+5192,U+51A0,U+51AC,U+51E1,U+51F1,U+5200,U+5224,U+5237-5238,U+523A,U+526F,U+5289,U+52DE,U+52F5,U+5371,U+539A,U+53E5,U+540E,U+547C,U+552F,U+5531,U+5634,U+56C9,U+56F0,U+574A,U+5761,U+57F7,U+57F9,U+5805,U+5851,U+5854,U+586B,U+58FD,U+592E,U+5967,U+59BB,U+59D3,U+5A18,U+5B30,U+5B55,U+5B87,U+5B97,U+5BE7,U+5BEC,U+5BF8,U+5C24,U+5CB8,U+5DF7,U+5E1D,U+5E2D,U+5E7B,U+5F1F,U+5F70,U+5FD9,U+61B6,U+6234,U+62B5,U+62D6,U+62DC,U+62FC,U+6383,U+63CF,U+63D2,U+63E1,U+640D,U+64CD,U+64FA,U+64FE,U+654F,U+6562,U+656C,U+65C1,U+65D7,U+6620,U+6676,U+6697,U+66AB,U+66C6,U+66DD,U+66FF,U+671D,U+672B,U+677E,U+67D0,U+67D3,U+68C4,U+690D,U+694A,U+695A,U+6AC3,U+6B04,U+6B23,U+6B78,U+6B8A,U+6C60,U+6D74,U+6D89,U+6DB2,U+6DBC,U+6DE1,U+6DF7,U+6E38,U+6E6F,U+6F02,U+6FC3,U+6FD5,U+70C8,U+7126,U+718A,U+723D,U+7246,U+72AF,U+73CD,U+760B,U+7626,U+7687,U+79DF,U+7A05,U+7A3F,U+7A69,U+7AF6,U+7C3D,U+7C3F,U+7C4D,U+7CD6,U+7D0B,U+7D2B,U+7DE3,U+7E2E,U+8010,U+808C,U+80A5,U+80AF,U+812B,U+817F,U+819A,U+82D7,U+8389-838A,U+83F2,U+840A,U+8463,U+8521,U+8584,U+860B,U+864E,U+871C,U+878D,U+885D,U+8932,U+89F8,U+8A69,U+8AFE,U+8B5C,U+8C37,U+8C46,U+8CBF,U+8CD3,U+8CF4,U+8D08,U+8D0A,U+8DDD,U+8FEA,U+9014,U+9055,U+907A,U+9178,U+92FC,U+934B,U+9396,U+93AE,U+9583,U+9663,U+96BB,U+9707,U+9738,U+9846,U+9905,U+9A0E,U+9AA8,U+9B25,U+9B3C,U+9CE5,U+9CF3,U+9EA5,U+9EB5,U+9F4A,U+9F61,U+FF0D;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.113.woff2)format("woff2");unicode-range:U+3C,U+D7,U+300E,U+4E4E,U+4E82,U+4E92,U+4EC1,U+4ECD,U+4F48,U+4F53,U+4FB5,U+5012,U+502B,U+522A,U+52DD,U+52FF,U+532F,U+53EB,U+53F3,U+5409,U+5433,U+5496,U+54C8,U+554A,U+5561,U+5594,U+559D,U+56B4,U+56FA,U+5713,U+5750,U+57DF,U+584A,U+58C7,U+58DE,U+593E,U+5976,U+59D0,U+59D4,U+5A66,U+5B85,U+5B88,U+5BA3,U+5BAE,U+5BBF,U+5BDF,U+5C01,U+5C04,U+5C3A,U+5C3E,U+5C4F,U+5DDD-5DDE,U+5DE8,U+5E63,U+5E7C,U+5E8A,U+5EDA,U+5EF3,U+5EF6,U+5F48,U+6015,U+6025,U+602A,U+6050,U+6069,U+60E1,U+6162,U+6176,U+61C2,U+6200,U+6263,U+6279,U+6297,U+62B1,U+62BD,U+62EC,U+6311,U+6377,U+6388-6389,U+638C,U+63A2,U+63F4,U+641E,U+6436,U+64C1,U+6551,U+6557,U+6563,U+6696,U+66B4,U+66F2,U+6751,U+675F,U+676F,U+6790,U+6838,U+684C,U+68D2,U+6982,U+699C,U+69AE,U+69CB,U+6A39,U+6A4B,U+6B66,U+6BD2,U+6CB3,U+6CE1,U+6D3E,U+6DE8,U+6ED1,U+6F22,U+6F54,U+6FC0,U+6FDF,U+719F,U+71C8,U+7236,U+7259,U+72D7,U+7389,U+73E0,U+745E,U+751A,U+7532-7533,U+7562,U+7591,U+75C5,U+75DB,U+7686,U+76D2,U+76DB,U+76DF,U+76E3,U+7701,U+7761,U+786C,U+7981,U+79CB,U+79D2,U+79FB,U+7A81,U+7A97,U+7AEF,U+7B26,U+7B80,U+7C64,U+7D0D,U+7D14,U+7D2F,U+7DCA,U+7DF4,U+7E54,U+7E6B,U+7F3A,U+8033,U+804A,U+805A,U+81A0,U+81E8,U+8212,U+821E,U+82E6,U+8336,U+8449,U+84CB,U+84EE,U+85E5,U+8607,U+888B,U+8A13,U+8A5E,U+8AA0,U+8AA4,U+8AB0,U+8AB2,U+8AC7,U+8B66,U+8C6A,U+8C93,U+8C9D,U+8DE8,U+8F2A,U+8FB2,U+906D,U+907F,U+90A6,U+9109,U+9192,U+91CB,U+91DD,U+964D,U+9686,U+968E,U+9694,U+969C,U+96DE,U+96E8,U+96EA,U+96F7,U+975C,U+9760,U+978B,U+9858,U+9918,U+9AEE,U+9EBB,U+FF0E-FF0F,U+FF5C;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.114.woff2)format("woff2");unicode-range:U+B7,U+2022,U+2027,U+3042,U+3044,U+3046,U+3048,U+304A-3050,U+3053-3057,U+3059-305B,U+305D-3061,U+3063-306C,U+306E-3079,U+307B,U+307D-307F,U+3082-308D,U+308F,U+3092-3093,U+30A1-30A4,U+30A6-30C1,U+30C3-30C4,U+30C6-30E1,U+30E3-30ED,U+30EF,U+30F3,U+30FB-30FC,U+4E7E,U+4EA6,U+4EAC,U+4F34,U+50B7,U+51B0,U+523B,U+5283,U+5348,U+5354,U+54E5,U+5708,U+590F,U+592B,U+599D,U+59B9,U+5A01,U+5A5A,U+5DE7,U+5E78,U+5E9C,U+5FB5,U+6167,U+61F7,U+627F,U+63A1,U+64D4,U+65BD,U+68EE,U+6B4C,U+6BBA,U+6C5F,U+6D0B,U+6D6A,U+6E1B,U+6E56,U+6F6E,U+71D2,U+722D,U+72C2,U+751C,U+7530,U+7642,U+76E1,U+79C0,U+7ADF,U+7AF9,U+7D9C,U+7DA0,U+7E23,U+7E41,U+8056,U+8173,U+822A,U+8349,U+83DC,U+8840,U+885B,U+8907,U+8A34,U+8CB4,U+8DD1,U+8FD4,U+8FF0,U+93E1,U+984F,U+98EF,U+9B54;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.115.woff2)format("woff2");unicode-range:U+23-25,U+3D,U+2026,U+4E03,U+4E45,U+4E5D,U+4EAE,U+4ED4,U+4ED8,U+4F01,U+4F11,U+4F3C,U+4F8B,U+4FC2,U+5019,U+505C,U+50C5,U+5145,U+51B7,U+5207,U+521D,U+525B,U+5287,U+52E2,U+535A,U+537B,U+5426,U+542B,U+5438,U+5462,U+54EA,U+555F,U+5566,U+5584,U+5609,U+570D,U+571F,U+5747,U+5802,U+58D3,U+591C,U+5920,U+5922,U+5957,U+5979,U+5A92,U+5ABD,U+5B63,U+5B69,U+5B83,U+5B9C,U+5BB3,U+5BC4,U+5BF5,U+5C3C,U+5C40,U+5C4B,U+5C64,U+5CF6,U+5DE6,U+5E0C,U+5E55,U+5EAB,U+5EAD,U+5EE0,U+5F85,U+5F8B,U+5FA9,U+5FD7-5FD8,U+5FF5,U+600E,U+6298,U+62DB,U+62FF,U+639B,U+63A7,U+642D,U+6469,U+64AD,U+651D,U+653B,U+65B7,U+65CF,U+665A,U+666E,U+66FE,U+6728,U+674E,U+67B6,U+6821,U+6839,U+6843,U+6A94,U+6B50,U+6B62,U+6B72,U+6B7B,U+6BCD,U+6BDB,U+6C38,U+6C7A,U+6C7D,U+6C99,U+6CB9,U+6CE2,U+6CF0,U+6D17,U+6D32,U+6E2C,U+6FB3,U+7206,U+723E,U+725B,U+734E,U+7387,U+73ED,U+7565,U+7570,U+76CA,U+76E4,U+773E,U+77ED,U+77F3,U+7814,U+7834,U+7968,U+79D8,U+7A76,U+7A7F,U+7B11,U+7B46,U+7B54,U+7BC4,U+7D19,U+7D20,U+7D22,U+7D42,U+7D55,U+7E7C,U+7F85,U+7FFB,U+8077,U+8089,U+80CC,U+81C9,U+81F4,U+81FA,U+820A,U+822C,U+826F,U+85CD,U+86CB,U+88DC,U+8986,U+8A0E,U+8A2A,U+8A73,U+8A8C,U+8B1B,U+8B9A,U+8C50,U+8C61,U+8CA0,U+8CDE,U+8CFD,U+8D8A,U+8DF3,U+8E64,U+8ECD,U+8EDF,U+8F38,U+8FF7,U+9000,U+9047,U+9060,U+90F5,U+9152,U+91CE,U+9280,U+9418,U+9435,U+9589,U+9592,U+9678,U+967D,U+968A,U+96AA,U+96C5,U+96D6,U+96DC,U+96F6,U+9732,U+9748,U+9802,U+9806,U+9808,U+9818,U+983B,U+984D,U+9867,U+98DB,U+98F2,U+98FE,U+9A5A,U+9B06,U+9B5A,U+9BAE,U+9E97,U+FF1B,U+FF5E;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.116.woff2)format("woff2");unicode-range:U+26,U+40,U+5F,U+4E14,U+4E9E,U+4EC0,U+4F4E-4F4F,U+4F73,U+4FEE,U+503C,U+5047,U+514B,U+516B,U+516D,U+5178,U+520A,U+5236,U+5343,U+5347,U+534A,U+5370,U+53CD,U+53E4,U+53E6,U+53F2,U+5403,U+5411,U+5427,U+5468,U+5473,U+547D,U+552E,U+55CE,U+5740,U+57CE,U+5883,U+589E,U+5931,U+5947,U+59CB,U+5A1B,U+5B58,U+5B98,U+5BA4,U+5BC6,U+5BCC,U+5BEB,U+5BF6,U+5C45,U+5C6C,U+5DEE,U+5DF4,U+5E03,U+5E33,U+5E6B,U+5E7E,U+5E8F,U+5E95,U+5EA7,U+5F15,U+5F62,U+5F69,U+5F80,U+5FAE,U+5FB7,U+601D,U+60E0,U+614B,U+6230,U+6236,U+623F,U+628A,U+6295,U+62C9,U+6309,U+63DB,U+64C7,U+64CA,U+64DA,U+652F,U+6545,U+6548,U+65AF,U+65E9,U+6625,U+666F,U+667A,U+670B,U+671B,U+6750,U+677F,U+6848,U+6975,U+6A13,U+6A21,U+6AA2,U+6B65,U+6B77,U+6BB5,U+6CC1,U+6CE8,U+6DF1,U+6E90,U+6E96,U+6EAB,U+6F14,U+6F2B,U+700F,U+706B,U+724C,U+72C0,U+7368,U+7372,U+74B0,U+756B,U+76AE,U+773C,U+78BA,U+78BC,U+798F,U+79AE,U+7A4D,U+7AE5,U+7B56,U+7B97,U+7BB1,U+7BC7,U+7C73,U+7C89,U+7D00,U+7D30,U+7D39,U+7D72,U+7DAD,U+7E8C,U+7F6E,U+7FA4,U+7FA9,U+7FD2,U+8003,U+807D,U+80A1,U+80B2,U+8166,U+8208-8209,U+82E5,U+843D,U+85CF,U+85DD,U+862D,U+8857,U+8863,U+88E1,U+89BA,U+89D2,U+8A31,U+8A62,U+8A66,U+8A72,U+8ABF,U+8B1D,U+8B58,U+8B70,U+8B80,U+8CA1,U+8CA8,U+8CAC,U+8CBC,U+8D70,U+8DA3,U+8DB3,U+8DDF,U+8F03,U+8F15,U+8F2F,U+8FA6,U+8FCE,U+8FFD,U+900F,U+9031,U+9069,U+908A,U+91AB,U+91CC,U+92B7,U+9322,U+932F,U+9375,U+9632,U+963F,U+9644,U+9662,U+9673,U+96A8,U+96C4,U+96D9,U+96E2-96E3,U+96F2,U+9752,U+97D3,U+97FF,U+9805,U+9810,U+986F,U+990A,U+9910,U+9928,U+9EC3,U+9ED1,U+9F8D;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.117.woff2)format("woff2");unicode-range:U+3E,U+7E,U+3000,U+300A-300B,U+3010-3011,U+4E16,U+4E26,U+4E94,U+4E9B,U+4EA4,U+4ECA-4ECB,U+4EFB,U+4EFD,U+4F46,U+4F55,U+4F9B,U+4F9D,U+4FBF,U+505A,U+5065,U+5099,U+50CF,U+50F9,U+512A,U+5143,U+5148,U+514D,U+5152,U+5169,U+5171,U+5177,U+518A,U+5217,U+5225,U+5247,U+5275,U+529F,U+52A9,U+5305,U+5341,U+5357,U+5361,U+5373,U+53BB,U+53C3,U+53C8,U+53D6-53D7,U+53E3,U+53EA,U+53F8,U+5404,U+559C,U+5668,U+56DB,U+56E0,U+5712,U+5718,U+578B,U+57FA,U+58EB,U+592A,U+5C0B,U+5C0E,U+5C11,U+5C1A,U+5C55,U+5C71,U+5DF1,U+5E2B,U+5E36,U+5E97,U+5EB7,U+5EE3,U+5EFA,U+5F35,U+5F37,U+5F88,U+5F9E,U+5FC5,U+606F,U+60A8,U+6232,U+624D,U+6253,U+627E,U+6280,U+62CD,U+6301,U+6307,U+6392,U+63A5,U+6539,U+653E-653F,U+6559,U+6574,U+65C5,U+6613,U+66F8,U+672A,U+6797,U+67E5,U+6A19,U+6A23,U+6B61,U+6BCF,U+6BD4,U+6C11,U+6C42,U+6D41,U+6D77,U+6D88,U+6E05,U+6E2F,U+6EFF,U+7136,U+7167,U+71DF,U+738B,U+73A9,U+7403,U+7531,U+7537,U+754C,U+7559,U+767D-767E,U+76F4,U+793A,U+795E,U+79C1,U+79D1,U+7A2E,U+7A31,U+7A7A,U+7AE0,U+7BA1,U+7BC0,U+7C21,U+7CFB,U+7D04-7D05,U+7D1A,U+7D44,U+7D66,U+7D71,U+7DE8,U+7E3D,U+8001,U+800C,U+805E,U+8072,U+81F3,U+82B1,U+82F1,U+83EF,U+842C,U+8457,U+85A6,U+8655,U+8853,U+88AB,U+88DD,U+88FD,U+897F,U+898F,U+89AA,U+89BD,U+89C0,U+89E3,U+8A02,U+8A3B,U+8A55,U+8A8D,U+8A9E,U+8AD6,U+8B49,U+8B77,U+8B8A,U+8B93,U+8CB7,U+8CE3,U+8CEA,U+8CFC,U+8F09,U+8FD1,U+9001,U+901F-9020,U+9054,U+90A3,U+914D,U+91CF,U+9304,U+95B1,U+9650,U+9664,U+969B,U+96B1,U+96C6,U+9700,U+975E,U+97F3,U+98A8,U+98DF,U+9999,U+99AC,U+9A57,U+9EBC;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.118.woff2)format("woff2");unicode-range:U+D,U+2B,U+7C,U+A0,U+A9,U+300C-300D,U+4E09,U+4E3B,U+4E4B,U+4E5F,U+4E86,U+4E8B-4E8C,U+4EAB,U+4ED6,U+4EE3-4EE4,U+4EF6,U+4F1A,U+4F4D,U+4F60,U+4F7F,U+4F86,U+4FDD,U+4FE1,U+5011,U+50B3,U+5149,U+5167,U+5176,U+518D,U+5229,U+524D,U+529B,U+52A0,U+52D9,U+5316-5317,U+5340,U+539F,U+53CA-53CB,U+5408,U+540C-540D,U+544A,U+548C,U+54C1,U+54E1,U+5546,U+554F,U+55AE,U+56DE,U+5716,U+5831,U+5834,U+5916,U+5929,U+5973,U+597D,U+5982,U+5B57,U+5B78,U+5B89,U+5B8C,U+5B9A,U+5BA2,U+5BB9,U+5BE6,U+5C07-5C08,U+5C0D,U+5C31,U+5DE5,U+5DF2,U+5E02,U+5E38,U+5E73-5E74,U+5EA6,U+5F0F,U+5F71,U+5F8C,U+5F97,U+5FEB,U+6027,U+60C5,U+60F3,U+610F,U+611B,U+611F,U+61C9,U+6210,U+6216,U+6240,U+624B,U+63A8,U+63D0,U+641C,U+6536,U+6578,U+6599,U+65B9,U+660E,U+661F,U+662D,U+66F4,U+670D,U+671F,U+6771,U+679C,U+682A,U+683C,U+689D,U+696D,U+6A02,U+6A5F,U+6B0A,U+6B21,U+6B3E,U+6B64,U+6C23,U+6C34,U+6C92,U+6CBB,U+6CD5,U+6D3B,U+7063,U+7121,U+71B1,U+7247-7248,U+7269,U+7279,U+73FE,U+7406,U+7522,U+7576,U+767B,U+76EE,U+76F8,U+770B,U+771F,U+77E5,U+793E,U+7A0B,U+7ACB,U+7AD9,U+7B2C,U+7B49,U+7CBE,U+7D50,U+7D61,U+7D93,U+7DDA,U+7F8E,U+8005,U+806F,U+80FD,U+81EA,U+8207,U+8272,U+865F,U+8868,U+8981,U+898B,U+8996,U+8A00,U+8A08,U+8A0A,U+8A18,U+8A2D,U+8A71,U+8AAA,U+8ACB,U+8CBB,U+8CC7,U+8D77,U+8D85,U+8DEF,U+8EAB,U+8ECA,U+8F49,U+9019-901A,U+9023,U+9032,U+904A-904B,U+904E,U+9053,U+9078,U+9084,U+90E8,U+90FD,U+91CD,U+91D1,U+9577,U+9580,U+9593,U+9762,U+982D,U+984C,U+985E,U+9996,U+9AD4,U+9AD8,U+9EDE,U+FF01,U+FF08-FF09,U+FF1F;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9iFOkMQAewlpbGXhhyYs0QF3kPVyLylzU95vTq1Ltj5xQez1g.119.woff2)format("woff2");unicode-range:U+20-22,U+27-2A,U+2C-3B,U+3F,U+41-5D,U+61-7B,U+7D,U+AB,U+AE,U+B2-B3,U+BB,U+BF,U+C9,U+CD,U+D6,U+E?,U+F1-F4,U+F6,U+F9-FA,U+FC-FD,U+101,U+103,U+110-111,U+113,U+12B,U+14D,U+16B,U+1A1,U+1B0,U+1CE,U+300-301,U+1EA1,U+1EA3,U+1EBF,U+1EC7,U+2013-2014,U+2039-203A,U+203C,U+2122,U+3001-3002,U+3113-3114,U+3118,U+311A-3129,U+4E00,U+4E0A-4E0B,U+4E0D,U+4E2D,U+4EBA,U+4EE5,U+4F5C,U+500B,U+5165,U+5168,U+516C,U+51FA,U+5206,U+5230,U+52D5,U+53EF-53F0,U+570B,U+5728,U+5730,U+591A,U+5927,U+5B50,U+5BB6,U+5C0F,U+5FC3,U+6211,U+6587,U+65B0,U+65BC,U+65E5,U+662F,U+6642,U+6700,U+6703,U+6708-6709,U+672C,U+6B63,U+70B9-70BA,U+751F,U+7528,U+767C,U+7684,U+7DB2,U+884C,U+958B,U+95DC,U+96FB,U+9801,U+FF0C,U+FF1A;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9i1PCEKM_Y.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9i1NyEKM_Y.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9i1NiEKM_Y.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/-nF7OG829Oofr2wohFbTp9i1OCEK.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;ascent-override:100%;descent-override:20%;line-gap-override:0%}
diff --git a/luci-app-honk/root/etc/honk/doona/assets/fonts-tc-D9rvq3k7.css b/luci-app-honk/root/etc/honk/doona/assets/fonts-tc-D9rvq3k7.css
new file mode 100644
index 000000000..fbf05de18
--- /dev/null
+++ b/luci-app-honk/root/etc/honk/doona/assets/fonts-tc-D9rvq3k7.css
@@ -0,0 +1 @@
+@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-0-wght-normal-AlCjBspo.woff2)format("woff2");unicode-range:U+1F921-1F930,U+1F932-1F935,U+1F937-1F939,U+1F940-1F944,U+1F947-1F94A,U+1F95?,U+1F962-1F967,U+1F969-1F96A,U+1F980-1F981,U+1F984-1F98D,U+1F990-1F992,U+1F994-1F996,U+1F9C0,U+1F9D0,U+1F9D2,U+1F9D4,U+1F9D6,U+1F9D8,U+1F9DA,U+1F9DC-1F9DD,U+1F9DF-1F9E2,U+1F9E5-1F9E6,U+20024,U+20487,U+20779,U+20C41,U+20C78,U+20D71,U+20E98,U+20EF9,U+2107B,U+210C1,U+22C51,U+233B4,U+24A12,U+2512B,U+2546E,U+25683,U+267CC,U+269F2,U+27657,U+282E2,U+2898D,U+29D5A,U+F0001-F0005,U+F0019,U+F009B,U+F0101-F0104,U+F012B,U+F01BA,U+F01D6,U+F0209,U+F0217,U+F0223-F0224,U+FC355,U+FE327,U+FE517,U+FEB97,U+FFFB4;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-6-wght-normal-WPkr41zz.woff2)format("woff2");unicode-range:U+FF78-FF7E,U+FF80-FF86,U+FF89-FF94,U+FF97-FF9E,U+FFB9,U+FFE0-FFE3,U+FFE9,U+FFEB,U+FFED,U+FFFC,U+1D7C7,U+1F004,U+1F0CF,U+1F141-1F142,U+1F150,U+1F154,U+1F158,U+1F15B,U+1F15D-1F15E,U+1F162-1F163,U+1F170-1F171,U+1F174,U+1F177-1F178,U+1F17D-1F17F,U+1F192-1F195,U+1F197-1F19A,U+1F1E6-1F1F5,U+1F1F7-1F1FF,U+1F21A,U+1F22F,U+1F232-1F237,U+1F239-1F23A,U+1F250-1F251,U+1F300,U+1F302-1F319;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-7-wght-normal-foGylaCC.woff2)format("woff2");unicode-range:U+FA0A,U+FA0C,U+FA11,U+FA17,U+FA19,U+FA1B,U+FA1D,U+FA26,U+FA2C,U+FB01,U+FDFC,U+FE0E,U+FE33-FE36,U+FE38-FE44,U+FE49-FE51,U+FE54,U+FE56-FE57,U+FE59-FE5C,U+FE5F-FE6A,U+FE8E,U+FE92-FE93,U+FEAE,U+FECB-FECC,U+FEE0,U+FEEC,U+FEF3,U+FF04,U+FF07,U+FF26-FF2C,U+FF31-FF32,U+FF35-FF37,U+FF39-FF3A,U+FF3C,U+FF3E-FF5B,U+FF5D,U+FF61-FF65,U+FF67-FF68,U+FF6A,U+FF6C-FF77;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-8-wght-normal-BHOicRI8.woff2)format("woff2");unicode-range:U+F78A-F78C,U+F78E,U+F792-F796,U+F798,U+F79C,U+F7F5,U+F812,U+F815,U+F876,U+F8F5,U+F8F8,U+F8FF,U+F901-F902,U+F904,U+F906,U+F909-F90A,U+F90F,U+F914,U+F918-F919,U+F91B,U+F91D,U+F91F,U+F923,U+F925,U+F92D-F92F,U+F934,U+F937-F938,U+F93D,U+F93F,U+F941,U+F949,U+F94C,U+F94E-F94F,U+F95A,U+F95D-F95E,U+F961-F963,U+F965-F970,U+F974,U+F976-F97A,U+F97C,U+F97E-F97F,U+F981,U+F983,U+F988,U+F98A,U+F98C,U+F98E,U+F996-F997,U+F999-F99A,U+F99C,U+F99F-F9A0,U+F9A3,U+F9A8,U+F9AD,U+F9B2-F9B6,U+F9B9-F9BA,U+F9BD-F9BE,U+F9C1,U+F9C4,U+F9C7,U+F9CA,U+F9CD,U+F9D0-F9D1,U+F9D3-F9D4,U+F9D7-F9D8,U+F9DC-F9DD,U+F9DF-F9E1,U+F9E4,U+F9E8-F9EA,U+F9F4,U+F9F6-F9F7,U+F9F9-F9FA,U+F9FC-FA01,U+FA03-FA04,U+FA06,U+FA08-FA09;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-19-wght-normal-C8pGE9DU.woff2)format("woff2");unicode-range:U+9EE5,U+9EE7,U+9EEE,U+9EF3-9EF4,U+9EF6-9EF7,U+9EF9,U+9EFB-9EFD,U+9EFF,U+9F07-9F09,U+9F10,U+9F14-9F15,U+9F19,U+9F22,U+9F29,U+9F2C,U+9F2F,U+9F31,U+9F34,U+9F37,U+9F39,U+9F3D-9F3E,U+9F41,U+9F4C-9F50,U+9F54,U+9F57,U+9F59,U+9F5C,U+9F5F-9F60,U+9F62-9F63,U+9F66-9F67,U+9F6A,U+9F6C,U+9F72,U+9F76-9F77,U+9F7F,U+9F84-9F85,U+9F88,U+9F8E,U+9F91,U+9F94-9F96,U+9F98,U+9F9A-9F9B,U+9F9F-9FA0,U+9FA2,U+9FA4,U+9FF?,U+A1F4,U+A4B0-A4B1,U+A4B3,U+A9C1-A9C2,U+AA31,U+AB34,U+AC00-AC01,U+AC04,U+AC08,U+AC10-AC11,U+AC13-AC16,U+AC19,U+AC1C-AC1D,U+AC24,U+AC70-AC71,U+AC74,U+AC77-AC78,U+AC80-AC81,U+AC83,U+AC8C,U+AC90,U+ACA0,U+ACA8-ACA9,U+ACAC,U+ACB0,U+ACB8-ACB9,U+ACBC-ACBD,U+ACC1,U+ACC4,U+ACE0-ACE1,U+ACE4,U+ACE8,U+ACF0-ACF1,U+ACF3,U+ACF5,U+ACFC;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-20-wght-normal-C3zSSq0m.woff2)format("woff2");unicode-range:U+9D77,U+9D7A,U+9D7E,U+9D87,U+9D89,U+9D8F,U+9D91-9D93,U+9D96,U+9D98,U+9D9A,U+9DA1-9DA2,U+9DA5,U+9DA9,U+9DAB-9DAC,U+9DB1-9DB2,U+9DB5,U+9DB9-9DBC,U+9DBF-9DC2,U+9DC4,U+9DC7-9DC9,U+9DD3,U+9DD6,U+9DD9-9DDA,U+9DDE-9DDF,U+9DE2,U+9DE5-9DE6,U+9DE8,U+9DEF-9DF0,U+9DF2-9DF4,U+9DF8,U+9DFA,U+9DFD,U+9DFF,U+9E02,U+9E07,U+9E0A,U+9E11,U+9E15,U+9E18,U+9E1A-9E1B,U+9E1D-9E1E,U+9E20-9E23,U+9E25-9E26,U+9E2D,U+9E2F,U+9E33,U+9E35,U+9E3D-9E3F,U+9E42-9E43,U+9E45,U+9E48-9E4A,U+9E4C,U+9E4F,U+9E51,U+9E55,U+9E64,U+9E66,U+9E6B,U+9E6D-9E6E,U+9E70,U+9E73,U+9E75,U+9E78,U+9E80-9E83,U+9E87-9E88,U+9E8B-9E8C,U+9E90-9E91,U+9E93,U+9E96,U+9E9D,U+9EA1,U+9EA4,U+9EA6,U+9EA9-9EAB,U+9EAD,U+9EAF,U+9EB4,U+9EB7-9EBA,U+9EBE-9EBF,U+9ECC-9ECD,U+9ED0,U+9ED2,U+9ED4,U+9ED9-9EDA,U+9EDC-9EDD,U+9EDF-9EE0,U+9EE2;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-21-wght-normal-J1OUZdIj.woff2)format("woff2");unicode-range:U+9BF0-9BF1,U+9BF5,U+9BF7,U+9BF9,U+9BFD,U+9BFF,U+9C02,U+9C06,U+9C08-9C0A,U+9C0D,U+9C10,U+9C12-9C13,U+9C15,U+9C1C,U+9C1F,U+9C21,U+9C23-9C25,U+9C28-9C29,U+9C2D-9C2E,U+9C31-9C33,U+9C35-9C37,U+9C39-9C3B,U+9C3D-9C3E,U+9C40,U+9C42,U+9C45-9C49,U+9C52,U+9C54,U+9C56,U+9C58-9C5A,U+9C5D,U+9C5F-9C60,U+9C63,U+9C67-9C68,U+9C72,U+9C75,U+9C78,U+9C7A-9C7C,U+9C7F-9C81,U+9C87-9C88,U+9C8D,U+9C91,U+9C94,U+9C97,U+9C9B,U+9CA4,U+9CA8,U+9CAB,U+9CAD,U+9CB1-9CB3,U+9CB6-9CB8,U+9CC4-9CC5,U+9CCC-9CCD,U+9CD5-9CD7,U+9CDD-9CDF,U+9CE7,U+9CE9,U+9CEE-9CF0,U+9CF2,U+9CFC-9CFE,U+9D03,U+9D06-9D08,U+9D0E,U+9D10,U+9D12,U+9D15,U+9D17,U+9D1D-9D1F,U+9D23,U+9D2B,U+9D2F-9D30,U+9D34,U+9D37,U+9D3D,U+9D42,U+9D50,U+9D52-9D53,U+9D59,U+9D5C,U+9D5E-9D61,U+9D6A,U+9D6F-9D70;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-22-wght-normal-BxkVDKYB.woff2)format("woff2");unicode-range:U+9A87,U+9A8A-9A8B,U+9A8F-9A91,U+9A97,U+9A9A,U+9A9E,U+9AA0-9AA1,U+9AA4-9AA5,U+9AAF-9AB1,U+9AB6-9AB7,U+9AB9-9ABA,U+9ABE,U+9AC0-9AC5,U+9AC8,U+9ACB-9ACC,U+9ACE-9ACF,U+9AD1,U+9AD5-9AD7,U+9AD9,U+9ADF,U+9AE1,U+9AE3,U+9AEA-9AEB,U+9AED,U+9AEF,U+9AF2,U+9AF4,U+9AF9,U+9AFB,U+9AFD,U+9B03-9B04,U+9B08,U+9B13,U+9B18,U+9B1F,U+9B22-9B23,U+9B28-9B2A,U+9B2C-9B30,U+9B32,U+9B3B,U+9B43,U+9B46-9B49,U+9B4B-9B4E,U+9B51,U+9B55,U+9B58,U+9B5B,U+9B5E-9B60,U+9B63,U+9B68-9B69,U+9B74,U+9B7D,U+9B80-9B81,U+9B83-9B84,U+9B87-9B88,U+9B8A-9B8B,U+9B8D-9B8E,U+9B90,U+9B92-9B95,U+9B97,U+9B9F-9BA0,U+9BA2-9BA3,U+9BA8,U+9BAB,U+9BB0,U+9BB8,U+9BC0-9BC1,U+9BC3,U+9BC6-9BC8,U+9BD3-9BD7,U+9BD9,U+9BDB,U+9BDD,U+9BE1-9BE2,U+9BE4-9BE5,U+9BE7,U+9BEA,U+9BED-9BEE;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-23-wght-normal-CpwJlAzD.woff2)format("woff2");unicode-range:U+993C-9940,U+9943-9944,U+9948-994A,U+994C-994E,U+9951,U+9954,U+995C,U+995E-995F,U+9961-9962,U+9965,U+9968,U+996A,U+996D-9972,U+9975-9976,U+997A,U+997C,U+997F-9980,U+9984-9985,U+9988,U+998B,U+998D,U+998F,U+9992,U+9994-9995,U+9997-9998,U+999C,U+999E,U+99A0-99A1,U+99AB,U+99AF,U+99B1,U+99B4,U+99B9,U+99C4-99C6,U+99CF,U+99D1-99D2,U+99D4,U+99D6,U+99D8-99D9,U+99DF,U+99E1-99E2,U+99E9,U+99EE,U+99F0,U+99F8,U+99FB,U+9A01-9A05,U+9A0C,U+9A0F-9A13,U+9A16,U+9A1B-9A1C,U+9A20,U+9A24,U+9A28,U+9A2B,U+9A2D-9A2E,U+9A34-9A36,U+9A38,U+9A3E,U+9A40-9A44,U+9A4A,U+9A4C-9A4E,U+9A52,U+9A56,U+9A62-9A65,U+9A69-9A6B,U+9A6D,U+9A6F-9A71,U+9A73-9A74,U+9A76,U+9A78-9A79,U+9A7B-9A7C,U+9A7E-9A7F,U+9A81-9A82,U+9A84-9A86;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-24-wght-normal-q2nxC991.woff2)format("woff2");unicode-range:U+97F5,U+97F9-97FA,U+97FE,U+9804,U+9807,U+980A,U+980E-980F,U+9814,U+9816,U+981A,U+981C,U+981E,U+9820-9821,U+9823,U+9826,U+9828,U+982A-982C,U+9832,U+9834-9835,U+9837,U+9839,U+983C-983D,U+9845,U+9848-9849,U+984E,U+9852-9857,U+9859-985A,U+9862-9863,U+9865,U+9870-9871,U+9873-9874,U+9877,U+987A-987F,U+9881-9882,U+9885,U+9887-988A,U+988C-988D,U+9890,U+9893,U+9896-9897,U+989A,U+989C-989E,U+98A0,U+98A4,U+98A6-98A7,U+98A9,U+98AE-98AF,U+98B2-98B3,U+98B6-98B8,U+98BA-98BD,U+98BF,U+98C7-98C8,U+98CA,U+98D2-98D3,U+98D8-98DA,U+98DC,U+98DE,U+98E0-98E1,U+98E3,U+98E5,U+98E7-98E9,U+98EB-98EE,U+98F1,U+98F4,U+9901,U+9908-9909,U+990C,U+9911-9912,U+9914,U+9916-9917,U+991B-991C,U+991E,U+9920,U+9927,U+992B-992C,U+992E,U+9931-9933,U+9938,U+993A;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-25-wght-normal-t7uRby9D.woff2)format("woff2");unicode-range:U+9672,U+9674,U+967A,U+9682-9685,U+9688-9689,U+968B,U+968D,U+9695,U+9697-9698,U+969E,U+96A0-96A4,U+96A9,U+96AC,U+96AE,U+96B0,U+96B2-96B4,U+96B6-96B7,U+96B9,U+96BC-96BE,U+96C3,U+96C9-96CB,U+96CE-96CF,U+96D1-96D2,U+96D8,U+96DD,U+96E9,U+96EB,U+96F0-96F1,U+96F3-96F4,U+96F9,U+96FE-96FF,U+9701-9702,U+9705,U+9708,U+970A,U+970E-9711,U+9719,U+971D,U+971F-9720,U+9728,U+972A,U+972D,U+9730,U+9733,U+973A,U+973D,U+9744,U+9746-9747,U+9749,U+9750-9751,U+9753,U+9758-9759,U+975B,U+975D,U+9763,U+9765-9766,U+9768,U+976C-976D,U+9771,U+9773,U+9776,U+977A,U+977C,U+9780,U+9784-9786,U+9788,U+978E-978F,U+9798,U+979D-979E,U+97A3,U+97A5-97A6,U+97A8,U+97AB-97AC,U+97AE,U+97B6-97B7,U+97B9,U+97BF,U+97C1,U+97C3,U+97C6,U+97C9,U+97CD,U+97D6,U+97D8-97D9,U+97DC-97DE,U+97E1,U+97E6-97E7,U+97EC-97EE,U+97F0-97F1;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-26-wght-normal-CLhaJ79b.woff2)format("woff2");unicode-range:U+9530,U+9535,U+953A-953B,U+9540-9542,U+9547,U+9549-954A,U+954D,U+9550-9551,U+9554-9556,U+955C,U+956C-956D,U+956F-9570,U+9573,U+9576,U+9578,U+9582,U+9586,U+9588,U+958E-958F,U+9599,U+959C,U+959E-959F,U+95A1-95A2,U+95A4,U+95A6-95A7,U+95AA-95AE,U+95B0,U+95B2,U+95B6,U+95B9-95BF,U+95C2-95C4,U+95C7-95C9,U+95CB-95CD,U+95D0,U+95D3-95D5,U+95D7-95D8,U+95DA,U+95DE,U+95E0-95E1,U+95E4-95E5,U+95EA-95EB,U+95EF-95F0,U+95F2-95F3,U+95F5,U+95F7-95FA,U+95FD,U+9600-9602,U+9607-9609,U+960E,U+9610-9611,U+9614,U+9616,U+9619-961A,U+961C-961D,U+961F,U+9621,U+9624,U+9628,U+962F,U+9633-9636,U+963C,U+9641-9643,U+9645,U+9647-9648,U+964E-964F,U+9651,U+9653-9655,U+9658,U+965B-965F,U+9661,U+9665,U+9668-9669,U+966C;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-27-wght-normal-Bsb6CrxP.woff2)format("woff2");unicode-range:U+941A,U+941C,U+941E,U+9420-9425,U+9427-942B,U+942E,U+9432-9433,U+9436,U+9438,U+943A,U+943D,U+943F-9440,U+9445,U+944A,U+944C,U+9454-9455,U+945A-945B,U+945E,U+9460,U+9462-9463,U+9468,U+946A,U+946D,U+946F,U+9471,U+9474-9477,U+9479,U+947E-9481,U+9488-948A,U+948E,U+9492-9493,U+9497,U+9499,U+949B-94A3,U+94A5-94A9,U+94AC,U+94AE-94B1,U+94B3-94B5,U+94BB-94BC,U+94BE-94C3,U+94C5-94C6,U+94C9,U+94CE-94D0,U+94DB-94DD,U+94E0,U+94E2-94E3,U+94E8,U+94EC-94EE,U+94F0,U+94F2,U+94F5-94F6,U+94F8,U+94FA,U+94FF-9502,U+9504-9506,U+9508,U+950B-950C,U+950F-9510,U+9519-951B,U+951D,U+951F,U+9521-9526,U+952D-952F;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-28-wght-normal-DzIWEAg_.woff2)format("woff2");unicode-range:U+930B,U+930F,U+9312,U+9315,U+9319-931B,U+931D-931F,U+9321,U+9323-9325,U+9327-932A,U+932C-932E,U+9331-9333,U+9335,U+9338,U+933C,U+9340-9341,U+9345-9349,U+934F-9352,U+9354,U+9356-935A,U+935C-9360,U+9363-9367,U+9369-936A,U+936C,U+936E,U+9370-9371,U+9373,U+9376,U+9379-937A,U+937C,U+9385,U+9387,U+938C,U+938F,U+9394,U+9397-9398,U+939A-939B,U+939D-939E,U+93A1-93A3,U+93A6-93A7,U+93A9-93AA,U+93AC-93AD,U+93AF-93B0,U+93B3-93BB,U+93BD-93BE,U+93C0-93C4,U+93C7,U+93CA-93CD,U+93D0-93D1,U+93D6-93D8,U+93DC-93DE,U+93E0,U+93E4,U+93E8,U+93EE,U+93F0,U+93F5,U+93F7-93F9,U+93FB,U+9403,U+9407,U+940F-9410,U+9413-9414,U+9417,U+9419;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-29-wght-normal-CVD47Xgy.woff2)format("woff2");unicode-range:U+9208-920A,U+920D-920E,U+9210-9211,U+9217,U+9219,U+921C,U+9221,U+9224-9225,U+9227,U+922A,U+922D-922E,U+9230-9231,U+9233,U+9235-9239,U+923B,U+923D-9241,U+9244,U+9246,U+9248-9249,U+924B-9251,U+9253,U+925A,U+925D-925E,U+9262,U+9265-9267,U+926B-926D,U+926F,U+9271-9272,U+9274,U+9276,U+9278,U+927A-927C,U+927E-927F,U+9282-9283,U+9286,U+9288,U+928A,U+928D-928E,U+9291,U+9295-9296,U+9299-929B,U+929D,U+92A0-92AE,U+92B2,U+92B5-92B6,U+92BB-92BC,U+92C2-92C3,U+92C6-92CD,U+92CF-92D1,U+92D5,U+92D7,U+92D9,U+92DD,U+92DF,U+92E4-92E6,U+92E8-92E9,U+92ED-92EF,U+92F1-92F3,U+92F6,U+92F9,U+92FB,U+9300-9302,U+9306;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-30-wght-normal-qEGnB_nK.woff2)format("woff2");unicode-range:U+90E2-90E4,U+90EA-90EB,U+90EF,U+90F4,U+90F7-90F8,U+90FC,U+90FE-9100,U+9102,U+9104,U+9106,U+9112,U+9114-911A,U+911C,U+911E,U+9120,U+9122-9123,U+9129,U+912B,U+912F,U+9131-9132,U+9134,U+9136,U+9139-913A,U+9143,U+9146,U+9148-914A,U+914E-9150,U+9154,U+9156-9157,U+9159-915A,U+915D-915E,U+9161-9164,U+916B,U+916E,U+9170-9172,U+9174,U+9176,U+9179-917A,U+917F,U+9181-9182,U+9184-9186,U+918C-918E,U+9190-9191,U+9196,U+919A-919B,U+919E,U+91A1-91A4,U+91A7,U+91AA,U+91AE-91B2,U+91B4-91B5,U+91B8,U+91BD-91BE,U+91C1,U+91C3,U+91C5-91C6,U+91C8-91CA,U+91D2-91D5,U+91D7,U+91D9,U+91E1,U+91E4,U+91E6-91E9,U+91EC-91ED,U+91F0-91F1,U+91F5-91FA,U+91FD,U+91FF-9201,U+9203-9207;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-31-wght-normal-CUZYeSc0.woff2)format("woff2");unicode-range:U+8F85-8F86,U+8F88-8F8A,U+8F8D,U+8F90,U+8F93,U+8F95-8F97,U+8F99,U+8F9E-8F9F,U+8FA2,U+8FA7,U+8FA9,U+8FAB,U+8FAE,U+8FB3,U+8FB5-8FB6,U+8FBA-8FBD,U+8FBF,U+8FC1-8FC2,U+8FC6,U+8FC8,U+8FCC-8FCD,U+8FD2-8FD3,U+8FD5,U+8FDC-8FDD,U+8FDF,U+8FE2-8FE5,U+8FE8-8FE9,U+8FED-8FEE,U+8FF3,U+8FF5,U+8FF8,U+8FFA-8FFC,U+8FFE,U+9002,U+9004,U+9008,U+900A-900B,U+9011-9013,U+9016,U+901E,U+9021,U+9024,U+902D,U+902F-9030,U+9034-9036,U+9039-903B,U+9041,U+9044-9045,U+904F-9052,U+9057-9058,U+905B,U+905D,U+9061-9062,U+9065,U+9068,U+906F,U+9074,U+9079,U+907D,U+9083,U+9085,U+9087-9089,U+908B,U+9090,U+9093,U+9095,U+9097,U+9099,U+909B,U+909D-909E,U+90A0-90A2,U+90AC,U+90AF-90B0,U+90B2-90B4,U+90B6,U+90B9,U+90BB,U+90BD-90BE,U+90C3-90C5,U+90C7,U+90D1,U+90D4-90D5,U+90D7,U+90DB-90DF;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-32-wght-normal-B4A85CGO.woff2)format("woff2");unicode-range:U+8E30-8E31,U+8E35,U+8E39,U+8E3C-8E3D,U+8E40-8E42,U+8E47,U+8E49-8E4E,U+8E50,U+8E53-8E55,U+8E59-8E5B,U+8E60,U+8E62-8E63,U+8E67,U+8E69,U+8E6C-8E6D,U+8E6F,U+8E74,U+8E76,U+8E7A-8E7C,U+8E82,U+8E84-8E85,U+8E87,U+8E89-8E8B,U+8E8F-8E95,U+8E99-8E9A,U+8E9D-8E9E,U+8EA1,U+8EA3,U+8EA5-8EA6,U+8EAA,U+8EAC-8EAD,U+8EAF-8EB1,U+8EB9,U+8EBC,U+8EBE,U+8EC6,U+8ECB,U+8ECF,U+8ED1,U+8ED4,U+8ED7,U+8EDA-8EDB,U+8EE2,U+8EE8,U+8EEB,U+8EF2,U+8EF9-8EFE,U+8F05,U+8F07-8F08,U+8F0A-8F0C,U+8F12-8F13,U+8F17,U+8F19-8F1A,U+8F1C,U+8F1E-8F1F,U+8F25-8F26,U+8F2D,U+8F30,U+8F33,U+8F36,U+8F3E,U+8F40-8F42,U+8F45-8F47,U+8F4D,U+8F54-8F55,U+8F5D,U+8F61-8F62,U+8F64,U+8F67-8F69,U+8F6D-8F72,U+8F74,U+8F76,U+8F7B-8F7C,U+8F7F,U+8F83-8F84;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-33-wght-normal-BuZ7TSCr.woff2)format("woff2");unicode-range:U+8CE1,U+8CE8,U+8CEB,U+8CF0,U+8CF8,U+8CFB,U+8CFE,U+8D04,U+8D07,U+8D0B,U+8D0D,U+8D10,U+8D12-8D14,U+8D17,U+8D1B-8D1F,U+8D21-8D26,U+8D29-8D2C,U+8D2E-8D32,U+8D34-8D35,U+8D37-8D38,U+8D3A-8D3C,U+8D3E-8D3F,U+8D41-8D43,U+8D48,U+8D4B-8D4C,U+8D4E-8D50,U+8D54,U+8D56,U+8D58,U+8D5A-8D5B,U+8D5F-8D60,U+8D62-8D63,U+8D66-8D69,U+8D6C-8D6E,U+8D73,U+8D75-8D76,U+8D7B,U+8D7D,U+8D84,U+8D8B,U+8D90-8D91,U+8D94,U+8D96,U+8D9C,U+8DAB,U+8DAF,U+8DB2,U+8DB5,U+8DB7,U+8DBA,U+8DBC,U+8DBF,U+8DC2-8DC3,U+8DC6,U+8DCB,U+8DCE-8DD0,U+8DD6-8DD7,U+8DDA-8DDB,U+8DE3-8DE4,U+8DE9,U+8DEB-8DEC,U+8DF1,U+8DF5-8DF7,U+8DFA-8DFD,U+8E05,U+8E08-8E0A,U+8E0E,U+8E14,U+8E16,U+8E18,U+8E1D-8E21,U+8E23,U+8E26-8E28,U+8E2A-8E2B,U+8E2D-8E2E;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-34-wght-normal-C1wbJ2k5.woff2)format("woff2");unicode-range:U+8B9C,U+8B9E-8B9F,U+8BA3,U+8BA5,U+8BA7,U+8BAA,U+8BAD,U+8BB2-8BB4,U+8BB6-8BB9,U+8BBC-8BBD,U+8BBF-8BC0,U+8BC3,U+8BC5,U+8BC8-8BCB,U+8BCF,U+8BD1,U+8BD7-8BDC,U+8BDE-8BE1,U+8BE3,U+8BE5,U+8BE7,U+8BE9,U+8BEB-8BEC,U+8BEF,U+8BF1-8BF2,U+8BF5-8BF6,U+8BF8,U+8BFA,U+8BFD-8BFE,U+8C01-8C02,U+8C05,U+8C08,U+8C0A-8C11,U+8C13-8C15,U+8C18-8C1C,U+8C1F,U+8C23-8C29,U+8C2C-8C2D,U+8C31,U+8C34,U+8C36,U+8C39,U+8C3F,U+8C47,U+8C49-8C4C,U+8C4F,U+8C51,U+8C55,U+8C62,U+8C68,U+8C73,U+8C78,U+8C7A-8C7C,U+8C82,U+8C85,U+8C89-8C8A,U+8C8D-8C8E,U+8C90,U+8C94,U+8C98-8C99,U+8CA3-8CA4,U+8CAD-8CB0,U+8CB2,U+8CB9-8CBA,U+8CBD,U+8CC1-8CC2,U+8CC4-8CC5,U+8CCF-8CD2,U+8CD4-8CD5,U+8CD9-8CDB;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-35-wght-normal-DJnPxO40.woff2)format("woff2");unicode-range:U+8A1B,U+8A22,U+8A25,U+8A27,U+8A2B,U+8A33,U+8A36,U+8A38,U+8A3D-8A3E,U+8A41,U+8A45-8A46,U+8A48,U+8A4E,U+8A51-8A52,U+8A54,U+8A56-8A58,U+8A5B,U+8A5D,U+8A61,U+8A63,U+8A67,U+8A6A-8A6C,U+8A70,U+8A74-8A76,U+8A7A-8A7C,U+8A82,U+8A84-8A86,U+8A89,U+8A8F-8A92,U+8A94,U+8A9A,U+8AA1,U+8AA3,U+8AA5,U+8AA7-8AA8,U+8AAD,U+8AB1,U+8AB6,U+8ABE,U+8AC2,U+8AC4,U+8AC6,U+8AC9,U+8ACC-8ACF,U+8AD1,U+8ADB,U+8ADD-8AE2,U+8AE4,U+8AE6,U+8AEA-8AEB,U+8AED,U+8AF1-8AF6,U+8AFA,U+8AFC,U+8B01,U+8B04-8B05,U+8B07,U+8B0B-8B0D,U+8B0F-8B10,U+8B13-8B14,U+8B16,U+8B1A,U+8B1C,U+8B21-8B22,U+8B26,U+8B28,U+8B2B,U+8B2E,U+8B33,U+8B41,U+8B46,U+8B4C-8B4F,U+8B53-8B54,U+8B56,U+8B59,U+8B5E-8B60,U+8B64,U+8B6A-8B6D,U+8B72,U+8B7E,U+8B83,U+8B89,U+8B8C,U+8B8E,U+8B90,U+8B92,U+8B95-8B96,U+8B99;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-36-wght-normal-D8HTrsxI.woff2)format("woff2");unicode-range:U+88B7-88B8,U+88BC-88BE,U+88C0,U+88C4,U+88C6-88C7,U+88C9-88CC,U+88CE,U+88D2,U+88D6,U+88D8,U+88DB,U+88DF,U+88E4,U+88E8-88E9,U+88EC,U+88EF-88F1,U+88F3-88F5,U+88FC,U+88FE,U+8900,U+8902,U+8906,U+890A-890C,U+8912-8915,U+8918-891A,U+891F,U+8921,U+8923,U+8925,U+892A-892B,U+892D,U+8930,U+8933,U+8935-8936,U+8938,U+893D,U+8941-8943,U+8946-8947,U+8949,U+894C-894D,U+8956-8957,U+8959,U+895C,U+895E-8960,U+8964,U+8966,U+896C,U+8971,U+8974,U+897B,U+897E,U+8980,U+8982-8983,U+8987-8988,U+898A,U+898C,U+8991,U+8994-8995,U+8997-8998,U+899A,U+899C,U+89A1,U+89A4-89A7,U+89A9,U+89AC,U+89AF,U+89B2-89B3,U+89B7,U+89BB,U+89BF,U+89C5,U+89C9-89CA,U+89D1,U+89D4-89D5,U+89DA,U+89DC-89DE,U+89E5-89E7,U+89ED,U+89F1,U+89F3-89F4,U+89F6,U+89FF,U+8A01,U+8A03,U+8A07,U+8A09,U+8A0C,U+8A0F-8A12,U+8A16;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-37-wght-normal-Ci96APBt.woff2)format("woff2");unicode-range:U+8763-8765,U+8768,U+876A,U+876C-8770,U+8772,U+8777,U+877A-877B,U+877D,U+8781,U+8784-8785,U+8788,U+878B,U+8793,U+8797-8798,U+879F,U+87A3,U+87A8,U+87AB-87AD,U+87AF,U+87B3,U+87B5,U+87B9,U+87BB,U+87BD-87C0,U+87C4-87C8,U+87CA-87CC,U+87CE,U+87D2,U+87DB-87DC,U+87E0-87E1,U+87E3,U+87E5,U+87E7,U+87EA-87EB,U+87EE-87EF,U+87F3-87F4,U+87F6-87F7,U+87FE,U+8802-8806,U+880A-880B,U+880E,U+8810-8811,U+8813,U+8815-8816,U+881B,U+8821,U+8823,U+8827,U+8831-8832,U+8835,U+8839-883A,U+883C,U+8844-8846,U+884A,U+884E,U+8852,U+8854-8856,U+8859-885A,U+885E,U+8862,U+8864-8865,U+8869-886A,U+886C-886E,U+8871-8872,U+8875,U+8879,U+887D-887F,U+8882,U+8884-8885,U+8888,U+8890,U+8892-8893,U+8897-8898,U+889A-889C,U+889E,U+88A2,U+88A4,U+88A8,U+88AA,U+88AD-88AE,U+88B1,U+88B4;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-38-wght-normal-CaasFSCy.woff2)format("woff2");unicode-range:U+8621-8622,U+8627,U+8629-862A,U+8634-8636,U+8638,U+863A,U+863C,U+8640,U+8642,U+8646,U+864C-864D,U+864F,U+8651-8654,U+8657,U+8659-865A,U+865C,U+8662,U+866B-866C,U+866F-8671,U+8673,U+8677,U+867A-867B,U+867D-867E,U+8680-8682,U+868B-868D,U+8693-8696,U+869A,U+869C-869D,U+86A1,U+86A3-86A4,U+86A7-86AA,U+86AF-86B1,U+86B3-86B4,U+86B6,U+86B9-86BA,U+86C0-86C2,U+86C4,U+86C6,U+86C9-86CA,U+86CC-86CE,U+86D0,U+86D3-86D4,U+86DE-86DF,U+86E9,U+86ED-86F0,U+86F3,U+86F8-86FC,U+86FE,U+8703,U+8706-870A,U+870D-870E,U+8711-8712,U+8715,U+8717,U+8719-871A,U+871E,U+8721-8723,U+8725,U+8728-8729,U+872E,U+8731,U+8734,U+8737,U+873A,U+873E-8740,U+8742,U+8747,U+8749,U+874B-874C,U+874E-874F,U+8753,U+8757-8758,U+875D,U+875F,U+8761-8762;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-39-wght-normal-DNt0rKy4.woff2)format("woff2");unicode-range:U+84C0,U+84C2,U+84C6-84C7,U+84CA,U+84CD-84D2,U+84D6,U+84DD,U+84DF,U+84E2,U+84E6-84E8,U+84EA,U+84EF-84F0,U+84F3-84F4,U+84F7,U+84FA,U+84FC-84FD,U+84FF-8500,U+8506,U+850C,U+8511,U+8515,U+8517,U+851D-851F,U+8524,U+852B,U+852F,U+8532,U+8534-8535,U+8537-8538,U+853A,U+853C,U+853E,U+8541-8542,U+8545,U+8548,U+854B,U+854D-854E,U+8552-8553,U+8555-8558,U+855A,U+855E,U+8561-8565,U+8568,U+856A-856C,U+856F,U+8574,U+8577-857B,U+8580-8581,U+8585-8586,U+858A,U+858C,U+858F-8590,U+8594,U+8597-8599,U+859C,U+859F,U+85A1-85A2,U+85A4,U+85A8,U+85AB-85AC,U+85AE,U+85B3-85B4,U+85B7,U+85B9-85BA,U+85BD-85BE,U+85C1-85C2,U+85CB,U+85CE,U+85D0,U+85D3,U+85D5,U+85DC,U+85E0,U+85E6,U+85E8,U+85EA,U+85ED,U+85F4,U+85F6-85F7,U+85F9-85FA,U+85FF,U+8602,U+8604-8605,U+8610,U+8616-8618,U+861A,U+861E;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-40-wght-normal-Byd_iF60.woff2)format("woff2");unicode-range:U+8380,U+8383,U+8385-8386,U+8392,U+8394-8395,U+8398-8399,U+839B-839C,U+83A0,U+83A2,U+83A4,U+83A7-83AA,U+83AF-83B5,U+83B7,U+83B9-83BA,U+83BC-83C0,U+83C2,U+83C4-83C5,U+83C8-83C9,U+83CB,U+83CE-83CF,U+83D1,U+83D4-83D6,U+83D8,U+83DD,U+83DF,U+83E1-83E2,U+83E5,U+83EA-83EB,U+83F0,U+83F3-83F4,U+83F9,U+83FB-83FE,U+8406-8407,U+840B,U+840F,U+8411,U+8413,U+8418,U+841B-841D,U+8420-8421,U+8423-8424,U+8426-8429,U+842B,U+842D-842E,U+8432-8433,U+8435,U+8437-8439,U+843B-843C,U+843E,U+8445-8447,U+844E,U+8451-8452,U+8456,U+8459-845A,U+845C,U+845F,U+8462,U+8466-8467,U+846D,U+846F-8471,U+8473-8474,U+8476-8478,U+847A,U+8484,U+848B,U+848D-848E,U+8493-8494,U+8497,U+849D,U+849F,U+84A1,U+84A8,U+84AF,U+84B1,U+84B4,U+84B9-84BB,U+84BD-84BF;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-41-wght-normal-CimuZG9f.woff2)format("woff2");unicode-range:U+827D,U+827F,U+8283-8284,U+8288-828A,U+828D-8291,U+8293-8294,U+8298,U+829A-829C,U+829E-82A4,U+82A6-82AB,U+82AE,U+82B0,U+82B4,U+82B6,U+82BA-82BC,U+82BE,U+82C1,U+82C4-82C5,U+82C7,U+82CB,U+82CD,U+82CF-82D0,U+82D2,U+82D5-82D6,U+82D9,U+82DB-82DC,U+82DE-82E1,U+82E3-82E4,U+82E7,U+82EA-82EB,U+82EF-82F0,U+82F3-82F4,U+82F6-82F7,U+82F9-82FC,U+82FE-8301,U+8306-8308,U+830B-830E,U+8316,U+8318,U+831A-831B,U+831D-831E,U+8327,U+832A,U+832C-832D,U+832F,U+8331,U+8333-8334,U+8337,U+833A-833C,U+833F-8340,U+8342,U+8344-8347,U+834B-834C,U+834F,U+8351,U+8356-8358,U+835A,U+835E-8361,U+8363-8364,U+8367-8368,U+836B,U+836F,U+8373,U+8375,U+8378,U+837A-837F;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-42-wght-normal-DT8sgwsv.woff2)format("woff2");unicode-range:U+811B,U+811E,U+8121-8127,U+8129,U+812C,U+812F-8134,U+8137-8138,U+813A,U+813D,U+8144,U+8146,U+8148,U+814A,U+814C-814D,U+8151,U+8153,U+8156,U+8158,U+815A,U+8160,U+8167,U+8169,U+816D,U+816F,U+8171,U+8174,U+817B-817C,U+817E,U+8182,U+8188,U+818A,U+8194-8195,U+8198,U+819B,U+819E,U+81A3,U+81A6-81A7,U+81AB,U+81AF-81B0,U+81B5-81B6,U+81B8,U+81BA-81BB,U+81BE-81BF,U+81C3,U+81C6,U+81CA,U+81CC,U+81CF,U+81D1-81D3,U+81D6-81D7,U+81D9-81DA,U+81DD-81DE,U+81E0-81E2,U+81E7,U+81EC,U+81EF,U+81FC,U+81FE,U+8200-8202,U+8204-8206,U+820B,U+820E,U+8210,U+8215,U+8217-8218,U+821B,U+821D,U+8221-8222,U+8224,U+8228-8229,U+822B,U+822F-8234,U+8236-8238,U+823A,U+823E,U+8240,U+8244-8245,U+8249,U+824B,U+824E-824F,U+8257,U+825A,U+825F,U+8264,U+8268,U+826B,U+826E,U+8270,U+8273,U+8276,U+8278-8279;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-43-wght-normal-xnDjStnc.woff2)format("woff2");unicode-range:U+7FB8,U+7FBC,U+7FBF-7FC0,U+7FC3,U+7FCB-7FCC,U+7FCE-7FCF,U+7FD1,U+7FD5,U+7FD8,U+7FDB,U+7FDE-7FDF,U+7FE5-7FE6,U+7FE9,U+7FEB-7FEC,U+7FEE,U+7FF2-7FF3,U+7FFA,U+7FFD-7FFE,U+8002,U+8004,U+8006,U+800B,U+800E,U+8011-8012,U+8014,U+8016,U+8018-8019,U+801C,U+8024,U+8026,U+8028,U+802C,U+8030,U+8035,U+8037-8039,U+803B,U+8042-8043,U+804B-804C,U+8052,U+8061,U+8068,U+806A,U+806E,U+8071,U+8073-8076,U+8079,U+807C,U+807E-807F,U+8083-8084,U+808F,U+8093,U+8095,U+8098,U+809C,U+809F-80A0,U+80A4,U+80A7,U+80AB,U+80AD-80AE,U+80B0-80B1,U+80B4-80B6,U+80B8,U+80BC-80C2,U+80C4,U+80C6-80C7,U+80CB,U+80CD,U+80CF,U+80D4,U+80D7,U+80D9,U+80DB-80DD,U+80E0,U+80E3-80E5,U+80E7,U+80EB-80ED,U+80EF-80F1,U+80F3-80F4,U+80F6-80F7,U+80FC,U+80FE-80FF,U+8101,U+8107,U+8109,U+810F-8113,U+8115,U+8117-8118,U+811A;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-44-wght-normal-Dv8Wk8tG.woff2)format("woff2");unicode-range:U+7EB3,U+7EB5-7EBA,U+7EBD-7EBE,U+7EC0-7EC1,U+7EC3,U+7EC5,U+7EC7-7ECA,U+7ECD-7ECE,U+7ED1-7ED2,U+7ED4-7ED5,U+7ED7-7ED8,U+7EDA-7EDB,U+7EDD-7EDE,U+7EE2-7EE3,U+7EE5,U+7EE7,U+7EE9-7EEB,U+7EEE-7EF0,U+7EF3,U+7EF5,U+7EF7-7EF8,U+7EFD-7F01,U+7F03,U+7F05-7F09,U+7F0E,U+7F10,U+7F13-7F15,U+7F18-7F1A,U+7F1C-7F1D,U+7F20,U+7F24-7F25,U+7F28-7F2A,U+7F2D-7F2E,U+7F30,U+7F34,U+7F36-7F37,U+7F3D,U+7F42-7F45,U+7F47-7F4E,U+7F52,U+7F54,U+7F58,U+7F5A,U+7F5D,U+7F5F-7F63,U+7F65,U+7F68,U+7F6B,U+7F78,U+7F7D-7F7E,U+7F81-7F83,U+7F86-7F87,U+7F8B-7F8D,U+7F91,U+7F93-7F95,U+7F97,U+7F99-7F9A,U+7F9D,U+7F9F,U+7FA1-7FA3,U+7FA5,U+7FA7,U+7FAD-7FB2,U+7FB4,U+7FB6;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-45-wght-normal-DdGhaj3f.woff2)format("woff2");unicode-range:U+7D8C-7D8F,U+7D91,U+7D95-7D96,U+7D98-7D9A,U+7D9D-7D9E,U+7DA2-7DA3,U+7DA6,U+7DAA,U+7DAC,U+7DAE-7DB0,U+7DB3,U+7DB5,U+7DB7,U+7DB9,U+7DBD,U+7DC1,U+7DC3-7DC7,U+7DCC-7DCF,U+7DD1,U+7DD6-7DD9,U+7DDB-7DDC,U+7DE1-7DE2,U+7DE6,U+7DF0-7DF3,U+7DF6,U+7DFE,U+7E01-7E02,U+7E04,U+7E08-7E0B,U+7E10-7E11,U+7E13,U+7E15,U+7E1D-7E20,U+7E22,U+7E25-7E27,U+7E29,U+7E2D,U+7E2F-7E30,U+7E32-7E37,U+7E39,U+7E3B,U+7E44-7E45,U+7E47-7E48,U+7E4A-7E4B,U+7E4D,U+7E50-7E52,U+7E56,U+7E58-7E5B,U+7E62,U+7E68,U+7E6D-7E70,U+7E76,U+7E78,U+7E7B,U+7E7E,U+7E81-7E82,U+7E86-7E88,U+7E8A,U+7E8D-7E8E,U+7E92-7E94,U+7E98-7E9B,U+7E9E,U+7EA0,U+7EA3-7EA4,U+7EA8,U+7EAA-7EAF,U+7EB1-7EB2;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-46-wght-normal-C7pDsoZP.woff2)format("woff2");unicode-range:U+7C23,U+7C25-7C26,U+7C2A-7C2B,U+7C37-7C39,U+7C40-7C41,U+7C48-7C49,U+7C50,U+7C53-7C54,U+7C56-7C57,U+7C59-7C5C,U+7C5F,U+7C63,U+7C65,U+7C69,U+7C6C-7C6E,U+7C74-7C75,U+7C79,U+7C7C,U+7C7E,U+7C84,U+7C8B,U+7C8D,U+7C91,U+7C94-7C95,U+7C9B,U+7C9F,U+7CA2,U+7CA4,U+7CA6,U+7CA8-7CAA,U+7CAE,U+7CB1-7CB3,U+7CBA,U+7CBC,U+7CBF-7CC0,U+7CC5,U+7CC8-7CC9,U+7CCC-7CCE,U+7CD7,U+7CDC-7CDD,U+7CE0,U+7CE2,U+7CE8,U+7CEA,U+7CED,U+7CF2,U+7CF4,U+7CF6,U+7CF8-7CFA,U+7CFC,U+7D02,U+7D06-7D0A,U+7D0F,U+7D11-7D12,U+7D15,U+7D18,U+7D1C-7D1E,U+7D25,U+7D27,U+7D29,U+7D2C,U+7D31-7D32,U+7D35,U+7D38,U+7D3A,U+7D3C,U+7D3E-7D41,U+7D43,U+7D45,U+7D4C,U+7D4E-7D4F,U+7D53-7D54,U+7D56,U+7D5B-7D5D,U+7D5F,U+7D63,U+7D67,U+7D6A,U+7D6D,U+7D70,U+7D73,U+7D75,U+7D79-7D7B,U+7D7D,U+7D80,U+7D83-7D84,U+7D86-7D89,U+7D8B;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-47-wght-normal-BeEDFoeW.woff2)format("woff2");unicode-range:U+7AFD-7AFE,U+7B01-7B06,U+7B09-7B0B,U+7B0E-7B10,U+7B14,U+7B18,U+7B1A,U+7B1E-7B1F,U+7B22-7B25,U+7B29-7B2B,U+7B2D-7B2E,U+7B31-7B35,U+7B38-7B3C,U+7B45,U+7B47-7B48,U+7B4A,U+7B4C,U+7B4E-7B50,U+7B58,U+7B5B,U+7B5D,U+7B60,U+7B62,U+7B65-7B67,U+7B69,U+7B6D-7B6F,U+7B72-7B76,U+7B79,U+7B7E,U+7B82,U+7B84-7B85,U+7B87,U+7B8B,U+7B8D-7B93,U+7B95-7B96,U+7B98,U+7B9C-7B9D,U+7BA0,U+7BA7,U+7BA9-7BAC,U+7BB0,U+7BB4,U+7BB6,U+7BB8-7BB9,U+7BC1,U+7BC3,U+7BC6,U+7BCB-7BCC,U+7BCF,U+7BD4,U+7BD9-7BDB,U+7BDD,U+7BE0-7BE1,U+7BE5-7BE6,U+7BEA,U+7BED-7BEE,U+7BF1-7BF3,U+7BF8-7BF9,U+7BFC-7C01,U+7C03,U+7C07,U+7C0A-7C0D,U+7C0F,U+7C11-7C12,U+7C15,U+7C1E-7C20;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-48-wght-normal-CKLCikII.woff2)format("woff2");unicode-range:U+798A-798B,U+7991,U+7993-7996,U+7998,U+799A-799B,U+799F-79A2,U+79A4,U+79A8-79A9,U+79AF-79B0,U+79B3,U+79B5,U+79B8,U+79BA,U+79C3,U+79C6,U+79C8,U+79CF,U+79D5-79D6,U+79DC-79DE,U+79E3,U+79E7,U+79EA-79ED,U+79EF-79F0,U+79F4,U+79F6-79F8,U+79FD,U+7A02-7A03,U+7A08-7A0A,U+7A0C,U+7A0E,U+7A10-7A11,U+7A14,U+7A17-7A19,U+7A1C,U+7A1E-7A1F,U+7A23,U+7A26,U+7A2D,U+7A32-7A33,U+7A37,U+7A39,U+7A3C,U+7A42,U+7A45,U+7A49,U+7A4F,U+7A56,U+7A5A,U+7A5C,U+7A60-7A61,U+7A63,U+7A68,U+7A6D-7A6E,U+7A70-7A71,U+7A77-7A79,U+7A80,U+7A83,U+7A85-7A86,U+7A88,U+7A8D,U+7A90-7A91,U+7A93-7A96,U+7A98,U+7A9C-7A9D,U+7AA0,U+7AA3,U+7AA5-7AA6,U+7AA8,U+7AAA,U+7AAC,U+7AB0,U+7AB3,U+7AB6,U+7AB8,U+7ABB,U+7ABE-7ABF,U+7AC2,U+7AC8-7AC9,U+7AD1-7AD2,U+7AD6,U+7ADA,U+7ADC-7ADE,U+7AE4,U+7AE6,U+7AE9-7AEB,U+7AF4,U+7AF8,U+7AFA-7AFB;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-49-wght-normal-CCLgFFzC.woff2)format("woff2");unicode-range:U+7842-7843,U+7845,U+7847,U+784A,U+784C-7850,U+7852-7853,U+7855,U+7858,U+785A,U+785C-785D,U+7864,U+7866,U+7868,U+786A,U+786F,U+7874,U+7876,U+787C,U+787F,U+7886-7887,U+7889,U+788D,U+788F,U+7893,U+7895-7896,U+7898,U+789A,U+789E,U+78A1,U+78A3,U+78A5,U+78AA,U+78AD,U+78B1-78B2,U+78B4,U+78B6,U+78B8,U+78BE,U+78C8-78C9,U+78CB,U+78CE,U+78D0-78D1,U+78D4-78D5,U+78D7-78D8,U+78DE,U+78E3,U+78E6-78E7,U+78EA,U+78EC,U+78F2-78F4,U+78FA-78FB,U+78FD-7900,U+7904-7906,U+790A,U+790C,U+7910-7912,U+791C,U+791E,U+7920-7921,U+792A-792C,U+792E,U+7931,U+7934,U+7938,U+793B,U+793D,U+793F,U+7941-7942,U+7945-7947,U+7949,U+794C,U+794E,U+7953-7954,U+7957-795C,U+795F,U+7961-7962,U+7964,U+7967,U+7969,U+796B-796C,U+796F,U+7972-7973,U+7977-7979,U+797B-797C,U+797E,U+7980,U+7982,U+7984-7988;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-50-wght-normal-C42Zjgp-.woff2)format("woff2");unicode-range:U+7707-7708,U+770A,U+770C,U+770F,U+7715,U+7719-771B,U+771D-771E,U+7722,U+7725-7726,U+7728,U+772D,U+772F,U+7733-7736,U+7738,U+773B,U+773D,U+7741,U+7744,U+7746,U+774C,U+774E-7752,U+7755,U+7759-775A,U+775F-7760,U+7762,U+7765-7766,U+7768-776A,U+776C-776E,U+7771,U+7778,U+777A,U+777D-777E,U+7780,U+7785,U+7787,U+7789,U+778B-778D,U+7791-7793,U+779C,U+779F-77A0,U+77A2,U+77A5,U+77A9,U+77B0-77B1,U+77B4,U+77B6-77B7,U+77B9,U+77BC-77BF,U+77C5,U+77C7,U+77CC-77CD,U+77D3,U+77D6-77D7,U+77DC,U+77DE,U+77E3,U+77E7,U+77EB-77EC,U+77F0,U+77F2,U+77F6,U+77F8,U+77FA-77FC,U+77FE-7800,U+7803,U+7805-7806,U+7809,U+7810-7812,U+7815-7816,U+781A,U+781C-781D,U+781F-7823,U+7825-7827,U+7829,U+782C-7830,U+7833,U+7835,U+7837,U+7839-783A,U+783C,U+783E,U+7840;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-51-wght-normal-AEQJR1Ln.woff2)format("woff2");unicode-range:U+75CD,U+75D2,U+75D4,U+75D9,U+75DF,U+75E2-75E4,U+75E6-75E7,U+75E9-75EC,U+75F0-75F3,U+75F7,U+75F9-75FA,U+75FC,U+75FE-7602,U+7608-760A,U+760C-760D,U+7610,U+7615-7616,U+7618-7620,U+7622-7623,U+7625,U+7627,U+7629,U+762B,U+762E,U+7630,U+7632-7635,U+7638,U+763A-763C,U+763E,U+7640,U+7643,U+7646,U+7648-7649,U+764D-764E,U+7654,U+7658,U+765C,U+765F,U+7663-7667,U+7669,U+766B-766D,U+766F-7670,U+7676,U+7678-767A,U+767F-7681,U+7683,U+7688,U+768A-768B,U+768E,U+7690,U+7695-7696,U+769A-769E,U+76A3-76A4,U+76AA,U+76B0-76B1,U+76B4,U+76B7-76B8,U+76C2,U+76C5,U+76C9,U+76CC-76CD,U+76CF-76D1,U+76D6-76D8,U+76E5-76E6,U+76E9,U+76EC,U+76F1,U+76F7,U+76F9-76FB,U+76FF-7700,U+7704-7705;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-52-wght-normal-BdHOWR67.woff2)format("woff2");unicode-range:U+749C-74A1,U+74A3,U+74A5-74A7,U+74A9-74AB,U+74AE,U+74B1-74B2,U+74B5,U+74B8,U+74BA,U+74BF,U+74C5,U+74C8,U+74CC-74CD,U+74D2,U+74D4,U+74D6,U+74D8,U+74DA,U+74DE-74E0,U+74E2,U+74E4,U+74E8-74E9,U+74EE-74EF,U+74F4,U+74F9,U+74FB,U+74FF-7501,U+7503,U+7507,U+750C-750D,U+7511,U+7513,U+7515-7517,U+7519,U+751E,U+7521,U+7525,U+752A,U+752C-752F,U+7534,U+753E,U+7542,U+7545,U+7547-7548,U+754A-754B,U+754E,U+7551,U+755A-755B,U+755D,U+7560,U+7563-7564,U+7566-7568,U+756C-756F,U+7572-7575,U+7577-757A,U+757C,U+757E-757F,U+7583-7584,U+7587,U+7589,U+758B-758E,U+7590,U+7592,U+7594-7595,U+7597,U+7599-759A,U+759D,U+759F,U+75A1-75A3,U+75A5,U+75A7,U+75AA,U+75AC,U+75AE-75B1,U+75B3-75B4,U+75B8,U+75BD,U+75C0,U+75C2-75C4,U+75C9-75CA,U+75CC;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-53-wght-normal-DRtz34YW.woff2)format("woff2");unicode-range:U+73B4-73BA,U+73BC,U+73BF,U+73C2,U+73C4-73C6,U+73C9,U+73CB-73CC,U+73CE-73D2,U+73D6-73D7,U+73D9,U+73DB-73DE,U+73E3,U+73E5-73EB,U+73EF,U+73F5-73F7,U+73F9-73FA,U+73FC-73FD,U+7400-7401,U+7404-7405,U+7407-7408,U+740A-740D,U+740F-7410,U+7416,U+741A-741B,U+741D-741E,U+7420-7425,U+7428-7429,U+742C-7432,U+7435-7436,U+7438-743A,U+743C-7442,U+7445-7446,U+7448-744A,U+7451-7452,U+7454,U+7457,U+7459,U+745D,U+7460-7462,U+7465,U+7467-7468,U+746C-746E,U+7471-7477,U+7479-747A,U+747C-747F,U+7481-7482,U+7484-7486,U+7488-748A,U+748E-7490,U+7492,U+7498,U+749A;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-54-wght-normal-Bctil8qQ.woff2)format("woff2");unicode-range:U+7281-7282,U+7284,U+7287,U+728A,U+728D,U+7292,U+7296,U+7298,U+729B,U+729F-72A2,U+72AD-72AE,U+72B0-72B5,U+72B8-72B9,U+72BC-72BD,U+72C1,U+72C3,U+72C5-72C6,U+72C8,U+72CC-72CE,U+72D2,U+72D4,U+72DB,U+72DD,U+72DF,U+72E1,U+72E8,U+72EC-72EE,U+72F1,U+72F3-72F4,U+72F7,U+72FA-72FB,U+72FD,U+7300-7301,U+7304,U+7307,U+730A-730B,U+730E,U+7313,U+7315-7317,U+7319,U+731E-731F,U+7322,U+7328-732E,U+7330-7331,U+7337,U+733A-733C,U+733E,U+7340-7341,U+7343,U+734C-734D,U+734F-7350,U+7352,U+7355,U+7357,U+7359-735A,U+7360-7363,U+7365,U+7369-7370,U+7373-7374,U+7377,U+737A,U+737C,U+737E,U+7380,U+7385-7386,U+738A,U+738E-738F,U+7391-7395,U+7397-7398,U+739B,U+73A0-73A2,U+73A5-73A8,U+73AD-73AE,U+73B3;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-55-wght-normal-ChI6Gtzx.woff2)format("woff2");unicode-range:U+7115-7116,U+7118,U+711C,U+711E,U+7120,U+7122,U+712E-712F,U+7131,U+7134,U+713C,U+713F,U+7143,U+7145-7147,U+714A-714B,U+7150-7153,U+7155-7156,U+715A,U+7160,U+7162,U+7166,U+7168,U+716C,U+7171,U+7173,U+7178,U+717A-717B,U+717D,U+7180-7181,U+7185,U+7187-7188,U+718B,U+718F-7190,U+7192,U+7196-7198,U+719A-719C,U+71A0,U+71A4,U+71A8,U+71AF,U+71B2-71B3,U+71B5,U+71B7-71BA,U+71BE,U+71C1,U+71C4,U+71CA-71CB,U+71CE-71D0,U+71D4,U+71D7-71D8,U+71DA,U+71DC,U+71E0-71E1,U+71E7,U+71EC,U+71EE,U+71F4-71F6,U+71F9,U+71FC,U+71FE-7201,U+7203,U+7207,U+7209,U+720C,U+7213-7215,U+7217,U+721A,U+721D,U+7222-7223,U+7228,U+722B,U+7230,U+7237,U+723B,U+723F-7242,U+724B,U+724D,U+7252-7253,U+7256,U+7258,U+725D,U+7263-7266,U+726A-726B,U+726E-7270,U+7273-7275,U+7277,U+727A-727B,U+727E-727F;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-56-wght-normal-B7o92O3n.woff2)format("woff2");unicode-range:U+6FEC,U+6FEE,U+6FF0,U+6FF3,U+6FF5-6FF6,U+6FFA,U+6FFC,U+6FFF-7001,U+7003,U+7005-7007,U+700B,U+700D,U+7015,U+7018,U+701B,U+701E,U+7020-7021,U+7023,U+7026-7027,U+702C,U+702F-7032,U+7034-7035,U+7037-703C,U+7040,U+7042-7044,U+7046,U+7049,U+704B,U+704F,U+7052,U+7054-7055,U+705C-7061,U+7064-7069,U+706C-706D,U+706F,U+7073-7075,U+7078,U+707A,U+707E-7081,U+7085-7086,U+7089,U+7090-7091,U+7094-7096,U+7098,U+709C,U+709F,U+70A1,U+70A4,U+70A9,U+70AC,U+70AF-70B2,U+70B4-70B5,U+70B7,U+70BB-70BE,U+70C0-70C3,U+70CA-70CB,U+70D2,U+70D4-70D5,U+70D9-70DD,U+70DF,U+70E6-70E9,U+70EB-70EC,U+70EF,U+70F1,U+70F4,U+70F7,U+70FA,U+70FD,U+70FF,U+7104,U+7106,U+7109,U+710C,U+7110,U+7113-7114;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-57-wght-normal-tuc02TtS.woff2)format("woff2");unicode-range:U+6EDA-6EDB,U+6EDD-6EDE,U+6EE2,U+6EE4-6EE5,U+6EE8-6EE9,U+6EEB,U+6EEE,U+6EF3,U+6EF8-6EFB,U+6F00,U+6F08-6F0A,U+6F0D-6F0E,U+6F11-6F13,U+6F15,U+6F19-6F1A,U+6F23,U+6F25-6F2A,U+6F2D-6F31,U+6F33-6F36,U+6F3A-6F3C,U+6F40-6F41,U+6F43-6F44,U+6F47,U+6F4D-6F4F,U+6F53,U+6F57,U+6F59-6F5A,U+6F5C,U+6F5E-6F61,U+6F63,U+6F66-6F67,U+6F69-6F6C,U+6F6F,U+6F72-6F78,U+6F7A-6F7F,U+6F81-6F82,U+6F87,U+6F89,U+6F8B-6F8D,U+6F90,U+6F92,U+6F94-6F97,U+6F9C,U+6F9F-6FA0,U+6FA2-6FA3,U+6FA5-6FA8,U+6FAA-6FAB,U+6FAE-6FAF,U+6FB4,U+6FB6,U+6FB9-6FBA,U+6FBC,U+6FC2,U+6FC6-6FCB,U+6FCE,U+6FD1-6FD2,U+6FD4,U+6FD8,U+6FDA,U+6FDE,U+6FE0-6FE2,U+6FE8-6FE9;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-58-wght-normal-DzvAN8Jo.woff2)format("woff2");unicode-range:U+6DD6,U+6DD9,U+6DDB-6DE0,U+6DE2-6DE6,U+6DE9,U+6DEC,U+6DEF-6DF0,U+6DF2,U+6DF4,U+6DF6,U+6DF8,U+6DFC-6DFD,U+6E00,U+6E02-6E03,U+6E07-6E0B,U+6E0D-6E0E,U+6E10,U+6E13-6E15,U+6E17,U+6E19-6E1A,U+6E1D,U+6E1F,U+6E22,U+6E24-6E25,U+6E27,U+6E2B,U+6E2D-6E2E,U+6E30-6E31,U+6E36,U+6E39-6E3A,U+6E3C-6E3D,U+6E40-6E41,U+6E44-6E45,U+6E47,U+6E49,U+6E4B,U+6E4D-6E4F,U+6E51,U+6E53-6E54,U+6E59,U+6E5C,U+6E5E-6E61,U+6E63-6E66,U+6E69-6E6B,U+6E6E,U+6E70-6E76,U+6E78,U+6E7C,U+6E7F-6E80,U+6E83,U+6E85-6E86,U+6E88-6E89,U+6E8B,U+6E8D-6E8F,U+6E93,U+6E98-6E9A,U+6E9F,U+6EA1,U+6EA4-6EA7,U+6EAE,U+6EB1-6EB2,U+6EB4-6EB5,U+6EB7,U+6EBD,U+6EC1-6EC3,U+6EC7-6EC9,U+6ECD-6ED0,U+6ED3-6ED6,U+6ED8;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-59-wght-normal-02_K4Ups.woff2)format("woff2");unicode-range:U+6CDD-6CDE,U+6CE0,U+6CE7,U+6CE9-6CEC,U+6CEE-6CEF,U+6CF1,U+6CF7-6CF8,U+6CFB-6CFE,U+6D00-6D02,U+6D04,U+6D06-6D07,U+6D09-6D0A,U+6D0C,U+6D0E-6D12,U+6D18-6D1A,U+6D1F,U+6D22-6D24,U+6D27-6D28,U+6D2B,U+6D2D-6D31,U+6D33-6D3A,U+6D3C,U+6D3F,U+6D43-6D47,U+6D4A-6D4B,U+6D4E-6D4F,U+6D51-6D53,U+6D57-6D58,U+6D5A,U+6D5C,U+6D5E-6D65,U+6D67,U+6D6C-6D6D,U+6D6F-6D70,U+6D72,U+6D75,U+6D79,U+6D7C,U+6D7F,U+6D82,U+6D85,U+6D87,U+6D8E-6D8F,U+6D91-6D95,U+6D97-6D99,U+6D9B,U+6D9D,U+6D9F,U+6DA1,U+6DA4,U+6DA6-6DAC,U+6DB3-6DB4,U+6DB7-6DB8,U+6DBE-6DC0,U+6DC2,U+6DC4-6DC5,U+6DC8-6DCA,U+6DCC-6DCD,U+6DCF-6DD0,U+6DD2-6DD3,U+6DD5;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-60-wght-normal-CUXov-_V.woff2)format("woff2");unicode-range:U+6BC1-6BC2,U+6BCC,U+6BCE,U+6BD0-6BD1,U+6BD5-6BD9,U+6BDE,U+6BE1,U+6BEC,U+6BF3,U+6BF9,U+6BFD,U+6BFF-6C00,U+6C02,U+6C05-6C06,U+6C0A,U+6C0C-6C0D,U+6C10,U+6C13,U+6C16,U+6C18-6C1A,U+6C1F,U+6C21-6C22,U+6C24,U+6C26,U+6C28-6C2A,U+6C2C,U+6C2E-6C33,U+6C35-6C37,U+6C39-6C3A,U+6C3D-6C3F,U+6C43,U+6C46,U+6C49-6C4F,U+6C54-6C55,U+6C58,U+6C5A-6C5C,U+6C5E,U+6C64-6C69,U+6C6B-6C6F,U+6C71-6C75,U+6C78-6C79,U+6C7C,U+6C7E,U+6C82,U+6C84-6C87,U+6C8C-6C8D,U+6C8F,U+6C93-6C94,U+6C98,U+6C9A,U+6C9D,U+6C9F,U+6CA2,U+6CA5-6CA8,U+6CAA,U+6CAC-6CB2,U+6CB4-6CB5,U+6CBA,U+6CBC,U+6CC2-6CC3,U+6CC5-6CC7,U+6CD0-6CD2,U+6CD4,U+6CD6-6CD7,U+6CD9-6CDA,U+6CDC;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-61-wght-normal-CWCy7dBQ.woff2)format("woff2");unicode-range:U+6A35,U+6A3B,U+6A3E-6A40,U+6A47-6A48,U+6A50,U+6A52,U+6A55-6A57,U+6A5A-6A5B,U+6A5E,U+6A62,U+6A66,U+6A6A,U+6A71,U+6A79,U+6A7C,U+6A7E-6A81,U+6A84,U+6A87,U+6A89,U+6A8D-6A8E,U+6A90-6A92,U+6A97,U+6A9C,U+6A9E-6AA1,U+6AA3-6AA5,U+6AA8,U+6AAB,U+6AAE,U+6AB5,U+6ABA,U+6ABE,U+6AC2,U+6AC5-6AC6,U+6AC8-6AC9,U+6ACC,U+6AD3,U+6ADA-6ADB,U+6ADD-6ADF,U+6AE3,U+6AE7-6AE8,U+6AEA-6AEC,U+6AF1,U+6AF3,U+6AF8,U+6AFA,U+6AFC,U+6B05,U+6B09,U+6B0E-6B13,U+6B17,U+6B1D-6B1E,U+6B25,U+6B2C,U+6B31,U+6B35-6B37,U+6B39,U+6B3B,U+6B40,U+6B43,U+6B46,U+6B48,U+6B53-6B55,U+6B59,U+6B5B,U+6B5F-6B60,U+6B68-6B69,U+6B6F,U+6B74,U+6B7A,U+6B7C,U+6B7F-6B84,U+6B86-6B87,U+6B89,U+6B8B,U+6B8D,U+6B91-6B93,U+6B9B,U+6B9E,U+6BA1-6BA2,U+6BA4,U+6BAA-6BAB,U+6BAD-6BAE,U+6BB2-6BB4,U+6BBB,U+6BBD;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-62-wght-normal-DPjuIv4Z.woff2)format("woff2");unicode-range:U+6904,U+6906-6907,U+6909,U+690B,U+690F-6910,U+6917,U+691A-691C,U+6925,U+692A,U+692C-692D,U+6932,U+6934,U+6939,U+693C-6940,U+6942,U+6949,U+6952,U+6954-6957,U+6959,U+695B-695F,U+6961-696C,U+696E-6970,U+6973-6974,U+6976,U+6978-697A,U+697C,U+6980,U+6984-6986,U+6988-698A,U+698D-698E,U+6990-6991,U+6994,U+6996-699B,U+699E,U+69A3-69A7,U+69AB,U+69AD,U+69AF,U+69B1,U+69B3,U+69B6-69B7,U+69BB-69BC,U+69BF,U+69C1,U+69C3-69C5,U+69C7,U+69CA,U+69CC,U+69CE,U+69D0-69D1,U+69D4,U+69D8-69D9,U+69DB,U+69DF,U+69E4,U+69E8-69EA,U+69ED-69EE,U+69F1-69F4,U+69F6,U+69F8,U+69FA-69FB,U+69FF-6A00,U+6A05,U+6A0A-6A0B,U+6A17-6A18,U+6A1B,U+6A28-6A2B,U+6A31-6A32;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-63-wght-normal-D8azYq-W.woff2)format("woff2");unicode-range:U+67DC-67E0,U+67E2,U+67E4,U+67E9-67EA,U+67F0,U+67F2,U+67F6-67F8,U+67FA-67FB,U+67FE,U+6800-6805,U+6808-6809,U+680B,U+680E-680F,U+6811-6812,U+6814,U+6816,U+6818,U+681C-681E,U+6820,U+6822,U+6825,U+6827-6829,U+682B,U+682E-682F,U+6831-6834,U+683A-683B,U+683E,U+6840-6841,U+6844-6845,U+6849,U+684E,U+6853,U+6855-6856,U+685C-685D,U+685F,U+6861-6863,U+6865-6869,U+686B,U+686D,U+686F,U+6871-6872,U+6874-6875,U+6877,U+6879,U+687B-687C,U+687E,U+6880,U+6882-6883,U+6886,U+688F,U+6891-6892,U+6894,U+6896,U+6898,U+689B-689C,U+689F-68A0,U+68A2-68A3,U+68A6,U+68A9,U+68B1-68B2,U+68B4,U+68B6,U+68C0,U+68C3,U+68C6,U+68C8,U+68CA,U+68D0-68D1,U+68D3,U+68D6,U+68E1,U+68E3,U+68E6,U+68E8-68EC,U+68EF-68F1,U+68F3,U+68F6-68F7,U+68F9,U+68FB-68FD,U+6900,U+6902;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-64-wght-normal-CFXGj_qd.woff2)format("woff2");unicode-range:U+66B3,U+66B5,U+66B8-66BC,U+66BE,U+66C1,U+66C4,U+66C7-66C8,U+66CC,U+66CF,U+66D5,U+66D8-66DB,U+66DF,U+66E1-66E2,U+66E8-66E9,U+66EF,U+66F1,U+66F5,U+66F7,U+66FA,U+66FD,U+6705,U+670A,U+670F-6710,U+6713-6715,U+6718-6719,U+6720,U+6722-6727,U+6729,U+672E,U+6733,U+6736,U+6738-6739,U+673F-6740,U+6742,U+6745,U+6747-6748,U+674B-674D,U+6753,U+6755,U+6759,U+675D-675E,U+6760,U+6762-6763,U+6767-676A,U+676C,U+676E,U+6772-6777,U+677A-677C,U+6782,U+6786-6787,U+678A-678C,U+678E-678F,U+6791-6793,U+6796,U+6798-6799,U+679F-67A3,U+67A5,U+67AA-67AE,U+67B0-67B5,U+67B7-67BC,U+67C0-67C3,U+67C5-67C6,U+67C8-67CA,U+67CE,U+67D2,U+67D8-67D9,U+67DB;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-65-wght-normal-C6nqnFQi.woff2)format("woff2");unicode-range:U+6565,U+6567,U+656B,U+656D-656E,U+6573,U+6576,U+6579-657B,U+6581,U+6586,U+6588-6589,U+658B,U+658E,U+6593,U+6595,U+659B,U+659D,U+659F-65A1,U+65A9,U+65AB,U+65AD,U+65B2-65B3,U+65B5,U+65BB,U+65BE-65BF,U+65C2-65C4,U+65C6,U+65CC,U+65CE,U+65D2,U+65D6,U+65DB,U+65E1,U+65E3,U+65E7,U+65EE-65F0,U+65F2-65F4,U+65F7-65F8,U+65FC-65FD,U+6600,U+6603-6605,U+6609,U+660D,U+6610-6611,U+6619,U+661C-661E,U+6621-6622,U+6624,U+6626,U+6629,U+662B,U+6630,U+6633-6636,U+6639-663D,U+6640-6641,U+6644-6645,U+664A-664C,U+6653-6657,U+6659,U+665B,U+665D-665E,U+6661-6667,U+6669,U+666C,U+6672-6673,U+6677-6679,U+667B-667E,U+6681-6684,U+668B-6690,U+6692,U+6698,U+669D,U+669F-66A0,U+66A6-66A7,U+66AA,U+66B2;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-66-wght-normal-CABLcObE.woff2)format("woff2");unicode-range:U+642B,U+642F-6430,U+6432,U+6434,U+6437,U+643A,U+643D-6444,U+6446-6447,U+644A-644B,U+644E,U+6450-6453,U+6456,U+6459,U+645B-645C,U+645E,U+6460-6461,U+6463-6465,U+6468,U+646C-646E,U+6470,U+6472-6477,U+6479,U+647B,U+647D,U+6480,U+6482,U+6485,U+648B-648C,U+6491,U+6493,U+6496-649A,U+649D,U+649F-64A0,U+64A2-64A3,U+64AC,U+64B1,U+64B3-64B4,U+64B7-64B9,U+64BB,U+64BE,U+64C0,U+64C3-64C4,U+64D0,U+64D2,U+64D5,U+64D7-64D8,U+64E1-64E4,U+64E7,U+64E9,U+64ED,U+64EF-64F0,U+64F3,U+64F8,U+64FB-64FC,U+64FF,U+6504-6506,U+6509,U+6511-6512,U+6516,U+6518-6519,U+651B,U+6520-6523,U+6525-6526,U+6529,U+652B,U+652E,U+6530,U+6532,U+6534-6535,U+6537-6538,U+653A,U+653D,U+6542-6543,U+6549,U+654C-654E,U+6554-6555,U+655B,U+655D,U+6561,U+6564;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-67-wght-normal-C7UtET7V.woff2)format("woff2");unicode-range:U+6312-6313,U+6319-631B,U+631D-6321,U+6323-6325,U+632D-632E,U+6332,U+6334-6339,U+633B-633C,U+633E-6340,U+6342-6346,U+634B-634C,U+634E,U+6352,U+6357,U+635A,U+635C,U+635E-635F,U+6361,U+6363,U+6365,U+6369,U+636B-636D,U+636F-6370,U+6373,U+6375-6376,U+637A-637B,U+637D,U+6381,U+6384,U+6387,U+638A,U+638D-638E,U+6390,U+6394-6397,U+639E-639F,U+63A3-63A4,U+63A6,U+63AC-63AF,U+63B1-63B4,U+63B7,U+63B9-63BB,U+63BD-63BE,U+63C3-63C4,U+63C8,U+63CD-63CE,U+63D1,U+63D6,U+63DC,U+63DE,U+63E0,U+63E3-63E4,U+63E6,U+63E9,U+63F0,U+63F2-63F3,U+63F5-63F8,U+63FA,U+63FC-63FE,U+6400-6402,U+6405-6406,U+6409-640C,U+6410,U+6414-6415,U+6418,U+641B,U+641F-6423,U+6425-6428,U+642A;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-68-wght-normal-DU7AqVdX.woff2)format("woff2");unicode-range:U+61CC-61CD,U+61D0,U+61D2,U+61DE-61E0,U+61E3,U+61E6,U+61E8,U+61ED-61EE,U+61F5,U+61F9-61FA,U+61FD-61FE,U+6207,U+6209,U+620D-620E,U+6213-6215,U+6219,U+621B,U+621D-6223,U+6225-6227,U+6229,U+622B-622C,U+622E-622F,U+6231,U+6238,U+623B,U+623D-623E,U+6242-6243,U+6246,U+6248-6249,U+624C,U+6251,U+6255,U+6259-625A,U+625E,U+6260-6262,U+6265-6267,U+6269,U+626B-626C,U+6270-6273,U+6275,U+627A-627D,U+6283,U+6285-6286,U+6289,U+628C,U+628E,U+6294,U+629A-629E,U+62A0,U+62A2,U+62A6,U+62A8,U+62AF,U+62B3,U+62B6,U+62BA-62BB,U+62BE-62BF,U+62C2,U+62C4-62C5,U+62C8,U+62CA,U+62CF,U+62D1,U+62D5,U+62D7,U+62D9,U+62DD,U+62DF-62E3,U+62E5-62E8,U+62EE,U+62F4-62FB,U+62FD,U+6300,U+6302,U+6308,U+630C-630E,U+6310;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-69-wght-normal-ChhTaUGt.woff2)format("woff2");unicode-range:U+60B0-60B1,U+60B3-60B5,U+60B8,U+60BB,U+60BD-60BE,U+60C0,U+60C6-60C7,U+60CA-60CB,U+60D3-60D5,U+60D7-60DB,U+60DD,U+60E2-60E3,U+60E6-60F0,U+60F2,U+60F4,U+60F6,U+60FA-60FB,U+60FF-6100,U+6103,U+6106,U+610A-610B,U+610D-610E,U+6110,U+6112-6116,U+6120,U+6123-6124,U+6128-6130,U+6134,U+6136,U+613C-613F,U+6144,U+6146-6147,U+6149-614A,U+614D,U+6151-6153,U+6159-615A,U+615C-615F,U+6164-6165,U+6169-616D,U+616F,U+6171-6175,U+6177,U+617A,U+617C,U+617F-6180,U+6187,U+618A-618E,U+6192-6194,U+6199-619B,U+619F,U+61A1,U+61A7-61A8,U+61AA-61AF,U+61B8,U+61BA,U+61BF,U+61C3,U+61C6,U+61CA-61CB;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-70-wght-normal-BJCVnFr4.woff2)format("woff2");unicode-range:U+5F82-5F84,U+5F87,U+5F89-5F8A,U+5F8D,U+5F93,U+5F95,U+5F98-5F99,U+5F9B-5F9C,U+5FA0,U+5FA4,U+5FA6-5FA8,U+5FAB-5FAD,U+5FB3-5FB4,U+5FBC,U+5FC4,U+5FC6,U+5FC9,U+5FCB,U+5FCE-5FD6,U+5FDC-5FDF,U+5FE1,U+5FE4,U+5FE7,U+5FEA,U+5FEC-5FEE,U+5FF1,U+5FF3,U+5FF8,U+5FFA-5FFC,U+5FFF-6000,U+6002,U+6005,U+600A,U+600D,U+600F-6010,U+6014,U+6017,U+6019-601C,U+601E,U+6020,U+6022,U+6026,U+6029,U+602B-602C,U+602E-602F,U+6031,U+6033-6035,U+6039,U+603C,U+6040-6043,U+6045,U+6047,U+604A-604C,U+604F,U+6053,U+6059-605B,U+605D,U+6060,U+6063,U+6067,U+606A-606B,U+606E,U+6072-6076,U+6078,U+607A,U+607C,U+607F-6081,U+6083,U+6086,U+608A,U+608C,U+608E,U+6092-6093,U+6095-6097,U+609B,U+609D,U+60A2,U+60A6-60A7,U+60A9-60AA,U+60AC-60AD,U+60AF;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-71-wght-normal-C68sB2pX.woff2)format("woff2");unicode-range:U+5E3C,U+5E40,U+5E42-5E44,U+5E47,U+5E54,U+5E57-5E5B,U+5E5E-5E5F,U+5E61-5E62,U+5E64,U+5E6A,U+5E6C,U+5E6E,U+5E75,U+5E77,U+5E7A,U+5E80-5E81,U+5E83,U+5E86,U+5E88,U+5E8B,U+5E90,U+5E92,U+5E96,U+5E99,U+5E9B,U+5E9D-5EA2,U+5EA4-5EA5,U+5EB3-5EB6,U+5EB9,U+5EBE,U+5EC3-5EC4,U+5EC6,U+5ECB-5ECD,U+5ED0-5ED2,U+5ED4-5ED5,U+5ED8-5ED9,U+5EDB,U+5EDD,U+5EE1,U+5EE8-5EE9,U+5EEC,U+5EEF-5EF0,U+5EF4-5EF5,U+5EF8,U+5EFB-5EFC,U+5EFE,U+5F01-5F03,U+5F05,U+5F07-5F09,U+5F0B-5F0E,U+5F10-5F12,U+5F14,U+5F16,U+5F1B,U+5F1D,U+5F22,U+5F25,U+5F28-5F29,U+5F2D,U+5F2F-5F30,U+5F36,U+5F38-5F39,U+5F3C,U+5F3E,U+5F40-5F42,U+5F45-5F46,U+5F4A,U+5F50-5F52,U+5F54,U+5F56-5F58,U+5F5A-5F5E,U+5F61,U+5F63,U+5F66-5F67,U+5F6B,U+5F72-5F74,U+5F76,U+5F78,U+5F7B,U+5F7D;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-72-wght-normal-zLtu43lR.woff2)format("woff2");unicode-range:U+5CE6,U+5CE8-5CEA,U+5CED-5CEE,U+5CF1,U+5CF4-5CF5,U+5CF8,U+5CFE-5D00,U+5D06,U+5D08,U+5D0A-5D0D,U+5D15,U+5D18,U+5D1A,U+5D1D,U+5D1F-5D22,U+5D24,U+5D26-5D28,U+5D2C-5D2E,U+5D33-5D35,U+5D3D,U+5D3F,U+5D42-5D43,U+5D46-5D47,U+5D49-5D4B,U+5D4E,U+5D52-5D53,U+5D57-5D59,U+5D5B-5D5C,U+5D65,U+5D68-5D69,U+5D6B-5D6C,U+5D6F,U+5D74-5D75,U+5D7E-5D7F,U+5D81-5D82,U+5D85-5D88,U+5D8B-5D8C,U+5D92,U+5D94,U+5D97,U+5D99,U+5D9D,U+5DA0-5DA2,U+5DA7,U+5DA9-5DAA,U+5DAE,U+5DB2,U+5DB4,U+5DB7-5DB8,U+5DBD,U+5DC2-5DC5,U+5DC9,U+5DCB-5DCD,U+5DD2,U+5DD6,U+5DD8,U+5DDB-5DDC,U+5DE0,U+5DE3,U+5DE9,U+5DF0,U+5DF3,U+5DF5,U+5DF9,U+5DFB-5DFD,U+5E00-5E01,U+5E04-5E05,U+5E0A,U+5E11,U+5E14,U+5E18-5E1C,U+5E1F-5E22,U+5E27-5E28,U+5E2F-5E30,U+5E34,U+5E37,U+5E3A;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-73-wght-normal-Dx6FRt8Y.woff2)format("woff2");unicode-range:U+5B84,U+5B8D,U+5B92-5B93,U+5B95-5B96,U+5B9F-5BA1,U+5BA6-5BA8,U+5BAA-5BAD,U+5BBD-5BBE,U+5BC0-5BC1,U+5BC3,U+5BD0-5BD1,U+5BD4-5BD8,U+5BDB-5BDD,U+5BE4-5BE5,U+5BEF,U+5BF3,U+5BFB,U+5BFE-5BFF,U+5C02-5C03,U+5C05,U+5C09,U+5C0C,U+5C10,U+5C12-5C13,U+5C15,U+5C18-5C19,U+5C1B,U+5C1D-5C1F,U+5C22,U+5C25,U+5C27-5C28,U+5C2A-5C2B,U+5C34,U+5C38,U+5C3D,U+5C42,U+5C44,U+5C47,U+5C49-5C4A,U+5C50,U+5C53,U+5C58-5C59,U+5C5B,U+5C5D,U+5C61,U+5C63,U+5C68,U+5C6D-5C6E,U+5C74,U+5C79-5C84,U+5C86,U+5C88,U+5C8A-5C8D,U+5C92-5C9C,U+5CA0,U+5CA2-5CA3,U+5CA5-5CA7,U+5CAB-5CAD,U+5CB5,U+5CB7,U+5CBA-5CBB,U+5CC1,U+5CC8,U+5CCA-5CCB,U+5CCE,U+5CD2,U+5CD6,U+5CD8-5CDA,U+5CDF-5CE1,U+5CE5;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-74-wght-normal-Bv7R4L9_.woff2)format("woff2");unicode-range:U+5A57,U+5A5D-5A5E,U+5A60-5A62,U+5A65,U+5A67,U+5A6A,U+5A6C-5A6D,U+5A73-5A76,U+5A7A-5A7C,U+5A81-5A84,U+5A8C,U+5A90,U+5A93,U+5A96-5A97,U+5A9C,U+5A9E-5AA0,U+5AA4,U+5AA7,U+5AAB-5AAC,U+5AAE-5AAF,U+5AB1,U+5AB4-5AB5,U+5AB8,U+5ABA-5ABC,U+5ABE-5ABF,U+5AC3-5AC4,U+5AC6-5ACB,U+5ACF-5AD2,U+5AD4-5ADC,U+5AE0-5AE1,U+5AE3,U+5AE5-5AE6,U+5AE8,U+5AEA-5AEB,U+5AEE,U+5AF0,U+5AF2,U+5AF5,U+5AFA,U+5AFF,U+5B01,U+5B05,U+5B08,U+5B0B,U+5B11,U+5B16-5B17,U+5B19,U+5B1B,U+5B1D,U+5B21-5B23,U+5B28,U+5B2A-5B2D,U+5B32,U+5B34,U+5B36-5B38,U+5B3E-5B40,U+5B43-5B46,U+5B4B-5B4C,U+5B51,U+5B53,U+5B59,U+5B5B-5B5C,U+5B62,U+5B65,U+5B6C-5B6E,U+5B70-5B73,U+5B75,U+5B7A-5B7B,U+5B7D,U+5B7F-5B82;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-75-wght-normal-CY_syJjm.woff2)format("woff2");unicode-range:U+5910-5911,U+5914,U+5919,U+591B,U+591F,U+5923-5924,U+592C,U+5932,U+5938-593A,U+5940,U+5942,U+5944,U+594B-594C,U+594E,U+5950,U+5953,U+5956,U+5958,U+595A,U+5961,U+5966,U+5968-5969,U+596C-596D,U+5975,U+5977,U+597B-597C,U+597E,U+5980-5981,U+5986-5988,U+598A,U+598F,U+5997-5998,U+599F-59A3,U+59A6-59A7,U+59A9,U+59AB-59AC,U+59AF,U+59B1-59B2,U+59B6,U+59B8,U+59BA,U+59BE,U+59C1,U+59C3,U+59C7-59C9,U+59CD-59CE,U+59D2,U+59D6-59D9,U+59DD-59DE,U+59E0,U+59E3-59E5,U+59E9-59EB,U+59EE,U+59F1-59F3,U+59F5-59F9,U+59FC-59FD,U+5A00,U+5A04-5A07,U+5A09,U+5A0C,U+5A11,U+5A13,U+5A16-5A17,U+5A1A,U+5A1E,U+5A20,U+5A23-5A24,U+5A29-5A2B,U+5A2D-5A2F,U+5A32-5A34,U+5A38,U+5A3C,U+5A3F-5A44,U+5A47-5A48,U+5A4A,U+5A4C-5A4D,U+5A50-5A51,U+5A53,U+5A56;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-76-wght-normal-De8sopUP.woff2)format("woff2");unicode-range:U+57A9,U+57AB,U+57B5,U+57B8-57BB,U+57C2,U+57C5-57C8,U+57CC,U+57CF,U+57D2,U+57DC-57DE,U+57E1-57E2,U+57E5,U+57E7,U+57ED-57EE,U+57F0,U+57F3-57F6,U+57F8,U+57FB-57FD,U+5800-5801,U+5803-5804,U+5807,U+5809-580B,U+580D-580E,U+5810-5811,U+5814-5815,U+5819,U+581D-581E,U+5820,U+5823,U+5826,U+582C-582D,U+5830,U+583A,U+583F-5841,U+5848,U+584B,U+584D,U+584F,U+5852,U+5859-585A,U+585C,U+5861,U+5864,U+5868-5869,U+586C-586D,U+5871-5872,U+5879,U+587C-5881,U+5887-5889,U+588E,U+5890-5892,U+5896-5899,U+589D,U+58A1,U+58A3,U+58A6,U+58A9,U+58AC,U+58B0-58B1,U+58BB-58BC,U+58C2,U+58C5-58C6,U+58CA,U+58CC,U+58CE,U+58D0-58D1,U+58D5,U+58D9-58DA,U+58DF-58E0,U+58E9,U+58EC,U+58EE,U+58F1-58F3,U+58F6-58F7,U+58FB-58FC,U+5900,U+5902,U+5906,U+5909-590C,U+590E;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-77-wght-normal-DtQ0zzNs.woff2)format("woff2");unicode-range:U+567B-567C,U+5680,U+5684-5686,U+568C,U+568E-568F,U+5692-5693,U+5697-5699,U+569C,U+569E,U+56A1-56A7,U+56A9,U+56AB-56AD,U+56AF,U+56B3,U+56B5-56B6,U+56B8,U+56BF-56C1,U+56C3,U+56C5,U+56C7-56C8,U+56CB-56CC,U+56D1-56D4,U+56D6-56D9,U+56DD,U+56DF,U+56E1-56E5,U+56EA-56EC,U+56EE-56EF,U+56F1-56F4,U+56F7,U+56F9,U+56FF-5700,U+5703-5704,U+5706-5707,U+5709-570A,U+570C,U+570F,U+5711,U+5717,U+571C,U+5723-5724,U+5727,U+5729-572A,U+572C,U+572E-572F,U+5734-5735,U+573B,U+5741,U+574B-574D,U+574F,U+5752,U+5754,U+575A-5760,U+5763,U+5768-5769,U+576B,U+576D,U+576F-5770,U+5772-5775,U+5777,U+577B-577D,U+5780,U+5784,U+5788,U+578C,U+578E,U+5792-5793,U+5795,U+579A-579B,U+579F-57A1,U+57A4,U+57A6;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-78-wght-normal-BM2ohN5p.woff2)format("woff2");unicode-range:U+555C,U+5562-5563,U+5567,U+5569,U+556B-556C,U+5570,U+5575-5579,U+557B-557C,U+557F,U+5581,U+5583,U+5586,U+5588,U+558B,U+558F,U+5591,U+5599,U+559F,U+55A1,U+55A3,U+55A5-55A6,U+55A8-55A9,U+55AB,U+55AD,U+55B0-55B1,U+55B3,U+55B6-55B7,U+55B9,U+55BC-55BD,U+55C4-55C5,U+55C7,U+55C9,U+55CC-55CD,U+55D0,U+55D2,U+55D4-55D9,U+55DB,U+55DD-55DF,U+55E1-55E6,U+55E9-55EA,U+55EC,U+55EE,U+55F1-55F3,U+55F5-55F7,U+55F9-55FA,U+55FE,U+5600-5602,U+5608,U+560C,U+560F,U+5612-5613,U+5615-5616,U+5618,U+561A,U+561C,U+561E,U+5620,U+5623-5625,U+5627,U+562A,U+562C-562E,U+5630-5631,U+5635-5636,U+5638-563A,U+5640,U+5642-5643,U+5649,U+564C-5650,U+5654,U+5658-565D,U+5664-5666,U+5669,U+566B,U+566D,U+566F,U+5671-5672,U+5676,U+567A;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-79-wght-normal-BTshvStA.woff2)format("woff2");unicode-range:U+5447,U+5449,U+544B-544D,U+5450-5455,U+5457,U+545B-545C,U+545F-5460,U+5463-5464,U+546A-5472,U+5474,U+5476,U+5478,U+547B,U+547E-547F,U+5482-5488,U+548A,U+548D-5491,U+5494,U+5498-549D,U+54A1-54A5,U+54AB,U+54AD-54AF,U+54B5,U+54B7,U+54BB-54BC,U+54BE-54BF,U+54CA,U+54CC,U+54CF-54D2,U+54D4,U+54D6-54D7,U+54DA,U+54DE-54DF,U+54E2,U+54E4,U+54E7,U+54EB,U+54F3,U+54FD,U+54FF,U+5501-5502,U+5504-5506,U+550A,U+550C,U+550E-550F,U+5511-5513,U+5516-5517,U+551A-551B,U+551E,U+5520,U+5524,U+5526-5527,U+552A,U+552C-552D,U+5530,U+5532-5533,U+5535-5536,U+553B-553C,U+553E-553F,U+5541-5542,U+5544-5545,U+5547,U+5549,U+554B,U+554D-554E,U+5550-5551,U+5553,U+5555-5557;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-80-wght-normal-B3lzDGAN.woff2)format("woff2");unicode-range:U+52EB,U+52ED-52EE,U+52F0-52F2,U+52F7,U+52F9-52FA,U+5300-5302,U+530A-530B,U+530D,U+530F-5310,U+5315,U+531A,U+531C-531D,U+532D-532E,U+5331,U+5338,U+533B-533E,U+5344-5345,U+534B-534D,U+534F-5350,U+5358,U+535E-535F,U+5362-5364,U+5367,U+5369,U+536B-536C,U+536E-536F,U+5372,U+5374,U+5379-537A,U+537C-537D,U+5382,U+5385,U+5389,U+538B-538C,U+538E,U+5392-5396,U+5399,U+53A0-53A2,U+53A4-53A6,U+53A8-53A9,U+53AE,U+53B0,U+53B3-53B4,U+53B6-53B7,U+53B9,U+53BF,U+53C1,U+53C4,U+53CE-53CF,U+53D2,U+53D5,U+53D9-53DA,U+53DF-53E1,U+53E7-53E9,U+53F1,U+53F5-53F6,U+53F9,U+53FB-53FD,U+5400-5402,U+5405-5407,U+540F,U+5412,U+5414-5417,U+541A,U+5420-5421,U+5424-5425,U+5428-5429,U+542C-542F,U+5431-5432,U+5434,U+5437,U+543D,U+543F,U+5441,U+5444-5445;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-81-wght-normal-CdB6HoDd.woff2)format("woff2");unicode-range:U+5197,U+519A-519C,U+519E,U+51A2,U+51A6-51A9,U+51AB,U+51AD-51AF,U+51B1-51B6,U+51BA-51C0,U+51C3-51C5,U+51C7,U+51C9-51CB,U+51CE-51D1,U+51D4,U+51D6,U+51D9,U+51DB-51DC,U+51DF,U+51E4,U+51E6,U+51E9-51EA,U+51ED,U+51EF,U+51F4-51F5,U+51FC,U+51FF,U+5201-5202,U+5204-5205,U+5208,U+520B,U+520D-520E,U+5213,U+5215-5216,U+5218,U+521A,U+5220,U+5223,U+5226-5228,U+5232-5234,U+5239,U+523C,U+5241-5242,U+5244,U+5249,U+524C,U+5251-5252,U+5255,U+5257,U+525C,U+525E,U+5261,U+5263-5265,U+526E,U+5270,U+5273-5274,U+5277,U+527D,U+527F,U+5281-5282,U+5284,U+528A,U+528C,U+528F,U+5292-5294,U+529D,U+52A6,U+52AC-52AD,U+52B1-52B5,U+52B9,U+52BB-52BC,U+52BE-52C0,U+52C5,U+52CB,U+52CD,U+52D0-52D1,U+52D6-52D7,U+52DB,U+52E0,U+52E3,U+52E6-52E7;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-82-wght-normal-_Ir9Q2vB.woff2)format("woff2");unicode-range:U+5040-5041,U+5043,U+5045-5046,U+5048,U+504A-504E,U+5051-5053,U+505D-5060,U+5063,U+506A,U+506F-5072,U+5078,U+507A-507B,U+507F-5080,U+5088-5089,U+508B-508C,U+508E,U+5092,U+5095-5096,U+509A-509D,U+50A3,U+50A5,U+50A8,U+50AF,U+50B1,U+50B4,U+50BA,U+50C2,U+50C6-50CA,U+50CD-50CE,U+50D6,U+50D9,U+50DD-50DF,U+50E1,U+50E3,U+50E5-50E6,U+50E8-50EA,U+50EC-50F0,U+50F3,U+50FB,U+50FE,U+5101-5102,U+5105-5109,U+510B-510E,U+5110,U+5113-5115,U+5117,U+511A-511C,U+511E,U+5120-5121,U+5125,U+512B,U+5131,U+5134-5135,U+5138-513C,U+5140,U+514E,U+5150-5151,U+5155-5157,U+515A,U+515F,U+5162,U+516A,U+516E,U+5172,U+5174,U+5179,U+517B,U+517D,U+5182,U+5186,U+5188-5189,U+518B,U+518F,U+5191,U+5193,U+5195-5196;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-83-wght-normal-BKaoQorn.woff2)format("woff2");unicode-range:U+4F2D,U+4F31-4F32,U+4F35,U+4F37,U+4F39,U+4F3B,U+4F3E,U+4F41-4F43,U+4F47,U+4F49,U+4F4C,U+4F52,U+4F57-4F58,U+4F5A,U+4F5D-4F5F,U+4F61,U+4F63-4F64,U+4F67,U+4F6A,U+4F6E-4F6F,U+4F72,U+4F74,U+4F76-4F7B,U+4F7D-4F7E,U+4F80-4F82,U+4F84,U+4F89-4F8A,U+4F8E-4F94,U+4F96-4F98,U+4F9A,U+4F9E,U+4FA0-4FA3,U+4FA5-4FA8,U+4FAA-4FAC,U+4FB2-4FB3,U+4FB7-4FBA,U+4FC0-4FC1,U+4FC5-4FC7,U+4FCB,U+4FCD-4FCE,U+4FD1,U+4FD3-4FD4,U+4FD8-4FDC,U+4FDF,U+4FE2-4FE5,U+4FE8-4FEA,U+4FEC-4FED,U+4FF3-4FF6,U+4FF8-4FFA,U+4FFD,U+5000,U+5002,U+5005,U+5008,U+500C,U+500F,U+5013-5015,U+501B-501C,U+501E,U+5022-5025,U+5027-5028,U+502C-502E,U+5030-5032,U+5036,U+503A-503B,U+503E;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-84-wght-normal-D9L0JLly.woff2)format("woff2");unicode-range:U+3F97,U+4102,U+411B,U+4181,U+43C8,U+4552,U+4576,U+46E5,U+4837,U+493D,U+4A3B,U+4D09,U+4DB6-4DBF,U+4E02,U+4E04-4E05,U+4E0C,U+4E0F-4E10,U+4E15,U+4E17,U+4E1B,U+4E21-4E22,U+4E25,U+4E27,U+4E31,U+4E34,U+4E36-4E37,U+4E3D,U+4E3F-4E42,U+4E44,U+4E47,U+4E49,U+4E4C,U+4E52-4E54,U+4E57,U+4E5A-4E5B,U+4E60-4E61,U+4E69,U+4E6D,U+4E78,U+4E80-4E81,U+4E85,U+4E87,U+4E89-4E8A,U+4E8D,U+4E8F,U+4E93,U+4E96,U+4E98-4E99,U+4E9C,U+4E9F-4EA0,U+4EA2,U+4EA5,U+4EA9,U+4EB0,U+4EB2-4EB3,U+4EB5-4EB7,U+4EB9,U+4EBB-4EBC,U+4EBF,U+4EC2-4EC6,U+4EC8-4EC9,U+4ECF,U+4ED1,U+4ED3,U+4EDC-4EE1,U+4EE7-4EEB,U+4EEE-4EEF,U+4EF1,U+4EF3-4EF5,U+4EFA,U+4EFC,U+4F00,U+4F02-4F03,U+4F05,U+4F07-4F09,U+4F0B,U+4F0E,U+4F15,U+4F17,U+4F1D-4F1F,U+4F22,U+4F24,U+4F29-4F2B;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-85-wght-normal-D6VRmOzr.woff2)format("woff2");unicode-range:U+3052,U+305C,U+3062,U+306D,U+307A,U+307C,U+3080,U+308E,U+3090-3091,U+3099-309E,U+30A5,U+30C2,U+30C5,U+30EE,U+30F0-30F2,U+30F4-30F6,U+30FD-30FE,U+3105-3106,U+3108,U+310A-310B,U+310D-3112,U+3115-3117,U+3119,U+3131,U+3134,U+3137,U+3139,U+3141-3142,U+3145,U+3147-3148,U+314B,U+314D-314F,U+3153,U+315C,U+3160-3161,U+3163-3164,U+3181,U+318D,U+3192-3193,U+3196-3198,U+319D-319F,U+3220-3226,U+3231,U+3268,U+3281,U+328B,U+3291-3292,U+3295-3297,U+3299,U+329D,U+329F,U+32A3-32A4,U+32D6,U+32E1,U+3314,U+3322,U+337F,U+338E-338F,U+339C-339E,U+33A1,U+33C4,U+33D1-33D2,U+3440,U+3449,U+3479,U+3551,U+3569,U+35AD,U+35CE,U+36AC,U+373A,U+3863,U+38EC,U+39B8,U+3A02,U+3A17,U+3A52,U+3B22,U+3BD7,U+3BFF,U+3CA5,U+3D68,U+3DDB,U+3DE7,U+3DEB,U+3E03,U+3E74,U+3F08,U+3F0E,U+3F21;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-86-wght-normal-Cq_w8Em-.woff2)format("woff2");unicode-range:U+2748-274F,U+2752-275B,U+275D-275E,U+2761,U+2763,U+2765-2769,U+276E-276F,U+2771,U+2776-277E,U+2780-2782,U+278A-278C,U+2794-2796,U+2798-2799,U+279C-27A6,U+27A8-27AB,U+27AD,U+27AF-27B0,U+27B2-27B3,U+27B7-27B9,U+27BC-27BD,U+27BF,U+27E9-27EB,U+27F5-27F6,U+2800,U+28EC,U+2922,U+2934-2935,U+29BF,U+2A2F,U+2B05-2B07,U+2B1B,U+2B50,U+2B55,U+2CF5,U+2E1C-2E1D,U+2F00,U+2F08,U+2F12,U+2F24,U+2F29,U+2F2F,U+2F3C,U+2F3F,U+2F42,U+2F45,U+2F63-2F64,U+2F83,U+2F8F,U+3003-3007,U+3012-3013,U+3016-3019,U+3020-3025,U+3030,U+303D,U+3041,U+3043,U+3045,U+3047,U+3049;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-87-wght-normal-Yrph325E.woff2)format("woff2");unicode-range:U+2649-2656,U+2658-265C,U+265E-2660,U+2662-2664,U+2666-2669,U+266B-266F,U+267B,U+2692-2696,U+2698,U+269B-269C,U+26A0-26A1,U+26A3-26A5,U+26AA-26AC,U+26BD-26BE,U+26C4-26C5,U+26C8,U+26D1,U+26D3-26D4,U+26E4,U+26E9-26EA,U+26F0-26F5,U+26F9-26FA,U+26FD,U+2701-2702,U+2704-2706,U+2708,U+270A-2712,U+2714,U+2716-2727,U+2729-273E,U+2740-2747;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-88-wght-normal-qM37cYHV.woff2)format("woff2");unicode-range:U+2566-2570,U+2572,U+2574,U+2579,U+2580-258A,U+258C-2595,U+2597,U+25A1,U+25A3-25A4,U+25A6-25AC,U+25B0,U+25B4,U+25B7-25B9,U+25BB,U+25BD,U+25BF-25C2,U+25C7-25CA,U+25CC-25CD,U+25D0-25D9,U+25DC-25E6,U+25EA-25EB,U+25EF,U+25FB-25FE,U+2600-2604,U+2607,U+2609-260B,U+260D-2615,U+2618,U+261A-2623,U+262A,U+262D-2630,U+2638-263E,U+2641-2642,U+2648;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-89-wght-normal-DQgsOy-T.woff2)format("woff2");unicode-range:U+2475-2481,U+2488-2491,U+24B6-24C5,U+24C7-24CA,U+24CC,U+24CE,U+24D?,U+24E1-24EA,U+24F5,U+24FF,U+2501,U+2503-250D,U+250F-2511,U+2513-2515,U+2517-2518,U+251B-251D,U+2520,U+2523-2524,U+2528,U+252B-252C,U+252F,U+2533-2534,U+2537,U+253B-253C,U+2541,U+2543-2545,U+254B,U+2550-2565;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-90-wght-normal-BLG28ssT.woff2)format("woff2");unicode-range:U+2139,U+2153,U+2194-2197,U+2199,U+219D-219E,U+21A0,U+21A9-21AA,U+21AC,U+21AF-21B1,U+21B3-21B5,U+21BA-21BB,U+21C4,U+21CA,U+21CC,U+21D0,U+21D2-21D4,U+21D8,U+21DD,U+21E2-21E9,U+2200,U+2202,U+2205-2208,U+220E-220F,U+2211-2212,U+2215,U+2217-221A,U+221D-2220,U+2225,U+2227-222B,U+222E,U+2234-2237,U+223C-223D,U+2248,U+2256,U+2260-2261,U+2264-2265,U+226A-226B,U+226E-226F,U+2282-2283,U+2295-2296,U+2299,U+22A5,U+22B0-22B1,U+22B9,U+22BF,U+22C5-22C6,U+22C8,U+22D0-22D1,U+22EE,U+2312-2313,U+2318,U+231A-231B,U+2323,U+2328,U+239D,U+23A0,U+23AF,U+23E4,U+23E9-23EA,U+23EC,U+23F0-23F3,U+23FA,U+2445,U+2460-2471,U+2474;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-91-wght-normal-Dcrjozns.woff2)format("woff2");unicode-range:U+1EC0-1EC3,U+1EC5-1EC6,U+1EC9,U+1ECB-1ECD,U+1ECF-1ED1,U+1ED3-1ED5,U+1ED7-1EDD,U+1EDF,U+1EE1,U+1EE3-1EE7,U+1EE9,U+1EEB,U+1EED,U+1EEF-1EF1,U+1EF3,U+1EF7,U+1EF9,U+1F62,U+1FA2,U+2001-2006,U+2009-200A,U+200C-200D,U+200F-2012,U+2015-2016,U+201A,U+201E,U+2020-2021,U+2023-2025,U+2028,U+202A-202D,U+202F-2030,U+2032-2033,U+2035,U+2038,U+203E-203F,U+2042-2044,U+2049,U+204D-204E,U+2060-2061,U+2063,U+2070,U+2074-207B,U+207D-2083,U+208A,U+208D-208E,U+20A1,U+20A4,U+20A6,U+20A8-20AB,U+20AD-20AE,U+20B1-20B3,U+20B5,U+20B8-20BA,U+20BD,U+20DD,U+20E3,U+2105,U+2109,U+2112-2113,U+2115-2117,U+2120-2121,U+2126,U+212B;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-92-wght-normal-BzOgo23f.woff2)format("woff2");unicode-range:U+11AF,U+11B7,U+11BC,U+121B,U+122D,U+129B,U+12A0,U+13A6,U+13A9,U+13AC,U+13AF,U+13B3,U+13C2,U+13E3,U+141B,U+1555,U+1557,U+15DC,U+15E8,U+1780-1782,U+1784-1785,U+1787,U+178A,U+178E-1791,U+1793-179C,U+179F,U+17A2,U+17B6-17B9,U+17BB-17BC,U+17BF-17C7,U+17C9,U+17CB,U+17D0,U+17D2,U+17DB,U+1871,U+18FA,U+1BFF,U+1D00,U+1D04-1D05,U+1D07,U+1D0A-1D0B,U+1D0D,U+1D0F,U+1D17-1D18,U+1D1B-1D1C,U+1D20-1D22,U+1D25,U+1D2C,U+1D2E,U+1D30-1D31,U+1D33-1D3A,U+1D3C,U+1D3E-1D42,U+1D52,U+1D55,U+1D5B,U+1D5E,U+1D9C,U+1DA0,U+1DC4-1DC5,U+1E3B,U+1E43,U+1E45,U+1E47,U+1E63,U+1E6D,U+1E73,U+1EA0,U+1EA2,U+1EA4-1EA9,U+1EAB-1EAF,U+1EB1,U+1EB3,U+1EB5,U+1EB7,U+1EB9,U+1EBB,U+1EBD-1EBE;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-97-wght-normal-OQoh5cHZ.woff2)format("woff2");unicode-range:U+2C8-2C9,U+2CC-2CD,U+2D0,U+2D8,U+2DA,U+2DC,U+2E1-2E3,U+2E7,U+2EB,U+2EE,U+2F1-2FF,U+302-304,U+306-309,U+30C-30D,U+311,U+31B,U+321,U+323-325,U+328-329,U+32B-32C,U+32E-32F,U+331-33A,U+33C-33F,U+348,U+353,U+358-359,U+35C,U+35E-35F,U+361,U+363,U+367-368,U+36C,U+36F,U+530-535,U+537-540,U+55E,U+561-565,U+568-56D,U+56F-576,U+578-582,U+584,U+5A1,U+5A3-5A4,U+5AA,U+5AE,U+5B0-5B4;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-98-wght-normal-OAj596Gu.woff2)format("woff2");unicode-range:U+1AF,U+1B1,U+1B4-1BE,U+1D0,U+1D2,U+1D4,U+1DA,U+1DC-1DD,U+1E1,U+1E3-1E4,U+1E7,U+1E9,U+1EB-1EC,U+1F0-1F1,U+1F3-1F5,U+1F7,U+1F9-1FF,U+219,U+221,U+225-226,U+228-22B,U+22E-22F,U+231-235,U+239,U+23B,U+23E,U+250-252,U+254-255,U+259-25E,U+261-263,U+268-26B,U+26D,U+26F-277,U+279-27A,U+27D-281,U+283,U+28A-28C,U+28F,U+292,U+294-296,U+298-29A,U+29C,U+29F,U+2A1-2A2,U+2A4-2A7,U+2A9-2AA,U+2AE-2B3,U+2B5-2B7,U+2B9-2BF,U+2C2-2C4,U+2C6-2C7;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-99-wght-normal-D9WNKjpg.woff2)format("woff2");unicode-range:U+A1-A2,U+A4,U+A6-A8,U+AA,U+AC,U+AF,U+B1,U+B5-B6,U+B8-BA,U+BC-BE,U+C0-C8,U+CA-CC,U+CE-D5,U+D8-DF,U+F0,U+F5,U+F8,U+FB,U+FE-100,U+102,U+105,U+107,U+109-10B,U+10F,U+112,U+115,U+117,U+119,U+11B,U+11F,U+121,U+123-124,U+127,U+129,U+12C-12D,U+13?,U+141-142,U+144,U+148,U+14B-14C,U+14F-153,U+159-15B,U+15E-160,U+163-166,U+169-16A,U+16D-171,U+173-17E,U+192,U+1A0,U+1A4,U+1AA,U+1AC-1AD;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-100-wght-normal-CeyvuWjh.woff2)format("woff2");unicode-range:U+A3,U+2CA,U+2223,U+2640,U+273F,U+301C-301D,U+3107,U+310C,U+4E30,U+4E3E,U+4E5E,U+4E71,U+4F26,U+4F7C,U+4F83,U+50DA,U+5243,U+5267,U+529E,U+5321,U+5352,U+5477,U+548B,U+54A6,U+54B2,U+54C2,U+54C4,U+54C6,U+54CD,U+54EE,U+5543,U+55D1,U+55D3,U+55F0,U+55FD,U+560D,U+5629,U+5660,U+57AE,U+57E0,U+57E4,U+5904,U+592D,U+5965,U+5A31,U+5A7F,U+5B5A,U+5BB8,U+5C14,U+5C3B,U+5C5C,U+5C5E,U+5D10,U+5E10,U+5E4C,U+603B,U+604D,U+611C,U+6137,U+61C8,U+6292,U+62C7,U+6371,U+6382,U+645F,U+64AE,U+64C2,U+651E,U+65F1,U+660A,U+663E,U+673D,U+6784,U+6789,U+67FF,U+6813,U+6854,U+68D8,U+68FA,U+697D,U+6A01,U+6A1E,U+6BAF,U+6C08,U+6C17,U+6C2B,U+6C81,U+6CBD,U+6DC6,U+6DF9,U+6ED9,U+6EE1,U+6F86,U+6FC1,U+6FDB,U+701F,U+7076,U+715C,U+7194,U+71FB,U+720D,U+72B6,U+7396,U+73AF,U+745B,U+746F,U+748B,U+7647,U+7699,U+76BF,U+76CE,U+76DE,U+77AA,U+786B,U+7881,U+78CA,U+793C,U+797A,U+79B9,U+79BB,U+79BF,U+7A92,U+7AC7,U+7AE3,U+7B19,U+7B20,U+7B51,U+7B94,U+7CBD,U+7CDE,U+7CEF,U+7D46,U+7DDE,U+7F88,U+80DA,U+814B,U+81CD,U+8235,U+8258,U+8282,U+82B9,U+846B,U+84C1,U+84D3,U+8518,U+8611,U+8783,U+8814,U+8A15,U+8AA6,U+8B2C,U+8BA8-8BA9,U+8BC6,U+8BE2,U+8BE6,U+8C22,U+8D05,U+8D27,U+8DBE,U+8E34,U+8E66,U+8EC0,U+9005,U+9082,U+9091,U+914B,U+916F,U+92C5,U+92F0,U+9318,U+9382,U+938A,U+93E2,U+964B,U+96C1,U+96CC-96CD,U+96DB,U+973E,U+97A0,U+9803,U+9876,U+9879,U+9955,U+9986,U+99F1,U+9A5B,U+9ABC,U+9C57,U+9C9C,U+9D1B,U+9D26,U+9D51,U+9EEF,U+9F99,U+C2A4,U+E253,U+E313-E314,U+E5C7,U+E5C9,U+E8DB-E8DC,U+FF25,U+FF2D-FF2E,U+FF34,U+FFE5,U+1F60A,U+1F618,U+1F62D;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-101-wght-normal-BazQQPpe.woff2)format("woff2");unicode-range:U+B4,U+10D,U+2D9,U+641,U+6CC,U+E20,U+E29,U+200E,U+20AC,U+2266,U+25BE,U+301E,U+3058,U+4E07,U+4E1D,U+4E66,U+4ECE,U+4FDE,U+5016,U+5180,U+5199,U+51AA,U+5306,U+5386,U+53D8,U+5413,U+541D,U+5436,U+54CE,U+54E8,U+54FC,U+5571,U+557E,U+558E,U+55A7,U+56A8,U+57A2-57A3,U+58B3,U+5960,U+5992-5993,U+59A4,U+5A55,U+5AB2,U+5AFB,U+5B56,U+5BC5,U+5BC7,U+5BF0,U+5CB1,U+5CC7,U+5DFF,U+5E93,U+5ED3,U+5F6A,U+60BC,U+61FF,U+6218,U+6254,U+634D,U+6467,U+64F1-64F2,U+6582,U+65FB,U+6615,U+6687,U+66E6,U+66F0,U+6781,U+67F5,U+68A7,U+6A1F,U+6B27,U+6B4E,U+6B73,U+6B79,U+6BCB,U+6C5D,U+6CF5,U+6DEE,U+6EC4,U+6ECC,U+6F88,U+6FEF,U+701D,U+703E,U+707C,U+7099,U+710A,U+725F,U+72D9,U+72E9,U+731D,U+7325,U+739F,U+7463,U+7480,U+74A8,U+7523,U+7526,U+75E0,U+7613,U+7656,U+76D4,U+773A,U+775C,U+775E,U+780C,U+78E1,U+78F7,U+7960,U+7A20,U+7AAF,U+7B08,U+7B71,U+7BE4,U+7CEC,U+7CF0,U+7D5E,U+7D62,U+7DBE,U+7E1B,U+7EA2,U+7EC4,U+7EC6,U+7EDC,U+7EED,U+7EFC,U+7F16,U+7F57,U+7FB9,U+7FCA,U+803D,U+816E,U+82A5,U+82B7,U+8317,U+8338,U+834A,U+83D3,U+8401,U+8469,U+849E,U+854A,U+8559,U+865E,U+86E4,U+8700,U+8759,U+8760,U+8778,U+8782,U+879E,U+87D1,U+880D,U+8836,U+8944,U+89C8,U+8AAC,U+8B74,U+8BA2,U+8BA4,U+8BAE,U+8BFB,U+8C4E,U+8CB3,U+8CB6,U+8D16,U+8D28,U+8E44,U+8F3B,U+8F3F,U+8F91,U+8FB9,U+8FC4,U+8FDE,U+8FF9,U+9076,U+90AE,U+90B8,U+9257,U+9310,U+93DF,U+94FE,U+95A5,U+95A9,U+962E,U+968F-9690,U+9704,U+9713,U+97F6,U+9824,U+986B,U+9884,U+9886,U+98E2,U+991A,U+99A5,U+99DD,U+9AB8,U+9B41,U+9B77,U+9BAD,U+C774,U+E5D4,U+FE52,U+FF02,U+1F389,U+1F449,U+1F495;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-102-wght-normal-DWn0bv9H.woff2)format("woff2");unicode-range:U+2CB,U+5D1,U+5D9,U+5E2,U+5E8,U+5EA,U+633,U+E32,U+2252,U+2267,U+2573,U+25B3,U+25C4,U+2713,U+2715,U+30E2,U+4E28,U+4E3C,U+4E4D,U+4E70,U+4F88,U+4FEF,U+5018,U+501A,U+5026,U+5137,U+513F,U+51F3,U+524B,U+5254,U+52D8,U+5308,U+5384,U+53CC,U+5443,U+5466,U+54A7-54A8,U+54BD,U+54C9,U+54CB,U+555E,U+556A,U+5580,U+560E,U+5614,U+561F,U+562F,U+566C,U+5679,U+56BC,U+56CD,U+56E7,U+56ED,U+572D,U+57D7,U+582F,U+589F,U+5B09,U+5BA5,U+5C51,U+5C90,U+5CEF,U+5D16,U+5D84,U+5DD4,U+5E08,U+5E26,U+5F0A,U+5F20,U+606C,U+61C7,U+620F,U+625B,U+62A4,U+62D0,U+62F1,U+63A0,U+63C6,U+63F9,U+6413,U+6417,U+6483,U+64F7,U+650F,U+65A7,U+665F,U+66AE,U+66D6,U+66E0,U+6746,U+6756,U+67D1,U+6837,U+68D7,U+68E0,U+68F5,U+6977,U+6995,U+69A8,U+69B4,U+69D3,U+6A3D,U+6ABB,U+6BB7,U+6BD3,U+6C47,U+6CC4,U+6CD3,U+6DAE,U+6E26,U+6E29,U+6E5B,U+6EAF,U+6EBA,U+7028,U+70B3,U+711A,U+733F,U+73C0,U+73EE,U+7444,U+745A,U+7487,U+7540,U+75A4,U+7729,U+779E,U+798E,U+79CD,U+79E9,U+7A3D,U+7A4C,U+7A9F,U+7AC4,U+7AFF,U+7B77,U+7C27,U+7CA7,U+7CD9,U+7D76,U+7E43,U+7EA6,U+7ED9,U+7FF1,U+808B,U+809B,U+80FA,U+827A,U+8309,U+8328,U+832B,U+8396,U+83E0,U+840E,U+8425,U+852D,U+853B,U+8588,U+85E9,U+86B5,U+8718,U+87EC,U+8910,U+893B,U+89C1-89C2,U+8B3E,U+8BAF,U+8BC1,U+8BCD,U+8BDD,U+8C41,U+8C48,U+8D2D,U+8D5E,U+8FBE,U+9015,U+90A8,U+90B5,U+90E1,U+9169,U+9183,U+91D0,U+91DC,U+9293,U+92F8,U+9472,U+9598,U+95ED,U+95FB,U+9605,U+96C7,U+9739,U+9742,U+9761,U+99AD,U+9AE6,U+9B1A,U+9B44,U+9BC9,U+9D3F,U+9DD7,U+9E7C,U+9E92,U+FE5D-FE5E,U+FF22-FF24,U+FF2F-FF30,U+FF33;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-103-wght-normal-tcQ1zu-u.woff2)format("woff2");unicode-range:U+60,U+F7,U+161,U+2198,U+2571,U+258B,U+25B6,U+2661,U+3051,U+3109,U+4E11,U+4E1C,U+4E24,U+4E2B,U+4EF7,U+4F18,U+4F36,U+4FD0,U+5029-502A,U+5055,U+508D,U+50AD,U+50D5,U+50E7,U+50F1,U+50F5,U+51A5,U+51C8,U+51FB,U+5203,U+524E,U+5288,U+5323,U+53C2,U+5458,U+54B1,U+54B3,U+54B8,U+5582,U+55B2,U+55BA,U+55DA,U+55DC,U+5662,U+5678,U+56C2,U+5742,U+57D5,U+5862,U+58E4,U+58F0,U+5907,U+590D,U+5934,U+5978,U+5984,U+5A25,U+5C06,U+5C62,U+5C91,U+5CFB,U+5D01,U+5D11,U+5D1B,U+5E87,U+5EFF,U+5F27,U+5F3A,U+5F53,U+5F64,U+6001,U+6168,U+61A9,U+6233,U+62A5,U+62CE,U+62ED,U+638F,U+6399,U+63C0,U+646F,U+6590,U+6631,U+664F,U+6689,U+66DC,U+672F,U+67AF,U+67EC,U+6807,U+6A44,U+6C14,U+6C40,U+6C70,U+6C76,U+6CB8,U+6CE3,U+6DF3,U+6E20,U+6E43,U+6EBC,U+6EEC,U+6F2C,U+6FB1,U+7009,U+7011,U+701A,U+7117,U+7184,U+72F9,U+7426,U+74BD,U+74CF,U+752B,U+7554,U+75B9,U+7621,U+7671-7672,U+7693,U+76EF,U+7737,U+77A7,U+77B3,U+77BB,U+77DA,U+77E2,U+77E9,U+77EF,U+7801,U+7940,U+797F,U+79A7,U+79B1,U+79BD,U+7A6B,U+7AC5,U+7B1B,U+7DAB,U+7DB4,U+7DB8,U+7DCB,U+7DDD,U+7DE0,U+7E55,U+7E9C,U+7ED3,U+7EF4,U+803F,U+8046,U+8087,U+8116,U+81A8,U+8214,U+821C,U+82D4,U+8305,U+831C,U+8335,U+8339,U+8350,U+8354,U+8526,U+860A,U+86DB,U+8713,U+873B,U+8822,U+8993,U+8A1F,U+8AB9,U+8AD7,U+8E72,U+8F4E,U+8F9C,U+8FD0,U+8FD8,U+8FE6,U+9042,U+907C,U+91BA,U+9452,U+9591,U+95E2,U+9631,U+9699,U+96B8,U+9709,U+978D,U+9811,U+9830,U+98CE,U+9945,U+99ED,U+9A8C,U+9AD3,U+9BAA,U+9BE8,U+9C77,U+9CF6,U+9D72,U+9E1F,U+9EC4,U+FE31,U+FE55,U+FF03,U+FF20,U+FF3B,U+FF3D,U+1F3FB,U+1F44D,U+1F60D;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-104-wght-normal-4GaPENTg.woff2)format("woff2");unicode-range:U+10C,U+E44,U+2728,U+3081,U+4E13,U+4E19,U+4E1E,U+4E5C,U+4EA7,U+4ED7,U+4F20,U+4F8D,U+4FFE,U+5021,U+515C,U+51A4,U+51E0,U+521B,U+522B,U+532A,U+534E,U+5355,U+537F,U+5398,U+539D,U+541F,U+543C,U+544E,U+5509,U+5598,U+5622,U+5632,U+563F,U+5641,U+566A,U+5695,U+569F,U+56AE,U+56DA,U+573A,U+574E,U+5835,U+584C,U+5885,U+58AE,U+5A1F,U+5AC2,U+5B24,U+5BB0,U+5BDE,U+5BE1,U+5BFC,U+5C39,U+5C4C,U+5C60,U+5E76,U+5E7F,U+5E9A,U+5EB8,U+5F13,U+5F6C,U+6127,U+61F2,U+6208,U+620A,U+620C,U+6252,U+62EF,U+6328,U+633D,U+6362,U+63B0,U+63C9,U+640F,U+64A9,U+6514,U+652C,U+655E,U+6583,U+658C,U+6627,U+66F3,U+6734,U+6743,U+676D,U+67C4,U+67DA,U+68CD,U+68F2,U+690E,U+6AB3,U+6B16,U+6B38,U+6B3D,U+6BC6,U+6CA1,U+6CAB,U+6D8C,U+6DEA,U+6E32,U+6E3E,U+6E58,U+6EEF,U+6EF2,U+6FE4,U+708A,U+7130,U+7165,U+7172,U+71C9,U+71ED,U+7232,U+7239,U+7261,U+7280,U+72A7,U+72F8,U+73C8,U+7464,U+753B,U+754F,U+755C,U+75D8,U+76EA,U+776B,U+7779,U+777F,U+7784,U+778E,U+77DB,U+77EE,U+79E4,U+7A46,U+7A57,U+7ABA,U+7AED,U+7B4D,U+7C7B,U+7C7D,U+7D13,U+7D33,U+7DBB,U+7DF9,U+7E46,U+7EA7,U+8085,U+8165,U+81FB,U+82B8,U+82D3,U+8343,U+839E,U+83E9,U+840D,U+851A,U+853D,U+8543,U+859B,U+85FB,U+87FB,U+888D,U+88C5,U+8ADC,U+8B0A,U+8BB0,U+8BBE,U+8BC4,U+8BF4,U+8C5A,U+8CC3,U+8CE4,U+8D44,U+8E81,U+8F44,U+8F66,U+8FDB,U+900D,U+9063,U+914C,U+9223,U+9226,U+923A,U+925B,U+9264,U+929C,U+92B9,U+9320,U+934D,U+935B,U+9444,U+957F,U+96A7,U+97AD,U+97CC,U+9898,U+98EA,U+9921,U+9952,U+9A55,U+9B0D,U+9B91,U+9BCA,U+9EBD,U+9F4B,U+E60F-E610,U+FF1C-FF1D,U+FF21,U+FF38,U+FF9F,U+FFFD,U+1F602;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-105-wght-normal-C1mWK2qa.woff2)format("woff2");unicode-range:U+E17,U+E22,U+2103,U+25A0,U+266A,U+3014-3015,U+4E1A,U+4E50,U+4F10,U+4F6C,U+4F70,U+4FCF,U+5006,U+50D1,U+5170,U+518C,U+51F0,U+51F6,U+51F9,U+5219,U+5256,U+525D,U+52C9,U+5349,U+5351,U+5356,U+5375,U+53DB,U+53EE,U+53F7,U+5492,U+54FA,U+5538,U+55BB,U+55E8,U+5757,U+58BE,U+5937,U+59DC,U+59E8,U+5A49,U+5A9A-5A9B,U+5AB3,U+5B9B,U+5B9E,U+5BE8,U+5C37,U+5C4E,U+5D14,U+5D19,U+5D4C,U+5D50,U+5DEB,U+5E84,U+5E94,U+5EC2,U+5F17,U+5F26,U+5F55,U+5F77,U+5F7F,U+5FBD,U+6052,U+6064-6065,U+608D,U+609A,U+6101,U+611A,U+614C,U+621A,U+6237,U+6284,U+6296,U+62E9,U+632A-632B,U+634F,U+6488,U+6500,U+652A,U+6556,U+65E0,U+65EC,U+6643,U+679A,U+6850,U+6893,U+6897,U+68B3,U+68D5,U+6930,U+6960,U+6A11,U+6A38,U+6A3A,U+6B22,U+6B67,U+6B6A,U+6C59,U+6C83,U+6CCC,U+6DF5,U+6EF7,U+6F3E,U+6F80,U+70ED,U+7164,U+722A,U+7260,U+7272,U+73B0,U+74CA,U+74E3,U+7538,U+7586,U+75B5,U+7624,U+7661-7662,U+7838,U+786E,U+788C,U+7950,U+79A6,U+79AA,U+7A40,U+7A62,U+7BF7,U+7C3E,U+7C98,U+7CA5,U+7D21,U+7D2E,U+7DBA,U+7DEC,U+7E79,U+7ECF,U+7EDF,U+7F79,U+8086,U+810A,U+8139,U+813E,U+817A,U+81B3,U+821F,U+8247,U+8259,U+8271,U+8431,U+846C,U+849C,U+84B2,U+84C4,U+8513-8514,U+8549,U+8755,U+8877,U+8881,U+88F9,U+8A1D,U+8A3C,U+8A6D-8A6E,U+8A93,U+8AE7,U+8AF7,U+8B17,U+8B5A,U+8BA1,U+8BBA,U+8CDC,U+8DEA,U+8F6C,U+8F7D,U+8FC7,U+8FD9,U+902E,U+90CA,U+916A,U+916C,U+921E,U+9245,U+947C,U+9594,U+95A8,U+95EE,U+95F4,U+9706,U+971E,U+9756,U+980C,U+9891,U+98B1,U+98FC,U+9903,U+9957,U+99AE,U+99FF,U+9DB4,U+E602-E605,U+E611,U+FF16-FF19;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-106-wght-normal-Chq-ESxo.woff2)format("woff2");unicode-range:U+A5,U+2190-2191,U+2193,U+22C1,U+2302,U+25CB,U+2699,U+2709,U+4E0E,U+4E18,U+4E3A,U+4E48,U+4E91,U+4EEC,U+4F3D,U+5112,U+524A,U+52A3,U+52AB,U+52C3,U+52F3,U+52FB,U+5320,U+5339,U+533F,U+53E2,U+543E,U+5480,U+5495,U+5497,U+5564,U+5572,U+55C6,U+55EF,U+563B,U+5653,U+5657,U+56B7,U+5764,U+5824,U+58D8,U+5955,U+5983,U+598D,U+59A8,U+59DA,U+59E6,U+5A36,U+5BB5,U+5BC2,U+5BEE,U+5BF9,U+5CB3,U+5D17,U+5DBC,U+5E2E,U+6070,U+60DF,U+6190,U+61A4,U+61BE,U+61FC,U+62AC,U+62BC,U+636E,U+6398,U+63A9,U+6435,U+6487,U+6495,U+64AB,U+64BF,U+6577,U+65AC,U+6602,U+6652,U+66F9,U+672D,U+6761,U+683D,U+68AD,U+68B5,U+68DA,U+68E7,U+6A59,U+6A61,U+6AE5,U+6B47,U+6BEF,U+6C50,U+6C9B,U+6E23,U+6E34,U+6E4A,U+6E67,U+6EA2,U+6EB6,U+6F20,U+6FEB,U+7149,U+714C,U+715E,U+7199,U+71AC,U+7231,U+7262,U+7409,U+745F,U+7469,U+7504,U+7535,U+753A,U+75F4,U+7682,U+76BA,U+76F2,U+77FD,U+780D,U+7832,U+78C5,U+78EF,U+7901,U+79BE,U+79C9,U+79E6,U+7A1A,U+7A84,U+7ACA,U+7CB5,U+7CB9,U+7CDF,U+7CE7,U+7D6E,U+7DB1,U+7DEF,U+7E61,U+7E7D,U+7E8F,U+7F38,U+7F77,U+7FA8,U+7FC5,U+7FE1,U+7FF9,U+800D,U+8015,U+8054,U+80A2,U+80AA,U+80BA,U+814E,U+8180,U+819D,U+81C0,U+828B,U+82AD,U+82AF,U+83F1,U+83F8,U+8403,U+8475,U+84BC,U+84C9,U+84EC,U+8523,U+8569,U+8591,U+85B0,U+86D9,U+8774,U+881F,U+884D,U+88D4,U+89C4,U+89C6,U+8A60,U+8A79,U+8B19,U+8BD5,U+8BF7,U+8C03,U+8C79,U+8CC8,U+8D9F,U+8E10,U+8E48,U+8FAF,U+9009,U+9017,U+9175,U+9187,U+918B,U+91D8,U+9214,U+946B,U+9470,U+9640,U+9675,U+96EF,U+9716,U+97CB,U+97E9,U+985B,U+99B3,U+9B4F,U+9D09,U+9E9F,U+9EDB,U+9F90,U+FF05,U+FF14,U+1F464;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-107-wght-normal-BC2EpFaE.woff2)format("woff2");unicode-range:U+25CE,U+4E08,U+4E2A,U+4E56,U+4E9A,U+4EA8,U+4EAD,U+4EC7,U+4F3A,U+4F51,U+4F62,U+4FAF,U+507D,U+5098,U+50AC,U+5147,U+5173,U+5187,U+51F8,U+52A1,U+52A8,U+52F8,U+535C,U+53ED,U+541E,U+5435,U+5475,U+54A9,U+54C0,U+54C7,U+5589,U+5605,U+5690,U+5733,U+5782,U+57C3,U+5858,U+5893,U+589C,U+58E2,U+5974,U+599E,U+59A5,U+59EC,U+5B66,U+5B99,U+5B9D,U+5C2C,U+5C48,U+5C65,U+5CFD,U+5D0E,U+5DBA,U+5DE2,U+5E06,U+5E15,U+5EC1,U+5ED6,U+5F00,U+5F4C,U+5F65,U+6055,U+609F,U+60B6,U+6241,U+624E,U+626F,U+6291,U+62CC,U+62D3,U+62D8,U+62DA,U+62FE,U+6349,U+6367,U+63EA,U+6454,U+64A4,U+64B2,U+64BC,U+64C5,U+64CE,U+6558,U+6572,U+65A5,U+65E8,U+65ED,U+6606,U+6614,U+6670,U+6688,U+673A,U+674F,U+6770,U+6795,U+68CB,U+6912,U+6953,U+6AAC,U+6AAF,U+6AB8,U+6B20,U+6B96,U+6BBF,U+6BC5,U+6C6A,U+6CBE,U+6D59,U+6D78,U+6DC7,U+6DEB,U+6E7E,U+6E9C,U+6F3F,U+6F51,U+6F70,U+6F84,U+704C,U+7051,U+70AB,U+70AD,U+70F9,U+7119,U+714E,U+71D9,U+71E5-71E6,U+72C4,U+72D0,U+72E0,U+7334,U+744B,U+7455,U+74F7,U+7529,U+75AB,U+75B2,U+766E,U+76C3,U+76FC,U+76FE,U+7891,U+7948,U+7A74,U+7B28,U+7C60,U+7C72,U+7CCA,U+7EBF,U+7F55,U+7FF0,U+8154,U+81C2,U+81D8,U+81E3,U+81E5,U+8292,U+8299,U+8302,U+8304,U+8332,U+83C1,U+83C7,U+83CA,U+845B,U+8490,U+85AF,U+8650,U+8667,U+8ABC,U+8B0E,U+8B39,U+8BED,U+8C54,U+8C6B,U+8C9E,U+8CA7,U+8CAA-8CAB,U+8CE6,U+8CEC-8CED,U+8EB2,U+8EBA,U+8FB0,U+901D,U+908F,U+9127,U+91C0,U+9215,U+92B3,U+932B,U+93FD,U+95CA,U+964C,U+96C0,U+970D,U+9774,U+97FB,U+9812,U+9817,U+9913,U+9935,U+99C1,U+9B31,U+9D5D,U+9D6C,U+9E79,U+FE0F,U+FE30,U+FF0B,U+FF10,U+FF15;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-108-wght-normal-BExvVcn7.woff2)format("woff2");unicode-range:U+B0,U+926,U+928,U+939,U+93F-940,U+94D,U+200B,U+22EF,U+25BA,U+25C6,U+2665,U+4E4F,U+4E59,U+4F0D,U+4F0F,U+4F19,U+4F59,U+4FAE,U+5075,U+50B2,U+50B5,U+511F,U+5141,U+5146,U+514C,U+5185,U+51DD,U+51FD,U+522E,U+5319,U+533A,U+5378,U+53AD,U+53C9,U+53D1,U+53D4,U+543B,U+5442,U+5446,U+5481,U+54E9,U+5507,U+5565,U+559A,U+55AA,U+5606,U+56CA,U+56FE,U+582A,U+58FA,U+5915,U+5949,U+5962,U+5996,U+59FB,U+5A77,U+5B0C,U+5B5F,U+5BD3,U+5BE2,U+5BFA,U+5C41,U+5CA9,U+5D07,U+5EC8,U+5ECA,U+5F18,U+5F4E,U+5F59,U+5F6D,U+5F79,U+5FB9,U+6028,U+6062,U+6068,U+606D,U+6094,U+60F1,U+6108-6109,U+614E,U+6170,U+617E,U+61B2,U+61F8,U+6247,U+626D,U+6276,U+62AB,U+62CB,U+62F3,U+6368,U+6380,U+6492,U+64B0,U+64E0,U+6570,U+660F,U+6649,U+6691,U+66A8,U+6749,U+67F1,U+67F3-67F4,U+6842,U+6851,U+687F,U+68DF,U+69FD,U+6A58,U+6C27,U+6C88,U+6CCA,U+6CDB,U+6D29,U+6D66,U+6DAF,U+6F01,U+6F06,U+6F58,U+6F62,U+6F6D,U+6FA1,U+6FF1,U+6FFE,U+7058,U+70AE,U+7235,U+7267,U+73CA,U+742A,U+758F,U+75BC,U+76C6,U+7740,U+7955,U+7A00,U+7A3B,U+7B4B,U+7BAD,U+7BE9,U+7C4C,U+7CFE,U+7DBF,U+7E2B,U+7E31,U+7F9E,U+7FC1,U+7FFC,U+8096,U+809D,U+80DE,U+8108,U+8155,U+816B,U+81DF,U+8277,U+82BD,U+8352,U+8393,U+8404,U+8525,U+856D,U+8587,U+8606,U+868A,U+8776,U+87BA,U+87F9,U+886B,U+8870,U+88D5,U+896A,U+896F,U+8A23,U+8A87,U+8AD2,U+8B00,U+8B20,U+8CB8,U+8CCA,U+8CE0,U+8D39,U+8D6B,U+8D81,U+8DB4,U+8E29,U+8EF8,U+8F1B,U+8F5F,U+8FA8,U+906E,U+9077,U+90AA,U+90B1,U+90C1,U+9165,U+919C,U+92C1,U+95D6,U+95E8,U+975A,U+98C6,U+9ECF,U+9F0E,U+9F52,U+FEFF,U+FF06,U+FF0A,U+FF12-FF13;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-109-wght-normal-CkWCzlGP.woff2)format("woff2");unicode-range:U+627-629,U+631,U+639,U+644,U+64A,U+25CF,U+2606,U+2764,U+3008-3009,U+4E1F,U+4E38,U+4E43,U+4ED5,U+4EF0,U+4EFF,U+4FB6,U+4FE0,U+5085,U+50A2,U+50BE,U+5118,U+5211-5212,U+5272,U+52FE,U+5366,U+53B2,U+53EC,U+54AC,U+5587,U+55B5,U+561B,U+5751,U+576A,U+57CB,U+58EF,U+592F,U+594F,U+5951,U+5954,U+596E,U+59D1,U+5AC1,U+5ACC,U+5B8B,U+5C4D,U+5C6F,U+5CA1,U+5D29,U+5DE1,U+5DFE,U+5E7D,U+5EDF,U+5EF7,U+5F7C,U+5F81,U+5FA1,U+5FAA,U+5FCC,U+5FFD,U+6021,U+6046,U+6155,U+6212,U+62B9,U+6316,U+6350,U+6478,U+647A,U+6490,U+64E6,U+6524,U+6591,U+659C,U+65A4,U+65E6,U+65F6,U+6607,U+6674,U+6765,U+679D,U+68A8,U+6B3A,U+6C57,U+6C61,U+6C90,U+6CBF,U+6D69,U+6DB5,U+6DCB,U+6DD1,U+6E21,U+70D8,U+71C3,U+71D5,U+722C,U+727D,U+72AC,U+72FC,U+731C,U+7336,U+7344,U+7384,U+73AB,U+7433-7434,U+745C,U+7470,U+758A,U+75D5,U+7652,U+76C8,U+76E7,U+7709,U+7720,U+7747,U+7763,U+77AC-77AD,U+7802,U+78A7,U+78A9,U+78B3,U+78C1,U+78DA,U+7926,U+796D,U+798D,U+7AAE,U+7B52,U+7C92,U+7D68,U+7D81,U+7E5E,U+7E69,U+7E73,U+7F50,U+7F70,U+7F75,U+8058,U+8070,U+80C3,U+8105-8106,U+8179,U+818F,U+81A9,U+81ED,U+820C-820D,U+82D1,U+838E,U+83CC,U+8461,U+84B8,U+852C,U+857E,U+85E4,U+863F,U+8679,U+86C7,U+8702,U+8896,U+88C2,U+88F8,U+8AF8,U+8B7D,U+8CA2,U+8CC0,U+8D64,U+8D74,U+8D99,U+8E5F,U+8E8D,U+8ECC,U+8ED2,U+8FB1,U+8FC5,U+9022,U+9038,U+903E,U+905C,U+9072,U+9081,U+9189,U+9234,U+92D2,U+934A,U+95A3,U+962A,U+9646,U+9676,U+96D5,U+971C,U+9838,U+9875,U+98C4,U+99DB,U+9A45,U+9A5F,U+9A6C,U+9AD2,U+9CF4,U+9D28,U+9DAF,U+9DF9,U+9E7D,U+9F9C,U+FF11,U+FF1E;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-110-wght-normal-CuMLARLR.woff2)format("woff2");unicode-range:U+2500,U+25BC,U+4E95,U+4F50,U+4F54,U+4F69,U+4FC4,U+4FCA,U+5009,U+50BB,U+5154,U+51CC,U+528D,U+5291,U+52D2,U+52E4,U+5353,U+5360,U+540A-540B,U+5410,U+54F2,U+5510,U+5514,U+5537,U+558A,U+55AC,U+5617,U+56FD,U+573E,U+5766,U+5783,U+57D4,U+5806,U+5821,U+5857,U+5875,U+58F9,U+596A,U+59AE,U+59C6,U+59CA,U+59FF,U+5A03,U+5AE9,U+5B64,U+5BB4,U+5C3F,U+5E16,U+5E45,U+5E72,U+5EC9,U+5F90-5F92,U+6012,U+6016,U+6084-6085,U+6089,U+60A0,U+60A3,U+60B2,U+60D1,U+60F9,U+6148,U+6158,U+6191,U+626E,U+62D4,U+632F,U+633A,U+6355,U+63AA,U+642C,U+64A5,U+64CB,U+6566,U+6575,U+6597,U+660C,U+66B1,U+66EC,U+6731,U+6735,U+675C,U+67EF,U+6846,U+6876,U+6881,U+68AF-68B0,U+68C9,U+6905,U+6B98,U+6BC0,U+6BEB,U+6C0F,U+6C1B,U+6C41,U+6CE5,U+6CF3,U+6D25,U+6D2A,U+6D3D,U+6D6E,U+6DD8,U+6DDA,U+6DFA,U+6E9D,U+6EAA,U+6EC5,U+6ECB,U+6EF4,U+6F0F,U+6F32,U+707D,U+708E,U+7092,U+716E,U+723A,U+731B,U+7345,U+7375,U+7378,U+73B2,U+74E6,U+75BE,U+75DE,U+764C,U+76DC,U+788E,U+7897,U+789F,U+78B0,U+790E,U+7965,U+7A4E,U+7AA9,U+7C43,U+7D17,U+7DD2,U+7E96,U+7F51,U+7F69,U+7F72,U+7FD4,U+7FE0,U+8017,U+80A9,U+80D6,U+8102,U+8150,U+8178,U+81BD,U+829D,U+82AC,U+8303,U+840C,U+8482,U+8499,U+85A9-85AA,U+883B,U+8861,U+88C1,U+88CF,U+88D9,U+8A3A,U+8A98,U+8AEE,U+8C8C,U+8CE2,U+8D0F,U+8DA8,U+8DCC,U+8E0F,U+8E22,U+8F1D,U+8F29,U+8FAD,U+9003,U+9006,U+903C,U+904D,U+9059,U+9075,U+90CE,U+90ED,U+9130,U+91AC,U+91E3,U+9285,U+9298,U+92EA,U+9326,U+937E,U+93C8,U+95C6,U+9677,U+9727,U+994B,U+99A8,U+99D0,U+9A30,U+9A37,U+9B42,U+9B45,U+9D3B,U+9E7F,U+9EE8,U+9F3B,U+C5B4;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-111-wght-normal-SqRJKajE.woff2)format("woff2");unicode-range:U+5E,U+2502,U+2605,U+4E32,U+4E58,U+4EA1,U+4EF2,U+4F2F-4F30,U+4F75,U+4FD7,U+4FF1,U+501F,U+5049,U+5074,U+5091,U+5144,U+517C,U+51C6,U+51CD,U+5269-526A,U+52AA,U+52C1,U+52C7,U+52DF,U+5377,U+541B,U+5439,U+5440,U+5448,U+54AA,U+54E6,U+54ED,U+5674,U+5687,U+585E,U+588A,U+58A8,U+58C1,U+5925,U+5948,U+5999,U+59B3,U+5A1C,U+5A46,U+5B54,U+5B5D,U+5B6B,U+5B8F,U+5BD2,U+5BE9,U+5C0A,U+5C16,U+5C46,U+5CF0,U+5E25,U+5E3D,U+5E79,U+5EE2,U+5F04,U+5F31,U+5FCD,U+5FE0,U+60DC,U+6163,U+616E,U+6182,U+61F6,U+622A,U+6258,U+6293,U+62C6,U+62D2,U+6372,U+63DA,U+63ED-63EE,U+6416,U+6458,U+649E,U+64EC,U+64F4,U+651C,U+65CB,U+65E2,U+65FA,U+6628,U+6668,U+66A2,U+66C9,U+66FC,U+6717,U+67CF,U+67D4,U+6817,U+6885,U+69CD,U+6A6B,U+6AFB,U+6B32,U+6B49,U+6BBC,U+6C89,U+6C96,U+6CC9,U+6D1B,U+6D1E,U+6DFB,U+6EFE,U+6F38,U+6F5B,U+6F64,U+6F8E,U+6FA4,U+7070,U+70B8,U+70CF,U+70E4,U+7159,U+7169,U+7210,U+721B,U+7238,U+737B,U+73BB,U+746A,U+7483,U+74DC,U+74F6,U+7518,U+756A,U+75C7,U+775B,U+78E8,U+7919,U+7956,U+795D,U+7A0D,U+7BC9,U+7C97,U+7CD5,U+7D10,U+7D1B,U+7DE9,U+7DFB,U+7E3E,U+7E6A,U+7F6A,U+7F8A,U+7FBD,U+8000,U+8036,U+809A,U+80CE,U+80E1,U+80F8,U+8170,U+819C,U+8216,U+8239,U+8266,U+827E,U+82B3,U+8377,U+83AB,U+85C9,U+865B,U+8766,U+87A2,U+87F2,U+8972,U+8A17,U+8A50,U+8A95,U+8B02,U+8B6F,U+8C6C,U+8CA9,U+8CFA,U+8D95,U+8DE1,U+8F14,U+8F9B,U+8FA3,U+8FEB,U+8FF4,U+9010,U+901B,U+905E,U+9080,U+912D,U+9177,U+91C7,U+9336,U+9451,U+947D,U+963B,U+966A,U+9670,U+9769,U+9813,U+98FD,U+99D5,U+9A19,U+9B27,U+9B6F,U+9ECE,U+9ED8,U+9F13,U+9F20,U+AD6D,U+D55C;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-112-wght-normal-BWioGL2B.woff2)format("woff2");unicode-range:U+201C-201D,U+203B,U+2192,U+25B2,U+300F,U+4E01,U+4E39,U+4E73,U+4E88,U+4E8E,U+4ED9,U+4F0A,U+4F38,U+4F5B,U+4FC3,U+500D,U+504F,U+5076-5077,U+5100,U+5104,U+5132,U+5175,U+5192,U+51A0,U+51AC,U+51E1,U+51F1,U+5200,U+5224,U+5237-5238,U+523A,U+526F,U+5289,U+52DE,U+52F5,U+5371,U+539A,U+53E5,U+540E,U+547C,U+552F,U+5531,U+5634,U+56C9,U+56F0,U+574A,U+5761,U+57F7,U+57F9,U+5805,U+5851,U+5854,U+586B,U+58FD,U+592E,U+5967,U+59BB,U+59D3,U+5A18,U+5B30,U+5B55,U+5B87,U+5B97,U+5BE7,U+5BEC,U+5BF8,U+5C24,U+5CB8,U+5DF7,U+5E1D,U+5E2D,U+5E7B,U+5F1F,U+5F70,U+5FD9,U+61B6,U+6234,U+62B5,U+62D6,U+62DC,U+62FC,U+6383,U+63CF,U+63D2,U+63E1,U+640D,U+64CD,U+64FA,U+64FE,U+654F,U+6562,U+656C,U+65C1,U+65D7,U+6620,U+6676,U+6697,U+66AB,U+66C6,U+66DD,U+66FF,U+671D,U+672B,U+677E,U+67D0,U+67D3,U+68C4,U+690D,U+694A,U+695A,U+6AC3,U+6B04,U+6B23,U+6B78,U+6B8A,U+6C60,U+6D74,U+6D89,U+6DB2,U+6DBC,U+6DE1,U+6DF7,U+6E38,U+6E6F,U+6F02,U+6FC3,U+6FD5,U+70C8,U+7126,U+718A,U+723D,U+7246,U+72AF,U+73CD,U+760B,U+7626,U+7687,U+79DF,U+7A05,U+7A3F,U+7A69,U+7AF6,U+7C3D,U+7C3F,U+7C4D,U+7CD6,U+7D0B,U+7D2B,U+7DE3,U+7E2E,U+8010,U+808C,U+80A5,U+80AF,U+812B,U+817F,U+819A,U+82D7,U+8389-838A,U+83F2,U+840A,U+8463,U+8521,U+8584,U+860B,U+864E,U+871C,U+878D,U+885D,U+8932,U+89F8,U+8A69,U+8AFE,U+8B5C,U+8C37,U+8C46,U+8CBF,U+8CD3,U+8CF4,U+8D08,U+8D0A,U+8DDD,U+8FEA,U+9014,U+9055,U+907A,U+9178,U+92FC,U+934B,U+9396,U+93AE,U+9583,U+9663,U+96BB,U+9707,U+9738,U+9846,U+9905,U+9A0E,U+9AA8,U+9B25,U+9B3C,U+9CE5,U+9CF3,U+9EA5,U+9EB5,U+9F4A,U+9F61,U+FF0D;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-113-wght-normal-CRQfLReA.woff2)format("woff2");unicode-range:U+3C,U+D7,U+300E,U+4E4E,U+4E82,U+4E92,U+4EC1,U+4ECD,U+4F48,U+4F53,U+4FB5,U+5012,U+502B,U+522A,U+52DD,U+52FF,U+532F,U+53EB,U+53F3,U+5409,U+5433,U+5496,U+54C8,U+554A,U+5561,U+5594,U+559D,U+56B4,U+56FA,U+5713,U+5750,U+57DF,U+584A,U+58C7,U+58DE,U+593E,U+5976,U+59D0,U+59D4,U+5A66,U+5B85,U+5B88,U+5BA3,U+5BAE,U+5BBF,U+5BDF,U+5C01,U+5C04,U+5C3A,U+5C3E,U+5C4F,U+5DDD-5DDE,U+5DE8,U+5E63,U+5E7C,U+5E8A,U+5EDA,U+5EF3,U+5EF6,U+5F48,U+6015,U+6025,U+602A,U+6050,U+6069,U+60E1,U+6162,U+6176,U+61C2,U+6200,U+6263,U+6279,U+6297,U+62B1,U+62BD,U+62EC,U+6311,U+6377,U+6388-6389,U+638C,U+63A2,U+63F4,U+641E,U+6436,U+64C1,U+6551,U+6557,U+6563,U+6696,U+66B4,U+66F2,U+6751,U+675F,U+676F,U+6790,U+6838,U+684C,U+68D2,U+6982,U+699C,U+69AE,U+69CB,U+6A39,U+6A4B,U+6B66,U+6BD2,U+6CB3,U+6CE1,U+6D3E,U+6DE8,U+6ED1,U+6F22,U+6F54,U+6FC0,U+6FDF,U+719F,U+71C8,U+7236,U+7259,U+72D7,U+7389,U+73E0,U+745E,U+751A,U+7532-7533,U+7562,U+7591,U+75C5,U+75DB,U+7686,U+76D2,U+76DB,U+76DF,U+76E3,U+7701,U+7761,U+786C,U+7981,U+79CB,U+79D2,U+79FB,U+7A81,U+7A97,U+7AEF,U+7B26,U+7B80,U+7C64,U+7D0D,U+7D14,U+7D2F,U+7DCA,U+7DF4,U+7E54,U+7E6B,U+7F3A,U+8033,U+804A,U+805A,U+81A0,U+81E8,U+8212,U+821E,U+82E6,U+8336,U+8449,U+84CB,U+84EE,U+85E5,U+8607,U+888B,U+8A13,U+8A5E,U+8AA0,U+8AA4,U+8AB0,U+8AB2,U+8AC7,U+8B66,U+8C6A,U+8C93,U+8C9D,U+8DE8,U+8F2A,U+8FB2,U+906D,U+907F,U+90A6,U+9109,U+9192,U+91CB,U+91DD,U+964D,U+9686,U+968E,U+9694,U+969C,U+96DE,U+96E8,U+96EA,U+96F7,U+975C,U+9760,U+978B,U+9858,U+9918,U+9AEE,U+9EBB,U+FF0E-FF0F,U+FF5C;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-114-wght-normal-D5H20qUS.woff2)format("woff2");unicode-range:U+B7,U+2022,U+2027,U+3042,U+3044,U+3046,U+3048,U+304A-3050,U+3053-3057,U+3059-305B,U+305D-3061,U+3063-306C,U+306E-3079,U+307B,U+307D-307F,U+3082-308D,U+308F,U+3092-3093,U+30A1-30A4,U+30A6-30C1,U+30C3-30C4,U+30C6-30E1,U+30E3-30ED,U+30EF,U+30F3,U+30FB-30FC,U+4E7E,U+4EA6,U+4EAC,U+4F34,U+50B7,U+51B0,U+523B,U+5283,U+5348,U+5354,U+54E5,U+5708,U+590F,U+592B,U+599D,U+59B9,U+5A01,U+5A5A,U+5DE7,U+5E78,U+5E9C,U+5FB5,U+6167,U+61F7,U+627F,U+63A1,U+64D4,U+65BD,U+68EE,U+6B4C,U+6BBA,U+6C5F,U+6D0B,U+6D6A,U+6E1B,U+6E56,U+6F6E,U+71D2,U+722D,U+72C2,U+751C,U+7530,U+7642,U+76E1,U+79C0,U+7ADF,U+7AF9,U+7D9C,U+7DA0,U+7E23,U+7E41,U+8056,U+8173,U+822A,U+8349,U+83DC,U+8840,U+885B,U+8907,U+8A34,U+8CB4,U+8DD1,U+8FD4,U+8FF0,U+93E1,U+984F,U+98EF,U+9B54;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-115-wght-normal-BzydpMOE.woff2)format("woff2");unicode-range:U+23-25,U+3D,U+2026,U+4E03,U+4E45,U+4E5D,U+4EAE,U+4ED4,U+4ED8,U+4F01,U+4F11,U+4F3C,U+4F8B,U+4FC2,U+5019,U+505C,U+50C5,U+5145,U+51B7,U+5207,U+521D,U+525B,U+5287,U+52E2,U+535A,U+537B,U+5426,U+542B,U+5438,U+5462,U+54EA,U+555F,U+5566,U+5584,U+5609,U+570D,U+571F,U+5747,U+5802,U+58D3,U+591C,U+5920,U+5922,U+5957,U+5979,U+5A92,U+5ABD,U+5B63,U+5B69,U+5B83,U+5B9C,U+5BB3,U+5BC4,U+5BF5,U+5C3C,U+5C40,U+5C4B,U+5C64,U+5CF6,U+5DE6,U+5E0C,U+5E55,U+5EAB,U+5EAD,U+5EE0,U+5F85,U+5F8B,U+5FA9,U+5FD7-5FD8,U+5FF5,U+600E,U+6298,U+62DB,U+62FF,U+639B,U+63A7,U+642D,U+6469,U+64AD,U+651D,U+653B,U+65B7,U+65CF,U+665A,U+666E,U+66FE,U+6728,U+674E,U+67B6,U+6821,U+6839,U+6843,U+6A94,U+6B50,U+6B62,U+6B72,U+6B7B,U+6BCD,U+6BDB,U+6C38,U+6C7A,U+6C7D,U+6C99,U+6CB9,U+6CE2,U+6CF0,U+6D17,U+6D32,U+6E2C,U+6FB3,U+7206,U+723E,U+725B,U+734E,U+7387,U+73ED,U+7565,U+7570,U+76CA,U+76E4,U+773E,U+77ED,U+77F3,U+7814,U+7834,U+7968,U+79D8,U+7A76,U+7A7F,U+7B11,U+7B46,U+7B54,U+7BC4,U+7D19,U+7D20,U+7D22,U+7D42,U+7D55,U+7E7C,U+7F85,U+7FFB,U+8077,U+8089,U+80CC,U+81C9,U+81F4,U+81FA,U+820A,U+822C,U+826F,U+85CD,U+86CB,U+88DC,U+8986,U+8A0E,U+8A2A,U+8A73,U+8A8C,U+8B1B,U+8B9A,U+8C50,U+8C61,U+8CA0,U+8CDE,U+8CFD,U+8D8A,U+8DF3,U+8E64,U+8ECD,U+8EDF,U+8F38,U+8FF7,U+9000,U+9047,U+9060,U+90F5,U+9152,U+91CE,U+9280,U+9418,U+9435,U+9589,U+9592,U+9678,U+967D,U+968A,U+96AA,U+96C5,U+96D6,U+96DC,U+96F6,U+9732,U+9748,U+9802,U+9806,U+9808,U+9818,U+983B,U+984D,U+9867,U+98DB,U+98F2,U+98FE,U+9A5A,U+9B06,U+9B5A,U+9BAE,U+9E97,U+FF1B,U+FF5E;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-116-wght-normal-Df_sWUUP.woff2)format("woff2");unicode-range:U+26,U+40,U+5F,U+4E14,U+4E9E,U+4EC0,U+4F4E-4F4F,U+4F73,U+4FEE,U+503C,U+5047,U+514B,U+516B,U+516D,U+5178,U+520A,U+5236,U+5343,U+5347,U+534A,U+5370,U+53CD,U+53E4,U+53E6,U+53F2,U+5403,U+5411,U+5427,U+5468,U+5473,U+547D,U+552E,U+55CE,U+5740,U+57CE,U+5883,U+589E,U+5931,U+5947,U+59CB,U+5A1B,U+5B58,U+5B98,U+5BA4,U+5BC6,U+5BCC,U+5BEB,U+5BF6,U+5C45,U+5C6C,U+5DEE,U+5DF4,U+5E03,U+5E33,U+5E6B,U+5E7E,U+5E8F,U+5E95,U+5EA7,U+5F15,U+5F62,U+5F69,U+5F80,U+5FAE,U+5FB7,U+601D,U+60E0,U+614B,U+6230,U+6236,U+623F,U+628A,U+6295,U+62C9,U+6309,U+63DB,U+64C7,U+64CA,U+64DA,U+652F,U+6545,U+6548,U+65AF,U+65E9,U+6625,U+666F,U+667A,U+670B,U+671B,U+6750,U+677F,U+6848,U+6975,U+6A13,U+6A21,U+6AA2,U+6B65,U+6B77,U+6BB5,U+6CC1,U+6CE8,U+6DF1,U+6E90,U+6E96,U+6EAB,U+6F14,U+6F2B,U+700F,U+706B,U+724C,U+72C0,U+7368,U+7372,U+74B0,U+756B,U+76AE,U+773C,U+78BA,U+78BC,U+798F,U+79AE,U+7A4D,U+7AE5,U+7B56,U+7B97,U+7BB1,U+7BC7,U+7C73,U+7C89,U+7D00,U+7D30,U+7D39,U+7D72,U+7DAD,U+7E8C,U+7F6E,U+7FA4,U+7FA9,U+7FD2,U+8003,U+807D,U+80A1,U+80B2,U+8166,U+8208-8209,U+82E5,U+843D,U+85CF,U+85DD,U+862D,U+8857,U+8863,U+88E1,U+89BA,U+89D2,U+8A31,U+8A62,U+8A66,U+8A72,U+8ABF,U+8B1D,U+8B58,U+8B70,U+8B80,U+8CA1,U+8CA8,U+8CAC,U+8CBC,U+8D70,U+8DA3,U+8DB3,U+8DDF,U+8F03,U+8F15,U+8F2F,U+8FA6,U+8FCE,U+8FFD,U+900F,U+9031,U+9069,U+908A,U+91AB,U+91CC,U+92B7,U+9322,U+932F,U+9375,U+9632,U+963F,U+9644,U+9662,U+9673,U+96A8,U+96C4,U+96D9,U+96E2-96E3,U+96F2,U+9752,U+97D3,U+97FF,U+9805,U+9810,U+986F,U+990A,U+9910,U+9928,U+9EC3,U+9ED1,U+9F8D;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-117-wght-normal-DxSUmn6U.woff2)format("woff2");unicode-range:U+3E,U+7E,U+3000,U+300A-300B,U+3010-3011,U+4E16,U+4E26,U+4E94,U+4E9B,U+4EA4,U+4ECA-4ECB,U+4EFB,U+4EFD,U+4F46,U+4F55,U+4F9B,U+4F9D,U+4FBF,U+505A,U+5065,U+5099,U+50CF,U+50F9,U+512A,U+5143,U+5148,U+514D,U+5152,U+5169,U+5171,U+5177,U+518A,U+5217,U+5225,U+5247,U+5275,U+529F,U+52A9,U+5305,U+5341,U+5357,U+5361,U+5373,U+53BB,U+53C3,U+53C8,U+53D6-53D7,U+53E3,U+53EA,U+53F8,U+5404,U+559C,U+5668,U+56DB,U+56E0,U+5712,U+5718,U+578B,U+57FA,U+58EB,U+592A,U+5C0B,U+5C0E,U+5C11,U+5C1A,U+5C55,U+5C71,U+5DF1,U+5E2B,U+5E36,U+5E97,U+5EB7,U+5EE3,U+5EFA,U+5F35,U+5F37,U+5F88,U+5F9E,U+5FC5,U+606F,U+60A8,U+6232,U+624D,U+6253,U+627E,U+6280,U+62CD,U+6301,U+6307,U+6392,U+63A5,U+6539,U+653E-653F,U+6559,U+6574,U+65C5,U+6613,U+66F8,U+672A,U+6797,U+67E5,U+6A19,U+6A23,U+6B61,U+6BCF,U+6BD4,U+6C11,U+6C42,U+6D41,U+6D77,U+6D88,U+6E05,U+6E2F,U+6EFF,U+7136,U+7167,U+71DF,U+738B,U+73A9,U+7403,U+7531,U+7537,U+754C,U+7559,U+767D-767E,U+76F4,U+793A,U+795E,U+79C1,U+79D1,U+7A2E,U+7A31,U+7A7A,U+7AE0,U+7BA1,U+7BC0,U+7C21,U+7CFB,U+7D04-7D05,U+7D1A,U+7D44,U+7D66,U+7D71,U+7DE8,U+7E3D,U+8001,U+800C,U+805E,U+8072,U+81F3,U+82B1,U+82F1,U+83EF,U+842C,U+8457,U+85A6,U+8655,U+8853,U+88AB,U+88DD,U+88FD,U+897F,U+898F,U+89AA,U+89BD,U+89C0,U+89E3,U+8A02,U+8A3B,U+8A55,U+8A8D,U+8A9E,U+8AD6,U+8B49,U+8B77,U+8B8A,U+8B93,U+8CB7,U+8CE3,U+8CEA,U+8CFC,U+8F09,U+8FD1,U+9001,U+901F-9020,U+9054,U+90A3,U+914D,U+91CF,U+9304,U+95B1,U+9650,U+9664,U+969B,U+96B1,U+96C6,U+9700,U+975E,U+97F3,U+98A8,U+98DF,U+9999,U+99AC,U+9A57,U+9EBC;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-118-wght-normal-CWrNe9UE.woff2)format("woff2");unicode-range:U+D,U+2B,U+7C,U+A0,U+A9,U+300C-300D,U+4E09,U+4E3B,U+4E4B,U+4E5F,U+4E86,U+4E8B-4E8C,U+4EAB,U+4ED6,U+4EE3-4EE4,U+4EF6,U+4F1A,U+4F4D,U+4F60,U+4F7F,U+4F86,U+4FDD,U+4FE1,U+5011,U+50B3,U+5149,U+5167,U+5176,U+518D,U+5229,U+524D,U+529B,U+52A0,U+52D9,U+5316-5317,U+5340,U+539F,U+53CA-53CB,U+5408,U+540C-540D,U+544A,U+548C,U+54C1,U+54E1,U+5546,U+554F,U+55AE,U+56DE,U+5716,U+5831,U+5834,U+5916,U+5929,U+5973,U+597D,U+5982,U+5B57,U+5B78,U+5B89,U+5B8C,U+5B9A,U+5BA2,U+5BB9,U+5BE6,U+5C07-5C08,U+5C0D,U+5C31,U+5DE5,U+5DF2,U+5E02,U+5E38,U+5E73-5E74,U+5EA6,U+5F0F,U+5F71,U+5F8C,U+5F97,U+5FEB,U+6027,U+60C5,U+60F3,U+610F,U+611B,U+611F,U+61C9,U+6210,U+6216,U+6240,U+624B,U+63A8,U+63D0,U+641C,U+6536,U+6578,U+6599,U+65B9,U+660E,U+661F,U+662D,U+66F4,U+670D,U+671F,U+6771,U+679C,U+682A,U+683C,U+689D,U+696D,U+6A02,U+6A5F,U+6B0A,U+6B21,U+6B3E,U+6B64,U+6C23,U+6C34,U+6C92,U+6CBB,U+6CD5,U+6D3B,U+7063,U+7121,U+71B1,U+7247-7248,U+7269,U+7279,U+73FE,U+7406,U+7522,U+7576,U+767B,U+76EE,U+76F8,U+770B,U+771F,U+77E5,U+793E,U+7A0B,U+7ACB,U+7AD9,U+7B2C,U+7B49,U+7CBE,U+7D50,U+7D61,U+7D93,U+7DDA,U+7F8E,U+8005,U+806F,U+80FD,U+81EA,U+8207,U+8272,U+865F,U+8868,U+8981,U+898B,U+8996,U+8A00,U+8A08,U+8A0A,U+8A18,U+8A2D,U+8A71,U+8AAA,U+8ACB,U+8CBB,U+8CC7,U+8D77,U+8D85,U+8DEF,U+8EAB,U+8ECA,U+8F49,U+9019-901A,U+9023,U+9032,U+904A-904B,U+904E,U+9053,U+9078,U+9084,U+90E8,U+90FD,U+91CD,U+91D1,U+9577,U+9580,U+9593,U+9762,U+982D,U+984C,U+985E,U+9996,U+9AD4,U+9AD8,U+9EDE,U+FF01,U+FF08-FF09,U+FF1F;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-119-wght-normal-uK-ZmsBB.woff2)format("woff2");unicode-range:U+20-22,U+27-2A,U+2C-3B,U+3F,U+41-5D,U+61-7B,U+7D,U+AB,U+AE,U+B2-B3,U+BB,U+BF,U+C9,U+CD,U+D6,U+E?,U+F1-F4,U+F6,U+F9-FA,U+FC-FD,U+101,U+103,U+110-111,U+113,U+12B,U+14D,U+16B,U+1A1,U+1B0,U+1CE,U+300-301,U+1EA1,U+1EA3,U+1EBF,U+1EC7,U+2013-2014,U+2039-203A,U+203C,U+2122,U+3001-3002,U+3113-3114,U+3118,U+311A-3129,U+4E00,U+4E0A-4E0B,U+4E0D,U+4E2D,U+4EBA,U+4EE5,U+4F5C,U+500B,U+5165,U+5168,U+516C,U+51FA,U+5206,U+5230,U+52D5,U+53EF-53F0,U+570B,U+5728,U+5730,U+591A,U+5927,U+5B50,U+5BB6,U+5C0F,U+5FC3,U+6211,U+6587,U+65B0,U+65BC,U+65E5,U+662F,U+6642,U+6700,U+6703,U+6708-6709,U+672C,U+6B63,U+70B9-70BA,U+751F,U+7528,U+767C,U+7684,U+7DB2,U+884C,U+958B,U+95DC,U+96FB,U+9801,U+FF0C,U+FF1A;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-cyrillic-wght-normal-DHeihy9e.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-vietnamese-wght-normal-B77OGAeV.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-latin-ext-wght-normal-BFabhjDY.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;ascent-override:100%;descent-override:20%;line-gap-override:0%}@font-face{font-family:Noto Sans TC;font-style:normal;font-weight:100 900;font-display:optional;src:url(../fonts/noto-sans-tc-latin-wght-normal-CjMECRfU.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;ascent-override:100%;descent-override:20%;line-gap-override:0%}
diff --git a/luci-app-honk/root/etc/honk/doona/assets/format-s2EANuUb.js b/luci-app-honk/root/etc/honk/doona/assets/format-s2EANuUb.js
new file mode 100644
index 000000000..e84e6d7b0
--- /dev/null
+++ b/luci-app-honk/root/etc/honk/doona/assets/format-s2EANuUb.js
@@ -0,0 +1 @@
+import{fl as t,av as n,cU as e,h8 as r,cS as u,ag as i}from"./index-BgFj_VXE.js";const a=new Map;function o(t,n,e=Date.now()){if(!t)return"—";const r=Math.floor((Date.parse(t)-e)/1e3);if(!Number.isFinite(r))return"—";let u=a.get(n);return u||a.set(n,u=new Intl.RelativeTimeFormat(n,{numeric:"auto"})),Math.abs(r)<60?u.format(r,"second"):Math.abs(r)<3600?u.format(Math.trunc(r/60),"minute"):Math.abs(r)<86400?u.format(Math.trunc(r/3600),"hour"):u.format(Math.trunc(r/86400),"day")}const s=t=>u.find(n=>n.locale===t)?.id??r,c=new Map;function l(t,r){if(null===t)return"—";const u=n(t);if(null===u)return"—";const i=u/86400n,a=u%86400n/3600n,o=u%3600n/60n,l=(t,n)=>{const e=r+"/"+n;let u=c.get(e);return u||c.set(e,u=new Intl.NumberFormat(r,{style:"unit",unit:n,unitDisplay:"short"})),u.format(t)};return i>0n?e(s(r),"ui.duration.dayHour",{days:l(i,"day"),hours:l(a,"hour")}):a>0n?e(s(r),"ui.duration.hourMinute",{hours:l(a,"hour"),minutes:l(o,"minute")}):o>0n?l(o,"minute"):l(u,"second")}const m=new Map;function f(t){let n=m.get(t);return n||m.set(t,n=new Intl.DateTimeFormat(t,{dateStyle:"short",timeStyle:"medium"})),n}function b(t,n){if(!t)return"—";const e=Date.parse(t);return Number.isFinite(e)?f(n).format(e):t}const y=["unit.byte","unit.kilobyte","unit.megabyte","unit.gigabyte","unit.terabyte","unit.petabyte","unit.exabyte"],d=["unit.bytePerSecond","unit.kilobytePerSecond","unit.megabytePerSecond","unit.gigabytePerSecond","unit.terabytePerSecond","unit.petabytePerSecond","unit.exabytePerSecond"];function h(t,n,r,u=0){return e(s(n),r,{n:i(t,n,u)})}function g(t,e,r){const u="number"==typeof t?Number.isFinite(t)&&t>=0?BigInt(Math.round(t)):null:"bigint"==typeof t?t:n(t);if(null===u||u<0n)return"—";let i=0,a=1n;for(;i=1000n*a;)i++,a*=1000n;const o=(10n*u+a/2n)/a;return i>0&&u<10n*a&&o%10n!=0n?h(Number(o)/10,e,r[i],1):h((u+a/2n)/a,e,r[i])}function p(t,n){return g(t,n,y)}function M(t,n){return g(t,n,d)}const S=new Map;function w(t){let n=S.get(t);return n||S.set(t,n=new Intl.Collator(t,{numeric:!0,sensitivity:"base"}).compare),n}const P=(n,e)=>null==n?"—":e("ui.latency",{n:t(n)});function F(t,n){return null==t?"—":n("ui.percent",{n:t},"n",{n:1})}export{M as a,p as b,P as c,w as d,l as e,F as f,h as g,f as h,b as l,o as r};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/geodata-De9_qBkH.js b/luci-app-honk/root/etc/honk/doona/assets/geodata-De9_qBkH.js
deleted file mode 100644
index e77e9717a..000000000
--- a/luci-app-honk/root/etc/honk/doona/assets/geodata-De9_qBkH.js
+++ /dev/null
@@ -1 +0,0 @@
-const p=["fastly","cdn","testingcf"];function s(t,i,o,g,n){const c=e=>`https://raw.githubusercontent.com/${i}/release/${e}`,l=(e,a)=>`https://${e}.jsdelivr.net/gh/${i}@release/${a}`,r=Object.keys(o);return{id:t,urls:Object.fromEntries(r.map(e=>[e,[c(o[e]),l("fastly",o[e])]])),mirrors:Object.fromEntries(r.map(e=>[e,p.slice(1).map(a=>l(a,o[e]))])),sizes:g,categories:n}}const d={geosite:["abema","apple","applemusic","bahamut","bilibili","biliintl","cloudflare","cn","ehentai","github","google","microsoft","netflix","onedrive","openai","pixiv","private","proxy","proxymedia","spotify","telegram","tiktok","twitter","youtube"],geoip:["apple","bilibili","cloudflare","cloudfront","cn","facebook","google","jp","netflix","private","telegram","twitter"]},u=[s("metacubex","MetaCubeX/meta-rules-dat",{geosite:"geosite.dat",geoip:"geoip.dat"},{geosite:42e5,geoip:166e5},null),s("metacubex-lite","MetaCubeX/meta-rules-dat",{geosite:"geosite-lite.dat",geoip:"geoip-lite.dat"},{geosite:176e3,geoip:207e3},d),s("loyalsoldier","Loyalsoldier/v2ray-rules-dat",{geosite:"geosite.dat",geoip:"geoip.dat"},{geosite:111e5,geoip:169e5},null)],b=t=>u.find(i=>i.id===t),m=b("metacubex");function f(t){return/^https?:\/\/(?![^/?#]*@)[^#]*$/.test(t)&&URL.canParse(t)&&[...t].length<=4096}export{m as d,u as g,f as v};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/geodata-X0pHz03D.js b/luci-app-honk/root/etc/honk/doona/assets/geodata-X0pHz03D.js
new file mode 100644
index 000000000..827d9a07e
--- /dev/null
+++ b/luci-app-honk/root/etc/honk/doona/assets/geodata-X0pHz03D.js
@@ -0,0 +1 @@
+const e=["fastly","cdn","testingcf"];function t(t,i,o,a,s){const l=(e,t)=>`https://${e}.jsdelivr.net/gh/${i}@release/${t}`,r=Object.keys(o);return{id:t,urls:Object.fromEntries(r.map(e=>{return[e,[(t=o[e],`https://raw.githubusercontent.com/${i}/release/${t}`),l("fastly",o[e])]];var t})),mirrors:Object.fromEntries(r.map(t=>[t,e.slice(1).map(e=>l(e,o[t]))])),sizes:a,categories:s}}const i=[t("metacubex","MetaCubeX/meta-rules-dat",{geosite:"geosite.dat",geoip:"geoip.dat"},{geosite:42e5,geoip:166e5},null),t("metacubex-lite","MetaCubeX/meta-rules-dat",{geosite:"geosite-lite.dat",geoip:"geoip-lite.dat"},{geosite:176e3,geoip:207e3},{geosite:["abema","apple","applemusic","bahamut","bilibili","biliintl","cloudflare","cn","ehentai","github","google","microsoft","netflix","onedrive","openai","pixiv","private","proxy","proxymedia","spotify","telegram","tiktok","twitter","youtube"],geoip:["apple","bilibili","cloudflare","cloudfront","cn","facebook","google","jp","netflix","private","telegram","twitter"]}),t("loyalsoldier","Loyalsoldier/v2ray-rules-dat",{geosite:"geosite.dat",geoip:"geoip.dat"},{geosite:111e5,geoip:169e5},null)],o=(a="metacubex",i.find(e=>e.id===a));var a;function s(e){return/^https?:\/\/(?![^/?#]*@)[^#]*$/.test(e)&&URL.canParse(e)&&[...e].length<=4096}export{o as d,i as g,s as v};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/qiangguo-gorges-dark-FlgXSNn1.webp b/luci-app-honk/root/etc/honk/doona/assets/gorges-dark-FlgXSNn1.webp
similarity index 100%
rename from luci-app-honk/root/etc/honk/doona/assets/qiangguo-gorges-dark-FlgXSNn1.webp
rename to luci-app-honk/root/etc/honk/doona/assets/gorges-dark-FlgXSNn1.webp
diff --git a/luci-app-honk/root/etc/honk/doona/assets/qiangguo-gorges-light-DCWkLX37.webp b/luci-app-honk/root/etc/honk/doona/assets/gorges-light-DCWkLX37.webp
similarity index 100%
rename from luci-app-honk/root/etc/honk/doona/assets/qiangguo-gorges-light-DCWkLX37.webp
rename to luci-app-honk/root/etc/honk/doona/assets/gorges-light-DCWkLX37.webp
diff --git a/luci-app-honk/root/etc/honk/doona/assets/index-BOpK0UVB.js b/luci-app-honk/root/etc/honk/doona/assets/index-BOpK0UVB.js
deleted file mode 100644
index 01a167e13..000000000
--- a/luci-app-honk/root/etc/honk/doona/assets/index-BOpK0UVB.js
+++ /dev/null
@@ -1,66 +0,0 @@
-const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./fonts-sc-DWPGxLPK.css","./fonts-tc-B6Zt5HQN.css","./SearchDialog-CuE64a4y.js","./vendor-react-Bf71BWbF.js","./flows-BW6GjUpE.js","./nav-B9ea5ZPQ.js","./nav-DEBjyEJ7.js","./nav-BiwTft4m.js","./nav-D5WY5Qjf.js","./nav-BFiTWnsa.js","./nav-Wiib71Wo.js","./nav-BFm4Dw7L.js","./nav-BASDWt23.js","./index-SqqyX_jn.js","./geodata-De9_qBkH.js","./auth-DTgOavf4.js","./auth-DKKBdTVr.js","./AreaChart-CsrRISMa.js","./layout-Bzzn7HLw.js","./AreaCurve-BriPYJva.js","./array-C0P64tl-.js","./Sparkline-4ZFN_DWA.js","./Donut-Bal7IeCD.js","./NodeSearch-BR3IX28j.js","./Virtualizer-BIsXGNLZ.js","./useFilter-6_o4NyOf.js","./ListLayout-CkBMjK9o.js","./Overview-DmsPNbOk.js","./files-BxEOxSF8.js","./Table-BkehX7fw.js","./useGridSelectionCheckbox-C4VxQajJ.js","./ActionGroup-BU73NzbX.js","./DaeCode-B8yPDjSE.js","./Connections-ZaWxL_iR.js","./FactStrip-CPXeRki4.js","./ranked-DDCHUGeL.js","./TimeCell-COfj2dEh.js","./labels-Bgu_ZhL8.js","./useQuickRule-qFvcUoSC.js","./outbounds-BVwoUbXQ.js","./Flows-C6wPx8Fw.js","./Coverage-BJmgp_Br.js","./policyText-y7dbn7hu.js","./Flows-l5FnUA9B.css","./Dns-CTaKf4B9.js","./dns-BY6DX1P3.js","./Policies-DZOKUNEx.js","./openGroup-B1VdMhOs.js","./Rules-DutfCjRn.js","./setup-V0SWKTBk.js","./recorder-DlDpPhd4.js","./probe-BHjulBb8.js","./Nodes-DZ5wlafB.js","./AddCircle-0OKZjQ6F.js","./useRefreshAll-CFXNBP5e.js","./Config-DTOoA8Ct.js","./vendor-editor-2EGeBPxF.js","./Events-Cryh0oVV.js","./Logs-D9CEYzzB.js","./Settings-hUYEzPZ9.js","./Login-CfAnL01j.js"])))=>i.map(i=>d[i]);
-import{$ as w,r as u,c as Eh,s as lo,a as rn,b as Qc,j as f,d as Sh}from"./vendor-react-Bf71BWbF.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();const Ph="modulepreload",kh=function(t,e){return new URL(t,e).href},Ba={},he=function(e,n,r){let i=Promise.resolve();if(n&&n.length>0){let o=function(d){return Promise.all(d.map(p=>Promise.resolve(p).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};const a=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),c=l?.nonce||l?.getAttribute("nonce");i=o(n.map(d=>{if(d=kh(d,r),d in Ba)return;Ba[d]=!0;const p=d.endsWith(".css"),h=p?'[rel="stylesheet"]':"";if(!!r)for(let v=a.length-1;v>=0;v--){const m=a[v];if(m.href===d&&(!p||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${h}`))return;const g=document.createElement("link");if(g.rel=p?"stylesheet":Ph,p||(g.as="script"),g.crossOrigin="",g.href=d,c&&g.setAttribute("nonce",c),document.head.appendChild(g),p)return new Promise((v,m)=>{g.addEventListener("load",v),g.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${d}`)))})}))}function s(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return i.then(o=>{for(const a of o||[])a.status==="rejected"&&s(a.reason);return e().catch(s)})};function ct(...t){return(...e)=>{for(let n of t)typeof n=="function"&&n(...e)}}const te=typeof document<"u"?w.useLayoutEffect:()=>{},eu={prefix:String(Math.round(Math.random()*1e10)),current:0},tu=w.createContext(eu),Ch=w.createContext(!1);let Ui=new WeakMap;function Th(t=!1){let e=u.useContext(tu),n=u.useRef(null);if(n.current===null&&!t){let r=w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(r){let i=Ui.get(r);i==null?Ui.set(r,{id:e.current,state:r.memoizedState}):r.memoizedState!==i.state&&(e.current=i.id,Ui.delete(r))}n.current=++e.current}return n.current}function Rh(t){let e=u.useContext(tu),n=Th(!!t),r=`react-aria${e.prefix}`;return t||`${r}-${n}`}function Mh(t){let e=w.useId(),[n]=u.useState(et()),r=n?"react-aria":`react-aria${eu.prefix}`;return t||`${r}-${e}`}const Nh=typeof w.useId=="function"?Mh:Rh;function Lh(){return!1}function Ih(){return!0}function jh(t){return()=>{}}function et(){return typeof w.useSyncExternalStore=="function"?w.useSyncExternalStore(jh,Lh,Ih):u.useContext(Ch)}function Dh(t){let[e,n]=u.useState(t),r=u.useRef(e),i=u.useRef(null),s=u.useRef(()=>{if(!i.current)return;let a=i.current.next();if(a.done){i.current=null;return}r.current===a.value?s.current():n(a.value)});te(()=>{r.current=e,i.current&&s.current()});let o=u.useCallback(a=>{i.current=a(r.current),s.current()},[s]);return[e,o]}let Kh=!!(typeof window<"u"&&window.document&&window.document.createElement),gn=new Map,fn;typeof FinalizationRegistry<"u"&&(fn=new FinalizationRegistry(t=>{gn.delete(t)}));let qi=new WeakMap;function fe(t){let[e,n]=u.useState(t),r=u.useRef(null),i=Nh(e),s=u.useRef(null),o=qi.get(s);if(fn&&o!==i&&(o!=null&&fn.unregister(s),fn.register(s,i,s),qi.set(s,i)),Kh){const a=gn.get(i);a&&!a.includes(r)?a.push(r):gn.set(i,[r])}return te(()=>{let a=i;return()=>{fn&&(fn.unregister(s),qi.delete(s)),gn.delete(a)}},[i]),u.useEffect(()=>{let a=r.current;return a&&n(a),()=>{a&&(r.current=null)}}),i}function _h(t,e){if(t===e)return t;let n=gn.get(t);if(n)return n.forEach(i=>i.current=e),e;let r=gn.get(e);return r?(r.forEach(i=>i.current=t),t):e}function ot(t=[]){let e=fe(),[n,r]=Dh(e),i=u.useCallback(()=>{r(function*(){yield e,yield document.getElementById(e)?e:void 0})},[e,r]);return te(i,[e,i,...t]),n}function Ft(...t){return t.length===1&&t[0]?t[0]:e=>{let n=!1;const r=t.map(i=>{const s=Ha(i,e);return n||=typeof s=="function",s});if(n)return()=>{r.forEach((i,s)=>{typeof i=="function"?i():Ha(t[s],null)})}}}function Ha(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function A(...t){let e={...t[0]};for(let n=1;n=65&&i.charCodeAt(2)<=90?e[i]=ct(s,o):(i==="className"||i==="UNSAFE_className")&&typeof s=="string"&&typeof o=="string"?e[i]=Eh(s,o):i==="id"&&s&&o?e.id=_h(s,o):i==="ref"&&s&&o?e.ref=Ft(s,o):e[i]=o!==void 0?o:s}}return e}function Ee(t){const e=u.useRef(null),n=u.useRef(void 0),r=u.useCallback(i=>{if(typeof t=="function"){const s=t,o=s(i);return()=>{typeof o=="function"?o():s(null)}}else if(t)return t.current=i,()=>{t.current=null}},[t]);return u.useMemo(()=>({get current(){return e.current},set current(i){e.current=i,n.current&&(n.current(),n.current=void 0),i!=null&&(n.current=r(i))}}),[r])}const yt=Symbol("default");function ve({values:t,children:e}){for(let[n,r]of t)e=w.createElement(n.Provider,{value:r},e);return e}function ie(t){let{className:e,style:n,children:r,defaultClassName:i,defaultChildren:s,defaultStyle:o,values:a,render:l}=t;return u.useMemo(()=>{let c,d,p;return typeof e=="function"?c=e({...a,defaultClassName:i}):c=e,typeof n=="function"?d=n({...a,defaultStyle:o||{}}):d=n,typeof r=="function"?p=r({...a,defaultChildren:s}):r==null?p=s:p=r,{className:c??i,style:d||o?{...o,...d}:void 0,children:p??s,"data-rac":"",render:l?h=>l(h,a):void 0}},[e,n,r,i,s,o,a,l])}function Fh(t,e){return n=>e(typeof t=="function"?t(n):t,n)}function wt(t,e){let n=u.useContext(t);if(e===null)return null;if(n&&typeof n=="object"&&"slots"in n&&n.slots){let r=e||yt;if(!n.slots[r]){let i=new Intl.ListFormat().format(Object.keys(n.slots).map(o=>`"${o}"`)),s=e?`Invalid slot "${e}".`:"A slot prop is required.";throw new Error(`${s} Valid slot names are ${i}.`)}return n.slots[r]}return n}function ae(t,e,n){let r=wt(n,t.slot)||{},{ref:i,...s}=r,o=Ee(u.useMemo(()=>Ft(e,i),[e,i])),a=A(s,t);return"style"in s&&s.style&&"style"in t&&t.style&&(typeof s.style=="function"||typeof t.style=="function"?a.style=l=>{let c=typeof s.style=="function"?s.style(l):s.style,d={...l.defaultStyle,...c},p=typeof t.style=="function"?t.style({...l,defaultStyle:d}):t.style;return{...d,...p}}:a.style={...s.style,...t.style}),[a,o]}function lr(t=!0){let[e,n]=u.useState(t),r=u.useRef(!1),i=u.useCallback(s=>{r.current=!0,n(!!s)},[]);return te(()=>{r.current||n(!1)},[]),[i,e]}function cr(t){const e=/^(data-.*)$/;let n={};for(const r in t)e.test(r)||(n[r]=t[r]);return n}function Ah(t,e,n){let{render:r,...i}=e,s=u.useRef(null),o=u.useMemo(()=>Ft(n,s),[n,s]);te(()=>{},[t,r]);let a={...i,ref:o};return r?r(a,void 0):w.createElement(t,a)}const Va={},ee=new Proxy({},{get(t,e){if(typeof e!="string")return;let n=Va[e];return n||(n=u.forwardRef(Ah.bind(null,e)),Va[e]=n),n}}),nu="react-aria-clear-focus",ys="react-aria-focus",ne=t=>Oh(t)?t.document:Bh(t)?t:t?.ownerDocument??(typeof document<"u"?document:void 0),we=t=>ne(t)?.defaultView??(typeof window<"u"?window:void 0);function ru(t){return t!==null&&typeof t=="object"&&"nodeType"in t&&typeof t.nodeType=="number"}function Oh(t){return typeof t=="object"&&t!=null&&"window"in t&&t.window===t}function Bh(t){return ru(t)&&t.nodeType===9}function fi(t){return ru(t)&&t.nodeType===11&&"host"in t}function yn(t,e,n,r){if(n==null||t==null)return()=>{};let i=Array.isArray(t)?t:[t];for(let s of i)s.addEventListener(e,n,r);return()=>{for(let s of i)s.removeEventListener(e,n,r)}}function Lr(t,e,n,r){if(t==null)return()=>{};let i=new Array,s=Array.isArray(t)?t:[t];for(let o of s){let a=o.style.getPropertyValue(e),l=o.style.getPropertyPriority(e);o.style.setProperty(e,n,r),i.unshift(()=>{a?o.style.setProperty(e,a,l):o.style.removeProperty(e)})}return()=>{for(let o of i)o()}}let Hh=!1;function it(){return Hh}function Z(t,e){if(!it())return e&&t?t.contains(e):!1;if(!t||!e)return!1;let n=e;for(;n!==null;){if(n===t)return!0;typeof n.assignedElements!="function"&&n.assignedSlot?.parentNode?n=n.assignedSlot.parentNode:fi(n)?n=n.host:n=n.parentNode}return!1}const se=(t=document)=>{if(!it())return t.activeElement;let e=t.activeElement;for(;e&&"shadowRoot"in e&&e.shadowRoot?.activeElement;)e=e.shadowRoot.activeElement;return e};function F(t){if(it()&&t.target instanceof Element&&t.target.shadowRoot){if("composedPath"in t)return t.composedPath()[0]??null;if("composedPath"in t.nativeEvent)return t.nativeEvent.composedPath()[0]??null}return t.target}function iu(t,e){if(e===null)return[];e=e??we(t);let n=[e];if(!it()||!t||t===e)return n;let r="getRootNode"in e?e.getRootNode():null,i=t.getRootNode()??null;for(;fi(i)&&i!==r;)n.push(i),i=i.host.getRootNode();return n}function Dt(t){if(!t)return!1;let e=t.getRootNode(),n=we(t);if(!(e instanceof n.Document||e instanceof n.ShadowRoot))return!1;let r=e.activeElement;return r!=null&&t.contains(r)}function co(t){let e=su(ne(t));e!==t&&(e&&vs(e,t),t&&Or(t,e))}function vs(t,e){t.dispatchEvent(new FocusEvent("blur",{relatedTarget:e})),t.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:e}))}function Or(t,e){t.dispatchEvent(new FocusEvent("focus",{relatedTarget:e})),t.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:e}))}function su(t){let e=se(t),n=e?.getAttribute("aria-activedescendant");return n&&t.getElementById(n)||e}function ye(t){if(Vh())t.focus({preventScroll:!0});else{let e=Uh(t);t.focus(),qh(e)}}let xr=null;function Vh(){if(xr==null){xr=!1;try{document.createElement("div").focus({get preventScroll(){return xr=!0,!0}})}catch{}}return xr}function Uh(t){let e=t.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;e instanceof HTMLElement&&e!==r;)(e.offsetHeighte.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function lu(t,e){Object.defineProperty(t,"target",{value:e}),Object.defineProperty(t,"currentTarget",{value:e})}function cu(t){let e=u.useRef({isFocused:!1,observer:null});return te(()=>{const n=e.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]),u.useCallback(n=>{let r=F(n);if(r instanceof HTMLButtonElement||r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement||r instanceof HTMLSelectElement){e.current.isFocused=!0;let i=r,s=o=>{if(e.current.isFocused=!1,i.disabled){let a=ho(o);t?.(a)}e.current.observer&&(e.current.observer.disconnect(),e.current.observer=null)};i.addEventListener("focusout",s,{once:!0}),e.current.observer=new MutationObserver(()=>{if(e.current.isFocused&&i.disabled){e.current.observer?.disconnect();let o=i===se()?null:se();i.dispatchEvent(new FocusEvent("blur",{relatedTarget:o})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:o}))}}),e.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[t])}let Br=!1;function Xh(t){for(;t&&!ou(t,{skipVisibilityCheck:!0});)t=t.parentElement;let e=we(t),n=se(e.document);if(!n||n===t)return;let r=t?.getRootNode(),i=r!=null&&fi(r)?r:we(t),s=g=>g===t||g!=null&&Z(t,g),o=g=>g===n||n!=null&&g!=null&&Z(n,g);Br=!0;let a=!1,l=g=>{(o(F(g))||a)&&g.stopImmediatePropagation()},c=g=>{(o(F(g))||a)&&(g.stopImmediatePropagation(),!t&&!a&&(a=!0,ye(n),h()))},d=g=>{(s(F(g))||a)&&g.stopImmediatePropagation()},p=g=>{(s(F(g))||a)&&(g.stopImmediatePropagation(),a||(a=!0,ye(n),h()))};i.addEventListener("blur",l,!0),i.addEventListener("focusout",c,!0),i.addEventListener("focusin",p,!0),i.addEventListener("focus",d,!0);let h=()=>{cancelAnimationFrame(b),i.removeEventListener("blur",l,!0),i.removeEventListener("focusout",c,!0),i.removeEventListener("focusin",p,!0),i.removeEventListener("focus",d,!0),Br=!1,a=!1},b=requestAnimationFrame(h);return h}function pi(t){if(typeof window>"u"||window.navigator==null)return!1;let e=window.navigator.userAgentData?.brands;return Array.isArray(e)&&e.some(n=>t.test(n.brand))||t.test(window.navigator.userAgent)}function mo(t){return typeof window<"u"&&window.navigator!=null?t.test(window.navigator.userAgentData?.platform||window.navigator.platform):!1}function Et(t){let e=null;return()=>(e==null&&(e=t()),e)}const He=Et(function(){return mo(/^Mac/i)}),Zh=Et(function(){return mo(/^iPhone/i)}),uu=Et(function(){return mo(/^iPad/i)||He()&&navigator.maxTouchPoints>1}),ut=Et(function(){return Zh()||uu()}),Qh=Et(function(){return He()||ut()}),vt=Et(function(){return pi(/AppleWebKit/i)&&(ut()||!du())}),du=Et(function(){return pi(/Chrome|CriOS|CrMo/i)}),Gn=Et(function(){return pi(/Android/i)}),em=Et(function(){return pi(/(Firefox|FxiOS)/i)});function fu(t){return t.pointerType===""&&t.isTrusted?!0:Gn()&&t.pointerType?t.type==="click"&&t.buttons===1:t.detail===0&&!t.pointerType}function tm(t){return!Gn()&&t.width===0&&t.height===0||Gn()&&t.width===1&&t.height===1&&t.pressure===0&&t.detail===0&&t.pointerType==="mouse"}const pu=u.createContext({isNative:!0,open:rm,useHref:t=>t});function nm(t){let{children:e,navigate:n,useHref:r}=t,i=u.useMemo(()=>({isNative:!1,open:(s,o,a,l)=>{mu(s,c=>{hu(c,o)?n(a,l):dt(c,o)})},useHref:r||(s=>s)}),[n,r]);return w.createElement(pu.Provider,{value:i},e)}function Tn(){return u.useContext(pu)}function hu(t,e){let n=t.getAttribute("target");return(!n||n==="_self")&&t.origin===location.origin&&!t.hasAttribute("download")&&!e.metaKey&&!e.ctrlKey&&!e.altKey&&!e.shiftKey}function dt(t,e,n=!0){let{metaKey:r,ctrlKey:i,altKey:s,shiftKey:o}=e;!vt()&&em()&&window.event?.type?.startsWith("key")&&t.target==="_blank"&&(He()?r=!0:i=!0);let a=vt()&&He()&&!uu()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:r,ctrlKey:i,altKey:s,shiftKey:o}):new MouseEvent("click",{metaKey:r,ctrlKey:i,altKey:s,shiftKey:o,detail:1,bubbles:!0,cancelable:!0});dt.isOpening=n,ye(t),t.dispatchEvent(a),dt.isOpening=!1}dt.isOpening=!1;function mu(t,e){if(t instanceof HTMLAnchorElement)e(t);else if(t.hasAttribute("data-href")){let n=document.createElement("a");n.href=t.getAttribute("data-href"),t.hasAttribute("data-target")&&(n.target=t.getAttribute("data-target")),t.hasAttribute("data-rel")&&(n.rel=t.getAttribute("data-rel")),t.hasAttribute("data-download")&&(n.download=t.getAttribute("data-download")),t.hasAttribute("data-ping")&&(n.ping=t.getAttribute("data-ping")),t.hasAttribute("data-referrer-policy")&&(n.referrerPolicy=t.getAttribute("data-referrer-policy")),t.appendChild(n),e(n),t.removeChild(n)}}function rm(t,e){mu(t,n=>dt(n,e))}function d$(t){const n=Tn().useHref(t.href??"");return{"data-href":t.href?n:void 0,"data-target":t.target,"data-rel":t.rel,"data-download":t.download,"data-ping":t.ping,"data-referrer-policy":t.referrerPolicy}}function hi(t){const n=Tn().useHref(t?.href??"");let r={};if(t)for(let i of["href","target","rel","download","ping","referrerPolicy"])i in t&&t[i]!==void 0&&(r[i]=i==="href"?n:t[i]);return r}function bu(t,e,n,r){!e.isNative&&t.currentTarget instanceof HTMLAnchorElement&&t.currentTarget.href&&!t.isDefaultPrevented()&&hu(t.currentTarget,t)&&n&&(t.preventDefault(),e.open(t.currentTarget,t,n,r))}let $t=null,Rn="keyboard";const Yn=new Set;let On=new Map,Xt=!1,Ir=!1;const im={Tab:!0,Escape:!0};function mi(t,e){for(let n of Yn)n(t,e)}function sm(t){return!(t.metaKey||!He()&&t.altKey||t.ctrlKey||t.key==="Control"||t.key==="Shift"||t.key==="Meta")}function Hr(t){Xt=!0,!dt.isOpening&&sm(t)&&($t="keyboard",Rn="keyboard",mi("keyboard",t))}function vn(t){$t="pointer",Rn="pointerType"in t?t.pointerType:"mouse",(t.type==="mousedown"||t.type==="pointerdown")&&(Xt=!0,mi("pointer",t))}function gu(t){!dt.isOpening&&fu(t)&&(Xt=!0,$t="virtual",Rn="virtual")}function yu(t){if(Br)return;let e=F(t),n=we(e),r=ne(e);if(e===n){Ir=!0;return}e===r||!t.isTrusted||(!Xt&&!Ir&&($t="virtual",Rn="virtual",mi("virtual",t)),Xt=!1,Ir=!1)}function vu(){Br||(Xt=!1,Ir=!0)}function Vr(t){if(typeof window>"u"||typeof document>"u")return;const e=we(t),n=ne(t);if(On.get(e))return;let r=e.HTMLElement.prototype.focus;Reflect.defineProperty(e.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(){Xt=!0,r.apply(this,arguments)}}),n.addEventListener("keydown",Hr,!0),n.addEventListener("keyup",Hr,!0),n.addEventListener("click",gu,!0),e.addEventListener("focus",yu,!0),e.addEventListener("blur",vu,!1),typeof PointerEvent<"u"&&(n.addEventListener("pointerdown",vn,!0),n.addEventListener("pointermove",vn,!0),n.addEventListener("pointerup",vn,!0)),e.addEventListener("beforeunload",()=>{$u(t)},{once:!0}),On.set(e,{focus:r})}const $u=(t,e)=>{const n=we(t),r=ne(t);e&&r.removeEventListener("DOMContentLoaded",e),On.has(n)&&(Reflect.defineProperty(n.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:On.get(n).focus}),r.removeEventListener("keydown",Hr,!0),r.removeEventListener("keyup",Hr,!0),r.removeEventListener("click",gu,!0),n.removeEventListener("focus",yu,!0),n.removeEventListener("blur",vu,!1),typeof PointerEvent<"u"&&(r.removeEventListener("pointerdown",vn,!0),r.removeEventListener("pointermove",vn,!0),r.removeEventListener("pointerup",vn,!0)),On.delete(n))};function om(t){const e=ne(t);let n;return e.readyState!=="loading"?Vr(t):(n=()=>{Vr(t)},e.addEventListener("DOMContentLoaded",n)),()=>$u(t,n)}typeof document<"u"&&om();function Kt(){return $t!=="pointer"}function at(){return $t}function Bn(t){$t=t,Rn=t==="pointer"?"mouse":t,mi(t,null)}function am(){return Rn}function lm(){Vr();let[t,e]=u.useState($t);return u.useEffect(()=>{let n=()=>{e($t)};return Yn.add(n),()=>{Yn.delete(n)}},[]),et()?null:t}const cm=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function um(t,e,n){let r=n?F(n):void 0,i=ne(r),s=we(r);const o=typeof s<"u"?s.HTMLInputElement:HTMLInputElement,a=typeof s<"u"?s.HTMLTextAreaElement:HTMLTextAreaElement,l=typeof s<"u"?s.HTMLElement:HTMLElement,c=typeof s<"u"?s.KeyboardEvent:KeyboardEvent;let d=se(i);return t=t||d instanceof o&&!cm.has(d.type)||d instanceof a||d instanceof l&&d.isContentEditable,!(t&&e==="keyboard"&&n instanceof c&&!im[n.key])}function dm(t,e,n){Vr(),u.useEffect(()=>{if(n?.enabled===!1)return;let r=(i,s)=>{um(!!n?.isTextInput,i,s)&&t(Kt())};return Yn.add(r),()=>{Yn.delete(r)}},e)}const P=void 0;var xu={};xu={collectionLabel:"Suggestions"};var wu={};wu={collectionLabel:"建议"};var Eu={};Eu={collectionLabel:"建議"};var Su={};Su={"ar-AE":P,"bg-BG":P,"cs-CZ":P,"da-DK":P,"de-DE":P,"el-GR":P,"en-US":xu,"es-ES":P,"et-EE":P,"fi-FI":P,"fr-FR":P,"he-IL":P,"hr-HR":P,"hu-HU":P,"it-IT":P,"ja-JP":P,"ko-KR":P,"lt-LT":P,"lv-LV":P,"nb-NO":P,"nl-NL":P,"pl-PL":P,"pt-BR":P,"pt-PT":P,"ro-RO":P,"ru-RU":P,"sk-SK":P,"sl-SI":P,"sr-SP":P,"sv-SE":P,"tr-TR":P,"uk-UA":P,"zh-CN":wu,"zh-TW":Eu};function hn(t){return He()?t.metaKey:t.ctrlKey}const fm=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Hn(t){return t instanceof HTMLInputElement&&!fm.has(t.type)||t instanceof HTMLTextAreaElement||t instanceof HTMLElement&&t.isContentEditable}const pm=w.useInsertionEffect??te;function Re(t){const e=u.useRef(null);return pm(()=>{e.current=t},[t]),u.useCallback((...n)=>{const r=e.current;return r?.(...n)},[])}function zt(t,e,n,r){let i=Re(n),s=n==null;u.useEffect(()=>{if(!(s||t.current==null))return yn(t.current,e,i,r)},[t,e,r,s])}function ur(t,e){let{id:n,"aria-label":r,"aria-labelledby":i}=t;return n=fe(n),i&&r?i=[...new Set([n,...i.trim().split(/\s+/)])].join(" "):i&&(i=i.trim().split(/\s+/).join(" ")),!r&&!i&&e&&(r=e),{id:n,"aria-label":r,"aria-labelledby":i}}const hm=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),mm=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function Pu(t){if(Intl.Locale){let n=new Intl.Locale(t).maximize(),r=typeof n.getTextInfo=="function"?n.getTextInfo():n.textInfo;if(r)return r.direction==="rtl";if(n.script)return hm.has(n.script)}let e=t.split("-")[0];return mm.has(e)}const ku=Symbol.for("react-aria.i18n.locale");function Cu(){let t=typeof window<"u"&&window[ku]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([t])}catch{t="en-US"}return{locale:t,direction:Pu(t)?"rtl":"ltr"}}let $s=Cu(),Fn=new Set;function Ua(){$s=Cu();for(let t of Fn)t($s)}function Tu(){let t=et(),[e,n]=u.useState($s);return u.useEffect(()=>(Fn.size===0&&window.addEventListener("languagechange",Ua),Fn.add(n),()=>{Fn.delete(n),Fn.size===0&&window.removeEventListener("languagechange",Ua)}),[]),t?{locale:typeof window<"u"&&window[ku]||"en-US",direction:"ltr"}:e}const bo=w.createContext(null);function bm(t){let{locale:e,direction:n,children:r}=t,i=w.useMemo(()=>({locale:e,direction:n||(Pu(e)?"rtl":"ltr")}),[e,n]);return w.createElement(bo.Provider,{value:i},r)}function gm(t){let{children:e}=t,n=Tu();return w.createElement(bo.Provider,{value:n},e)}function ym(t){let{locale:e,children:n}=t;return e?w.createElement(bm,{locale:e,direction:t.direction,children:n}):w.createElement(gm,{children:n})}function Ue(){let t=Tu();return u.useContext(bo)||t}const vm=Symbol.for("react-aria.i18n.locale"),$m=Symbol.for("react-aria.i18n.strings");let wr;class bi{constructor(e,n="en-US"){this.strings=Object.fromEntries(Object.entries(e).filter(([,r])=>r)),this.defaultLocale=n}getStringForLocale(e,n){let i=this.getStringsForLocale(n)[e];if(!i)throw new Error(`Could not find intl message ${e} in ${n} locale`);return i}getStringsForLocale(e){let n=this.strings[e];return n||(n=xm(e,this.strings,this.defaultLocale),this.strings[e]=n),n}static getGlobalDictionaryForPackage(e){if(typeof window>"u")return null;let n=window[vm];if(wr===void 0){let i=window[$m];if(!i)return null;wr={};for(let s in i)wr[s]=new bi({[n]:i[s]},n)}let r=wr?.[e];if(!r)throw new Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}}function xm(t,e,n="en-US"){if(e[t])return e[t];let r=wm(t),i=Em(t);if(i&&e[`${r}-${i}`])return e[`${r}-${i}`];if(e[r])return e[r];for(let s in e)if(s.startsWith(r+"-"))return e[s];return e[n]}function wm(t){return Intl.Locale?new Intl.Locale(t).language:t.split("-")[0]}function Em(t){if(Intl.Locale)return new Intl.Locale(t).script}const qa=new Map,za=new Map;class Sm{constructor(e,n){this.locale=e,this.strings=n}format(e,n){let r=this.strings.getStringForLocale(e,this.locale);return typeof r=="function"?r(n,this):r}plural(e,n,r="cardinal"){let i=n["="+e];if(i)return typeof i=="function"?i():i;let s=this.locale+":"+r,o=qa.get(s);o||(o=new Intl.PluralRules(this.locale,{type:r}),qa.set(s,o));let a=o.select(e);return i=n[a]||n.other,typeof i=="function"?i():i}number(e){let n=za.get(this.locale);return n||(n=new Intl.NumberFormat(this.locale),za.set(this.locale,n)),n.format(e)}select(e,n){let r=e[n]||e.other;return typeof r=="function"?r():r}}const Wa=new WeakMap;function Pm(t){let e=Wa.get(t);return e||(e=new bi(t),Wa.set(t,e)),e}function km(t,e){return e&&bi.getGlobalDictionaryForPackage(e)||Pm(t)}function sn(t,e){let{locale:n}=Ue(),r=km(t,e);return u.useMemo(()=>new Sm(n,r),[n,r])}function Cm(t){return t&&t.__esModule?t.default:t}function Tm(t,e){let{inputRef:n,collectionRef:r,filter:i,disableAutoFocusFirst:s=!1,disableVirtualFocus:o=!1}=t,a=fe(),l=u.useRef(void 0),c=u.useRef(!1),d=u.useRef(null),p=at()==="virtual"&&(ut()||Gn()),[h,b]=u.useState(!p&&!o),[g,v]=u.useState(!1),[m,y]=u.useState(!1);u.useEffect(()=>()=>clearTimeout(l.current),[]);let $=Re(K=>{!K.isTrusted&&h&&n.current&&se(ne(n.current))!==n.current&&am()!=="touch"&&n.current.focus();let O=F(K);K.isTrusted||!O||d.current===O.id||(clearTimeout(l.current),O!==r.current?c.current?(d.current=O.id,l.current=setTimeout(()=>{e.setFocusedNodeId(O.id)},500)):(d.current=O.id,e.setFocusedNodeId(O.id)):d.current&&!document.getElementById(d.current)&&(d.current=null,e.setFocusedNodeId(null)),c.current=!1)}),[x,E]=u.useState(null),R=u.useCallback(K=>{E(K),K!=null?(K.getAttribute("tabindex")!=null&&b(!1),v(!0)):v(!1)},[]);te(()=>(x?.addEventListener("focusin",$),()=>{x?.removeEventListener("focusin",$)}),[x]);let k=Ee(u.useMemo(()=>Ft(r,R),[r,R])),S=u.useCallback(()=>{if(!r.current){y(!0);return}c.current=!0,r.current?.dispatchEvent(new CustomEvent(ys,{cancelable:!0,bubbles:!0,detail:{focusStrategy:"first"}}))},[r]),C=u.useCallback(K=>{y(!1),co(se()),d.current=null,e.setFocusedNodeId(null);let O=new CustomEvent(nu,{cancelable:!0,bubbles:!0,detail:{clearFocusKey:K}});clearTimeout(l.current),c.current=!1,r.current?.dispatchEvent(O)},[r,e]),M=u.useRef("");zt(n,"beforeinput",K=>{let{inputType:O}=K;M.current=O});let I=K=>{(M.current==="insertText"||M.current==="insertCompositionText"||M.current==="insertFromComposition")&&!s?S():M.current&&(M.current.includes("insert")||M.current.includes("delete")||M.current.includes("history"))&&(C(!0),su(document)===n.current&&Or(n.current,null)),e.setInputValue(K)},_=u.useRef(null),z=K=>{if(_.current=F(K),K.nativeEvent.isComposing)return;let O=d.current;switch(O!==null&&ne(n.current).getElementById(O)==null&&(d.current=null,O=null),K.key){case"a":if(hn(K))return;break;case"Escape":if(K.isDefaultPrevented())return;break;case" ":return;case"Tab":"continuePropagation"in K&&K.continuePropagation();return;case"Home":case"End":case"PageDown":case"PageUp":case"ArrowUp":case"ArrowDown":case"ArrowRight":case"ArrowLeft":{if((K.key==="Home"||K.key==="End")&&O==null&&K.shiftKey)return;if(K.key==="ArrowRight"||K.key==="ArrowLeft"){if(O==null){K.isPropagationStopped()||K.stopPropagation();return}break}K.preventDefault();let L=new CustomEvent(ys,{cancelable:!0,bubbles:!0});r.current?.dispatchEvent(L);break}}K.isPropagationStopped()||K.stopPropagation();let J=!0;if(r.current!==null)if(O==null)J=r.current?.dispatchEvent(new KeyboardEvent(K.nativeEvent.type,K.nativeEvent))||!1;else{let L=document.getElementById(O);L&&(J=L?.dispatchEvent(new KeyboardEvent(K.nativeEvent.type,K.nativeEvent))||!1)}if(J)switch(K.key){case"ArrowLeft":case"ArrowRight":C();break;case"Enter":O!=null&&document.getElementById(O)?.dispatchEvent(new PointerEvent("click",K.nativeEvent));break}else K.preventDefault()},U=Re(K=>{if(F(K)===_.current){K.stopImmediatePropagation();let O=d.current;O==null?r.current?.dispatchEvent(new KeyboardEvent(K.type,K)):document.getElementById(O)?.dispatchEvent(new KeyboardEvent(K.type,K))}});u.useEffect(()=>(document.addEventListener("keyup",U,!0),()=>{document.removeEventListener("keyup",U,!0)}),[]);let T=sn(Cm(Su),"@react-aria/autocomplete"),j=ur({id:a,"aria-label":T.format("collectionLabel")}),q=u.useCallback((K,O)=>i?i(K,e.inputValue,O):!0,[e.inputValue,i]),D=K=>{if(!K.isTrusted)return;let O=d.current?document.getElementById(d.current):null;O&&vs(O,K.relatedTarget)},Y=K=>{if(!K.isTrusted)return;if(d.current?document.getElementById(d.current):null){let J=F(K);queueMicrotask(()=>{vs(J,r.current),Or(r.current,J)})}},N=K=>{K.button!==0||K.pointerType==="touch"||d.current==null||n.current==null||F(K)===n.current&&C()},W={value:e.inputValue,onChange:I},V={onKeyDown:z,"aria-activedescendant":e.focusedNodeId??void 0,onBlur:D,onFocus:Y,onPointerDown:N};return W={...W,...h&&g&&V,enterKeyHint:"go","aria-controls":g?a:void 0,"aria-autocomplete":"list",autoCorrect:"off",spellCheck:"false",autoComplete:"off"},{inputProps:W,collectionProps:A(j,{shouldUseVirtualFocus:h,disallowTypeAhead:h,autoFocus:m?"first":!1}),collectionRef:k,filter:i!=null?q:void 0}}const Rm=typeof document<"u"?w.useInsertionEffect??w.useLayoutEffect:()=>{};function qe(t,e,n){let[r,i]=u.useState(t||e),s=u.useRef(r),o=u.useRef(t!==void 0),a=t!==void 0;u.useEffect(()=>{o.current,o.current=a},[a]);let l=a?t:r;Rm(()=>{s.current=l});let[,c]=u.useReducer(()=>({}),{}),d=u.useCallback((p,...h)=>{let b=typeof p=="function"?p(s.current):p;Object.is(s.current,b)||(s.current=b,i(b),c(),n?.(b,...h))},[n]);return[l,d]}function Mm(t){let{onInputChange:e,inputValue:n,defaultInputValue:r=""}=t,i=c=>{e&&e(c)},[s,o]=u.useState(null),[a,l]=qe(n,r,i);return{inputValue:a,setInputValue:l,focusedNodeId:s,setFocusedNodeId:o}}const Nm=u.createContext(null),Lm=u.createContext(null),Ur=u.createContext(null),gi=u.createContext(null);function f$(t){let e=wt(Nm,t.slot);t=A(e,t);let{filter:n,disableAutoFocusFirst:r}=t,i=Mm(t),s=u.useRef(null),o=u.useRef(null),{inputProps:a,collectionProps:l,collectionRef:c,filter:d}=Tm({...cr(t),filter:n,disableAutoFocusFirst:r,inputRef:s,collectionRef:o},i);return w.createElement(ve,{values:[[Lm,i],[gi,{...a,ref:s}],[Ur,{...l,filter:d,ref:c}]]},t.children)}class on{constructor(e){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=e}get childNodes(){throw new Error("childNodes is not supported")}clone(){let e=new this.constructor(this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e["aria-label"]=this["aria-label"],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e.colSpan=this.colSpan,e.colIndex=this.colIndex,e}filter(e,n,r){let i=this.clone();return n.addDescendants(i,e),i}}class Ru extends on{filter(e,n,r){let[i,s]=Iu(e,n,this.firstChildKey,r),o=this.clone();return o.firstChildKey=i,o.lastChildKey=s,o}}class Im extends on{static{this.type="header"}}class Mu extends on{static{this.type="loader"}}class Nu extends Ru{static{this.type="item"}filter(e,n,r){if(r(this.textValue,this)){let i=this.clone();return n.addDescendants(i,e),i}return null}}class Lu extends Ru{static{this.type="section"}filter(e,n,r){let i=super.filter(e,n,r);if(i&&i.lastChildKey!==null){let s=e.getItem(i.lastChildKey);if(s&&s.type!=="header")return i}return null}}class jm{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let e=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;e;)yield e,e=e.nextKey!=null?this.keyMap.get(e.nextKey):void 0}getChildren(e){let n=this.keyMap;return{*[Symbol.iterator](){let r=n.get(e),i=r?.firstChildKey!=null?n.get(r.firstChildKey):null;for(;i;)yield i,i=i.nextKey!=null?n.get(i.nextKey):void 0}}}getKeyBefore(e){let n=this.keyMap.get(e);if(!n)return null;if(n.prevKey!=null){for(n=this.keyMap.get(n.prevKey);n&&n.type!=="item"&&n.lastChildKey!=null;)n=this.keyMap.get(n.lastChildKey);return n?.key??null}return n.parentKey}getKeyAfter(e){let n=this.keyMap.get(e);if(!n)return null;if(n.type!=="item"&&n.firstChildKey!=null)return n.firstChildKey;for(;n;){if(n.nextKey!=null)return n.nextKey;if(n.parentKey!=null)n=this.keyMap.get(n.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let e=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;e?.lastChildKey!=null;)e=this.keyMap.get(e.lastChildKey);return e?.key??null}getItem(e){return this.keyMap.get(e)??null}at(){throw new Error("Not implemented")}clone(){let e=this.constructor,n=new e;return n.keyMap=new Map(this.keyMap),n.firstKey=this.firstKey,n.lastKey=this.lastKey,n.itemCount=this.itemCount,n}addNode(e){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");e.type==="item"&&this.keyMap.get(e.key)==null&&this.itemCount++,this.keyMap.set(e.key,e)}addDescendants(e,n){this.addNode(e);let r=n.getChildren(e.key);for(let i of r)this.addDescendants(i,n)}removeNode(e){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");let n=this.keyMap.get(e);n!=null&&n.type==="item"&&this.itemCount--,this.keyMap.delete(e)}commit(e,n,r=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=e,this.lastKey=n,this.frozen=!r}filter(e){let n=new this.constructor,[r,i]=Iu(this,n,this.firstKey,e);return n?.commit(r,i),n}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}}function Iu(t,e,n,r){if(n==null)return[null,null];let i=null,s=null,o=t.getItem(n);for(;o!=null;){let a=o.filter(t,e,r);a!=null&&(a.nextKey=null,s&&(a.prevKey=s.key,s.nextKey=a.key),i==null&&(i=a),e.addNode(a),s=a),o=o.nextKey!=null?t.getItem(o.nextKey):null}if(s&&s.type==="separator"){let a=s.prevKey;e.removeNode(s.key),a!=null?(s=e.getItem(a),s.nextKey=null):s=null}return[i?.key??null,s?.key??null]}class ju{constructor(e){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=e}*[Symbol.iterator](){let e=this.firstChild;for(;e;)yield e,e=e.nextSibling}get firstChild(){return this._firstChild}set firstChild(e){this._firstChild=e,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(e){this._lastChild=e,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(e){this._previousSibling=e,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(e){this._nextSibling=e,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(e){this._parentNode=e,this.ownerDocument.markDirty(this)}get isConnected(){return this.parentNode?.isConnected||!1}invalidateChildIndices(e){(this._minInvalidChildIndex==null||!this._minInvalidChildIndex.isConnected||e.indexthis.subscriptions.delete(e)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}}function Du(t){let{children:e,items:n,idScope:r,addIdAndValue:i,dependencies:s=[]}=t,o=u.useMemo(()=>{},[e]),a=u.useMemo(()=>new WeakMap,[...s,o]);return u.useMemo(()=>{if(n&&typeof e=="function"){let l=[];for(let c of n){let d=Km(c)?c:null,p=d?a.get(d):null;if(!p){p=e(c);let h=p.props.id??c?.key??c?.id;r!=null&&p.props.id==null&&h!=null&&(h=r+":"+h);let b=h??l.length;p=u.cloneElement(p,i?{key:b,id:h,value:c}:{key:b}),d&&a.set(d,p)}l.push(p)}return l}else if(typeof e!="function")return e},[e,n,a,r,i])}function Km(t){switch(typeof t){case"object":return t!=null;case"function":case"symbol":return!0;default:return!1}}let Lt=new Map,xs=new Set;function Ga(){if(typeof window>"u")return;function t(r){return"propertyName"in r}let e=r=>{let i=F(r);if(!t(r)||!i)return;let s=Lt.get(i);s||(s=new Set,Lt.set(i,s),i.addEventListener("transitioncancel",n,{once:!0})),s.add(r.propertyName)},n=r=>{let i=F(r);if(!t(r)||!i)return;let s=Lt.get(i);if(s&&(s.delete(r.propertyName),s.size===0&&(i.removeEventListener("transitioncancel",n),Lt.delete(i)),Lt.size===0)){for(let o of xs)o();xs.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",n)}typeof document<"u"&&(document.readyState!=="loading"?Ga():document.addEventListener("DOMContentLoaded",Ga));function _m(){for(const[t]of Lt)"isConnected"in t&&!t.isConnected&&Lt.delete(t)}function go(t){requestAnimationFrame(()=>{_m(),Lt.size===0?t():xs.add(t)})}function _t(t){if(!t.isConnected)return;const e=ne(t);if(at()==="virtual"){let n=se(e);go(()=>{const r=se(e);(r===n||r===e.body)&&t.isConnected&&ye(t)})}else ye(t)}function yo(t){let{isDisabled:e,onFocus:n,onBlur:r,onFocusChange:i}=t;const s=u.useCallback(l=>{if(F(l)===l.currentTarget)return r&&r(l),i&&i(!1),!0},[r,i]),o=cu(s),a=u.useCallback(l=>{let c=F(l);const d=ne(c),p=d?se(d):se();c===l.currentTarget&&c===p&&(n&&n(l),i&&i(!0),o(l))},[i,n,o]);return{focusProps:{onFocus:!e&&(n||i||r)?a:void 0,onBlur:!e&&(r||i)?s:void 0}}}function Er(t){if(t)return e=>{let n=!0,r={...e,preventDefault(){e.preventDefault()},isDefaultPrevented(){return e.isDefaultPrevented()},stopPropagation(){n=!0},continuePropagation(){n=!1,typeof e.continuePropagation=="function"&&e.continuePropagation()},isPropagationStopped(){return n}};t(r),n&&!(typeof e.isPropagationStopped=="function"&&e.isPropagationStopped())&&e.stopPropagation()}}const Fm=new Set(["shift","alt","control","meta","mod"]),Am=["Alt","Control","Meta","Shift"];function Om(t){let e=new Set;return t.alt&&e.add("Alt"),t.shift&&e.add("Shift"),t.ctrl&&e.add("Control"),t.meta&&e.add("Meta"),t.mod&&e.add(He()?"Meta":"Control"),e}function Bm(t){let e=new Set;return t.altKey&&e.add("Alt"),t.ctrlKey&&e.add("Control"),t.metaKey&&e.add("Meta"),t.shiftKey&&e.add("Shift"),e}function Ku(t){return Am.filter(e=>t.has(e))}function Hm(t){let e=t.split("+").reduce((n,r)=>{let i=r.toLowerCase();return Fm.has(i)?i==="shift"?n.shift=!0:i==="alt"?n.alt=!0:i==="control"?n.ctrl=!0:i==="meta"?n.meta=!0:i==="mod"&&(n.mod=!0):n.key=r,n},{shift:!1,alt:!1,ctrl:!1,meta:!1,mod:!1,key:""});if(e.key==="")throw new Error(`Invalid keyboard shortcut: "${t}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);return e}function _u(t){return t.toLowerCase()}const Vm={space:" ",esc:"escape",del:"delete",ins:"insert",left:"arrowleft",right:"arrowright",up:"arrowup",down:"arrowdown",pageup:"pageup",pagedown:"pagedown"};function Um(t){let e=_u(t),n=Vm[e];return n??e}function qm(t){let e=Ku(Om(t)),n=Um(t.key);return e.length>0?`${e.join("+")}+${n}`:n}function zm(t){let e=Ku(Bm(t)),n=_u(t.key);return(e.length>0?`${e.join("+")}+`:"")+n}function Wm(t){let e=new Map;for(let[n,r]of Object.entries(t)){let i=Hm(n);e.set(qm(i),r)}return n=>{let r=zm(n),i=e.get(r),s=i?.(n);s===void 0&&i!==void 0?s={shouldContinuePropagation:!1,shouldPreventDefault:!0}:typeof s=="boolean"&&(s={shouldContinuePropagation:!s,shouldPreventDefault:s}),s?.shouldPreventDefault&&n.preventDefault(),(!i||s?.shouldContinuePropagation)&&n.continuePropagation()}}function Ze(t){let{shortcuts:e,allowRepeats:n=!1,allowComposing:r=!1}=t,i,s;if(e){let o=Wm(e),a=Er(c=>{if(!Z(c.currentTarget,F(c))){c.continuePropagation();return}if(c.nativeEvent?.repeat&&!n||c.nativeEvent?.isComposing&&!r){c.continuePropagation();return}o(c)}),l=Er(c=>{if(!Z(c.currentTarget,F(c))){c.continuePropagation();return}if(c.nativeEvent?.repeat&&!n||c.nativeEvent?.isComposing&&!r){c.continuePropagation();return}c.continuePropagation()});i=t.onKeyDown?ct(t.onKeyDown,a):a,s=t.onKeyUp?ct(t.onKeyUp,l):l}else i=Er(t.onKeyDown),s=Er(t.onKeyUp);return{keyboardProps:t.isDisabled?{}:{onKeyDown:i,onKeyUp:s}}}function vo(t,e){te(()=>{if(t&&t.ref&&e)return t.ref.current=e.current,()=>{t.ref&&(t.ref.current=null)}})}let Jn=w.createContext(null);function Gm(t){let e=u.useContext(Jn)||{};vo(e,t);let{ref:n,...r}=e;return r}const Ym=w.forwardRef(function(e,n){let{children:r,...i}=e,s=Ee(n),o={...i,ref:s};return w.createElement(Jn.Provider,{value:o},r)});function At(t,e){let{focusProps:n}=yo(t),{keyboardProps:r}=Ze(t),i=A(n,r),s=Gm(e),o=t.isDisabled?{}:s,a=u.useRef(t.autoFocus);u.useEffect(()=>{a.current&&e.current&&_t(e.current),a.current=!1},[e]);let l=t.excludeFromTabOrder?-1:0;return t.isDisabled&&(l=void 0),{focusableProps:A({...i,tabIndex:l},o)}}const Fu=u.forwardRef(({children:t,...e},n)=>{n=Ee(n);let{focusableProps:r}=At(e,n),i=w.Children.only(t);u.useEffect(()=>{},[n,e.isDisabled]);let s=parseInt(w.version,10)<19?i.ref:i.props.ref;return w.cloneElement(i,{...A(r,i.props),ref:Ft(s,n)})});typeof HTMLTemplateElement<"u"&&(Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.content.firstChild}}),Object.defineProperty(HTMLTemplateElement.prototype,"appendChild",{configurable:!0,enumerable:!0,value:function(t){return this.content.appendChild(t)}}),Object.defineProperty(HTMLTemplateElement.prototype,"removeChild",{configurable:!0,enumerable:!0,value:function(t){return this.content.removeChild(t)}}),Object.defineProperty(HTMLTemplateElement.prototype,"insertBefore",{configurable:!0,enumerable:!0,value:function(t,e){return this.content.insertBefore(t,e)}}));const qr=u.createContext(!1);function Jm(t){if(u.useContext(qr))return w.createElement(w.Fragment,null,t.children);let n=w.createElement(qr.Provider,{value:!0},t.children);return w.createElement("template",null,n)}function St(t){let e=(n,r)=>u.useContext(qr)?null:t(n,r);return e.displayName=t.displayName||t.name,u.forwardRef(e)}function $o(){return u.useContext(qr)}const Au=u.createContext(!1),Xn=u.createContext(null);function yi(t){if(u.useContext(Xn))return t.content;let{collection:n,document:r}=eb(t.createCollection);return w.createElement(w.Fragment,null,w.createElement(Jm,null,w.createElement(Xn.Provider,{value:r},t.content)),w.createElement(Xm,{render:t.children,collection:n}))}function Xm({collection:t,render:e}){return e(t)}function Zm(t,e,n){let r=et(),i=u.useRef(r);i.current=r;let s=u.useCallback(()=>i.current?n():e(),[e,n]);return lo.useSyncExternalStore(t,s)}const Qm=typeof w.useSyncExternalStore=="function"?w.useSyncExternalStore:Zm;function eb(t){let[e]=u.useState(()=>new Dm(t?.()||new jm)),n=u.useCallback(o=>e.subscribe(o),[e]),r=u.useCallback(()=>{let o=e.getCollection();return e.isSSR&&e.resetAfterSSR(),o},[e]),i=u.useCallback(()=>(e.isSSR=!0,e.getCollection()),[e]);return{collection:Qm(n,r,i),document:e}}const ws=u.createContext(null);function tb(t){return class extends on{static{this.type=t}}}function Ou(t,e,n,r,i,s){typeof t=="string"&&(t=tb(t));let o=u.useCallback(l=>{l?.setProps(e,n,t,r,s)},[e,n,r,s,t]),a=u.useContext(ws);if(a){let l=a.ownerDocument.nodesByProps.get(e);return l||(l=a.ownerDocument.createElement(t.type),l.setProps(e,n,t,r,s),a.appendChild(l),a.ownerDocument.updateCollection(),a.ownerDocument.nodesByProps.set(e,l)),i?w.createElement(ws.Provider,{value:l},i):null}return w.createElement(t.type,{ref:o},i)}function an(t,e){let n=({node:i})=>e(i.props,i.props.ref,i),r=u.forwardRef((i,s)=>{let o=u.useContext(Jn);if(!u.useContext(Au)){if(e.length>=3)throw new Error(e.name+" cannot be rendered outside a collection.");return e(i,s)}return Ou(t,i,s,"children"in i?i.children:null,null,l=>w.createElement(Jn.Provider,{value:o},w.createElement(n,{node:l})))});return r.displayName=e.name,r}function xo(t,e,n=Bu){let r=({node:s})=>e(s.props,s.props.ref,s),i=u.forwardRef((s,o)=>{let a=n(s);return Ou(t,s,o,null,a,l=>w.createElement(r,{node:l}))??w.createElement(w.Fragment,null)});return i.displayName=e.name,i}function Bu(t){return Du({...t,addIdAndValue:!0})}const Ya=u.createContext(null);function wo(t){let e=u.useContext(Ya),n=(e?.dependencies||[]).concat(t.dependencies),r=t.idScope??e?.idScope,i=Bu({...t,idScope:r,dependencies:n});return u.useContext(Xn)&&(i=w.createElement(nb,null,i)),e=u.useMemo(()=>({dependencies:n,idScope:r}),[r,...n]),w.createElement(Ya.Provider,{value:e},i)}function nb({children:t}){let e=u.useContext(Xn),n=u.useMemo(()=>w.createElement(Xn.Provider,{value:null},w.createElement(Au.Provider,{value:!0},t)),[t]);return et()?w.createElement(ws.Provider,{value:e},n):rn.createPortal(n,e)}const Hu=u.createContext(null),Vu={CollectionRoot({collection:t,renderDropIndicator:e}){return Ja(t,null,e)},CollectionBranch({collection:t,parent:e,renderDropIndicator:n}){return Ja(t,e,n)}};function Ja(t,e,n){return Du({items:e?t.getChildren(e.key):t,dependencies:[n],children(r){if(r.type==="content")return w.createElement(w.Fragment,null);let i=r.render(r);return!n||r.type!=="item"?i:w.createElement(w.Fragment,null,n({type:"item",key:r.key,dropPosition:"before"}),i,rb(t,r,n))}})}function rb(t,e,n){let r=e.key,i=t.getKeyAfter(r),s=i!=null?t.getItem(i):null;for(;s!=null&&s.type!=="item";)i=t.getKeyAfter(s.key),s=i!=null?t.getItem(i):null;let o=e.nextKey!=null?t.getItem(e.nextKey):null;for(;o!=null&&o.type!=="item";)o=o.nextKey!=null?t.getItem(o.nextKey):null;let a=[];if(o==null){let l=e;for(;l?.type==="item"&&(!s||l.parentKey!==s.parentKey&&s.levelt!=null?new Set([t]):null,[t])}const ib=new Set(["id"]),sb=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),ob=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),ab=new Set(["dir","lang","hidden","inert","translate"]),Xa=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),lb=/^(data-.*)$/;function X(t,e={}){let{labelable:n,isLink:r,global:i,events:s=i,propNames:o}=e,a={};for(const l in t)Object.prototype.hasOwnProperty.call(t,l)&&(ib.has(l)||n&&sb.has(l)||r&&ob.has(l)||i&&ab.has(l)||s&&(Xa.has(l)||l.endsWith("Capture")&&Xa.has(l.slice(0,-7)))||o?.has(l)||lb.test(l))&&(a[l]=t[l]);return a}let mn="default",Es="",jr=new WeakMap;function cb(t){if(ut()&&vt()){if(mn==="default"){const e=ne(t);Es=e.documentElement.style.webkitUserSelect,e.documentElement.style.webkitUserSelect="none"}mn="disabled"}else if(t instanceof HTMLElement||t instanceof SVGElement){let e="userSelect"in t.style?"userSelect":"webkitUserSelect";jr.set(t,t.style[e]),t.style[e]="none"}}function Za(t){if(ut()&&vt()){if(mn!=="disabled")return;mn="restoring",setTimeout(()=>{go(()=>{if(mn==="restoring"){const e=ne(t);e.documentElement.style.webkitUserSelect==="none"&&(e.documentElement.style.webkitUserSelect=Es||""),Es="",mn="default"}})},300)}else if((t instanceof HTMLElement||t instanceof SVGElement)&&t&&jr.has(t)){let e=jr.get(t),n="userSelect"in t.style?"userSelect":"webkitUserSelect";t.style[n]==="none"&&(t.style[n]=e),t.getAttribute("style")===""&&t.removeAttribute("style"),jr.delete(t)}}function ub(t,e){let n=we(e),r=ne(e);if(r==null||n==null)return;let i,s=`meta[name="${CSS.escape(t)}"], meta[property="${CSS.escape(t)}"]`,o=r.querySelector(s);return o&&o instanceof n.HTMLMetaElement&&(t==="csp-nonce"&&o.nonce&&(i??=o.nonce||void 0),o.content&&(i??=o.content||void 0)),t==="csp-nonce"&&(i??=n.__webpack_nonce__||globalThis.__webpack_nonce__||void 0),i}let Qa=new WeakMap;function qu(t){let e=ne(t),n=Qa.get(e);return n??=ub("csp-nonce",e),n!==void 0&&Qa.set(e,n),n}const Zn=w.createContext({register:()=>{}});Zn.displayName="PressResponderContext";function vi(){let t=u.useRef(new Map),e=u.useCallback((i,s,o,a)=>{let l=a?.once?(...c)=>{t.current.delete(o),o(...c)}:o;t.current.set(o,{type:s,eventTarget:i,fn:l,options:a}),i.addEventListener(s,l,a)},[]),n=u.useCallback((i,s,o,a)=>{let l=t.current.get(o)?.fn||o;i.removeEventListener(s,l,a),t.current.delete(o)},[]),r=u.useCallback(()=>{t.current.forEach((i,s)=>{n(i.eventTarget,i.type,s,i.options)})},[n]);return u.useEffect(()=>r,[r]),{addGlobalListener:e,removeGlobalListener:n,removeAllGlobalListeners:r}}function db(t){let e=u.useContext(Zn);if(e){let{register:n,ref:r,...i}=e;t=A(i,t),n()}return vo(e,t.ref),t}class Sr{#e;constructor(e,n,r,i){this.#e=!0;const o=(i?.target??r.currentTarget)?.getBoundingClientRect();let a,l=0,c,d=null;r.clientX!=null&&r.clientY!=null&&(c=r.clientX,d=r.clientY),o&&(c!=null&&d!=null?(a=c-o.left,l=d-o.top):(a=o.width/2,l=o.height/2)),this.type=e,this.pointerType=n,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey,this.x=a,this.y=l,this.key=r.key}continuePropagation(){this.#e=!1}get shouldStopPropagation(){return this.#e}}const el=Symbol("linkClicked"),tl="react-aria-pressable-style",nl="data-react-aria-pressable";function Zt(t){let{onPress:e,onPressChange:n,onPressStart:r,onPressEnd:i,onPressUp:s,onClick:o,isDisabled:a,isPressed:l,preventFocusOnPress:c,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:p,ref:h,...b}=db(t),[g,v]=u.useState(!1),m=u.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:y,removeAllGlobalListeners:$}=vi(),x=u.useCallback((T,j)=>{let q=m.current;if(a||q.didFirePressStart)return!1;let D=!0;if(q.isTriggeringEvent=!0,r){let Y=new Sr("pressstart",j,T);r(Y),D=Y.shouldStopPropagation}return n&&n(!0),q.isTriggeringEvent=!1,q.didFirePressStart=!0,v(!0),D},[a,r,n]),E=u.useCallback((T,j,q=!0)=>{let D=m.current;if(!D.didFirePressStart)return!1;D.didFirePressStart=!1,D.isTriggeringEvent=!0;let Y=!0;if(i){let N=new Sr("pressend",j,T);i(N),Y=N.shouldStopPropagation}if(n&&n(!1),v(!1),e&&q&&!a){let N=new Sr("press",j,T);e(N),Y&&=N.shouldStopPropagation}return D.isTriggeringEvent=!1,Y},[a,i,n,e]),R=Re(E),k=u.useCallback((T,j)=>{let q=m.current;if(a)return!1;if(s){q.isTriggeringEvent=!0;let D=new Sr("pressup",j,T);return s(D),q.isTriggeringEvent=!1,D.shouldStopPropagation}return!0},[a,s]),S=Re(k),C=u.useCallback(T=>{let j=m.current;if(j.isPressed&&j.target){j.didFirePressStart&&j.pointerType!=null&&E(Ht(j.target,T),j.pointerType,!1),j.isPressed=!1,j.isOverTarget=!1,j.activePointerId=null,j.pointerType=null,$(),p||Za(j.target);for(let q of j.disposables)q();j.disposables=[]}},[p,$,E]),M=Re(C);u.useEffect(()=>{a&&m.current.isPressed&&M({currentTarget:m.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[a]);let I=u.useCallback(T=>{d&&C(T)},[d,C]),_=u.useCallback(T=>{a||o?.(T)},[a,o]),z=u.useCallback((T,j)=>{if(!a&&o){let q=new MouseEvent("click",T);lu(q,j),o(ho(q))}},[a,o]),U=u.useMemo(()=>{let T=m.current,j={onKeyDown(D){if(zi(D.nativeEvent,D.currentTarget)&&Z(D.currentTarget,F(D))){rl(F(D),D.key)&&D.preventDefault();let Y=!0;!T.isPressed&&!D.repeat&&(T.target=D.currentTarget,T.isPressed=!0,T.pointerType="keyboard",Y=x(D,"keyboard"));let N=D.currentTarget,W=V=>{zi(V,N)&&!V.repeat&&Z(N,F(V))&&T.target&&S(Ht(T.target,V),"keyboard")};y(ne(D.currentTarget),"keyup",ct(W,q),!0),Y&&D.stopPropagation(),D.metaKey&&He()&&T.metaKeyEvents?.set(D.key,D.nativeEvent)}else D.key==="Meta"&&(T.metaKeyEvents=new Map)},onClick(D){if(!(D&&!Z(D.currentTarget,F(D)))&&D&&D.button===0&&!T.isTriggeringEvent&&!dt.isOpening){let Y=!0;if(a&&D.preventDefault(),!T.ignoreEmulatedMouseEvents&&!T.isPressed&&(T.pointerType==="virtual"||fu(D.nativeEvent))){let N=x(D,"virtual"),W=S(D,"virtual"),V=R(D,"virtual");_(D),Y=N&&W&&V}else if(T.isPressed&&T.pointerType!=="keyboard"){let N=T.pointerType||D.nativeEvent.pointerType||"virtual",W=S(Ht(D.currentTarget,D),N),V=R(Ht(D.currentTarget,D),N,!0);Y=W&&V,T.isOverTarget=!1,_(D),M(D)}T.ignoreEmulatedMouseEvents=!1,Y&&D.stopPropagation()}}},q=D=>{if(T.isPressed&&T.target&&zi(D,T.target)){rl(F(D),D.key)&&D.preventDefault();let Y=F(D),N=Z(T.target,Y);R(Ht(T.target,D),"keyboard",N),N&&z(D,T.target),$(),D.key!=="Enter"&&Eo(T.target)&&Z(T.target,Y)&&!D[el]&&(D[el]=!0,dt(T.target,D,!1)),T.isPressed=!1,T.metaKeyEvents?.delete(D.key)}else if(D.key==="Meta"&&T.metaKeyEvents?.size){let Y=T.metaKeyEvents;T.metaKeyEvents=void 0;for(let N of Y.values())T.target?.dispatchEvent(new KeyboardEvent("keyup",N))}};if(typeof PointerEvent<"u"){j.onPointerDown=N=>{if(N.button!==0||!Z(N.currentTarget,F(N)))return;if(tm(N.nativeEvent)){T.pointerType="virtual";return}T.pointerType=N.pointerType;let W=!0;if(!T.isPressed){T.isPressed=!0,T.isOverTarget=!0,T.activePointerId=N.pointerId,T.target=N.currentTarget,p||cb(T.target),W=x(N,T.pointerType);let V=F(N);"releasePointerCapture"in V&&("hasPointerCapture"in V?V.hasPointerCapture(N.pointerId)&&V.releasePointerCapture(N.pointerId):V.releasePointerCapture(N.pointerId)),y(ne(N.currentTarget),"pointerup",D,!1),y(ne(N.currentTarget),"pointercancel",Y,!1)}W&&N.stopPropagation()},j.onMouseDown=N=>{if(Z(N.currentTarget,F(N))&&N.button===0){if(c){let W=Xh(N.target);W&&T.disposables.push(W)}N.stopPropagation()}},j.onPointerUp=N=>{!Z(N.currentTarget,F(N))||T.pointerType==="virtual"||N.button===0&&!T.isPressed&&S(N,T.pointerType||N.pointerType)},j.onPointerEnter=N=>{N.pointerId===T.activePointerId&&T.target&&!T.isOverTarget&&T.pointerType!=null&&(T.isOverTarget=!0,x(Ht(T.target,N),T.pointerType))},j.onPointerLeave=N=>{N.pointerId===T.activePointerId&&T.target&&T.isOverTarget&&T.pointerType!=null&&(T.isOverTarget=!1,R(Ht(T.target,N),T.pointerType,!1),I(N))};let D=N=>{if(N.pointerId===T.activePointerId&&T.isPressed&&N.button===0&&T.target){if(Z(T.target,F(N))&&T.pointerType!=null){let W=!1,V=setTimeout(()=>{T.isPressed&&T.target instanceof HTMLElement&&(W?M(N):(ye(T.target),T.target.click()))},80);y(N.currentTarget,"click",()=>W=!0,!0),T.disposables.push(()=>clearTimeout(V))}else M(N);T.isOverTarget=!1}},Y=N=>{M(N)};j.onDragStart=N=>{Z(N.currentTarget,F(N))&&M(N)}}return j},[y,a,c,$,p,I,x,_,z]);return u.useEffect(()=>{if(!h)return;const T=ne(h.current);if(!T||!T.head||T.getElementById(tl))return;const j=T.createElement("style");j.id=tl;let q=qu(T);q&&(j.nonce=q),j.textContent=`
-@layer {
- [${nl}] {
- touch-action: pan-x pan-y pinch-zoom;
- }
-}
- `.trim(),T.head.prepend(j)},[h]),u.useEffect(()=>{let T=m.current;return()=>{p||Za(T.target??void 0);for(let j of T.disposables)j();T.disposables=[]}},[p]),{isPressed:l||g,pressProps:A(b,U,{[nl]:!0})}}function Eo(t){return t.tagName==="A"&&t.hasAttribute("href")}function zi(t,e){const{key:n,code:r}=t,i=e,s=i.getAttribute("role");return(n==="Enter"||n===" "||n==="Spacebar"||r==="Space")&&!(i instanceof we(i).HTMLInputElement&&!zu(i,n)||i instanceof we(i).HTMLTextAreaElement||i.isContentEditable)&&!((s==="link"||!s&&Eo(i))&&n!=="Enter")}function Ht(t,e){let n=e.clientX,r=e.clientY;return{currentTarget:t,shiftKey:e.shiftKey,ctrlKey:e.ctrlKey,metaKey:e.metaKey,altKey:e.altKey,clientX:n,clientY:r,key:e.key}}function fb(t){return t instanceof HTMLInputElement?!1:t instanceof HTMLButtonElement?t.type!=="submit"&&t.type!=="reset":!Eo(t)}function rl(t,e){return He()&&e==="Enter"?!1:t instanceof HTMLInputElement?e==="Enter"&&(t.type==="checkbox"||t.type==="radio")?!1:!zu(t,e):fb(t)}const pb=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function zu(t,e){return t.type==="checkbox"||t.type==="radio"?e===" ":pb.has(t.type)}function hb(t,e){let{elementType:n="a",onPress:r,onPressStart:i,onPressEnd:s,onPressChange:o,onClick:a,isDisabled:l,...c}=t,d={};n!=="a"&&(d={role:"link",tabIndex:l?void 0:0});let{focusableProps:p}=At(t,e),{pressProps:h,isPressed:b}=Zt({onPress:r,onPressStart:i,onPressEnd:s,onPressChange:o,onClick:a,isDisabled:l,ref:e}),g=X(c,{labelable:!0}),v=A(p,h),m=Tn(),y=hi(t);return{isPressed:b,linkProps:A(g,y,{...v,...d,"aria-disabled":l||void 0,"aria-current":t["aria-current"],onClick:$=>{h.onClick?.($),bu($,m,t.href,t.routerOptions)}})}}function Mn(t){let{isDisabled:e,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:i}=t,s=u.useRef({isFocusWithin:!1}),{addGlobalListener:o,removeAllGlobalListeners:a}=vi(),l=u.useCallback(p=>{Z(p.currentTarget,F(p))&&s.current.isFocusWithin&&!Z(p.currentTarget,p.relatedTarget)&&(s.current.isFocusWithin=!1,a(),n&&n(p),i&&i(!1))},[n,i,s,a]),c=cu(l),d=u.useCallback(p=>{if(!Z(p.currentTarget,F(p)))return;let h=F(p);const b=ne(h),g=se(b);if(!s.current.isFocusWithin&&g===h){r&&r(p),i&&i(!0),s.current.isFocusWithin=!0,c(p);let v=p.currentTarget;o(b,"focus",m=>{let y=F(m);if(s.current.isFocusWithin&&!Z(v,y)){let $=new b.defaultView.FocusEvent("blur",{relatedTarget:y});lu($,v);let x=ho($);l(x)}},{capture:!0})}},[r,i,c,o,l]);return e?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:d,onBlur:l}}}function Ke(t={}){let{autoFocus:e=!1,isTextInput:n,within:r}=t,i=u.useRef({isFocused:!1,isFocusVisible:e||Kt()}),[s,o]=u.useState(!1),[a,l]=u.useState(()=>i.current.isFocused&&i.current.isFocusVisible),c=u.useCallback(()=>l(i.current.isFocused&&i.current.isFocusVisible),[]),d=u.useCallback(b=>{i.current.isFocused=b,i.current.isFocusVisible=Kt(),o(b),c()},[c]);dm(b=>{i.current.isFocusVisible=b,c()},[n,s],{enabled:s,isTextInput:n});let{focusProps:p}=yo({isDisabled:r,onFocusChange:d}),{focusWithinProps:h}=Mn({isDisabled:!r,onFocusWithinChange:d});return{isFocused:s,isFocusVisible:a,focusProps:r?h:p}}let Ss=!1,Pr=0;function mb(){Ss=!0,setTimeout(()=>{Ss=!1},500)}function il(t){t.pointerType==="touch"&&mb()}function bb(){let t=ne(null);if(!(typeof t>"u"))return Pr===0&&typeof PointerEvent<"u"&&t.addEventListener("pointerup",il),Pr++,()=>{Pr--,!(Pr>0)&&typeof PointerEvent<"u"&&t.removeEventListener("pointerup",il)}}function Ne(t){let{onHoverStart:e,onHoverChange:n,onHoverEnd:r,isDisabled:i}=t,[s,o]=u.useState(!1),a=u.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;u.useEffect(bb,[]);let{addGlobalListener:l,removeAllGlobalListeners:c}=vi(),{hoverProps:d,triggerHoverEnd:p}=u.useMemo(()=>{let h=(v,m)=>{if(a.pointerType=m,i||m==="touch"||a.isHovered||!Z(v.currentTarget,F(v)))return;a.isHovered=!0;let y=v.currentTarget;a.target=y,l(ne(F(v)),"pointerover",$=>{a.isHovered&&a.target&&!Z(a.target,F($))&&b($,$.pointerType)},{capture:!0}),e&&e({type:"hoverstart",target:y,pointerType:m}),n&&n(!0),o(!0)},b=(v,m)=>{let y=a.target;a.pointerType="",a.target=null,!(m==="touch"||!a.isHovered||!y)&&(a.isHovered=!1,c(),r&&r({type:"hoverend",target:y,pointerType:m}),n&&n(!1),o(!1))},g={};return typeof PointerEvent<"u"&&(g.onPointerEnter=v=>{Ss&&v.pointerType==="mouse"||h(v,v.pointerType)},g.onPointerLeave=v=>{!i&&Z(v.currentTarget,F(v))&&b(v,v.pointerType)}),{hoverProps:g,triggerHoverEnd:b}},[e,n,r,i,a,l,c]);return u.useEffect(()=>{i&&p({currentTarget:a.target},a.pointerType)},[i]),{hoverProps:d,isHovered:s}}const gb=u.createContext(null),So=u.forwardRef(function(e,n){[e,n]=ae(e,n,gb);let r=e.href&&!e.isDisabled?"a":"span",{linkProps:i,isPressed:s}=hb({...e,elementType:r},n),o=ee[r],{hoverProps:a,isHovered:l}=Ne(e),{focusProps:c,isFocused:d,isFocusVisible:p}=Ke(),h=ie({...e,defaultClassName:"react-aria-Link",values:{isCurrent:!!e["aria-current"],isDisabled:e.isDisabled||!1,isPressed:s,isHovered:l,isFocused:d,isFocusVisible:p}}),b=X(e,{global:!0});return delete b.onClick,w.createElement(o,{ref:n,slot:e.slot||void 0,...A(b,h,i,a,c),"data-focused":d||void 0,"data-hovered":l||void 0,"data-pressed":s||void 0,"data-focus-visible":p||void 0,"data-current":!!e["aria-current"]||void 0,"data-disabled":e.isDisabled||void 0},h.children)}),dr=u.createContext({}),Wu=St(function(e,n){[e,n]=ae(e,n,dr);let{elementType:r="label",...i}=e,s=ee[r];return w.createElement(s,{className:"react-aria-Label",...i,ref:n})});function Gu(t){let{id:e,label:n,"aria-labelledby":r,"aria-label":i,labelElementType:s="label"}=t;e=fe(e);let o=fe(),a={};n&&(r=r?`${o} ${r}`:o,a={id:o,htmlFor:s==="label"?e:void 0});let l=ur({id:e,"aria-label":i,"aria-labelledby":r});return{labelProps:a,fieldProps:l}}function Ps(t,e=-1/0,n=1/0){return Math.min(Math.max(t,e),n)}const yb=u.createContext(null),Yu=7e3;let un=null;function sl(t,e="assertive",n=Yu){un?un.announce(t,e,n):(un=new vb,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?un.announce(t,e,n):setTimeout(()=>{un?.isAttached()&&un?.announce(t,e,n)},100))}class vb{constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}isAttached(){return this.node?.isConnected}createLog(e){let n=document.createElement("div");return n.setAttribute("role","log"),n.setAttribute("aria-live",e),n.setAttribute("aria-relevant","additions"),n}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(e,n="assertive",r=Yu){if(!this.node)return;let i=document.createElement("div");typeof e=="object"?(i.setAttribute("role","img"),i.setAttribute("aria-labelledby",e["aria-labelledby"])):i.textContent=e,n==="assertive"?this.assertiveLog?.appendChild(i):this.politeLog?.appendChild(i),e!==""&&setTimeout(()=>{i.remove()},r)}clear(e){this.node&&((!e||e==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!e||e==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}}function Ju(t,e){let{elementType:n="button",isDisabled:r,onPress:i,onPressStart:s,onPressEnd:o,onPressUp:a,onPressChange:l,preventFocusOnPress:c,allowFocusWhenDisabled:d,onClick:p,href:h,target:b,rel:g,type:v="button"}=t,m;n==="button"?m={type:v,disabled:r,form:t.form,formAction:t.formAction,formEncType:t.formEncType,formMethod:t.formMethod,formNoValidate:t.formNoValidate,formTarget:t.formTarget,name:t.name,value:t.value}:m={role:"button",href:n==="a"&&!r?h:void 0,target:n==="a"?b:void 0,type:n==="input"?v:void 0,disabled:n==="input"?r:void 0,"aria-disabled":!r||n==="input"?void 0:r,rel:n==="a"?g:void 0};let{pressProps:y,isPressed:$}=Zt({onPressStart:s,onPressEnd:o,onPressChange:l,onPress:i,onPressUp:a,onClick:p,isDisabled:r,preventFocusOnPress:c,ref:e}),{focusableProps:x}=At(t,e);d&&(x.tabIndex=r?-1:x.tabIndex);let E=A(x,y,X(t,{labelable:!0}));return{isPressed:$,buttonProps:A(m,E,{"aria-haspopup":t["aria-haspopup"],"aria-expanded":t["aria-expanded"],"aria-controls":t["aria-controls"],"aria-pressed":t["aria-pressed"],"aria-current":t["aria-current"],"aria-disabled":t["aria-disabled"]})}}const Ot=u.createContext({}),De=St(function(e,n){[e,n]=ae(e,n,Ot);let r=e,{isPending:i}=r,{buttonProps:s,isPressed:o}=Ju(e,n);s=xb(s,i);let{focusProps:a,isFocused:l,isFocusVisible:c}=Ke(e),{hoverProps:d,isHovered:p}=Ne({...e,isDisabled:e.isDisabled||i}),h={isHovered:p,isPressed:(r.isPressed||o)&&!i,isFocused:l,isFocusVisible:c,isDisabled:e.isDisabled||!1,isPending:i??!1},b=ie({...e,values:h,defaultClassName:"react-aria-Button"}),g=fe(s.id),v=fe(),m=s["aria-labelledby"];i&&(m?m=`${m} ${v}`:s["aria-label"]&&(m=`${g} ${v}`));let y=u.useRef(i);u.useEffect(()=>{let x={"aria-labelledby":m||g};(!y.current&&l&&i||y.current&&l&&!i)&&sl(x,"assertive"),y.current=i},[i,l,m,g]);let $=X(e,{global:!0});return delete $.onClick,w.createElement(ee.button,{...A($,b,s,a,d),type:s.type==="submit"&&i?"button":s.type,id:g,ref:n,"aria-labelledby":m,slot:e.slot||void 0,"aria-disabled":i?"true":s["aria-disabled"],"data-disabled":e.isDisabled||void 0,"data-pressed":h.isPressed||void 0,"data-hovered":p||void 0,"data-focused":l||void 0,"data-pending":i||void 0,"data-focus-visible":c||void 0},w.createElement(yb.Provider,{value:{id:v}},b.children))}),$b=/Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;function xb(t,e){if(e){for(const n in t)n.startsWith("on")&&!$b.test(n)&&(t[n]=void 0);t.href=void 0,t.target=void 0}return t}const Xu=u.createContext({}),Po=u.forwardRef(function(e,n){[e,n]=ae(e,n,Xu);let{children:r,level:i=3,className:s,...o}=e,a=ee[`h${i}`];return w.createElement(a,{...o,ref:n,className:s??"react-aria-Heading"},r)}),ft=u.createContext({}),zr=St(function(e,n){[e,n]=ae(e,n,ft);let{elementType:r="span",...i}=e,s=ee[r];return w.createElement(s,{className:"react-aria-Text",...i,ref:n})});function Qt(t,e){if(!t)return!1;let n=window.getComputedStyle(t),r=document.scrollingElement||document.documentElement,i=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return t===r&&n.overflow!=="hidden"&&(i=!0),i&&e&&(i=t.scrollHeight!==t.clientHeight||t.scrollWidth!==t.clientWidth),i}function ko(t,e){let n=t;for(Qt(n,e)&&(n=n.parentElement);n&&!Qt(n,e);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}function Wi(t,e){let n=[],r=document.scrollingElement||document.documentElement;for(;t&&(Qt(t,e)&&n.push(t),t!==r);)t=t.parentElement;return n}function Dr(t,e,n={}){if(t===e)return;let r=e.getBoundingClientRect();wb(t,e,r,n)}function wb(t,e,n,r={}){let{block:i="nearest",inline:s="nearest"}=r,o=t.scrollTop,a=t.scrollLeft,l=t.getBoundingClientRect(),c=window.getComputedStyle(e),d=window.getComputedStyle(t),p=document.scrollingElement||document.documentElement,h=t===p,b=t===p?0:l.top,g=t===p?t.clientHeight:l.bottom,v=t===p?0:l.left,m=t===p?t.clientWidth:l.right,y=parseFloat(c.scrollMarginTop)||0,$=parseFloat(c.scrollMarginBottom)||0,x=parseFloat(c.scrollMarginLeft)||0,E=parseFloat(c.scrollMarginRight)||0,R=parseFloat(d.scrollPaddingTop)||0,k=parseFloat(d.scrollPaddingBottom)||0,S=parseFloat(d.scrollPaddingLeft)||0,C=parseFloat(d.scrollPaddingRight)||0,M=parseFloat(d.borderTopWidth)||0,I=parseFloat(d.borderBottomWidth)||0,_=parseFloat(d.borderLeftWidth)||0,z=parseFloat(d.borderRightWidth)||0,U=n.top-y,T=n.bottom+$,j=n.left-x,q=n.right+E,D=t===p?0:_+z,Y=t===p?0:M+I,N=t===p?0:t.offsetWidth-t.clientWidth-D,W=t===p?0:t.offsetHeight-t.clientHeight-Y,V=b+(h?0:M)+R,K=g-(h?0:I)-k-W,O=v+(h?0:_)+S,J=m-(h?0:z)-C;ut()&&vt()||d.direction==="ltr"?J-=N:d.direction==="rtl"&&(O+=N);let L=UK,re=jJ;if(L&&i==="start")o+=U-V;else if(L&&i==="center")o+=(U+T)/2-(V+K)/2;else if(L&&i==="end")o+=T-K;else if(L&&i==="nearest"){let ce=U-V,tt=T-K;o+=Math.abs(ce)<=Math.abs(tt)?ce:tt}if(re&&s==="start")a+=j-O;else if(re&&s==="center")a+=(j+q)/2-(O+J)/2;else if(re&&s==="end")a+=q-J;else if(re&&s==="nearest"){let ce=j-O,tt=q-J;a+=Math.abs(ce)<=Math.abs(tt)?ce:tt}t.scrollTo({left:a,top:o})}function ol(t,e={}){let{containingElement:n}=e;if(t&&t.isConnected){let r=document.scrollingElement||document.documentElement;if(window.getComputedStyle(r).overflow==="hidden"){let{left:s,top:o}=t.getBoundingClientRect(),a=Wi(t,!0);for(let d of a)Dr(d,t);let{left:l,top:c}=t.getBoundingClientRect();if(Math.abs(s-l)>1||Math.abs(o-c)>1){a=n?Wi(n,!0):[];for(let d of a)Dr(d,n,{block:"center",inline:"center"});for(let d of Wi(t,!0))Dr(d,t)}}else{let{left:s,top:o}=t.getBoundingClientRect();t?.scrollIntoView?.({block:"nearest"});let{left:a,top:l}=t.getBoundingClientRect();(Math.abs(s-a)>1||Math.abs(o-l)>1)&&(n?.scrollIntoView?.({block:"center",inline:"center"}),t.scrollIntoView?.({block:"nearest"}))}}}let Eb=0;const Gi=new Map;function Sb(t){let[e,n]=u.useState();return te(()=>{if(!t)return;let r=Gi.get(t);if(r)n(r.element.id);else{let i=`react-aria-description-${Eb++}`;n(i);let s=document.createElement("div");s.id=i,s.style.display="none",s.textContent=t,document.body.appendChild(s),r={refCount:0,element:s},Gi.set(t,r)}return r.refCount++,()=>{r&&--r.refCount===0&&(r.element.remove(),Gi.delete(t))}},[t]),{"aria-describedby":t?e:void 0}}const al={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function Zu(t={}){let{style:e,isFocusable:n}=t,[r,i]=u.useState(!1),{focusWithinProps:s}=Mn({isDisabled:!n,onFocusWithinChange:a=>i(a)}),o=u.useMemo(()=>r?e:e?{...al,...e}:al,[r]);return{visuallyHiddenProps:{...s,style:o}}}function $i(t){let{children:e,elementType:n="div",isFocusable:r,style:i,...s}=t,{visuallyHiddenProps:o}=Zu(t);return w.createElement(n,A(s,o),e)}const fr=u.createContext(null),ll=u.forwardRef(function(e,n){return u.useContext(fr)?.isInvalid?w.createElement(Pb,{...e,ref:n}):null}),Pb=u.forwardRef((t,e)=>{let n=u.useContext(fr),{elementType:r,...i}=t,s=X(i,{global:!0}),o=ie({...i,defaultClassName:"react-aria-FieldError",defaultChildren:n.validationErrors.length===0?void 0:n.validationErrors.join(" "),values:n});return o.children==null?null:w.createElement(zr,{slot:"errorMessage",elementType:r,...s,...o,ref:e})}),Qu={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},ed={...Qu,customError:!0,valid:!1},Dn={isInvalid:!1,validationDetails:Qu,validationErrors:[]},kb=u.createContext({}),ks="__reactAriaFormValidationState";function Co(t){if(t[ks]){let{realtimeValidation:e,displayValidation:n,updateValidation:r,resetValidation:i,commitValidation:s}=t[ks];return{realtimeValidation:e,displayValidation:n,updateValidation:r,resetValidation:i,commitValidation:s}}return Cb(t)}function Cb(t){let{isInvalid:e,validationState:n,name:r,value:i,builtinValidation:s,validate:o,validationBehavior:a="aria"}=t;n&&(e||=n==="invalid");let l=e!==void 0?{isInvalid:e,validationErrors:[],validationDetails:ed}:null,c=u.useMemo(()=>{if(!o||i==null)return null;let I=Tb(o,i);return cl(I)},[o,i]);s?.validationDetails.valid&&(s=void 0);let d=u.useContext(kb),p=u.useMemo(()=>r?Array.isArray(r)?r.flatMap(I=>Cs(d[I])):Cs(d[r]):[],[d,r]),[h,b]=u.useState(d),[g,v]=u.useState(!1);d!==h&&(b(d),v(!1));let m=u.useMemo(()=>cl(g?[]:p),[g,p]),y=u.useRef(Dn),[$,x]=u.useState(Dn),E=u.useRef(Dn),R=()=>{if(!k)return;S(!1);let I=c||s||y.current;Yi(I,E.current)||(E.current=I,x(I))},[k,S]=u.useState(!1);return u.useEffect(R),{realtimeValidation:l||m||c||s||Dn,displayValidation:a==="native"?l||m||$:l||m||c||s||$,updateValidation(I){a==="aria"&&!Yi($,I)?x(I):y.current=I},resetValidation(){let I=Dn;Yi(I,E.current)||(E.current=I,x(I)),a==="native"&&S(!1),v(!0)},commitValidation(){a==="native"&&S(!0),v(!0)}}}function Cs(t){return t?Array.isArray(t)?t:[t]:[]}function Tb(t,e){if(typeof t=="function"){let n=t(e);if(n&&typeof n!="boolean")return Cs(n)}return[]}function cl(t){return t.length?{isInvalid:!0,validationErrors:t,validationDetails:ed}:null}function Yi(t,e){return t===e?!0:!!t&&!!e&&t.isInvalid===e.isInvalid&&t.validationErrors.length===e.validationErrors.length&&t.validationErrors.every((n,r)=>n===e.validationErrors[r])&&Object.entries(t.validationDetails).every(([n,r])=>e.validationDetails[n]===r)}const To=u.createContext(null);function td(t){let{description:e,errorMessage:n,isInvalid:r,validationState:i}=t,{labelProps:s,fieldProps:o}=Gu(t),a=ot([!!e,!!n,r,i]),l=ot([!!e,!!n,r,i]);return o=A(o,{"aria-describedby":[a,l,t["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:s,fieldProps:o,descriptionProps:{id:a},errorMessageProps:{id:l}}}function Ro(t,e,n){let r=Re(i=>{n&&!i.defaultPrevented&&n(e)});u.useEffect(()=>{let i=t?.current?.form;return i?.addEventListener("reset",r),()=>{i?.removeEventListener("reset",r)}},[t])}function Mo(t,e,n){let{validationBehavior:r,focus:i}=t;te(()=>{if(r==="native"&&n?.current&&"setCustomValidity"in n.current&&!n.current.disabled){let c=e.realtimeValidation.isInvalid?e.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";n.current.setCustomValidity(c),n.current.hasAttribute("title")||(n.current.title=""),e.realtimeValidation.isInvalid||e.updateValidation(Mb(n.current))}});let s=u.useRef(!1),o=Re(()=>{s.current||e.resetValidation()}),a=Re(c=>{e.displayValidation.isInvalid||e.commitValidation();let d=n?.current?.form;!c.defaultPrevented&&n&&d&&Nb(d)===n.current&&(i?i():n.current?.focus(),Bn("keyboard")),c.preventDefault()}),l=Re(()=>{e.commitValidation()});u.useEffect(()=>{let c=n?.current;if(!c)return;let d=c.form,p=d?.reset;return d&&(d.reset=()=>{s.current=!window.event||window.event.type==="message"&&F(window.event)instanceof MessagePort,p?.call(d),s.current=!1}),c.addEventListener("invalid",a),c.addEventListener("change",l),d?.addEventListener("reset",o),()=>{c.removeEventListener("invalid",a),c.removeEventListener("change",l),d?.removeEventListener("reset",o),d&&(d.reset=p)}},[n,r])}function Rb(t){let e=t.validity;return{badInput:e.badInput,customError:e.customError,patternMismatch:e.patternMismatch,rangeOverflow:e.rangeOverflow,rangeUnderflow:e.rangeUnderflow,stepMismatch:e.stepMismatch,tooLong:e.tooLong,tooShort:e.tooShort,typeMismatch:e.typeMismatch,valueMissing:e.valueMissing,valid:e.valid}}function Mb(t){return{isInvalid:!t.validity.valid,validationDetails:Rb(t),validationErrors:t.validationMessage?[t.validationMessage]:[]}}function Nb(t){for(let e=0;e{r.current=!0,n(!!s)},[]);return te(()=>{r.current||n(!1)},[]),[i,e]}function ul(t=!0){let e=fe(),[n,r]=Lb(t);return{id:r?e:void 0,ref:n}}function Ib(t,e,n){let{isDisabled:r=!1,isReadOnly:i=!1,value:s,name:o,form:a,children:l,isRequired:c,validationBehavior:d="aria","aria-label":p,"aria-labelledby":h,"aria-describedby":b,onPressStart:g,onPressEnd:v,onPressChange:m,onPress:y,onPressUp:$,onClick:x}=t,E=Co({...t,value:e.isSelected}),{isInvalid:R,validationErrors:k,validationDetails:S}=E.displayValidation;Mo(t,E,n);let C=N=>{N.stopPropagation(),e.setSelected(F(N).checked)},{pressProps:M,isPressed:I}=Zt({onPressStart:g,onPressEnd:v,onPressChange:m,onPress:y,onPressUp:$,onClick:x,isDisabled:r}),[_,z]=u.useState(!1),{pressProps:U}=Zt({onPressStart(N){if(N.pointerType==="keyboard"||N.pointerType==="virtual"){N.continuePropagation();return}g?.(N),m?.(!0),z(!0)},onPressEnd(N){if(N.pointerType==="keyboard"||N.pointerType==="virtual"){N.continuePropagation();return}v?.(N),m?.(!1),z(!1)},onPressUp(N){if(N.pointerType==="keyboard"||N.pointerType==="virtual"){N.continuePropagation();return}$?.(N)},onClick:x,onPress(N){if(N.pointerType==="keyboard"||N.pointerType==="virtual"){N.continuePropagation();return}y?.(N),e.toggle(),n.current?.focus();let{[ks]:W}=t,{commitValidation:V}=W||E;V()},isDisabled:r||i}),{focusableProps:T}=At(t,n),j=A(M,T),q=X(t,{labelable:!0});Ro(n,e.defaultSelected,e.setSelected);let D=ul(),Y=ul();return{labelProps:A(U,{onClick:N=>N.preventDefault()}),inputProps:A(q,{checked:e.isSelected,"aria-required":c&&d==="aria"||void 0,required:c&&d==="native","aria-invalid":R||t.validationState==="invalid"||void 0,"aria-errormessage":t["aria-errormessage"],"aria-controls":t["aria-controls"],"aria-readonly":i||void 0,"aria-describedby":[D.id,Y.id,b].filter(Boolean).join(" ")||void 0,onChange:C,disabled:r,...s==null?{}:{value:s},name:o,form:a,type:"checkbox",...j}),descriptionProps:D,errorMessageProps:Y,isSelected:e.isSelected,isPressed:I||_,isDisabled:r,isReadOnly:i,isInvalid:R||t.validationState==="invalid",validationErrors:k,validationDetails:S}}function nd(t={}){let{isReadOnly:e}=t,[n,r]=qe(t.isSelected,t.defaultSelected||!1,t.onChange),[i]=u.useState(n);function s(a){e||r(a)}function o(){e||r(!n)}return{isSelected:n,defaultSelected:t.defaultSelected??i,setSelected:s,toggle:o}}const rd=u.createContext({}),No=u.createContext({});let jb=t=>{let{onHoverStart:e,onHoverChange:n,onHoverEnd:r,...i}=t;return i};const dl=St(function(e,n){[e,n]=ae(e,n,No);let{hoverProps:r,isHovered:i}=Ne({...e,isDisabled:e.disabled}),{isFocused:s,isFocusVisible:o,focusProps:a}=Ke({isTextInput:!0,autoFocus:e.autoFocus}),l=!!e["aria-invalid"]&&e["aria-invalid"]!=="false",c=ie({...e,values:{isHovered:i,isFocused:s,isFocusVisible:o,isDisabled:e.disabled||!1,isInvalid:l},defaultClassName:"react-aria-Input"});return w.createElement(ee.input,{...A(jb(e),a,r),...c,ref:n,"data-focused":s||void 0,"data-disabled":e.disabled||void 0,"data-hovered":i||void 0,"data-focus-visible":o||void 0,"data-invalid":l||void 0})});function id(t,e){let{inputElementType:n="input",isDisabled:r=!1,isRequired:i=!1,isReadOnly:s=!1,type:o="text",validationBehavior:a="aria"}=t,[l,c]=qe(t.value,t.defaultValue||"",t.onChange),{focusableProps:d}=At(t,e),p=Co({...t,value:l}),{isInvalid:h,validationErrors:b,validationDetails:g}=p.displayValidation,{labelProps:v,fieldProps:m,descriptionProps:y,errorMessageProps:$}=td({...t,isInvalid:h,errorMessage:t.errorMessage||b}),x=X(t,{labelable:!0});const E={type:o,pattern:t.pattern};let[R]=u.useState(l);return Ro(e,t.defaultValue??R,c),Mo(t,p,e),{labelProps:v,inputProps:A(x,n==="input"?E:void 0,{disabled:r,readOnly:s,required:i&&a==="native","aria-required":i&&a==="aria"||void 0,"aria-invalid":h||void 0,"aria-errormessage":t["aria-errormessage"],"aria-activedescendant":t["aria-activedescendant"],"aria-autocomplete":t["aria-autocomplete"],"aria-haspopup":t["aria-haspopup"],"aria-controls":t["aria-controls"],value:l,onChange:k=>c(F(k).value),autoComplete:t.autoComplete,autoCapitalize:t.autoCapitalize,maxLength:t.maxLength,minLength:t.minLength,name:t.name,form:t.form,placeholder:t.placeholder,inputMode:t.inputMode,autoCorrect:t.autoCorrect,spellCheck:t.spellCheck,[parseInt(w.version,10)>=17?"enterKeyHint":"enterkeyhint"]:t.enterKeyHint,onCopy:t.onCopy,onCut:t.onCut,onPaste:t.onPaste,onCompositionEnd:t.onCompositionEnd,onCompositionStart:t.onCompositionStart,onCompositionUpdate:t.onCompositionUpdate,onSelect:t.onSelect,onBeforeInput:t.onBeforeInput,onInput:t.onInput,...d,...m}),descriptionProps:y,errorMessageProps:$,isInvalid:h,validationErrors:b,validationDetails:g}}var sd={};sd={selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"};var od={};od={colorSwatchPicker:"颜色色板",dropzoneLabel:"放置区域",selectPlaceholder:"选择一个项目",tableResizer:"尺寸调整器"};var ad={};ad={colorSwatchPicker:"色票",dropzoneLabel:"放置區",selectPlaceholder:"選取項目",tableResizer:"大小調整器"};var ld={};ld={"ar-AE":P,"bg-BG":P,"cs-CZ":P,"da-DK":P,"de-DE":P,"el-GR":P,"en-US":sd,"es-ES":P,"et-EE":P,"fi-FI":P,"fr-FR":P,"he-IL":P,"hr-HR":P,"hu-HU":P,"it-IT":P,"ja-JP":P,"ko-KR":P,"lt-LT":P,"lv-LV":P,"nb-NO":P,"nl-NL":P,"pl-PL":P,"pt-BR":P,"pt-PT":P,"ro-RO":P,"ru-RU":P,"sk-SK":P,"sl-SI":P,"sr-SP":P,"sv-SE":P,"tr-TR":P,"uk-UA":P,"zh-CN":od,"zh-TW":ad};const xi=u.createContext({}),cd=u.createContext(null),Db=u.forwardRef(function(e,n){let{render:r}=u.useContext(cd);return w.createElement(w.Fragment,null,r(e,n))});function ud(t,e){let n=t?.renderDropIndicator,r=t?.isVirtualDragging?.(),i=u.useCallback(s=>{if(r||e?.isDropTarget(s))return n?n(s):w.createElement(Db,{target:s})},[e?.target,r,n]);return t?.useDropIndicator?i:void 0}function Kb(t,e,n){let r=t.focusedKey,i=null;if(e?.isVirtualDragging?.()&&n?.target?.type==="item"&&(i=n.target.key,n.target.dropPosition==="after")){let s=n.collection.getKeyAfter(i),o=null;if(s!=null){let a=n.collection.getItem(i)?.level??0;for(;s!=null;){let l=n.collection.getItem(s);if(!l)break;if(l.type!=="item"){s=n.collection.getKeyAfter(s);continue}if((l.level??0)<=a)break;o=s,s=n.collection.getKeyAfter(s)}}i=s??o??i}return u.useMemo(()=>new Set([r,i].filter(s=>s!=null)),[r,i])}const Lo=u.createContext({}),dd=an(Im,function(e,n){return[e,n]=ae(e,n,Lo),w.createElement(ee.header,{className:"react-aria-Header",...e,ref:n},e.children)}),_b=u.createContext(null);function wi(t){let e=u.useRef({});return w.createElement(_b.Provider,{value:e},t.children)}const Ei=u.createContext({isSelected:!1});function Fb(t){let e=X(t,{labelable:!0}),n;return t.orientation==="vertical"&&(n="vertical"),t.elementType!=="hr"?{separatorProps:{...e,role:"separator","aria-orientation":n}}:{separatorProps:e}}const Io=u.createContext({});class Ab extends on{static{this.type="separator"}filter(e,n){let r=n.getItem(this.prevKey);if(r&&r.type!=="separator"){let i=this.clone();return n.addDescendants(i,e),i}return null}}const Ob=an(Ab,function(e,n){[e,n]=ae(e,n,Io);let{elementType:r,orientation:i,style:s,className:o,slot:a,...l}=e,c=r||"hr";c==="hr"&&i==="vertical"&&(c="div");let d=ee[c],{separatorProps:p}=Fb({...l,elementType:r,orientation:i}),h=X(e,{global:!0});return w.createElement(d,{render:e.render,...A(h,p),style:s,className:o??"react-aria-Separator",ref:n,slot:a||void 0})}),jo=new WeakMap;function Bb(t){return typeof t=="string"?t.replace(/\s*/g,""):""+t}function Hb(t,e){let n=jo.get(t);if(!n)throw new Error("Unknown list");return`${n.id}-option-${Bb(e)}`}class Vb{constructor(e,n,r,i){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=o=>{if(o.nodeType===Node.ELEMENT_NODE){const a=o.shadowRoot;if(a){const l=this._doc.createTreeWalker(a,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(l),NodeFilter.FILTER_ACCEPT}else{if(typeof this.filter=="function")return this.filter(o);if(this.filter?.acceptNode)return this.filter.acceptNode(o);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}}return NodeFilter.FILTER_SKIP},this._doc=e,this.root=n,this.filter=i??null,this.whatToShow=r??NodeFilter.SHOW_ALL,this._currentNode=n,this._walkerStack.unshift(e.createTreeWalker(n,r,this._acceptNode));const s=n.shadowRoot;if(s){const o=this._doc.createTreeWalker(s,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(o)}}get currentNode(){return this._currentNode}set currentNode(e){if(!Z(this.root,e))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");const n=[];let r=e,i=e;for(this._currentNode=e;r&&r!==this.root;)if(r.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const o=r,a=this._doc.createTreeWalker(o,this.whatToShow,{acceptNode:this._acceptNode});n.push(a),a.currentNode=i,this._currentSetFor.add(a),r=i=o.host}else r=r.parentNode;const s=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});n.push(s),s.currentNode=i,this._currentSetFor.add(s),this._walkerStack=n}get doc(){return this._doc}firstChild(){let e=this.currentNode,n=this.nextNode();return Z(e,n)?(n&&(this.currentNode=n),n):(this.currentNode=e,null)}lastChild(){let n=this._walkerStack[0].lastChild();return n&&(this.currentNode=n),n}nextNode(){const e=this._walkerStack[0].nextNode();if(e){if(e.shadowRoot){let r;if(typeof this.filter=="function"?r=this.filter(e):this.filter?.acceptNode&&(r=this.filter.acceptNode(e)),r===NodeFilter.FILTER_ACCEPT)return this.currentNode=e,e;let i=this.nextNode();return i&&(this.currentNode=i),i}return e&&(this.currentNode=e),e}else if(this._walkerStack.length>1){this._walkerStack.shift();let n=this.nextNode();return n&&(this.currentNode=n),n}else return null}previousNode(){const e=this._walkerStack[0];if(e.currentNode===e.root){if(this._currentSetFor.has(e))if(this._currentSetFor.delete(e),this._walkerStack.length>1){this._walkerStack.shift();let r=this.previousNode();return r&&(this.currentNode=r),r}else return null;return null}const n=e.previousNode();if(n){if(n.shadowRoot){let i;if(typeof this.filter=="function"?i=this.filter(n):this.filter?.acceptNode&&(i=this.filter.acceptNode(n)),i===NodeFilter.FILTER_ACCEPT)return n&&(this.currentNode=n),n;let s=this.lastChild();return s&&(this.currentNode=s),s}return n&&(this.currentNode=n),n}else if(this._walkerStack.length>1){this._walkerStack.shift();let r=this.previousNode();return r&&(this.currentNode=r),r}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}}function fd(t,e,n,r){return it()?new Vb(t,e,n,r):t.createTreeWalker(e,n,r)}const fl=w.createContext(null),Ts="react-aria-focus-scope-restore";let ue=null;function Do(t){let{children:e,contain:n,restoreFocus:r,autoFocus:i}=t,s=u.useRef(null),o=u.useRef(null),a=u.useRef([]),{parentNode:l}=u.useContext(fl)||{},c=u.useMemo(()=>new Ms({scopeRef:a}),[a]);te(()=>{let h=l||$e.root;if($e.getTreeNode(h.scopeRef)&&ue&&!Wr(ue,h.scopeRef)){let b=$e.getTreeNode(ue);b&&(h=b)}h.addChild(c),$e.addNode(c)},[c,l]),te(()=>{let h=$e.getTreeNode(a);h&&(h.contain=!!n)},[n]),te(()=>{let h=s.current?.nextSibling,b=[],g=v=>v.stopPropagation();for(;h&&h!==o.current;)b.push(h),h.addEventListener(Ts,g),h=h.nextSibling;return a.current=b,()=>{for(let v of b)v.removeEventListener(Ts,g)}},[e]),Jb(a,r,n),Wb(a,n),Xb(a,r,n),Yb(a,i),u.useEffect(()=>{const h=se(ne(a.current?a.current[0]:void 0));let b=null;if(Ve(h,a.current)){for(let g of $e.traverse())g.scopeRef&&Ve(h,g.scopeRef.current)&&(b=g);b===$e.getTreeNode(a)&&(ue=b.scopeRef)}},[a]),te(()=>()=>{let h=$e.getTreeNode(a)?.parent?.scopeRef??null;(a===ue||Wr(a,ue))&&(!h||$e.getTreeNode(h))&&(ue=h),$e.removeTreeNode(a)},[a]);let d=u.useMemo(()=>Ub(a),[]),p=u.useMemo(()=>({focusManager:d,parentNode:c}),[c,d]);return w.createElement(fl.Provider,{value:p},w.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:s}),e,w.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:o}))}function Ub(t){return{focusNext(e={}){let n=t.current,{from:r,tabbable:i,wrap:s,accept:o}=e,a=r||se(ne(n[0]??void 0)),l=n[0].previousElementSibling,c=Wt(n),d=je(c,{tabbable:i,accept:o},n);d.currentNode=Ve(a,n)?a:l;let p=d.nextNode();return!p&&s&&(d.currentNode=l,p=d.nextNode()),p&&ke(p,!0),p},focusPrevious(e={}){let n=t.current,{from:r,tabbable:i,wrap:s,accept:o}=e,a=r||se(ne(n[0]??void 0)),l=n[n.length-1].nextElementSibling,c=Wt(n),d=je(c,{tabbable:i,accept:o},n);d.currentNode=Ve(a,n)?a:l;let p=d.previousNode();return!p&&s&&(d.currentNode=l,p=d.previousNode()),p&&ke(p,!0),p},focusFirst(e={}){let n=t.current,{tabbable:r,accept:i}=e,s=Wt(n),o=je(s,{tabbable:r,accept:i},n);o.currentNode=n[0].previousElementSibling;let a=o.nextNode();return a&&ke(a,!0),a},focusLast(e={}){let n=t.current,{tabbable:r,accept:i}=e,s=Wt(n),o=je(s,{tabbable:r,accept:i},n);o.currentNode=n[n.length-1].nextElementSibling;let a=o.previousNode();return a&&ke(a,!0),a}}}function Wt(t){return t[0].parentElement}function An(t){let e=$e.getTreeNode(ue);for(;e&&e.scopeRef!==t;){if(e.contain)return!1;e=e.parent}return!0}function qb(t){if(!t.form)return Array.from(ne(t).querySelectorAll(`input[type="radio"][name="${CSS.escape(t.name)}"]`)).filter(r=>!r.form);const e=t.form.elements.namedItem(t.name);let n=we(t);return e instanceof n.RadioNodeList?Array.from(e).filter(r=>r instanceof n.HTMLInputElement):e instanceof n.HTMLInputElement?[e]:[]}function zb(t){if(t.checked)return!0;const e=qb(t);return e.length>0&&!e.some(n=>n.checked)}function Wb(t,e){let n=u.useRef(void 0),r=u.useRef(void 0);te(()=>{let i=t.current;if(!e){r.current&&(cancelAnimationFrame(r.current),r.current=void 0);return}const s=ne(i?i[0]:void 0);let o=c=>{if(c.key!=="Tab"||c.altKey||c.ctrlKey||c.metaKey||!An(t)||c.isComposing)return;let d=se(s),p=t.current;if(!p||!Ve(d,p))return;let h=Wt(p),b=je(h,{tabbable:!0},p);if(!d)return;b.currentNode=d;let g=c.shiftKey?b.previousNode():b.nextNode();g||(b.currentNode=c.shiftKey?p[p.length-1].nextElementSibling:p[0].previousElementSibling,g=c.shiftKey?b.previousNode():b.nextNode()),c.preventDefault(),g&&(ke(g,!0),g instanceof we(g).HTMLInputElement&&g.select())},a=c=>{(!ue||Wr(ue,t))&&Ve(F(c),t.current)?(ue=t,n.current=F(c)):An(t)&&!jt(F(c),t)?n.current?ke(n.current):ue&&ue.current&&Rs(ue.current):An(t)&&(n.current=F(c))},l=c=>{r.current&&cancelAnimationFrame(r.current),r.current=requestAnimationFrame(()=>{let d=at(),p=(d==="virtual"||d===null)&&Gn()&&du(),h=se(s);if(!p&&h&&An(t)&&!jt(h,t)){ue=t;let b=F(c);b&&b.isConnected?(n.current=b,ke(n.current)):ue.current&&Rs(ue.current)}})};return s.addEventListener("keydown",o,!1),s.addEventListener("focusin",a,!1),i?.forEach(c=>c.addEventListener("focusin",a,!1)),i?.forEach(c=>c.addEventListener("focusout",l,!1)),()=>{s.removeEventListener("keydown",o,!1),s.removeEventListener("focusin",a,!1),i?.forEach(c=>c.removeEventListener("focusin",a,!1)),i?.forEach(c=>c.removeEventListener("focusout",l,!1))}},[t,e]),te(()=>()=>{r.current&&cancelAnimationFrame(r.current)},[r])}function pd(t){return jt(t)}function Ve(t,e){return!t||!e?!1:e.some(n=>Z(n,t))}function jt(t,e=null){if(t instanceof Element&&t.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of $e.traverse($e.getTreeNode(e)))if(n&&Ve(t,n.current))return!0;return!1}function Gb(t){return jt(t,ue)}function Wr(t,e){let n=$e.getTreeNode(e)?.parent;for(;n;){if(n.scopeRef===t)return!0;n=n.parent}return!1}function ke(t,e=!1){if(t!=null&&!e)try{_t(t)}catch{}else if(t!=null)try{t.focus()}catch{}}function hd(t,e=!0){let n=t[0].previousElementSibling,r=Wt(t),i=je(r,{tabbable:e},t);i.currentNode=n;let s=i.nextNode();return e&&!s&&(r=Wt(t),i=je(r,{tabbable:!1},t),i.currentNode=n,s=i.nextNode()),s}function Rs(t,e=!0){ke(hd(t,e))}function Yb(t,e){const n=w.useRef(e);u.useEffect(()=>{if(n.current){ue=t;const r=ne(t.current?t.current[0]:void 0);!Ve(se(r),ue.current)&&t.current&&Rs(t.current)}n.current=!1},[t])}function Jb(t,e,n){te(()=>{if(e||n)return;let r=t.current;const i=ne(r?r[0]:void 0);let s=o=>{let a=F(o);Ve(a,t.current)?ue=t:pd(a)||(ue=null)};return i.addEventListener("focusin",s,!1),r?.forEach(o=>o.addEventListener("focusin",s,!1)),()=>{i.removeEventListener("focusin",s,!1),r?.forEach(o=>o.removeEventListener("focusin",s,!1))}},[t,e,n])}function pl(t){let e=$e.getTreeNode(ue);for(;e&&e.scopeRef!==t;){if(e.nodeToRestore)return!1;e=e.parent}return e?.scopeRef===t}function Xb(t,e,n){const r=u.useRef(typeof document<"u"?se(ne(t.current?t.current[0]:void 0)):null);te(()=>{let i=t.current;const s=ne(i?i[0]:void 0);if(!e||n)return;let o=()=>{(!ue||Wr(ue,t))&&Ve(se(s),t.current)&&(ue=t)};return s.addEventListener("focusin",o,!1),i?.forEach(a=>a.addEventListener("focusin",o,!1)),()=>{s.removeEventListener("focusin",o,!1),i?.forEach(a=>a.removeEventListener("focusin",o,!1))}},[t,n]),te(()=>{const i=ne(t.current?t.current[0]:void 0);if(!e)return;let s=o=>{if(o.key!=="Tab"||o.altKey||o.ctrlKey||o.metaKey||!An(t)||o.isComposing)return;let a=i.activeElement;if(!jt(a,t)||!pl(t))return;let l=$e.getTreeNode(t);if(!l)return;let c=l.nodeToRestore,d=je(i.body,{tabbable:!0});d.currentNode=a;let p=o.shiftKey?d.previousNode():d.nextNode();if((!c||!c.isConnected||c===i.body)&&(c=void 0,l.nodeToRestore=void 0),(!p||!jt(p,t))&&c){d.currentNode=c;do p=o.shiftKey?d.previousNode():d.nextNode();while(jt(p,t));o.preventDefault(),o.stopPropagation(),p?ke(p,!0):pd(c)?ke(c,!0):a.blur()}};return n||i.addEventListener("keydown",s,!0),()=>{n||i.removeEventListener("keydown",s,!0)}},[t,e,n]),te(()=>{const i=ne(t.current?t.current[0]:void 0);if(!e)return;let s=$e.getTreeNode(t);if(s)return s.nodeToRestore=r.current??void 0,()=>{let o=$e.getTreeNode(t);if(!o)return;let a=o.nodeToRestore,l=se(i);if(e&&a&&(l&&jt(l,t)||l===i.body&&pl(t))){let c=$e.clone();requestAnimationFrame(()=>{if(i.activeElement===i.body){let d=c.getTreeNode(t);for(;d;){if(d.nodeToRestore&&d.nodeToRestore.isConnected){hl(d.nodeToRestore);return}d=d.parent}for(d=c.getTreeNode(t);d;){if(d.scopeRef&&d.scopeRef.current&&$e.getTreeNode(d.scopeRef)){let p=hd(d.scopeRef.current,!0);if(p){hl(p);return}}d=d.parent}}})}}},[t,e])}function hl(t){t.dispatchEvent(new CustomEvent(Ts,{bubbles:!0,cancelable:!0}))&&ke(t)}function je(t,e,n){let r=e?.tabbable?po:ou,i=t?.nodeType===Node.ELEMENT_NODE?t:null,s=ne(i),o=fd(s,t||s,NodeFilter.SHOW_ELEMENT,{acceptNode(a){return Z(e?.from,a)||e?.tabbable&&a.tagName==="INPUT"&&a.getAttribute("type")==="radio"&&(!zb(a)||o.currentNode.tagName==="INPUT"&&o.currentNode.type==="radio"&&o.currentNode.name===a.name)?NodeFilter.FILTER_REJECT:r(a)&&(!n||Ve(a,n))&&(!e?.accept||e.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return e?.from&&(o.currentNode=e.from),o}function Zb(t,e={}){return{focusNext(n={}){let r=t.current;if(!r)return null;let{from:i,tabbable:s=e.tabbable,wrap:o=e.wrap,accept:a=e.accept}=n,l=i||se(ne(r)),c=je(r,{tabbable:s,accept:a});Z(r,l)&&(c.currentNode=l);let d=c.nextNode();return!d&&o&&(c.currentNode=r,d=c.nextNode()),d&&ke(d,!0),d},focusPrevious(n=e){let r=t.current;if(!r)return null;let{from:i,tabbable:s=e.tabbable,wrap:o=e.wrap,accept:a=e.accept}=n,l=i||se(ne(r)),c=je(r,{tabbable:s,accept:a});if(Z(r,l))c.currentNode=l;else{let p=Ji(c);return p&&ke(p,!0),p??null}let d=c.previousNode();if(!d&&o){c.currentNode=r;let p=Ji(c);if(!p)return null;d=p}return d&&ke(d,!0),d??null},focusFirst(n=e){let r=t.current;if(!r)return null;let{tabbable:i=e.tabbable,accept:s=e.accept}=n,a=je(r,{tabbable:i,accept:s}).nextNode();return a&&ke(a,!0),a},focusLast(n=e){let r=t.current;if(!r)return null;let{tabbable:i=e.tabbable,accept:s=e.accept}=n,o=je(r,{tabbable:i,accept:s}),a=Ji(o);return a&&ke(a,!0),a??null}}}function Ji(t){let e,n;do n=t.lastChild(),n&&(e=n);while(n);return e}class Ko{constructor(){this.fastMap=new Map,this.root=new Ms({scopeRef:null}),this.fastMap.set(null,this.root)}get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,n,r){let i=this.fastMap.get(n??null);if(!i)return;let s=new Ms({scopeRef:e});i.addChild(s),s.parent=i,this.fastMap.set(e,s),r&&(s.nodeToRestore=r)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(e===null)return;let n=this.fastMap.get(e);if(!n)return;let r=n.parent;for(let s of this.traverse())s!==n&&n.nodeToRestore&&s.nodeToRestore&&n.scopeRef&&n.scopeRef.current&&Ve(s.nodeToRestore,n.scopeRef.current)&&(s.nodeToRestore=n.nodeToRestore);let i=n.children;r&&(r.removeChild(n),i.size>0&&i.forEach(s=>r&&r.addChild(s))),this.fastMap.delete(n.scopeRef)}*traverse(e=this.root){if(e.scopeRef!=null&&(yield e),e.children.size>0)for(let n of e.children)yield*this.traverse(n)}clone(){let e=new Ko;for(let n of this.traverse())e.addTreeNode(n.scopeRef,n.parent?.scopeRef??null,n.nodeToRestore);return e}}class Ms{constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}}let $e=new Ko;function Ns(t){return Qh()?t.altKey:t.ctrlKey}function Yt(t,e){let n=`[data-key="${CSS.escape(String(e))}"]`,r=t.current?.dataset.collection;return r&&(n=`[data-collection="${CSS.escape(r)}"]${n}`),t.current?.querySelector(n)}const md=new WeakMap;function Qb(t){let e=fe();return md.set(t,e),e}function eg(t){return md.get(t)}const ml=1e3;function bd(t){let{keyboardDelegate:e,selectionManager:n,onTypeSelect:r}=t,i=u.useRef({search:"",timeout:void 0}),s=a=>{if(i.current.search.length>0&&a.key===" "){if(a.preventDefault(),(!("continuePropagation"in a)||"continuePropagation"in a&&!a.isPropagationStopped())&&a.stopPropagation(),i.current.search+=" ",e.getKeyForSearch!=null){let l=e.getKeyForSearch(i.current.search,n.focusedKey);l==null&&(l=e.getKeyForSearch(i.current.search)),l!=null&&(n.setFocusedKey(l),r&&r(l))}clearTimeout(i.current.timeout),i.current.timeout=setTimeout(()=>{i.current.search=""},ml)}},o=a=>{let l=tg(a.key);if(!(!l||a.ctrlKey||a.metaKey||a.altKey||!Z(a.currentTarget,F(a))||i.current.search.length===0&&l===" ")){if(i.current.search+=l,e.getKeyForSearch!=null){let c=e.getKeyForSearch(i.current.search,n.focusedKey);if(c==null&&(c=e.getKeyForSearch(i.current.search)),c!=null)n.setFocusedKey(c),r&&r(c),a.preventDefault(),"continuePropagation"in a||a.stopPropagation();else{i.current.search="",clearTimeout(i.current.timeout),i.current.timeout=void 0;return}}clearTimeout(i.current.timeout),i.current.timeout=setTimeout(()=>{i.current.search=""},ml)}};return u.useEffect(()=>{let a=i.current.timeout;return()=>{clearTimeout(a)}},[i]),{typeSelectProps:{onKeyDownCapture:e.getKeyForSearch?s:void 0,onKeyDown:e.getKeyForSearch?o:void 0}}}function tg(t){return t.length===1||!/^[A-Z]/i.test(t)?t:""}function bl(t,e){const n=u.useRef(!0),r=u.useRef(null);te(()=>(n.current=!0,()=>{n.current=!1}),[]),te(()=>{n.current?n.current=!1:(!r.current||e.some((i,s)=>!Object.is(i,r[s])))&&t(),r.current=e},e)}function gd(t){let{selectionManager:e,keyboardDelegate:n,ref:r,autoFocus:i=!1,shouldFocusWrap:s=!1,disallowEmptySelection:o=!1,disallowSelectAll:a=!1,escapeKeyBehavior:l="clearSelection",selectOnFocus:c=e.selectionBehavior==="replace",disallowTypeAhead:d=!1,shouldUseVirtualFocus:p,allowsTabNavigation:h=!1,scrollRef:b=r,linkBehavior:g="action",UNSTABLE_focusOnEntry:v}=t,{direction:m}=Ue(),y=Tn();const $=(B,H,Pe)=>{if(H!=null){if(e.isLink(H)&&g==="selection"&&c&&!Ns(B)){rn.flushSync(()=>{e.setFocusedKey(H,Pe)});let ge=Yt(r,H),$r=e.getItemProps(H);if(ge){y.open(ge,B,$r.href,$r.routerOptions);return}return!1}if(e.setFocusedKey(H,Pe),e.isLink(H)&&g==="override")return!1;if(B.shiftKey&&e.selectionMode==="multiple"){e.extendSelection(H);return}else if(c&&!Ns(B)){e.replaceSelection(H);return}}return!1};let x=B=>{if(n.getKeyBelow){let H=e.focusedKey!=null?n.getKeyBelow?.(e.focusedKey):n.getFirstKey?.();if(H==null&&s&&(H=n.getFirstKey?.(e.focusedKey)),H!=null){$(B,H);return}}return!1},E=B=>{if(n.getKeyAbove){let H=e.focusedKey!=null?n.getKeyAbove?.(e.focusedKey):n.getLastKey?.();if(H==null&&s&&(H=n.getLastKey?.(e.focusedKey)),H!=null){$(B,H);return}}return!1},R=B=>{if(n.getFirstKey){if(e.focusedKey===null&&B.shiftKey)return!1;let H=n.getFirstKey(e.focusedKey,hn(B));if(e.setFocusedKey(H),H!=null){if(hn(B)&&B.shiftKey&&e.selectionMode==="multiple"){e.extendSelection(H);return}else if(c){e.replaceSelection(H);return}}}return!1},k=B=>{if(n.getKeyLeftOf){let H=e.focusedKey!=null?n.getKeyLeftOf?.(e.focusedKey):n.getFirstKey?.();if(H==null&&s&&(H=m==="rtl"?n.getFirstKey?.(e.focusedKey):n.getLastKey?.(e.focusedKey)),H!=null){$(B,H,m==="rtl"?"first":"last");return}}return!1},S=B=>{if(n.getKeyRightOf){let H=e.focusedKey!=null?n.getKeyRightOf?.(e.focusedKey):n.getFirstKey?.();if(H==null&&s&&(H=m==="rtl"?n.getLastKey?.(e.focusedKey):n.getFirstKey?.(e.focusedKey)),H!=null){$(B,H,m==="rtl"?"last":"first");return}}return!1},C=B=>{if(n.getLastKey){if(e.focusedKey===null&&B.shiftKey)return!1;let H=n.getLastKey(e.focusedKey,hn(B));if(e.setFocusedKey(H),H!=null){if(hn(B)&&B.shiftKey&&e.selectionMode==="multiple"){e.extendSelection(H);return}else if(c){e.replaceSelection(H);return}}}return!1},M=B=>{if(n.getKeyPageBelow&&e.focusedKey!=null){let H=n.getKeyPageBelow(e.focusedKey);if(H!=null)return $(B,H)}return!1},I=B=>{if(n.getKeyPageAbove&&e.focusedKey!=null){let H=n.getKeyPageAbove(e.focusedKey);if(H!=null)return $(B,H)}return!1},_=()=>{if(e.selectionMode==="multiple"&&a!==!0){e.selectAll();return}return!1},z=()=>{if(l==="clearSelection"&&!o&&e.selectedKeys.size!==0){e.clearSelection();return}return!1},U=()=>{if(!h&&r.current){let B=je(r.current,{tabbable:!0}),H,Pe;do Pe=B.lastChild(),Pe&&(H=Pe);while(Pe);let ge=se();H&&(!Dt(H)||ge&&!po(ge))&&ye(H)}return{shouldContinuePropagation:!0,shouldPreventDefault:!1}},T=()=>(!h&&r.current&&r.current.focus(),{shouldContinuePropagation:!0,shouldPreventDefault:!1}),j=(B,H)=>({[He()?B+"+Shift+Alt":B+"+Shift+Control"]:H,[B+"+Shift"]:H,[He()?B+"+Alt":B+"+Control"]:H,[B]:H}),{keyboardProps:q}=Ze({shortcuts:{...j("ArrowDown",x),...j("ArrowUp",E),...j("ArrowLeft",k),...j("ArrowRight",S),...j("PageDown",M),...j("PageUp",I)},allowRepeats:!0}),{keyboardProps:D}=Ze({shortcuts:{...j("Home",R),...j("End",C),"Mod+A":_,Escape:z,Tab:U,"Tab+Shift":T}}),Y=u.useRef({top:0,left:0});zt(b,"scroll",()=>{Y.current={top:b.current?.scrollTop??0,left:b.current?.scrollLeft??0}});let N=B=>{if(e.isFocused){Z(B.currentTarget,F(B))||e.setFocused(!1);return}if(!Z(B.currentTarget,F(B)))return;let H=at();e.setFocused(!0);let Pe=ge=>{ge!=null&&(e.setFocusedKey(ge),c&&!e.isSelected(ge)&&e.replaceSelection(ge))};if(v&&(H==="keyboard"||H==="virtual"))Pe(v==="first"?n.getFirstKey?.():n.getLastKey?.());else if(e.focusedKey==null){let ge=B.relatedTarget;ge&&B.currentTarget.compareDocumentPosition(ge)&Node.DOCUMENT_POSITION_FOLLOWING?Pe(e.lastSelectedKey??n.getLastKey?.()):Pe(e.firstSelectedKey??n.getFirstKey?.())}else b.current&&(b.current.scrollTop=Y.current.top,b.current.scrollLeft=Y.current.left);if(e.focusedKey!=null&&b.current){let ge=Yt(r,e.focusedKey);ge instanceof HTMLElement&&(!Dt(ge)&&!p&&ye(ge),(H==="keyboard"||v&&H==="virtual")&&ol(ge,{containingElement:r.current}))}},W=B=>{Z(B.currentTarget,B.relatedTarget)||e.setFocused(!1)},V=u.useRef(!1);zt(r,ys,p?B=>{let{detail:H}=B;B.stopPropagation(),e.setFocused(!0),H?.focusStrategy==="first"&&(V.current=!0)}:void 0);let K=n.getFirstKey?.()??null;bl(()=>{if(V.current)if(K==null){let B=se();co(r.current),Or(B,null),e.collection.size>0&&(V.current=!1)}else e.setFocusedKey(K),V.current=!1},[K,e.collection.size]),bl(()=>{e.collection.size>0&&(V.current=!1)},[e.focusedKey]),zt(r,nu,p?B=>{B.stopPropagation(),e.setFocused(!1),B.detail?.clearFocusKey&&e.setFocusedKey(null)}:void 0);const O=u.useRef(i),J=u.useRef(!1);u.useEffect(()=>{if(O.current){let B=null;i==="first"&&(B=n.getFirstKey?.()??null),i==="last"&&(B=n.getLastKey?.()??null);let H=e.selectedKeys;if(H.size){for(let Pe of H)if(e.canSelectItem(Pe)){B=Pe;break}}e.setFocused(!0),e.setFocusedKey(B),B!=null&&c&&!H.size&&e.canSelectItem(B)&&e.replaceSelection(B),B==null&&!p&&r.current&&_t(r.current),e.collection.size>0&&(O.current=!1,J.current=!0)}});let L=u.useRef(e.focusedKey),re=u.useRef(null);u.useEffect(()=>{if(e.isFocused&&e.focusedKey!=null&&(e.focusedKey!==L.current||J.current)&&b.current&&r.current){let B=at(),H=Yt(r,e.focusedKey);if(!(H instanceof HTMLElement))return;(B==="keyboard"||J.current)&&(re.current&&cancelAnimationFrame(re.current),re.current=requestAnimationFrame(()=>{b.current&&(Dr(b.current,H),B!=="virtual"&&ol(H,{containingElement:r.current}))}))}!p&&e.isFocused&&e.focusedKey==null&&L.current!=null&&r.current&&_t(r.current),L.current=e.focusedKey,J.current=!1}),u.useEffect(()=>()=>{re.current&&cancelAnimationFrame(re.current)},[]),zt(r,"react-aria-focus-scope-restore",B=>{B.preventDefault(),e.setFocused(!0)});let ce={...A(D,q),onFocus:N,onBlur:W,onMouseDown(B){b.current===F(B)&&B.preventDefault()}},{typeSelectProps:tt}=bd({keyboardDelegate:n,selectionManager:e});d||(ce=A(tt,ce));let vr;p||(vr=e.focusedKey==null?0:-1);let Vi=Qb(e.collection);return{collectionProps:A(ce,{tabIndex:vr,"data-collection":Vi})}}class gl{constructor(e){this.ref=e}getItemRect(e){let n=this.ref.current;if(!n)return null;let r=e!=null?Yt(this.ref,e):null;if(!r)return null;let i=n.getBoundingClientRect(),s=r.getBoundingClientRect();return{x:s.left-i.left-n.clientLeft+n.scrollLeft,y:s.top-i.top-n.clientTop+n.scrollTop,width:s.width,height:s.height}}getContentSize(){let e=this.ref.current;return{width:e?.scrollWidth??0,height:e?.scrollHeight??0}}getVisibleRect(){let e=this.ref.current;return{x:e?.scrollLeft??0,y:e?.scrollTop??0,width:e?.clientWidth??0,height:e?.clientHeight??0}}}class _o{constructor(...e){if(e.length===1){let n=e[0];this.collection=n.collection,this.ref=n.ref,this.collator=n.collator,this.disabledKeys=n.disabledKeys||new Set,this.disabledBehavior=n.disabledBehavior||"all",this.orientation=n.orientation||"vertical",this.direction=n.direction,this.layout=n.layout||"stack",this.layoutDelegate=n.layoutDelegate||new gl(n.ref)}else this.collection=e[0],this.disabledKeys=e[1],this.ref=e[2],this.collator=e[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new gl(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}isDisabled(e){return this.disabledBehavior==="all"&&(e.props?.isDisabled||this.disabledKeys.has(e.key))&&e.props?.disabledBehavior!=="selection"}findNextNonDisabled(e,n,r=!1){let i=e;for(;i!=null;){let s=this.collection.getItem(i);if(s?.type==="item"&&(r||!this.isDisabled(s)))return i;i=n(i)}return null}getNextKey(e,n){let r=e;return r=this.collection.getKeyAfter(r),this.findNextNonDisabled(r,i=>this.collection.getKeyAfter(i),n?.includeDisabled)}getPreviousKey(e,n){let r=e;return r=this.collection.getKeyBefore(r),this.findNextNonDisabled(r,i=>this.collection.getKeyBefore(i),n?.includeDisabled)}findKey(e,n,r){let i=e,s=this.layoutDelegate.getItemRect(i);if(!s||i==null)return null;let o=s;do{if(i=n(i),i==null)break;s=this.layoutDelegate.getItemRect(i)}while(s&&r(o,s)&&i!=null);return i}isSameRow(e,n){return e.y===n.y||e.x!==n.x}isSameColumn(e,n){return e.x===n.x||e.y!==n.y}isReversed(e){let n=this.getNextKey(e),r=Yt(this.ref,e);if(n!=null){let s=Yt(this.ref,n);return!r||!s?!1:r.getBoundingClientRect().top>s.getBoundingClientRect().top}let i=this.getPreviousKey(e);if(i!=null){let s=Yt(this.ref,i);return!r||!s?!1:s.getBoundingClientRect().top>r.getBoundingClientRect().top}return!1}getKeyBelow(e,n){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(e,r=>this.getNextKey(r,n),this.isSameRow):this.orientation==="vertical"?this.isReversed(e)?this.getPreviousKey(e,n):this.getNextKey(e,n):this.getNextKey(e,n)}getKeyAbove(e,n){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(e,r=>this.getPreviousKey(r,n),this.isSameRow):this.orientation==="vertical"?this.isReversed(e)?this.getNextKey(e,n):this.getPreviousKey(e,n):this.getPreviousKey(e,n)}getNextColumn(e,n,r){return n?this.getPreviousKey(e,r):this.getNextKey(e,r)}getKeyRightOf(e,n){let r=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[r]?(e=this.layoutDelegate[r](e),this.findNextNonDisabled(e,i=>this.layoutDelegate[r](i),n?.includeDisabled)):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(e,this.direction==="rtl",n):this.findKey(e,i=>this.getNextColumn(i,this.direction==="rtl",n),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(e,this.direction==="rtl",n):null}getKeyLeftOf(e,n){let r=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[r]?(e=this.layoutDelegate[r](e),this.findNextNonDisabled(e,i=>this.layoutDelegate[r](i),n?.includeDisabled)):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(e,this.direction==="ltr",n):this.findKey(e,i=>this.getNextColumn(i,this.direction==="ltr",n),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(e,this.direction==="ltr",n):null}getFirstKey(){let e=this.collection.getFirstKey();return this.findNextNonDisabled(e,n=>this.collection.getKeyAfter(n))}getLastKey(){let e=this.collection.getLastKey();return this.findNextNonDisabled(e,n=>this.collection.getKeyBefore(n))}getKeyPageAbove(e){let n=this.ref.current,r=this.layoutDelegate.getItemRect(e);if(!r)return null;let i=this.isReversed(e);if(n&&!Qt(n))return this.getFirstKey();let s=e;if(this.orientation==="horizontal"){let o=Math.max(0,r.x+r.width-this.layoutDelegate.getVisibleRect().width);for(;r&&r.x>o&&s!=null;)s=this.getKeyAbove(s),r=s==null?null:this.layoutDelegate.getItemRect(s)}else{let o=this.layoutDelegate.getVisibleRect(),a=i?r.y-o.height:Math.max(0,r.y+r.height-o.height);for(;r&&r.y>a&&s!=null;)s=this.getKeyAbove(s),r=s==null?null:this.layoutDelegate.getItemRect(s)}return s??(i?this.getLastKey():this.getFirstKey())}getKeyPageBelow(e){let n=this.ref.current,r=this.layoutDelegate.getItemRect(e);if(!r)return null;let i=this.isReversed(e);if(n&&!Qt(n))return this.getLastKey();let s=e;if(this.orientation==="horizontal"){let o=Math.min(this.layoutDelegate.getContentSize().width,r.x-r.width+this.layoutDelegate.getVisibleRect().width);for(;r&&r.xi[0]s||new _o({collection:n,disabledKeys:r,disabledBehavior:c,ref:i,collator:l,layoutDelegate:o,orientation:a}),[s,o,n,r,i,l,c,a]),{collectionProps:p}=gd({...t,ref:i,selectionManager:e,keyboardDelegate:d});return{listProps:p}}function ng(t,e,n){let r=X(t,{labelable:!0}),i=t.selectionBehavior||"toggle",s=t.orientation||"vertical",o=t.linkBehavior||(i==="replace"?"action":"override");i==="toggle"&&o==="action"&&(o="override");let{listProps:a}=yd({...t,ref:n,selectionManager:e.selectionManager,collection:e.collection,disabledKeys:e.disabledKeys,linkBehavior:o}),{focusWithinProps:l}=Mn({onFocusWithin:t.onFocus,onBlurWithin:t.onBlur,onFocusWithinChange:t.onFocusChange}),c=fe(t.id);jo.set(e,{id:c,shouldUseVirtualFocus:t.shouldUseVirtualFocus,shouldSelectOnPressUp:t.shouldSelectOnPressUp,shouldFocusOnHover:t.shouldFocusOnHover,isVirtualized:t.isVirtualized,onAction:t.onAction,linkBehavior:o,UNSTABLE_itemBehavior:t.UNSTABLE_itemBehavior});let{labelProps:d,fieldProps:p}=Gu({...t,id:c,labelElementType:"span"});return{labelProps:d,listBoxProps:A(r,l,e.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox","aria-orientation":s,...A(p,a)})}}const rg=500;function Ao(t){let{isDisabled:e,pointerType:n,onLongPressStart:r,onLongPressEnd:i,onLongPress:s,threshold:o=rg,accessibilityDescription:a}=t;const l=u.useRef(void 0);let{addGlobalListener:c,removeAllGlobalListeners:d}=vi(),p=g=>n?g.pointerType===n:g.pointerType==="mouse"||g.pointerType==="touch",{pressProps:h}=Zt({isDisabled:e,onPressStart(g){if(g.continuePropagation(),p(g)){r&&r({...g,type:"longpressstart"}),l.current=setTimeout(()=>{g.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),c(g.target,"click",m=>m.preventDefault(),{once:!0}),ne(g.target).activeElement!==g.target&&ye(g.target),s&&s({...g,type:"longpress"}),l.current=void 0},o),g.pointerType==="touch"&&c(g.target,"contextmenu",m=>m.preventDefault(),{once:!0});let v=we(g.target);c(v,"pointerup",()=>{setTimeout(()=>{d()},100)},{once:!0})}},onPressEnd(g){l.current&&clearTimeout(l.current),i&&p(g)&&i({...g,type:"longpressend"})}}),b=Sb(s&&!e?a:void 0);return{longPressProps:A(h,b)}}function Oo(t){let{id:e,selectionManager:n,key:r,ref:i,shouldSelectOnPressUp:s,shouldUseVirtualFocus:o,focus:a,isDisabled:l,onAction:c,allowsDifferentPressOrigin:d,linkBehavior:p="action"}=t,h=Tn();e=fe(e);let b=L=>{if(L.pointerType==="keyboard"&&Ns(L))n.toggleSelection(r);else{if(n.selectionMode==="none")return;if(n.isLink(r)){if(p==="selection"&&i.current){let re=n.getItemProps(r);h.open(i.current,L,re.href,re.routerOptions),n.setSelectedKeys(n.selectedKeys);return}else if(p==="override"||p==="none")return}n.selectionMode==="single"?n.isSelected(r)&&!n.disallowEmptySelection?n.toggleSelection(r):n.replaceSelection(r):L&&L.shiftKey?n.extendSelection(r):n.selectionBehavior==="toggle"||L&&(hn(L)||L.pointerType==="touch"||L.pointerType==="virtual")?n.toggleSelection(r):n.replaceSelection(r)}};u.useEffect(()=>{r===n.focusedKey&&n.isFocused&&(o?co(i.current):a?a():se()!==i.current&&i.current&&_t(i.current))},[i,r,n.focusedKey,n.childFocusStrategy,n.isFocused,o]),l=l||n.isDisabled(r);let g={};!o&&!l?g={tabIndex:r===n.focusedKey?0:-1,onFocus(L){F(L)===i.current&&n.setFocusedKey(r)}}:l&&(g.onMouseDown=L=>{L.preventDefault()}),u.useEffect(()=>{l&&n.focusedKey===r&&n.setFocusedKey(null)},[n,l,r]);let v=n.isLink(r)&&p==="override",m=c&&t.UNSTABLE_itemBehavior==="action",y=n.isLink(r)&&p!=="selection"&&p!=="none",$=!l&&n.canSelectItem(r)&&!v&&!m,x=(c||y)&&!l,E=x&&(n.selectionBehavior==="replace"?!$:!$||n.isEmpty),R=x&&$&&n.selectionBehavior==="replace",k=E||R,S=u.useRef(null),C=k&&$,M=u.useRef(!1),I=u.useRef(!1),_=n.getItemProps(r),z=L=>{c&&(c(),i.current?.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}))),y&&i.current&&h.open(i.current,L,_.href,_.routerOptions)},U={ref:i};s?(U.onPressStart=L=>{S.current=L.pointerType,M.current=C,L.pointerType==="keyboard"&&(!k||vl(L.key))&&b(L)},d?(U.onPressUp=E?void 0:L=>{L.pointerType==="mouse"&&$&&b(L)},U.onPress=E?z:L=>{L.pointerType!=="keyboard"&&L.pointerType!=="mouse"&&$&&b(L)}):U.onPress=L=>{if(E||R&&L.pointerType!=="mouse"){if(L.pointerType==="keyboard"&&!yl(L.key))return;z(L)}else L.pointerType!=="keyboard"&&$&&b(L)}):(U.onPressStart=L=>{S.current=L.pointerType,M.current=C,I.current=E,$&&(L.pointerType==="mouse"&&!E||L.pointerType==="keyboard"&&(!x||vl(L.key)))&&b(L)},U.onPress=L=>{(L.pointerType==="touch"||L.pointerType==="pen"||L.pointerType==="virtual"||L.pointerType==="keyboard"&&k&&yl(L.key)||L.pointerType==="mouse"&&I.current)&&(k?z(L):$&&b(L))});let T=eg(n.collection);if(g["data-collection"]=T,g["data-key"]=r,U.preventFocusOnPress=o,o&&(U=A(U,{onPressStart(L){L.pointerType!=="touch"&&(n.setFocused(!0),n.setFocusedKey(r))},onPress(L){L.pointerType==="touch"&&(n.setFocused(!0),n.setFocusedKey(r))}})),_)for(let L of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])_[L]&&(U[L]=ct(U[L],_[L]));let{pressProps:j,isPressed:q}=Zt(U),D=R?L=>{S.current==="mouse"&&(L.stopPropagation(),L.preventDefault(),z(L))}:void 0,{longPressProps:Y}=Ao({isDisabled:!C,onLongPress(L){L.pointerType==="touch"&&(b(L),n.setSelectionBehavior("toggle"))}}),N=L=>{S.current==="touch"&&M.current&&L.preventDefault()},W=p!=="none"&&n.isLink(r)?L=>{dt.isOpening||L.preventDefault()}:void 0,V=A(g,$||E||o&&!l?j:{},C?Y:{},{onDoubleClick:D,onDragStartCapture:N,onClick:W,id:e},o?{onMouseDown:L=>L.preventDefault()}:void 0),K=L=>{let re=L;for(;re&&re!==i.current;){let ce=re.getAttribute("data-collection");if(ce!=null)return ce!==T;re=re.parentElement}return po(L)},O=V.onPointerDown;V.onPointerDown=L=>{let re=F(L);if(re&&re!==i.current&&K(re)){L.stopPropagation();return}O?.(L)};let J=V.onMouseDown;return V.onMouseDown=L=>{let re=F(L);if(re&&re!==i.current&&K(re)){L.stopPropagation();return}J?.(L)},{itemProps:V,isPressed:q,isSelected:n.isSelected(r),isFocused:n.isFocused&&n.focusedKey===r,isDisabled:l,allowsSelection:$,hasAction:k}}function yl(t){return t==="Enter"}function vl(t){return t===" "}function vd(t,e){return typeof e.getChildren=="function"?e.getChildren(t.key):t.childNodes}function ig(t){return sg(t,0)}function sg(t,e){if(e<0)return;let n=0;for(let r of t){if(n===e)return r;n++}}function p$(t){let e;for(let n of t)e=n;return e}function Zi(t,e,n){if(e.parentKey===n.parentKey)return e.index-n.index;let r=[...$l(t,e),e],i=[...$l(t,n),n],s=r.slice(0,i.length).findIndex((o,a)=>o!==i[a]);return s!==-1?(e=r[s],n=i[s],e.index-n.index):r.findIndex(o=>o===n)>=0?1:(i.findIndex(o=>o===e)>=0,-1)}function $l(t,e){let n=[],r=e;for(;r?.parentKey!=null;)r=t.getItem(r.parentKey),r&&n.unshift(r);return n}const xl=new WeakMap;function $d(t){let e=xl.get(t);if(e!=null)return e;let n=0,r=i=>{for(let s of i)s.type==="section"?r(vd(s,t)):s.type==="item"&&n++};return r(t),xl.set(t,n),n}function og(t,e,n){let{key:r}=t,i=jo.get(e),s=t.isDisabled??e.selectionManager.isDisabled(r),o=t.isSelected??e.selectionManager.isSelected(r),a=t.shouldSelectOnPressUp??i?.shouldSelectOnPressUp,l=t.shouldFocusOnHover??i?.shouldFocusOnHover,c=t.shouldUseVirtualFocus??i?.shouldUseVirtualFocus,d=t.isVirtualized??i?.isVirtualized,p=ot(),h=ot(),b={role:"option","aria-disabled":s||void 0,"aria-selected":e.selectionManager.selectionMode!=="none"?o:void 0,"aria-label":t["aria-label"],"aria-labelledby":p,"aria-describedby":h},g=e.collection.getItem(r);if(d){let M=Number(g?.index);b["aria-posinset"]=Number.isNaN(M)?void 0:M+1,b["aria-setsize"]=$d(e.collection)}let v=i?.onAction?()=>i?.onAction?.(r):void 0,m=Hb(e,r),{itemProps:y,isPressed:$,isFocused:x,hasAction:E,allowsSelection:R}=Oo({selectionManager:e.selectionManager,key:r,ref:n,shouldSelectOnPressUp:a,allowsDifferentPressOrigin:a&&l,isVirtualized:d,shouldUseVirtualFocus:c,isDisabled:s,onAction:v||g?.props?.onAction?ct(g?.props?.onAction,v):void 0,linkBehavior:i?.linkBehavior,UNSTABLE_itemBehavior:i?.UNSTABLE_itemBehavior,id:m}),{hoverProps:k}=Ne({isDisabled:s||!l,onHoverStart(){Kt()||(e.selectionManager.setFocused(!0),e.selectionManager.setFocusedKey(r))}}),S=X(g?.props);delete S.id;let C=hi(g?.props);return{optionProps:{...b,...A(S,y,k,C),id:m},labelProps:{id:p},descriptionProps:{id:h},isFocused:x,isFocusVisible:x&&e.selectionManager.isFocused&&Kt(),isSelected:o,isDisabled:s,isPressed:$,allowsSelection:R,hasAction:E}}function ag(t){let{heading:e,"aria-label":n}=t,r=fe();return{itemProps:{role:"presentation"},headingProps:e?{id:r,role:"presentation",onMouseDown:i=>{i.preventDefault()}}:{},groupProps:{role:"group","aria-label":n,"aria-labelledby":e?r:void 0}}}function Gr(t){const e=u.version.split(".");return parseInt(e[0],10)>=19?t:t?"true":void 0}class wl{constructor(e){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e;let n=o=>{if(this.keyMap.set(o.key,o),o.childNodes&&o.type==="section")for(let a of o.childNodes)n(a)};for(let o of e)n(o);let r=null,i=0,s=0;for(let[o,a]of this.keyMap)r?(r.nextKey=o,a.prevKey=r.key):(this.firstKey=o,a.prevKey=void 0),a.type==="item"&&(a.index=i++),(a.type==="section"||a.type==="item")&&s++,r=a,r.nextKey=void 0;this._size=s,this.lastKey=r?.key??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let n=this.keyMap.get(e);return n?n.prevKey??null:null}getKeyAfter(e){let n=this.keyMap.get(e);return n?n.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){return this.keyMap.get(e)??null}at(e){const n=[...this.getKeys()];return this.getItem(n[e])}getChildren(e){return this.keyMap.get(e)?.childNodes||[]}}class Ge extends Set{constructor(e,n,r){super(e),e instanceof Ge?(this.anchorKey=n??e.anchorKey,this.currentKey=r??e.currentKey):(this.anchorKey=n??null,this.currentKey=r??null)}}function lg(t,e){if(t.size!==e.size)return!1;for(let n of t)if(!e.has(n))return!1;return!0}function Bo(t){let{selectionMode:e="none",disallowEmptySelection:n=!1,allowDuplicateSelectionEvents:r,selectionBehavior:i="toggle",disabledBehavior:s="all"}=t,o=u.useRef(!1),[,a]=u.useState(!1),l=u.useRef(null),c=u.useRef(null),[,d]=u.useState(null),p=u.useMemo(()=>El(t.selectedKeys),[t.selectedKeys]),h=u.useMemo(()=>El(t.defaultSelectedKeys,new Ge),[t.defaultSelectedKeys]),[b,g]=qe(p,h,t.onSelectionChange),v=u.useMemo(()=>t.disabledKeys?new Set(t.disabledKeys):new Set,[t.disabledKeys]),[m,y]=u.useState(i);i==="replace"&&m==="toggle"&&typeof b=="object"&&b.size===0&&y("replace");let $=u.useRef(i);return u.useEffect(()=>{i!==$.current&&(y(i),$.current=i)},[i]),{selectionMode:e,disallowEmptySelection:n,selectionBehavior:m,setSelectionBehavior:y,get isFocused(){return o.current},setFocused(x){o.current=x,a(x)},get focusedKey(){return l.current},get childFocusStrategy(){return c.current},setFocusedKey(x,E="first"){l.current=x,c.current=E,d(x)},selectedKeys:b,setSelectedKeys(x){(r||!lg(x,b))&&g(x)},disabledKeys:v,disabledBehavior:s}}function El(t,e){return t?t==="all"?"all":new Ge(t):e}class pr{constructor(e,n,r){this.collection=e,this.state=n,this.allowsCellSelection=r?.allowsCellSelection??!1,this._isSelectAll=null,this.layoutDelegate=r?.layoutDelegate||null,this.fullCollection=r?.fullCollection||null}get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(e){this.state.setSelectionBehavior(e)}get isFocused(){return this.state.isFocused}setFocused(e){this.state.setFocused(e)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(e,n){(e==null||this.collection.getItem(e))&&this.state.setFocusedKey(e,n)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(e){if(this.state.selectionMode==="none")return!1;let n=this.getKey(e);return n==null?!1:this.state.selectedKeys==="all"?this.canSelectItem(n):this.state.selectedKeys.has(n)}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let e=this.getSelectAllKeys(),n=this.state.selectedKeys;return this._isSelectAll=e.every(r=>n.has(r)),this._isSelectAll}get firstSelectedKey(){let e=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!e||r&&Zi(this.collection,r,e)<0)&&(e=r)}return e?.key??null}get lastSelectedKey(){let e=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!e||r&&Zi(this.collection,r,e)>0)&&(e=r)}return e?.key??null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(e){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(e);return}let n=this.getKey(e);if(n==null)return;let r;if(this.state.selectedKeys==="all")r=new Ge([n],n,n);else{let i=this.state.selectedKeys,s=i.anchorKey??n;r=new Ge(i,s,n);for(let o of this.getKeyRange(s,i.currentKey??n))r.delete(o);for(let o of this.getKeyRange(n,s))this.canSelectItem(o)&&r.add(o)}this.state.setSelectedKeys(r)}getKeyRange(e,n){let r=this.collection.getItem(e),i=this.collection.getItem(n);return r&&i?Zi(this.collection,r,i)<=0?this.getKeyRangeInternal(e,n):this.getKeyRangeInternal(n,e):[]}getKeyRangeInternal(e,n){if(this.layoutDelegate?.getKeyRange)return this.layoutDelegate.getKeyRange(e,n);let r=[],i=e;for(;i!=null;){let s=this.collection.getItem(i);if(s&&(s.type==="item"||s.type==="cell"&&this.allowsCellSelection)&&r.push(i),i===n)return r;i=this.collection.getKeyAfter(i)}return[]}getKey(e){let n=this.collection.getItem(e);if(!n||n.type==="cell"&&this.allowsCellSelection)return e;for(;n&&n.type!=="item"&&n.parentKey!=null;)n=this.collection.getItem(n.parentKey);return!n||n.type!=="item"?null:n.key}toggleSelection(e){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(e)){this.replaceSelection(e);return}let n=this.getKey(e);if(n==null)return;let r=new Ge(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);r.has(n)?r.delete(n):this.canSelectItem(n)&&(r.add(n),r.anchorKey=n,r.currentKey=n),!(this.disallowEmptySelection&&r.size===0)&&this.state.setSelectedKeys(r)}replaceSelection(e){if(this.selectionMode==="none")return;let n=this.getKey(e);if(n==null)return;let r=this.canSelectItem(n)?new Ge([n],n,n):new Ge;this.state.setSelectedKeys(r)}setSelectedKeys(e){if(this.selectionMode==="none")return;let n=new Ge;for(let r of e){let i=this.getKey(r);if(i!=null&&(n.add(i),this.selectionMode==="single"))break}this.state.setSelectedKeys(n)}getSelectAllKeys(){let e=this.fullCollection??this.collection,n=[],r=i=>{for(;i!=null;){if(this.canSelectItemIn(i,e)){let s=e.getItem(i);s?.type==="item"&&n.push(i),s?.hasChildNodes&&(this.allowsCellSelection||s.type!=="item")&&r(ig(vd(s,e))?.key??null)}i=e.getKeyAfter(i)}};return r(e.getFirstKey()),n}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new Ge)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(e,n){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(e)&&!this.disallowEmptySelection?this.toggleSelection(e):this.replaceSelection(e):this.selectionBehavior==="toggle"||n&&(n.pointerType==="touch"||n.pointerType==="virtual")?this.toggleSelection(e):this.replaceSelection(e))}isSelectionEqual(e){if(e===this.state.selectedKeys)return!0;let n=this.selectedKeys;if(e.size!==n.size)return!1;for(let r of e)if(!n.has(r))return!1;for(let r of n)if(!e.has(r))return!1;return!0}canSelectItem(e){return this.canSelectItemIn(e,this.collection)}canSelectItemIn(e,n){if(this.state.selectionMode==="none"||this.state.disabledKeys.has(e))return!1;let r=n.getItem(e);return!(!r||r?.props?.isDisabled||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(e){let n=this.collection.getItem(e);return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(e)||!!n?.props?.isDisabled)&&n?.props?.disabledBehavior!=="selection"}isLink(e){return!!this.collection.getItem(e)?.props?.href}getItemProps(e){return this.collection.getItem(e)?.props}withCollection(e){return new pr(e,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0,fullCollection:this.fullCollection??this.collection})}}class cg{build(e,n){return this.context=n,Sl(()=>this.iterateCollection(e))}*iterateCollection(e){let{children:n,items:r}=e;if(w.isValidElement(n)&&n.type===w.Fragment)yield*this.iterateCollection({children:n.props.children,items:r});else if(typeof n=="function"){if(!r)throw new Error("props.children was a function but props.items is missing");let i=0;for(let s of r)yield*this.getFullNode({value:s,index:i},{renderer:n}),i++}else{let i=[];w.Children.forEach(n,o=>{o&&i.push(o)});let s=0;for(let o of i){let a=this.getFullNode({element:o,index:s},{});for(let l of a)s++,yield l}}}getKey(e,n,r,i){if(e.key!=null)return e.key;if(n.type==="cell"&&n.key!=null)return`${i}${n.key}`;let s=n.value;if(s!=null){let o=s.key??s.id;if(o==null)throw new Error("No key found for item");return o}return i?`${i}.${n.index}`:`$.${n.index}`}getChildState(e,n){return{renderer:n.renderer||e.renderer}}*getFullNode(e,n,r,i){if(w.isValidElement(e.element)&&e.element.type===w.Fragment){let l=[];w.Children.forEach(e.element.props.children,d=>{l.push(d)});let c=e.index??0;for(const d of l)yield*this.getFullNode({element:d,index:c++},n,r,i);return}let s=e.element;if(!s&&e.value&&n&&n.renderer){let l=this.cache.get(e.value);if(l&&(!l.shouldInvalidate||!l.shouldInvalidate(this.context))){l.index=e.index,l.parentKey=i?i.key:null,yield l;return}s=n.renderer(e.value)}if(w.isValidElement(s)){let l=s.type;if(typeof l!="function"&&typeof l.getCollectionNode!="function"){let h=s.type;throw new Error(`Unknown element <${h}> in collection.`)}let c=l.getCollectionNode(s.props,this.context),d=e.index??0,p=c.next();for(;!p.done&&p.value;){let h=p.value;e.index=d;let b=h.key??null;b==null&&(b=h.element?null:this.getKey(s,e,n,r));let v=[...this.getFullNode({...h,key:b,index:d,wrapper:ug(e.wrapper,h.wrapper)},this.getChildState(n,h),r?`${r}${s.key}`:s.key,i)];for(let m of v){if(m.value=h.value??e.value??null,m.value&&this.cache.set(m.value,m),e.type&&m.type!==e.type)throw new Error(`Unsupported type <${Qi(m.type)}> in <${Qi(i?.type??"unknown parent type")}>. Only <${Qi(e.type)}> is supported.`);d++,yield m}p=c.next(v)}return}if(e.key==null||e.type==null)return;let o=this,a={type:e.type,props:e.props,key:e.key,parentKey:i?i.key:null,value:e.value??null,level:(i?.level??0)+(i?.type==="item"?1:0),index:e.index,rendered:e.rendered,textValue:e.textValue??"","aria-label":e["aria-label"],wrapper:e.wrapper,shouldInvalidate:e.shouldInvalidate,hasChildNodes:e.hasChildNodes||!1,childNodes:Sl(function*(){if(!e.hasChildNodes||!e.childNodes)return;let l=0;for(let c of e.childNodes()){c.key!=null&&(c.key=`${a.key}${c.key}`);let d=o.getFullNode({...c,index:l},o.getChildState(n,c),a.key,a);for(let p of d)l++,yield p}})};yield a}constructor(){this.cache=new WeakMap}}function Sl(t){let e=[],n=null;return{*[Symbol.iterator](){for(let r of e)yield r;n||(n=t());for(let r of n)e.push(r),yield r}}}function ug(t,e){if(t&&e)return n=>t(e(n));if(t)return t;if(e)return e}function Qi(t){return t[0].toUpperCase()+t.slice(1)}function xd(t,e,n){let r=u.useMemo(()=>new cg,[]),{children:i,items:s,collection:o}=t;return u.useMemo(()=>{if(o)return o;let l=r.build({children:i,items:s},n);return e(l)},[r,i,s,o,n,e])}function Ho(t){let{filter:e,layoutDelegate:n}=t,r=Bo(t),i=u.useMemo(()=>t.disabledKeys?new Set(t.disabledKeys):new Set,[t.disabledKeys]),s=u.useCallback(c=>e?new wl(e(c)):new wl(c),[e]),o=u.useMemo(()=>({suppressTextValueWarning:t.suppressTextValueWarning}),[t.suppressTextValueWarning]),a=xd(t,s,o),l=u.useMemo(()=>new pr(a,r,{layoutDelegate:n}),[a,r,n]);return wd(a,l),{collection:a,disabledKeys:i,selectionManager:l}}function dg(t,e){let n=u.useMemo(()=>e?t.collection.filter(e):t.collection,[t.collection,e]),r=t.selectionManager.withCollection(n);return wd(n,r),{collection:n,selectionManager:r,disabledKeys:t.disabledKeys}}function wd(t,e){const n=u.useRef(null);u.useEffect(()=>{if(e.focusedKey!=null&&!t.getItem(e.focusedKey)&&n.current){let r=n.current.getKeyAfter(e.focusedKey),i=null;for(;r!=null;){let s=t.getItem(r);if(s&&s.type==="item"&&!e.isDisabled(r)){i=r;break}r=n.current.getKeyAfter(r)}if(i==null)for(r=n.current.getKeyBefore(e.focusedKey);r!=null;){let s=t.getItem(r);if(s&&s.type==="item"&&!e.isDisabled(r)){i=r;break}r=n.current.getKeyBefore(r)}e.setFocusedKey(i)}n.current=t},[t,e])}function Ed(t,e){let{collection:n,onLoadMore:r,scrollOffset:i=1,direction:s="end"}=t,o=u.useRef(null),a=Re(l=>{for(let c of l)c.isIntersecting&&r&&r()});te(()=>{if(e.current){const l=100*i,c=s==="start"?`${l}% 0px 0px 0px`:`0px ${l}% ${l}% ${l}%`;o.current=new IntersectionObserver(a,{root:ko(e?.current),rootMargin:c}),o.current.observe(e.current)}return()=>{o.current&&o.current.disconnect()}},[n,e,i,s])}const Vo=u.createContext(null),Nn=u.createContext(null),fg=u.forwardRef(function(e,n){[e,n]=ae(e,n,Vo);let r=u.useContext(Nn);return r?w.createElement(Sd,{state:r,props:e,listBoxRef:n}):w.createElement(yi,{content:w.createElement(wo,e)},i=>w.createElement(pg,{props:e,listBoxRef:n,collection:i}))});function pg({props:t,listBoxRef:e,collection:n}){t={...t,collection:n,children:null,items:null};let{layoutDelegate:r}=u.useContext(Pt),i=Ho({...t,layoutDelegate:r});return w.createElement(Sd,{state:i,props:t,listBoxRef:e})}function Sd({state:t,props:e,listBoxRef:n}){[e,n]=ae(e,n,Ur);let{dragAndDropHooks:r,layout:i="stack",orientation:s="vertical",filter:o}=e,a=dg(t,o),{collection:l,selectionManager:c}=a,d=!!r?.useDraggableCollectionState,p=!!r?.useDroppableCollectionState,{direction:h}=Ue(),{disabledBehavior:b,disabledKeys:g}=c,v=Fo({usage:"search",sensitivity:"base"}),{isVirtualized:m,layoutDelegate:y,dropTargetDelegate:$,CollectionRoot:x}=u.useContext(Pt),E=u.useMemo(()=>e.keyboardDelegate||new _o({collection:l,collator:v,ref:n,disabledKeys:g,disabledBehavior:b,layout:i,orientation:s,direction:h,layoutDelegate:y}),[l,v,n,b,g,s,h,e.keyboardDelegate,i,y]),{listBoxProps:R}=ng({...e,shouldSelectOnPressUp:d||e.shouldSelectOnPressUp,keyboardDelegate:E,isVirtualized:m},a,n);u.useRef(d),u.useRef(p),u.useEffect(()=>{},[d,p]);let k,S,C,M=!1,I=null,_=u.useRef(null);if(d&&r){k=r.useDraggableCollectionState({collection:l,selectionManager:c,preview:r.renderDragPreview?_:void 0}),r.useDraggableCollection({},k,n);let W=r.DragPreview;I=r.renderDragPreview?w.createElement(W,{ref:_},r.renderDragPreview):null}if(p&&r){S=r.useDroppableCollectionState({collection:l,selectionManager:c});let W=r.dropTargetDelegate||$||new r.ListDropTargetDelegate(l,n,{orientation:s,layout:i,direction:h});C=r.useDroppableCollection({keyboardDelegate:E,dropTargetDelegate:W},S,n),M=S.isDropTarget({type:"root"})}let{focusProps:z,isFocused:U,isFocusVisible:T}=Ke(),j=a.collection.size===0,q={isDropTarget:M,isEmpty:j,isFocused:U,isFocusVisible:T,layout:e.layout||"stack",orientation:s,state:a},D=ie({...e,children:void 0,defaultClassName:"react-aria-ListBox",values:q}),Y=null;j&&e.renderEmptyState&&(Y=w.createElement("div",{role:"option",style:{display:"contents"}},e.renderEmptyState(q)));let N=X(e,{global:!0});return w.createElement(Do,null,w.createElement(ee.div,{...A(N,D,R,z,C?.collectionProps),ref:n,slot:e.slot||void 0,onScroll:e.onScroll,"data-drop-target":M||void 0,"data-empty":j||void 0,"data-focused":U||void 0,"data-focus-visible":T||void 0,"data-layout":e.layout||"stack","data-orientation":s},w.createElement(ve,{values:[[Vo,e],[Nn,a],[xi,{dragAndDropHooks:r,dragState:k,dropState:S}],[Io,{elementType:"div"}],[cd,{render:mg}],[Hu,{name:"ListBoxSection",render:Pd}]]},w.createElement(wi,null,w.createElement(x,{collection:l,scrollRef:n,persistedKeys:Kb(c,r,S),renderDropIndicator:ud(r,S)}))),Y,I))}function Pd(t,e,n,r="react-aria-ListBoxSection"){let i=u.useContext(Nn),{dragAndDropHooks:s,dropState:o}=u.useContext(xi),{CollectionBranch:a}=u.useContext(Pt),[l,c]=lr(),{headingProps:d,groupProps:p}=ag({heading:c,"aria-label":t["aria-label"]??void 0}),h=ie({...t,id:void 0,children:void 0,defaultClassName:r,values:void 0}),b=X(t,{global:!0});return delete b.id,w.createElement(ee.section,{...A(b,h,p),ref:e},w.createElement(Lo.Provider,{value:{...d,ref:l}},w.createElement(a,{collection:i.collection,parent:n,renderDropIndicator:ud(s,o)})))}const h$=xo(Lu,Pd),hg=an(Nu,function(e,n,r){let i=Ee(n),s=u.useContext(Nn),{dragAndDropHooks:o,dragState:a,dropState:l}=u.useContext(xi),c=a&&!(a.isDisabled||a.selectionManager.isDisabled(r.key)),{optionProps:d,labelProps:p,descriptionProps:h,...b}=og({key:r.key,"aria-label":e?.["aria-label"]},s,i),{hoverProps:g,isHovered:v}=Ne({isDisabled:!b.allowsSelection&&!b.hasAction&&!c,onHoverStart:r.props.onHoverStart,onHoverChange:r.props.onHoverChange,onHoverEnd:r.props.onHoverEnd}),{keyboardProps:m}=Ze(e),{focusProps:y}=yo(e),$=null;a&&o&&($=o.useDraggableItem({key:r.key,hasAction:b.hasAction},a));let x=null;l&&o&&(x=o.useDroppableItem({target:{type:"item",key:r.key,dropPosition:"on"}},l,i));let E=a&&a.isDragging(r.key),R=ie({...e,id:void 0,children:e.children,defaultClassName:"react-aria-ListBoxItem",values:{...b,isHovered:v,selectionMode:s.selectionManager.selectionMode,selectionBehavior:s.selectionManager.selectionBehavior,allowsDragging:!!a,isDragging:E,isDropTarget:x?.isDropTarget}});u.useEffect(()=>{r.textValue},[r.textValue]);let k=e.href?ee.a:ee.div,S=X(e,{global:!0});return delete S.id,delete S.onClick,e.href&&d.tabIndex==null&&(d.tabIndex=-1),w.createElement(k,{...A(S,R,d,g,m,y,$?.dragProps,x?.dropProps),ref:i,"data-allows-dragging":!!a||void 0,"data-selected":b.isSelected||void 0,"data-disabled":b.isDisabled||void 0,"data-hovered":v||void 0,"data-focused":b.isFocused||void 0,"data-focus-visible":b.isFocusVisible||void 0,"data-pressed":b.isPressed||void 0,"data-dragging":E||void 0,"data-drop-target":x?.isDropTarget||void 0,"data-selection-mode":s.selectionManager.selectionMode==="none"?void 0:s.selectionManager.selectionMode},w.createElement(ve,{values:[[ft,{slots:{[yt]:p,label:p,description:h}}],[Ei,{isSelected:b.isSelected}]]},R.children))});function mg(t,e){e=Ee(e);let{dragAndDropHooks:n,dropState:r}=u.useContext(xi),{dropIndicatorProps:i,isHidden:s,isDropTarget:o}=n.useDropIndicator(t,r,e);return s?null:w.createElement(gg,{...t,dropIndicatorProps:i,isDropTarget:o,ref:e})}function bg(t,e){let{dropIndicatorProps:n,isDropTarget:r,...i}=t,s=ie({...i,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:r}});return w.createElement(w.Fragment,null,w.createElement(ee.div,{...n,...s,role:"option",ref:e,"data-drop-target":r||void 0}))}const gg=u.forwardRef(bg);an(Mu,function(e,n,r){let i=u.useContext(Nn),{isLoading:s,onLoadMore:o,scrollOffset:a,...l}=e,c=u.useRef(null),d=u.useMemo(()=>({onLoadMore:o,collection:i?.collection,sentinelRef:c,scrollOffset:a}),[o,a,i?.collection]);Ed(d,c);let p=ie({...l,id:void 0,children:r.rendered,defaultClassName:"react-aria-ListBoxLoadingIndicator",values:void 0}),h={tabIndex:-1};return w.createElement(w.Fragment,null,w.createElement("div",{style:{position:"relative",width:0,height:0},inert:Gr(!0)},w.createElement("div",{"data-testid":"loadMoreSentinel",ref:c,style:{position:"absolute",height:1,width:1}})),s&&p.children&&w.createElement(w.Fragment,null,w.createElement(ee.div,{...A(X(e,{global:!0}),h),...p,role:"option",ref:n},p.children)))});const Uo=u.createContext({placement:"bottom"}),yg=u.forwardRef(function(e,n){[e,n]=ae(e,n,Uo);let r=e.placement,i={position:"absolute",transform:r==="top"||r==="bottom"?"translateX(-50%)":"translateY(-50%)"};r!=null&&(i[r]="100%");let s=ie({...e,defaultClassName:"react-aria-OverlayArrow",values:{placement:r}});s.style&&Object.keys(s.style).forEach(a=>s.style[a]===void 0&&delete s.style[a]);let o=X(e);return w.createElement(ee.div,{...o,...s,style:{...i,...s.style},ref:n,"data-placement":r})}),vg=typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype;function Pl(t){return t.dataset.liveAnnouncer==="true"||t.dataset.reactAriaTopLayer!==void 0}let Kn=new WeakMap,Le=[];function kd(t,e){let n=we(t?.[0]),r=e instanceof n.Element?{root:e}:e,i=r?.root??document.body,s=r?.shouldUseInert&&vg,o=new Set(t),a=new Set,l=m=>s&&m instanceof n.HTMLElement?m.inert:m.getAttribute("aria-hidden")==="true",c=(m,y)=>{s&&m instanceof n.HTMLElement?m.inert=y:y?m.setAttribute("aria-hidden","true"):(m.removeAttribute("aria-hidden"),m instanceof n.HTMLElement&&(m.inert=!1))},d=new Set;if(it()){let m=i.getRootNode();for(let y of t){let $=y.getRootNode();for(;fi($)&&$!==m;)d.add($),$=$.host.getRootNode()}}let p=m=>{for(let E of m.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))o.add(E);let y=E=>{if(a.has(E)||o.has(E)||E.parentElement&&a.has(E.parentElement)&&E.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let R of o)if(Z(E,R))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},$=fd(ne(m),m,NodeFilter.SHOW_ELEMENT,{acceptNode:y}),x=y(m);if(x===NodeFilter.FILTER_ACCEPT&&h(m),x!==NodeFilter.FILTER_REJECT){let E=$.nextNode();for(;E!=null;)h(E),E=$.nextNode()}},h=m=>{let y=Kn.get(m)??0;l(m)&&y===0||(y===0&&c(m,!0),a.add(m),Kn.set(m,y+1))};Le.length&&Le[Le.length-1].disconnect(),p(i);let b=new MutationObserver(m=>{for(let y of m)if(y.type==="childList"){if(y.target.isConnected&&![...o,...a].some($=>Z($,y.target)))for(let $ of y.addedNodes)($ instanceof HTMLElement||$ instanceof SVGElement)&&Pl($)?o.add($):$ instanceof Element&&p($);if(it()){for(let $ of d)if(!$.isConnected){b.disconnect();break}}}});b.observe(i,{childList:!0,subtree:!0});let g=new Set;if(it())for(let m of d){let y=new MutationObserver($=>{for(let x of $)if(x.type==="childList"){if(x.target.isConnected&&![...o,...a].some(E=>Z(E,x.target)))for(let E of x.addedNodes)(E instanceof HTMLElement||E instanceof SVGElement)&&Pl(E)?o.add(E):E instanceof Element&&p(E);if(it()){for(let E of d)if(!E.isConnected){b.disconnect();break}}}});y.observe(m,{childList:!0,subtree:!0}),g.add(y)}let v={visibleNodes:o,hiddenNodes:a,observe(){b.observe(i,{childList:!0,subtree:!0})},disconnect(){b.disconnect()}};return Le.push(v),()=>{if(b.disconnect(),it())for(let m of g)m.disconnect();for(let m of a){let y=Kn.get(m);y!=null&&(y===1?(c(m,!1),Kn.delete(m)):Kn.set(m,y-1))}v===Le[Le.length-1]?(Le.pop(),Le.length&&Le[Le.length-1].observe()):Le.splice(Le.indexOf(v),1)}}function $g(t){let e=Le[Le.length-1];if(e&&!e.visibleNodes.has(t))return e.visibleNodes.add(t),()=>{e.visibleNodes.delete(t)}}const Be={top:"top",bottom:"top",left:"left",right:"left"},Yr={top:"bottom",bottom:"top",left:"right",right:"left"},xg={top:"left",left:"top"},Ls={top:"height",left:"width"},Cd={width:"totalWidth",height:"totalHeight"},kr={};let wg=()=>typeof document<"u"?window.visualViewport:null;function kl(t,e){let n=0,r=0,i=0,s=0,o=0,a=0,l={},c=(e?.scale??1)>1;if(t.tagName==="BODY"||t.tagName==="HTML"){let d=document.documentElement;i=d.clientWidth,s=d.clientHeight,n=e?.width??i,r=e?.height??s,l.top=d.scrollTop||t.scrollTop,l.left=d.scrollLeft||t.scrollLeft,e&&(o=Math.max(0,e.pageTop-(l.top??0)),a=Math.max(0,e.pageLeft-(l.left??0)))}else({width:n,height:r,top:o,left:a}=Qn(t,!1)),l.top=t.scrollTop,l.left=t.scrollLeft,i=n,s=r;return vt()&&(t.tagName==="BODY"||t.tagName==="HTML")&&c&&(l.top=0,l.left=0,o=e?.pageTop??0,a=e?.pageLeft??0),{width:n,height:r,totalWidth:i,totalHeight:s,scroll:l,top:o,left:a}}function Eg(t){return{top:t.scrollTop,left:t.scrollLeft,width:t.scrollWidth,height:t.scrollHeight}}function Cl(t,e,n,r,i,s,o){let a=i.scroll[t]??0,l=r[Ls[t]],c=o[t]+r.scroll[Be[t]]+s,d=o[t]+r.scroll[Be[t]]+l-s,p=e-a+r.scroll[Be[t]]+o[t]-r[Be[t]],h=e-a+n+r.scroll[Be[t]]+o[t]-r[Be[t]];return pd?Math.max(d-h,c-p):0}function Sg(t){let e=window.getComputedStyle(t);return{top:parseInt(e.marginTop,10)||0,bottom:parseInt(e.marginBottom,10)||0,left:parseInt(e.marginLeft,10)||0,right:parseInt(e.marginRight,10)||0}}function Tl(t){if(kr[t])return kr[t];let[e,n]=t.split(" "),r=Be[e]||"right",i=xg[r];Be[n]||(n="center");let s=Ls[r],o=Ls[i];return kr[t]={placement:e,crossPlacement:n,axis:r,crossAxis:i,size:s,crossSize:o},kr[t]}function es(t,e,n,r,i,s,o,a,l,c,d){let{placement:p,crossPlacement:h,axis:b,crossAxis:g,size:v,crossSize:m}=r,y={};y[g]=t[g]??0,h==="center"?y[g]+=((t[m]??0)-(n[m]??0))/2:h!==g&&(y[g]+=(t[m]??0)-(n[m]??0)),y[g]+=s;const $=t[g]-n[m]+l+c,x=t[g]+t[m]-l-c;if(y[g]=Ps(y[g],$,x),p===b){let E=a?d[v]:d[Cd[v]];y[Yr[b]]=Math.floor(E-t[b]+i)}else y[b]=Math.floor(t[b]+t[v]+i);return y}function Pg(t,e,n,r,i,s,o,a,l,c,d){let p=(t.top!=null?t.top:l[Cd.height]-(t.bottom??0)-o)-(l.scroll.top??0),h=c?n.top:0,b={top:Math.max(e.top+h,(d?.offsetTop??e.top)+h),bottom:Math.min(e.top+e.height+h,(d?.offsetTop??0)+(d?.height??0))};return a!=="top"?Math.max(0,b.bottom-p-((i.top??0)+(i.bottom??0)+s)):Math.max(0,p+o-b.top-((i.top??0)+(i.bottom??0)+s))}function Rl(t,e,n,r,i,s,o,a){let{placement:l,axis:c,size:d}=s;return l===c?Math.max(0,n[c]-(o.scroll[c]??0)-(t[c]+(a?e[c]:0))-(r[c]??0)-r[Yr[c]]-i):Math.max(0,t[d]+t[c]+(a?e[c]:0)-n[c]-n[d]+(o.scroll[c]??0)-(r[c]??0)-r[Yr[c]]-i)}function kg(t,e,n,r,i,s,o,a,l,c,d,p,h,b,g,v,m,y){let $=Tl(t),{size:x,crossAxis:E,crossSize:R,placement:k,crossPlacement:S}=$,C=es(e,a,n,$,d,p,c,h,g,v,l),M=d,I=Rl(a,c,e,i,s+d,$,l,m);if(o&&n[x]>I){let L=Tl(`${Yr[k]} ${S}`),re=es(e,a,n,L,d,p,c,h,g,v,l);Rl(a,c,e,i,s+d,L,l,m)>I&&($=L,C=re,M=d)}let _="bottom";$.axis==="top"?$.placement==="top"?_="top":$.placement==="bottom"&&(_="bottom"):$.crossAxis==="top"&&($.crossPlacement==="top"?_="bottom":$.crossPlacement==="bottom"&&(_="top"));let z=Cl(E,C[E],n[R],a,l,s,c);C[E]+=z;let U=Pg(C,a,c,h,i,s,n.height,_,l,m,y);b&&b{if(!n||r===null)return;let i=s=>{let o=F(s);if(!e.current||o instanceof Node&&!Z(o,e.current)||o instanceof HTMLInputElement||o instanceof HTMLTextAreaElement)return;let a=r||Td.get(e.current);a&&a()};return yn(iu(e.current),"scroll",i,!0)},[n,r,e])}function Mg(){return typeof window.ResizeObserver<"u"}function Jr(t){const{ref:e,box:n,onResize:r}=t;let i=Re(r);u.useEffect(()=>{let s=e?.current;if(s)if(Mg()){const o=new window.ResizeObserver(a=>{a.length&&i()});return o.observe(s,{box:n}),()=>{s&&o.unobserve(s)}}else return window.addEventListener("resize",i,!1),()=>{window.removeEventListener("resize",i,!1)}},[e,n])}let Vt=typeof document<"u"?window.visualViewport:null;function Rd(t){let{direction:e}=Ue(),{arrowSize:n,targetRef:r,overlayRef:i,arrowRef:s,scrollRef:o=i,placement:a="bottom",containerPadding:l=12,shouldFlip:c=!0,boundaryElement:d=typeof document<"u"?document.body:null,offset:p=0,crossOffset:h=0,shouldUpdatePosition:b=!0,isOpen:g=!0,onClose:v,maxHeight:m,arrowBoundaryOffset:y=0,getTargetRect:$}=t,[x,E]=u.useState(null),R=[b,a,i.current,r.current,s?.current,o.current,l,c,d,p,h,g,e,m,y,n],k=u.useRef(Vt?.scale);u.useEffect(()=>{g&&(k.current=Vt?.scale)},[g]);let S=u.useCallback(()=>{if(b===!1||!g||!i.current||!r.current||!d||Vt?.scale!==k.current)return;let I=null;if(o.current&&Dt(o.current)){let T=se()?.getBoundingClientRect(),j=o.current.getBoundingClientRect();I={type:"top",offset:(T?.top??0)-j.top},I.offset>j.height/2&&(I.type="bottom",I.offset=(T?.bottom??0)-j.bottom)}let _=i.current;!m&&i.current&&(_.style.top="0px",_.style.bottom="",_.style.maxHeight=(window.visualViewport?.height??window.innerHeight)+"px");let z=Cg({placement:Lg(a,e),overlayNode:i.current,targetNode:r.current,scrollNode:o.current||i.current,padding:l,shouldFlip:c,boundaryElement:d,offset:p,crossOffset:h,maxHeight:m,arrowSize:n??(s?.current?Si(s.current,!0).width:0),arrowBoundaryOffset:y,targetRect:$?.(r.current)});if(!z.position)return;_.style.top="",_.style.bottom="",_.style.left="",_.style.right="",Object.keys(z.position).forEach(T=>_.style[T]=z.position[T]+"px"),_.style.maxHeight=z.maxHeight!=null?z.maxHeight+"px":"";let U=se();if(I&&U&&o.current){let T=U.getBoundingClientRect(),j=o.current.getBoundingClientRect(),q=T[I.type]-j[I.type];o.current.scrollTop+=q-I.offset}E(z)},R);te(S,R),Ng(S),Jr({ref:i,onResize:S}),Jr({ref:r,onResize:S});let C=u.useRef(!1);te(()=>{let I,_=()=>{C.current=!0,clearTimeout(I),I=setTimeout(()=>{C.current=!1},500),S()},z=()=>{C.current&&_()};Vt?.addEventListener("resize",_),Vt?.addEventListener("scroll",z);let U=yn(iu(window),"scroll",z);return()=>{Vt?.removeEventListener("resize",_),Vt?.removeEventListener("scroll",z),U()}},[S]);let M=u.useCallback(()=>{C.current||v?.()},[v,C]);return Rg({triggerRef:r,isOpen:g,onClose:v&&M}),{overlayProps:{style:{position:x?"absolute":"fixed",top:x?void 0:0,left:x?void 0:0,zIndex:1e5,...x?.position,maxHeight:x?.maxHeight??"100vh"}},placement:x?.placement??null,triggerAnchorPoint:x?.triggerAnchorPoint??null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:x?.arrowOffsetLeft,top:x?.arrowOffsetTop}},updatePosition:S}}function Ng(t){te(()=>(window.addEventListener("resize",t,!1),()=>{window.removeEventListener("resize",t,!1)}),[t])}function Lg(t,e){return e==="rtl"?t.replace("start","right").replace("end","left"):t.replace("start","left").replace("end","right")}function Ig(t){let{ref:e,onInteractOutside:n,isDisabled:r,onInteractOutsideStart:i}=t,s=u.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),o=Re(l=>{n&&Ll(l,e)&&(i&&i(l),s.current.isPointerDown=!0)}),a=Re(l=>{n&&n(l)});u.useEffect(()=>{let l=s.current;if(r)return;const c=e.current,d=ne(c);if(typeof PointerEvent<"u"){let p=h=>{l.isPointerDown&&Ll(h,e)&&a(h),l.isPointerDown=!1};return d.addEventListener("pointerdown",o,!0),d.addEventListener("click",p,!0),()=>{d.removeEventListener("pointerdown",o,!0),d.removeEventListener("click",p,!0)}}},[e,r])}function Ll(t,e){if(t.button>0)return!1;let n=F(t);if(n){const r=n.ownerDocument;if(!r||!Z(r.documentElement,n)||n.closest("[data-react-aria-top-layer]"))return!1}return e.current?!t.composedPath().includes(e.current):!1}const nt=[];function Md(t,e){let{onClose:n,shouldCloseOnBlur:r,isOpen:i,isDismissable:s=!1,isKeyboardDismissDisabled:o=!1,shouldCloseOnInteractOutside:a}=t,l=u.useRef(void 0);u.useEffect(()=>{if(i&&!nt.includes(e))return nt.push(e),()=>{let g=nt.indexOf(e);g>=0&&nt.splice(g,1)}},[i,e]);let c=()=>{nt[nt.length-1]===e&&n&&n()},d=g=>{const v=nt[nt.length-1];l.current=v,(!a||a(F(g)))&&v===e&&g.stopPropagation()},p=g=>{(!a||a(F(g)))&&(nt[nt.length-1]===e&&g.stopPropagation(),l.current===e&&c()),l.current=void 0},{keyboardProps:h}=Ze({shortcuts:{Escape:()=>{if(!o){c();return}return!1}}});Ig({ref:e,onInteractOutside:s&&i?p:void 0,onInteractOutsideStart:d});let{focusWithinProps:b}=Mn({isDisabled:!r,onBlurWithin:g=>{!g.relatedTarget||Gb(g.relatedTarget)||(!a||a(g.relatedTarget))&&n?.()}});return{overlayProps:{...h,...b},underlayProps:{}}}const Vn=typeof document<"u"&&window.visualViewport;let Cr=0,ts;function Nd(t={}){let{isDisabled:e}=t;te(()=>{if(!e)return Cr++,Cr===1&&(ut()&&vt()?ts=Dg():ts=jg()),()=>{Cr--,Cr===0&&ts()}},[e])}function jg(){let t=window.innerWidth-document.documentElement.clientWidth;return ct(t>0&&("scrollbarGutter"in document.documentElement.style?Lr(document.documentElement,"scrollbar-gutter","stable"):Lr(document.documentElement,"padding-right",`${t}px`)),Lr(document.documentElement,"overflow","hidden"))}function Dg(){let t=Lr(document.documentElement,"overflow","hidden"),e,n=!1,r=d=>{let p=F(d);e=Qt(p)?p:ko(p,!0),n=!1;let h=p.ownerDocument.defaultView.getSelection();h&&!h.isCollapsed&&h.containsNode(p,!0)&&(n=!0),d.composedPath().some(b=>b instanceof HTMLInputElement&&b.type==="range")&&(n=!0),"selectionStart"in p&&"selectionEnd"in p&&p.selectionStart{if(!(d.touches.length===2||n)){if(!e||e===document.documentElement||e===document.body){d.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&d.preventDefault()}},a=d=>{let p=F(d),h=d.relatedTarget;h&&Hn(h)?(h.focus({preventScroll:!0}),Il(h,Hn(p))):h||p.parentElement?.closest("[tabindex]")?.focus({preventScroll:!0})},l=HTMLElement.prototype.focus;Reflect.defineProperty(HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(d){let p=se(),h=p!=null&&Hn(p);l.call(this,{...d,preventScroll:!0}),(!d||!d.preventScroll)&&Il(this,h)}});let c=ct(yn(document,"touchstart",r,{passive:!1,capture:!0}),yn(document,"touchmove",o,{passive:!1,capture:!0}),yn(document,"blur",a,!0));return()=>{t(),c(),i.remove(),Reflect.defineProperty(HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:l})}}function Il(t,e){e||!Vn?jl(t):Vn.addEventListener("resize",()=>jl(t),{once:!0})}function jl(t){let e=document.scrollingElement||document.documentElement,n=t;for(;n&&n!==e;){let r=ko(n);if(r!==document.documentElement&&r!==document.body&&r!==n){let i=r.getBoundingClientRect(),s=n.getBoundingClientRect();if(s.topi.top+n.clientHeight){let o=i.bottom;Vn&&(o=Math.min(o,Vn.offsetTop+Vn.height));let a=s.top-i.top-((o-i.top)/2-s.height/2);r.scrollTo({top:Math.max(0,Math.min(r.scrollHeight-r.clientHeight,r.scrollTop+a)),behavior:"smooth"})}}n=r.parentElement}}function Kg(t,e){let{triggerRef:n,popoverRef:r,groupRef:i,isNonModal:s,isKeyboardDismissDisabled:o,shouldCloseOnInteractOutside:a,...l}=t,c=l.trigger==="SubmenuTrigger",{overlayProps:d,underlayProps:p}=Md({isOpen:e.isOpen,onClose:e.close,shouldCloseOnBlur:!0,isDismissable:!s||c,isKeyboardDismissDisabled:o,shouldCloseOnInteractOutside:a},i??r),{overlayProps:h,arrowProps:b,placement:g,triggerAnchorPoint:v}=Rd({...l,targetRef:n,overlayRef:r,isOpen:e.isOpen,onClose:s&&!c?e.close:null,getTargetRect:l.getTargetRect??(e.point?()=>new DOMRect(e.point.x,e.point.y,0,0):void 0)});Nd({isDisabled:s||!e.isOpen}),u.useEffect(()=>{if(e.isOpen&&r.current)return s?$g(i?.current??r.current):kd([i?.current??r.current],{shouldUseInert:!0})},[s,e.isOpen,r,i]);let{focusWithinProps:m}=Mn(t);return{popoverProps:A(d,h,m),arrowProps:b,underlayProps:p,placement:g,triggerAnchorPoint:v}}var Ld={};Ld={dismiss:"Dismiss"};var Id={};Id={dismiss:"取消"};var jd={};jd={dismiss:"關閉"};var Dd={};Dd={"ar-AE":P,"bg-BG":P,"cs-CZ":P,"da-DK":P,"de-DE":P,"el-GR":P,"en-US":Ld,"es-ES":P,"et-EE":P,"fi-FI":P,"fr-FR":P,"he-IL":P,"hr-HR":P,"hu-HU":P,"it-IT":P,"ja-JP":P,"ko-KR":P,"lt-LT":P,"lv-LV":P,"nb-NO":P,"nl-NL":P,"pl-PL":P,"pt-BR":P,"pt-PT":P,"ro-RO":P,"ru-RU":P,"sk-SK":P,"sl-SI":P,"sr-SP":P,"sv-SE":P,"tr-TR":P,"uk-UA":P,"zh-CN":Id,"zh-TW":jd};function _g(t){return t&&t.__esModule?t.default:t}function Is(t){let{onDismiss:e,...n}=t,r=sn(_g(Dd),"@react-aria/overlays"),i=ur(n,r.format("dismiss")),s=()=>{e&&e()};return w.createElement($i,null,w.createElement("button",{...i,tabIndex:-1,onClick:s,style:{width:1,height:1}}))}const Kd=w.forwardRef(({children:t,...e},n)=>{let r=u.useRef(!1),i=u.useContext(Zn),s=A(i||{},{...e,register(){r.current=!0,i&&i.register()}});return s.ref=Ee(n||i?.ref),vo(i,s.ref),u.useEffect(()=>{r.current||(r.current=!0)},[]),w.createElement(Zn.Provider,{value:s},t)});function Fg({children:t}){let e=u.useMemo(()=>({register:()=>{}}),[]);return w.createElement(Zn.Provider,{value:e},t)}const Ag=u.createContext({});function qo(){return u.useContext(Ag)??{}}const _d=w.createContext(null);function js(t){let e=et(),{portalContainer:n=e?null:document.body,isExiting:r}=t,[i,s]=u.useState(!1),o=u.useMemo(()=>({contain:i,setContain:s}),[i,s]),{getContainer:a}=qo();if(!t.portalContainer&&a&&(n=a()),!n)return null;let l=t.children;return t.disableFocusManagement||(l=w.createElement(Do,{restoreFocus:!0,contain:(t.shouldContainFocus||i)&&!r},l)),l=w.createElement(_d.Provider,{value:o},w.createElement(Fg,null,w.createElement(Jn.Provider,{value:null},l))),Qc.createPortal(l,n)}function Fd(){let e=u.useContext(_d)?.setContain;te(()=>{e?.(!0)},[e])}function hr(t){let[e,n]=qe(t.isOpen,t.defaultOpen||!1,t.onOpenChange),[r,i]=u.useState(null);const s=u.useCallback(()=>{n(!0)},[n]),o=u.useCallback(()=>{n(!1)},[n]),a=u.useCallback(()=>{n(!e)},[n,e]);return{isOpen:e,setOpen:n,open:s,close:o,toggle:a,point:r,setPoint:i}}function mr(t,e=!0){let[n,r]=u.useState(!0),i=n&&e;return te(()=>{if(i&&t.current&&"getAnimations"in t.current)for(let s of t.current.getAnimations())s instanceof CSSTransition&&s.cancel()},[t,i]),Ad(t,i,u.useCallback(()=>r(!1),[])),i}function er(t,e){let[n,r]=u.useState(e?"open":"closed");switch(n){case"open":e||r("exiting");break;case"closed":case"exiting":e&&r("open");break}let i=n==="exiting";return Ad(t,i,u.useCallback(()=>{r(s=>s==="exiting"?"closed":s)},[])),i}function Ad(t,e,n){te(()=>{if(e&&t.current){if(!("getAnimations"in t.current)){n();return}let r=t.current.getAnimations();if(r.length===0){n();return}let i=!1;return Promise.allSettled(r.map(s=>s.finished)).then(()=>{i||rn.flushSync(()=>{n()})}),()=>{i=!0}}},[t,e,n])}const br=u.createContext(null),Dl=u.createContext(null),Pi=u.forwardRef(function(e,n){[e,n]=ae(e,n,br);let r=u.useContext(kt),i=hr(e),s=e.isOpen!=null||e.defaultOpen!=null||!r?i:r,o=er(n,s.isOpen),a=e.isExiting||!e.shouldSkipAnimation&&o||!1,l=$o(),{direction:c}=Ue();if(l){let d=e.children;return typeof d=="function"&&(d=d({trigger:e.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),w.createElement(w.Fragment,null,d)}return s&&!s.isOpen&&!a?null:w.createElement(Og,{...e,triggerRef:e.triggerRef,state:s,popoverRef:n,isExiting:a,dir:c})});function Og({state:t,isExiting:e,UNSTABLE_portalContainer:n,clearContexts:r,...i}){let s=u.useRef(null),o=u.useRef(null),a=u.useContext(Dl),l=a&&i.trigger==="SubmenuTrigger",{popoverProps:c,underlayProps:d,arrowProps:p,placement:h,triggerAnchorPoint:b}=Kg({...i,offset:i.offset??8,arrowRef:s,groupRef:l?a:o},t),g=i.popoverRef,v=mr(g,!!h),m=i.isEntering||!i.shouldSkipAnimation&&v||!1,y=ie({...i,defaultClassName:"react-aria-Popover",values:{trigger:i.trigger||null,placement:h,isEntering:m,isExiting:e}}),$=!i.isNonModal||i.trigger==="SubmenuTrigger"||i.trigger==="PreviewTrigger",[x,E]=u.useState(i.trigger==="PreviewTrigger");te(()=>{g.current&&E($&&!g.current.querySelector("[role=dialog]"))},[g,$]),u.useEffect(()=>{x&&i.trigger!=="PreviewTrigger"&&(i.trigger!=="SubmenuTrigger"||at()!=="pointer")&&g.current&&!Dt(g.current)&&_t(g.current)},[x,g,i.trigger]);let R=u.useMemo(()=>{let _=y.children;if(r)for(let z of r)_=w.createElement(z.Provider,{value:null},_);return _},[y.children,r]),[k,S]=u.useState(null),C=u.useCallback(()=>{i.triggerRef.current&&S(i.triggerRef.current.getBoundingClientRect().width+"px")},[i.triggerRef]);te(C,[C]),Jr({ref:y.style?.["--trigger-width"]?void 0:i.triggerRef,onResize:C});let M={...c.style,"--trigger-anchor-point":b?`${b.x}px ${b.y}px`:void 0,...y.style,"--trigger-width":y.style?.["--trigger-width"]||k},I=w.createElement(ee.div,{...A(X(i,{global:!0}),c),...y,id:x?i.id:void 0,role:x?"dialog":void 0,tabIndex:x?-1:void 0,"aria-label":i["aria-label"],"aria-labelledby":i["aria-labelledby"],ref:g,slot:i.slot||void 0,style:M,dir:i.dir,"data-trigger":i.trigger,"data-placement":h,"data-entering":m||void 0,"data-exiting":e||void 0},!i.isNonModal&&w.createElement(Is,{onDismiss:t.close}),w.createElement(Uo.Provider,{value:{...p,placement:h,ref:s}},R),w.createElement(Is,{onDismiss:t.close}));return l?w.createElement(js,{...i,shouldContainFocus:x&&i.trigger!=="PreviewTrigger",isExiting:e,portalContainer:n??a?.current??void 0},I):w.createElement(js,{...i,shouldContainFocus:x&&i.trigger!=="PreviewTrigger",isExiting:e,portalContainer:n},!i.isNonModal&&t.isOpen&&w.createElement("div",{"data-testid":"underlay",...d,style:{position:"fixed",inset:0}}),w.createElement("div",{ref:o,style:{display:"contents"}},w.createElement(Dl.Provider,{value:o},I)))}const Bg=u.createContext({});var Od={};Od={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var Bd={};Bd={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var Hd={};Hd={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};var Vd={};Vd={"ar-AE":P,"bg-BG":P,"cs-CZ":P,"da-DK":P,"de-DE":P,"el-GR":P,"en-US":Od,"es-ES":P,"et-EE":P,"fi-FI":P,"fr-FR":P,"he-IL":P,"hr-HR":P,"hu-HU":P,"it-IT":P,"ja-JP":P,"ko-KR":P,"lt-LT":P,"lv-LV":P,"nb-NO":P,"nl-NL":P,"pl-PL":P,"pt-BR":P,"pt-PT":P,"ro-RO":P,"ru-RU":P,"sk-SK":P,"sl-SI":P,"sr-SP":P,"sv-SE":P,"tr-TR":P,"uk-UA":P,"zh-CN":Bd,"zh-TW":Hd};function Hg(t){let{onContextMenu:e}=t,n=u.useRef(!1),{longPressProps:r}=Ao({onLongPressStart(){n.current=!1},onLongPress(i){n.current?n.current=!1:e?.({target:i.target,x:i.x,y:i.y})}});return e?{contextMenuProps:A(ut()?r:{},{onContextMenu(i){i.stopPropagation(),i.preventDefault(),n.current=!0;let s=i.currentTarget.getBoundingClientRect();e({target:i.currentTarget,x:i.clientX-s.x,y:i.clientY-s.y})},onKeyDown(i){if(He()&&i.ctrlKey&&i.key==="Enter"){n.current=!1;let s=i.currentTarget;i.stopPropagation(),setTimeout(()=>{if(n.current)n.current=!1;else{let o=s.getBoundingClientRect();e({target:s,x:o.width/2,y:o.height/2})}},10)}}})}:{contextMenuProps:{}}}function Ud(t,e,n){let{type:r}=t,{isOpen:i}=e;u.useEffect(()=>{n&&n.current&&Td.set(n.current,e.close)});let s;r==="menu"?s=!0:r==="listbox"&&(s="listbox");let o=fe();return{triggerProps:{"aria-haspopup":s,"aria-expanded":i,"aria-controls":i?o:void 0,onPress:e.toggle},overlayProps:{id:o}}}function Vg(t){return t&&t.__esModule?t.default:t}function qd(t,e,n){let{type:r="menu",isDisabled:i,trigger:s="press"}=t,o=fe(),{triggerProps:a,overlayProps:l}=Ud({type:r},e,n),c=(m,y,$="first")=>{if(!m||y.isDefaultPrevented())return!1;e.toggle($)},{keyboardProps:d}=Ze({isDisabled:i,shortcuts:{Enter:m=>c(s!=="longPress",m,"first")," ":m=>c(s!=="longPress",m,"first"),ArrowDown:m=>c(s!=="longPress",m,"first"),ArrowUp:m=>c(s!=="longPress",m,"last"),"Alt+Enter":m=>c(s==="longPress",m,"first"),"Alt+ ":m=>c(s==="longPress",m,"first"),"Alt+ArrowDown":m=>c(!0,m,"first"),"Alt+ArrowUp":m=>c(!0,m,"last")}}),p=sn(Vg(Vd),"@react-aria/menu"),{longPressProps:h}=Ao({isDisabled:i||s!=="longPress",accessibilityDescription:p.format("longPressMessage"),onLongPressStart(){e.close()},onLongPress(){e.open("first")}}),b={preventFocusOnPress:!0,onPressStart(m){m.pointerType!=="touch"&&m.pointerType!=="keyboard"&&!i&&(ye(m.target),e.open(m.pointerType==="virtual"?"first":null))},onPress(m){m.pointerType==="touch"&&!i&&(ye(m.target),e.toggle())}};delete a.onPress;let{contextMenuProps:g}=Hg({onContextMenu(m){let y=m.target.getBoundingClientRect();e.setPoint({x:y.x+m.x,y:y.y+m.y}),e.open()}});u.useEffect(()=>{if(e.isOpen&&s==="contextMenu"){let m=y=>{(y.button===2||y.button===0&&y.ctrlKey===!0)&&F(y)===document.body&&e.close()};return document.addEventListener("mousedown",m),()=>document.removeEventListener("mousedown",m)}},[e,s]);let v;if(s==="press")v={...b,...d};else if(s==="longPress")v={...h,...d};else if(s==="contextMenu"){v=g;let{"aria-haspopup":m,"aria-expanded":y,"aria-controls":$,...x}=a;a=x}return{menuTriggerProps:{...a,...v,id:o},menuProps:{...l,"aria-labelledby":o,autoFocus:e.focusStrategy||!0,onClose:e.close}}}const zd=new WeakMap;function Ug(t,e,n){let{shouldFocusWrap:r=!0,onKeyDown:i,onKeyUp:s,...o}=t;!t["aria-label"]&&t["aria-labelledby"];let a=X(t,{labelable:!0}),{listProps:l}=yd({...o,ref:n,selectionManager:e.selectionManager,collection:e.collection,disabledKeys:e.disabledKeys,shouldFocusWrap:r,linkBehavior:"override"});return zd.set(e,{onClose:t.onClose,onAction:t.onAction,shouldUseVirtualFocus:t.shouldUseVirtualFocus}),{menuProps:A(a,{onKeyDown:i,onKeyUp:s},{role:"menu",...l,onKeyDown:c=>{(c.key!=="Escape"||t.shouldUseVirtualFocus)&&l.onKeyDown?.(c)}})}}function qg(t,e,n){let{id:r,key:i,closeOnSelect:s,shouldCloseOnSelect:o,isVirtualized:a,"aria-haspopup":l,onPressStart:c,onPressUp:d,onPress:p,onPressChange:h,onPressEnd:b,onClick:g,onHoverStart:v,onHoverChange:m,onHoverEnd:y,onKeyDown:$,onKeyUp:x,onFocus:E,onFocusChange:R,onBlur:k,selectionManager:S=e.selectionManager}=t,C=!!l,M=C&&t["aria-expanded"]==="true",I=t.isDisabled??S.isDisabled(i),_=t.isSelected??S.isSelected(i),z=zd.get(e),U=e.collection.getItem(i),T=t.onClose||z.onClose,j=Tn(),q=()=>{if(!C&&(U?.props?.onAction?U.props.onAction():t.onAction&&t.onAction(i),z.onAction)){let pe=z.onAction;pe(i,U?.value)}},D="menuitem";C||(S.selectionMode==="single"?D="menuitemradio":S.selectionMode==="multiple"&&(D="menuitemcheckbox"));let Y=ot(),N=ot(),W=ot(),V={id:r,"aria-disabled":I||void 0,role:D,"aria-label":t["aria-label"],"aria-labelledby":Y,"aria-describedby":[t["aria-describedby"],N,W].filter(Boolean).join(" ")||void 0,"aria-controls":t["aria-controls"],"aria-haspopup":l,"aria-expanded":t["aria-expanded"]};if(S.selectionMode!=="none"&&!C&&(V["aria-checked"]=_),a){let pe=Number(U?.index);V["aria-posinset"]=Number.isNaN(pe)?void 0:pe+1,V["aria-setsize"]=$d(e.collection)}let K=u.useRef(!1),O=pe=>{h?.(pe),K.current=pe},J=u.useRef(null),L=pe=>{pe.pointerType!=="keyboard"&&(J.current={pointerType:pe.pointerType}),pe.pointerType==="mouse"&&(K.current||pe.target.click()),d?.(pe)},re=pe=>{g?.(pe),q(),bu(pe,j,U.props.href,U?.props.routerOptions);let cn=J.current?.pointerType==="keyboard"?J.current?.key==="Enter"||S.selectionMode==="none"||S.isLink(i):S.selectionMode!=="multiple"||S.isLink(i);cn=o??s??cn,T&&!C&&cn&&T(),J.current=null},{itemProps:ce,isFocused:tt}=Oo({id:r,selectionManager:S,key:i,ref:n,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:z.shouldUseVirtualFocus}),{pressProps:vr,isPressed:Vi}=Zt({onPressStart:c,onPress:p,onPressUp:L,onPressChange:O,onPressEnd:b,isDisabled:I}),{hoverProps:B}=Ne({isDisabled:I,onHoverStart(pe){!Kt()&&!(M&&l)&&(S.setFocused(!0),S.setFocusedKey(i)),v?.(pe)},onHoverChange:m,onHoverEnd:y}),{keyboardProps:H}=Ze({shortcuts:{" ":pe=>{J.current={pointerType:"keyboard",key:" "},F(pe).click(),Bn("keyboard")},Enter:pe=>{J.current={pointerType:"keyboard",key:"Enter"};let cn=F(pe);if(cn.tagName!=="A"){cn.click(),Bn("keyboard");return}return Bn("keyboard"),{shouldPreventDefault:!1,shouldContinuePropagation:!1}}},onKeyDown:$,onKeyUp:x}),{focusableProps:Pe}=At({onBlur:k,onFocus:E,onFocusChange:R},n),ge=X(U?.props);delete ge.id;let $r=hi(U?.props);return{menuItemProps:{...V,...A(ge,$r,C?{onFocus:ce.onFocus,"data-collection":ce["data-collection"],"data-key":ce["data-key"]}:ce,vr,B,H,Pe,z.shouldUseVirtualFocus||C?{onMouseDown:pe=>pe.preventDefault()}:void 0,I?void 0:{onClick:re}),tabIndex:ce.tabIndex!=null&&M&&!z.shouldUseVirtualFocus?-1:ce.tabIndex},labelProps:{id:Y},descriptionProps:{id:N},keyboardShortcutProps:{id:W},isFocused:tt,isFocusVisible:tt&&S.isFocused&&Kt()&&!M,isSelected:_,isPressed:Vi,isDisabled:I}}function zg(t){let{heading:e,"aria-label":n}=t,r=fe();return{itemProps:{role:"presentation"},headingProps:e?{id:r,role:"presentation"}:{},groupProps:{role:"group","aria-label":n,"aria-labelledby":e?r:void 0}}}const Tr=2,Wg=50,Gg=1e3,Kl=Math.PI/12;function Yg(t){let{menuRef:e,submenuRef:n,isOpen:r,isDisabled:i}=t,s=u.useRef(void 0),o=u.useRef(void 0),a=u.useRef(0),l=u.useRef(void 0),c=u.useRef(void 0),d=u.useRef(void 0),p=u.useRef(2),[h,b]=u.useState(!1);Jr({ref:r?n:void 0,onResize:()=>{n.current&&(o.current=n.current.getBoundingClientRect(),d.current=void 0)}});let v=()=>{b(!1),p.current=Tr,s.current=void 0},m=lm(),y=Re($=>{h&&$.preventDefault()});u.useEffect(()=>{h&&e.current?e.current.style.pointerEvents="none":e.current.style.pointerEvents=""},[e,h]),te(()=>{let $=n.current,x=e.current;if(i||!$||!r||m!=="pointer"||!x){v();return}o.current=$.getBoundingClientRect();let E=R=>{if(R.pointerType==="touch"||R.pointerType==="pen")return;let k=Date.now();if(k-a.currento.current.right?"left":"right"),Sx.getBoundingClientRect().right||Cx.getBoundingClientRect().bottom){v();return}let M=s.current.x,I=s.current.y,_=d.current==="right"?o.current.left-M:M-o.current.right,z=Math.atan2(I-o.current.top,_)+Kl,U=Math.atan2(I-o.current.bottom,_)-Kl,T=Math.atan2(I-C,d.current==="left"?-(S-M):S-M),j=TU;p.current=j?Math.min(p.current+1,Tr):Math.max(p.current-1,0),p.current>=Tr?b(!0):b(!1),a.current=k,s.current={x:S,y:C},j&&(l.current=setTimeout(()=>{v(),c.current=setTimeout(()=>{let q=document.elementFromPoint(S,C);q&&Z(x,q)&&q.dispatchEvent(new PointerEvent("pointerover",{bubbles:!0,cancelable:!0}))},100)},Gg))};return window.addEventListener("pointermove",E),window.addEventListener("pointerdown",y,!0),()=>{window.removeEventListener("pointermove",E),window.removeEventListener("pointerdown",y,!0),clearTimeout(l.current),clearTimeout(c.current),p.current=Tr}},[i,r,e,m,b,n])}function Jg(t,e,n){let{parentMenuRef:r,submenuRef:i,type:s="menu",isDisabled:o,delay:a=200,shouldUseVirtualFocus:l}=t,c=fe(),d=fe(),{direction:p}=Ue(),h=u.useRef(void 0),b=u.useCallback(()=>{h.current&&(clearTimeout(h.current),h.current=void 0)},[h]),g=u.useCallback(S=>{b(),e.open(S)},[e,b]),v=u.useCallback(()=>{b(),e.close()},[e,b]);te(()=>()=>{b()},[b]);let{keyboardProps:m}=Ze({shortcuts:{ArrowLeft:S=>{if(!Dt(S.currentTarget))return!1;if(p==="ltr"&&Z(S.currentTarget,F(S))){v(),!l&&n.current&&ye(n.current);return}return!1},ArrowRight:S=>{if(!Dt(S.currentTarget))return!1;if(p==="rtl"&&Z(S.currentTarget,F(S))){v(),!l&&n.current&&ye(n.current);return}return!1},Escape:S=>{if(!Dt(S.currentTarget))return!1;if(Z(i.current,F(S))){v(),!l&&n.current&&ye(n.current);return}return!1}}}),y={id:d,"aria-labelledby":c,submenuLevel:e.submenuLevel,...s==="menu"&&{onClose:e.closeAll,autoFocus:e.focusStrategy??void 0,...m}},{keyboardProps:$}=Ze({shortcuts:{ArrowRight:()=>{if(!o)if(p==="ltr"){e.isOpen||g("first"),s==="menu"&&i?.current&&se()===n?.current&&ye(i.current);return}else if(e.isOpen){v();return}else return!1;return!1},ArrowLeft:()=>{if(!o)if(p==="rtl"){e.isOpen||g("first"),s==="menu"&&i?.current&&se()===n?.current&&ye(i.current);return}else if(e.isOpen){v();return}else return!1;return!1}}}),x=S=>{!o&&(S.pointerType==="virtual"||S.pointerType==="keyboard")&&g("first")},E=S=>{!o&&(S.pointerType==="touch"||S.pointerType==="mouse")&&g()},R=S=>{o||(S&&!e.isOpen?h.current||(h.current=setTimeout(()=>{g()},a)):S||b())};zt(r,"focusin",S=>{e.isOpen&&Z(r.current,F(S))&&F(S)!==n.current&&v()});let k=S=>S!==n.current;return Yg({menuRef:r,submenuRef:i,isOpen:e.isOpen,isDisabled:o}),{submenuTriggerProps:{onKeyDown:$.onKeyDown,onKeyUp:$.onKeyUp,id:c,"aria-controls":e.isOpen?d:void 0,"aria-haspopup":o?void 0:s,"aria-expanded":e.isOpen?"true":"false",onPressStart:x,onPress:E,onHoverChange:R,isOpen:e.isOpen},submenuProps:y,popoverProps:{isNonModal:!0,shouldCloseOnInteractOutside:k}}}function zo(t){let e=hr(t),[n,r]=u.useState(null),[i,s]=u.useState([]),o=()=>{s([]),e.close()};return{focusStrategy:n,...e,open(c=null){r(c),e.open()},toggle(c=null){r(c),e.toggle()},close(){o()},expandedKeysStack:i,openSubmenu:(c,d)=>{s(p=>d>p.length?p:[...p.slice(0,d),c])},closeSubmenu:(c,d)=>{s(p=>p[d]===c?p.slice(0,d):p)}}}function Xg(t,e){let{triggerKey:n}=t,{expandedKeysStack:r,openSubmenu:i,closeSubmenu:s,close:o}=e,[a]=u.useState(r?.length),l=u.useMemo(()=>r[a]===n,[r,n,a]),[c,d]=u.useState(null),p=u.useCallback(g=>{d(g??null),i(n,a)},[i,a,n]),h=u.useCallback(()=>{d(null),s(n,a)},[s,a,n]),b=u.useCallback(g=>{d(g??null),l?h():p(g)},[h,p,l]);return u.useMemo(()=>({focusStrategy:c,isOpen:l,open:p,close:h,closeAll:o,submenuLevel:a,setOpen:()=>{},toggle:b,point:null,setPoint:()=>{}}),[l,p,h,o,c,b,a])}class Zg{constructor(e,{expandedKeys:n}={}){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e,n=n||new Set;let r=o=>{if(this.keyMap.set(o.key,o),o.childNodes&&(o.type==="section"||n.has(o.key)))for(let a of o.childNodes)r(a)};for(let o of e)r(o);let i=null,s=0;for(let[o,a]of this.keyMap)i?(i.nextKey=o,a.prevKey=i.key):(this.firstKey=o,a.prevKey=void 0),a.type==="item"&&(a.index=s++),i=a,i.nextKey=void 0;this.lastKey=i?.key??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let n=this.keyMap.get(e);return n?n.prevKey??null:null}getKeyAfter(e){let n=this.keyMap.get(e);return n?n.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){return this.keyMap.get(e)??null}at(e){const n=[...this.getKeys()];return this.getItem(n[e])}}function Qg(t){let{onExpandedChange:e}=t,[n,r]=qe(t.expandedKeys?new Set(t.expandedKeys):void 0,t.defaultExpandedKeys?new Set(t.defaultExpandedKeys):new Set,e),i=Bo(t),s=u.useMemo(()=>t.disabledKeys?new Set(t.disabledKeys):new Set,[t.disabledKeys]),o=xd(t,u.useCallback(l=>new Zg(l,{expandedKeys:n}),[n]),null);return u.useEffect(()=>{i.focusedKey!=null&&!o.getItem(i.focusedKey)&&i.setFocusedKey(null)},[o,i.focusedKey]),{collection:o,expandedKeys:n,disabledKeys:s,toggleKey:l=>{r(e0(n,l))},setExpandedKeys:r,selectionManager:new pr(o,i)}}function e0(t,e){let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n}const Wo=u.createContext(null),gr=u.createContext(null),tr=u.createContext(null),Xr=u.createContext(null);function t0(t){let e=zo(t),n=u.useRef(null),{menuTriggerProps:r,menuProps:i}=qd({...t,type:"menu"},e,n),s=u.useRef(null);return $o()?null:w.createElement(ve,{values:[[Wo,{...i,ref:s}],[kt,e],[tr,e],[br,{trigger:"MenuTrigger",triggerRef:n,scrollRef:s,placement:"bottom start","aria-labelledby":i["aria-labelledby"],offset:t.trigger==="contextMenu"?0:void 0}]]},w.createElement(Kd,{...r,ref:n,isPressed:e.isOpen},t.children))}const Wd=u.createContext(null);class n0 extends on{static{this.type="submenutrigger"}filter(e,n,r){let i=e.getItem(this.firstChildKey);if(i&&r(i.textValue,this)){let s=this.clone();return n.addDescendants(s,e),s}return null}}const r0=xo(n0,(t,e,n)=>{let{CollectionBranch:r}=u.useContext(Pt),i=u.useContext(gr),s=u.useContext(tr),o=Xg({triggerKey:n.key},s),a=u.useRef(null),l=Ee(e),{parentMenuRef:c,shouldUseVirtualFocus:d}=u.useContext(Wd),{submenuTriggerProps:p,submenuProps:h,popoverProps:b}=Jg({parentMenuRef:c,submenuRef:a,delay:t.delay,shouldUseVirtualFocus:d},o,l);return w.createElement(ve,{values:[[En,{...p,onAction:void 0,ref:l}],[Wo,{ref:a,...h}],[kt,o],[br,{trigger:"SubmenuTrigger",triggerRef:l,placement:"end top","aria-labelledby":h["aria-labelledby"],...b}]]},w.createElement(r,{collection:i.collection,parent:n}),t.children[1])},t=>t.children[0]),nr=u.forwardRef(function(e,n){return[e,n]=ae(e,n,Wo),w.createElement(yi,{content:w.createElement(wo,e)},r=>w.createElement(i0,{props:e,collection:r,menuRef:n}))});function i0({props:t,collection:e,menuRef:n}){[t,n]=ae(t,n,Ur);let{filter:r,...i}=t,s=u.useMemo(()=>r?e.filter(r):e,[e,r]),o=Qg({...t,collection:s,children:void 0}),a=u.useContext(tr),{isVirtualized:l,CollectionRoot:c}=u.useContext(Pt),{menuProps:d}=Ug({...t,isVirtualized:l,onClose:t.onClose||a?.close},o,n),p=ie({...t,children:void 0,defaultClassName:"react-aria-Menu",values:{isEmpty:o.collection.size===0}}),h=null;o.collection.size===0&&t.renderEmptyState&&(h=w.createElement("div",{role:"menuitem",style:{display:"contents"}},t.renderEmptyState()));let b=X(t,{global:!0});return w.createElement(Do,null,w.createElement(ee.div,{...A(b,p,d),ref:n,slot:t.slot||void 0,"data-empty":o.collection.size===0||void 0,onScroll:t.onScroll},w.createElement(ve,{values:[[gr,o],[Io,{elementType:"div"}],[Hu,{name:"MenuSection",render:Gd}],[Wd,{parentMenuRef:n,shouldUseVirtualFocus:i?.shouldUseVirtualFocus}],[En,{shouldCloseOnSelect:t.shouldCloseOnSelect}],[Ur,null],[gi,null],[Xr,o.selectionManager],[tr,a??zo({})]]},w.createElement(wi,null,w.createElement(c,{collection:o.collection,persistedKeys:Uu(o.selectionManager.focusedKey),scrollRef:n}))),h))}class s0 extends pr{constructor(e,n){super(e.collection,n),this.parent=e}get focusedKey(){return this.parent.focusedKey}get isFocused(){return this.parent.isFocused}setFocusedKey(e,n){return this.parent.setFocusedKey(e,n)}setFocused(e){this.parent.setFocused(e)}get childFocusStrategy(){return this.parent.childFocusStrategy}}function Gd(t,e,n,r="react-aria-MenuSection"){let i=u.useContext(gr),{CollectionBranch:s}=u.useContext(Pt),[o,a]=lr(),{headingProps:l,groupProps:c}=zg({heading:a,"aria-label":n.props["aria-label"]??void 0}),d=ie({...t,id:void 0,children:void 0,defaultClassName:r,className:n.props?.className,style:n.props?.style,values:void 0}),p=u.useContext(Xr),h=Bo(t),b=t.selectionMode!=null?new s0(p,h):p,g=wt(En)?.shouldCloseOnSelect,v=X(t,{global:!0});return delete v.id,w.createElement(ee.section,{...A(v,d,c),ref:e},w.createElement(ve,{values:[[Lo,{...l,ref:o}],[Xr,b],[En,{shouldCloseOnSelect:t.shouldCloseOnSelect??g}]]},w.createElement(s,{collection:i.collection,parent:n})))}const Yd=xo(Lu,Gd),En=u.createContext(null),Go=an(Nu,function(e,n,r){[e,n]=ae(e,n,En);let i=wt(En)?.id,s=u.useContext(gr),o=Ee(n),a=u.useContext(Xr),{isVirtualized:l}=u.useContext(Pt),{menuItemProps:c,labelProps:d,descriptionProps:p,keyboardShortcutProps:h,...b}=qg({...e,id:i,key:r.key,selectionManager:a,isVirtualized:l},s,o),{hoverProps:g,isHovered:v}=Ne({isDisabled:b.isDisabled}),m=ie({...e,id:void 0,children:r.rendered,defaultClassName:"react-aria-MenuItem",values:{...b,isHovered:v,isFocusVisible:b.isFocusVisible,selectionMode:a.selectionMode,selectionBehavior:a.selectionBehavior,hasSubmenu:!!e["aria-haspopup"],isOpen:e["aria-expanded"]==="true"}}),y=e.href?ee.a:ee.div,$=X(e,{global:!0});return delete $.id,delete $.onClick,w.createElement(y,{...A($,m,c,g),ref:o,"data-disabled":b.isDisabled||void 0,"data-hovered":v||void 0,"data-focused":b.isFocused||void 0,"data-focus-visible":b.isFocusVisible||void 0,"data-pressed":b.isPressed||void 0,"data-selected":b.isSelected||void 0,"data-selection-mode":a.selectionMode==="none"?void 0:a.selectionMode,"data-has-submenu":!!e["aria-haspopup"]||void 0,"data-open":e["aria-expanded"]==="true"||void 0},w.createElement(ve,{values:[[ft,{slots:{[yt]:d,label:d,description:p}}],[Bg,h],[Ei,{isSelected:b.isSelected}]]},m.children))});an(Mu,function(e,n,r){let i=u.useContext(gr),{isLoading:s,onLoadMore:o,scrollOffset:a,...l}=e,c=u.useRef(null),d=u.useMemo(()=>({onLoadMore:o,collection:i?.collection,sentinelRef:c,scrollOffset:a}),[o,a,i?.collection]);Ed(d,c);let p=ie({...l,id:void 0,children:r.rendered,defaultClassName:"react-aria-MenuLoadingIndicator",values:void 0}),h={tabIndex:-1};return w.createElement(w.Fragment,null,w.createElement("div",{style:{position:"relative",width:0,height:0},inert:Gr(!0)},w.createElement("div",{"data-testid":"loadMoreSentinel",ref:c,style:{position:"absolute",height:1,width:1}})),s&&p.children&&w.createElement(w.Fragment,null,w.createElement(ee.div,{...A(X(e,{global:!0}),h),...p,role:"menuitem",ref:n},p.children)))});function o0(t,e){let{role:n="dialog"}=t,r=ot();r=t["aria-label"]?void 0:r;let i=ot();i=n==="alertdialog"&&!t["aria-describedby"]?i:void 0;let s=u.useRef(!1);u.useEffect(()=>{if(e.current&&!Dt(e.current)){_t(e.current);let a=setTimeout(()=>{(se()===e.current||se()===document.body)&&(s.current=!0,e.current&&(e.current.blur(),_t(e.current)),s.current=!1)},500);return()=>{clearTimeout(a)}}},[e]),Fd(),u.useRef(!1),u.useEffect(()=>{});let o=t["aria-describedby"]??i;return{dialogProps:{...X(t,{labelable:!0}),role:n,tabIndex:-1,"aria-labelledby":t["aria-labelledby"]??r,"aria-describedby":o,onBlur:a=>{s.current&&a.stopPropagation()}},titleProps:{id:r},contentProps:{id:i}}}const Jd=u.createContext(null),kt=u.createContext(null);function Xd(t){let e=zo(t),n=u.useRef(null),{triggerProps:r,overlayProps:i}=Ud({type:"dialog"},e,n);return r.id=fe(),i["aria-labelledby"]=r.id,$o()?null:w.createElement(ve,{values:[[kt,e],[tr,e],[Jd,i],[br,{trigger:"DialogTrigger",triggerRef:n,id:i.id,"aria-labelledby":i["aria-labelledby"]}]]},w.createElement(Kd,{...r,ref:n,isPressed:e.isOpen},t.children))}const Zr=u.forwardRef(function(e,n){let r=e["aria-labelledby"];[e,n]=ae(e,n,Jd);let{dialogProps:i,titleProps:s,contentProps:o}=o0({...e,"aria-labelledby":r},n),a=u.useContext(kt);!i["aria-label"]&&!i["aria-labelledby"]&&e["aria-labelledby"]&&(i["aria-labelledby"]=e["aria-labelledby"]);let l=ie({defaultClassName:"react-aria-Dialog",className:e.className,style:e.style,children:e.children,values:{close:a?.close||(()=>{})}}),c=X(e,{global:!0});return w.createElement(ee.section,{...A(c,l,i),render:e.render,ref:n,slot:e.slot||void 0},w.createElement(ve,{values:[[Xu,{slots:{[yt]:{},title:{...s,level:2}}}],[ft,{slots:{[yt]:{},description:o}}],[Ot,{slots:{[yt]:{},close:{onPress:()=>a?.close()}}}]]},l.children))});function a0(t={}){let{locale:e}=Ue();return u.useMemo(()=>new Intl.ListFormat(e,t),[e,t])}function l0(t,e,n){let{isDisabled:r}=t,i=fe(),s=fe(),o=et(),a=u.useRef(null),l=u.useCallback(()=>{a.current=requestAnimationFrame(()=>{n.current&&n.current.setAttribute("hidden","until-found")}),rn.flushSync(()=>{e.toggle()})},[n,e]);zt(n,"beforematch",l);let c=u.useRef(null);return te(()=>{if(a.current&&cancelAnimationFrame(a.current),n.current&&!o){let d=n.current;c.current==null||typeof d.getAnimations!="function"?e.isExpanded?(d.removeAttribute("hidden"),d.style.setProperty("--disclosure-panel-width","auto"),d.style.setProperty("--disclosure-panel-height","auto")):(d.setAttribute("hidden","until-found"),d.style.setProperty("--disclosure-panel-width","0px"),d.style.setProperty("--disclosure-panel-height","0px")):e.isExpanded!==c.current&&(e.isExpanded?(d.removeAttribute("hidden"),d.style.setProperty("--disclosure-panel-width",d.scrollWidth+"px"),d.style.setProperty("--disclosure-panel-height",d.scrollHeight+"px"),Promise.all(d.getAnimations().map(p=>p.finished)).then(()=>{d.style.setProperty("--disclosure-panel-width","auto"),d.style.setProperty("--disclosure-panel-height","auto")}).catch(()=>{})):(d.style.setProperty("--disclosure-panel-width",d.scrollWidth+"px"),d.style.setProperty("--disclosure-panel-height",d.scrollHeight+"px"),window.getComputedStyle(d).height,d.style.setProperty("--disclosure-panel-width","0px"),d.style.setProperty("--disclosure-panel-height","0px"),Promise.all(d.getAnimations().map(p=>p.finished)).then(()=>d.setAttribute("hidden","until-found")).catch(()=>{}))),c.current=e.isExpanded}},[r,n,e.isExpanded,o]),u.useEffect(()=>()=>{a.current&&cancelAnimationFrame(a.current)},[]),{buttonProps:{id:i,"aria-expanded":e.isExpanded,"aria-controls":s,onPress:d=>{!r&&d.pointerType!=="keyboard"&&e.toggle()},isDisabled:r,onPressStart(d){d.pointerType==="keyboard"&&!r&&e.toggle()}},panelProps:{id:s,role:"group","aria-labelledby":i,"aria-hidden":!e.isExpanded,hidden:o?!e.isExpanded:void 0}}}function c0(t){let{allowsMultipleExpanded:e=!1,isDisabled:n=!1}=t,[r,i]=qe(u.useMemo(()=>t.expandedKeys?new Set(t.expandedKeys):void 0,[t.expandedKeys]),u.useMemo(()=>t.defaultExpandedKeys?new Set(t.defaultExpandedKeys):new Set,[t.defaultExpandedKeys]),t.onExpandedChange);return u.useEffect(()=>{if(!e&&r.size>1){let s=r.values().next().value;s!=null&&i(new Set([s]))}}),{allowsMultipleExpanded:e,isDisabled:n,expandedKeys:r,setExpandedKeys:i,toggleKey(s){let o;e?(o=new Set(r),o.has(s)?o.delete(s):o.add(s)):o=new Set(r.has(s)?[]:[s]),i(o)}}}function u0(t){let[e,n]=qe(t.isExpanded,t.defaultExpanded||!1,t.onExpandedChange);const r=u.useCallback(()=>{n(!0)},[n]),i=u.useCallback(()=>{n(!1)},[n]),s=u.useCallback(()=>{n(!e)},[n,e]);return{isExpanded:e,setExpanded:n,expand:r,collapse:i,toggle:s}}const Zd=u.createContext(null),d0=u.forwardRef(function(e,n){let r=c0(e),i=ie({...e,defaultClassName:"react-aria-DisclosureGroup",values:{isDisabled:r.isDisabled,state:r}}),s=X(e,{global:!0});return w.createElement(ee.div,{...s,...i,ref:n,"data-disabled":e.isDisabled||void 0},w.createElement(Zd.Provider,{value:r},i.children))}),f0=u.createContext(null),p0=u.createContext(null),Qd=u.createContext(null),h0=u.forwardRef(function(e,n){[e,n]=ae(e,n,f0);let r=u.useContext(Zd),{id:i,...s}=e,o=fe();i||=o;let a=r?r.expandedKeys.has(i):e.isExpanded,l=u0({...e,isExpanded:a,onExpandedChange(y){r&&r.toggleKey(i),e.onExpandedChange?.(y)}}),c=w.useRef(null),d=e.isDisabled||r?.isDisabled||!1,{buttonProps:p,panelProps:h}=l0({...e,isExpanded:a,isDisabled:d},l,c),{isFocusVisible:b,focusProps:g}=Ke({within:!0}),v=ie({...e,id:void 0,defaultClassName:"react-aria-Disclosure",values:{isExpanded:l.isExpanded,isDisabled:d,isFocusVisibleWithin:b,state:l}}),m=X(s,{global:!0});return w.createElement(ve,{values:[[Ot,{slots:{[yt]:{},trigger:p}}],[Qd,{panelProps:h,panelRef:c}],[p0,l]]},w.createElement(ee.div,{...A(m,v,g),ref:n,"data-expanded":l.isExpanded||void 0,"data-disabled":d||void 0,"data-focus-visible-within":b||void 0},v.children))}),m0=u.forwardRef(function(e,n){let{role:r="group"}=e,{panelProps:i,panelRef:s}=u.useContext(Qd),{isFocusVisible:o,focusProps:a}=Ke({within:!0}),l=ie({...e,defaultClassName:"react-aria-DisclosurePanel",values:{isFocusVisibleWithin:o}}),c=X(e,{global:!0,labelable:!0});return w.createElement(ee.div,{...A(c,l,i,a),ref:Ft(n,s),role:r,"data-focus-visible-within":o||void 0},w.createElement(ve,{values:[[Ot,null]]},e.children))});function b0(t,e){let n=e?.isDisabled,[r,i]=u.useState(!1);return te(()=>{if(t?.current&&!n){let s=()=>{if(t.current){let a=je(t.current,{tabbable:!0});i(!!a.nextNode())}};s();let o=new MutationObserver(s);return o.observe(t.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{o.disconnect()}}}),n?!1:r}const g0=1500,_l=500;let Ut={},y0=0,dn=!1,rt=null,qt=null;function ef(t={}){let{delay:e=g0,closeDelay:n=_l}=t,{isOpen:r,open:i,close:s}=hr(t),[o,a]=u.useState(!1),l=u.useMemo(()=>`${++y0}`,[]),c=u.useRef(null),d=u.useRef(s),p=()=>{Ut[l]=g},h=()=>{for(let m in Ut)m!==l&&(Ut[m](!0,!0),delete Ut[m])},b=m=>{c.current&&clearTimeout(c.current),c.current=null,h(),p(),a(!!m),dn=!0,i(),rt&&(clearTimeout(rt),rt=null),qt&&(clearTimeout(qt),qt=null)},g=(m,y)=>{a(!!y),m||n<=0?(c.current&&clearTimeout(c.current),c.current=null,d.current()):c.current||(c.current=setTimeout(()=>{c.current=null,d.current()},n)),rt&&(clearTimeout(rt),rt=null),dn&&(qt&&clearTimeout(qt),qt=setTimeout(()=>{delete Ut[l],qt=null,dn=!1},Math.max(_l,n)))},v=()=>{h(),p(),!r&&!dn?(rt&&clearTimeout(rt),rt=setTimeout(()=>{rt=null,dn=!0,b(!1)},e)):r||b(!0)};return u.useEffect(()=>{d.current=s},[s]),u.useEffect(()=>()=>{c.current&&clearTimeout(c.current),Ut[l]&&delete Ut[l]},[l]),{isOpen:r,shouldSkipAnimation:o,open:m=>{!m&&e>0&&!c.current?v():b(dn)},close:g}}function v0(t,e,n){let{overlayProps:r,underlayProps:i}=Md({...t,isOpen:e.isOpen,onClose:e.close},n);return Nd({isDisabled:!e.isOpen}),Fd(),u.useEffect(()=>{if(e.isOpen&&n.current)return kd([n.current],{shouldUseInert:!0})},[e.isOpen,n]),{modalProps:A(r),underlayProps:i}}let Ie=typeof document<"u"&&window.visualViewport;function $0(){let t=et(),[e,n]=u.useState(()=>t?{width:0,height:0}:ns());return u.useEffect(()=>{let r=a=>{n(l=>a.width===l.width&&a.height===l.height?l:a)},i=()=>{Ie&&Ie.scale>1||r(ns())},s,o=a=>{Ie&&Ie.scale>1||Hn(F(a))&&(s=requestAnimationFrame(()=>{let l=se();(!l||!Hn(l))&&r({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})}))};return r(ns()),ut()&&vt()&&window.addEventListener("blur",o,!0),Ie?Ie.addEventListener("resize",i):window.addEventListener("resize",i),()=>{cancelAnimationFrame(s),ut()&&vt()&&window.removeEventListener("blur",o,!0),Ie?Ie.removeEventListener("resize",i):window.removeEventListener("resize",i)}},[]),e}function ns(){return{width:Ie?Math.min(Ie.width*Ie.scale,document.documentElement.clientWidth):document.documentElement.clientWidth,height:Ie?Ie.height*Ie.scale:document.documentElement.clientHeight}}const x0=u.createContext(null),Yo=u.createContext(null),tf=u.forwardRef(function(e,n){if(u.useContext(Yo))return w.createElement(Fl,{...e,modalRef:n},e.children);let{isDismissable:i,isKeyboardDismissDisabled:s,isOpen:o,defaultOpen:a,onOpenChange:l,children:c,isEntering:d,isExiting:p,UNSTABLE_portalContainer:h,shouldCloseOnInteractOutside:b,...g}=e;return w.createElement(Jo,{isDismissable:i,isKeyboardDismissDisabled:s,isOpen:o,defaultOpen:a,onOpenChange:l,isEntering:d,isExiting:p,UNSTABLE_portalContainer:h,shouldCloseOnInteractOutside:b},w.createElement(Fl,{...g,modalRef:n},c))});function w0(t,e){[t,e]=ae(t,e,x0);let n=u.useContext(kt),r=hr(t),i=t.isOpen!=null||t.defaultOpen!=null||!n?r:n,s=Ee(e),o=u.useRef(null),a=er(s,i.isOpen),l=er(o,i.isOpen),c=a||l||t.isExiting||!1,d=et();return!i.isOpen&&!c||d?null:w.createElement(E0,{...t,state:i,isExiting:c,overlayRef:s,modalRef:o})}const Jo=u.forwardRef(w0);function E0({UNSTABLE_portalContainer:t,...e}){let n=e.modalRef,{state:r}=e,{modalProps:i,underlayProps:s}=v0(e,r,n),o=mr(e.overlayRef)||e.isEntering||!1,a=ie({...e,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:o,isExiting:e.isExiting,state:r}}),l=$0(),c,d;if(typeof document<"u"){let h=Qt(document.body)?document.body:document.scrollingElement||document.documentElement,b=h.getBoundingClientRect().width%1,g=h.getBoundingClientRect().height%1;c=h.scrollWidth-b,d=h.scrollHeight-g}let p={...a.style,"--visual-viewport-width":l.width+"px","--visual-viewport-height":l.height+"px","--page-width":c!==void 0?c+"px":void 0,"--page-height":d!==void 0?d+"px":void 0};return w.createElement(js,{isExiting:e.isExiting,portalContainer:t},w.createElement(ee.div,{...A(X(e,{global:!0}),s),...a,style:p,ref:e.overlayRef,"data-entering":o||void 0,"data-exiting":e.isExiting||void 0},w.createElement(ve,{values:[[Yo,{modalProps:i,modalRef:n,isExiting:e.isExiting,isDismissable:e.isDismissable}],[kt,r]]},a.children)))}function Fl(t){let{modalProps:e,modalRef:n,isExiting:r,isDismissable:i}=u.useContext(Yo),s=u.useContext(kt),o=u.useMemo(()=>Ft(t.modalRef,n),[t.modalRef,n]),a=Ee(o),l=mr(a),c=ie({...t,defaultClassName:"react-aria-Modal",values:{isEntering:l,isExiting:r,state:s}});return w.createElement(ee.div,{...A(X(t,{global:!0}),e),...c,ref:a,"data-entering":l||void 0,"data-exiting":r||void 0},i&&w.createElement(Is,{onDismiss:s.close}),c.children)}var nf={};nf={"Clear search":"Clear search"};var rf={};rf={"Clear search":"清除搜索"};var sf={};sf={"Clear search":"清除搜尋條件"};var of={};of={"ar-AE":P,"bg-BG":P,"cs-CZ":P,"da-DK":P,"de-DE":P,"el-GR":P,"en-US":nf,"es-ES":P,"et-EE":P,"fi-FI":P,"fr-FR":P,"he-IL":P,"hr-HR":P,"hu-HU":P,"it-IT":P,"ja-JP":P,"ko-KR":P,"lt-LT":P,"lv-LV":P,"nb-NO":P,"nl-NL":P,"pl-PL":P,"pt-BR":P,"pt-PT":P,"ro-RO":P,"ru-RU":P,"sk-SK":P,"sl-SI":P,"sr-SP":P,"sv-SE":P,"tr-TR":P,"uk-UA":P,"zh-CN":rf,"zh-TW":sf};function S0(t){return t&&t.__esModule?t.default:t}function P0(t,e,n){let r=sn(S0(of),"@react-aria/searchfield"),{isDisabled:i,isReadOnly:s,onSubmit:o,onClear:a,type:l="search"}=t,{keyboardProps:c}=Ze({isDisabled:i||s,shortcuts:{Enter:()=>{if(o){o(e.value);return}return!1},Escape:()=>{if(e.value===""&&(!n.current||n.current.value===""))return!1;e.setValue(""),a?.()}}}),d=()=>{e.setValue(""),a&&a()},p=()=>{n.current?.focus()},{labelProps:h,inputProps:b,descriptionProps:g,errorMessageProps:v,...m}=id({...t,value:e.value,onChange:e.setValue,onKeyDown:t.onKeyDown,onKeyUp:t.onKeyUp,type:l},n);return{labelProps:h,inputProps:A(c,{...b,defaultValue:void 0}),clearButtonProps:{"aria-label":r.format("Clear search"),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:i||s,onPress:d,onPressStart:p},descriptionProps:g,errorMessageProps:v,...m}}function k0(t){let[e,n]=qe(Al(t.value),Al(t.defaultValue)||"",t.onChange);return{value:e,setValue:n}}function Al(t){if(t!=null)return t.toString()}const C0=u.createContext(null),T0=St(function(e,n){[e,n]=ae(e,n,C0);let{validationBehavior:r}=wt(To)||{},i=e.validationBehavior??r??"native",s=u.useRef(null);[e,s]=ae(e,s,gi);let[o,a]=lr(!e["aria-label"]&&!e["aria-labelledby"]),l=k0({...e,validationBehavior:i}),{labelProps:c,inputProps:d,clearButtonProps:p,descriptionProps:h,errorMessageProps:b,...g}=P0({...cr(e),label:a,validationBehavior:i},l,s),v=ie({...e,values:{isEmpty:l.value==="",isDisabled:e.isDisabled||!1,isInvalid:g.isInvalid||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,state:l},defaultClassName:"react-aria-SearchField"}),m=X(e,{global:!0});return delete m.id,w.createElement(ee.div,{...m,...v,ref:n,slot:e.slot||void 0,"data-empty":l.value===""||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":g.isInvalid||void 0,"data-readonly":e.isReadOnly||void 0,"data-required":e.isRequired||void 0},w.createElement(ve,{values:[[dr,{...c,ref:o}],[No,{...d,ref:s}],[Ot,p],[ft,{slots:{description:h,errorMessage:b}}],[rd,{isInvalid:g.isInvalid,isDisabled:e.isDisabled||!1}],[fr,g]]},v.children))}),Xo=new WeakMap;function R0(t,e,n){let{keyboardDelegate:r,isDisabled:i,isRequired:s,name:o,form:a,validationBehavior:l="aria"}=t,c=Fo({usage:"search",sensitivity:"base"}),d=u.useMemo(()=>r||new _o(e.collection,e.disabledKeys,n,c),[r,e.collection,e.disabledKeys,c,n]),{menuTriggerProps:p,menuProps:h}=qd({isDisabled:i,type:"listbox"},e,n),{keyboardProps:b}=Ze({shortcuts:{ArrowLeft:()=>{if(e.selectionManager.selectionMode==="multiple")return!1;let M=e.selectedKey!=null?d.getKeyAbove?.(e.selectedKey):d.getFirstKey?.();M!=null&&e.setSelectedKey(M)},ArrowRight:()=>{if(e.selectionManager.selectionMode==="multiple")return!1;let M=e.selectedKey!=null?d.getKeyBelow?.(e.selectedKey):d.getFirstKey?.();M!=null&&e.setSelectedKey(M)}},allowRepeats:!0,onKeyDown:t.onKeyDown,onKeyUp:t.onKeyUp}),{typeSelectProps:g}=bd({keyboardDelegate:d,selectionManager:e.selectionManager,onTypeSelect(M){e.setSelectedKey(M)}}),{isInvalid:v,validationErrors:m,validationDetails:y}=e.displayValidation,{labelProps:$,fieldProps:x,descriptionProps:E,errorMessageProps:R}=td({...t,labelElementType:"span",isInvalid:v,errorMessage:t.errorMessage||m});e.selectionManager.selectionMode==="multiple"&&(g={});let k=X(t,{labelable:!0}),S=A(g,p,x),C=fe();return Xo.set(e,{isDisabled:i,isRequired:s,name:o,form:a,validationBehavior:l}),{labelProps:{...$,onClick:()=>{t.isDisabled||(n.current?.focus(),Bn("keyboard"))}},triggerProps:A(k,{...S,isDisabled:i,onKeyDown:ct(S.onKeyDown,b.onKeyDown),onKeyUp:b.onKeyUp,"aria-labelledby":[C,S["aria-labelledby"],S["aria-label"]&&!S["aria-labelledby"]?S.id:null].filter(Boolean).join(" "),onFocus(M){e.isFocused||(t.onFocus&&t.onFocus(M),t.onFocusChange&&t.onFocusChange(!0),e.setFocused(!0))},onBlur(M){e.isOpen||(t.onBlur&&t.onBlur(M),t.onFocusChange&&t.onFocusChange(!1),e.setFocused(!1))}}),valueProps:{id:C},menuProps:{...h,onAction:void 0,autoFocus:e.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:"selection",onBlur:M=>{Z(M.currentTarget,M.relatedTarget)||(t.onBlur&&t.onBlur(M),t.onFocusChange&&t.onFocusChange(!1),e.setFocused(!1))},"aria-labelledby":[x["aria-labelledby"],S["aria-label"]&&!x["aria-labelledby"]?S.id:null].filter(Boolean).join(" ")},descriptionProps:E,errorMessageProps:R,isInvalid:v,validationErrors:m,validationDetails:y,hiddenSelectProps:{isDisabled:i,name:o,label:t.label,state:e,triggerRef:n,form:a}}}function M0(t,e,n){let r=Xo.get(e)||{},{autoComplete:i,name:s=r.name,form:o=r.form,isDisabled:a=r.isDisabled}=t,{validationBehavior:l,isRequired:c}=r,{visuallyHiddenProps:d}=Zu({style:{position:"fixed",top:0,left:0}});Ro(t.selectRef,e.defaultValue,e.setValue),Mo({validationBehavior:l,focus:()=>n.current?.focus()},e,t.selectRef);let p=e.setValue,h=u.useCallback(b=>{let g=F(b);g.multiple?p(Array.from(g.selectedOptions,v=>v.value)):p(b.currentTarget.value)},[p]);return{containerProps:{...d,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{style:{display:"none"}},selectProps:{tabIndex:-1,autoComplete:i,disabled:a,multiple:e.selectionManager.selectionMode==="multiple",required:l==="native"&&c,name:s,form:o,value:e.value??"",onChange:h,onInput:h}}}function N0(t){let{state:e,triggerRef:n,label:r,name:i,form:s,isDisabled:o}=t,a=u.useRef(null),l=u.useRef(null),{containerProps:c,selectProps:d}=M0({...t,selectRef:e.collection.size<=300?a:l},e,n),p=Array.isArray(e.value)?e.value:[e.value];if(e.collection.size<=300)return w.createElement("div",{...c,"data-testid":"hidden-select-container"},w.createElement("label",null,r,w.createElement("select",{...d,ref:a},w.createElement("option",{value:"",label:" "}," "),[...e.collection.getKeys()].map(h=>{let b=e.collection.getItem(h);if(b&&b.type==="item")return w.createElement("option",{key:b.key,value:b.key},b.textValue)}),e.collection.size===0&&i&&p.map((h,b)=>w.createElement("option",{key:b,value:h??""})))));if(i){let h=Xo.get(e)||{},{validationBehavior:b}=h;p.length===0&&(p=[null]);let g=p.map((v,m)=>{let y={type:"hidden",autoComplete:d.autoComplete,name:i,form:s,disabled:o,value:v??""};return b==="native"?w.createElement("input",{key:m,...y,ref:m===0?l:null,style:{display:"none"},type:"text",required:m===0?d.required:!1,onChange:()=>{}}):w.createElement("input",{key:m,...y,ref:m===0?l:null})});return w.createElement(w.Fragment,null,g)}return null}function L0(t){let{selectionMode:e="single",shouldCloseOnSelect:n=e==="single"}=t,r=hr(t),[i,s]=u.useState(null),o=u.useMemo(()=>t.defaultValue!==void 0?t.defaultValue:e==="single"?t.defaultSelectedKey??null:[],[t.defaultValue,t.defaultSelectedKey,e]),a=u.useMemo(()=>t.value!==void 0?t.value:e==="single"?t.selectedKey:void 0,[t.value,t.selectedKey,e]),[l,c]=qe(a,o,t.onChange),d=e==="single"&&Array.isArray(l)?l[0]:l,p=x=>{if(e==="single"){let E=Array.isArray(x)?x[0]??null:x;c(E),E!==d&&t.onSelectionChange?.(E)}else{let E=[];Array.isArray(x)?E=x:x!=null&&(E=[x]),c(E)}},h=Ho({...t,selectionMode:e,disallowEmptySelection:e==="single",allowDuplicateSelectionEvents:!0,selectedKeys:u.useMemo(()=>I0(d),[d]),onSelectionChange:x=>{if(x!=="all"){if(e==="single"){let E=x.values().next().value??null;p(E)}else p([...x]);n&&r.close(),v.commitValidation()}}}),b=h.selectionManager.firstSelectedKey,g=u.useMemo(()=>[...h.selectionManager.selectedKeys].map(x=>h.collection.getItem(x)).filter(x=>x!=null),[h.selectionManager.selectedKeys,h.collection]),v=Co({...t,value:Array.isArray(d)&&d.length===0?null:d}),[m,y]=u.useState(!1),[$]=u.useState(d);return{...v,...h,...r,value:d,defaultValue:o??$,setValue:p,selectedKey:b,setSelectedKey:p,selectedItem:g[0]??null,selectedItems:g,defaultSelectedKey:t.defaultSelectedKey??(t.selectionMode==="single"?$:null),focusStrategy:i,open(x=null){(h.collection.size!==0||t.allowsEmptyCollection)&&(s(x),r.open())},toggle(x=null){(h.collection.size!==0||t.allowsEmptyCollection)&&(s(x),r.toggle())},isFocused:m,setFocused:y}}function I0(t){if(t!==void 0)return t===null?[]:Array.isArray(t)?t:[t]}function j0(t){return t&&t.__esModule?t.default:t}const Zo=u.createContext(null),af=u.createContext(null),D0=St(function(e,n){[e,n]=ae(e,n,Zo);let{children:r,isDisabled:i=!1,isInvalid:s=!1,isRequired:o=!1}=e,a=u.useMemo(()=>typeof r=="function"?r({isOpen:!1,isDisabled:i,isInvalid:s,isRequired:o,isFocused:!1,isFocusVisible:!1,defaultChildren:null}):r,[r,i,s,o]);return w.createElement(yi,{content:a},l=>w.createElement(_0,{props:e,collection:l,selectRef:n}))}),K0=[dr,Ot,ft];function _0({props:t,selectRef:e,collection:n}){let{validationBehavior:r}=wt(To)||{},i=t.validationBehavior??r??"native",s=L0({...t,collection:n,children:void 0,validationBehavior:i}),{isFocusVisible:o,focusProps:a}=Ke({within:!0}),l=u.useRef(null),[c,d]=lr(!t["aria-label"]&&!t["aria-labelledby"]),{labelProps:p,triggerProps:h,valueProps:b,menuProps:g,descriptionProps:v,errorMessageProps:m,hiddenSelectProps:y,...$}=R0({...cr(t),label:d,validationBehavior:i},s,l),x=u.useMemo(()=>({isOpen:s.isOpen,isFocused:s.isFocused,isFocusVisible:o,isDisabled:t.isDisabled||!1,isInvalid:$.isInvalid||!1,isRequired:t.isRequired||!1}),[s.isOpen,s.isFocused,o,t.isDisabled,$.isInvalid,t.isRequired]),E=ie({...t,values:x,defaultClassName:"react-aria-Select"}),R=X(t,{global:!0});delete R.id;let k=u.useRef(null);return w.createElement(ve,{values:[[Zo,t],[af,s],[lf,b],[dr,{...p,ref:c,elementType:"span"}],[Ot,{...h,ref:l,isPressed:s.isOpen,autoFocus:t.autoFocus}],[kt,s],[br,{trigger:"Select",triggerRef:l,scrollRef:k,placement:"bottom start","aria-labelledby":g["aria-labelledby"],clearContexts:K0}],[Vo,{...g,ref:k}],[Nn,s],[ft,{slots:{description:v,errorMessage:m}}],[fr,$]]},w.createElement(ee.div,{...A(R,E,a),ref:e,slot:t.slot||void 0,"data-focused":s.isFocused||void 0,"data-focus-visible":o||void 0,"data-open":s.isOpen||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":$.isInvalid||void 0,"data-required":t.isRequired||void 0},E.children,w.createElement(N0,{...y,autoComplete:t.autoComplete})))}const lf=u.createContext(null),F0=St(function(e,n){[e,n]=ae(e,n,lf);let r=u.useContext(af),{placeholder:i}=wt(Zo),s=r.selectedItems.map(g=>{let v=g.props?.children;return typeof v=="function"&&(v=v({isHovered:!1,isPressed:!1,isSelected:!1,isFocused:!1,isFocusVisible:!1,isDisabled:!1,selectionMode:"single",selectionBehavior:"toggle"})),v}),o=a0(),a=u.useMemo(()=>r.selectedItems.map(g=>g?.textValue),[r.selectedItems]),l=r.selectionManager.selectionMode,c=u.useMemo(()=>l==="single"?a[0]??"":o.format(a),[l,o,a]),d=u.useMemo(()=>{if(l==="single")return s[0];let g=o.formatToParts(a);if(g.length===0)return null;let v=0;return g.map(m=>m.type==="element"?w.createElement(u.Fragment,{key:v},s[v++]):m.value)},[l,o,a,s]),p=sn(j0(ld),"react-aria-components"),h=ie({...e,defaultChildren:d??i??p.format("selectPlaceholder"),defaultClassName:"react-aria-SelectValue",values:{selectedItem:r.selectedItems[0]?.value??null,selectedItems:u.useMemo(()=>r.selectedItems.map(g=>g.value??null),[r.selectedItems]),selectedText:c,isPlaceholder:r.selectedItems.length===0,state:r}}),b=X(e,{global:!0});return w.createElement(ee.span,{ref:n,...b,...h,"data-placeholder":r.selectedItems.length===0||void 0},w.createElement(ft.Provider,{value:void 0},h.children))});function A0(t,e,n){let{labelProps:r,inputProps:i,isSelected:s,...o}=Ib(t,e,n);return{labelProps:r,inputProps:{...i,role:"switch",checked:s},isSelected:s,...o}}const O0=u.createContext(null),cf=u.createContext(null),B0=u.forwardRef(function(e,n){let{inputRef:r=null,...i}=e;[e,n]=ae(i,n,O0);let s=Ee(u.useMemo(()=>Ft(r,e.inputRef!==void 0?e.inputRef:null),[r,e.inputRef])),o=nd(e),a=A0({...cr(e),children:typeof e.children=="function"?!0:e.children},o,s);return w.createElement(ve,{values:[[cf,o],[uf,{...a,inputRef:s,defaultClassName:"react-aria-Switch"}]]},w.createElement(H0,{...e,ref:n}))}),uf=u.createContext(null),H0=u.forwardRef(function(e,n){let{labelProps:r,inputProps:i,isSelected:s,isDisabled:o,isReadOnly:a,isPressed:l,isInvalid:c,inputRef:d,defaultClassName:p,isRequired:h}=u.useContext(uf),{isFocused:b,isFocusVisible:g,focusProps:v}=Ke(),m=o||a,y=u.useContext(cf),{hoverProps:$,isHovered:x}=Ne({...e,isDisabled:m}),E=ie({...e,defaultClassName:p,values:{isSelected:s,isPressed:l,isHovered:x,isFocused:b,isFocusVisible:g,isDisabled:o,isReadOnly:a,isInvalid:c,isRequired:h||!1,state:y}}),R=X(e,{global:!0});return delete R.id,delete R.onClick,w.createElement(ee.label,{...A(R,r,$,E),ref:n,slot:e.slot||void 0,"data-selected":s||void 0,"data-pressed":l||void 0,"data-hovered":x||void 0,"data-focused":b||void 0,"data-focus-visible":g||void 0,"data-disabled":o||void 0,"data-readonly":a||void 0,"data-invalid":c||void 0,"data-required":h||void 0},w.createElement($i,{elementType:"span"},w.createElement("input",{...A(i,v),ref:d})),E.children)}),df=new WeakMap;function Qr(t,e,n){return t?(typeof e=="string"&&(e=e.replace(/\s+/g,"")),`${df.get(t)}-${n}-${e}`):""}function V0(t,e,n){let{key:r,isDisabled:i,shouldSelectOnPressUp:s}=t,{selectionManager:o,selectedKey:a}=e,l=r===a,c=i||e.isDisabled||e.selectionManager.isDisabled(r),d=e.collection.getItem(r),{itemProps:p,isPressed:h}=Oo({selectionManager:o,key:r,ref:n,isDisabled:c,shouldSelectOnPressUp:s??d?.props.href!=null,linkBehavior:"selection"}),b=Qr(e,r,"tab"),g=Qr(e,r,"tabpanel"),{tabIndex:v}=p,m=X(d?.props,{labelable:!0});delete m.id;let y=hi(d?.props),{focusableProps:$}=At({...d?.props,isDisabled:c},n);return{tabProps:A(m,$,y,p,{id:b,"aria-selected":l,"aria-disabled":c||void 0,"aria-controls":l?g:void 0,tabIndex:c?void 0:v,role:"tab"}),isSelected:l,isDisabled:c,isPressed:h}}function U0(t,e,n){let r=b0(n)?void 0:0;const i=Qr(e,t.id??e?.selectedKey,"tabpanel"),s=ur({...t,id:i,"aria-labelledby":Qr(e,e?.selectedKey,"tab")});return{tabPanelProps:A(s,{tabIndex:r,role:"tabpanel","aria-describedby":t["aria-describedby"],"aria-details":t["aria-details"]})}}class q0{constructor(e,n,r,i=new Set){this.collection=e,this.flipDirection=n==="rtl",this.disabledKeys=i,this.tabDirection=r==="horizontal"}getKeyLeftOf(e){return this.flipDirection?this.getNextKey(e):this.getPreviousKey(e)}getKeyRightOf(e){return this.flipDirection?this.getPreviousKey(e):this.getNextKey(e)}isDisabled(e){return this.disabledKeys.has(e)||!!this.collection.getItem(e)?.props?.isDisabled}getFirstKey(){let e=this.collection.getFirstKey();return e!=null&&this.isDisabled(e)&&(e=this.getNextKey(e)),e}getLastKey(){let e=this.collection.getLastKey();return e!=null&&this.isDisabled(e)&&(e=this.getPreviousKey(e)),e}getKeyAbove(e){return this.tabDirection?null:this.getPreviousKey(e)}getKeyBelow(e){return this.tabDirection?null:this.getNextKey(e)}getNextKey(e){let n=e;do n=this.collection.getKeyAfter(n),n==null&&(n=this.collection.getFirstKey());while(n!=null&&this.isDisabled(n)&&n!==e);return n}getPreviousKey(e){let n=e;do n=this.collection.getKeyBefore(n),n==null&&(n=this.collection.getLastKey());while(n!=null&&this.isDisabled(n)&&n!==e);return n}}function z0(t,e,n){let{orientation:r="horizontal",keyboardActivation:i="automatic"}=t,{collection:s,selectionManager:o,disabledKeys:a}=e,{direction:l}=Ue(),c=u.useMemo(()=>new q0(s,l,r,a),[s,a,r,l]),{collectionProps:d}=gd({ref:n,selectionManager:o,keyboardDelegate:c,selectOnFocus:i==="automatic",disallowEmptySelection:!0,scrollRef:n,linkBehavior:"selection"}),p=fe();df.set(e,p);let h=ur({...t,id:p});return{tabListProps:{...A(d,h),role:"tablist","aria-orientation":r,tabIndex:void 0}}}function W0(t){let[e,n]=qe(t.selectedKey,t.defaultSelectedKey??null,t.onSelectionChange),r=u.useMemo(()=>e!=null?[e]:[],[e]),{collection:i,disabledKeys:s,selectionManager:o}=Ho({...t,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:r,onSelectionChange:l=>{if(l==="all")return;let c=l.values().next().value??null;c===e&&t.onSelectionChange&&t.onSelectionChange(c),n(c)}}),a=e!=null?i.getItem(e):null;return{collection:i,disabledKeys:s,selectionManager:o,selectedKey:e,setSelectedKey:n,selectedItem:a}}function G0(t){let e=W0({...t,onSelectionChange:t.onSelectionChange?o=>{o!=null&&t.onSelectionChange?.(o)}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:t.defaultSelectedKey??Ol(t.collection,t.disabledKeys?new Set(t.disabledKeys):new Set)??void 0}),{selectionManager:n,collection:r,selectedKey:i}=e,s=u.useRef(i);return u.useEffect(()=>{let o=i;t.selectedKey==null&&(n.isEmpty||o==null||!r.getItem(o))&&(o=Ol(r,e.disabledKeys),o!=null&&n.setSelectedKeys([o])),(o!=null&&n.focusedKey==null||!n.isFocused&&o!==s.current)&&n.setFocusedKey(o),s.current=o}),{...e,isDisabled:t.isDisabled||!1}}function Ol(t,e){let n=null;if(t){for(n=t.getFirstKey();n!=null&&(e.has(n)||t.getItem(n)?.props?.isDisabled)&&n!==t.getLastKey();)n=t.getKeyAfter(n);n!=null&&(e.has(n)||t.getItem(n)?.props?.isDisabled)&&n===t.getLastKey()&&(n=t.getFirstKey())}return n}const ki=u.createContext(null),en=u.createContext(null),Y0=u.forwardRef(function(e,n){[e,n]=ae(e,n,ki);let{children:r,orientation:i="horizontal"}=e;return r=u.useMemo(()=>typeof r=="function"?r({orientation:i,defaultChildren:null}):r,[r,i]),w.createElement(yi,{content:r},s=>w.createElement(J0,{props:e,collection:s,tabsRef:n}))});function J0({props:t,tabsRef:e,collection:n}){let{orientation:r="horizontal"}=t,i=G0({...t,collection:n,children:void 0}),{focusProps:s,isFocused:o,isFocusVisible:a}=Ke({within:!0}),l=u.useMemo(()=>({orientation:r,isFocusWithin:o,isFocusVisible:a}),[r,o,a]),c=ie({...t,defaultClassName:"react-aria-Tabs",values:l}),d=X(t,{global:!0});return w.createElement(ee.div,{...A(d,c,s),ref:e,slot:t.slot||void 0,"data-focused":o||void 0,"data-orientation":r,"data-focus-visible":a||void 0,"data-disabled":i.isDisabled||void 0},w.createElement(ve,{values:[[ki,t],[en,i]]},c.children))}const X0=u.forwardRef(function(e,n){return u.useContext(en)?w.createElement(Z0,{props:e,forwardedRef:n}):w.createElement(wo,e)});function Z0({props:t,forwardedRef:e}){let n=u.useContext(en),{CollectionRoot:r}=u.useContext(Pt),{orientation:i="horizontal",keyboardActivation:s="automatic"}=wt(ki),o=Ee(e),{tabListProps:a}=z0({...t,orientation:i,keyboardActivation:s},n,o),l=ie({...t,children:null,defaultClassName:"react-aria-TabList",values:{orientation:i,state:n}}),c=X(t,{global:!0});return delete c.id,w.createElement(ee.div,{...A(c,l,a),ref:o,"data-orientation":i||void 0},w.createElement(wi,null,w.createElement(r,{collection:n.collection,persistedKeys:Uu(n.selectionManager.focusedKey)})))}class Q0 extends on{static{this.type="item"}}const ey=an(Q0,(t,e,n)=>{let r=u.useContext(en),i=Ee(e),{tabProps:s,isSelected:o,isDisabled:a,isPressed:l}=V0({key:n.key,...t},r,i),{focusProps:c,isFocused:d,isFocusVisible:p}=Ke(),{hoverProps:h,isHovered:b}=Ne({isDisabled:a,onHoverStart:t.onHoverStart,onHoverEnd:t.onHoverEnd,onHoverChange:t.onHoverChange}),g=ie({...t,id:void 0,children:n.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:o,isDisabled:a,isFocused:d,isFocusVisible:p,isPressed:l,isHovered:b}}),v=n.props.href?ee.a:ee.div,m=X(t,{global:!0});return delete m.id,delete m.onClick,w.createElement(v,{...A(m,g,s,c,h),ref:i,"data-selected":o||void 0,"data-disabled":a||void 0,"data-focused":d||void 0,"data-focus-visible":p||void 0,"data-pressed":l||void 0,"data-hovered":b||void 0},w.createElement(Ei.Provider,{value:{isSelected:o}},g.children))}),ty=St(function(e,n){const r=u.useContext(en);let i=Ee(n),s=r.selectedKey===e.id,[o,a]=u.useState(r.selectedKey!=null?s:null);o==null&&r.selectedKey!=null?a(s):!s&&o&&a(!1);let l=er(i,s);return!s&&!e.shouldForceMount&&!l?null:w.createElement(ny,{...e,tabPanelRef:i,isInitiallySelected:o||!1,isExiting:l})});function ny(t){let e=u.useContext(en),{id:n,tabPanelRef:r,isInitiallySelected:i,isExiting:s,...o}=t,{tabPanelProps:a}=U0(t,e,r),{focusProps:l,isFocused:c,isFocusVisible:d}=Ke(),p=e.selectedKey===t.id,h=mr(r)&&!i,b=ie({...t,defaultClassName:"react-aria-TabPanel",values:{isFocused:c,isFocusVisible:d,isInert:Gr(!p),isEntering:h,isExiting:s,state:e}}),g=X(o,{global:!0});delete g.id;let v=p?A(g,a,l,b):A(g,b);return w.createElement(ee.div,{...v,ref:r,"data-focused":c||void 0,"data-focus-visible":d||void 0,inert:Gr(!p||t.inert),"data-inert":p?void 0:"true","data-entering":h||void 0,"data-exiting":s||void 0},w.createElement(ve,{values:[[ki,null],[en,null]]},w.createElement(Pt.Provider,{value:Vu},b.children)))}const ry=u.createContext({}),iy=u.createContext(null),sy=St(function(e,n){[e,n]=ae(e,n,iy);let{validationBehavior:r}=wt(To)||{},i=e.validationBehavior??r??"native",s=u.useRef(null);[e,s]=ae(e,s,gi);let[o,a]=lr(!e["aria-label"]&&!e["aria-labelledby"]),[l,c]=u.useState("input"),{labelProps:d,inputProps:p,descriptionProps:h,errorMessageProps:b,...g}=id({...cr(e),inputElementType:l,label:a,validationBehavior:i},s),v=u.useCallback($=>{s.current=$,$&&c($ instanceof HTMLTextAreaElement?"textarea":"input")},[s]),m=ie({...e,values:{isDisabled:e.isDisabled||!1,isInvalid:g.isInvalid,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1},defaultClassName:"react-aria-TextField"}),y=X(e,{global:!0});return delete y.id,w.createElement(ee.div,{...y,...m,ref:n,slot:e.slot||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":g.isInvalid||void 0,"data-readonly":e.isReadOnly||void 0,"data-required":e.isRequired||void 0},w.createElement(ve,{values:[[dr,{...d,ref:o}],[No,{...p,ref:v}],[ry,{...p,ref:v}],[rd,{role:"presentation",isInvalid:g.isInvalid,isDisabled:e.isDisabled||!1}],[ft,{slots:{description:h,errorMessage:b}}],[fr,g]]},m.children))});var ff={};ff={close:"Close",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} notification`,other:()=>`${e.number(t.count)} notifications`})}.`};var pf={};pf={close:"关闭",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} 个通知`,other:()=>`${e.number(t.count)} 个通知`})}。`};var hf={};hf={close:"關閉",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} 個通知`,other:()=>`${e.number(t.count)} 個通知`})}。`};var Qo={};Qo={"ar-AE":P,"bg-BG":P,"cs-CZ":P,"da-DK":P,"de-DE":P,"el-GR":P,"en-US":ff,"es-ES":P,"et-EE":P,"fi-FI":P,"fr-FR":P,"he-IL":P,"hr-HR":P,"hu-HU":P,"it-IT":P,"ja-JP":P,"ko-KR":P,"lt-LT":P,"lv-LV":P,"nb-NO":P,"nl-NL":P,"pl-PL":P,"pt-BR":P,"pt-PT":P,"ro-RO":P,"ru-RU":P,"sk-SK":P,"sl-SI":P,"sr-SP":P,"sv-SE":P,"tr-TR":P,"uk-UA":P,"zh-CN":pf,"zh-TW":hf};function oy(t){return t&&t.__esModule?t.default:t}function ay(t,e,n){let{key:r,timer:i,timeout:s}=t.toast;u.useEffect(()=>{if(!(i==null||s==null))return i.reset(s),()=>{i.pause()}},[i,s]);let o=fe(),a=ot(),l=sn(oy(Qo),"@react-aria/toast"),[c,d]=u.useState(!1);return te(()=>{d(!0)},[]),{toastProps:{...X(t,{labelable:!0}),role:"alertdialog","aria-modal":"false","aria-labelledby":t["aria-labelledby"]||o,"aria-describedby":t["aria-describedby"]||a,tabIndex:0},contentProps:{role:"alert","aria-atomic":"true","aria-hidden":c?void 0:"true"},titleProps:{id:o},descriptionProps:{id:a},closeButtonProps:{"aria-label":l.format("close"),onPress:()=>e.close(r)}}}const mf=1,rs=Symbol.for("react-aria-landmark-manager");function ly(t){return document.addEventListener("react-aria-landmark-manager-change",t),()=>document.removeEventListener("react-aria-landmark-manager-change",t)}function Bl(){if(typeof document>"u")return null;let t=document[rs];return t&&t.version>=mf?t:(document[rs]=new uy,document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")),document[rs])}function cy(){return lo.useSyncExternalStore(ly,Bl,Bl)}class uy{constructor(){this.landmarks=[],this.isListening=!1,this.refCount=0,this.version=mf,this.f6Handler=this.f6Handler.bind(this),this.focusinHandler=this.focusinHandler.bind(this),this.focusoutHandler=this.focusoutHandler.bind(this)}setupIfNeeded(){this.isListening||(document.addEventListener("keydown",this.f6Handler,{capture:!0}),document.addEventListener("focusin",this.focusinHandler,{capture:!0}),document.addEventListener("focusout",this.focusoutHandler,{capture:!0}),this.isListening=!0)}teardownIfNeeded(){!this.isListening||this.landmarks.length>0||this.refCount>0||(document.removeEventListener("keydown",this.f6Handler,{capture:!0}),document.removeEventListener("focusin",this.focusinHandler,{capture:!0}),document.removeEventListener("focusout",this.focusoutHandler,{capture:!0}),this.isListening=!1)}focusLandmark(e,n){this.landmarks.find(r=>r.ref.current===e)?.focus?.(n)}getLandmarksByRole(e){return new Set(this.landmarks.filter(n=>n.role===e))}getLandmarkByRole(e){return this.landmarks.find(n=>n.role===e)}addLandmark(e){if(this.setupIfNeeded(),this.landmarks.find(i=>i.ref===e.ref)||!e.ref.current)return;if(this.landmarks.filter(i=>i.role==="main").length>1,this.landmarks.length===0){this.landmarks=[e],this.checkLabels(e.role);return}let n=0,r=this.landmarks.length-1;for(;n<=r;){let i=Math.floor((n+r)/2),s=e.ref.current.compareDocumentPosition(this.landmarks[i].ref.current);!!(s&Node.DOCUMENT_POSITION_PRECEDING||s&Node.DOCUMENT_POSITION_CONTAINS)?n=i+1:r=i-1}this.landmarks.splice(n,0,e),this.checkLabels(e.role)}updateLandmark(e){let n=this.landmarks.findIndex(r=>r.ref===e.ref);n>=0&&(this.landmarks[n]={...this.landmarks[n],...e},this.checkLabels(this.landmarks[n].role))}removeLandmark(e){this.landmarks=this.landmarks.filter(n=>n.ref!==e),this.teardownIfNeeded()}checkLabels(e){let n=this.getLandmarksByRole(e);n.size>1&&[...n].filter(r=>!r.label)}closestLandmark(e){let n=new Map(this.landmarks.map(i=>[i.ref.current,i])),r=e;for(;r&&!n.has(r)&&r!==document.body&&r.parentElement;)r=r.parentElement;return n.get(r)}getNextLandmark(e,{backward:n}){let r=this.closestLandmark(e),i=n?this.landmarks.length-1:0;r&&(i=this.landmarks.indexOf(r)+(n?-1:1));let s=()=>{if(i<0){if(!e.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"backward"},bubbles:!0,cancelable:!0})))return!0;i=this.landmarks.length-1}else if(i>=this.landmarks.length){if(!e.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"forward"},bubbles:!0,cancelable:!0})))return!0;i=0}return i<0||i>=this.landmarks.length};if(s())return;let o=i;for(;this.landmarks[i].ref.current?.closest("[aria-hidden=true]");){if(i+=n?-1:1,s())return;if(i===o)break}return this.landmarks[i]}f6Handler(e){e.key==="F6"&&(e.altKey?this.focusMain():this.navigate(F(e),e.shiftKey))&&(e.preventDefault(),e.stopPropagation())}focusMain(){let e=this.getLandmarkByRole("main");return e&&e.ref.current&&e.ref.current.isConnected?(this.focusLandmark(e.ref.current,"forward"),!0):!1}navigate(e,n){let r=this.getNextLandmark(e,{backward:n});if(!r)return!1;if(r.lastFocused){let i=r.lastFocused;if(Z(document.body,i))return i.focus(),!0}return r.ref.current&&r.ref.current.isConnected?(this.focusLandmark(r.ref.current,n?"backward":"forward"),!0):!1}focusinHandler(e){let n=this.closestLandmark(F(e));n&&n.ref.current!==F(e)&&this.updateLandmark({ref:n.ref,lastFocused:F(e)});let r=e.relatedTarget;if(r){let i=this.closestLandmark(r);i&&i.ref.current===r&&i.blur()}}focusoutHandler(e){let n=F(e),r=e.relatedTarget;if(!r||r===document){let i=this.closestLandmark(n);i&&i.ref.current===n&&i.blur()}}createLandmarkController(){let e=this;return e.refCount++,e.setupIfNeeded(),{navigate(n,r){let i=r?.from||document.activeElement;return e.navigate(i,n==="backward")},focusNext(n){let r=n?.from||document.activeElement;return e.navigate(r,!1)},focusPrevious(n){let r=n?.from||document.activeElement;return e.navigate(r,!0)},focusMain(){return e.focusMain()},dispose(){e&&(e.refCount--,e.teardownIfNeeded(),e=null)}}}registerLandmark(e){return this.landmarks.find(n=>n.ref===e.ref)?this.updateLandmark(e):this.addLandmark(e),()=>this.removeLandmark(e.ref)}}function dy(t,e){const{role:n,"aria-label":r,"aria-labelledby":i,focus:s}=t;let o=cy(),a=r||i,[l,c]=u.useState(!1),d=u.useCallback(()=>{c(!0)},[c]),p=u.useCallback(()=>{c(!1)},[c]);return te(()=>{if(o)return o.registerLandmark({ref:e,label:a,role:n,focus:s||d,blur:p})},[o,a,e,n,s,d,p]),u.useEffect(()=>{l&&e.current?.focus()},[l,e]),{landmarkProps:{role:n,tabIndex:l?-1:void 0,"aria-label":r,"aria-labelledby":i}}}function fy(t){return t&&t.__esModule?t.default:t}function py(t,e,n){let r=sn(fy(Qo),"@react-aria/toast"),{landmarkProps:i}=dy({role:"region","aria-label":t["aria-label"]||r.format("notifications",{count:e.visibleToasts.length})},n),s=u.useRef(!1),o=u.useRef(!1),a=u.useCallback(()=>{s.current||o.current?e.pauseAll():e.resumeAll()},[e]),{hoverProps:l}=Ne({onHoverStart:()=>{s.current=!0,a()},onHoverEnd:()=>{s.current=!1,a()}}),c=u.useRef([]),d=u.useRef(e.visibleToasts),p=u.useRef(null);te(()=>{if(p.current===-1||e.visibleToasts.length===0||!n.current){c.current=[],d.current=e.visibleToasts;return}if(c.current=[...n.current.querySelectorAll('[role="alertdialog"]')],d.current.length===e.visibleToasts.length&&e.visibleToasts.every((m,y)=>m.key===d.current[y].key)){d.current=e.visibleToasts;return}let g=d.current.map((m,y)=>({...m,i:y,isRemoved:!e.visibleToasts.some($=>m.key===$.key)})),v=g.findIndex(m=>m.i===p.current&&m.isRemoved);if(v>-1)if(at()==="pointer"&&h.current?.isConnected)ye(h.current);else{let m=0,y,$;for(;m<=v;)g[m].isRemoved||($=Math.max(0,m-1)),m++;for(;m=0&&$=0&&y{o.current=!0,h.current=g.relatedTarget,a()},onBlurWithin:()=>{o.current=!1,h.current=null,a()}});return u.useEffect(()=>{e.visibleToasts.length===0&&h.current?.isConnected&&(at()==="pointer"?ye(h.current):h.current.focus(),h.current=null)},[n,e.visibleToasts.length]),u.useEffect(()=>()=>{h.current?.isConnected&&(at()==="pointer"?ye(h.current):h.current.focus(),h.current=null)},[n]),{regionProps:A(i,l,b,{tabIndex:-1,"data-react-aria-top-layer":!0,onFocus:g=>{let v=F(g).closest('[role="alertdialog"]');p.current=c.current.findIndex(m=>m===v)},onBlur:()=>{p.current=-1}})}}function hy(t){let e=u.useCallback(i=>t.subscribe(i),[t]),n=u.useCallback(()=>t.visibleToasts,[t]);return{visibleToasts:lo.useSyncExternalStore(e,n,n),add:(i,s)=>t.add(i,s),close:i=>t.close(i),pauseAll:()=>t.pauseAll(),resumeAll:()=>t.resumeAll()}}class my{constructor(e){this.queue=[],this.subscriptions=new Set,this.visibleToasts=[],this.maxVisibleToasts=e?.maxVisibleToasts??1/0,this.wrapUpdate=e?.wrapUpdate}runWithWrapUpdate(e,n){this.wrapUpdate?this.wrapUpdate(e,n):e()}subscribe(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}add(e,n={}){let r="_"+Math.random().toString(36).slice(2),i={...n,content:e,key:r,timer:n.timeout?new by(()=>this.close(r),n.timeout):void 0};return this.queue.unshift(i),this.updateVisibleToasts("add"),r}close(e){let n=this.queue.findIndex(r=>r.key===e);n>=0&&(this.queue[n].onClose?.(),this.queue.splice(n,1)),this.updateVisibleToasts("remove")}updateVisibleToasts(e){this.visibleToasts=this.queue.slice(0,this.maxVisibleToasts),this.runWithWrapUpdate(()=>{for(let n of this.subscriptions)n()},e)}pauseAll(){for(let e of this.visibleToasts)e.timer&&e.timer.pause()}resumeAll(){for(let e of this.visibleToasts)e.timer&&e.timer.resume()}clear(){this.queue=[],this.updateVisibleToasts("clear")}}class by{constructor(e,n){this.startTime=null,this.remaining=n,this.callback=e}reset(e){this.remaining=e,this.resume()}pause(){this.timerId!=null&&(clearTimeout(this.timerId),this.timerId=null,this.remaining-=Date.now()-this.startTime)}resume(){this.remaining<=0||(this.startTime=Date.now(),this.timerId=setTimeout(()=>{this.timerId=null,this.remaining=0,this.callback()},this.remaining))}}const Ci=u.createContext(null),gy=u.forwardRef(function(e,n){let r=et(),i=hy(e.queue),s=Ee(n),{regionProps:o}=py(e,i,s),{focusProps:a,isFocused:l,isFocusVisible:c}=Ke(),{hoverProps:d,isHovered:p}=Ne({}),h=ie({...e,children:void 0,defaultClassName:"react-aria-ToastRegion",values:{visibleToasts:i.visibleToasts,isHovered:p,isFocused:l,isFocusVisible:c}}),{direction:b}=Ue(),g,{getContainer:v}=qo();r||(g=document.body,v&&(g=v()));let m=X(e,{global:!0}),y=w.createElement(Ci.Provider,{value:i},w.createElement(ee.div,{...A(m,h,o,a,d),dir:b,ref:s,"data-hovered":p||void 0,"data-focused":l||void 0,"data-focus-visible":c||void 0},typeof e.children=="function"?w.createElement(bf,{...e,render:void 0,className:void 0,style:{display:"contents"}},e.children):e.children));return i.visibleToasts.length>0&&g?rn.createPortal(y,g):null}),bf=u.forwardRef(function(e,n){let r=u.useContext(Ci),{hoverProps:i,isHovered:s}=Ne({}),o=ie({...e,children:void 0,defaultClassName:"react-aria-ToastList",values:{visibleToasts:r.visibleToasts,isFocused:!1,isFocusVisible:!1,isHovered:s}});return w.createElement(ee.ol,{...i,...o,ref:n},r.visibleToasts.map(a=>w.createElement("li",{key:a.key,style:{display:"contents"}},e.children({toast:a}))))}),yy=u.forwardRef(function(e,n){let r=u.useContext(Ci),i=Ee(n),{toastProps:s,contentProps:o,titleProps:a,descriptionProps:l,closeButtonProps:c}=ay(e,r,i),{focusProps:d,isFocused:p,isFocusVisible:h}=Ke(),b=ie({...e,defaultClassName:"react-aria-Toast",values:{toast:e.toast,isFocused:p,isFocusVisible:h}}),g=X(e,{global:!0});return w.createElement(ee.div,{...A(g,b,s,d),ref:i,"data-focused":p||void 0,"data-focus-visible":h||void 0},w.createElement(ve,{values:[[gf,o],[ft,{slots:{[yt]:{},title:a,description:l}}],[Ot,{slots:{[yt]:{},close:c}}]]},b.children))}),gf=u.createContext({}),vy=u.forwardRef(function(e,n){return[e,n]=ae(e,n,gf),w.createElement(ee.div,{render:e.render,className:"react-aria-ToastContent",...e,ref:n},e.children)});function yf(t,e,n){const{isSelected:r}=e,{isPressed:i,buttonProps:s}=Ju({...t,onPress:ct(e.toggle,t.onPress)},n);return{isPressed:i,isSelected:r,isDisabled:t.isDisabled||!1,buttonProps:A(s,{"aria-pressed":r})}}function $y(t,e){const{"aria-label":n,"aria-labelledby":r,orientation:i="horizontal"}=t;let[s,o]=u.useState(!1);te(()=>{o(!!(e.current&&e.current.parentElement?.closest('[role="toolbar"]')))});const{direction:a}=Ue(),l=a==="rtl"&&i==="horizontal";let c=Zb(e);const d=g=>{if(Z(g.currentTarget,F(g))){if(i==="horizontal"&&g.key==="ArrowRight"||i==="vertical"&&g.key==="ArrowDown")l?c.focusPrevious():c.focusNext();else if(i==="horizontal"&&g.key==="ArrowLeft"||i==="vertical"&&g.key==="ArrowUp")l?c.focusNext():c.focusPrevious();else if(g.key==="Tab"){p.current=se(),g.shiftKey?c.focusFirst():c.focusLast();return}else return;g.stopPropagation(),g.preventDefault()}},p=u.useRef(null),h=g=>{!Z(g.currentTarget,g.relatedTarget)&&!p.current&&(p.current=F(g))},b=g=>{p.current&&!Z(g.currentTarget,g.relatedTarget)&&Z(e.current,F(g))&&(p.current?.focus(),p.current=null)};return{toolbarProps:{...X(t,{labelable:!0}),role:s?"group":"toolbar","aria-orientation":i,"aria-label":n,"aria-labelledby":n==null?r:void 0,onKeyDownCapture:s?void 0:d,onFocusCapture:s?void 0:b,onBlurCapture:s?void 0:h}}}function xy(t,e,n){let{isDisabled:r}=t,{toolbarProps:i}=$y(t,n);return{groupProps:{...i,role:e.selectionMode==="single"?"radiogroup":i.role,"aria-disabled":r}}}function wy(t,e,n){let r={isSelected:e.selectedKeys.has(t.id),defaultSelected:!1,setSelected(l){e.setSelected(t.id,l)},toggle(){e.toggleKey(t.id)}},{isPressed:i,isSelected:s,isDisabled:o,buttonProps:a}=yf({...t,id:void 0,isDisabled:t.isDisabled||e.isDisabled},r,n);return e.selectionMode==="single"&&(a.role="radio",a["aria-checked"]=r.isSelected,delete a["aria-pressed"]),{isPressed:i,isSelected:s,isDisabled:o,buttonProps:a}}function Ey(t){let{selectionMode:e="single",disallowEmptySelection:n,isDisabled:r=!1}=t,[i,s]=qe(u.useMemo(()=>t.selectedKeys?new Set(t.selectedKeys):void 0,[t.selectedKeys]),u.useMemo(()=>t.defaultSelectedKeys?new Set(t.defaultSelectedKeys):new Set,[t.defaultSelectedKeys]),t.onSelectionChange);return{selectionMode:e,isDisabled:r,selectedKeys:i,setSelectedKeys:s,toggleKey(o){let a;e==="multiple"?(a=new Set(i),a.has(o)&&(!n||a.size>1)?a.delete(o):a.add(o)):a=new Set(i.has(o)&&!n?[]:[o]),s(a)},setSelected(o,a){a!==i.has(o)&&this.toggleKey(o)}}}const Sy=u.createContext({}),vf=u.createContext(null),Py=u.forwardRef(function(e,n){[e,n]=ae(e,n,Sy);let r=Ey(e),{groupProps:i}=xy(e,r,n),s=ie({...e,values:{orientation:e.orientation||"horizontal",isDisabled:r.isDisabled,state:r},defaultClassName:"react-aria-ToggleButtonGroup"}),o=X(e,{global:!0});return w.createElement(ee.div,{...A(o,s,i),ref:n,slot:e.slot||void 0,"data-orientation":e.orientation||"horizontal","data-disabled":e.isDisabled||void 0},w.createElement(vf.Provider,{value:r},w.createElement(wi,null,s.children)))}),ky=u.createContext({}),Cy=u.forwardRef(function(e,n){[e,n]=ae(e,n,ky);let r=u.useContext(vf),i=nd(r&&e.id!=null?{isSelected:r.selectedKeys.has(e.id),onChange(m){r.setSelected(e.id,m)}}:e),{buttonProps:s,isPressed:o,isSelected:a,isDisabled:l}=r&&e.id!=null?wy({...e,id:e.id},r,n):yf({...e,id:e.id!=null?String(e.id):void 0},i,n),{focusProps:c,isFocused:d,isFocusVisible:p}=Ke(e),{hoverProps:h,isHovered:b}=Ne({...e,isDisabled:l}),g=ie({...e,id:void 0,values:{isHovered:b,isPressed:o,isFocused:d,isSelected:i.isSelected,isFocusVisible:p,isDisabled:l,state:i},defaultClassName:"react-aria-ToggleButton"}),v=X(e,{global:!0});return delete v.id,delete v.onClick,w.createElement(ee.button,{...A(v,g,s,c,h),ref:n,slot:e.slot||void 0,"data-focused":d||void 0,"data-disabled":l||void 0,"data-pressed":o||void 0,"data-selected":a||void 0,"data-hovered":b||void 0,"data-focus-visible":p||void 0},w.createElement(Ei.Provider,{value:{isSelected:a}},g.children))}),Ds=w.createContext(null);function Ty(t){let{children:e}=t,n=u.useContext(Ds),[r,i]=u.useState(0),s=u.useMemo(()=>({parent:n,modalCount:r,addModal(){i(o=>o+1),n&&n.addModal()},removeModal(){i(o=>o-1),n&&n.removeModal()}}),[n,r]);return w.createElement(Ds.Provider,{value:s},e)}function Ry(){let t=u.useContext(Ds);return{modalProviderProps:{"aria-hidden":t&&t.modalCount>0?!0:void 0}}}function My(t){let{modalProviderProps:e}=Ry();return w.createElement("div",{"data-overlay-container":!0,...t,...e})}function Ny(t){return w.createElement(Ty,null,w.createElement(My,t))}function Ly(t){let e=et(),{portalContainer:n=e?null:document.body,...r}=t,{getContainer:i}=qo();if(!t.portalContainer&&i&&(n=i()),w.useEffect(()=>{if(n?.closest("[data-overlay-container]"))throw new Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[n]),!n)return null;let s=w.createElement(Ny,r);return Qc.createPortal(s,n)}function Iy(t,e){let n=X(t,{labelable:!0}),{hoverProps:r}=Ne({onHoverStart:()=>e?.open(!0),onHoverEnd:()=>e?.close()});return{tooltipProps:A(n,r,{role:"tooltip"})}}function jy(t,e,n){let{isDisabled:r,trigger:i,shouldCloseOnPress:s=!0}=t,o=fe(),a=u.useRef(!1),l=u.useRef(!1),c=()=>{(a.current||l.current)&&e.open(l.current)},d=$=>{!a.current&&!l.current&&e.close($)};u.useEffect(()=>{let $=x=>{n&&n.current&&x.key==="Escape"&&(x.stopPropagation(),e.close(!0))};if(e.isOpen)return document.addEventListener("keydown",$,!0),()=>{document.removeEventListener("keydown",$,!0)}},[n,e]);let p=()=>{i!=="focus"&&(at()==="pointer"?a.current=!0:a.current=!1,c())},h=()=>{i!=="focus"&&(l.current=!1,a.current=!1,d())},b=()=>{s&&(l.current=!1,a.current=!1,d(!0))},g=()=>{Kt()&&(l.current=!0,c())},v=()=>{l.current=!1,a.current=!1,d(!0)},{hoverProps:m}=Ne({isDisabled:r,onHoverStart:p,onHoverEnd:h}),{focusableProps:y}=At({isDisabled:r,onFocus:g,onBlur:v},n);return{triggerProps:{"aria-describedby":e.isOpen?o:void 0,...A(y,m,{onPointerDown:b,onKeyDown:b}),tabIndex:void 0},tooltipProps:{id:o}}}const ea=u.createContext(null),$f=u.createContext(null);function xf(t){let e=ef(t),n=u.useRef(null),{triggerProps:r,tooltipProps:i}=jy(t,e,n);return w.createElement(ve,{values:[[ea,e],[$f,{...i,triggerRef:n}]]},w.createElement(Ym,{...r,ref:n},t.children))}const Dy=u.forwardRef(function({UNSTABLE_portalContainer:e,...n},r){[n,r]=ae(n,r,$f);let i=u.useContext(ea),s=ef(n),o=n.isOpen!=null||n.defaultOpen!=null||!i?s:i,a=er(r,o.isOpen),l=n.isExiting||!o.shouldSkipAnimation&&a||!1;return!o.isOpen&&!l?null:w.createElement(Ly,{portalContainer:e},w.createElement(Ky,{...n,tooltipRef:r,isExiting:l}))});function Ky(t){let e=u.useContext(ea),n=u.useRef(null),{overlayProps:r,arrowProps:i,placement:s,triggerAnchorPoint:o}=Rd({placement:t.placement||"top",targetRef:t.triggerRef,overlayRef:t.tooltipRef,arrowRef:n,offset:t.offset,crossOffset:t.crossOffset,isOpen:e.isOpen,arrowBoundaryOffset:t.arrowBoundaryOffset,shouldFlip:t.shouldFlip,containerPadding:t.containerPadding,onClose:()=>e.close(!0)}),a=mr(t.tooltipRef,!!s),l=t.isEntering||!e.shouldSkipAnimation&&a||!1,c=ie({...t,defaultClassName:"react-aria-Tooltip",values:{placement:s,isEntering:l,isExiting:t.isExiting,state:e}});t=A(t,r);let{tooltipProps:d}=Iy(t,e),p=X(t,{global:!0});return w.createElement(ee.div,{...A(p,c,d),ref:t.tooltipRef,style:{...r.style,"--trigger-anchor-point":o?`${o.x}px ${o.y}px`:void 0,...c.style},"data-placement":s??void 0,"data-entering":l||void 0,"data-exiting":t.isExiting||void 0},w.createElement(Uo.Provider,{value:{...i,placement:s,ref:n}},c.children))}const G=(...t)=>t.filter(Boolean).join(" ");function ta({className:t,...e}){return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:f.jsx("path",{fill:"currentColor",d:"m11.06 10 5.207-5.206c.293-.293.293-.768 0-1.06s-.767-.294-1.06 0L10 8.938 4.793 3.733c-.293-.293-.767-.293-1.06 0s-.293.768 0 1.06L8.939 10l-5.206 5.206c-.293.293-.293.768 0 1.06.146.147.338.22.53.22s.384-.073.53-.22L10 11.062l5.207 5.206c.146.146.338.22.53.22s.384-.074.53-.22c.293-.293.293-.768 0-1.06z"})})}function _y({className:t,...e}){return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:[f.jsx("path",{fill:"currentColor",d:"M10 18.75c-4.825 0-8.75-3.925-8.75-8.75S5.175 1.25 10 1.25s8.75 3.925 8.75 8.75-3.925 8.75-8.75 8.75m0-16c-3.998 0-7.25 3.252-7.25 7.25s3.252 7.25 7.25 7.25 7.25-3.252 7.25-7.25S13.998 2.75 10 2.75"}),f.jsx("path",{fill:"currentColor",d:"M9.223 13.5c-.212 0-.415-.09-.558-.248l-2.51-2.792c-.278-.309-.253-.782.055-1.06s.781-.252 1.06.056l1.893 2.107 3.487-4.756c.244-.334.711-.41 1.048-.161.334.244.406.713.161 1.047l-4.032 5.5c-.133.183-.342.295-.567.306z"})]})}function Ks({className:t,...e}){return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:[f.jsx("path",{fill:"currentColor",d:"M10 15.123c-.231.008-.456-.073-.627-.228-.33-.365-.33-.92 0-1.285.17-.158.395-.242.626-.234.237-.01.466.08.633.247.162.168.25.394.242.627.012.235-.07.465-.228.639-.174.164-.408.25-.647.234M10 11.75c-.414 0-.75-.336-.75-.75V7c0-.414.336-.75.75-.75s.75.336.75.75v4c0 .414-.336.75-.75.75"}),f.jsx("path",{fill:"currentColor",d:"M16.733 18H3.267c-.8 0-1.523-.41-1.933-1.098s-.427-1.518-.046-2.222L8.02 2.232c.394-.727 1.152-1.18 1.979-1.18s1.585.453 1.979 1.18l6.733 12.448c.381.704.364 1.535-.046 2.222S17.534 18 16.733 18M10 2.553c-.134 0-.468.038-.66.392L2.607 15.393c-.183.338-.05.631.016.74.065.111.259.367.644.367h13.466c.385 0 .579-.256.644-.366s.2-.403.016-.741L10.66 2.945c-.192-.354-.526-.392-.66-.392"})]})}function wf({className:t,...e}){return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:[f.jsx("path",{fill:"currentColor",d:"M10 18.75c-4.825 0-8.75-3.925-8.75-8.75S5.175 1.25 10 1.25s8.75 3.925 8.75 8.75-3.925 8.75-8.75 8.75m0-16c-3.998 0-7.25 3.252-7.25 7.25s3.252 7.25 7.25 7.25 7.25-3.252 7.25-7.25S13.998 2.75 10 2.75"}),f.jsx("path",{fill:"currentColor",d:"M10 5.26c.231-.008.456.074.627.229.33.365.33.921 0 1.286-.17.159-.395.243-.626.235-.237.01-.466-.08-.633-.248-.162-.168-.25-.394-.242-.627-.012-.235.07-.465.228-.64.174-.164.408-.25.647-.235M10 15.063c-.414 0-.75-.336-.75-.75V9.478c0-.415.336-.75.75-.75s.75.335.75.75v4.835c0 .414-.336.75-.75.75"})]})}function tn({className:t,...e}){return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:f.jsx("path",{fill:"currentColor",d:"M3.755 7.243c.287-.299.762-.308 1.06-.02l5.183 4.986 5.197-4.999c.298-.288.773-.278 1.06.02.287.297.278.773-.02 1.06l-5.717 5.5c-.29.28-.75.28-1.04 0L3.776 8.303c-.153-.147-.23-.344-.23-.54 0-.188.07-.375.21-.52"})})}const Hl=(t,e,n)=>{const r=t[e];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((i,s)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(s.bind(null,new Error("Unknown variable dynamic import: "+e+(e.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})},le={lang:"doona-lang",scheme:"doona-scheme",palette:"doona-palette",wordmark:"doona-wordmark",mirror:"doona-mirror",toastPlacement:"doona-toast-placement",profiles:"doona-profiles",profile:"doona-profile",legacyApi:"doona-api",legacyToken:"doona-api-token",ringsPrefix:"doona-rings-",connectionsView:"doona-connections-view",session:"doona-session",saved:"doona-saved",hubPages:"doona-hub-pages"},Qe=[{id:"zh-TW",name:"繁體中文",locale:"zh-TW",docs:"zh-TW",fonts:"tc",faces:["Noto Sans TC"],complete:!0},{id:"zh-CN",name:"简体中文",locale:"zh-CN",docs:"zh-CN",fonts:"sc",faces:["Noto Sans SC","Noto Sans TC"],complete:!0},{id:"en",name:"English",locale:"en-US",docs:"en",fonts:null,faces:["Noto Sans TC"],complete:!0}],Kr="zh-TW",rr="en",Fy=new Set(Qe.map(t=>t.id));function Ay(t){return t!==null&&Fy.has(t)}function Oy(t){for(const e of t){const n=e.toLowerCase(),r=n.split("-")[0],i=Qe.find(o=>o.id.toLowerCase()===n||o.locale.toLowerCase()===n);if(i)return i.id;if(r==="zh")return/-hans\b/.test(n)?"zh-CN":/-(hant|tw|hk|mo)\b/.test(n)?"zh-TW":"zh-CN";const s=Qe.find(o=>o.id.toLowerCase().split("-")[0]===r);if(s)return s.id}return rr}const By=["Adlm","Arab","Hebr","Mand","Nkoo","Rohg","Samr","Syrc","Thaa","Yezi"];function Hy(t){try{const e=new Intl.Locale(t),n=e.getTextInfo?.()??e.textInfo;return n?.direction?n.direction==="rtl"?"rtl":"ltr":By.includes(e.maximize().script??"")?"rtl":"ltr"}catch{return"ltr"}}function Ef(t,e){return e?"rtl":Hy(t)}const na=Qe.map(t=>[t.id,t.name]),_e=Object.fromEntries(Qe.map(t=>[t.id,t.locale])),Sf=Object.fromEntries(Qe.map(t=>[t.id,[...t.faces.map(e=>`'${e}'`),"system-ui","sans-serif"].join(", ")])),ra=u.createContext(Kr);function Ln(){return u.useContext(ra)}function Sn(t,e){let n=null;try{n=(t??localStorage).getItem(le.lang)}catch{}return Ay(n)?n:Oy(typeof navigator>"u"?[]:navigator.languages?.length?navigator.languages:[navigator.language])}function Vy(t){const{fonts:e}=Qe.find(r=>r.id===t),n=Hl(Object.assign({"./locales/en.json":()=>he(()=>import("./locale-en-CGmJL3j4.js"),[],import.meta.url),"./locales/zh-CN.json":()=>he(()=>import("./locale-zh-CN-DF_91JnF.js"),[],import.meta.url),"./locales/zh-TW.json":()=>he(()=>import("./locale-zh-TW-CjV1NjVp.js"),[],import.meta.url)}),`./locales/${t}.json`,3).then(r=>r.default);return e?Promise.all([n,Hl(Object.assign({"../fonts-sc.css":()=>he(()=>Promise.resolve({}),__vite__mapDeps([0]),import.meta.url),"../fonts-tc.css":()=>he(()=>Promise.resolve({}),__vite__mapDeps([1]),import.meta.url)}),`../fonts-${e}.css`,2).catch(()=>{})]).then(([r])=>r):n}const ei=new Map,is=new Map;function ti(t,e=Vy){let n=is.get(t);if(!n){const{complete:r}=Qe.find(s=>s.id===t);n=(r?e(t):Promise.all([e(t),ti(rr,e)]).then(([s])=>s)).then(s=>void ei.set(t,s),s=>{throw is.delete(t),s}),is.set(t,n)}return n}function Uy(t){return ei.has(t)}const Vl=t=>[t,...na.map(([e])=>e)].find(Uy)??t,Ul=new Map,Pf=/^(0|[1-9][0-9]*)$/,ql=new Map,qy=(t,e,n,r)=>{if(typeof e=="bigint"||n&&typeof e=="string"&&Pf.test(e))return Pn(BigInt(e),_e[t]);if(typeof e!="number")return String(e);if(r!==void 0||Number.isInteger(e))return Pn(e,_e[t],r);let i=ql.get(t);return i||ql.set(t,i=new Intl.NumberFormat(_e[t])),i.format(e)},zy=t=>{if(typeof t=="number")return t;if(typeof t=="string"&&!Pf.test(t))return NaN;const e=BigInt(t);return e<=BigInt(Number.MAX_SAFE_INTEGER)?Number(e):Number(e%1000000n)+1e6};function xt(t,e,n,r="n",i){const s=ei.get(t)?.[e],o=s??ei.get(rr)?.[e],a=s===void 0?rr:t;let l;if(o===void 0)l=e;else if(typeof o=="string")l=o;else{let c=Ul.get(a);c||Ul.set(a,c=new Intl.PluralRules(_e[a]));const d=n?.[r],p=c.select(d===void 0?NaN:zy(d));l=o[p]??o.other}return n?l.replace(/\{(\w+)\}/g,(c,d)=>qy(t,n[d],d===r,i?.[d])):l}const kf=u.createContext(void 0);function Q(){const t=Ln(),e=u.useContext(kf);return u.useMemo(()=>(n,r,i,s)=>xt(t,e?.[n]??n,r,i,s),[t,e])}function Wy(t,e){return e.join(xt(t,"ui.listSeparator"))}const zl=new Map;function Pn(t,e,n=0){const r=e+"/"+n;let i=zl.get(r);return i||zl.set(r,i=new Intl.NumberFormat(e,{minimumFractionDigits:n,maximumFractionDigits:n})),i.format(t)}const bt={sample_delayed:"ui.backend.sampleDelayed",invalid_request:"ui.backend.invalidRequest",authentication_required:"ui.backend.authenticationRequired",permission_denied:"ui.backend.permissionDenied",resource_not_found:"ui.backend.resourceNotFound",method_not_allowed:"ui.backend.methodNotAllowed",capability_not_supported:"ui.backend.capabilityNotSupported",state_conflict:"ui.backend.stateConflict",idempotency_conflict:"ui.backend.idempotencyConflict",event_cursor_expired:"ui.backend.eventCursorExpired",snapshot_unavailable:"ui.backend.snapshotUnavailable",snapshot_expired:"ui.backend.snapshotExpired",flow_expired:"ui.backend.flowExpired",stale_revision:"ui.backend.staleRevision",request_too_large:"ui.backend.requestTooLarge",unsupported_media_type:"ui.backend.unsupportedMediaType",unsupported_value:"ui.backend.unsupportedValue",precondition_required:"ui.backend.preconditionRequired",rate_limited:"ui.backend.rateLimited",temporarily_unavailable:"ui.backend.temporarilyUnavailable",setup_required:"ui.backend.setupRequired",setup_already_completed:"ui.backend.setupAlreadyCompleted",invalid_credentials:"ui.backend.invalidCredentials",reload_rejected:"ui.backend.reloadRejected",reload_degraded:"ui.backend.reloadDegraded",supervisor_reconciliation_failed:"ui.backend.supervisorReconciliationFailed",activation_unconfirmed:"ui.backend.activationUnconfirmed",store_unavailable:"ui.backend.storeUnavailable",engine_unavailable:"ui.backend.engineUnavailable",request_exhausted:"ui.backend.requestExhausted",lifecycle_failed:"ui.backend.lifecycleFailed",geodata_update_failed:"ui.backend.geodataUpdateFailed",asset_validation_failed:"ui.backend.assetValidationFailed",checksum_unavailable:"ui.backend.checksumUnavailable",checksum_mismatch:"ui.backend.checksumMismatch",download_timeout:"ui.backend.downloadTimeout",http_status_rejected:"ui.backend.httpStatusRejected",http_not_found:"ui.backend.httpNotFound",connection_failed:"ui.backend.connectionFailed",tls_failed:"ui.backend.tlsFailed",http_failed:"ui.backend.httpFailed",group_unavailable:"ui.backend.groupUnavailable",route_blocked:"ui.backend.routeBlocked",destination_rejected:"ui.backend.destinationRejected",asset_too_large:"ui.backend.assetTooLarge",invalid_source:"ui.backend.invalidSource",probe_interrupted:"ui.backend.probeInterrupted",probe_cleanup_failed:"ui.backend.probeCleanupFailed",publication_rejected:"ui.backend.publicationRejected",fetch_failed:"ui.backend.fetchFailed",provider_replaced:"ui.backend.providerReplaced",result_too_large:"ui.backend.resultTooLarge",route_unavailable:"ui.backend.routeUnavailable",publication_unavailable:"ui.backend.publicationUnavailable",supervisor_stopped:"ui.backend.supervisorStopped",probe_cancelled:"ui.backend.probeCancelled",probe_deadline:"ui.backend.probeDeadline",probe_failed:"ui.backend.probeFailed",persistence_unavailable:"ui.backend.persistenceUnavailable",state_cache_unavailable:"ui.backend.stateCacheUnavailable",interface_watcher_disabled:"ui.backend.interfaceWatcherDisabled",pname_routing_reduced:"ui.backend.pnameRoutingReduced",pname_routing_disabled:"ui.backend.pnameRoutingDisabled",udp_trace_unavailable:"ui.backend.udpTraceUnavailable",quic_probe_disabled:"ui.backend.quicProbeDisabled","duplicate-subscription-entry":"ui.backend.duplicateSubscriptionEntry"},Gy={bare_condition:["config.diagnostic.bareCondition"],brace_without_section:["config.diagnostic.braceWithoutSection"],include_not_found:["config.diagnostic.includeNotFound","path"],not_a_rule:["config.diagnostic.notARule"],not_a_setting:["config.diagnostic.notASetting"],section_not_closed:["config.diagnostic.sectionNotClosed","name"],"source-not-included":["config.diagnostic.sourceNotIncluded","path"],unknown_key:["config.diagnostic.unknownKey","name"],unknown_outbound:["config.diagnostic.unknownOutbound","name"],unknown_section:["config.diagnostic.unknownSection","name"]},Yy=new Set(["invalid_request","unsupported_value","state_conflict"]);function Ti(t,e,n,r){const i=r?.stage,s=i===t&&bt[t]?void 0:i;if(typeof s=="string"&&bt[s])return{summary:n(bt[s])};const o=bt[t]?n(bt[t]):n("ui.backendMessage",{message:e}),a=typeof s=="string"?n("ui.aside",{text:o,note:s}):o;return Yy.has(t)&&e?{summary:a,detail:e}:{summary:a}}function m$({code:t,message:e,params:n},r){const[i,...s]=Gy[t]??[],o=i&&s.every(l=>n?.[l]!==void 0)?i:bt[t];if(!o)return Ti(t,e,r);const a=r(o,n);return e&&e!==a?{summary:a,detail:e}:{summary:a}}const ia=({summary:t,detail:e},n)=>e?n("ui.valuePair",{label:t,value:e}):t,b$=t=>Object.hasOwn(bt,t),Jy=(t,e)=>bt[t]?e(bt[t]):t;class me extends Error{constructor(e,n,r,i=null,s=null,o=null,a=null){super(r),this.status=e,this.code=n,this.requestId=i,this.details=s,this.retryAfter=o,this.text=a,this.name="ApiError"}get transient(){return(this.status===503||this.status===429)&&this.retryAfter!==null}}async function Rr(t){const e=await t.json().catch(()=>null),n=Number(t.headers.get("Retry-After"));return new me(t.status,e?.error?.code??"",e?.error?.message??(t.statusText||`HTTP ${t.status}`),e?.request_id??null,e?.error?.details??null,n>0?n:null)}const kn=(t,e,n,r,i)=>new me(t,e,n,null,null,null,{key:r,params:i}),Xy=15e3,Zy=3e4;function Qy(t,e){if(typeof AbortSignal.any=="function")return{signal:AbortSignal.any([t,e]),release:()=>{}};const n=new AbortController;if(t.aborted)return n.abort(t.reason),{signal:n.signal,release:()=>{}};const r=()=>n.abort(t.reason),i=()=>n.abort(e.reason);return t.addEventListener("abort",r,{once:!0}),e.addEventListener("abort",i,{once:!0}),{signal:n.signal,release:()=>{t.removeEventListener("abort",r),e.removeEventListener("abort",i)}}}function e1(t,e,n){const r=new AbortController,i=t?Qy(t,r.signal):{signal:r.signal,release:()=>{}};let s;const o=()=>{clearTimeout(s),s=setTimeout(()=>r.abort(n),e)};return o(),{signal:i.signal,arm:o,over:()=>{clearTimeout(s),i.release()}}}const t1=new Set([204,205,304]);function n1(t,e,n,r){if(!t.body||t1.has(t.status))return n.over(),t;const i=t.body.getReader(),s=new ReadableStream({async pull(a){try{const{done:l,value:c}=await i.read();l?(n.over(),a.close()):(n.arm(),a.enqueue(c))}catch(l){n.over(),a.error(n.signal.aborted&&!e?.aborted?r:l)}},cancel:a=>(n.over(),i.cancel(a))}),o=new Response(s,{status:t.status,statusText:t.statusText,headers:t.headers});for(const a of["url","type","redirected"])Object.defineProperty(o,a,{value:t[a]});return o}async function ss(t,e,n){const r=e?.signal??(t instanceof Request?t.signal:null),i=(e?.method??(t instanceof Request?t.method:"GET")).toUpperCase(),s=n??(i!=="GET"&&i!=="HEAD"),o=s?Zy:Xy,a=kn(0,"timeout",`No response within ${o/1e3} seconds`,s?"ui.errTimeoutWrite":"ui.errTimeout",{seconds:o/1e3}),l=e1(r,o,a);try{const c=await fetch(t,{...e,signal:l.signal});return l.arm(),n1(c,r,l,a)}catch(c){throw l.over(),r?.aborted?c:l.signal.aborted?a:c instanceof TypeError?kn(0,"network_error",c.message,"ui.errNetwork"):c}}class de extends Error{constructor(e,n=null,r=null,i=null){super(e),this.key=e,this.detail=n,this.code=r,this.details=i,this.name="LocalError"}}const Cf=(t,e)=>t.detail?t.code?ia(Ti(t.code,t.detail,e,t.details),e):t.detail:void 0;function Tf(t,e,n=!0){if(t instanceof de){const o=Cf(t,e);return{summary:o?e("ui.valuePair",{label:e(t.key),value:o}):e(t.key)}}if(t instanceof me&&t.text)return{summary:e(t.text.key,t.text.params)};if(!(t instanceof me))return{summary:t instanceof Error?t.message:String(t)};const{summary:r,detail:i}=Ti(t.code,t.message,e,t.details),s=n&&t.requestId?e("ui.requestNote",{requestId:t.requestId}):"";return i?{summary:r,detail:i+s}:{summary:r+s}}const sa=(t,e,n=!0)=>ia(Tf(t,e,n),e),oa=t=>t instanceof me?t.requestId??void 0:t instanceof Error&&t.cause instanceof me?oa(t.cause):void 0,r1=new Set(["ui.writtenNotApplied","ui.activationDegraded","ui.activationDegradedSaved","ui.activationDegradedUnconfirmed","ui.activationNotSaved","ui.activationUnknown"]);function aa(t,e,n){return t instanceof de&&t.key==="ui.operationUnknown"?{kind:"neutral",text:e(t.key)}:t instanceof de&&r1.has(t.key)?{kind:"negative",text:e(t.key),detail:Cf(t,e)}:{kind:"negative",text:n,detail:sa(t,e,!1),requestId:oa(t)}}const Wl=({text:t,detail:e,requestId:n},r,i=!0)=>e?r("ui.valuePair",{label:t,value:e+(i&&n?r("ui.requestNote",{requestId:n}):"")}):t,Rf=t=>getComputedStyle(document.documentElement).getPropertyValue(t).trim();function i1(t,e){const n=Number.parseFloat(t);return Number.isFinite(n)?/\ds$/.test(t)?n*1e3:n:e}const Gl=(t,e)=>i1(Rf(t),e),s1=(t,e)=>Rf(t)||e;function Mf({quiet:t,small:e,icon:n,accent:r,negative:i},s="rp-btn"){return G(s,t&&"quiet",e&&"sm",n&&"icon",r&&"accent",i&&"negative")}const Nf=u.createContext(void 0);function Lf(t){const e=u.useContext(Nf);return t?e:void 0}function If({reason:t,above:e,children:n}){const r=u.useId(),i=t&&f.jsx("span",{id:r,className:"rp-label",children:t});return f.jsxs(Nf.Provider,{value:t?r:void 0,children:[e&&i,n,!e&&i]})}function be({children:t,onPress:e,label:n,isDisabled:r,isPending:i,tip:s,type:o,form:a,appearance:l,className:c,...d}){const p=u.useRef(null),h=r&&!i,b=Lf(h),g=!!b,v=u.useId(),m=h&&!g&&!!s,y=u.useRef(null),$=k=>{const S=p.current?.querySelector(".rp-spin-on-press");if(!S||matchMedia("(prefers-reduced-motion: reduce)").matches)return;const C=y.current;if(C&&C.playState==="running"){C.effect?.updateTiming({iterations:k});return}y.current=S.animate([{rotate:"0deg"},{rotate:"360deg"}],{duration:Gl("--rp-duration-refresh",1e3),iterations:k,easing:k===1?s1("--rp-ease-out","cubic-bezier(0, 0, 0.4, 1)"):"linear"})};u.useEffect(()=>{if(i)$(1/0);else if(y.current?.playState==="running"){const k=Number(y.current.currentTime??0);y.current.effect?.updateTiming({iterations:Math.max(1,Math.ceil(k/Gl("--rp-duration-refresh",1e3)))})}},[i]),u.useEffect(()=>{const k=matchMedia("(prefers-reduced-motion: reduce)"),S=()=>{k.matches&&y.current?.cancel()};return k.addEventListener("change",S),()=>{k.removeEventListener("change",S),y.current?.cancel()}},[]);const x=()=>{$(1),e?.()},E=f.jsxs(De,{ref:p,className:G(Mf(d,l==="plain"?"":l?`rp-${l}`:"rp-btn"),c),onPress:x,"aria-label":n,"aria-describedby":b??(m?v:void 0),isDisabled:h,isPending:i,type:o,form:a,children:[i?f.jsx("span",{className:"rp-spinner","aria-hidden":"true"}):null,t]}),R=g?n:s??n;return R?f.jsxs(xf,{delay:400,children:[f.jsx(Fu,{children:f.jsxs("span",{className:"rp-tipwrap",tabIndex:h?0:-1,"data-passive":h?void 0:"",children:[E,m&&f.jsx($i,{id:v,children:s})]})}),f.jsx(jf,{triggerRef:p,children:R})]}):E}function jf({children:t,triggerRef:e}){return f.jsxs(Dy,{className:"rp-tip",offset:6,triggerRef:e,children:[f.jsx(yg,{})," ",t]})}const _r=new WeakMap,Fr=new Set;let os=0;function o1(t){Fr.add(t),!os&&(os=requestAnimationFrame(()=>{os=0;const e=[...Fr];Fr.clear();for(const n of e)n()}))}const Yl=typeof ResizeObserver>"u"?null:new ResizeObserver(t=>t.forEach(e=>_r.get(e.target)?.())),_s='button, a, [role="option"], [role="menuitem"], [role="menuitemradio"], [role="menuitemcheckbox"], [role="radio"]',Jl=_s+', [role="row"]';function Fe({children:t,text:e,className:n,cut:r}){const i=u.useRef(null),[s,o]=u.useState(!1),[a,l]=u.useState(!0),c=s||!!e,[d,p]=u.useState(!1);u.useEffect(()=>{const g=i.current;if(!g)return;if(e){l(!!g.closest(Jl));return}const v=()=>{o(g.scrollWidth>g.clientWidth),l(!!g.closest(Jl))};return _r.set(g,v),Yl?.observe(g),()=>{Yl?.unobserve(g),_r.delete(g),Fr.delete(v)}},[e,c]),u.useEffect(()=>{const g=i.current,v=c&&a?g?.closest(_s):null;if(!g||!v)return;const m=()=>{v.matches(":focus-visible")&&v.querySelector("[data-tip]")===g&&p(!0)},y=()=>p(!1);return v.addEventListener("focus",m),v.addEventListener("blur",y),()=>{v.removeEventListener("focus",m),v.removeEventListener("blur",y),p(!1)}},[c,a]);const h=u.useRef(!1);u.useEffect(()=>{const g=i.current;if(!g||!c)return;const v=()=>{!matchMedia("(pointer: coarse)").matches||g.closest(_s)||g.closest("[data-row-detail]")||(h.current=!0,p(!0))};return g.addEventListener("click",v),()=>g.removeEventListener("click",v)},[c]),u.useEffect(()=>{if(!d||!h.current)return;const g=()=>{h.current=!1,p(!1)},v=y=>{i.current?.contains(y.target)||g()},m=y=>{y.key==="Escape"&&g()};return document.addEventListener("pointerdown",v,!0),document.addEventListener("keydown",m,!0),window.addEventListener("scroll",g,!0),()=>{document.removeEventListener("pointerdown",v,!0),document.removeEventListener("keydown",m,!0),window.removeEventListener("scroll",g,!0)}},[d]),u.useEffect(()=>{const g=i.current&&_r.get(i.current);g&&o1(g)},[t,e,c]);const b=f.jsx("span",{ref:i,className:G("rp-truncate",r==="start"&&"rp-truncate-start",n),tabIndex:c&&!a?0:-1,"data-tip":c?"":void 0,children:r==="start"?f.jsx("bdi",{children:t}):t});return c?f.jsxs(xf,{delay:400,isOpen:d,onOpenChange:g=>h.current&&!g?void 0:p(g),children:[f.jsx(Fu,{children:b}),f.jsx(jf,{children:e??t})]}):b}function Te({external:t,appearance:e,label:n,className:r,quiet:i,small:s,icon:o,accent:a,negative:l,...c}){const d=e==="button"?Mf({quiet:i,small:s,icon:o,accent:a,negative:l}):`rp-${e}`;return f.jsx(So,{target:t?"_blank":void 0,rel:t?"noreferrer":void 0,"aria-label":n,...c,className:e?Fh(r,p=>G(d,p)):r})}function Xl(t){const e=document;if(!e.startViewTransition||matchMedia("(prefers-reduced-motion: reduce)").matches)return t();e.startViewTransition(()=>rn.flushSync(t))}function Ri(t,e="[data-selected]"){const n=u.useRef(null),[r,i]=u.useState(null);return u.useLayoutEffect(()=>{const s=n.current;if(!s)return;const o=l=>{if(!s.offsetWidth)return;const c=s.querySelector(e);if(!c)return i(null);const d={x:c.offsetLeft,y:c.offsetTop,w:c.offsetWidth,h:c.offsetHeight,still:l};i(p=>p&&p.x===d.x&&p.y===d.y&&p.w===d.w&&p.h===d.h?p:d)};o(!1);const a=new ResizeObserver(()=>o(!0));return a.observe(s),()=>a.disconnect()},[t,e]),[n,r]}function Df(t,e,n="[data-selected]"){u.useLayoutEffect(()=>{const r=t.current;if(!r)return;const i=()=>{const l=Math.abs(r.scrollLeft),c=[l>1&&"start",l{const l=r.querySelector(n);if(!l||!r.offsetWidth||r.scrollWidth<=r.clientWidth)return;const c=r.getBoundingClientRect(),d=l.getBoundingClientRect(),p=Math.max(0,Math.min(24,(c.width-d.width)/2)),h=d.left-(c.left+p),b=d.right-(c.right-p);h<0?r.scrollLeft+=h:b>0&&(r.scrollLeft+=Math.min(b,h))},o=()=>{s(),i()};o();const a=new ResizeObserver(o);a.observe(r);for(const l of r.children)a.observe(l);return r.addEventListener("scroll",i,{passive:!0}),()=>{a.disconnect(),r.removeEventListener("scroll",i)}},[t,e,n])}function a1(t,e){const[n,r]=u.useState(!1);return u.useLayoutEffect(()=>{const i=t.current;if(!i)return;const s=()=>r(i.scrollWidth>i.clientWidth);s();const o=new ResizeObserver(()=>rn.flushSync(s));o.observe(i);for(const a of i.children)o.observe(a);return()=>o.disconnect()},[t,e]),n}function l1(t=Math.floor,e=0){const n=u.useRef(null),[r,i]=u.useState(null);return u.useLayoutEffect(()=>{const s=n.current;if(!s)return;let o;const a=()=>{if(!s.getClientRects().length)return;const c=getComputedStyle(s),d=(b,g)=>parseFloat(b)+parseFloat(g),p=t(s.clientWidth-d(c.paddingLeft,c.paddingRight)),h=t(s.clientHeight-d(c.paddingTop,c.paddingBottom));i(b=>b?.width===p&&b.height===h?b:{width:p,height:h})};a();const l=new ResizeObserver(()=>{e?o===void 0&&(o=setTimeout(()=>{o=void 0,a()},e)):a()});return l.observe(s),()=>{clearTimeout(o),l.disconnect()}},[t,e]),[n,r]}function g$(){const[t,e]=l1();return[t,e?.width??null]}function y$(t,e=24){const n=u.useRef(null),[r,i]=u.useState(t);return u.useLayoutEffect(()=>{const s=n.current;if(!s)return;let o=0;const a=()=>{if(o=0,!s.getClientRects().length)return;const d=Math.max(t,Math.floor(window.innerHeight-s.getBoundingClientRect().top-e));i(p=>p===d?p:d)},l=()=>{o||(o=requestAnimationFrame(a))};a();const c=new ResizeObserver(l);return c.observe(document.body),window.addEventListener("resize",l),()=>{c.disconnect(),window.removeEventListener("resize",l),cancelAnimationFrame(o)}},[t,e]),[n,r]}const c1=navigator.userAgentData?.platform==="macOS"||navigator.platform.startsWith("Mac"),Kf='[role="dialog"], [role="alertdialog"]',u1="(min-width: 1200px)",v$="(max-width: 599.98px)";function d1(t,e){const[n,r]=u.useState(t);n!==t&&(r(t),e(t))}function $$(t,e=300){const[n,r]=u.useState(t);return u.useEffect(()=>{const i=setTimeout(()=>r(t),e);return()=>clearTimeout(i)},[t,e]),n}const as=400;function f1(t){const[e,n]=u.useState(!1),r=u.useRef(t);return u.useLayoutEffect(()=>{r.current=t},[t]),[u.useCallback(s=>{if(!s)return;const o=s.getBoundingClientRect();o.top-as&&(n(!0),r.current?.());const a=new IntersectionObserver(l=>{const c=l.at(-1).isIntersecting;n(c),c&&r.current?.()},{rootMargin:`${as}px`});return a.observe(s),()=>a.disconnect()},[]),e]}function la(t){const[e,n]=u.useState(()=>typeof matchMedia=="function"&&matchMedia(t).matches);return u.useEffect(()=>{const r=matchMedia(t),i=()=>n(r.matches);return i(),r.addEventListener("change",i),()=>r.removeEventListener("change",i)},[t]),e}function lt({role:t,children:e}){return f.jsx("div",{className:"rp-empty",role:t,children:e})}function Je({children:t}){const e=Q(),[n,r]=u.useState(!1);return u.useEffect(()=>{const i=setTimeout(()=>r(!0),150);return()=>clearTimeout(i)},[]),f.jsxs("div",{className:"rp-empty",role:"status","data-wait":n?void 0:"",children:[f.jsx("span",{className:"rp-spinner","aria-hidden":"true"}),t??e("ui.loading")]})}function Mi({tone:t="negative",title:e,children:n,action:r,takeFocus:i}){const s=u.useRef(null);return u.useEffect(()=>{i&&s.current?.focus()},[i]),f.jsxs("div",{ref:s,role:t==="negative"?"alert":"status",tabIndex:i?-1:void 0,className:G("rp-alert",t),children:[e&&f.jsx("strong",{className:"rp-alert-title",children:e}),f.jsx("span",{children:n}),r]})}function Xe({error:t,onRetry:e,message:n}){const r=Q();if(!t)return null;const{summary:i,detail:s}=Tf(t,r);return f.jsxs(Mi,{action:e&&f.jsx(be,{small:!0,quiet:!0,onPress:e,children:r("ui.retry")}),children:[n?n(i):r("ui.loadFailed",{error:i}),s&&f.jsx("span",{className:"rp-alert-detail",children:s})]})}function In({tone:t,children:e,small:n}){return f.jsx("span",{className:G("rp-light",t,n&&"sm"),children:e!=null&&f.jsx("span",{children:e})})}function p1({label:t,value:e,pct:n,color:r}){return f.jsxs("div",{className:"rp-bar",children:[f.jsxs("div",{className:"top",children:[f.jsx("span",{className:"l",children:typeof t=="string"?f.jsx(Fe,{children:t}):t}),f.jsx("span",{className:"v",children:e})]}),f.jsx("div",{className:"track","aria-hidden":"true",children:f.jsx("div",{className:"fill",style:{width:`${Math.max(0,Math.min(100,n))}%`,background:r}})})]})}function _f({children:t,tone:e,className:n,tip:r}){return f.jsx(Fe,{className:G("rp-badge",e,n),text:r,children:t})}const Mt=new my({maxVisibleToasts:5}),Mr=new Map,Me=(t,e,{detail:n,action:r,requestId:i}={})=>{i&&console.warn(`${e}${n?`
-${n}`:""} (request_id: ${i})`);const s=[t,e,n??""].join(`
-`),o=Mr.get(s);o&&Mt.close(o);const a=Mt.add({kind:t,text:e,detail:n,action:r},{timeout:r?void 0:5e3,onClose:()=>{Mr.get(s)===a&&Mr.delete(s)}});Mr.set(s,a)},h1=(t,e,n,r)=>{const i=aa(t,e,n);Me(i.kind,i.text,{detail:i.detail,requestId:i.requestId,action:r})},Ff=(t,e)=>({detail:sa(t,e,!1),requestId:oa(t)}),m1={positive:_y,negative:Ks,info:wf,neutral:null};function b1({placement:t="bottom"}){const[e,n="center"]=t.split(" "),r=Q(),[i,s]=u.useState(!1);return u.useEffect(()=>{i?Mt.pauseAll():Mt.resumeAll()},[i]),u.useEffect(()=>Mt.subscribe(()=>{Mt.visibleToasts.length===0&&s(!1)}),[]),u.useEffect(()=>{if(!i)return;const o=a=>{if(a.key!=="Escape")return;(a.target?.closest?.(".rp-toasts")||!document.querySelector(Kf))&&s(!1)};return addEventListener("keydown",o),()=>removeEventListener("keydown",o)},[i]),f.jsxs(gy,{queue:Mt,className:G("rp-toasts",i&&"expanded"),"data-placement":e,"data-align":n,children:[i&&f.jsx(De,{className:"rp-toast-underlay","aria-label":r("toast.collapse"),onPress:()=>s(!1)}),i&&f.jsxs("div",{className:"rp-toast-controls",children:[f.jsx(De,{className:"rp-btn sm",onPress:()=>Mt.clear(),children:r("toast.clearAll")}),f.jsx(De,{className:"rp-btn sm",onPress:()=>s(!1),children:r("toast.collapse")})]}),f.jsx(g1,{expanded:i,edge:e,onExpand:()=>s(!0)})]})}function g1({expanded:t,edge:e,onExpand:n}){const r=u.useContext(Ci),i=r.visibleToasts;return f.jsx(bf,{className:"rp-toast-list",children:({toast:s})=>{const o=i.indexOf(s);return f.jsx(y1,{item:s,state:r,depth:o,count:i.length,background:!t&&o>0,more:!t&&o===0&&i.length>1?{edge:e,onExpand:n}:null})}})}function y1({item:t,state:e,depth:n,count:r,background:i,more:s}){const o=Q(),a=m1[t.content.kind],{text:l,detail:c,action:d}=t.content;return f.jsxs(yy,{toast:t,className:G("rp-toast",t.content.kind,i&&"background"),style:{zIndex:r-n,"--i":Math.min(n,3)},inert:i||void 0,children:[f.jsxs(vy,{className:"body",children:[a&&f.jsx("span",{className:"icon",children:f.jsx(a,{})}),f.jsxs("div",{className:"msg",children:[f.jsx(zr,{slot:"title",elementType:"div",className:"summary",children:l}),c&&f.jsx(zr,{slot:"description",elementType:"div",className:"detail",children:c})]})]}),f.jsx(De,{slot:"close",className:"rp-btn quiet icon close","aria-label":o("ui.close"),children:f.jsx(ta,{})}),(s||d)&&f.jsxs("div",{className:"foot",children:[s&&f.jsxs(De,{className:"rp-btn sm quiet more",onPress:s.onExpand,children:[f.jsx(tn,{className:G(s.edge==="bottom"&&"up")}),o("toast.showAllCount",{n:r})]}),d&&f.jsx(De,{className:"rp-btn action",onPress:()=>{d.onAction(),d.closeOnAction&&e.close(t.key)},children:d.label})]})]})}let Un=null;const Fs=new Set,As=()=>Fs.forEach(t=>t());typeof window<"u"&&(addEventListener("beforeinstallprompt",t=>{t.preventDefault(),Un=t,As()}),addEventListener("appinstalled",()=>{Un=null,As()}));function x$(t=navigator,e=n=>matchMedia(n).matches){if(t.standalone||e("(display-mode: standalone), (display-mode: minimal-ui)"))return null;const n=/Version\/(\d+)[.\d]* (?:Mobile\/\w+ )?Safari\//.exec(t.userAgent);return n?typeof t.standalone=="boolean"&&(/iP(?:hone|ad|od)/.test(t.userAgent)||t.maxTouchPoints>1)?"ios":/Macintosh/.test(t.userAgent)&&t.maxTouchPoints<2&&Number(n[1])>=26?"mac":null:null}function w$(){const t=Q(),e=u.useSyncExternalStore(n=>(Fs.add(n),()=>Fs.delete(n)),()=>Un,()=>null);return e?async()=>{if(Un!==e)return!1;Un=null,As();try{return await e.prompt(),(await e.userChoice).outcome==="accepted"}catch(n){return Me("negative",t("settings.installFailed"),Ff(n,t)),!1}}:null}function Os({className:t,...e}){return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:f.jsx("path",{fill:"currentColor",d:"m18.53 17.47-5.083-5.084C14.417 11.186 15 9.66 15 8c0-3.86-3.14-7-7-7S1 4.14 1 8s3.14 7 7 7c1.66 0 3.185-.584 4.386-1.553l5.084 5.083c.146.147.338.22.53.22s.384-.073.53-.22c.293-.293.293-.767 0-1.06M8 13.5c-3.032 0-5.5-2.468-5.5-5.5S4.968 2.5 8 2.5s5.5 2.468 5.5 5.5-2.468 5.5-5.5 5.5"})})}function v1({className:t,...e}){return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:[f.jsx("path",{fill:"currentColor",d:"m10.03418,16.66162C5.14258,16.66162.75,12.27295.75,10.20068c0-1.68506,2.59814-4.55029,5.34717-5.89746,1.20117-.60596,2.54736-.93506,3.89307-.95264,5.15771,0,9.25977,4.91943,9.25977,6.8501,0,2.07227-4.36035,6.46094-9.21582,6.46094Zm-.03418-11.81104c-1.11084.01465-2.23145.28906-3.23096.79346-.00244.00146-.00537.00293-.0083.00439-2.60596,1.27539-4.51074,3.75-4.51074,4.55225,0,1.14453,3.67969,4.96094,7.78418,4.96094,4.06836,0,7.71582-3.81641,7.71582-4.96094,0-1.04883-3.48145-5.3501-7.75-5.3501Zm-3.56885.12402h.00977-.00977Z"}),f.jsx("path",{fill:"currentColor",d:"m9.82907,7.64351c.22275-.63691-.47262-1.25888-1.09987-1.01025-.47319.18757-.91275.48099-1.28245.88097-1.49146,1.6136-1.20734,4.23592.75785,5.46243,1.20025.7491,2.79762.68815,3.93958-.14712.6684-.48889,1.10383-1.13556,1.31685-1.83367.20882-.68436-.45803-1.25043-1.1188-.97598-.5365.22284-1.03207.12822-1.24493.06689-.57058-.16439-1.03427-.59003-1.24706-1.14381-.16744-.43575-.16335-.8929-.02115-1.29947Z"})]})}function $1({className:t,...e}){return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:[f.jsx("path",{fill:"currentColor",d:"m9.96582,16.68262C5.11035,16.68262.75,12.29395.75,10.22168c0-.91992.86426-2.35938,2.20117-3.66797.29492-.28809.76953-.28418,1.06055.01172.29004.2959.28418.77051-.01172,1.06055-1.30957,1.28125-1.75,2.31934-1.75,2.5957,0,1.14453,3.64746,4.96094,7.71582,4.96094.60449,0,1.23145-.08496,1.86328-.25195.39746-.10156.81055.13379.91699.53418.10547.40039-.13379.81055-.53418.91699-.75586.19922-1.51172.30078-2.24609.30078Z"}),f.jsx("path",{fill:"currentColor",d:"m16.60352,13.84277c-.20312,0-.40527-.08203-.55371-.24414-.2793-.30566-.25781-.78027.04785-1.05957,1.13965-1.04199,1.65234-1.98242,1.65234-2.31738,0-.80176-1.9043-3.27637-4.51074-4.55176-1.00879-.50977-2.12891-.78418-3.24902-.79785-.62012,0-1.26465.09375-1.90527.2793-.40039.10938-.81445-.11523-.92871-.5127-.11523-.39746.11426-.81348.5127-.92871.77539-.22461,1.55957-.33789,2.33105-.33789,1.35645.0166,2.7041.34668,3.90723.9541,2.74219,1.34277,5.34277,4.20996,5.34277,5.89551,0,.91895-.7998,2.19922-2.14062,3.4248-.14355.13184-.3252.19629-.50586.19629Z"}),f.jsx("path",{fill:"currentColor",d:"m18.78027,17.74121l-5.77808-5.77808c.20337-.29639.35767-.61475.45886-.94604.20886-.68457-.45813-1.25049-1.11877-.97607-.49548.20581-.9458.14062-1.18115.08105l-1.37183-1.37183c-.09448-.36938-.07935-.74487.03979-1.08569.22266-.63672-.47266-1.25879-1.09985-1.01025-.23547.09326-.4624.21338-.67676.35913L2.28027,1.24121c-.29297-.29297-.76758-.29297-1.06055,0s-.29297.76758,0,1.06055l16.5,16.5c.14648.14648.33789.21973.53027.21973s.38379-.07324.53027-.21973c.29297-.29297.29297-.76758,0-1.06055Z"}),f.jsx("path",{fill:"currentColor",d:"m8.20459,12.9978c.69531.43384,1.52295.5874,2.31909.48462l-3.98169-3.98169c-.16833,1.31567.38574,2.7002,1.6626,3.49707Z"})]})}function Af({className:t,...e}){return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:f.jsx("path",{fill:"currentColor",d:"M7.864 15.734c-.222 0-.433-.098-.576-.27l-3.747-4.497c-.266-.319-.222-.792.096-1.057.317-.265.79-.223 1.056.096l3.154 3.786 7.44-9.469c.255-.326.728-.382 1.052-.127.326.256.383.728.127 1.053L8.454 15.447c-.14.179-.352.284-.579.287z"})})}const Of=()=>f.jsx(Af,{className:"rp-check-mark"}),Bf=({i:t,cut:e})=>f.jsxs("span",{className:"rp-il",children:[t.icon&&f.jsx("span",{className:"ic",children:t.icon}),f.jsx(Fe,{cut:e,children:t.label})]}),Hf=({i:t,children:e})=>f.jsxs("span",{className:"rp-item-text",children:[f.jsx(Bf,{i:t}),e??(t.desc&&f.jsx("span",{className:"desc",children:t.desc}))]}),x1=({i:t})=>f.jsxs(f.Fragment,{children:[f.jsx(Of,{}),f.jsx(Hf,{i:t})]});function Vf({items:t,value:e,onChange:n,label:r,isDisabled:i,className:s,layout:o,cut:a}){return f.jsxs(D0,{"aria-label":o?void 0:r,className:o==="field"?"rp-field":o==="side"?"rp-cluster":void 0,selectedKey:e,onSelectionChange:l=>{l!=null&&n(String(l))},isDisabled:i,children:[o&&f.jsx(Wu,{className:o==="field"?"lbl":"rp-label",children:r}),f.jsxs(De,{className:s,children:[f.jsx(F0,{children:({selectedItem:l})=>l?f.jsx(Bf,{i:l,cut:a}):e}),f.jsx(tn,{})]}),f.jsx(Pi,{className:"rp-popover",placement:"bottom start",children:f.jsx(fg,{items:t,children:l=>f.jsx(hg,{id:l.id,className:"rp-item",textValue:l.label,children:f.jsx(x1,{i:l})})})})]})}const ni=t=>e=>{if(e==="all")return;const n=[...e][0];n!=null&&t(String(n))};function ca({item:t,children:e}){return f.jsxs(Go,{id:t.id,className:"rp-item",textValue:t.label,children:[f.jsx(Of,{}),f.jsx(Hf,{i:t,children:e})]})}function Uf({children:t,content:e,label:n,quiet:r,small:i,chevron:s=!0,isDisabled:o,appearance:a,placement:l="bottom end",count:c}){const d=c?f.jsx("span",{className:"rp-count","aria-hidden":"true",children:c}):null,p=Lf(o);return f.jsxs(t0,{children:[a?f.jsxs(be,{appearance:a,quiet:r,icon:!s,label:n,isDisabled:o,children:[t,s&&f.jsx(tn,{})]}):f.jsxs(De,{className:G("rp-btn",r&&"quiet",i&&"sm",!s&&"icon"),"aria-label":n,"aria-describedby":p,isDisabled:o,children:[t,d,s&&f.jsx(tn,{})]}),f.jsx(Pi,{className:"rp-popover",placement:l,children:e})]})}function Bs({label:t,labelledBy:e,sections:n,headers:r=!0,focusedByCaller:i,onAction:s}){return f.jsx(nr,{"aria-label":t,"aria-labelledby":e,autoFocus:i?!1:void 0,onAction:s&&(o=>s(String(o))),children:n.map(o=>f.jsxs(Yd,{id:o.title,"aria-label":r?void 0:o.title,selectionMode:"single",selectedKeys:[o.value],onSelectionChange:o.onChange&&ni(o.onChange),children:[r&&f.jsx(dd,{className:"rp-sec-h",children:o.title}),o.items.map(a=>f.jsx(ca,{item:a},a.id))]},o.title))})}function w1(t,e){for(const n of t){const r=n.items.find(i=>i.id===n.value);if(r)return t.length>1&&r.label!==n.title?e("ui.sectionChoice",{section:n.title,item:r.label}):r.label}return""}const Zl=({id:t,label:e,icon:n,onAction:r})=>f.jsxs(Go,{id:t,className:"rp-item rp-subitem",textValue:e,onAction:r,shouldCloseOnSelect:!0,children:[f.jsx("span",{className:"ic",children:n}),f.jsx(Fe,{children:e})]}),Ql=t=>`action-${t}`,ec=({id:t,label:e,icon:n,sections:r})=>{const i=Q();return f.jsxs(Go,{id:t,className:"rp-item rp-subitem",textValue:e,children:[f.jsx("span",{className:"ic",children:n}),f.jsx(Fe,{children:e}),f.jsxs("span",{className:"desc",children:[w1(r,i),f.jsx(tn,{className:"rp-chev-end"})]})]})},E1="(max-width: 639px)";function S1({label:t,submenus:e,actions:n=[]}){const r=Q(),i=la(E1),[s,o]=Ue().direction==="rtl"?["ArrowLeft","ArrowRight"]:["ArrowRight","ArrowLeft"],[{open:a,left:l},c]=u.useState({open:null,left:null}),d=u.useRef(null),p=u.useId(),h=m=>{d.current?.focus(),c({open:m,left:m==null?a:null})};if(u.useEffect(()=>{const m=d.current;if(!m||a==null&&l==null)return;const y=a==null?`[data-key="${l}"]`:'[aria-checked="true"]',$=requestAnimationFrame(()=>{document.activeElement===m&&m.querySelector(y)?.focus()});return()=>cancelAnimationFrame($)},[a,l]),!i)return f.jsxs(nr,{"aria-label":t,children:[e.map(m=>f.jsxs(r0,{children:[f.jsx(ec,{...m}),f.jsx(Pi,{className:"rp-popover",offset:-4,crossOffset:-9,children:f.jsx(Bs,{label:m.label,sections:m.sections,headers:m.sections.length>1})})]},m.label)),n.map((m,y)=>f.jsx(Zl,{id:Ql(y),...m},m.label))]});const b=a==null?null:e[a];if(b){const m=()=>h(null),y=$=>{$.key!==o&&$.key!=="Escape"||($.preventDefault(),$.stopPropagation(),m())};return f.jsxs("div",{ref:d,className:"rp-drill",tabIndex:-1,onKeyDownCapture:y,children:[f.jsxs(De,{className:"rp-item rp-drill-back","aria-label":r("ui.back"),onPress:m,children:[f.jsx(tn,{className:"rp-chev-start"}),f.jsx("span",{id:p,children:b.label})]}),f.jsx(Bs,{label:b.label,labelledBy:p,sections:b.sections,headers:b.sections.length>1,focusedByCaller:!0})]})}const g=m=>m!=null&&e[Number(m)]?Number(m):null,v=m=>{const y=g(m.target.dataset.key);m.key!==s||y==null||(m.preventDefault(),h(y))};return f.jsx("div",{ref:d,className:"rp-drill",tabIndex:-1,onKeyDownCapture:v,children:f.jsxs(nr,{"aria-label":t,autoFocus:l==null?void 0:!1,shouldCloseOnSelect:!1,onAction:m=>{const y=g(String(m));y!=null&&h(y)},children:[e.map((m,y)=>f.jsx(ec,{id:String(y),...m},m.label)),n.map((m,y)=>f.jsx(Zl,{id:Ql(y),...m},m.label))]})})}function P1({label:t,items:e,selectionMode:n,value:r,onChange:i,onAction:s}){return f.jsx(nr,{"aria-label":t,selectionMode:n,selectedKeys:r==null?void 0:typeof r=="string"?[r]:r,onSelectionChange:i&&ni(i),shouldCloseOnSelect:n==="multiple"?!1:void 0,onAction:s&&(o=>s(String(o))),children:(typeof e=="function"?e():e).map(o=>f.jsx(ca,{item:o},o.id))})}function Ni({items:t,selectionMode:e,value:n,onChange:r,sections:i,submenus:s,actions:o,onAction:a,...l}){return f.jsx(Uf,{...l,content:s?f.jsx(S1,{label:l.label,submenus:s,actions:o}):i?f.jsx(Bs,{label:l.label,sections:i,onAction:a}):f.jsx(P1,{label:l.label,items:t,selectionMode:e??(n==null?"none":"single"),value:n,onChange:r,onAction:a})})}function E$({items:t,value:e,onChange:n,label:r}){return f.jsx(Vf,{items:t,value:e,onChange:n,label:r,className:"rp-select"})}function k1({label:t,items:e,value:n,onChange:r,isDisabled:i,side:s,bare:o,cut:a}){return f.jsx(Vf,{items:e,value:n,onChange:r,label:t,isDisabled:i,className:"rp-selectbtn",layout:o?void 0:s?"side":"field",cut:a})}function ua({items:t,value:e,onChange:n,label:r,isDisabled:i}){const[s,o]=Ri(e),a=a1(s,t.flat().join(`
-`)),l=u.useRef(null),c=u.useRef(!1),d=u.useCallback(p=>(l.current=p,()=>{c.current=p.contains(document.activeElement),l.current=null}),[]);return u.useLayoutEffect(()=>{a&&s.current?.contains(document.activeElement)&&l.current?.querySelector("button")?.focus(),!a&&c.current&&s.current?.querySelector("[data-selected]")?.focus(),c.current=!1},[s,a]),f.jsxs("div",{className:"rp-segfit","data-collapsed":a||void 0,children:[f.jsxs(Py,{ref:s,className:"rp-seg","aria-label":r,isDisabled:i,selectionMode:"single",disallowEmptySelection:!0,selectedKeys:[e],onSelectionChange:p=>{const h=[...p][0];h!=null&&n(String(h))},children:[o&&f.jsx("span",{className:"rp-slider","data-still":o.still||void 0,style:{left:o.x,width:o.w}}),t.map(([p,h])=>f.jsx(Cy,{id:p,className:"rp-btn",children:h},p))]}),a&&f.jsx("div",{ref:d,className:"rp-segpick",children:f.jsx(k1,{bare:!0,label:r,value:e,onChange:n,isDisabled:i,items:t.map(([p,h])=>({id:p,label:h}))})})]})}function S$({children:t,isSelected:e,onChange:n,isDisabled:r,"aria-label":i,"aria-describedby":s}){return f.jsxs(B0,{className:"rp-switch",isSelected:e,onChange:n,isDisabled:r,"aria-label":i,"aria-describedby":s,children:[f.jsx("span",{className:"track"}),t]})}function C1({label:t,width:e,search:n,large:r,side:i,className:s,placeholder:o,description:a,error:l,action:c,reveal:d,prefix:p,suffix:h,autoComplete:b,spellCheck:g,...v}){const m=Q(),y=u.useId(),$=l?{isInvalid:!0,validationBehavior:"aria"}:{};if(n)return f.jsxs(T0,{...$,...v,"aria-label":t,className:G("rp-search-field",s),style:e?{width:e}:void 0,children:[f.jsxs("span",{className:G("rp-input",r&&"lg"),children:[f.jsx(Os,{}),f.jsx(dl,{placeholder:o??t,autoComplete:b,spellCheck:g}),f.jsx(De,{className:"clear","aria-label":m("ui.clear"),children:f.jsx(ta,{})})]}),l&&f.jsxs(ll,{className:"rp-field-error",children:[f.jsx(Ks,{}),l]})]});const x=f.jsxs("span",{className:G("rp-input",(i||!!c)&&"rp-grow",(p||h)&&"affixed"),children:[p&&f.jsx("span",{className:"affix",id:`${y}-prefix`,children:p}),f.jsx(dl,{placeholder:o,autoComplete:b,spellCheck:g}),h&&f.jsx("span",{className:"affix",id:`${y}-suffix`,children:h}),d&&f.jsx(De,{className:"reveal","aria-label":d.label,onPress:d.onToggle,children:d.shown?f.jsx($1,{}):f.jsx(v1,{})})]});return f.jsxs(sy,{...$,...v,"aria-describedby":[p&&`${y}-prefix`,h&&`${y}-suffix`].filter(Boolean).join(" ")||void 0,className:G(i?"rp-cluster":"rp-field",s),style:e?{width:e}:void 0,children:[f.jsx(Wu,{className:"rp-label",children:t}),c?f.jsxs("div",{className:"rp-toolbar",children:[x,c]}):x,a&&f.jsx(zr,{slot:"description",className:"rp-label",children:a}),l&&f.jsxs(ll,{className:"rp-field-error",children:[f.jsx(Ks,{}),l]})]})}function P$({label:t,value:e,description:n}){const r=u.useId();return f.jsxs("div",{className:"rp-field",role:"group","aria-labelledby":`${r}-label`,"aria-describedby":n&&`${r}-help`,children:[f.jsx("span",{className:"lbl",id:`${r}-label`,children:t}),f.jsx("span",{children:e}),n&&f.jsx("span",{className:"rp-label",id:`${r}-help`,children:n})]})}function k$({title:t,children:e,...n}){return f.jsxs(h0,{...n,className:"rp-disclosure",children:[f.jsx(Po,{level:3,children:f.jsxs(De,{slot:"trigger",className:"rp-btn quiet rp-disclosure-trigger",children:[f.jsx(tn,{}),t]})}),f.jsx(m0,{className:"rp-disclosure-panel",children:f.jsx("div",{className:"rp-disclosure-content",children:e})})]})}function C$({children:t}){return f.jsx(d0,{className:"rp-col",allowsMultipleExpanded:!0,children:t})}function da({trigger:t,title:e,children:n,footer:r,narrow:i,alert:s,isOpen:o,onOpenChange:a,hideTitle:l,locked:c,reason:d}){const p=f.jsx(Jo,{className:"rp-underlay",isDismissable:!s&&!c,isKeyboardDismissDisabled:c,isOpen:o,onOpenChange:a,children:f.jsx(tf,{className:G("rp-modal",i&&"narrow"),children:f.jsx(Zr,{className:"rp-dialog",role:s?"alertdialog":"dialog","aria-label":l?e:void 0,children:({close:h})=>f.jsxs(If,{reason:r?d:null,children:[!l&&f.jsx(Po,{slot:"title",children:e}),typeof n=="function"?n(h):n,r&&f.jsx("div",{className:"foot",children:r(h)})]})})})});return t?f.jsxs(Xd,{children:[t,p]}):p}function fa({trigger:t,triggerRef:e,isOpen:n,onOpenChange:r,title:i,label:s,subtitle:o,placement:a="top start",children:l}){const c=f.jsx(Pi,{className:i?"rp-popover rp-popover-dialog":"rp-popover",placement:a,...t?{}:{triggerRef:e,isOpen:n,onOpenChange:r},children:i?f.jsx(Zr,{className:"rp-popover-body",children:({close:d})=>f.jsxs(f.Fragment,{children:[f.jsxs("div",{className:"rp-popover-head",children:[f.jsx(Po,{slot:"title",children:i}),o]}),l(d)]})}):f.jsx(Zr,{className:"rp-popover-note","aria-label":s,children:({close:d})=>l(d)})});return t?f.jsxs(Xd,{children:[t,c]}):c}function pa({title:t,isOpen:e,onCancel:n,confirmLabel:r,onConfirm:i,tone:s="negative",isPending:o,isDisabled:a,reason:l,error:c,children:d}){const p=Q();return f.jsxs(da,{title:t,narrow:!0,alert:s==="negative",isOpen:e,reason:l,onOpenChange:h=>{h||n()},footer:()=>f.jsxs(f.Fragment,{children:[f.jsx(be,{onPress:n,children:p("ui.cancel")}),f.jsx(be,{negative:s==="negative",accent:s==="accent",isDisabled:a,isPending:o,onPress:i,children:r})]}),children:[c&&f.jsx(Mi,{takeFocus:!0,children:c.text},c.id),d]})}function T$({label:t,confirmationText:e,isDisabled:n,isPending:r,onConfirm:i,onAbort:s,open:o,setOpen:a}){const l=Q(),[c,d]=u.useState(!1),[p,h]=u.useState(!1),[b,g]=u.useState(null),v=u.useRef(0),m=u.useRef(0),y=u.useRef(null);u.useEffect(()=>()=>y.current?.(),[]);const $=o??c,x=k=>{g(null),(a??d)(k)},E=()=>{y.current&&(y.current(),h(!1)),x(!1)},R=async()=>{const k=++m.current;y.current=()=>{y.current=null,m.current++,s?.()},h(!0),g(null);let S;try{S=await i()}catch(C){S=sa(C,l)}k===m.current&&(y.current=null,h(!1),S?g({id:++v.current,text:S}):x(!1))};return f.jsxs(f.Fragment,{children:[f.jsx(be,{negative:!0,quiet:!0,isDisabled:n,isPending:r||p,onPress:()=>x(!0),children:t}),f.jsx(pa,{title:t,confirmLabel:t,isOpen:$,isPending:p,error:b,onCancel:E,onConfirm:()=>void R(),children:f.jsx("p",{className:"rp-label",children:e})})]})}function R$({label:t,items:e,value:n,onChange:r,keepMounted:i}){const[s,o]=Ri(n,"[data-selected]");Df(s,n);const a=u.useDeferredValue(n),[l,c]=u.useState(()=>new Set([n])),d=i?l:new Set([a]);i&&!l.has(a)&&c(new Set([...l,a]));const p=d.has(n)?n:a;return f.jsxs(Y0,{className:"rp-tabs",selectedKey:n,onSelectionChange:h=>r(String(h)),children:[f.jsxs("div",{className:"rp-tabbar",ref:s,children:[o&&f.jsx("span",{className:"rp-slider","data-still":o.still||void 0,style:{left:o.x,width:o.w}}),f.jsx(X0,{"aria-label":t,className:"rp-tablist",children:e.map(h=>f.jsx(ey,{id:h.id,className:"rp-tab",children:h.label},h.id))})]}),e.filter(h=>d.has(h.id)||h.id===a).map(h=>f.jsx(ty,{id:h.id,shouldForceMount:!0,className:"rp-tabpanel","data-shown":h.id===p||void 0,children:f.jsx(ha.Provider,{value:h.id===p,children:h.content})},h.id))]})}const ha=u.createContext(!0),M$=()=>u.useContext(ha);function N$({open:t,title:e,onClose:n,children:r}){const i=Q(),s=la(u1),o=u.useContext(ha)&&t,[a,l]=u.useState({showing:o,open:t,seen:!1});if((a.showing!==o||a.open!==t)&&l({showing:o,open:t,seen:t&&(a.seen||a.showing)}),u.useEffect(()=>{if(!o||!s)return;const d=p=>{p.key==="Escape"&&!p.target?.closest(`${Kf}, input, textarea, [role="listbox"], [role="menu"], .rp-toasts`)&&n()};return addEventListener("keydown",d),()=>removeEventListener("keydown",d)},[o,s,n]),!o)return null;const c=f.jsxs("div",{className:"rp-row",children:[f.jsx("h3",{className:"rp-h3",children:e}),f.jsx(De,{className:"rp-btn quiet icon close","aria-label":i("ui.close"),onPress:n,children:f.jsx(ta,{})})]});return s?f.jsxs("aside",{className:"rp-panel rp-card","aria-label":e,children:[c,r]}):f.jsx(Jo,{className:G("rp-underlay rp-drawer-underlay",a.seen&&"still"),isDismissable:!0,isOpen:!0,onOpenChange:d=>!d&&n(),children:f.jsx(tf,{className:"rp-modal rp-drawer",children:f.jsxs(Zr,{className:"rp-dialog","aria-label":e,children:[c,r]})})})}const T1=(1n<<64n)-1n;function Ae(t){if(t===null||t.length>20||!/^(0|[1-9][0-9]*)$/.test(t))return null;const e=BigInt(t);return e>T1?null:e}function Hs(t){if(typeof t!="bigint")return Ae(t);if(t<0n)throw new RangeError("Unsigned value must not be negative");return t}function Vs(...t){let e=0n;for(const n of t){const r=Hs(n);if(r===null)return null;e+=r}return e}function qf(t,e){const n=Hs(t),r=Hs(e);return n===null||r===null?null:r===0n?0:Number(((n>r?r:n)*10000n+r/2n)/r)/100}const R1=t=>t<10?Math.round(t*10)/10:Math.round(t),tc=new Map;function L$(t,e,n=Date.now()){if(!t)return"—";const r=Math.floor((Date.parse(t)-n)/1e3);if(!Number.isFinite(r))return"—";let i=tc.get(e);return i||tc.set(e,i=new Intl.RelativeTimeFormat(e,{numeric:"auto"})),Math.abs(r)<60?i.format(r,"second"):Math.abs(r)<3600?i.format(Math.trunc(r/60),"minute"):Math.abs(r)<86400?i.format(Math.trunc(r/3600),"hour"):i.format(Math.trunc(r/86400),"day")}const Us=t=>Qe.find(e=>e.locale===t)?.id??rr,nc=new Map;function I$(t,e){if(t===null)return"—";const n=Ae(t);if(n===null)return"—";const r=n/86400n,i=n%86400n/3600n,s=n%3600n/60n,o=(a,l)=>{const c=e+"/"+l;let d=nc.get(c);return d||nc.set(c,d=new Intl.NumberFormat(e,{style:"unit",unit:l,unitDisplay:"short"})),d.format(a)};return r>0n?xt(Us(e),"ui.duration.dayHour",{days:o(r,"day"),hours:o(i,"hour")}):i>0n?xt(Us(e),"ui.duration.hourMinute",{hours:o(i,"hour"),minutes:o(s,"minute")}):s>0n?o(s,"minute"):o(n,"second")}const rc=new Map;function M1(t){let e=rc.get(t);return e||rc.set(t,e=new Intl.DateTimeFormat(t,{dateStyle:"short",timeStyle:"medium"})),e}function N1(t,e){if(!t)return"—";const n=Date.parse(t);return Number.isFinite(n)?M1(e).format(n):t}const L1=["unit.byte","unit.kilobyte","unit.megabyte","unit.gigabyte","unit.terabyte","unit.petabyte","unit.exabyte"],I1=["unit.bytePerSecond","unit.kilobytePerSecond","unit.megabytePerSecond","unit.gigabytePerSecond","unit.terabytePerSecond","unit.petabytePerSecond","unit.exabytePerSecond"];function ic(t,e,n,r=0){return xt(Us(e),n,{n:Pn(t,e,r)})}function zf(t,e,n){const r=typeof t=="number"?Number.isFinite(t)&&t>=0?BigInt(Math.round(t)):null:typeof t=="bigint"?t:Ae(t);if(r===null||r<0n)return"—";let i=0,s=1n;for(;i=s*1000n;)i++,s*=1000n;const o=(r*10n+s/2n)/s;return i>0&&rt==null?"—":e("ui.latency",{n:R1(t)});function j1(t,e){return t==null?"—":e("ui.percent",{n:t},"n",{n:1})}const oc=5e3,D1=6e4;function ri(){let t=[],e=0;return{note(n,r=Date.now()){const i=typeof n=="string"?Date.parse(n):NaN;if(!Number.isFinite(i))return;t=t.filter(o=>r-o.ato.offset));e=Math.abs(s)>(e?oc/2:oc)?s:0},now:(n=Date.now())=>n+e}}let Gf=ri();function ac(t){Gf=t}function Li(t){return Gf.now(t)}const K1=5e3,Nt=new Set;let ma=Li(),lc,cc=!1;function Yf(){ma=Li(),Nt.forEach(t=>t())}function ls(){clearInterval(lc),lc=document.hidden||!Nt.size?void 0:setInterval(Yf,K1)}function _1(t){return cc||(cc=!0,document.addEventListener("visibilitychange",()=>{!document.hidden&&Nt.size&&Yf(),ls()})),Nt.size||(ma=Li()),Nt.add(t),Nt.size===1&&ls(),()=>{Nt.delete(t),Nt.size||ls()}}function D$(){return u.useSyncExternalStore(_1,()=>ma)}function Jf({title:t,text:e}){const n=Q();return f.jsx(fa,{title:t,placement:"bottom start",trigger:f.jsx(be,{quiet:!0,icon:!0,className:"rp-help",label:n("ui.helpFor",{name:t}),children:f.jsx(wf,{})}),children:()=>(typeof e=="string"?[e]:e).map(r=>f.jsx("p",{children:r},r))})}function Xf({help:t,fill:e,children:n}){return f.jsxs("span",{className:e?"rp-help-row rp-help-row-fill":"rp-help-row",children:[e?f.jsx("span",{className:"rp-help-text",children:n}):n,t&&f.jsx(Jf,{...t})]})}function Zf({items:t,inline:e,row:n}){return f.jsx("div",{className:G("rp-kv",(e||n)&&"inline",n&&"row"),children:t.map(r=>{const{label:i,value:s,full:o,help:a}=Array.isArray(r)?{label:r[0],value:r[1]}:r;return f.jsxs("div",{children:[f.jsx("span",{className:"k",children:a?f.jsx(Xf,{help:a,children:i}):i}),o?f.jsx(Fe,{className:"v",text:o,children:s}):f.jsx("span",{className:"v",children:s})]},i)})})}function Qf({className:t,...e}){return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:[f.jsx("path",{fill:"currentColor",d:"M17.25 16.521h-10c-.414 0-.75-.335-.75-.75s.336-.75.75-.75h10c.414 0 .75.336.75.75s-.336.75-.75.75M17.25 10.521h-10c-.414 0-.75-.335-.75-.75s.336-.75.75-.75h10c.414 0 .75.336.75.75s-.336.75-.75.75M17.25 4.521h-10c-.414 0-.75-.335-.75-.75s.336-.75.75-.75h10c.414 0 .75.336.75.75s-.336.75-.75.75"}),f.jsx("circle",{cx:"3.5",cy:"3.771",r:"1.5",fill:"currentColor"}),f.jsx("circle",{cx:"3.5",cy:"9.771",r:"1.5",fill:"currentColor"}),f.jsx("circle",{cx:"3.5",cy:"15.771",r:"1.5",fill:"currentColor"})]})}const ep=u.createContext(void 0),K$=()=>u.useContext(ep),_$=(t,e,n)=>n("ui.valuePair",{label:t,value:e.map(r=>n("ui.chartPart",{label:r.label,value:r.text})).join(n("ui.separator"))}),F1=(...t)=>G("rp-card",...t);function tp({icon:t,tint:e,kind:n,label:r,children:i}){return f.jsxs("span",{className:`${n==="metric"?"rp-tile-head":"rp-qlabel"} rp-tint-c${e}`,children:[t,r,i]})}function st({title:t,level:e=3,titleId:n,tile:r,note:i,help:s,aside:o,reason:a,id:l,className:c,tabIndex:d,"aria-label":p,children:h,ref:b}){const g=u.useId(),v=u.useId(),m=n??g,y=e===2?"h2":"h3",$=t!=null&&!r,x=t!=null&&f.jsx(y,{className:"rp-h3",id:m,children:t}),E=r?f.jsx(tp,{...r,label:t,children:r.kind==="metric"&&o}):s&&x?f.jsx(Xf,{help:s,children:x}):x;return f.jsx("section",{ref:b,id:l,tabIndex:d,className:F1($&&"rp-titled",c),"aria-labelledby":$?m:void 0,"aria-label":p,children:f.jsxs(If,{reason:a,children:[o&&r?.kind!=="metric"?f.jsxs("div",{className:"rp-row",children:[E,o]}):E,i&&f.jsx("p",{className:"rp-note",id:v,children:i}),f.jsx(ep.Provider,{value:i?v:void 0,children:h})]})})}function cs({href:t,label:e,tile:n,children:r}){return f.jsxs(So,{href:t,"aria-label":e,className:"rp-card rp-card-link",children:[n&&f.jsx(tp,{...n,kind:"metric",label:e}),r]})}function F$({expression:t,href:e,tooltip:n,className:r}){const i=Q();return t?f.jsxs(f.Fragment,{children:[f.jsx(Fe,{className:r,text:n??t,children:t}),e&&f.jsx(So,{href:e,className:"rp-btn quiet icon rp-rule-link","aria-label":i("ui.openRule",{rule:t}),children:f.jsx(Qf,{})})]}):f.jsx(f.Fragment,{children:"—"})}const np=t=>t<100?"ok":t<300?"warn":"err";function A$({name:t,status:e,description:n,current:r,mark:i}){const s=Q();return f.jsxs(f.Fragment,{children:[f.jsxs("span",{className:"top",children:[f.jsx("span",{className:"n",children:f.jsx(Fe,{children:t})}),e.badge?f.jsx(_f,{children:e.text}):f.jsx("span",{className:G("ms",e.tone),children:e.text})]}),f.jsxs("span",{className:"s",children:[n,(i||r)&&f.jsx("span",{className:"cur",children:i??s("ui.current")})]})]})}function A1({className:t,...e}){return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:f.jsx("path",{fill:"currentColor",d:"M10 3a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m0 5.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m0 5.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3"})})}const O1=()=>f.jsx(Ob,{orientation:"vertical",className:"rp-vrule"}),rp=u.createContext({setDirty:()=>{},revision:0}),us=new WeakMap;function B1(t,e){const{setDirty:n,revision:r}=u.useContext(rp),[i]=u.useState(()=>Symbol()),s=u.useCallback(()=>{const o=us.get(n);o?.delete(i),n(!!o?.size)},[i,n]);return u.useEffect(()=>{if(!t)return;const o=us.get(n)??new Set;us.set(n,o),o.add(i),n(!0);const a=l=>{o.has(i)&&l.preventDefault()};return addEventListener("beforeunload",a),()=>{removeEventListener("beforeunload",a),s()}},[t,i,n,s,r]),d1(r,e),{clear:s,revision:r}}function O$(){const t=u.useRef(0);return u.useMemo(()=>({next:()=>{t.current++},start:()=>{const e=t.current;return()=>t.current===e}}),[])}function ba(t){let e,n;const r=async()=>{try{const a=await t();return e=a.default,a}catch(a){throw n=void 0,a}},i=()=>n??=r(),s=u.lazy(i);function o(a){return u.createElement(e??s,a)}return{Component:o,preload:i}}const ga=ba(()=>he(()=>import("./SearchDialog-CuE64a4y.js"),__vite__mapDeps([2,3,4,5,6,7,8,9,10,11,12]),import.meta.url).then(t=>({default:t.SearchDialog}))),bn=()=>void ga.preload().catch(()=>{}),ya="mock";function Ii(t){return!t||t===ya}function ji(t){const e=t.trim();if(Ii(e))return e;if(!/^https?:\/\/[^/]+/i.test(e)||/[\s\\?#]/.test(e))throw new Error("invalid_url");const n=new URL(e);if(!n.hostname||n.username||n.password)throw new Error("invalid_url");return e.replace(/\/+$/,"")}function uc(t){if(!Array.isArray(t))return[];const e=new Set;return t.flatMap(n=>{if(!n||typeof n.id!="string"||!n.id.trim()||e.has(n.id)||typeof n.api!="string")return[];try{const r=ji(n.api);return e.add(n.id),[{id:n.id,name:typeof n.name=="string"&&n.name.trim()?n.name.trim():r||n.id,api:r,token:typeof n.token=="string"?n.token:""}]}catch{return[]}})}let ip=0;const dc=()=>ip,Di=()=>void ip++;let ds,va,zs=!1;function H1(){const t=zs;return zs=!1,t}function Ki(t){try{const e=t??localStorage;let n=e.getItem(le.profiles);if(n===null&&e.getItem(le.legacyApi)===null)n="[]";else if(n===null){const o=e.getItem(le.legacyApi),a=e.getItem(le.legacyToken)??"",l=uc([{id:"legacy",name:o.trim()||ya,api:o,token:a}]);n=JSON.stringify(l),e.setItem(le.profiles,n),e.setItem(le.profile,l[0]?.id??""),e.removeItem(le.legacyApi),e.removeItem(le.legacyToken)}if(ds?.raw!==n){let o;try{o=uc(JSON.parse(n))}catch{o=[],zs=!0}ds={raw:n,profiles:o}}const r=ds.profiles,i=()=>r.find(o=>o.id===e.getItem(le.profile));if(t)return{profiles:r,activeId:i()?.id??r[0]?.id??""};const s=va??=i()??r[0];return{profiles:r,activeId:r.find(o=>o.id===s?.id)?.id??r[0]?.id??""}}catch{return{profiles:[],activeId:""}}}function sp(){return Ki(),va}function V1({profiles:t,activeId:e},n){const r=n??localStorage,i=t.map(a=>({...a,name:a.name.trim()||a.id,api:ji(a.api)})),s=i.find(a=>a.id===e)?.id??i[0]?.id??"",o=()=>{r.setItem(le.profiles,JSON.stringify(i)),r.setItem(le.profile,s)};try{o()}catch{U1(),o()}n||(va=i.find(a=>a.id===s)),Di()}function U1(){try{for(const t of Object.keys(localStorage))t.startsWith(le.ringsPrefix)&&localStorage.removeItem(t)}catch{}}function q1(t){const e=/^(.*?)\/ui(?:\/|$)/.exec(t.pathname)?.[1]??"";return t.origin+e}async function z1(t,e=location,n=fetch){try{if(t??=localStorage,t.getItem(le.profiles)!==null||t.getItem(le.legacyApi)!==null||!/^https?:$/.test(e.protocol))return!1;const r=q1(e),i=await n(`${r}/api`,{headers:{Accept:"application/json"},cache:"no-store",signal:AbortSignal.timeout(3e3)}),s=i.headers.get("content-type")?.includes("application/json")??!1,o=i.status===401&&/bearer/i.test(i.headers.get("www-authenticate")??""),a=i.status===200&&s&&(await i.json())?.api_major===1;return!o&&!a?!1:(V1({profiles:[{id:"hosted",name:e.host,api:r,token:""}],activeId:"hosted"},t),!0)}catch{return!1}}const $a=[{id:"rose-pine/main",group:"palette.rosePine",label:"palette.rosePine",desc:"palette.dawnMain"},{id:"rose-pine/moon",group:"palette.rosePine",label:"palette.moon",desc:"palette.dawnMoon"},{id:"catppuccin/frappe",group:"palette.catppuccin",label:"palette.frappe",desc:"palette.latteFrappe"},{id:"catppuccin/macchiato",group:"palette.catppuccin",label:"palette.macchiato",desc:"palette.latteMacchiato"},{id:"catppuccin/mocha",group:"palette.catppuccin",label:"palette.mocha",desc:"palette.latteMocha"},{id:"nord/nord",group:"palette.nord",label:"palette.nord",desc:"palette.nordVariants"},{id:"kary/kary",group:"palette.kary",label:"palette.kary",desc:"palette.lightDark"},{id:"antd/antd",group:"palette.antd",label:"palette.antd",desc:"palette.defaultDark"},{id:"arco/arco",group:"palette.bytedance",label:"palette.arco",desc:"palette.lightDark"},{id:"semi/semi",group:"palette.bytedance",label:"palette.semi",desc:"palette.lightDark"},{id:"glass/glass",group:"palette.glassName",label:"palette.glassName",desc:"palette.glass"},{id:"qiangguo/qiangguo",group:"palette.qiangguo",label:"palette.qiangguo",desc:"palette.qiangguoModes",words:{"act.good":"palette.qiangguoGood","lifecycle.running":"palette.qiangguoGood","act.unavailable":"palette.qiangguoBad","lifecycle.degraded":"palette.qiangguoBad","theme.light":"palette.qiangguoLight","theme.dark":"palette.qiangguoDark"}}],W1="rose-pine/moon",G1=new Set($a.map(t=>t.id));function Y1(t){return t!==null&&G1.has(t)}function J1(t){const e=$a.find(n=>n.id===t);return"words"in e?e.words:void 0}const X1=["top","top end","bottom","bottom end"];function pn(t,e,n){try{(n??localStorage).setItem(le[t],e)}catch{}}function op(t){const e=a=>{try{return(t??localStorage).getItem(a)}catch{return null}},n=e(le.scheme),r=e(le.palette),i=e(le.toastPlacement),s=Ki(t),o=s.profiles.find(a=>a.id===s.activeId);return{...s,api:o?.api??null,token:o?.token??"",lang:Sn(t),scheme:n==="light"||n==="dark"?n:"system",palette:Y1(r)?r:W1,wordmark:e(le.wordmark)==="plain"?"plain":"gradient",mirrored:e(le.mirror)==="on",toastPlacement:X1.find(a=>a===i)??"bottom"}}function Z1(t,e){return t===null&&(e===""||e==="#"||e==="#/")}const Q1=u.createContext(null),ev=["activity","overview","connections","flows","dns","policies","rules","nodes","config","events","logs","settings"],Ws="activity",tv=[{id:"activity",titleKey:"nav.activity",pages:["activity","overview"]},{id:"traffic",titleKey:"hub.traffic",pages:["connections","flows","dns","logs","events"]},{id:"routing",titleKey:"hub.routing",pages:["policies","nodes","rules"]},{id:"settings",titleKey:"hub.settings",pages:["config","settings"]}];function ap(t){return ev.includes(t)}const Gs=new Set;function B$(){Gs.forEach(t=>t())}function nv(t){return Gs.add(t),()=>void Gs.delete(t)}function rv({go:t,openSearch:e,refresh:n,mac:r,entries:i,paths:s}){const o=Q(),[a,l]=u.useState(!1);u.useEffect(()=>nv(()=>l(!0)),[]),u.useEffect(()=>{let d=null;const p=()=>{d=null},h=b=>{const g=b.target;if((b.key==="Control"||b.key==="Meta")&&bn(),b.defaultPrevented||b.repeat||b.isComposing||g instanceof HTMLElement&&(g.isContentEditable||g.closest('input, textarea, select, [role="textbox"], [role="dialog"], [role="alertdialog"], [role="menu"], [role="listbox"]'))){p();return}if((b.ctrlKey||b.metaKey)&&!b.altKey&&b.key.toLowerCase()==="k"){b.preventDefault(),p(),e();return}if(b.ctrlKey||b.metaKey||b.altKey){p();return}if(b.key==="?"){b.preventDefault(),p(),l(!0);return}if(b.key==="/"){p();const m=document.querySelector('.rp-content input[type="search"]');m&&(b.preventDefault(),m.focus(),m.select());return}const v=d;if(p(),v!==null&&performance.now()-v<=800){const m=s[b.key];if(m&&ap(m)){b.preventDefault(),t(m);return}}if(b.key==="r"){b.preventDefault(),p(),n();return}b.key==="g"&&(b.preventDefault(),d=performance.now())};return addEventListener("keydown",h),addEventListener("blur",p),addEventListener("focusin",p),()=>{removeEventListener("keydown",h),removeEventListener("blur",p),removeEventListener("focusin",p)}},[t,e,n,s]);const c=r?"⌘":`${o("shell.keyCtrl")} `;return f.jsx(da,{title:o("shell.shortcuts"),isOpen:a,onOpenChange:l,footer:()=>f.jsx(be,{onPress:()=>l(!1),children:o("ui.close")}),children:f.jsxs("div",{className:"rp-shortcuts",children:[f.jsxs("div",{children:[f.jsxs("section",{children:[f.jsx("h3",{children:o("shell.shortcutGeneral")}),f.jsx(Oe,{label:o("shell.shortcutSearch"),keys:[o(r?"shell.macShortcut":"shell.shortcut")]}),f.jsx(Oe,{label:o("shell.shortcutHelp"),keys:["?"]}),f.jsx(Oe,{label:o("shell.shortcutFilter"),keys:["/"]}),f.jsx(Oe,{label:o("ui.refresh"),keys:["R"]})]}),f.jsxs("section",{children:[f.jsx("h3",{children:o("shell.shortcutTables")}),f.jsx(Oe,{label:o("shell.shortcutMove"),keys:["↑","↓"]}),f.jsx(Oe,{label:o("shell.shortcutSelect"),keys:[o("shell.keyEnter"),o("shell.keySpace")]}),f.jsx(Oe,{label:o("shell.shortcutClose"),keys:[o("shell.keyEsc")]})]}),f.jsxs("section",{children:[f.jsx("h3",{children:o("shell.shortcutEditor")}),f.jsx(Oe,{label:o("shell.shortcutApply"),keys:[`${c}S`]}),f.jsx(Oe,{label:o("shell.shortcutSearch"),keys:[`${c}F`]}),f.jsx(Oe,{label:o("shell.shortcutLine"),keys:[`${c}G`]}),f.jsx(Oe,{label:o("shell.shortcutComment"),keys:[`${c}/`]})]})]}),f.jsxs("section",{children:[f.jsx("h3",{children:o("shell.shortcutGoTo")}),f.jsx("p",{className:"rp-label",children:o("shell.shortcutSequence")}),i.map(d=>f.jsx(Oe,{label:d.label,keys:d.keys},d.id))]})]})})}function Oe({label:t,keys:e}){return f.jsxs("div",{className:"rp-row",children:[f.jsx("span",{children:t}),f.jsx("span",{className:"keys",children:e.map((n,r)=>f.jsx("kbd",{className:"rp-kbd",children:n},r))})]})}const ii=""+new URL("logo-obi05X1B.svg",import.meta.url).href,iv=""+new URL("duck-night-CbKHyiul.webp",import.meta.url).href;function sv({className:t,...e}){return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:f.jsx("path",{fill:"currentColor",d:"M10 1.5a8.5 8.5 0 0 0-2.69 16.57c.43.08.58-.18.58-.41v-1.44c-2.36.51-2.86-1.14-2.86-1.14-.39-.98-.95-1.24-.95-1.24-.77-.53.06-.52.06-.52.85.06 1.3.88 1.3.88.76 1.3 1.99.92 2.47.71.08-.55.3-.93.54-1.14-1.89-.22-3.87-.95-3.87-4.2 0-.93.33-1.69.87-2.28-.09-.22-.38-1.08.08-2.25 0 0 .71-.23 2.34.87a8.1 8.1 0 0 1 4.26 0c1.62-1.1 2.33-.87 2.33-.87.47 1.17.18 2.03.09 2.25.54.59.87 1.35.87 2.28 0 3.26-1.99 3.98-3.88 4.19.31.26.58.78.58 1.58v2.34c0 .23.15.5.58.41A8.5 8.5 0 0 0 10 1.5"})})}function lp({className:t,...e}){return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:[f.jsx("path",{fill:"currentColor",d:"m16.34 5.296-3.62-3.622c-.42-.42-1-.66-1.591-.66H5.25C4.01 1.015 3 2.025 3 3.265v12.484c0 1.24 1.01 2.25 2.25 2.25h9.5c1.24 0 2.25-1.01 2.25-2.25V6.887c0-.6-.234-1.166-.66-1.591m-1.06 1.06c.046.047.074.104.106.159H12.25c-.413 0-.75-.337-.75-.75V2.628c.055.033.114.06.16.106zm-.53 10.142h-9.5c-.413 0-.75-.337-.75-.75V3.265c0-.413.337-.75.75-.75H10v3.25c0 1.24 1.01 2.25 2.25 2.25h3.25v7.733c0 .413-.337.75-.75.75"}),f.jsx("path",{fill:"currentColor",d:"M13 11.498H7c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h6c.414 0 .75.336.75.75s-.336.75-.75.75M13 14.498H7c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h6c.414 0 .75.336.75.75s-.336.75-.75.75"})]})}const ov=/\{[^{}]+\}/g,av=()=>typeof process=="object"&&Number.parseInt(process?.versions?.node?.substring(0,2))>=18&&process.versions.undici;function lv(){return Math.random().toString(36).slice(2,11)}function fc(t){let{baseUrl:e="",Request:n=globalThis.Request,fetch:r=globalThis.fetch,querySerializer:i,bodySerializer:s,pathSerializer:o,headers:a,requestInitExt:l=void 0,...c}={...t};l=av()?l:void 0,e=mc(e);const d=[];async function p(h,b){const{baseUrl:g,fetch:v=r,Request:m=n,headers:y,params:$={},parseAs:x="json",querySerializer:E,bodySerializer:R=s??uv,pathSerializer:k,body:S,middleware:C=[],...M}=b||{};let I=e;g&&(I=mc(g)??e);let _=typeof i=="function"?i:pc(i);E&&(_=typeof E=="function"?E:pc({...typeof i=="object"?i:{},...E}));const z=k||o||cv,U=S===void 0?void 0:R(S,hc(a,y,$.header)),T=hc(U===void 0||U instanceof FormData?{}:{"Content-Type":"application/json"},a,y,$.header),j=[...d,...C],q={redirect:"follow",...c,...M,body:U,headers:T};let D,Y,N=new m(dv(h,{baseUrl:I,params:$,querySerializer:_,pathSerializer:z}),q),W;for(const O in M)O in N||(N[O]=M[O]);if(j.length){D=lv(),Y=Object.freeze({baseUrl:I,fetch:v,parseAs:x,querySerializer:_,bodySerializer:R,pathSerializer:z});for(const O of j)if(O&&typeof O=="object"&&typeof O.onRequest=="function"){const J=await O.onRequest({request:N,schemaPath:h,params:$,options:Y,id:D});if(J)if(J instanceof m)N=J;else if(J instanceof Response){W=J;break}else throw new Error("onRequest: must return new Request() or Response() when modifying the request")}}if(!W){try{W=await v(N,l)}catch(O){let J=O;if(j.length)for(let L=j.length-1;L>=0;L--){const re=j[L];if(re&&typeof re=="object"&&typeof re.onError=="function"){const ce=await re.onError({request:N,error:J,schemaPath:h,params:$,options:Y,id:D});if(ce){if(ce instanceof Response){J=void 0,W=ce;break}if(ce instanceof Error){J=ce;continue}throw new Error("onError: must return new Response() or instance of Error")}}}if(J)throw J}if(j.length)for(let O=j.length-1;O>=0;O--){const J=j[O];if(J&&typeof J=="object"&&typeof J.onResponse=="function"){const L=await J.onResponse({request:N,response:W,schemaPath:h,params:$,options:Y,id:D});if(L){if(!(L instanceof Response))throw new Error("onResponse: must return new Response() when modifying the response");W=L}}}}const V=W.headers.get("Content-Length");if(W.status===204||N.method==="HEAD"||V==="0"&&!W.headers.get("Transfer-Encoding")?.includes("chunked"))return W.ok?{data:void 0,response:W}:{error:void 0,response:W};if(W.ok)return{data:await(async()=>{if(x==="stream")return W.body;if(x==="json"&&!V){const J=await W.text();return J?JSON.parse(J):void 0}return await W[x]()})(),response:W};let K=await W.text();try{K=JSON.parse(K)}catch{}return{error:K,response:W}}return{request(h,b,g){return p(b,{...g,method:h.toUpperCase()})},GET(h,b){return p(h,{...b,method:"GET"})},PUT(h,b){return p(h,{...b,method:"PUT"})},POST(h,b){return p(h,{...b,method:"POST"})},DELETE(h,b){return p(h,{...b,method:"DELETE"})},OPTIONS(h,b){return p(h,{...b,method:"OPTIONS"})},HEAD(h,b){return p(h,{...b,method:"HEAD"})},PATCH(h,b){return p(h,{...b,method:"PATCH"})},TRACE(h,b){return p(h,{...b,method:"TRACE"})},use(...h){for(const b of h)if(b){if(typeof b!="object"||!("onRequest"in b||"onResponse"in b||"onError"in b))throw new Error("Middleware must be an object with one of `onRequest()`, `onResponse() or `onError()`");d.push(b)}},eject(...h){for(const b of h){const g=d.indexOf(b);g!==-1&&d.splice(g,1)}}}}function _i(t,e,n){if(e==null)return"";if(typeof e=="object")throw new Error("Deeply-nested arrays/objects aren’t supported. Provide your own `querySerializer()` to handle these.");return`${t}=${n?.allowReserved===!0?e:encodeURIComponent(e)}`}function cp(t,e,n){if(!e||typeof e!="object")return"";const r=[],i={simple:",",label:".",matrix:";"}[n.style]||"&";if(n.style!=="deepObject"&&n.explode===!1){for(const a in e)r.push(a,n.allowReserved===!0?e[a]:encodeURIComponent(e[a]));const o=r.join(",");switch(n.style){case"form":return`${t}=${o}`;case"label":return`.${o}`;case"matrix":return`;${t}=${o}`;default:return o}}for(const o in e){const a=n.style==="deepObject"?`${t}[${o}]`:o;r.push(_i(a,e[o],n))}const s=r.join(i);return n.style==="label"||n.style==="matrix"?`${i}${s}`:s}function up(t,e,n){if(!Array.isArray(e))return"";if(n.explode===!1){const s={form:",",spaceDelimited:"%20",pipeDelimited:"|"}[n.style]||",",o=(n.allowReserved===!0?e:e.map(a=>encodeURIComponent(a))).join(s);switch(n.style){case"simple":return o;case"label":return`.${o}`;case"matrix":return`;${t}=${o}`;default:return`${t}=${o}`}}const r={simple:",",label:".",matrix:";"}[n.style]||"&",i=[];for(const s of e)n.style==="simple"||n.style==="label"?i.push(n.allowReserved===!0?s:encodeURIComponent(s)):i.push(_i(t,s,n));return n.style==="label"||n.style==="matrix"?`${r}${i.join(r)}`:i.join(r)}function pc(t){return function(n){const r=[];if(n&&typeof n=="object")for(const i in n){const s=n[i];if(s!=null){if(Array.isArray(s)){if(s.length===0)continue;r.push(up(i,s,{style:"form",explode:!0,...t?.array,allowReserved:t?.allowReserved||!1}));continue}if(typeof s=="object"){r.push(cp(i,s,{style:"deepObject",explode:!0,...t?.object,allowReserved:t?.allowReserved||!1}));continue}r.push(_i(i,s,t))}}return r.join("&")}}function cv(t,e){let n=t;for(const r of t.match(ov)??[]){let i=r.substring(1,r.length-1),s=!1,o="simple";if(i.endsWith("*")&&(s=!0,i=i.substring(0,i.length-1)),i.startsWith(".")?(o="label",i=i.substring(1)):i.startsWith(";")&&(o="matrix",i=i.substring(1)),!e||e[i]===void 0||e[i]===null)continue;const a=e[i];if(Array.isArray(a)){n=n.replace(r,up(i,a,{style:o,explode:s}));continue}if(typeof a=="object"){n=n.replace(r,cp(i,a,{style:o,explode:s}));continue}if(o==="matrix"){n=n.replace(r,`;${_i(i,a)}`);continue}n=n.replace(r,o==="label"?`.${encodeURIComponent(a)}`:encodeURIComponent(a))}return n}function uv(t,e){return t instanceof FormData?t:e&&(e.get instanceof Function?e.get("Content-Type")??e.get("content-type"):e["Content-Type"]??e["content-type"])==="application/x-www-form-urlencoded"?new URLSearchParams(t).toString():JSON.stringify(t)}function dv(t,e){let n=`${e.baseUrl}${t}`;e.params?.path&&(n=e.pathSerializer(n,e.params.path));let r=e.querySerializer(e.params.query??{});return r.startsWith("?")&&(r=r.substring(1)),r&&(n+=`?${r}`),n}function hc(...t){const e=new Headers;for(const n of t){if(!n||typeof n!="object")continue;const r=n instanceof Headers?n.entries():Object.entries(n);for(const[i,s]of r)if(s===null)e.delete(i);else if(Array.isArray(s))for(const o of s)e.append(i,o);else s!==void 0&&e.set(i,s)}return e}function mc(t){return t.endsWith("/")?t.substring(0,t.length-1):t}const dp=t=>t==="succeeded"||t==="failed";async function fv(t){const e=new TextEncoder().encode(t),n=globalThis.crypto?.subtle;return[...n?new Uint8Array(await n.digest("SHA-256",e)):hv(e)].map(i=>i.toString(16).padStart(2,"0")).join("")}const pv=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function hv(t){const e=t.length,n=new Uint8Array(Math.ceil((e+9)/64)*64);n.set(t),n[e]=128;const r=new DataView(n.buffer);r.setUint32(n.length-8,Math.floor(e*8/4294967296)),r.setUint32(n.length-4,e*8>>>0);const i=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],s=new Uint32Array(64),o=(c,d)=>c>>>d|c<<32-d;for(let c=0;c>>3,E=o(s[$-2],17)^o(s[$-2],19)^s[$-2]>>>10;s[$]=s[$-16]+x+s[$-7]+E>>>0}let[d,p,h,b,g,v,m,y]=i;for(let $=0;$<64;$++){const x=y+(o(g,6)^o(g,11)^o(g,25))+(g&v^~g&m)+pv[$]+s[$]>>>0,E=(o(d,2)^o(d,13)^o(d,22))+(d&p^d&h^p&h)>>>0;y=m,m=v,v=g,g=b+x>>>0,b=h,h=p,p=d,d=x+E>>>0}i[0]=i[0]+d>>>0,i[1]=i[1]+p>>>0,i[2]=i[2]+h>>>0,i[3]=i[3]+b>>>0,i[4]=i[4]+g>>>0,i[5]=i[5]+v>>>0,i[6]=i[6]+m>>>0,i[7]=i[7]+y>>>0}const a=new Uint8Array(32),l=new DataView(a.buffer);return i.forEach((c,d)=>l.setUint32(d*4,c)),a}function mv(){if(typeof crypto.randomUUID=="function")return crypto.randomUUID();const t=crypto.getRandomValues(new Uint8Array(16));t[6]=t[6]&15|64,t[8]=t[8]&63|128;const e=[...t].map(n=>n.toString(16).padStart(2,"0")).join("");return`${e.slice(0,8)}-${e.slice(8,12)}-${e.slice(12,16)}-${e.slice(16,20)}-${e.slice(20)}`}async function bv(t,e,n,r){n?.throwIfAborted();const i=t.getReader(),s=new TextDecoder;let o="",a="",l,c=[];const d=h=>{if(h===""){e({id:l,event:a||"message",data:c.join(`
-`)}),a="",l=void 0,c=[];return}if(h.startsWith(":"))return;const b=h.indexOf(":"),g=b<0?h:h.slice(0,b);let v=b<0?"":h.slice(b+1);v.startsWith(" ")&&(v=v.slice(1)),g==="event"&&(a=v),g==="data"&&c.push(v),g==="id"&&!v.includes("\0")&&(l=v)},p=()=>{i.cancel(n?.reason).catch(()=>{})};n?.addEventListener("abort",p,{once:!0});try{for(;;){const{value:h,done:b}=await i.read();n?.throwIfAborted(),r?.(),o+=s.decode(h,{stream:!b});let g=0;for(let v=0;v{}),i.releaseLock()}}function qn(t,e){return e?.throwIfAborted(),new Promise((n,r)=>{const i=()=>{clearTimeout(s),r(e?.reason)},s=setTimeout(()=>{e?.removeEventListener("abort",i),n()},Math.max(1,t)*1e3);e?.addEventListener("abort",i,{once:!0})})}const gv=3,Ys=new Set,Js=new Set;let fp=null;function bc(){fp=[...Ys].reduce((t,e)=>t&&t.until>=e.until?t:e,null),Js.forEach(t=>t())}const yv=()=>fp;function vv(t){return Js.add(t),()=>void Js.delete(t)}async function $v(t,e,n){if(e<=gv)return qn(e,n);const r={status:t,until:Date.now()+e*1e3};Ys.add(r),bc();try{await qn(e,n)}finally{Ys.delete(r),bc()}}const H$=["tproxy_port","tproxy_port_protect","pprof_port","so_mark_from_dae","log_level","log_file","disable_waiting_network","lan_interface","wan_interface","auto_config_kernel_parameter","data_dir","store_subscribe","tcp_check_url","tcp_check_http_method","udp_check_dns","check_interval","check_tolerance","dial_mode","nfqueue_enable","allow_insecure","sniffing_timeout","tls_implementation","utls_imitate","tls_fragment","tls_fragment_length","tls_fragment_interval","mptcp","bootstrap_resolver","fallback_resolver","bandwidth_max_tx","bandwidth_max_rx","udp_warm_node_count","preconnect_node_count","max_concurrent_dials"],xv={select:"selector",fixed:"selector",urltest:"urltest",min_moving_avg:"urltest",min_avg10:"urltest",min_last_delay:"urltest",fallback:"fallback",roundrobin:"loadbalance",loadbalance:"loadbalance",random:"random",score:"score"};function V$(t){return xv[t.toLowerCase().replace(/\(.*$/,"")]}const U$=["select","urltest","roundrobin","fallback","score","fixed","min_moving_avg","min_avg10","min_last_delay","loadbalance"],q$=[{id:"min_moving_avg",label:"policy.kind.urltest",description:"arrange.policy.fastestHint"},{id:"score",label:"policy.kind.score",description:"arrange.policy.scoreHint"},{id:"fallback",label:"policy.kind.fallback",description:"arrange.policy.fallbackHint"},{id:"roundrobin",label:"arrange.policy.spread",description:"arrange.policy.spreadHint"},{id:"select",label:"policy.kind.selector",description:"arrange.policy.manualHint"}],si=["direct","block"],z$=[...si,...si.map(t=>`${t}(must)`)],Cn=t=>t!=null&&si.includes(t);function W$(t){if(new TextEncoder().encode(t).length>2048||/[\s,]/.test(t)||!/^https?:\/\/[^/?#@]+(?:[/?#]|$)/i.test(t))return!1;try{return!!new URL(t).hostname}catch{return!1}}const wv={warm:0,unknown:1,mixed:2,cold:3},Ev={http_headers:0,http_round_trip:1,quic_handshake:2,tcp_connect:3,mixed:4,unknown:5,dns_round_trip:6};function Sv(t){const e=i=>(wv[i.warmth]??1)*10+(Ev[i.measurement]??5),n=t.filter(i=>i.transport==="tcp"&&i.purpose==="data"),r=Math.min(...n.map(e));return Pv(n.filter(i=>e(i)===r))}function Pv(t){const e=[...t].sort((n,r)=>(n.ip_version==="ipv4"?0:1)-(r.ip_version==="ipv4"?0:1));return e.find(n=>n.state==="healthy"&&n.latency_ms!=null)??e.find(n=>n.state==="healthy")??e.find(n=>n.state==="unavailable")??e[0]}const kv=t=>Sv(t.health),Cv=t=>t?.state==="healthy"&&t.latency_ms!=null?t.latency_ms:void 0,Tv=(t,e)=>(t??1/0)-(e??1/0)||0;function Rv(t){const e=t?Vs(...t.outbounds.map(r=>r.download_bytes)):null,n=(t?.outbounds??[]).map(r=>({name:r.name,kind:r.kind,bytes:Ae(r.download_bytes),percent:qf(r.download_bytes,e)}));return n.sort((r,i)=>r.bytes===i.bytes?0:r.bytes===null?1:i.bytes===null||r.bytes>i.bytes?-1:1),{rows:n,total:e}}function G$(t){return t.type!=="A"&&t.type!=="AAAA"?null:(t.answers??[]).find(e=>e.type===t.type)?.data??null}function Mv(t){const e=t.trim().replace(/^\[([^\]]+)\]$/,"$1");if(/^(?:0|[1-9]\d{0,2})(?:\.(?:0|[1-9]\d{0,2})){3}$/.test(e)&&e.split(".").every(n=>Number(n)<=255))return e;if(!(!e.includes(":")||!/^[\da-f:.]+$/i.test(e)))try{return new URL("http://["+e+"]/").hostname.slice(1,-1)}catch{return}}const Nv=t=>Cn(t.protocol)?"builtin":"unattributed";function Lv(t,e){let n=t;for(;e.some(r=>r.id===n);)n+="-";return n}const Iv=(t,e)=>t.provider_id??Lv(Nv(t),e);function pp(t){if(t)return Mv(t.startsWith("[")?t.slice(1,t.indexOf("]")):t.split(":").length===2?t.split(":")[0]:t)}const Y$=t=>t?.match(/^(?:\[[^\]]+\]|[^:]+):(\d+)$/)?.[1];function xa(t,e){return t==="direct"?e("ui.direct"):t==="block"?e("ui.block"):t===null||t==="unknown"?e("ui.unknown"):t}const jv=(t,e)=>t.map(n=>e?.get(n)??n);function Dv(t,e,n){return Cn(t.outbound)?e?xa(t.outbound,e):t.outbound:jv(t.chain,n).join(" → ")||"—"}function J$(t,e,n){if(Cn(t.outbound))return xa(t.outbound,e);const r=t.chain.at(-1);return r?n?.get(r)??r:t.outbound&&t.outbound!=="unknown"?t.outbound:"—"}const X$=(t,e,n)=>t.chain.length>1?Dv(t,e,n):null,Kv={starting:"lifecycle.starting",running:"lifecycle.running",reloading:"lifecycle.reloading",suspended:"lifecycle.suspended",draining:"lifecycle.draining",degraded:"lifecycle.degraded",failed:"lifecycle.failed"},_v=t=>t==="running"?"ok":t==="failed"?"err":"warn",Z$=t=>t>90?"err":t>75?"warn":"ok",Q$=t=>t.closed?t.skipped?"info":"positive":"negative",ex={observed:"conn.state.observed",routing:"conn.state.routing",dialing:"conn.state.dialing",active:"conn.state.active",closed:"conn.state.closed",blocked:"conn.state.blocked",failed:"conn.state.failed",unknown:"conn.state.unknown"};function Fv(t){return t?[...t.tcp.map(e=>({...e,network:"tcp"})),...t.udp.map(e=>({...e,network:"udp"}))]:[]}const hp=["stream.ready","runtime.updated","flow.updated","flow.gap","operation.updated","generation.changed"],Av={"stream.ready":"event.k.streamReady","runtime.updated":"event.k.runtimeUpdated","flow.updated":"event.k.flowUpdated","flow.gap":"event.k.flowGap","operation.updated":"event.k.operationUpdated","generation.changed":"event.k.generationChanged"};function Ov(t){if(t.event!=="flow.gap")return!1;const{reason:e}=t.data;return e==="evicted"||e==="sampled"||e==="buffer_overflow"}const gc={buffer_overflow:"event.gap.overflow",sampled:"event.gap.sampled",evicted:"event.gap.evicted",recording_changed:"event.gap.recording"};function Bv(t){const e=Ae(t);return e===null?t??"—":e<=BigInt(Number.MAX_SAFE_INTEGER)?Number(e):Pn(e,_e[Sn()])}function Hv(t,e){switch(t.event){case"stream.ready":return{key:"event.resource",params:{resource:t.data.instance_id}};case"runtime.updated":return{key:"event.resource",params:{resource:t.data.href}};case"flow.updated":return{key:"event.flow",params:{resourceId:t.data.resource_id,revision:String(t.data.revision)}};case"operation.updated":{const n=t.data.status,r=n==="running"||n==="succeeded"||n==="failed"?`ov.${n}`:null;return{key:"event.operation",params:{resourceId:t.data.resource_id,status:e&&r?e(r):n}}}case"generation.changed":return{key:"event.generation",params:{previous:t.data.previous_generation_id,current:t.data.generation_id}};case"flow.gap":{const n=e&&gc[t.data.reason]?e(gc[t.data.reason]):t.data.reason,r=t.data.resource_id;if(Ae(t.data.dropped_records)===0n)return r===null?{key:"event.gapUnscopedNoCount",params:{reason:n}}:{key:"event.gapNoCount",params:{reason:n,resourceId:r}};const i={reason:n,n:Bv(t.data.dropped_records)};return r===null?{key:"event.gapUnscoped",params:i}:{key:"event.gap",params:{...i,resourceId:r}}}default:{const n=t.data;return{key:"event.resource",params:{resource:[n?.resource_id,n?.href].find(i=>typeof i=="string")??"—"}}}}}const Vv=t=>/^[0-9a-f]{8}-[0-9a-f]{4}-/i.test(t)?t.slice(0,8):t;function tx(t,e,n,r,i){const s=[],o=new Set;let a=n.get(t);for(;a&&!o.has(a.id);){o.add(a.id),s.push(a);const l=e==="udp"?a.selection.udp_member_id:a.selection.tcp_member_id;if(!l)return{groups:s,member:null,node:null};const c=r.get(l);if(!c)return{groups:s,member:l,node:i.get(l)??null};a=c}return{groups:s,member:null,node:null}}const nx={fixed:"policy.kind.fixed",selector:"policy.kind.selector",urltest:"policy.kind.urltest",loadbalance:"policy.kind.loadbalance",fallback:"policy.kind.fallback",random:"policy.kind.random",score:"policy.kind.score"},rx={trace:"log.level.trace",debug:"log.level.debug",info:"log.level.info",warn:"log.level.warn",error:"log.level.error"},Xs={reload:"ov.reload",suspend:"ov.suspend",resume:"ov.resume"},Uv=["config","config_validate","runtime","runtime_memory","runtime_outbounds","traffic_history","memory_history","datapath","nodes","providers","groups","probes","connections","flows","routing_trace","rules","dns_rules","events","logs","dns_query","dns_cache","dns_log","runtime_settings","geodata","operations","reload","suspend","resume"];function qv(t){const e={...t.resources},n=Uv.filter(r=>!e[r]||typeof e[r]!="object");for(const r of n)e[r]={available:!1};return{...t,resources:e,unreported:n}}function Ye(t,e,{whileLoading:n}){return t?t[e].available===!0:n}const Ar=t=>Math.max(1,Number(t.headers.get("Retry-After"))||1);function mp(t){if(t.data===void 0)throw kn(t.response.status,"empty_response","Response has no JSON body","ui.errNoJson");return t.data}function mt(t){return{...mp(t),retryAfter:Ar(t.response)}}const zv=3,Wv=["/dns/query","/config/validate","/routing/trace"],bp=15,Gv=2.5,Yv=1e4,Jv=t=>Math.max(Yv,(Number.isFinite(t)&&t>0?t:bp)*Gv*1e3);function Xv(t,e,n=ri()){const r=t.replace(/\/+$/,""),i=m=>{const y=mp(m);return n.note(y?.observed_at),y},s=m=>{const y=i(m);return"operation_id"in y?mt({data:y,response:m.response}):y},o={Accept:"application/json"};e&&(o.Authorization="Bearer "+e);const a={baseUrl:r,headers:o,cache:"no-store",fetch:async m=>{const{pathname:y}=new URL(m.url),$=Wv.some(R=>y.endsWith(R)),x=m.method!=="GET"&&!$;if(!(m.headers.has("Idempotency-Key")||$))return ss(m,void 0,x);for(let R=0;;R++){const k=await ss(m.clone(),void 0,x);if(k.status!==503&&k.status!==429||R>=zv)return k;const S=await Rr(k.clone());if(!S.transient)return k;await k.body?.cancel(),await $v(k.status,S.retryAfter,m.signal)}}},l={onResponse:async({response:m})=>{if(!m.ok)throw await Rr(m);return m}},c=fc(a);c.use(l);const d=fc(a);d.use({onRequest:({request:m})=>m.headers.set("Idempotency-Key",mv())},l);const p=m=>{const y=new URL(r+"/",globalThis.location?.href),$=new URL(m.replace(/^\/+/,""),y);if($.origin!==y.origin)throw kn(0,"invalid_location","Operation URL has a different origin","ui.errOtherOrigin");return $};async function h(m,y){let $=m.retryAfter,x=0;const E=p(m.href);for(;;){await qn($,y);let R;try{R=await ss(E,{headers:o,cache:"no-store",signal:y}),x=0}catch(S){if(y?.aborted||++x>3)throw S;$=Math.min($*2,30);continue}if(!R.ok){const S=await Rr(R);if(!S.transient)throw S;$=S.retryAfter;continue}const k=await R.json();if(dp(k.status))return k;$=Ar(R)}}async function b(m,y,$,x,E,R,k=bp){let S=y,C=1,M=0;try{for(;!$?.aborted;){x?.(!1);const I=new AbortController,_=()=>I.abort($?.reason);$?.addEventListener("abort",_,{once:!0});let z;const U=()=>{clearTimeout(z),z=setTimeout(()=>I.abort(),Jv(k))};U();try{const T={...o,Accept:"text/event-stream",...S?{"Last-Event-ID":S}:{}},j=await fetch(m,{headers:T,cache:"no-store",signal:I.signal});if(!j.ok){const q=await Rr(j);if(S&&q.status===409&&q.code==="event_cursor_expired"){S=void 0,E?.();continue}throw M=Ar(j),q}if(!j.body)throw kn(j.status,"empty_stream","Response has no event stream","ui.errNoStream");await bv(j.body,q=>{if(q.id!==void 0&&(S=q.id),q.event==="stream.ready"&&(C=1,x?.(!0)),q.data){let D;try{D=JSON.parse(q.data)}catch{return}R(q.event,D,S??"")}},I.signal,U),x?.(!1),await qn(Ar(j),$)}catch(T){if($?.aborted||T instanceof me&&T.status>=400&&T.status<500&&T.status!==429)throw T;x?.(!1),await qn(Math.max(C,M),$),M=0,C=Math.min(C*2,30)}finally{clearTimeout(z),$?.removeEventListener("abort",_)}}}catch(I){if(!$?.aborted)throw I}finally{x?.(!1)}}function g({kinds:m,lastEventId:y,heartbeatSeconds:$,signal:x,onEvent:E,onConnectionChange:R,onCursorExpired:k}){const S=new URL(r+"/api/v1/events",globalThis.location?.href);return m?.length&&S.searchParams.set("kinds",m.join(",")),b(S,y,x,R,k,(C,M,I)=>{if(hp.includes(C))E({id:I,event:C,data:M});else if(typeof M=="object"&&M!==null&&!Array.isArray(M)){const _=M.observed_at;E({id:I,event:C,data:{...M,observed_at:typeof _=="string"?_:""}})}},$)}function v({level:m,target:y,lastEventId:$,signal:x,onRecord:E,onConnectionChange:R,onCursorExpired:k}){const S=new URL(r+"/api/v1/logs",globalThis.location?.href);return m&&S.searchParams.set("level",m),y&&S.searchParams.set("target",y),b(S,$,x,R,k,(C,M,I)=>{C==="log"&&E({id:I,...M})})}return{discovery:async m=>i(await c.GET("/api",{signal:m})),version:async m=>i(await c.GET("/api/v1/version",{signal:m})),capabilities:async m=>qv(i(await c.GET("/api/v1/capabilities",{signal:m}))),runtime:async m=>i(await c.GET("/api/v1/runtime",{signal:m})),runtimeOutbounds:async m=>i(await c.GET("/api/v1/runtime/outbounds",{signal:m})),trafficHistory:async(m,y)=>i(await c.GET("/api/v1/runtime/traffic/history",{params:{query:m},signal:y})),memoryHistory:async(m,y)=>i(await c.GET("/api/v1/runtime/memory/history",{params:{query:m},signal:y})),datapath:async(m,y)=>i(await c.GET("/api/v1/datapath",{params:{query:{detail:m}},signal:y})),runtimeMemory:async m=>i(await c.GET("/api/v1/runtime/memory",{signal:m})),nodes:async(m,y)=>i(await c.GET("/api/v1/nodes",{params:{query:m},signal:y})),groups:async m=>i(await c.GET("/api/v1/groups",{signal:m})),group:async(m,y)=>i(await c.GET("/api/v1/groups/{group_id}",{params:{path:{group_id:m}},signal:y})),selectGroup:async(m,y,$)=>i(await c.PUT("/api/v1/groups/{group_id}/selection",{params:{path:{group_id:m}},body:y,signal:$})),clearGroupOverride:async(m,y,$)=>i(await c.DELETE("/api/v1/groups/{group_id}/selection",{params:{path:{group_id:m},query:{network:y}},signal:$})),patchGroup:async(m,y,$,x)=>{const E=await d.PATCH("/api/v1/groups/{group_id}/config",{params:{path:{group_id:m},header:{"If-Match":$}},headers:{"Content-Type":"application/json-patch+json"},body:y,signal:x});return s(E)},startProbe:async(m,y)=>mt(await d.POST("/api/v1/probes",{body:m,signal:y})),connections:async(m,y)=>i(await c.GET("/api/v1/connections",{params:{query:m},signal:y})),flows:async(m,y)=>i(await c.GET("/api/v1/flows",{params:{query:m},signal:y})),flow:async(m,y)=>i(await c.GET("/api/v1/flows/{flow_id}",{params:{path:{flow_id:m}},signal:y})),dnsCache:async(m,y)=>i(await c.GET("/api/v1/dns/cache",{params:{query:m},signal:y})),dnsLog:async(m,y)=>i(await c.GET("/api/v1/dns/log",{params:{query:m},signal:y})),dnsQuery:async(m,y,$)=>i(await c.POST("/api/v1/dns/query",{params:{query:{detail:"full"}},body:{domain:m,type:y,cache_mode:"normal"},signal:$})),closeConnection:async(m,y)=>{await c.DELETE("/api/v1/connections/{connection_id}",{params:{path:{connection_id:m}},signal:y})},closeConnections:async(m,y)=>i(await c.DELETE("/api/v1/connections",{params:{query:m},signal:y})),runtimeSettings:async m=>i(await c.GET("/api/v1/runtime/settings",{signal:m})),providers:async(m,y)=>i(await c.GET("/api/v1/providers",{params:{query:m},signal:y})),refreshProvider:async(m,y)=>mt(await d.POST("/api/v1/providers/{provider_id}/refresh",{params:{path:{provider_id:m}},signal:y})),createProvider:async(m,y)=>s(await c.POST("/api/v1/providers",{body:m,signal:y})),deleteProvider:async(m,y)=>s(await c.DELETE("/api/v1/providers/{provider_id}",{params:{path:{provider_id:m}},signal:y})),createNode:async(m,y)=>s(await c.POST("/api/v1/nodes",{body:m,signal:y})),deleteNode:async(m,y)=>s(await c.DELETE("/api/v1/nodes/{node_id}",{params:{path:{node_id:m}},signal:y})),geodata:async m=>i(await c.GET("/api/v1/geodata",{signal:m})),rules:async m=>i(await c.GET("/api/v1/rules",{signal:m})),dnsRules:async m=>i(await c.GET("/api/v1/dns/rules",{signal:m})),updateGeodata:async m=>mt(await d.POST("/api/v1/geodata/update",{signal:m})),config:async m=>i(await c.GET("/api/v1/config",{signal:m})),validateConfig:async(m,y)=>i(await c.POST("/api/v1/config/validate",{body:m,signal:y})),replaceConfigSource:async(m,y,$,x)=>mt(await d.PUT("/api/v1/config/sources/{source_id}",{params:{path:{source_id:m},header:{"If-Match":$}},body:{content:y},signal:x})),createConfigSource:async(m,y,$)=>mt(await d.POST("/api/v1/config/sources",{body:{path:m,content:y},signal:$})),patchRuntimeSettings:async(m,y)=>i(await c.PATCH("/api/v1/runtime/settings",{body:m,signal:y})),deleteDnsEntry:async(m,y)=>i(await c.DELETE("/api/v1/dns/cache/{entry_id}",{params:{path:{entry_id:m}},signal:y})),flushDnsCache:async m=>i(await c.POST("/api/v1/dns/cache/flush",{body:{},signal:m})),routingTrace:async(m,y)=>i(await c.POST("/api/v1/routing/trace",{body:m,signal:y})),startReload:async m=>mt(await d.POST("/api/v1/operations/reload",{body:{},signal:m})),startSuspend:async m=>mt(await d.POST("/api/v1/operations/suspend",{body:{},signal:m})),startResume:async m=>mt(await d.POST("/api/v1/operations/resume",{body:{},signal:m})),pollOperation:h,subscribeEvents:g,subscribeLogs:v}}const wa=le.session;function Ea(){try{const t=JSON.parse(sessionStorage.getItem(wa)??"null");if(!t||typeof t!="object")return null;const{profileId:e,api:n,token:r,expiresAt:i}=t;return typeof e=="string"&&typeof n=="string"&&typeof r=="string"&&typeof i=="string"?{profileId:e,api:n,token:r,expiresAt:i}:null}catch{return null}}function Zv(t,e,n=Date.now()){const r=Ea();return!r||r.profileId!==t||r.api!==Sa(e)?null:Date.parse(r.expiresAt)>n?r.token:null}function Qv(t,e,n=Date.now()){const r=Ea(),i=r&&r.profileId===t&&r.api===Sa(e)?Date.parse(r.expiresAt):NaN;return i>n?i:1/0}const Sa=t=>{try{return ji(t)}catch{return null}};function ix(t,e,n,r){sessionStorage.setItem(wa,JSON.stringify({profileId:t,api:ji(e),token:n,expiresAt:r})),Di()}function e2(){try{sessionStorage.removeItem(wa),Di()}catch{}}let yc=!1;function sx(t,e){const n=Ea();return n&&n.profileId===t&&n.api===Sa(e)&&(e2(),yc=!0),yc}let Rt,vc="",zn,fs={revision:-1,until:0};typeof window<"u"&&window.addEventListener("storage",Di);async function t2(){const t=sp()?.api;return Ii(t)&&(zn=(await he(async()=>{const{createMockApi:e}=await import("./index-SqqyX_jn.js");return{createMockApi:e}},__vite__mapDeps([13,14,15,16,3]),import.meta.url)).createMockApi),oe()}const n2=()=>zn!==void 0;function oe(){if(Rt&&fs.revision===dc()&&Date.now()import("./index-SqqyX_jn.js"),__vite__mapDeps([13,14,15,16,3]),import.meta.url).then(i=>{zn=i.createMockApi}),Rt;throw new Error("API initialization has not completed")}else{const i=ri();Rt=Xv(e,n??void 0,i),ac(i)}vc=r}return fs={revision:dc(),until:t&&e?Qv(t.id,e):1/0},Rt}const Ct={live:5e3,lists:15e3,summary:2e4,inventory:3e4,background:6e4},sr=1e3;function Fi([t,e]){return JSON.stringify([t,Object.entries(e??{}).filter(([,n])=>n!==void 0).sort(([n],[r])=>nr?1:0)])}class r2{requests=new WeakMap;acquire(e,n,r){let i=this.requests.get(e);i||(i=new Map,this.requests.set(e,i));let s=i.get(n);if(!s){const l=new AbortController,c={controller:l,consumers:0,settled:!1,promise:Promise.resolve().then(()=>r(l.signal)).finally(()=>{c.settled=!0,i.get(n)===c&&i.delete(n)})};i.set(n,c),s=c}const o=s;o.consumers++;let a=!1;return{promise:o.promise,release(){a||(a=!0,--o.consumers===0&&!o.settled&&(i.get(n)===o&&i.delete(n),o.controller.abort()))}}}}const i2=new r2,$c={"stream.ready":{now:"all"},"runtime.updated":{now:["runtime","runtimeOutbounds","trafficHistory","memoryHistory","runtimeMemory","runtimeSettings","capabilities","groups","group","nodes","connections"]},"flow.updated":{now:["flows","flow"]},"flow.gap":{now:["flows","flow"]},"operation.updated":{now:[]},"generation.changed":{now:["capabilities","runtime","runtimeSettings","config","groups","group","nodes","providers","geodata","rules","dnsRules","datapath","flows","flow"]}};function Pa(t,e,n=!1){if(e.event==="stream.ready"&&Array.isArray(n))return n.some(i=>Pa(t,{event:i}));if(!Object.hasOwn($c,e.event)||e.event==="stream.ready"&&!n)return!1;const{now:r}=$c[e.event];return r==="all"||r.includes(t)}const xc=t=>{if(t===null||typeof t!="object")return!1;const e=Object.getPrototypeOf(t);return e===Object.prototype||e===null};function gp(t,e){if(Object.is(t,e))return t;const n=Array.isArray(t)&&Array.isArray(e);if(!n&&!(xc(t)&&xc(e)))return e;const r=t,i=e,s=n?e.map((l,c)=>c):Object.keys(i),o=n?[]:{};let a=n?t.length===s.length:Object.keys(r).length===s.length;for(const l of s)o[l]=gp(r[l],i[l]),(o[l]!==r[l]||!(l in r))&&(a=!1);return a?t:o}const nn=new WeakMap,yp={data:void 0,loading:!0,error:null},s2=6e4,o2=5e3,a2=(t,e)=>nn.get(t)?.active.get(e)?.watcher.refetch();async function ln(){return Promise.all([...nn.get(oe())?.active.values()??[]].map(t=>t.watcher.refetch()))}const l2=(t,e)=>!!nn.get(t)?.active.has(e)||!!nn.get(t)?.inactive.has(e);function ka(t,e){const n=nn.get(t);return n?.active.get(e)?.snapshot??n?.inactive.get(e)??yp}function vp(t){let e=nn.get(t);return e||nn.set(t,e={active:new Map,inactive:new Map,expiry:new Map,parameterised:new Set,retained:new Map}),e}function $p(t,e){!t.inactive.has(e)||t.retained.has(e)||(clearTimeout(t.expiry.get(e)),t.expiry.set(e,setTimeout(()=>Zs(t,e),s2)))}function c2(t,e){const n=vp(t);n.retained.set(e,(n.retained.get(e)??0)+1),clearTimeout(n.expiry.get(e)),n.expiry.delete(e);let r=!1;return()=>{if(r)return;r=!0;const i=n.retained.get(e)-1;i?n.retained.set(e,i):(n.retained.delete(e),$p(n,e))}}function Zs(t,e){clearTimeout(t.expiry.get(e)),t.expiry.delete(e),t.inactive.delete(e),t.parameterised.delete(e)}const Qs=new WeakMap,eo=new Set;function xp(t,e){!(e instanceof me)||e.status!==401||Qs.has(t)||(Qs.set(t,e),eo.forEach(n=>n()))}const u2=t=>Qs.get(t)??null;function d2(){const t=oe(),e=u.useCallback(n=>(eo.add(n),()=>void eo.delete(n)),[]);return u.useSyncExternalStore(e,()=>u2(t))}function wp(t,e,n,r=Fi(e.key)){const i=vp(t);let s=i.active.get(r);if(!s){const l=ka(t,r);Zs(i,r);const c=new Set,d={snapshot:l,subscribers:c,watcher:f2(t,e,l.data,p=>{const{data:h,loading:b,error:g}=d.snapshot;p.data===h&&p.loading===b&&p.error===g||(d.snapshot=p,c.forEach(v=>v()))})};i.active.set(r,s=d)}s.subscribers.add(n);const o=s;let a=!1;return{getSnapshot:()=>o.snapshot,refetch:o.watcher.refetch,invalidate:o.watcher.invalidate,dispose(){if(!a&&(a=!0,o.subscribers.delete(n),!o.subscribers.size&&(o.watcher.dispose(),i.active.delete(r),o.snapshot.data!==void 0&&(i.inactive.set(r,{...o.snapshot,error:null}),$p(i,r),e.key.length>1)))){i.parameterised.add(r);const l=i.parameterised.size>32&&[...i.parameterised].find(c=>!i.retained.has(c));l&&Zs(i,l)}}}}function f2(t,{key:e,fetch:n,every:r=Ct.live,acceptEvent:i,retryErrors:s=!1,events:o},a,l){const c=Fi(e);let d="idle",p,h,b,g,v=!1,m=!1,y=!1,$,x=1/0,E=0,R=-1/0,k=0,S=null,C=5e3;const M=()=>{clearTimeout($),$=void 0,x=1/0},I=()=>Math.max(Date.now()+2e3,R+Math.min(r,o2)),_=V=>{if(V=Math.max(V,E),document.hidden){m=!0,M();return}V>=x||(M(),x=V,$=setTimeout(()=>{M(),document.hidden?m=!0:d==="backoff"?U():T()},Math.max(0,V-Date.now())))},z=V=>{d="idle";const K=b;b=void 0,K?.(V),!v&&(y?_(I()):r>0&&_(Date.now()+r))},U=()=>{d="fetching",R=Date.now(),m=!1,y=!1;const V=i2.acquire(t,c,n);p=V,V.promise.then(K=>{V.release(),!v&&(p=void 0,E=0,C=5e3,a=gp(a,K),S=null,l({data:a,loading:!1,error:null}),z({key:c,ok:!0}))},K=>{if(V.release(),v)return;p=void 0;const O=K instanceof Error?K:new Error(String(K));if(O instanceof me&&O.transient&&(E=Date.now()+O.retryAfter*1e3,++k<=3)){d="backoff",_(E);return}S=O,xp(t,O),l({data:a,loading:!1,error:O}),z({key:c,ok:!1,error:O}),s&&!(O instanceof me&&O.status>=400&&O.status<500&&O.status!==429)&&(E=Math.max(E,Date.now()+C),_(E),C=Math.min(C*2,3e4))})},T=()=>v?Promise.resolve({key:c,ok:!1,error:new DOMException("Resource unsubscribed","AbortError")}):(d!=="idle"||(M(),h&&a===void 0&&Date.now()>=E&&l({data:a,loading:!0,error:S}),k=0,h=new Promise(V=>{b=V}),Date.now()d==="idle"?T():d==="backoff"?h:(g||(g=h.then(()=>(g=void 0,T()))),g),q=V=>{if(d==="fetching")y=!0;else{if(d==="backoff")return;document.hidden?(m=!0,M()):V?T():_(I())}},D=()=>{document.hidden?(m||=$!==void 0,M()):m&&(d==="backoff"?_(E):T())};let Y=!1;const N=()=>{Y&&r>0||(Y=!0,document.hidden?m=!0:T())};document.addEventListener("visibilitychange",D);const W=o?o((V,K)=>{Pa(e[0],V,K)&&(i?.(V)??!0)&&q(K!==!1)},N):(N(),()=>{});return{refetch:j,invalidate:q,dispose(){v=!0,W(),document.removeEventListener("visibilitychange",D),p?.release(),z({key:c,ok:!1,error:new DOMException("Resource unsubscribed","AbortError")}),M()}}}function pt({scope:t,rethrow:e=!1}={}){const n=oe(),[r,i]=u.useState(null),[s,o]=u.useState(null),a=u.useRef(null),l=u.useCallback(()=>{a.current?.abort(),a.current=null,i(null),o(null)},[]);u.useEffect(()=>l,[n,t,l]);const c=u.useCallback(async(d,p)=>{if(a.current)return;const h=new AbortController;a.current=h,i(d),o(null);try{const b=await p(h.signal);return h.signal.aborted?void 0:b}catch(b){if(h.signal.aborted)return;const g=b instanceof Error?b:new Error(String(b));if(o(g),e)throw g;return}finally{a.current===h&&(a.current=null,i(null))}},[e]);return{busy:r,error:s,setError:o,run:c,cancel:l}}async function Bt(t,e,n){try{return await t.pollOperation(e,n)}catch(r){throw!(r instanceof me)||r.status!==404?r:(ln(),new de("ui.operationUnknown"))}}const Ep=t=>'"'+t+'"';function Tt(t,e,{written:n=!1}={}){if(t.status==="succeeded"&&t.kind===e)return t.result;const r=t.error?.details??null;if(t.status==="failed"&&e==="provider_refresh"&&t.kind===e&&r?.committed===!0)return{degraded:!0};if(t.status==="failed"){const s=jn(t.error,{written:n});if(s)throw s}const i=t.status==="failed"&&(typeof r?.written=="boolean"?r.written:n);throw new de(i?"ui.writtenNotApplied":"ui.operationFailed",t.error?.message??null,t.error?.code??null,r)}function jn(t,{written:e=!1}={}){const{code:n,message:r,details:i}=t??{},s=i??null;if(!s||s.committed!==!0&&s.committed!==null)return null;ln();const o=t instanceof me?s.stage:n,a=typeof s.written=="boolean"?s.written:e,l=s.committed===null?"ui.activationUnknown":o==="store_unavailable"?"ui.activationNotSaved":s.durability_confirmed===!1?"ui.activationDegradedUnconfirmed":a?"ui.activationDegradedSaved":"ui.activationDegraded";return new de(l,r??null,n??null,i)}function oi(t,e){const n=t?.resources.probes,r=n?.kinds?.includes("http")?"http":n?.kinds?.includes("tcp_connect")?"tcp_connect":null;if(!n?.available||!r||!n.transports?.includes("tcp")||!n.targets?.includes(e.type))return null;const i=n.ip_versions?.includes("ipv4"),s=n.ip_versions?.includes("ipv6");if(!i&&!s)return null;const o={target:e,kind:r,transport:["tcp"],warmth:"warm",ip_version:i&&s?"any":s?"ipv6":"ipv4"};return e.type==="group"&&(o.members="direct"),o}const xn=new Map,Ca=200,Sp=new WeakSet,p2=t=>Sp.has(t),h2=5e3,m2=["flow.updated","flow.gap"],Pp={connected:!1,cursor:null,error:null,available:null};function b2(t){return xn.get(t)?.status??Pp}function Ta(t,e,{notify:n,replayRecent:r=!1,onBaseline:i}={}){let s=xn.get(t);if(!s){s={listeners:new Set,statuses:new Set,controller:new AbortController,status:Pp,recent:[],baseline:!1,waiters:new Set,demand:0},xn.set(t,s);const o=s,a=x=>{Object.entries(x).every(([E,R])=>o.status[E]===R)||(o.status={...o.status,...x},o.statuses.forEach(E=>E()))},l=()=>{o.baseline||(o.baseline=!0,clearTimeout(d),o.waiters.forEach(x=>x()))};let c;const d=setTimeout(()=>{l(),c=setInterval(()=>o.waiters.forEach(x=>x()),Ct.inventory)},h2);let p=!1,h=!1,b,g,v=!1;const m=x=>{g?.abort();const E=new AbortController;g=E,v=o.demand>0;let R=x!==void 0;t.subscribeEvents({kinds:v?b.resources.events.kinds??hp:void 0,lastEventId:x,heartbeatSeconds:b.resources.events.heartbeat_seconds,signal:E.signal,onConnectionChange:k=>{E.signal.aborted||a({connected:k})},onCursorExpired:()=>{E.signal.aborted||(p=!0)},onEvent:k=>{if(E.signal.aborted)return;let S=!1;k.event==="stream.ready"&&(o.baseline&&(S=R&&!p?m2:!0),R=!1,clearInterval(c),(p||o.ready&&p2(o.ready)&&o.ready.id===k.id)&&Sp.add(k),p=!1,o.ready=k,a({cursor:k.id,error:null}),l()),o.recent.push(k),o.recent.length>Ca&&o.recent.shift(),Pa("capabilities",k,S)&&$.invalidate(S!==!1),o.listeners.forEach(C=>C(k,S))}}).catch(k=>{E.signal.aborted||(g=void 0,h=!1,xp(t,k),a({connected:!1,error:k instanceof Error?k:new Error(String(k))}),l())})},y=()=>{const x=$.getSnapshot();if(x.error?(h=!0,a({error:x.error}),l()):h&&(h=!1,a({error:null})),!x.data||x.data===b)return;const E=x.data.resources.events.available===b?.resources.events.available;b=x.data,!(E&&(g||!b.resources.events.available))&&(g?.abort(),g=void 0,a({available:b.resources.events.available,connected:!1,error:null}),b.resources.events.available?m():l())},$=wp(t,{key:["capabilities"],every:0,retryErrors:!0,fetch:x=>t.capabilities(x)},y);y(),o.reopen=()=>{g||$.getSnapshot().error||(b=void 0,y())},o.retune=()=>queueMicrotask(()=>{g&&!o.controller.signal.aborted&&v!==o.demand>0&&m(o.recent.at(-1)?.id)}),o.controller.signal.addEventListener("abort",()=>{clearTimeout(d),clearInterval(c),$.dispose(),g?.abort()},{once:!0})}return s.listeners.add(e),n&&s.statuses.add(n),i&&(s.waiters.add(i),s.baseline&&i()),r?s.recent.forEach(o=>e(o,!1)):s.ready&&e(s.ready,!1),()=>{s.listeners.delete(e),n&&s.statuses.delete(n),i&&s.waiters.delete(i),s.listeners.size||(s.controller.abort(),xn.delete(t))}}function g2(t){xn.get(t)?.reopen?.()}function kp(t,e=!1){const n=oe(),r=u.useRef(t);u.useEffect(()=>{r.current=t});const i=u.useCallback(o=>Ta(n,(a,l)=>r.current(a,l),{notify:o,replayRecent:e}),[n,e]),s=u.useCallback(()=>b2(n),[n]);return u.useSyncExternalStore(i,s)}function y2(t){const e=Ta(t,()=>{}),n=xn.get(t);n.demand++||n.retune?.();let r=!0;return()=>{r&&(r=!1,--n.demand||n.retune?.(),e())}}const v2=t=>t?.flows.available===!0&&t.events.available&&(t.events.kinds?.some(e=>e==="flow.updated"||e==="flow.gap")??!0);function ox(t){const e=oe(),n=v2(t);u.useEffect(()=>n?y2(e):void 0,[e,n])}const $2={data:void 0,loading:!1,error:null};function Se(t,{enabled:e=!0,pending:n=!1,paused:r=!1}={}){const i=oe(),s=Fi(t.key),o=u.useRef(t);u.useEffect(()=>{o.current=t});const a=u.useCallback(d=>{if(!e)return()=>{};if(r)return c2(i,s);const{followEvents:p=!0,...h}=o.current;return wp(i,{...h,events:p?(g,v)=>Ta(i,g,{onBaseline:v}):void 0},d,s).dispose},[i,s,e,r]),l=u.useCallback(()=>e?ka(i,s):n?yp:$2,[i,s,e,n]),c=u.useCallback(()=>e?a2(i,s):void 0,[i,s,e]);return{...u.useSyncExternalStore(a,l),refetch:c}}async function Cp(t,e){for(let n=0;;n++){let r;try{let i;do{const s=await t(r);i=e(i,s),r=s.next_cursor??void 0}while(r);return i}catch(i){if(n===0&&r!==void 0&&i instanceof me&&(i.status===410||i.status===400&&i.code==="invalid_request"))continue;throw i}}}const x2=(t,e)=>t?Math.min(sr,e??sr):void 0,w2=(t,e,n)=>({enabled:n&&t!==void 0,pending:n&&t===void 0&&!e});function Ra(){const t=oe();return Se({key:["version"],every:0,fetch:e=>t.version(e)})}function E2(t=!0){const e=oe();return Se({key:["runtime"],fetch:n=>e.runtime(n)},{enabled:t})}function S2(t){const e=oe();return Se({key:["runtimeOutbounds"],fetch:n=>e.runtimeOutbounds(n)},{enabled:t})}function P2(t,e){const n=oe(),r=e?.resources.traffic_history,i=Math.min(t,r?.max_window_seconds??600),s=Math.min(600,r?.max_points??600);return Se({key:["trafficHistory",{window_seconds:i,max_points:s}],every:Ct.background,fetch:o=>n.trafficHistory({window_seconds:i,max_points:s},o)},{enabled:r?.available===!0})}function k2(t){const e=oe(),n=t?.resources.memory_history,r=Math.min(600,n?.max_window_seconds??600),i=Math.min(120,n?.max_points??120);return{...Se({key:["memoryHistory",{window_seconds:r,max_points:i}],every:Ct.background,fetch:o=>e.memoryHistory({window_seconds:r,max_points:i},o)},{enabled:n?.available===!0}),windowSeconds:r}}function ze(){const t=oe();return Se({key:["capabilities"],every:0,retryErrors:!0,followEvents:!1,fetch:e=>t.capabilities(e)})}function C2(t=!0){const e=oe();return Se({key:["datapath",{detail:"full"}],fetch:n=>e.datapath("full",n)},{enabled:t})}const T2=(t,e)=>t&&(!e||Date.parse(t.observed_at)>=Date.parse(e.observed_at))?t:e;function ax(t=!0){const e=oe(),n=Se({key:["runtimeSettings"],fetch:c=>e.runtimeSettings(c),acceptEvent:c=>c.event!=="operation.updated"||dp(c.data.status)},{enabled:t}),{refetch:r}=n,{busy:i,run:s}=pt({rethrow:!0}),[o,a]=u.useState(null),l=u.useCallback(c=>s("save",async d=>{const p=await e.patchRuntimeSettings(c,d);return a({api:e,value:p}),r(),p}),[e,s,r]);return{...n,data:T2(o?.api===e?o.value:null,n.data),busy:i!==null,save:l}}function R2(t=!0){const e=oe();return Se({key:["runtimeMemory"],fetch:n=>e.runtimeMemory(n)},{enabled:t})}function M2(t,e,n){const r=oe(),i=pt({rethrow:!0}),{run:s}=i,o=u.useCallback(l=>!!e?.resources.operations.available&&!!e.resources[l].available&&(l==="reload"||t?.lifecycle.state===(l==="suspend"?"running":"suspended")),[t,e]),a=u.useCallback(l=>o(l)?s(l,async c=>{const d=await(l==="reload"?r.startReload:l==="suspend"?r.startSuspend:r.startResume)(c).catch(h=>{throw jn(h)??h}),p=await Bt(r,d,c);return n(),Tt(p,l),p}):Promise.resolve(void 0),[r,s,o,n]);return{busy:i.busy,error:i.error,canRun:o,run:a}}function N2(t=!0){const e=oe();return Se({key:["nodes"],every:Ct.inventory,fetch:n=>Cp(r=>e.nodes({cursor:r,limit:sr},n),(r,i)=>r?(r.push(...i.nodes),r):[...i.nodes])},{enabled:t})}function L2(t=!0){const e=oe(),{data:n,error:r}=ze(),i=x2(n,n?.resources.providers.max_page_size);return Se({key:["providers",{limit:i}],every:Ct.inventory,fetch:s=>Cp(o=>e.providers({cursor:o,limit:i},s),(o,a)=>o?(o.providers.push(...a.providers),o):{...a,providers:[...a.providers]})},w2(n,r,t))}function lx(t){const e=oe(),{busy:n,run:r}=pt({rethrow:!0}),i=u.useCallback(async(a,l)=>{const c=await e.refreshProvider(a,l),d=await Bt(e,c,l);return t(),Tt(d,"provider_refresh")},[e,t]),s=u.useCallback(a=>r(a,l=>i(a,l)),[r,i]),o=u.useCallback((a,l,c)=>r("*",async d=>{let p=0;for(const h of a){if(d.aborted)break;try{"degraded"in await i(h,d)&&c(h),p+=1}catch(b){if(d.aborted)break;l(h,b)}}return p}),[r,i]);return{busy:n,refresh:s,refreshMany:o}}function cx(t){const e=oe(),{busy:n,run:r}=pt({rethrow:!0}),i=u.useCallback(a=>(t(),a),[t]),s=u.useCallback((a,l)=>{throw a instanceof me&&a.status===409&&a.code==="state_conflict"?(t(),l&&!a.details?.groups?new de("config.changedMeanwhile"):a):jn(a)??a},[t]),o=u.useCallback(async(a,l,c)=>{const d=await l.catch(h=>s(h,a.endsWith("_delete"))),p="operation_id"in d?Tt(await Bt(e,d,c),a):d;return i(p)},[e,i,s]);return{busy:n,addProvider:u.useCallback(a=>r("provider",l=>o("provider_create",e.createProvider(a,l),l)),[e,r,o]),removeProvider:u.useCallback(a=>r(a,l=>o("provider_delete",e.deleteProvider(a,l),l)),[e,r,o]),addNode:u.useCallback(a=>r("node",l=>o("node_create",e.createNode(a,l),l)),[e,r,o]),removeNode:u.useCallback(a=>r(a,l=>o("node_delete",e.deleteNode(a,l),l)),[e,r,o])}}function ux(t){const e=oe(),n=ze(),{busy:r,run:i}=pt({rethrow:!0}),s=oi(n.data,{type:"node",node_id:"-"})!==null,o=u.useCallback(a=>{const l=oi(n.data,{type:"node",node_id:a});return l?i(a,async c=>{const d=await e.startProbe(l,c),p=await Bt(e,d,c);return t(),Tt(p,"probe")}):Promise.resolve(void 0)},[e,n.data,i,t]);return{busy:r,canProbe:s,probe:o}}function dx(t=!0){const e=oe(),n=Se({key:["geodata"],every:0,fetch:a=>e.geodata(a)},{enabled:t}),{refetch:r}=n,{busy:i,run:s}=pt({rethrow:!0}),o=u.useCallback(()=>s("update",async a=>{const l=await e.updateGeodata(a),c=await Bt(e,l,a);return r(),Tt(c,"geodata_update")}),[e,s,r]);return{...n,busy:i!==null,update:o}}async function I2(t,e,n,r){const i=oi(e,{type:"group",group_id:n.id}),s=e.resources.probes.limits;if(!i||!s||!n.capabilities.probe_transports.includes("tcp"))throw new de("ui.probeUnsupported");const o=i.transport.length*(i.ip_version==="any"?2:1),a=Math.min(s.max_members_per_job,Math.floor(s.max_results_per_job/o));if(a<1||!n.members.length)throw new de("ui.probeUnsupported");let l;try{for(let c=0;cb.id),p=await t.startProbe({...i,members:d},r),h=Tt(await Bt(t,p,r),"probe");l?(l.results.push(...h.results),l.selection_after=h.selection_after,l.selection_changed.tcp||=h.selection_changed.tcp,l.selection_changed.udp||=h.selection_changed.udp):l=h}}catch(c){throw r.aborted||!l?c:Object.assign(new de("ui.operationFailed"),{cause:c,partialResult:l,completed:new Set(l.results.map(d=>d.member_id)).size,total:n.members.length})}return l}async function j2(t,e,n,r){const i=await t.patchGroup(e.id,n,Ep(e.config_revision),r).catch(s=>{throw jn(s)??s});"operation_id"in i&&Tt(await Bt(t,i,r),"group_update",{written:!0})}function D2(t,e){const n=e?.resources.groups,r=!!n&&n.selection!==!1,i=!!n&&n.config_patch!==!1;if(r&&i)return t;const{can_select:s,can_override:o,mutable_config:a}=t.capabilities;return{...t,capabilities:{...t.capabilities,can_select:r&&s,can_override:r&&o,mutable_config:i?a:[]}}}function K2(t=!0,e=Ct.inventory){const n=oe();return Se({key:["groups"],every:e,fetch:r=>n.groups(r)},{enabled:t})}function fx(t,e,n,r=!1){const i=oe(),s=ze().data,o=Se({key:["group",{id:t}],every:Ct.inventory,fetch:$=>i.group(t,$)},{paused:r}),{refetch:a}=o,l=u.useMemo(()=>o.data&&D2(o.data,s),[o.data,s]),[c,d]=u.useState("both"),p=pt({scope:t}),{run:h}=p,b=u.useCallback(async($,x)=>{const E=await h($,x);return E!==void 0&&(a(),e(),n()),E},[h,a,e,n]),g=oi(s,{type:"group",group_id:t}),v=s?.resources.probes.limits,m=g!==null&&!!v&&v.max_members_per_job>0&&v.max_results_per_job>=(g.ip_version==="any"?2:1)&&!!o.data?.members.length&&o.data.capabilities.probe_transports.includes("tcp"),y=u.useCallback($=>b("config",async x=>{if(!o.data)throw new de("ui.groupNotLoaded");try{await j2(i,o.data,$,x)}catch(E){throw E instanceof me&&(E.status===409||E.status===412)&&a(),E}return!0}),[i,o.data,b,a]);return{...o,data:l,actionError:p.error,network:c,setNetwork:d,busy:p.busy,canProbe:m,select:u.useCallback($=>b("selection",x=>i.selectGroup(t,{member_id:$,network:c},x)),[i,t,c,b]),clearOverride:u.useCallback(()=>b("selection",$=>i.clearGroupOverride(t,c,$)),[i,t,c,b]),probe:u.useCallback(()=>b("probe",async $=>{if(!s||!o.data||!m)throw new de("ui.probeUnsupported");try{return await I2(i,s,o.data,$)}catch(x){throw $.aborted||(a(),e(),n()),x}}),[i,s,o.data,m,b,a,e,n]),patchConfig:y,setInterrupt:u.useCallback($=>y([{op:"replace",path:"/config/interrupt_connections",value:$||o.data?.config.interrupt_connections!==null?$:null}]),[y,o.data])}}const wc=new WeakMap;function _2(t,e,n){const r=["connections",{src:e}],i=Fi(r);return{key:r,every:n,fetch:async s=>{const o=await t.connections({type:"all",detail:"full",limit:sr,src:e},s);let a=wc.get(t);a||wc.set(t,a=new Map);for(const d of a.keys())d!==i&&!l2(t,d)&&a.delete(d);ka(t,i).data===void 0&&a.delete(i);const{list:l,baseline:c}=B2(a.get(i),o);return a.set(i,c),l}}}function F2(t,e=!0,n=!1,r){return Se(_2(oe(),t,r),{enabled:e,paused:n})}const A2=1e3,O2=["upload","download"];function B2(t,e){const n=t?.instance_id===e.instance_id?t:void 0,r=n?Date.parse(e.observed_at)-Date.parse(n.observed_at):NaN,i=r[l.id,l]):[]),o=l=>{const c=s.get(l.id);let d=l;for(const p of O2){const h=`${p}_bytes_per_second`;if(l[h]!==null)continue;let b=null;if(c&&i)b=c[h];else if(c){const g=Ae(c[`${p}_bytes`]),v=Ae(l[`${p}_bytes`]);g!==null&&v!==null&&v>=g&&(b=String((v-g)*1000n/BigInt(r)))}b!==null&&(d={...d,[h]:b})}return d},a={...e,tcp:e.tcp.map(o),udp:e.udp.map(o)};return{list:a,baseline:n&&i?n:a}}const Tp=t=>t instanceof me&&t.status===413,ps=(t,e)=>{t.closed+=e.closed,t.skipped+=e.skipped};async function Rp(t,e,n){const r={closed:0,skipped:0};for(const i of e)try{await t.closeConnection(i,n),r.closed+=1}catch(s){if(s instanceof me&&(s.status===409||s.status===404))r.skipped+=1;else throw s}return r}async function to(t,e,n){const r=e.type??"all";let i=0;for(;;){const s={closed:0,skipped:0};try{return ps(s,await t.closeConnections(e,n)),{closed:i+s.closed,skipped:s.skipped}}catch(c){if(!Tp(c))throw c}if(r==="all"){for(const c of["tcp","udp"])ps(s,await to(t,{...e,type:c},n));return{closed:i+s.closed,skipped:s.skipped}}const o=await t.connections({type:r,src:e.src,detail:"full",limit:sr},n),a=o[r],l=new Map;for(const c of a){const d=e.src??pp(c.src??void 0);l.set(d,(l.get(d)??[]).concat(c.id))}for(const[c,d]of l)ps(s,c&&!e.src?await to(t,{type:r,src:c},n):await Rp(t,d,n));if(i+=s.closed,!s.closed)return{closed:i,skipped:r==="tcp"?o.total_tcp:o.total_udp}}}function px(t=!0){const e=oe();return Se({key:["connections",{totals:!0}],fetch:n=>e.connections({type:"all",detail:"summary",limit:1},n)},{enabled:t})}function hx(t){const e=oe(),{busy:n,run:r,cancel:i}=pt({rethrow:!0}),s=u.useCallback(o=>r("all",async a=>{try{if(o.query&&!o.ids.length)return await to(e,o.query,a);if(o.query)try{return await e.closeConnections(o.query,a)}catch(l){if(!Tp(l))throw l}return await Rp(e,o.ids,a)}finally{t()}}),[e,r,t]);return{busy:n,cancel:i,close:u.useCallback(o=>r(o,async a=>(await e.closeConnection(o,a),t(),!0)),[e,r,t]),closeAll:s}}const Ma=t=>/^[\w.-]+$/.test(t);function Ai(t){if(t.includes("'")||/[\r\n]|(^|[^\\])(?:\\\\)*\\$/.test(t))throw new de("config.unquotable");return`'${t}'`}function Mp(t){try{return Ai(t),!0}catch{return!1}}function Ce(t){const e=[],n=[],r=[];let i=0,s=0;for(let o=0;o")o+=2;else for(;o");)o++;const p={from:l,to:o,line:c,kind:d,depth:r.length,parens:s};if(d==="symbol"&&a==="{"){let h=e.length-1;for(;h>=0&&(e[h].kind==="comment"||t.slice(e[h].from,e[h].to)===":");)h--;const b=e[h],g={name:b?ht(t.slice(b.from,b.to)):"",from:b?.from??l,open:l,close:t.length,to:t.length,line:b?.line??i,endLine:i,depth:r.length,children:[]};(r.at(-1)?.children??n).push(g),r.push(g)}else if(d==="symbol"&&a==="}"){const h=r.pop();h&&(h.close=l,h.to=o,h.endLine=i)}else d==="symbol"&&a==="("?s++:d==="symbol"&&a===")"&&(s=Math.max(0,s-1));e.push(p)}return{blocks:n,tokens:e}}function H2(t){if(/[\r\n]/.test(t))return!1;let e=0;for(const n of Ce(t).tokens){if(n.kind==="comment")return!1;if(n.kind==="quoted")continue;const r=t.slice(n.from,n.to);if(r.includes("{")||r.includes("}")||(r==="("&&e++,r===")"&&--e<0))return!1}return e===0}const ht=t=>/^['"]/.test(t)?t.slice(1,-1):t;function Np(t){const e=Ce(t).tokens.filter(n=>n.kind==="comment");for(const n of e.reverse())t=t.slice(0,n.from)+t.slice(n.to);return t}function Na(t,e,n){const r=[];let i;for(let s=0;s=e.close)continue;const a=t.slice(o.from,o.to);if(o.parens===0&&(o.kind==="comment"||i&&t.slice(i.valueTo,o.from).includes(`
-`))&&(i=void 0),o.depth!==e.depth+1||o.kind==="comment")continue;const l=n[s+1];o.parens===0&&(o.kind==="text"||o.kind==="quoted")&&l&&t.slice(l.from,l.to)===":"?(i={name:ht(a),from:o.from,to:l.to,valueFrom:l.to,valueTo:l.to,value:""},r.push(i),s++):i&&(i.to=o.to,i.valueTo=o.to)}for(const s of r)s.value=t.slice(s.valueFrom,s.valueTo).trim();return r}function V2(t,e){const n=t.slice(e.open+1,e.close);return e.line===e.endLine?[n]:n.replace(/^[^\S\n]*\n/,"").replace(/\n[^\S\n]*$/,"").split(`
-`)}function mx(t,e){const n=[];let r=e.open+1;/^[^\S\n]*\n/.test(t.slice(r,e.close))&&(r=t.indexOf(`
-`,r)+1);const i=t.lastIndexOf(`
-`,e.close-1)+1,s=i>r&&/^[ \t]*$/.test(t.slice(i,e.close))?i-1:e.close;for(;r<=s;){const o=t.indexOf(`
-`,r);let a=o===-1?s:Math.min(o,s);const l=e.children.find(c=>c.from>=r&&c.from<=a);if(l){const c=t.indexOf(`
-`,l.to);a=c===-1?s:Math.min(c,s)}n.push({from:r,to:a,block:l}),r=a+1}return n}function U2(t){const{blocks:e}=Ce(t);return e.filter(n=>n.name==="include").flatMap(n=>V2(t,n).map(r=>ht(Np(r).trim()))).filter(Boolean)}const Ec=t=>/[*?]/.test(t);function q2(t,e){const n=t.replace(/^\.\//,"").split(/([*?])/).map(r=>r==="*"?"[^/]*":r==="?"?"[^/]":r.replace(/[.+^${}()|[\]\\]/g,"\\$&")).join("");return new RegExp("^"+n+"$").test(e)}const z2=(t,e)=>t.some(n=>q2(n,e));function Sc(t,e){const n=e.startsWith("/")?e:(t??"").slice(0,(t??"").lastIndexOf("/")+1)+e,r=[];for(const i of n.split("/"))i===".."?r.pop():i&&i!=="."&&r.push(i);return"/"+r.join("/")+(r.length&&/\/\.{0,2}$/.test(n)?"/":"")}function bx(t){const e=t.find(r=>r.kind==="main");if(!e)return null;const n=t.flatMap(r=>U2(r.content).map(i=>Sc(e.path,i)));return r=>z2(n,Sc(e.path,r))}function gx(t){for(const e of t.map(n=>n.replace(/^\.\//,""))){const n=e.lastIndexOf("/");if(n>0&&Ec(e.slice(n))&&!Ec(e.slice(0,n)))return e.slice(0,n+1)}return""}function Lp(t){return[...t].some(e=>e.charCodeAt(0)<32||e.charCodeAt(0)>=127&&e.charCodeAt(0)<=159)?"config.newSourceControl":t.startsWith("/")?"config.newSourceAbsolute":t.split("/").some(e=>e===""||e==="."||e==="..")?"config.newSourceSegments":/[^/]\.dae$/.test(t)?null:"config.newSourceExtension"}function yx(t){const e=[];for(const n of t.map(r=>r.replace(/^\.\//,""))){const r=n.indexOf("*"),i=n.slice(0,r),s=n.slice(r+1);r<0||/[*?]/.test(i+s)||!i.includes("/")||s.includes("/")||!s.endsWith(".dae")||Lp(i+"name"+s)||e.some(o=>o.pattern===n)||e.push({pattern:n,prefix:i,suffix:s})}return e}function vx(t,e){if(t.includes("/"))return"config.newSourceNameSlash";const n=Lp(e.prefix+t+e.suffix);return n==="config.newSourceControl"?"config.newSourceNameControl":n}function W2(t,e){const n=t.find(i=>i.kind==="main"),r=n?n.path.slice(0,n.path.lastIndexOf("/")+1):"";return t.find(i=>i.path===e||i.path===r+e)??null}function Ip(t=!0){const e=oe();return Se({key:["config"],every:0,fetch:n=>e.config(n)},{enabled:t})}function La(t,e){return t.config(e)}async function jp(t){return t.content!==void 0&&await fv(t.content)===t.content_sha256}function G2(t){const[e,n]=u.useState(new Map);return u.useEffect(()=>{let r=!0;return Promise.all(t.map(async i=>[i.id,{digest:i.content_sha256,content:i.content,complete:await jp(i)}])).then(i=>{r&&n(new Map(i))}),()=>{r=!1}},[t]),u.useCallback(r=>{const i=e.get(r.id);return i&&i.digest===r.content_sha256&&i.content===r.content?i.complete:void 0},[e])}function Y2(t){const e=u.useMemo(()=>t?[t]:[],[t]),n=G2(e);return t?n(t)??null:null}function J2(t,e,n,r){if(n!==e.content_sha256)return{error:t,lastRefused:r};const i=e.id+":"+e.content_sha256;return i===r?{error:new de("config.diskAhead"),lastRefused:r}:{error:t,lastRefused:i}}const Pc=t=>new TextEncoder().encode(t).length,kc=t=>kn(413,"request_too_large",`Configuration exceeds the ${t}-byte limit`,"config.tooLarge",{limit:t});function X2(t,e,n){const[r]=[{limit:t.content,size:Pc(e)},{limit:t.body,size:Pc(JSON.stringify(n))}].filter(i=>i.limit!==void 0).sort((i,s)=>s.size/s.limit-i.size/i.limit);return r&&{limit:r.limit,exceeded:r.size>r.limit}}async function Cc(t,e,n,r){const i=X2(t,e,n);if(i?.exceeded)throw kc(i.limit);return r().catch(s=>{throw s instanceof me&&s.status===413&&i?kc(i.limit):s})}function Dp(t,e,n){return Bt(t,e,n).catch(r=>{throw n.aborted||r instanceof de?r:(ln(),new de("ui.operationUnknown"))})}async function Z2(t,e,n){const r=await t.createConfigSource(e,"",n).catch(o=>{throw jn(o)??o}),i=await Dp(t,r,n);Tt(i,"reload"),n.throwIfAborted();const s=await La(t,n).catch(()=>(n.throwIfAborted(),null));return s&&(W2(s.sources,e)?.id??null)}function $x(t){const e=oe(),{busy:n,run:r}=pt({rethrow:!0});return{busy:n!==null,create:u.useCallback(i=>r("create",async s=>({id:await Z2(e,i,s).finally(t)})),[e,r,t])}}function Kp(t,{rethrow:e=!1}={}){const n=oe(),r=ze().data,i=r?.resources.config_validate,s=i?.available===!0&&i.modes?.includes("full")===!0,o=r?.limits.max_json_body_bytes,a=r?.resources.config.max_bytes,l=i?.max_bytes,c=u.useCallback((y,$)=>Cc({content:l,body:o},y.sources.map(x=>x.content??"").join(""),y,()=>n.validateConfig(y,$)),[n,l,o]),{busy:d,error:p,run:h,cancel:b}=pt({rethrow:e}),[g,v]=u.useState(null),m=u.useRef(null);return{busy:d,cancel:b,error:p,errorSource:p?g:null,validate:u.useCallback(y=>h("validate",$=>(v(y.sources.length===1?y.sources[0].id??null:null),c(y,$))),[c,h]),apply:u.useCallback((y,$)=>h("save",async x=>{if(v(y.id),!y.writable)throw new de("config.readOnly");if(!await jp(y))throw new de("config.incomplete");x.throwIfAborted();const E=typeof $=="string"?$:$(y.content);if(E===null)return;if(s&&y.kind==="main"&&y.path!==""){const S=await c({sources:[{id:y.id,path:y.path,content:E}],mode:"full"},x);if(x.throwIfAborted(),!S.valid)return{diagnostics:S.diagnostics}}const R=await Cc({content:a,body:o},E,{content:E},()=>n.replaceConfigSource(y.id,E,Ep(y.content_sha256),x)).catch(async S=>{if(S instanceof me&&S.status===409&&S.code==="state_conflict")throw t(),new de("config.changedMeanwhile");if(!(S instanceof me)||S.status!==412)throw jn(S)??S;const C=await La(n,x).catch(()=>null);t();const M=J2(S,y,C?.sources.find(I=>I.id===y.id)?.content_sha256,m.current);throw m.current=M.lastRefused,M.error});m.current=null,x.throwIfAborted();const k=await Dp(n,R,x);return x.throwIfAborted(),t(),{result:Tt(k,"reload",{written:!0})}}),[n,s,c,a,o,h,t])}}function Ia(t,e,n,r=i=>i.id){const i=new Map,s=new Set,o=new Set;let a={records:[],gaps:new Set(s),pending:0,...e},l=!1,c=!1,d=!1,p=!1,h=0,b;const g=()=>{if(b=void 0,document.hidden||!l||p&&!d)return;l=!1,d=!1;const y=p||!c,$=y?a.records:[...i.values()].reverse();p||(c=!1),a={records:$,gaps:y?a.gaps:new Set(s),pending:h,...e},o.forEach(x=>x())},v=()=>{l=!0,!document.hidden&&o.size&&b===void 0&&(b=window.setTimeout(g,100))},m=()=>{document.hidden?(clearTimeout(b),b=void 0):g()};return{getSnapshot:()=>a,subscribe(y){return o.add(y),o.size===1&&(document.addEventListener("visibilitychange",m),l&&v()),()=>{o.delete(y),!o.size&&(document.removeEventListener("visibilitychange",m),clearTimeout(b),b=void 0)}},append(y){const $=r(y);if(i.has($)){if(n==="ignore")return;i.delete($)}if(i.set($,y),i.size>t){const[x,E]=i.entries().next().value;i.delete(x),s.delete(E)}c=!0,p&&(h++,d=!0),v()},update(y){Object.entries(y).every(([$,x])=>e[$]===x)||(e={...e,...y},d=!0,v())},clear(){i.clear(),s.clear(),h=0,a={...a,records:[],gaps:new Set,pending:h},d=!0,v()},markGap(){const y=[...i.values()].at(-1);!y||s.has(y)||(s.add(y),c=!0,v())},hold(y){p=y,h=0,y||v()}}}const Tc=()=>Ia(Ca,{},"replace",t=>`${t.event} ${t.id}`),Q2=1e3,e5=()=>()=>{},t5={records:[]};function xx(t){const e=u.useMemo(()=>({changes:Tc(),runtime:Tc()}),[]),n=u.useSyncExternalStore(e.changes.subscribe,e.changes.getSnapshot),r=u.useSyncExternalStore(t?e.runtime.subscribe:e5,t?e.runtime.getSnapshot:()=>t5),i=kp(o=>(o.event==="runtime.updated"?e.runtime:e.changes).append(o),!0),s=u.useMemo(()=>{if(!r.records.length)return n.records;if(!n.records.length)return r.records;const o=new Map([...n.records,...r.records].map(a=>[a,Date.parse(a.data.observed_at)]));return[...o.keys()].sort((a,l)=>o.get(l)-o.get(a))},[n.records,r.records]);return{...i,events:s}}const Rc=new WeakMap;function n5(t){let e=Rc.get(t);return e||Rc.set(t,e=Ia(Ca,{},"replace")),e}function r5(t){const e=n5(oe()),{records:n}=u.useSyncExternalStore(e.subscribe,e.getSnapshot);return{...kp(i=>{t(i)&&e.append(i)},!0),records:n}}function wx({level:t,target:e,paused:n}){const r=oe(),s=ze().data?.resources.logs.available,o=u.useRef(()=>{}),a=u.useMemo(()=>{const l=Ia(Q2,{connected:!1,error:null},"ignore");return{getSnapshot:l.getSnapshot,clear:l.clear,hold:l.hold,subscribe(c){const d=l.subscribe(c);let p=new AbortController;const h=()=>{p=new AbortController;const{signal:b}=p;l.update({error:null}),s&&r.subscribeLogs({level:t,target:e||void 0,signal:b,onConnectionChange:g=>{b.aborted||l.update({connected:g})},onRecord:g=>{b.aborted||l.append(g)},onCursorExpired:()=>{b.aborted||l.markGap()}}).catch(g=>{b.aborted||l.update({error:g instanceof Error?g:new Error(String(g))})})};return h(),o.current=()=>{p.abort(),h()},()=>{p.abort(),o.current=()=>{},d()}}}},[r,s,t,e]);return u.useEffect(()=>a.hold(n),[a,n]),{...u.useSyncExternalStore(a.subscribe,a.getSnapshot),available:s,clear:a.clear,retry:()=>o.current()}}let It={rules:[],failure:null,applying:!1},i5=1;const no=new Set,_n=t=>{It={...It,...t},no.forEach(e=>e())};typeof window<"u"&&window.addEventListener("beforeunload",t=>{It.rules.length&&t.preventDefault()});const wn={subscribe:t=>(no.add(t),()=>void no.delete(t)),snapshot:()=>It,add:t=>_n({rules:[...It.rules,{...t,id:i5++}],failure:null}),remove:t=>{const e=It.rules.filter(n=>!t.includes(n.id));e.length!==It.rules.length&&_n({rules:e,failure:null})},fail:t=>_n({failure:t}),begin:()=>It.applying?!1:(_n({applying:!0}),!0),end:()=>_n({applying:!1})},_p=()=>u.useSyncExternalStore(wn.subscribe,wn.snapshot);function ja(t){const{blocks:e,tokens:n}=Ce(t);return e.filter(r=>r.name==="group").flatMap(r=>r.children.map(i=>{const s=Na(t,i,n),o=n.find(a=>a.from===i.from);return{name:i.name,written:o?t.slice(o.from,o.to):i.name,filters:s.filter(a=>a.name==="filter").map(a=>a.value),policy:s.filter(a=>a.name==="policy").at(-1)?.value??null,from:i.line,to:i.endLine}}))}const Fp=t=>Ma(t)?t:Ai(t),Ex=t=>Ma(t)||Mp(t);function Sx(t,e){return Ma(t)?e.has(t)?"taken":null:"invalid"}function Da(t,e,n){const{blocks:r,tokens:i}=Ce(t),s=r.filter(d=>d.name==="group"),o=s.flatMap(d=>d.children).find(d=>d.name===e);if(o){const d=t.lastIndexOf(`
-`,o.from-1)+1,p=t.slice(d,o.from),h=/^\s*$/.test(p)?p:" ",b=Na(t,o,i),g=o.open+1,m=t.slice(g,o.close).match(/\n([ \t]+)\S/)?.[1]??h+(h||" ");if(o.line!==o.endLine)return s5(t,o,b,m,n);const y=[g,...b.map(x=>x.from),o.close],$=y.slice(0,-1).flatMap((x,E)=>{const R=t.slice(x,y[E+1]).trim();return R?[m+R]:[]});return Da(t.slice(0,g)+`
-`+$.map(x=>x+`
-`).join("")+h+t.slice(o.close),e,n)}const a=s.at(-1),l=a?t.slice(a.open+1,a.close).match(/\n([ \t]+)\S/)?.[1]??" ":" ",c=[`${l}${Fp(e)} {`,...n.filters.map(d=>`${l}${l}filter: ${d}`),...n.policy?[`${l}${l}policy: ${n.policy}`]:[],`${l}}`].join(`
-`);if(a){const d=t.lastIndexOf(`
-`,a.close-1)+1,p=/^[ \t]*$/.test(t.slice(d,a.close))?d:a.close;return t.slice(0,p)+(t[p-1]===`
-`?"":`
-`)+c+`
-`+t.slice(p)}return`${t.replace(/\n+$/,"")}
-
-group {
-${c}
-}
-`}function s5(t,e,n,r,i){const s=n.filter(h=>h.name==="filter"),o=n.filter(h=>h.name==="policy"),a=[],l=h=>t.indexOf(`
-`,h)+1,c=h=>{const b=t.lastIndexOf(`
-`,h.from-1)+1,g=l(h.to),v=/^[ \t\r]*$/.test(t.slice(b,h.from))&&g>0&&/^[ \t\r]*$/.test(t.slice(h.to,g-1));a.push(v?{from:b,to:g,text:""}:{from:h.from,to:h.to,text:""})},d=(h,b)=>{if(h.value===b)return;const g=/^\s*/.exec(t.slice(h.valueFrom,h.valueTo))[0];a.push({from:h.valueFrom+g.length,to:h.valueTo,text:(g?"":" ")+b})};s.forEach((h,b)=>b`${r}filter: ${h}
-`),...i.policy&&!o.length?[`${r}policy: ${i.policy}
-`]:[]].join("");if(p){const h=s.length?l(s.at(-1).to):o.length?t.lastIndexOf(`
-`,o[0].from-1)+1:l(e.open);a.push({from:h,to:h,text:p})}return a.sort((h,b)=>b.from-h.from||b.to-h.to).reduce((h,b)=>h.slice(0,b.from)+b.text+h.slice(b.to),t)}function or(t,e){const n=Ce(t).tokens,r=n.map(o=>t.slice(o.from,o.to));if(n[0]?.kind!=="text"||r[0]!==e||r[1]!=="("||r.at(-1)!==")"||n.at(-1)?.parens!==1)return null;const i=[];let s=!0;for(let o=2;ot.flatMap(n=>(or(n,e)??[]).map(ht));function Px(t){return ai(t.filters,"name")}function kx(t){return{names:ai(t.filters,"name"),subtags:ai(t.filters,"subtag"),rules:t.filters.filter(e=>or(e,"name")===null&&or(e,"subtag")===null)}}function Cx(t,e,n){return t.filters.every(r=>{const i=or(r,e);return i!==null&&i.every(s=>ht(s)===n)})}function Oi(t,e,n,r,i){const s=ja(t).find(h=>h.name===e);if(!s&&!r.length)return t;const o=new Set(i),a=new Set(ai(s?.filters??[],n).filter(h=>!o.has(h))),l=[...new Set(r)].filter(h=>!a.has(h)&&!o.has(h)),c=h=>l.map(h.length&&h.every(b=>b.startsWith("'"))?Ai:Fp);let d=!l.length;const p=[];for(const h of s?.filters??[]){const b=or(h,n);if(b===null){p.push(h);continue}const g=b.filter(m=>!o.has(ht(m))),v=d?g:[...g,...c(g)];d=!0,v.length&&p.push(`${n}(${v.join(", ")})`)}return d||p.push(`${n}(${c([]).join(", ")})`),s&&p.length===s.filters.length&&p.every((h,b)=>h===s.filters[b])||s?.filters.length&&!p.length?t:Da(t,e,{filters:p,policy:s?.policy??null})}const o5=(t,e,n)=>Oi(t,e,"name",n,[]),a5=(t,e,n)=>Oi(t,e,"name",[],n),l5=(t,e,n)=>Oi(t,e,"subtag",n,[]),c5=(t,e,n)=>Oi(t,e,"subtag",[],n);function Ap(t,e){const n=[];let r=0,i=null,s=0;for(let o=0;oo.trim())}function u5(t){const e=t.startsWith("!"),n=e?t.slice(1).trim():t,r=n.startsWith("name(")?"name":n.startsWith("subtag(")?"subtag":null;if(!r||!n.endsWith(")"))return null;const i=[],s=[];for(const o of Ap(n.slice(r.length+1,-1),",")){const a=/^keyword:\s*/.exec(o),l=/^regex:\s*/.exec(o),c=ht((a??l?o.slice((a??l)[0].length):o).trim());if(c)if(a)s.push(d=>d.includes(c));else if(l){let d;try{d=new RegExp(c)}catch{return null}s.push(p=>d.test(p))}else i.push(c),s.push(d=>d===c)}return s.length?{call:r,negated:e,exact:i,tests:s}:null}function d5(t){const e=Ap(t,"&&").map(u5);return e.every(n=>n!==null)&&e.length?e:null}function f5(t){const e=t.map(d5).filter(n=>n!==null);if(!e.length){const n=t.some(r=>r.startsWith("group("));return r=>!n&&!Cn(r.name)}return n=>e.some(r=>(!Cn(n.name)||r.some(i=>i.call==="name"&&!i.negated&&i.exact.includes(n.name)))&&r.every(i=>i.tests.some(s=>s(i.call==="name"?n.name:n.subscription_tag??""))!==i.negated))}const Tx=(t,e)=>f5(t)(e);function p5(t,e){switch(e.kind){case"addNode":return o5(t,e.group,[e.value]);case"removeNode":return a5(t,e.group,[e.value]);case"addSubscription":return l5(t,e.group,[e.value]);case"removeSubscription":return c5(t,e.group,[e.value]);case"createGroup":return ja(t).some(n=>n.name===e.group)?t:Da(t,e.group,{filters:[],policy:e.policy})}}const Rx=(t,e)=>e.reduce(p5,t),h5=["domainSuffix","domain","geosite","dip","geoip","sip","dport","sport","pname","l4proto"],Mc=["qnameSuffix","qnameFull","qnameKeyword","qnameGeosite","qtype","sip"],Mx={request:Mc,response:[...Mc,"upstream","answerIp","answerGeoip"]};function Op(t,e){const n=e.split(/[,\s]+/).map(i=>i.trim()).filter(Boolean);if(n.some(i=>m5.test(i)||i.includes(":")&&!Mp(i)))return null;const r=b5(t,n);return H2(r)&&!r.includes("->")?r:null}const m5=/[()'"#{}]|&&|->/;function b5(t,e){const n=e.map(s=>s.includes(":")?Ai(s):s),r=n.join(", "),i=s=>n.map(o=>`${s}: ${o}`).join(", ");switch(t){case"domain":return`domain(${i("full")})`;case"domainSuffix":return`domain(${i("suffix")})`;case"geosite":return`domain(${i("geosite")})`;case"dip":return`dip(${r})`;case"geoip":return`dip(${i("geoip")})`;case"sip":return`sip(${r})`;case"dport":return`dport(${r})`;case"sport":return`sport(${r})`;case"pname":return`pname(${r})`;case"l4proto":return`l4proto(${r})`;case"qnameSuffix":return`qname(${i("suffix")})`;case"qnameFull":return`qname(${i("full")})`;case"qnameKeyword":return`qname(${i("keyword")})`;case"qnameGeosite":return`qname(${i("geosite")})`;case"qtype":return`qtype(${r})`;case"upstream":return`upstream(${r})`;case"answerIp":return`ip(${r})`;case"answerGeoip":return`ip(${i("geoip")})`}}function Nx(t,e){const r=t.map(i=>i.id===e?.id?e.content:i.content).flatMap(i=>i===void 0?[]:ja(i));return[...new Map(r.map(({name:i,written:s})=>[s,{name:i,written:s}])).values()]}const ro=t=>t.path===""||t.path==="",g5=t=>ro(t)?t.kind==="main"?"config.dae":`${t.kind}-${t.id.slice(0,8)}.dae`:t.path.split("/").pop()||"config.dae";function Lx(t,e){const n=t.find(i=>i.kind==="main");if(!n)return null;const r=[n,...t.filter(i=>i.kind==="include"&&!ro(i))];return e&&!r.some(i=>i.id===e.id)?null:r.map(i=>({id:i.id,...ro(i)?{}:{path:i.path},content:i.id===e?.id?e.content:i.content}))}const y5=t=>t.filter(e=>e.level==="error"&&e.code==="restart-required").length;function Ix(t,e){if(e)return t.find(n=>n.id===e.source_id)}function Bp(t,e,n,r){if(!e.source||e.source.source_id!==t.id)return null;const i=t.content;let s=e.source.line-1;const{blocks:o,tokens:a}=r??Ce(i),l=a.findIndex(k=>k.line===s&&k.kind!=="comment");if(l===-1||a[l].parens!==0)return null;const c=[];for(let k=l;k0);k++)a[k].kind!=="comment"&&c.push(a[k]),a[k].line!==s&&(s=a[k].line);const d=c[0],p=c.at(-1);if(!n.within(o).some(k=>d.from>k.open&&p.to<=k.close&&d.depth===k.depth+1))return null;const h=c.length>=3&&n.fallbacks.includes(i.slice(d.from,d.to))&&i.slice(c[1].from,c[1].to)===":";if(e.kind==="fallback"!==h)return null;const b=k=>n.foldCase?k.toLowerCase():k,g=(k,S)=>Np(i.slice(k,S)).replace(/\s+/g,""),v=h?c[1]:c.find(k=>k.parens===0&&i.slice(k.from,k.to)==="->"),m=n.target.replace(/\s+/g,"");if(!v||b(g(v.to,p.to))!==b(m))return null;const y=e.expression.replace(/\s+/g,""),$=b(y).endsWith(b("->"+m))?y.slice(0,-m.length-2):y;if(!h&&!e.expression.includes("")&&g(d.from,v.from)!==$)return null;const x=i.lastIndexOf(`
-`,d.from-1)+1,E=i.indexOf(`
-`,p.to),R=E===-1?i.length:E+1;return{from:x,to:R,indent:i.slice(x,d.from),text:i.slice(x,R),target:{from:v.to,to:p.to}}}function Hp(t,e,n){return Bp(t,e,{within:r=>r.filter(i=>i.name==="routing"),fallbacks:["fallback"],target:(e.outbound??"")+(e.must?"(must)":"")},n)}const v5=t=>t.action==="upstream"||t.action==="requery"?t.upstream??"":t.action,Wn=(t,e)=>t.filter(n=>n.name===e),Vp=(t,e)=>Wn(t,"dns").flatMap(n=>Wn(n.children,"routing")).flatMap(n=>Wn(n.children,e));function Up(t,e,n,r){return Bp(t,e,{within:i=>Vp(i,n),fallbacks:["fallback","default"],target:v5(e),foldCase:!0},r)}function Ka(t,e){const n=d=>t.flatMap(p=>d(Ce(p.content).blocks).map(h=>({source:p,block:h}))),r=n(d=>Vp(d,e));if(r.length){const d=r.length===1?Nc(r[0].source,r[0].block):null;return d&&{source:d.source,anchor:d.anchor}}const i=n(d=>Wn(d,"dns").flatMap(p=>Wn(p.children,"routing"))),s=i.length===1?Nc(i[0].source,i[0].block):null;if(!s)return null;const{closing:o,anchor:a}=s,{indent:l}=a,c=l.startsWith(o)&&l.length>o.length?l.slice(o.length):" ";return{source:s.source,anchor:{...a,indent:l+c,open:`${l}${e} {
-`,close:`${l}}
-`}}}function Nc(t,e){const n=t.content;if(!t.writable)return null;const r=n.lastIndexOf(`
-`,e.close-1)+1,i=n.slice(r,e.close);if(r<=e.open||!/^[ \t]*$/.test(i))return null;const s=n.indexOf(`
-`,e.close),o=s===-1?n.length:s+1,a=n.slice(e.open+1,e.close).match(/\n([ \t]+)\S/)?.[1]??i+(i.slice(0,i.length/e.depth)||" ");return{source:t,anchor:{from:r,to:o,indent:a,text:n.slice(r,o)},closing:i}}function qp(t,e=Ce(t)){return e.blocks.filter(n=>n.name==="dns").flatMap(n=>n.children.filter(r=>r.name==="upstream")).flatMap(n=>Na(t,n,e.tokens).map(r=>({name:t.slice(r.from,e.tokens.find(i=>i.from===r.from).to),address:ht(r.value)})))}const jx=(t,e=Ce(t))=>qp(t,e).map(n=>n.name),_a=(t,e,n=!1)=>`${t} -> ${e}${n?"(must)":""}`,Dx=t=>[...t.map(e=>e.name),...si].map(e=>({id:e,label:e}));function Kx(t,e,n,r,i){return t.slice(e.from,e.to)===e.text?t.slice(0,e.from)+(e.open??"")+`${e.indent}${_a(n,r,i)}
-`+(e.close??"")+t.slice(e.from):null}function _x(t,e,n,r){return e.target&&t.slice(e.from,e.to)===e.text?t.slice(0,e.target.from)+` ${n}${r?"(must)":""}`+t.slice(e.target.to):null}function Fx(t,e){return t.slice(e.from,e.to)===e.text?t.slice(0,e.from)+t.slice(e.to):null}const Ax={domainSuffix:"rule.kind.domainSuffix",domain:"rule.kind.domain",geosite:"rule.kind.geosite",dip:"rule.kind.dip",geoip:"rule.kind.geoip",sip:"rule.kind.sip",dport:"rule.kind.dport",sport:"rule.kind.sport",pname:"rule.kind.pname",l4proto:"rule.kind.l4proto",qnameSuffix:"rule.kind.domainSuffix",qnameFull:"rule.kind.domain",qnameKeyword:"rule.dns.kind.keyword",qnameGeosite:"rule.kind.geosite",qtype:"rule.dns.kind.qtype",upstream:"rule.dns.kind.upstream",answerIp:"rule.dns.kind.answerIp",answerGeoip:"rule.dns.kind.answerGeoip"},Ox={routing:"rule.list.routing",request:"rule.list.request",response:"rule.list.response"},Bx=t=>[...new Set(t.filter(e=>e.type==="A"||e.type==="AAAA").map(e=>e.data))];function hs(t,e="routing"){const n=t.domain?.replace(/\.$/,""),r=s=>s&&`${s}/${s.includes(":")?128:32}`;return(e==="routing"?[["domain",n],["domainSuffix",n],["dip",r(t.dip)],["sip",r(t.sip)]]:t.dns?e==="request"?[["qnameFull",n],["qnameSuffix",n],["sip",r(t.sip)]]:[...t.dns.answers.map(s=>["answerIp",r(s)]),["sip",r(t.sip)]]:[]).flatMap(([s,o])=>{const a=o?Op(s,o):null;return a?[{kind:s,condition:a}]:[]})}function Hx(t,e){const n=[];return e&&t.dns&&hs(t,"request").some(r=>r.kind!=="sip")&&n.push("request"),e&&t.dns?.answers.length&&hs(t,"response").some(r=>r.kind!=="sip")&&n.push("response"),hs(t).length&&n.push("routing"),n}const Vx=(t,e)=>{const n=e&&Op("qtype",e);return n?`${t} && ${n}`:t};function gt(t){return t.replace(/\s*->\s*("[^"]*"|'[^']*'|[^\s()'"]+)(\(must\))?\s*$/,"").replace(/\s+/g,"").replace(/"/g,"'")}function Ux(t,e,n,r){const i=d=>$5(d,e),s=n&&t.find(d=>d.rule_id===n.id&&i(d)&&(n.expression===null||gt(n.expression)===gt(d.expression))),o=t.find(d=>d.kind==="fallback"&&i(d)),a=t.find(i),l=d=>d===t[0]?r("conn.ruleTop"):r("rule.positionBefore",{n:d.index+1}),c=[...s?[{rule:s,label:r("conn.ruleBeforeMatched")}]:[],...o?[{rule:o,label:r("rule.positionEnd")}]:[],...a?[{rule:a,label:l(a)}]:[]];return c.filter((d,p)=>c.findIndex(h=>h.rule===d.rule)===p).map(({rule:d,label:p})=>({id:d.rule_id,label:p,desc:d.expression,matched:d===s,first:d===t[0]}))}function qx(t,e,n,r){const i=gt(e),s=c=>c.kind==="rule"&&c.outbound===n&>(c.expression)===i,o=c=>c.source?.source_id===r.source?.source_id,a=t.findIndex(c=>c.kind===r.kind&&o(c)&>(c.expression)===gt(r.expression));return((a<0?void 0:t.slice(0,a).reverse().find(c=>s(c)&&o(c)))??t.find(s))?.rule_id??null}function zx(t,e,n,r,i,s){const o=gt(r),a=d=>t==="routing"?d:d.toLowerCase(),l=e.find(d=>d.kind==="rule"&&a(d.target)===a(i)&>(d.expression)===o),c=t!=="routing";return l?s(c?"rule.dns.duplicateListed":"rule.duplicateListed",{n:l.index+1}):n.some(d=>d.list===t&&a(d.outbound)===a(i)&>(d.condition)===o)?s(c?"rule.dns.duplicateHeld":"rule.duplicateHeld"):null}function $5(t,e){const n=t&&e.find(r=>r.id===t.source?.source_id);return!!n?.writable&&Hp(n,t)!==null}function Wx(t,e,n){if(!e)return{before:t[0]?.id,moved:!1};const r=t.find(i=>i.id===e.id&&(n===e.generation||i.desc===e.desc));return r?{before:r.id,moved:!1}:{before:t[0]?.id,moved:!0}}function zp(t,e,n){return t?.open?{label:n("rule.dns.positionNew",{name:e}),desc:n("rule.dns.positionNewHelp",{name:e})}:{label:n("rule.positionLast"),desc:void 0}}function Gx(t,e,n,r){const i=c=>{const d=n.find(p=>p.id===c.source?.source_id);return!!d?.writable&&Up(d,c,t)!==null},s=e.find(c=>c.kind==="fallback"),o=s?.source?null:Ka(n,t),a=e.find(i),l=[...s?.source&&i(s)?[{id:s.rule_id,label:r("rule.positionEnd"),desc:s.expression,first:s===e[0]}]:[],...o?[{id:"end",...zp(o.anchor,t,r),first:!1}]:[],...a?[{id:a.rule_id,label:a===e[0]?r("conn.ruleTop"):r("rule.positionBefore",{n:a.index+1}),desc:a.expression,first:a===e[0]}]:[]];return l.filter((c,d)=>l.findIndex(p=>p.id===c.id)===d).map(c=>({...c,matched:!1}))}function Yx(t,e){const n=e.flatMap(s=>qp(s.content)),r=new Set(n.map(s=>s.name.toLowerCase())),i=[...new Set(t.flatMap(s=>s.upstream&&!r.has(s.upstream.toLowerCase())?[s.upstream]:[]))];return[...n,...i.map(s=>({name:s,address:null}))]}function Jx(t,e,n){const r=e.map(i=>({id:i,label:ht(i),...t==="response"?{desc:n("rule.dns.action.requery")}:{}}));return t==="request"?[...r,{id:"asis",label:"asis",desc:n("rule.dns.action.asis")},{id:"reject",label:"reject",desc:n("rule.dns.action.rejectQuery")}]:[{id:"accept",label:"accept",desc:n("rule.dns.action.accept")},{id:"reject",label:"reject",desc:n("rule.dns.action.rejectAnswer")},...r]}function x5(t,e){if(!e)return null;const n=Lc(e),r=t.filter(i=>ht(i.name).toLowerCase()===e.toLowerCase()||i.address!==null&&Lc(i.address)===n);return r.length===1?r[0].name:null}function Xx({list:t,seed:e,upstreams:n,outbound:r,position:i}){const s=t==="routing",o=s?e.outbound||null:t==="request"?x5(n,e.dns?.upstream):null;return{current:o,unchanged:s&&!!o&&r===o,beforeMatched:s&&!!i?.matched}}const Lc=t=>(/^[a-z][\w+.-]*:\/\/(?:\[[^\]]*\]|[^/:?#]*)/i.exec(t)?.[0]??t).toLowerCase();function Zx({readOnly:t,waiting:e,outbound:n,busy:r,failed:i,unplaceable:s,dns:o=!1},a){return t?a("rule.copyOnly"):r||i||s?null:e?a("ui.loading"):n?null:a(o?"rule.dns.actionMissing":"rule.outboundMissing")}function w5(t,e,n){return{text:n===void 0?e(t):e(t,{n}),detail:e("rule.keepsRoute")}}function E5(t,e,n,r){if(n.list==="routing")return Hp(e,n.before,r);if(n.before)return Up(e,n.before,n.list,r);const i=Ka(t,n.list);return i?.source.id===e.id?i.anchor:null}function S5(t,e,n){const r=e.content,i=Ce(r),s=n.map(l=>({rule:l,anchor:E5(t,e,l,i)}));if(s.some(l=>!l.anchor))return null;s.sort((l,c)=>l.anchor.from-c.anchor.from||l.rule.id-c.rule.id);let o="",a=0;for(let l=0;lg.indent+_a(b.condition,b.outbound,b.must)+`
-`).join("")+(h[0].anchor.close??"");a=c}return o+r.slice(a)}function Fa(t){const e=new Map;for(const n of t)e.set(n.sourceId,[...e.get(n.sourceId)??[],n]);return[...e.values()]}function Ic(t,e,n,r){const i=e??(t instanceof me&&t.status===422?t.details?.diagnostics??null:null);if(!i){const a=aa(t,r,r("ui.writeFailed"));return{text:Wl(a,r),lines:[],...a.requestId?{toastText:Wl(a,r,!1),requestId:a.requestId}:{}}}const s=i.filter(a=>a.level==="error").length,o=y5(i);return{text:o?r("config.writeRestart",{n:o}):s?r("ui.writeInvalid",{n:s}):r("rule.refused"),lines:i.map(a=>{const l=ia(Ti(a.code,a.message,r),r),c=n.find(d=>d.id===a.source_id);return a.line===null?l:r("config.atFile",{file:c?g5(c):a.source_id,line:a.line,message:l})})}}function Qx(t,e,n,r,i){const s=Fa(t).length,o=t.filter(l=>l.list===e),a=t.length-o.length;return o.length?{title:i("rule.pending",{n:o.length}),files:s>1?i("rule.pendingFiles",{files:s},"files"):null,elsewhere:a?i("rule.pendingElsewhere",{n:a}):null,failure:n,rows:o.map(l=>({id:l.id,line:_a(l.condition,l.outbound,l.must),position:P5(l,r,i)}))}:null}function P5(t,e,n){return t.list!=="routing"&&!t.before?zp(Ka(e,t.list)?.anchor,t.list,n).label:t.before&&t.before.kind!=="fallback"?n("rule.positionBefore",{n:t.before.index+1}):n("rule.positionEnd")}function k5(t,e,n,r){return e?{text:r("rule.partial",{n:e,held:n}),lines:[t.text,...t.lines],...t.requestId?{requestId:t.requestId}:{}}:t}const jc=()=>void ln();function C5(){const t=Q(),e=Kp(jc,{rethrow:!0}),n=_p().applying,r=u.useRef(null);u.useEffect(()=>()=>r.current?.abort(),[]);const i=async(l,c)=>{let d=[],p;try{if(d=(await La(oe(),c)).sources,c.aborted)return;const h=d.find(g=>g.id===l[0].sourceId),b=h&&await e.apply(h,()=>p=S5(d,h,l));return!h||p===null?(jc(),{written:!1,failure:{text:t("rule.stale"),lines:[]}}):b?b.diagnostics?{written:!1,failure:Ic(null,b.diagnostics,d,t)}:{written:!0,failure:null}:void 0}catch(h){return c.aborted?void 0:{written:h instanceof de&&["ui.writtenNotApplied","ui.operationUnknown","ui.activationDegradedSaved","ui.activationDegradedUnconfirmed","ui.activationUnknown"].includes(h.key)&&h.details?.written!==!1,failure:Ic(h,null,d,t)}}},s=async(l,c)=>{let d=0;for(const p of Fa(l)){const h=await i(p,c);if(!h)return;h.written&&wn.remove(p.map(g=>g.id));const b=h.written?p.length:0;if(h.failure)return{written:d+b,failure:k5(h.failure,d&&d+b,l.length-d-b,t)};d+=b}return{written:d,failure:null}};return{apply:async l=>{if(!wn.begin())return;const c=new AbortController;r.current=c;try{return await s(l,c.signal)}finally{r.current===c&&(r.current=null),wn.end()}},busy:n,cancel:()=>{r.current?.abort(),e.cancel()}}}function T5(){const t=Q(),{rules:e}=_p(),{apply:n,busy:r}=C5(),i=Fa(e).length;return{count:e.length,label:i>1?t("rule.applyFiles",{n:e.length,files:i},"files"):t("rule.applyPending",{n:e.length}),busy:r,apply:async()=>{const s=await n(e);if(!s)return;if(wn.fail(s.failure),s.failure){Me("negative",s.failure.toastText??s.failure.text,{requestId:s.failure.requestId});return}const o=w5("rule.applied",t,e.length);Me("positive",o.text,{detail:o.detail})}}}function R5(t,e,n,r){return Object.keys(Xs).filter(i=>t(i)||e===i).map(i=>({id:i,label:r(Xs[i]),isPending:e===i,isDisabled:!!e,onAction:()=>n(i)}))}function M5(t,e,n){const r=Q(),i=M2(t,e,n),s=o=>void i.run(o).then(a=>{a&&Me("positive",r("ov.operationResult",{action:r(Xs[o]),status:r("ov.succeeded"),operationId:a.operation_id}))},a=>h1(a,r,r("ov.operationError")));return{canRun:i.canRun,busy:i.busy,run:s,actions:R5(i.canRun,i.busy,s,r)}}function N5({className:t,...e}){return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:f.jsx("path",{fill:"currentColor",d:"m17.13 5.734-5.75-4.472c-.812-.631-1.948-.632-2.76 0L2.87 5.735h-.002C2.324 6.157 2 6.821 2 7.511v8.239C2 16.99 3.01 18 4.25 18h11.5c1.24 0 2.25-1.01 2.25-2.25V7.51c0-.689-.324-1.353-.87-1.776M11.5 16.5h-3v-4.75c0-.413.337-.75.75-.75h1.5c.413 0 .75.337.75.75zm5-.75c0 .413-.337.75-.75.75H13v-4.75c0-1.24-1.01-2.25-2.25-2.25h-1.5C8.01 9.5 7 10.51 7 11.75v4.75H4.25c-.413 0-.75-.337-.75-.75V7.51c0-.229.108-.45.29-.592l5.75-4.47c.272-.213.65-.21.92-.002l5.75 4.472c.182.142.29.363.29.593z"})})}function Wp({className:t,...e}){return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:f.jsx("path",{fill:"currentColor",d:"M5.313 18.748c-1.04 0-2.08-.396-2.873-1.188-1.584-1.584-1.584-4.163 0-5.747l3.906-3.906c1.585-1.584 4.162-1.583 5.747 0q.327.329.566.71c.22.35.115.814-.235 1.034-.353.222-.814.115-1.034-.235q-.152-.241-.36-.45c-.999-.998-2.625-.997-3.624.002l-3.905 3.905c-.999 1-.999 2.627 0 3.626 1.001 1.001 2.627.997 3.626 0l1.952-1.952c.293-.293.768-.293 1.06 0s.294.767 0 1.06L8.189 17.56c-.792.792-1.834 1.187-2.875 1.188m8.341-6.655 3.906-3.905c1.584-1.585 1.584-4.164 0-5.748s-4.164-1.584-5.747 0L9.86 4.393c-.293.293-.293.767 0 1.06s.768.293 1.06 0l1.953-1.952c1-.998 2.625-1 3.626 0 .999.999.999 2.626 0 3.626l-3.905 3.905c-1 1-2.625 1-3.624.001q-.208-.207-.36-.449c-.22-.35-.681-.457-1.034-.235-.35.22-.456.683-.235 1.034q.24.381.566.71c.793.792 1.833 1.188 2.874 1.188 1.04 0 2.081-.396 2.873-1.188"})})}function L5({className:t,...e}){return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:[f.jsx("path",{fill:"currentColor",d:"m13.527 5.49-3.002-2.997c-.293-.292-.767-.293-1.06 0L6.467 5.491c-.293.293-.293.767 0 1.06.147.147.339.22.53.22s.384-.073.53-.22L9.25 4.83v8.181c0 .414.336.75.75.75s.75-.336.75-.75V4.837l1.718 1.715c.293.292.767.293 1.06-.001.293-.293.293-.768 0-1.06"}),f.jsx("path",{fill:"currentColor",d:"M15.75 18.021H4.25c-1.24 0-2.25-1.01-2.25-2.25v-5.75c0-.414.336-.75.75-.75s.75.336.75.75v5.75c0 .414.336.75.75.75h11.5c.414 0 .75-.336.75-.75v-5.75c0-.414.336-.75.75-.75s.75.336.75.75v5.75c0 1.24-1.01 2.25-2.25 2.25"})]})}function Gp({className:t,...e}){return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:f.jsx("path",{fill:"currentColor",d:"M18 4.75c0-2.134-4.024-3.25-8-3.25S2 2.616 2 4.75c0 .067.015.13.023.196C2.017 4.985 2 5.02 2 5.06V15c0 2.062 4.147 3 8 3s8-.938 8-3V5.06c0-.04-.017-.075-.023-.114.008-.066.023-.129.023-.196m-1.5 5.245c-.092.415-2.228 1.505-6.5 1.505S3.59 10.41 3.5 10V6.724C5.03 7.567 7.524 8 10 8s4.97-.433 6.5-1.276zM10 3c4.289 0 6.5 1.227 6.5 1.75S14.289 6.5 10 6.5 3.5 5.273 3.5 4.75 5.711 3 10 3m0 13.5c-4.273 0-6.41-1.09-6.5-1.5v-3.154C5.052 12.63 7.583 13 10 13s4.948-.37 6.5-1.154v3.148c-.09.415-2.227 1.506-6.5 1.506"})})}function I5({className:t,...e}){return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:f.jsx("path",{fill:"currentColor",d:"M16.25 4.5H3.75c-.414 0-.75-.336-.75-.75S3.336 3 3.75 3h12.5c.414 0 .75.336.75.75s-.336.75-.75.75M13.75 8.5h-10c-.414 0-.75-.336-.75-.75S3.336 7 3.75 7h10c.414 0 .75.336.75.75s-.336.75-.75.75M16.25 12.5H3.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h12.5c.414 0 .75.336.75.75s-.336.75-.75.75M13.75 16.5h-10c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h10c.414 0 .75.336.75.75s-.336.75-.75.75"})})}function j5({className:t,...e}){return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:f.jsx("path",{fill:"currentColor",d:"M10 1.252c-4.825 0-8.75 3.925-8.75 8.75s3.925 8.75 8.75 8.75 8.75-3.925 8.75-8.75-3.925-8.75-8.75-8.75m7.21 8H14.07c-.14-2.33-.915-4.526-2.192-6.245 2.856.767 5.023 3.231 5.334 6.245m-7.198 7.631c-1.49-1.537-2.419-3.745-2.582-6.131h5.14c-.162 2.388-1.081 4.593-2.558 6.131M7.431 9.252c.162-2.387 1.091-4.594 2.581-6.132 1.477 1.538 2.396 3.743 2.558 6.132zm.715-6.251c-1.29 1.72-2.074 3.92-2.215 6.251H2.79c.312-3.022 2.49-5.49 5.357-6.251M2.79 10.752h3.142c.141 2.33.926 4.53 2.216 6.25-2.867-.759-5.046-3.228-5.358-6.25m9.088 6.245c1.277-1.72 2.052-3.915 2.192-6.245h3.142c-.311 3.014-2.479 5.478-5.334 6.245"})})}function D5({className:t,...e}){return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:[f.jsx("path",{fill:"currentColor",d:"M13.22 12.657c-.13 0-.26-.033-.38-.104l-3.22-1.895c-.23-.135-.37-.38-.37-.646v-5c0-.414.336-.75.75-.75s.75.336.75.75v4.571l2.85 1.677c.358.21.477.67.267 1.027-.14.237-.39.37-.647.37"}),f.jsx("path",{fill:"currentColor",d:"M10 1.25c-2.79 0-5.39 1.367-7.023 3.566L2.732 3.33c-.067-.41-.462-.684-.862-.618-.408.067-.685.453-.618.862l.554 3.363c.06.367.379.628.739.628q.06 0 .122-.01l3.366-.551c.41-.067.686-.453.62-.861-.068-.409-.448-.684-.862-.62L4.106 5.8C5.454 3.92 7.648 2.75 10 2.75c3.998 0 7.25 3.252 7.25 7.25s-3.252 7.25-7.25 7.25c-2.98 0-5.623-1.787-6.731-4.552-.155-.385-.591-.572-.976-.417s-.571.59-.417.975C3.215 16.594 6.403 18.75 10 18.75c4.825 0 8.75-3.925 8.75-8.75S14.825 1.25 10 1.25"})]})}function K5({className:t,...e}){return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:[f.jsx("path",{fill:"currentColor",d:"M13.53 9.427c-.292-.292-.766-.294-1.06 0l-1.717 1.714V2.75c0-.414-.336-.75-.75-.75s-.75.336-.75.75v8.4L7.53 9.426c-.293-.293-.767-.293-1.06 0s-.293.767 0 1.06l2.998 2.998c.146.147.338.22.53.22.191 0 .384-.073.53-.22l3.002-2.998c.293-.292.293-.767 0-1.06"}),f.jsx("path",{fill:"currentColor",d:"M15.75 18H4.25C3.01 18 2 16.99 2 15.75v-2.021c0-.415.336-.75.75-.75s.75.335.75.75v2.021c0 .413.337.75.75.75h11.5c.413 0 .75-.337.75-.75v-2.021c0-.415.336-.75.75-.75s.75.335.75.75v2.021c0 1.24-1.01 2.25-2.25 2.25"})]})}function _5({className:t,...e}){return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:[f.jsx("path",{fill:"currentColor",d:"m13.527 10.491-3.002-2.998c-.293-.293-.767-.293-1.06 0l-2.998 2.998c-.293.293-.293.768 0 1.06.147.147.339.22.53.22s.384-.073.53-.22L9.25 9.83v8.18c0 .414.336.75.75.75s.75-.336.75-.75V9.837l1.718 1.715c.293.293.767.293 1.06 0s.293-.769 0-1.06"}),f.jsx("path",{fill:"currentColor",d:"M15.75 17h-2.799c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h2.799c.414 0 .75-.337.75-.75V4.25c0-.413-.336-.75-.75-.75H4.25c-.414 0-.75.337-.75.75v10.5c0 .413.336.75.75.75h2.726c.414 0 .75.336.75.75s-.336.75-.75.75H4.25C3.01 17 2 15.99 2 14.75V4.25C2 3.01 3.01 2 4.25 2h11.5C16.99 2 18 3.01 18 4.25v10.5c0 1.24-1.01 2.25-2.25 2.25"})]})}function F5({className:t,...e}){return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:f.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.5 4h9A1.5 1.5 0 0 1 16 5.5v9a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 4 14.5v-9A1.5 1.5 0 0 1 5.5 4m.25 1.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-8.5a.25.25 0 0 0-.25-.25zM7.5 7.5h5v5h-5zM6.25 1.5h1.5V4h-1.5zM6.25 16h1.5v2.5h-1.5zM1.5 6.25H4v1.5H1.5zM16 6.25h2.5v1.5H16zM9.25 1.5h1.5V4h-1.5zM9.25 16h1.5v2.5h-1.5zM1.5 9.25H4v1.5H1.5zM16 9.25h2.5v1.5H16zM12.25 1.5h1.5V4h-1.5zM12.25 16h1.5v2.5h-1.5zM1.5 12.25H4v1.5H1.5zM16 12.25h2.5v1.5H16z"})})}function Bi(t){const e=t.replace(/^#\/?/,""),n=e.indexOf("?"),r={route:(n<0?e:e.slice(0,n))||Ws,query:n<0?"":e.slice(n+1)};return A5(r.route,r.query)??{route:ap(r.route)?r.route:Ws,query:r.query}}function A5(t,e){const n=new URLSearchParams(e),r=n.get("tab");if(t==="rules"&&(r==="map"||r==="flows"||r===null&&(n.has("path")||n.has("by"))))n.set("tab",r==="flows"?"records":"map");else if(t==="flows"&&r===null&&(n.has("id")||n.has("connection_id")))n.set("tab","records");else return null;return{route:"flows",query:n.toString()}}function Hi(t,e){const n=new URLSearchParams(t);for(const[r,i]of Object.entries(e))i===null?n.delete(r):n.set(r,i);return n.toString()}function e4(t,e,n){return Hi(t,{tab:e===n?null:e})}function xe(t,e={}){return Jt(t,Hi("",e))}function t4(t,e,n){const r=new URLSearchParams(t).get("tab");return e.find(i=>i===r)??n}function Jt(t,e){return"#/"+t+(e?"?"+e:"")}function Dc(t,e){const n=Bi(e);return t.route===n.route&&t.query===n.query?t:n}function O5(t,e){const n=history.state?.doonaPosition,r=typeof n=="number"?n-e:0;if(r)return history.go(-r),r;history.replaceState({...history.state,doonaPosition:e},"",Jt(t.route,t.query))}function Kc(t){if(Z1(t,location.hash))history.replaceState(history.state,"",Jt("settings"));else{const{route:e,query:n}=Bi(location.hash),r=Jt(e,n);location.hash!==r&&history.replaceState(history.state,"",r)}return location.hash}function B5(t){const[e,n]=u.useState(()=>{const v=Kc(t);return history.replaceState({...history.state,doonaPosition:history.state?.doonaPosition??0},"",v),Bi(v)}),r=u.useRef(history.state.doonaPosition),i=u.useRef(null),s=u.useRef(!1),o=u.useCallback(v=>{s.current=v},[]),[a,l]=u.useState(0),[c,d]=u.useState(null),p=u.useCallback((v,m=!1)=>{m?history.replaceState({...history.state,doonaPosition:r.current},"",Jt(v.route,v.query)):history.pushState({doonaPosition:++r.current},"",Jt(v.route,v.query)),n(v)},[]),h=u.useRef(e);u.useLayoutEffect(()=>{h.current=e},[e]);const b=u.useCallback((v,m="",y)=>{const $=Dc(h.current,Jt(v,m));$!==h.current&&(s.current?d({...$,replace:y?.replace}):p($,y?.replace))},[p]);return u.useEffect(()=>{const v=()=>{const m=i.current;if(i.current=null,m&&history.state?.doonaPosition===r.current){d(m);return}const y=Kc(t),$=history.state?.doonaPosition??r.current,x=Dc(e,y);if(x!==e&&s.current){const E=O5(e,r.current);E!==void 0?i.current={...x,delta:E}:d(x)}else history.state?.doonaPosition===void 0&&history.replaceState({...history.state,doonaPosition:$},"",y),r.current=$,n(x)};return addEventListener("popstate",v),()=>removeEventListener("popstate",v)},[t,e]),{...e,go:b,setDirty:o,revision:a,pending:c,discard:()=>{c&&(s.current=!1,l(v=>v+1),c.delta!==void 0?history.go(c.delta):p(c,c.replace),d(null))},cancel:()=>d(null)}}const H5=["base","surface","overlay","muted","subtle","text","on-text","love","gold","rose","pine","foam","iris","hl-low","hl-med","hl-high","accent","positive","negative","notice","info","line"];function V5(){const t=getComputedStyle(document.documentElement);return{...Object.fromEntries(H5.map(e=>[e,t.getPropertyValue("--rp-"+e).trim()])),cat:[1,2,3,4,5,6,7,8].map(e=>t.getPropertyValue("--rp-c"+e).trim())}}let ms;function U5(){const{family:t,flavour:e,scheme:n}=document.documentElement.dataset,r=`${t}/${e}/${n}`;return ms?.key!==r&&(ms={key:r,value:V5()}),ms.value}function q5(t){const e=new MutationObserver(t);return e.observe(document.documentElement,{attributes:!0,attributeFilter:["data-family","data-flavour","data-scheme"]}),()=>e.disconnect()}function Aa(){return u.useSyncExternalStore(q5,U5)}const z5=/Failed to fetch dynamically imported module|error loading dynamically imported module|Importing a module script failed|Unable to preload CSS/i;function _c(t){const e=t instanceof Error?t.message:typeof t=="string"?t:"";return z5.test(e)}const Fc="doona-stale-reload",W5=3e4;function G5(t=()=>location.reload(),e=Date.now(),n){try{const r=n??sessionStorage,i=Number(r.getItem(Fc));if(Math.abs(e-i)location.reload(),children:t("ui.reloadPage")}),children:t("ui.staleBuild")})}class yr extends u.Component{state={error:null};static getDerivedStateFromError(e){return{error:e instanceof Error?e:new Error(String(e))}}componentDidCatch(e){this.props.fallback===void 0&&_c(e)&&G5()}render(){return this.state.error?this.props.fallback!==void 0?this.props.fallback:_c(this.state.error)?f.jsx(Y5,{}):f.jsx(Xe,{error:this.state.error,onRetry:()=>location.reload()}):this.props.children}}function J5({swatch:t,label:e,value:n}){return f.jsxs("span",{className:"it",children:[typeof t=="string"?f.jsx("i",{className:"sw",style:{background:t}}):t,e,n!==void 0&&f.jsxs(f.Fragment,{children:[" ",f.jsx("b",{children:n})]})]})}const X5=u.lazy(()=>he(()=>import("./AreaChart-CsrRISMa.js"),__vite__mapDeps([17,3,18,19,20]),import.meta.url).then(t=>({default:t.AreaPlot}))),Z5=u.lazy(()=>he(()=>import("./Sparkline-4ZFN_DWA.js"),__vite__mapDeps([21,3,18,19,20]),import.meta.url).then(t=>({default:t.SparkPlot}))),Q5=u.lazy(()=>he(()=>import("./Donut-Bal7IeCD.js"),__vite__mapDeps([22,3,18,20]),import.meta.url).then(t=>({default:t.DonutPlot})));function Ac({series:t,fmt:e}){return f.jsx("div",{className:"rp-legend",children:t.map(n=>f.jsx(J5,{swatch:n.color,label:n.label,value:e(n.values[n.values.length-1])},n.label))})}const Oc=u.memo(function(e){return f.jsx(yr,{children:f.jsx(u.Suspense,{fallback:f.jsx("div",{style:e.fill?{minHeight:e.height??150,flex:"1 1 auto",width:"100%"}:{height:e.height??150,width:"100%"}}),children:f.jsx(X5,{...e})})})}),bs=u.memo(function(e){return f.jsx(yr,{children:f.jsx(u.Suspense,{fallback:f.jsx("div",{style:{height:e.height??32,width:"100%"}}),children:f.jsx(Z5,{...e})})})}),e3=u.memo(function({label:e,rows:n,total:r}){const i=Q(),s=u.useMemo(()=>n.map(o=>({...o,percent:o.value===null?"—":i("ui.percent",{n:o.value})})),[n,i]);return f.jsxs("div",{className:"rp-donut",children:[f.jsxs("div",{className:"box",children:[f.jsx(yr,{children:f.jsx(u.Suspense,{fallback:null,children:f.jsx(Q5,{label:e,rows:n})})}),f.jsx("div",{className:"center",children:r})]}),f.jsx("div",{className:"lst",children:s.map(o=>f.jsxs("div",{className:"r",children:[f.jsx("i",{className:"dot",style:{background:o.color}}),f.jsx("span",{className:"n",children:o.href?f.jsx(Te,{appearance:"link",href:o.href,children:o.name}):o.name}),f.jsx("span",{children:o.text}),f.jsx("span",{className:"p",children:o.percent})]},o.name))})]})},(t,e)=>t.label===e.label&&t.total===e.total&&(t.rows===e.rows||t.rows.length===e.rows.length&&t.rows.every((n,r)=>{const i=e.rows[r];return n.name===i.name&&n.value===i.value&&n.text===i.text&&n.color===i.color&&n.href===i.href}))),t3={requirements:"requirements","honk-version":"requirements",install:"install",doona:"install","other-origin":"install",operation:"install",config:"configuration",features:"features","still-missing":"features",pages:"features",troubleshooting:"troubleshooting","unknown-setting":"troubleshooting","state-db":"troubleshooting","no-native-api":"troubleshooting","sign-in":"troubleshooting","read-only":"troubleshooting"},Bc="https://zakkaus.github.io/doona-docs/";function Oa(t,e){const n=Qe.find(r=>r.id===t).docs;return e?`${Bc}${n}/${t3[e]}.html#${e}`:`${Bc}${n}/`}function Yp({className:t,...e}){return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:f.jsx("path",{fill:"currentColor",d:"m18.744 4.188-2.25-2.25c-.293-.293-.767-.293-1.06 0s-.293.767 0 1.06L16.436 4h-2.224c-2.108 0-4.001 1.299-4.797 3.252l-2.47 4.873C6.356 13.567 5.01 14.5 3.512 14.5H1.714c-.414 0-.75.336-.75.75s.336.75.75.75h1.798c2.11 0 4.003-1.299 4.797-3.252l2.47-4.873c.59-1.442 1.937-2.375 3.433-2.375h2.16l-.938.937c-.293.293-.293.768 0 1.061.146.147.337.22.53.22s.384-.073.53-.22l2.25-2.25c.293-.293.293-.768 0-1.06M7.103 7.389c-.235 0-.465-.11-.612-.314C5.787 6.09 4.673 5.5 3.511 5.5H1.715c-.414 0-.75-.336-.75-.75S1.3 4 1.714 4h1.798c1.644 0 3.215.823 4.2 2.202.24.338.163.806-.174 1.047-.133.095-.285.14-.435.14M18.744 14.736l-2.25-2.25c-.293-.293-.767-.293-1.06 0s-.293.768 0 1.06l.953.954h-2.174c-1.155 0-2.266-.584-2.97-1.562-.242-.334-.71-.413-1.048-.17-.336.242-.412.71-.17 1.046.986 1.369 2.551 2.186 4.188 2.186h2.207l-.986.986c-.293.293-.293.768 0 1.06.146.147.337.22.53.22s.384-.073.53-.22l2.25-2.25c.293-.292.293-.767 0-1.06"})})}function n3({className:t,...e}){return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:f.jsx("path",{fill:"currentColor",d:"M8.999 18.729c-.36 0-.717-.099-1.037-.293C7.359 18.07 7 17.43 7 16.726V10.49c0-.186-.068-.364-.192-.501l-4.18-4.644c-.538-.59-.674-1.416-.349-2.152S3.305 2 4.11 2h11.782c.804 0 1.505.457 1.83 1.193s.19 1.562-.353 2.156l-4.176 4.64c-.124.137-.192.315-.192.501v5.046c0 .843-.465 1.609-1.213 1.997l-1.865.968c-.292.152-.609.228-.923.228M4.109 3.5c-.295 0-.418.209-.458.298s-.11.322.088.54l4.184 4.647c.372.413.577.948.577 1.505v6.236c0 .254.168.383.24.427.073.045.266.133.49.017l1.866-.969c.25-.13.404-.384.404-.665V10.49c0-.557.205-1.092.577-1.505l4.18-4.644c.202-.22.132-.453.092-.543s-.163-.298-.458-.298z"})})}function r3({model:t}){const e=Q(),n=Ln();return f.jsxs(f.Fragment,{children:[t.error&&f.jsx(Xe,{error:t.error,onRetry:t.retry}),f.jsx(st,{title:e("act.mode"),tile:{icon:f.jsx(Yp,{}),tint:3,kind:"control"},reason:t.reasons.mode,aside:f.jsxs("span",{className:"rp-cluster",children:[f.jsx(ua,{label:e("act.mode"),value:t.mode,onChange:t.pick,isDisabled:t.busy||!t.writable,items:t.modes}),t.writable?f.jsx(be,{small:!0,accent:!0,isDisabled:!t.dirty||t.incomplete,isPending:t.busy,onPress:t.apply,children:e("config.save")}):t.readOnly?f.jsx(fa,{label:e("act.modeWhyReadOnly"),placement:"bottom end",trigger:f.jsx(be,{small:!0,quiet:!0,label:e("act.modeWhyReadOnly"),children:t.status}),children:()=>f.jsxs(f.Fragment,{children:[f.jsx("p",{children:e("act.modeReadOnlyReason")}),f.jsx("p",{children:e("act.modeReadOnlyAction")}),f.jsx(Te,{external:!0,appearance:"link",href:Oa(n,"read-only"),children:e("act.readOnlyDocs")})]})}):f.jsx(In,{small:!0,tone:"muted",children:t.status})]})}),f.jsx(st,{title:e("act.global"),tile:{icon:f.jsx(n3,{}),tint:2,kind:"control"},reason:t.reasons.global,aside:f.jsx(Ni,{quiet:!0,isDisabled:t.busy||!t.writable,label:e("act.global"),value:t.target,onChange:t.pickTarget,items:t.targets,children:t.targetText})})]})}function i3({rows:t,total:e,error:n,retry:r,loading:i,empty:s}){const o=Q();return f.jsxs(st,{"aria-label":o("act.issues"),children:[f.jsxs("div",{className:"rp-row nowrap",children:[f.jsxs("div",{className:"rp-cluster nowrap",children:[f.jsx("h3",{className:"rp-h3 rp-grow",children:f.jsx(Fe,{children:o("act.issues")})}),e>0&&f.jsx("span",{className:"rp-label",children:e})]}),f.jsx(Te,{appearance:"button",quiet:!0,small:!0,href:xe("events"),children:o("act.viewAll")})]}),n&&f.jsx(Xe,{error:n,onRetry:r}),i?f.jsx("div",{className:"rp-chart-wait",children:f.jsx(Je,{})}):t.length===0?f.jsx("div",{className:"rp-chart-wait",children:f.jsx(lt,{children:s})}):f.jsx("div",{className:"rp-list rp-list-labeled rp-feed",role:"list","aria-label":o("act.issues"),tabIndex:0,children:t.map(a=>f.jsxs("div",{role:"listitem",className:"rp-row",children:[f.jsx(In,{small:!0,tone:a.tone,children:a.kindText}),f.jsx("span",{className:"rp-note rp-grow",children:a.summaryText})]},a.id))})]})}const Hc=720,ar=6e4,li=t=>{const e=t.filter(n=>n!==null);return e.length?e.reduce((n,r)=>n+r,0)/e.length:null};function Jp(t,e,n){const r=new Map;for(const i of t){const s=Math.floor(i.time/(e*1e3))*e*1e3,o=r.get(s);o?o.push(i):r.set(s,[i])}return[...r.entries()].sort(([i],[s])=>i-s).map(([i,s])=>n(s,i))}function s3(t,e,n){if(t.fine.at(-1)?.time===e.time)return t;if(t.fine.length&&e.timeHc?Math.floor(r[r.length-Hc].time/ar)*ar:-1/0;let s=0;for(;s[c.time,c]));for(const c of a)l.set(c.time,c);a=[...l.values()].sort((c,d)=>c.time-d.time).slice(-10080)}return{fine:r,coarse:a}}function Xp(t,e,n,r,i=Li(),s=360){const o=i-n*1e3,a=new Map;for(const c of t.coarse)c.time>=o-ar&&a.set(c.time,c);for(const c of t.fine)c.time>=o&&a.set(c.time,c);for(const c of e)c.time>=o&&a.set(c.time,c);let l=[...a.values()].sort((c,d)=>c.time-d.time);return l.length>s&&(l=Jp(l,Math.ceil(n/s),r)),{samples:l,since:o,until:i}}const ci=new Map,o3=10*ar,io=(t,e)=>JSON.stringify([t,e||ya]);function a3(t){const{activeId:e,profiles:n}=Ki();return`${le.ringsPrefix}${t}-${io(e,n.find(r=>r.id===e)?.api??"")}`}function Vc(t){try{const e=localStorage.getItem(t);return e?JSON.parse(e):null}catch{return null}}function Nr(t){return Array.isArray(t)&&t.every(e=>typeof e=="object"&&e!==null&&Number.isFinite(e.time))?t:null}function Zp(t){const e=a3(t),n=ci.get(t);if(n&&n.key===e)return n;const r=Vc(e),i=Vc(`${e}-coarse`),s={fine:Nr(r?.fine)??[],coarse:Nr(i)??Nr(r?.coarse)??[]},o={key:e,rings:s,saved:Date.now(),coarseSaved:0,writtenCoarse:Nr(i)?s.coarse:null};return ci.set(t,o),o}function Uc(t,e){for(let n=0;n<2;n++)try{localStorage.setItem(t,e);return}catch{if(n||!l3(t))return}}function l3(t){const e=new Set([...ci.values()].flatMap(r=>[r.key,`${r.key}-coarse`]).concat(t));let n=!1;try{for(const r of Object.keys(localStorage))r.startsWith(le.ringsPrefix)&&!e.has(r)&&(localStorage.removeItem(r),n=!0)}catch{}return n}function c3(t,e){const n=()=>{Uc(t.key,JSON.stringify({fine:t.rings.fine})),e&&Uc(`${t.key}-coarse`,JSON.stringify(t.rings.coarse))};typeof requestIdleCallback=="function"?requestIdleCallback(n,{timeout:5e3}):setTimeout(n,0)}function u3(){const{profiles:t}=Ki(),e=new Set(t.length?t.map(n=>io(n.id,n.api)):[io("","")]);try{for(const n of Object.keys(localStorage)){const r=/^doona-rings-.+?-(\[.*\])(?:-coarse)?$/.exec(n);n.startsWith(le.ringsPrefix)&&!(r&&e.has(r[1]))&&localStorage.removeItem(n)}}catch{}}const so=new Set,d3=t=>(so.add(t),()=>{so.delete(t)});function f3(t,e,n){const r=Zp(t);if(!e)return r.rings;const i=s3(r.rings,e,n);if(i!==r.rings){r.rings=i;for(const o of so)o();const s=Date.now();if(s-r.saved>=ar){r.saved=s;const o=r.rings.coarse!==r.writtenCoarse&&s-r.coarseSaved>=o3;o&&(r.coarseSaved=s,r.writtenCoarse=r.rings.coarse),c3(r,o)}}return r.rings}function Qp(t,e,n,r){return u.useEffect(()=>{f3(t,e&&n(e),r)},[t,e,n,r]),u.useSyncExternalStore(d3,()=>(ci.get(t)??Zp(t)).rings)}const eh=(t,e)=>({time:e,rss:li(t.map(n=>n.rss)),cgroup:li(t.map(n=>n.cgroup))});function p3(t){const e=Date.parse(t.observed_at);if(!Number.isFinite(e))return;const n=Ae(t.process?.rss_bytes??null),r=Ae(t.cgroup?.current_bytes??null);return{time:e,rss:n===null?null:Number(n),cgroup:r===null?null:Number(r)}}function h3(t){return Qp("memory",t,p3,eh)}function m3(t){return t.samples.map(e=>{const n=Ae(e.rss_bytes),r=Ae(e.cgroup_current_bytes);return{time:Date.parse(e.sampled_at),rss:n===null?null:Number(n),cgroup:r===null?null:Number(r)}})}function b3(t,e,n,r){const i=Xp(t,e,n,eh,r);return{...i,timestamps:i.samples.map(s=>s.time),rss:i.samples.map(s=>s.rss),cgroup:i.samples.map(s=>s.cgroup)}}function g3(t,e){const n=k2(t),r=h3(e),i=Ye(t?.resources,"memory_history",{whileLoading:!1}),s=i?n.windowSeconds:600,o=u.useMemo(()=>n.data?m3(n.data):[],[n.data]);return{...u.useMemo(()=>b3(r,i?o:[],s),[r,o,i,s]),error:i?n.error:void 0,retry:n.refetch}}const qc={live:120,m10:600,h1:3600,h6:21600,h24:86400,d7:604800},ui=t=>{const e=Ae(t??null);return e===null?null:Number(e)/1e3},th=(t,e)=>({time:e,up:li(t.map(n=>n.up)),down:li(t.map(n=>n.down)),connections:t.some(n=>n.connections!==null)?Math.max(...t.map(n=>n.connections??0)):null});function y3(t){const e=t.traffic,n=Date.parse(e.sampled_at??"");if(Number.isFinite(n))return{time:n,up:ui(e.rates?.upload_bytes_per_second),down:ui(e.rates?.download_bytes_per_second),connections:e.connections.total}}function v3(t){return Qp("traffic",t,y3,th)}function $3(t){return t.samples.map(e=>({time:Date.parse(e.sampled_at),up:ui(e.upload_bytes_per_second),down:ui(e.download_bytes_per_second),connections:e.connections}))}function zc(t,e,n,r,i){const{samples:s,since:o,until:a}=Xp(t,e,n,th,r,i);return{timestamps:s.map(l=>l.time),down:s.map(l=>l.down),up:s.map(l=>l.up),connections:s.map(l=>l.connections),since:o,until:a}}const nh=(t,e,n)=>Object.hasOwn(t,e)?n(t[e]):e;function x3(t,e){const n=new Map;for(const s of Fv(t)){const o=e==="dev"?pp(s.src):s.domain||s.dst;o&&n.set(o,Vs(n.has(o)?n.get(o):0n,s.download_bytes))}const r=[...n].map(([s,o])=>({name:s,download:o})),i=Vs(...r.map(s=>s.download));return r.sort((s,o)=>s.download===o.download?0:s.download===null?1:o.download===null||s.download>o.download?-1:1),r.slice(0,5).map(s=>({...s,percent:qf(s.download,i)}))}const rh="# doona: outbound mode";function ih(t,e,n){return n.filter(r=>r.kind==="comment"&&t.slice(r.from,r.to).trim()===rh&&e.some(i=>i.name==="routing"&&r.from>i.open&&r.to{const i=t.lastIndexOf(`
-`,r.from-1)+1,s=n.filter(l=>l.from>=i&&l.to<=r.from);if(s.some(l=>l.depth!==1))return[];const o=s.findIndex(l=>l.parens===0&&t.slice(l.from,l.to)==="->"),a=o===-1||o===s.length-1?"":t.slice(s[o+1].from,r.from).trim();return[{from:i,to:r.to+(t[r.to]===`
-`?1:0),target:a}]})}function w3(t){const{blocks:e,tokens:n}=Ce(t),r=ih(t,e,n).find(i=>i.target);return r?r.target==="direct"?{mode:"direct"}:{mode:"global",target:r.target}:{mode:"rule"}}function E3(t,e){const n=Ce(t);for(const h of ih(t,n.blocks,n.tokens).reverse())t=t.slice(0,h.from)+t.slice(h.to);if(e.mode==="rule")return t;const{blocks:r,tokens:i}=Ce(t),s=r.find(h=>h.name==="routing");if(!s)throw new de("act.modeNoRouting");const a=t.slice(s.open+1,s.close).match(/\n([ \t]+)\S/)?.[1]??" ";let l=s.open+1;t[l]===`
-`&&l++;let c=null;const d=h=>{const b=t.indexOf(`
-`,h);return t.slice(t.lastIndexOf(`
-`,h-1)+1,b===-1?void 0:b).trim()};for(let h=0;hs.close||b.depth!==1||b.parens!==0||t.slice(b.from,b.to)!=="->")continue;const g=i[h+1],v=i[h+2],m=i[h+3],y=i[h+4];if(!(g&&v&&m&&y&&t.slice(v.from,v.to)==="("&&t.slice(m.from,m.to)==="must"&&t.slice(y.from,y.to)===")")){c??=d(b.from);continue}if(c!==null)throw new de("act.modeInterleaved",c);const x=t.indexOf(`
-`,y.to);l=x!==-1&&x ${p} ${rh}
-`+t.slice(l)}const S3=(t,e)=>t.mode===e.mode&&(t.mode!=="global"||e.mode!=="global"||t.target===e.target),Wc=["ok","warn","err"];function P3(t,e,n,r){const i=_v(t),s=t?nh(Kv,t,r):n;return!t||e!=="degraded"&&e!=="failed"?{tone:i,text:s,href:null}:{tone:Wc[Math.max(Wc.indexOf(i),e==="failed"?2:1)],text:r(e==="failed"?"ov.status.datapathFailed":"ov.status.datapathDegraded",{status:s}),href:xe("overview",{card:"datapath"})}}const sh={rule:"mode.rule",direct:"mode.direct",global:"mode.global"};function k3(t,e,n,r,i,s,o=!0){const a=r?e??t:t,l=a.mode==="global"?a.target:(t.mode==="global"?t.target:n[0]?.name)??"";return{mode:o?a.mode:"",target:o?l:"",targetText:o&&l||"—",writable:r,dirty:r&&e!==null&&!S3(e,t),incomplete:a.mode==="global"&&!l,status:s(i?"act.modeReadOnly":"act.modeUnavailable"),readOnly:i&&!r,modes:["rule","direct","global"].map(c=>[c,s(sh[c])]),targets:n.map(c=>({id:c.name,label:c.name}))}}function C3({writable:t,incomplete:e,status:n},r,i){return r?{mode:null,global:null}:t?{mode:e?i("act.globalMissing"):null,global:null}:{mode:null,global:n}}const T3=t=>t.event!=="runtime.updated"&&t.event!=="flow.updated"&&!Ov(t),R3=8;function M3(t,e){const n=[];for(const r of t){const i=Hv(r,e),s=[r.event,i.key,...Object.entries(i.params??{}).map(([l,c])=>`${l}=${String(c)}`)].join("|"),o=n[n.length-1];if(o&&o.key===s){o.count+=1;continue}if(n.length===R3)break;const a=Object.fromEntries(Object.entries(i.params??{}).map(([l,c])=>[l,typeof c=="string"?Vv(c):c]));n.push({id:r.id,tone:r.event==="flow.gap"?"warn":"info",kindText:e(r.event==="flow.gap"?"ui.warning":"ui.notice"),summaryText:e("ui.valuePair",{label:nh(Av,r.event,e),value:e(i.key,a)}),key:s,count:1})}return n.map(({key:r,count:i,summaryText:s,...o})=>({...o,summaryText:i>1?e("ui.aside",{text:s,note:e("act.noticeRepeat",{n:i})}):s}))}function N3(t,e,n,r=!1){return t.down.some(i=>i!==null)||t.up.some(i=>i!==null)?"ready":e===!1?r?"loading":"unavailable":n?"empty":"loading"}function L3(t,e,n){const r=new Map;for(const o of t)r.set(o.name,(r.get(o.name)??0)+1);const i=t.map(o=>{const a=kv(o);return{id:o.id,name:o.name,label:r.get(o.name)>1?n("ui.aside",{text:o.name,note:[o.subscription_tag??o.provider_id??o.id,o.id].join(n("ui.separator"))}):o.name,tcp:Cv(a),alive:a?.state==="unavailable"?!1:a?.state==="healthy"?!0:void 0,unavailable:a?.state==="unavailable",healthError:a?.error?Jy(a.error,n):void 0}}),s=i.find(o=>o.id===e)??i.find(o=>o.tcp!==void 0)??i.find(o=>!Cn(o.name))??i[0];return{options:i,big:i.length>12,id:s?.id??"",name:s?.name??"",latency:s?.alive&&s.tcp!==void 0?Wf(s.tcp,n):"—",latencyClass:s?.alive&&s.tcp!==void 0?`rp-big ms ${np(s.tcp)}`:"rp-big",tone:s?.alive?"ok":s?.unavailable?"err":"muted",status:s?.alive?null:n(s?.unavailable?"act.unavailable":"act.unknown"),healthError:s?.healthError}}function I3(t,e,n,r="en",i){const{tone:s,text:o}=P3(t?.lifecycle.state,i,e(n===!1?"act.modeUnavailable":"ui.loading"),e);return{status:{tone:s,text:o},download:qs(t?.traffic.rates?.download_bytes_per_second??null,r),upload:qs(t?.traffic.rates?.upload_bytes_per_second??null,r),connections:t?.traffic.connections.total==null?"—":Pn(t.traffic.connections.total,r),cpu:j1(t?.process.cpu_percent,e),cpuHelp:{title:e("act.cpu"),text:e("act.cpuHelp")}}}function j3(t,e,n,r){const i=Rv(t);return{since:t?r("act.since",{time:N1(t.counter_since,e)}):"",total:ir(i.total,e),rows:i.rows.map((s,o)=>({name:xa(s.name,r),value:s.percent===null?null:Math.round(s.percent),text:ir(s.bytes,e),href:xe("connections",{out:s.name}),color:s.kind==="builtin"&&s.name==="block"?n.love:n.cat[o%n.cat.length]}))}}function D3(t,e,n,r,i){return x3(t,e).map((s,o)=>({name:s.name,value:s.percent===null?ir(s.download,r):i("ui.share",{bytes:ir(s.download,r),percent:s.percent}),pct:s.percent??0,color:n.cat[o%n.cat.length],href:xe("connections",e==="dev"?{src:s.name}:{q:s.name})}))}function K3(){const t=Q(),e=oe(),n=r5(T3);return{rows:u.useMemo(()=>M3(n.records,t),[n.records,t]),total:n.records.length,error:n.error,retry:()=>void ln().then(()=>g2(e)),loading:!n.error&&n.available===null,empty:t(n.available===!1?"event.unavailable":"act.noIssues")}}const _3=(t,e)=>t.kind==="invalid"?{kind:"negative",text:e("ui.writeInvalid",{n:t.errors})}:t.kind==="failed"?aa(t.error,e,e("ui.writeFailed")):null;function F3(){const t=ze().data?.resources,e=Ye(t,"config",{whileLoading:!1})&&t?.config.writable===!0,n=Ip(Ye(t,"config",{whileLoading:!1})),r=Kp(n.refetch,{rethrow:!0}),i=n.data?.sources.find(d=>d.kind==="main"&&d.writable)??null,s=Y2(i),o=s?i:null,a=s===!1,l=u.useMemo(()=>n.error??(a?new de("config.incomplete"):null),[n.error,a]),{apply:c}=r;return{main:o,writable:e,busy:r.busy!==null,error:l,retry:n.refetch,apply:u.useCallback(async(d,p=o??void 0)=>{if(!p)return{kind:"failed",error:l??new de("config.incomplete")};try{const h=await c(p,d);return h?h.diagnostics?{kind:"invalid",errors:h.diagnostics.filter(b=>b.level==="error").length}:{kind:"ok"}:{kind:"cancelled"}}catch(h){return{kind:"failed",error:h}}},[o,c,l])}}const A3={traffic_history:"record_traffic",memory_history:"record_memory",logs:"record_logs",dns_log:"record_dns_log",flows:"record_flows"},Gc=t=>({code:"recorder-off",settings:[{key:t,value:"true"}]}),gs={code:"build-lacks"},O3="https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/release/geosite.dat",B3="https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/release/geoip.dat";function H3(t,e){const n=e.resources;if(e.unreported?.includes(t))return gs;switch(t){case"config":return n.config.available?n.config.writable===!1?{code:"writes-off",settings:[{key:"config_write",value:"true"}]}:void 0:{code:"config-unloaded"};case"manage":return{code:"main-file-read-only"};case"probes":case"subscriptions":return{code:"starting-or-stopping"};case"geodata":return n.geodata.available?n.geodata.configurable_sources===!0?void 0:{code:"no-download-urls",settings:[{key:"geosite_download_url",value:`'${O3}'`},{key:"geoip_download_url",value:`'${B3}'`}]}:{code:"geodata-mismatch"};case"flows":{if(!n.flows.available)return gs;const r=n.runtime_settings;return!r.available||!r.fields||r.fields.includes("flows.max_flows")?{code:"recorded-on-demand"}:Gc("record_flows")}default:{const r=A3[t];return r?Gc(r):gs}}}const V3=new Set(["native_api","clash_api"]),oh=t=>t.some(e=>V3.has(e.name)||oh(e.children)),U3={id:"honk",reason:H3,uncheckedHooks:["cgroup","sk_lookup","dae0peer"],holdsCredentials:t=>oh(Ce(t.content).blocks),snippet:t=>["experimental {"," native_api {",...t.map(({key:e,value:n})=>` ${e}: ${n}`)," }","}"].join(`
-`),settingName:t=>`experimental.native_api.${t}`,redactedSections:t=>t.filter(e=>e.name==="experimental"&&e.children.some(n=>n.name==="native_api")).map(e=>({block:e,name:"experimental.native_api"})),daeText:!0},q3={id:"unknown",reason:()=>{},holdsCredentials:()=>!1,snippet:t=>t.map(({key:e,value:n})=>`${e}: ${n}`).join(`
-`),settingName:t=>t,redactedSections:()=>[],daeText:!1,uncheckedHooks:[]};function ah(t){switch(t?.engine.name){case"honk":return U3;default:return q3}}function z3(){const t=Q(),e=ze().data?.resources,n=K2(Ye(e,"groups",{whileLoading:!1})),r=Ip(Ye(e,"config",{whileLoading:!1})),{main:i,writable:s,busy:o,error:a,retry:l,apply:c}=F3(),d=Ra().data,p=ah(d).daeText,h=p?(i??r.data?.sources.find(E=>E.kind==="main"))?.content:void 0,b=u.useMemo(()=>h==null?{mode:"rule"}:w3(h),[h]),[g,v]=u.useState(null),m=(p||!d)&&!!e?.config.available,y=k3(b,g,n.data??[],p&&s&&!!i,m,t,h!=null),$=B1(y.dirty,()=>v(null)),x=async()=>{if(!g||y.incomplete)return;const E=g,R=await c(S=>E3(S,E));if(R.kind==="ok"&&($.clear(),v(S=>S===E?null:S),Me("positive",t("act.modeApplied",{mode:t(sh[E.mode])}))),R.kind==="failed"&&R.error instanceof de&&R.error.key==="act.modeInterleaved"){Me("negative",t(R.error.key),{detail:R.error.detail??void 0});return}const k=_3(R,t);k&&Me(k.kind,k.text,{detail:k.detail,requestId:k.requestId})};return{...y,reasons:C3(y,o,t),error:a,retry:l,busy:o,pick:E=>{E==="global"?v({mode:E,target:y.target}):(E==="direct"||E==="rule")&&v({mode:E})},pickTarget:E=>v({mode:"global",target:E}),apply:()=>void x()}}const Yc={connections:"nav.connections",flows:"flow.records",routing_trace:"ov.r.routingTrace",dns_query:"ov.r.dnsQuery",dns_cache:"ov.r.dnsCache",dns_log:"ov.r.dnsLog",events:"nav.events",probes:"ov.r.probes",traffic_history:"ov.r.trafficHistory",memory_history:"ov.r.memoryHistory",runtime_outbounds:"ov.r.outbounds",logs:"nav.logs",providers:"nodes.providers",rules:"rule.listTitle",config:"nav.config",config_validate:"ov.r.configValidate",runtime_settings:"settings.runtime",geodata:"settings.geodata"},W3=["configNotLoaded","configReadOnly","mainReadOnly","recordOff","geodataUpdate","geodataUnreadable","notRunning","flowsIdle","notProvided"],G3={"recorder-off":"recordOff","starting-or-stopping":"notRunning","geodata-mismatch":"geodataUnreadable"},Y3={"config-unloaded":{text:"ov.lim.configMissing"},"writes-off":{text:"ov.lim.configWrite",docs:["read-only","ov.lim.docsReadOnly"]},"main-file-read-only":{text:"ov.lim.mainReadOnly",docs:["read-only","ov.lim.docsReadOnly"]},"recorder-off":{text:"ov.lim.recordOff"},"no-download-urls":{text:"ov.lim.geoNoStateDb",docs:["state-db","ov.lim.docsStateDb"]},"geodata-mismatch":{text:"ov.lim.geoUnreadable"},"starting-or-stopping":{text:"ov.lim.notRunningReason"}};function J3(t,e,n,r){const i=t.resources,s=ah(e),o=y=>s.reason(y,t),a=new Map,l=(y,$,x=Yc[$])=>{const E=a.get(y)??[];E.push({id:$,label:n(x)}),a.set(y,E)},c=(y,$)=>({href:Oa(r,y),text:n($),external:!0}),d=(y,$)=>({label:n("ov.lim.why"),text:n(y),link:$}),p=y=>{const $=y.find(k=>k!==void 0),x=$&&Y3[$.code];if(!x)return;const E=x.docs&&c(...x.docs),R=y.flatMap(k=>k&&"settings"in k?k.settings:[]);return R.length>0?{label:n("ov.lim.howTo"),text:n(x.text),snippet:s.snippet(R),link:E}:d(x.text,E)},h=i.config.available?i.config.writable!==!0?"configReadOnly":null:"configNotLoaded";h&&l(h,"config");const b=!i.config_validate.available&&h==="configNotLoaded";b&&l("configNotLoaded","config_validate"),(i.nodes.can_manage===!1||i.providers.can_manage===!1)&&l(h??"mainReadOnly","manage","ov.lim.manage");const g=i.runtime_settings.available&&(i.runtime_settings.fields??[]).includes("record_flows");for(const y of Object.keys(Yc)){const $=i[y];if(y==="config"||y==="config_validate"&&b)continue;const x=y==="flows"&&$.available&&(i.flows.recording==="off"||i.flows.recording==="auto");if(x||!$.available){const E=o(y)?.code;l((E&&G3[E])??(x?"flowsIdle":"notProvided"),y)}else y==="geodata"&&i.geodata.can_update!==!0&&l(h??"geodataUpdate",y),y==="providers"&&i.providers.can_refresh===!1&&l("notRunning","subscriptions","ov.lim.subscriptions"),y==="connections"&&i.connections.can_close===!1&&l("notProvided","close","ov.lim.close")}const v=()=>{const y=i.geodata;if(y.assets?.length===0)return d("ov.lim.geoNoAssets");const $=p([o("geodata")]);if($)return $;if(y.configurable_sources===!0)return d("ov.lim.geoNoUrl",{href:xe("settings",{card:"geodata"}),text:n("settings.geodata")})},m=(y,$)=>{const x=$.length,E=()=>$.map(R=>o(R.id));switch(y){case"configNotLoaded":return{headline:n("ov.lim.h.configNotLoaded"),named:["config"],help:p([o("config")])};case"configReadOnly":return{headline:n("ov.lim.h.configReadOnly"),named:["config"],help:p([o("config")])};case"mainReadOnly":return{headline:n("ov.lim.h.mainReadOnly"),named:["manage"],help:p([o("manage")])};case"recordOff":return{headline:n("ov.lim.h.recordOff",{n:x}),help:p(E())};case"geodataUpdate":return{headline:n("ov.lim.h.geodataUpdate"),named:["geodata"],help:v()};case"geodataUnreadable":return{headline:n("ov.lim.h.geodataUnreadable"),named:["geodata"],help:p(E())};case"notRunning":return{headline:x>1?n("ov.lim.h.notRunning",{n:x}):n($[0].id==="probes"?"ov.lim.h.probes":"ov.lim.h.subscriptions"),named:x>1?[]:[$[0].id],help:p(E())};case"flowsIdle":return{headline:n(o("flows")?.code==="recorded-on-demand"?"ov.lim.h.flowsIdle":"ov.lim.h.flowsOff"),named:["flows"],link:g?{href:xe("settings",{card:"runtime"}),text:n("settings.runtime")}:void 0};case"notProvided":{const R=E().some(k=>k?.code==="build-lacks");return{headline:n(R?"ov.lim.h.notProvided":"ov.lim.h.notProvidedOther",{n:x}),link:R?c("honk-version","ov.lim.docsVersion"):void 0}}}};return W3.flatMap(y=>{const $=a.get(y);if(!$)return[];const{named:x=[],...E}=m(y,$),R=$.filter(k=>!x.includes(k.id));return[{cause:y,...E,items:$,features:R.length>0?Wy(r,$.map(k=>k.label)):void 0}]})}function X3(){const t=Q(),e=Ln(),n=_e[e],r=Aa(),i=ze(),s=i.data?.resources,o=E2(Ye(s,"runtime",{whileLoading:!1})),a=R2(Ye(s,"runtime_memory",{whileLoading:!1})),l=C2(Ye(s,"datapath",{whileLoading:!1})),[c,d]=u.useState("live"),p=qc[c]??120,h=g3(i.data,a.data),b=P2(p,i.data),g=v3(o.data),v=u.useMemo(()=>b.data?$3(b.data):[],[b.data]),m=u.useMemo(()=>zc(g,v,p),[g,v,p]),y=u.useMemo(()=>zc(g,v,qc.live,void 0,24),[g,v]),$=u.useMemo(()=>[{label:t("act.download"),color:r.cat[0],values:m.down},{label:t("act.upload"),color:r.cat[3],values:m.up}],[t,r,m]),x=u.useMemo(()=>[{label:t("act.rss"),color:r.cat[0],values:h.rss},{label:t("act.cgroup"),color:r.cat[3],values:h.cgroup}],[t,r,h.rss,h.cgroup]),E=u.useMemo(()=>({since:m.since,until:m.until}),[m.since,m.until]),R=u.useMemo(()=>({since:h.since,until:h.until}),[h.since,h.until]),k=u.useCallback(T=>qs(T==null?null:T*1e3,n),[n]),S=u.useCallback(T=>Pn(T,n),[n]),C=u.useCallback(T=>ir(T??null,n),[n]),M=u.useMemo(()=>I3(o.data,t,s?.runtime.available,n,l.data?.state),[o.data,t,s?.runtime.available,n,l.data?.state]),I=Ra(),_=u.useMemo(()=>i.data?J3(i.data,I.data,t,e).reduce((T,j)=>T+j.items.length,0):0,[i.data,I.data,t,e]),z=K3(),U=z3();return{...M,limited:_>0?t("act.limited",{n:_}):null,mode:U,notices:z,range:c,setRange:d,locale:n,p:r,spark:y,traffic:$,memorySeries:x,chartRate:k,count:S,memoryBytes:C,trafficBounds:E,memoryBounds:R,trafficTimestamps:m.timestamps,memoryTimestamps:h.timestamps,ready:!!i.data,discoveryFailed:!!i.error,error:o.error,retry:o.refetch,history:{error:b.error,retry:b.refetch,state:N3(m,s?.traffic_history.available,!!b.data,Ye(s,"runtime",{whileLoading:!1}))},memoryState:{error:a.error??h.error,retry:a.error?a.refetch:h.retry,state:h.samples.length>1?"ready":s?.runtime_memory.available===!1?"unavailable":"loading"}}}function Z3({className:t,...e}){return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:[f.jsx("path",{fill:"currentColor",d:"M10 18.75c-4.825 0-8.75-3.925-8.75-8.75S5.175 1.25 10 1.25s8.75 3.925 8.75 8.75-3.925 8.75-8.75 8.75m0-16c-3.998 0-7.25 3.252-7.25 7.25s3.252 7.25 7.25 7.25 7.25-3.252 7.25-7.25S13.998 2.75 10 2.75"}),f.jsx("path",{fill:"currentColor",d:"M13.249 12.645c-.129 0-.26-.034-.379-.104l-3.22-1.895c-.23-.134-.37-.38-.37-.646V5c0-.414.335-.75.75-.75s.75.336.75.75v4.571l2.85 1.677c.357.21.476.67.266 1.026-.14.239-.39.37-.647.37"})]})}const n4=(t,e)=>`${t}:${e}`;function Q3(t,e){const n=t.indexOf(":"),r=t.slice(0,n);return n>0&&e.includes(r)?{kind:r,value:t.slice(n+1)}:null}const r4=(t,e)=>e&&t?xe("rules",{tab:"list",rule:t}):void 0,e7=(t,e)=>xe("nodes",{provider:Iv(t,e),q:t.name});function i4(t,e){const n=t?.find(r=>r.name===e)?.id;return n?Hi("",{group:n}):""}const t7=["network","domain","dst_ip","dst_port","src_ip","src_port","pname"],s4=t=>Hi("",{tab:"trace",...Object.fromEntries(t7.map(e=>[e,t[e]||null]))});function o4(t){const e=new URLSearchParams(t),n=r=>e.get(r)??"";return!n("domain")&&!n("dst_ip")?null:{network:n("network")==="udp"?"udp":"tcp",domain:n("domain"),dst_ip:n("dst_ip"),dst_port:n("dst_port"),src_ip:n("src_ip"),src_port:n("src_port"),pname:n("pname")}}const a4=xe("settings",{card:"runtime"});function l4(t,e=h5){return t?Q3(t,e):null}function c4(t,e){const n=t.filter(r=>r.kind==="main"||r.kind==="include");for(const r of n){const i=Ce(r.content).blocks.find(s=>s.name===e);if(i)return xe("config",{tab:"source",source:r.id,line:String(i.line+1)})}return xe("config",{tab:"source",source:n.find(r=>r.kind==="main")?.id??null})}function n7(){const t=Q(),e=ze(),n=N2(Ye(e.data?.resources,"nodes",{whileLoading:!1})),[r,i]=u.useState(""),s=u.useMemo(()=>L3(n.data??[],r,t),[n.data,r,t]);!r&&s.id&&i(s.id);const o=n.data?.find(c=>c.id===s.id),a=L2(!!o&&o.provider_id==null&&Ye(e.data?.resources,"providers",{whileLoading:!1})),l=o?e7(o,a.data?.providers??[]):void 0;return{...s,href:l,setChosen:i,loading:e.loading||n.loading&&!n.data,error:n.error,retry:n.refetch}}const r7=[["HK",["hk","hkg","hongkong","hong kong","香港","港"]],["TW",["tw","tpe","taiwan","taipei","台灣","台湾","臺灣","台北"]],["JP",["jp","jpn","japan","tokyo","osaka","nrt","hnd","kix","日本","東京","东京","大阪"]],["SG",["sg","sgp","singapore","sin","新加坡","獅城","狮城"]],["KR",["kr","kor","korea","seoul","icn","韓國","韩国","首爾","首尔"]],["US",["us","usa","united states","america","lax","sjc","sea","nyc","los angeles","san jose","seattle","美國","美国","洛杉磯","洛杉矶","聖何塞","圣何塞","西雅圖","西雅图"]],["CA",["can","canada","toronto","yyz","加拿大"]],["GB",["gb","uk","united kingdom","britain","london","lhr","英國","英国","倫敦","伦敦"]],["DE",["de","deu","germany","frankfurt","fra","德國","德国","法蘭克福","法兰克福"]],["FR",["fr","france","paris","cdg","法國","法国","巴黎"]],["NL",["nl","nld","netherlands","amsterdam","ams","荷蘭","荷兰","阿姆斯特丹"]],["RU",["ru","rus","russia","moscow","俄羅斯","俄罗斯","莫斯科"]],["AU",["au","aus","australia","sydney","syd","澳洲","澳大利亞","澳大利亚","悉尼"]],["IN",["in","ind","india","mumbai","bom","印度","孟買","孟买"]],["TR",["tr","tur","turkey","türkiye","istanbul","土耳其"]],["BR",["br","bra","brazil","sao paulo","gru","巴西"]],["AR",["ar","arg","argentina","阿根廷"]],["MY",["my","mys","malaysia","kul","馬來西亞","马来西亚"]],["TH",["th","tha","thailand","bangkok","bkk","泰國","泰国"]],["VN",["vn","vnm","vietnam","越南"]],["PH",["ph","phl","philippines","manila","菲律賓","菲律宾"]],["ID",["id","idn","indonesia","jakarta","印尼"]],["AE",["ae","are","uae","dubai","dxb","阿聯","阿联","杜拜","迪拜"]],["CH",["ch","che","switzerland","zurich","瑞士"]],["SE",["se","swe","sweden","stockholm","瑞典"]],["FI",["fi","fin","finland","helsinki","芬蘭","芬兰"]],["IT",["it","ita","italy","milan","義大利","意大利"]],["ES",["es","esp","spain","madrid","西班牙"]],["PL",["pl","pol","poland","warsaw","波蘭","波兰"]],["MO",["mo","mac","macau","macao","澳門","澳门"]],["CN",["cn","chn","china","shanghai","beijing","shenzhen","中國","中国","上海","北京","深圳"]]],i7=/[a-z0-9]+/g,Jc=/^[a-z0-9 ]+$/,s7=r7.map(([t,e])=>({iso:t,latin:e.filter(n=>Jc.test(n)),other:e.filter(n=>!Jc.test(n))}));function o7(t){const e=t.toLowerCase(),n=new Set(e.match(i7)??[]);for(const{iso:r,latin:i,other:s}of s7)if(i.some(o=>n.has(o)||o.includes(" ")&&e.includes(o))||s.some(o=>t.includes(o)))return r;return null}function a7(t,e){const n=t.map(i=>({id:i.id??i.name,label:i.label??i.name,tcp:i.tcp,region:o7(i.name)??"—",description:i.alive===!1?e("ui.unavailable"):i.tcp===void 0?"—":Wf(i.tcp,e),className:i.alive===!1?"desc err":i.tcp===void 0?"desc":`desc ${np(i.tcp)}`})),r=new Map;for(const i of[...n].sort((s,o)=>Tv(s.tcp,o.tcp))){const s=r.get(i.region);s?s.push(i):r.set(i.region,[i])}return{items:n,sections:[...r].map(([i,s])=>({title:i,items:s,count:e("ui.sectionCount",{n:s.length})}))}}const lh=ba(()=>he(()=>import("./NodeSearch-BR3IX28j.js"),__vite__mapDeps([23,3,24,25,26]),import.meta.url).then(t=>({default:t.NodeSearch}))),l7=()=>void lh.preload().catch(()=>{});function c7({model:t,label:e}){const n=Q(),r=u.useId(),i=f.jsx(u7,{model:t,label:e,describedBy:r}),s=f.jsx("p",{id:r,className:"rp-label rp-menu-note",children:n("act.nodePickHelp")}),o=t.big?l7:void 0;return f.jsx("span",{className:"rp-contents",onPointerEnter:o,onFocus:o,children:f.jsx(Uf,{appearance:"select",placement:"bottom start",label:e,content:f.jsxs(f.Fragment,{children:[s,t.big?f.jsx(u.Suspense,{fallback:f.jsxs(f.Fragment,{children:[f.jsx(C1,{search:!0,label:n("policy.filter"),isDisabled:!0,className:"rp-menu-search"}),f.jsx("div",{className:"rp-menu-scroll rp-menu-pending"})]}),children:f.jsx(lh.Component,{children:i})}):i]}),children:f.jsx("span",{className:"rp-il",children:f.jsx("span",{className:"rp-truncate",children:t.name})})})})}function u7({model:t,label:e,describedBy:n}){const r=Q(),i=u.useMemo(()=>a7(t.options,r),[t.options,r]),s=o=>f.jsx(ca,{item:o,children:f.jsx("span",{className:o.className,children:o.description})},o.id);return f.jsx(nr,{"aria-label":e,"aria-describedby":n,className:"rp-menu-scroll",selectionMode:t.big?void 0:"single",selectedKeys:t.big?void 0:[t.id],onSelectionChange:t.big?void 0:ni(t.setChosen),children:t.big?i.sections.map(o=>f.jsxs(Yd,{id:o.title,selectionMode:"single",selectedKeys:[t.id],onSelectionChange:ni(t.setChosen),children:[f.jsx(dd,{className:"rp-sec-h",children:f.jsxs("span",{className:"rp-il",children:[o.title,f.jsx("span",{className:"rp-muted",children:o.count})]})}),o.items.map(s)]},o.title)):i.items.map(s)})}function d7(){const t=Q(),e=n7();return f.jsxs(st,{title:t("act.latency"),tile:{icon:f.jsx(Z3,{}),tint:5,kind:"metric"},aside:f.jsx(c7,{label:t("act.node"),model:e}),children:[e.error&&f.jsx(Xe,{error:e.error,onRetry:e.retry}),f.jsx("div",{className:"rp-tile-body",children:e.loading?f.jsx(Je,{}):f.jsxs(f.Fragment,{children:[f.jsx("span",{className:"rp-tile-val",children:e.href?f.jsx(Te,{appearance:"link",href:e.href,label:t("ui.valuePair",{label:e.name,value:e.latency}),children:f.jsx("span",{className:e.latencyClass,children:e.latency})}):f.jsx("span",{className:e.latencyClass,children:e.latency})}),e.status&&f.jsx(Fe,{text:e.healthError,children:f.jsx(In,{small:!0,tone:e.tone,children:e.status})})]})})]})}function f7(){const t=Q(),e=_e[Ln()],n=Aa(),r=ze().data?.resources.runtime_outbounds.available,i=S2(r===!0),s=u.useMemo(()=>j3(i.data,e,n,t),[i.data,e,n,t]),o=r===!1?"unavailable":i.data?s.rows.length?"ready":"empty":"loading";return{view:s,state:o,error:i.error,retry:i.refetch}}function p7(){const t=Q(),{view:e,state:n,error:r,retry:i}=f7();return f.jsxs(st,{children:[f.jsx("div",{className:"rp-row",children:f.jsxs("div",{className:"rp-cluster",children:[f.jsx("h3",{className:"rp-h3",children:t("act.outUsage")}),e.since&&f.jsx("span",{className:"rp-label",children:e.since})]})}),r&&n!=="ready"?f.jsx(Xe,{error:r,onRetry:i}):n==="unavailable"?f.jsx("div",{className:"rp-chart-wait tall",children:f.jsx(lt,{children:t("act.noOutbounds")})}):n==="loading"?f.jsx("div",{className:"rp-chart-wait tall",children:f.jsx(Je,{children:t("ui.loading")})}):n==="empty"?f.jsx("div",{className:"rp-chart-wait tall",children:f.jsx(lt,{children:t("ui.empty")})}):f.jsx(e3,{label:t("act.outUsage"),rows:e.rows,total:e.total})]})}function h7(){const t=Q(),e=_e[Ln()],n=Aa(),[r,i]=u.useState("dev"),s=ze().data?.resources.connections.available,[o,a]=f1(),[l,c]=u.useState(!1),d=F2(void 0,s===!0,!a&&l,Ct.summary);d.data&&!l&&c(!0);const p=u.useMemo(()=>D3(d.data,r,n,e,t),[d.data,r,n,e,t]),h=d.data?p.length?"ready":"empty":d.error?"error":s===!0?"loading":"unavailable";return{ref:o,by:r,setBy:i,rows:p,state:h,error:d.data?void 0:d.error,retry:d.refetch,truncated:!!d.data?.truncated}}function m7(){const t=Q(),{ref:e,by:n,setBy:r,rows:i,state:s,error:o,retry:a,truncated:l}=h7();return f.jsxs(st,{ref:e,children:[f.jsxs("div",{className:"rp-row",children:[f.jsx(Fe,{text:t("act.rankingScope"),children:f.jsx("h3",{className:"rp-h3",children:t("act.topDevices")})}),f.jsx(ua,{label:t("act.topDevices"),value:n,onChange:r,items:[["dev",t("act.devices")],["host",t("act.domains")]]})]}),o&&f.jsx(Xe,{error:o,onRetry:a}),l&&f.jsx(Fe,{text:t("act.rankingTruncated"),children:f.jsx(_f,{tone:"warn",children:t("act.truncated")})}),s==="error"?null:s==="loading"?f.jsx("div",{className:"rp-chart-wait bars",children:f.jsx(Je,{children:t("ui.loading")})}):s==="unavailable"?f.jsx("div",{className:"rp-chart-wait bars",children:f.jsx(lt,{children:t("act.noConnections")})}):s==="empty"?f.jsx("div",{className:"rp-chart-wait bars",children:f.jsx(lt,{children:t("act.rankingEmpty")})}):f.jsx("div",{className:"rp-list",children:i.map(c=>f.jsx(p1,{label:f.jsx(Te,{appearance:"link",href:c.href,children:f.jsx(Fe,{children:c.name})}),value:c.value,pct:c.pct,color:c.color},c.name))})]})}function b7(){const t=Q(),e=X3(),{p:n,locale:r,range:i,setRange:s,traffic:o,spark:a,chartRate:l,count:c,memorySeries:d,memoryBytes:p,notices:h}=e,b=e.error&&f.jsx(Xe,{error:e.error,onRetry:e.retry});return e.ready?f.jsxs(f.Fragment,{children:[b,f.jsxs("div",{className:"rp-quick",children:[f.jsx(r3,{model:e.mode}),f.jsx(st,{children:f.jsxs("div",{className:"rp-row",children:[f.jsxs("div",{className:"rp-cluster",children:[f.jsx(In,{tone:e.status.tone,children:e.status.text}),e.limited&&f.jsx(Te,{appearance:"link",href:xe("overview",{card:"limits"}),children:e.limited})]}),f.jsx(Te,{appearance:"button",quiet:!0,href:xe("overview"),children:t("act.viewDetails")})]})})]}),f.jsxs("div",{className:"rp-strip",children:[f.jsx(cs,{href:xe("connections",{tab:"traffic"}),label:t("act.download"),tile:{icon:f.jsx(K5,{}),tint:1},children:f.jsxs("div",{className:"rp-tile-body",children:[f.jsx("span",{className:"rp-tile-val",children:f.jsx("span",{className:"rp-big",children:e.download})}),f.jsx("span",{className:"rp-spark",children:f.jsx(bs,{values:a.down,timestamps:a.timestamps,color:n.cat[0],floor:100,fmt:l,locale:r})})]})}),f.jsx(cs,{href:xe("connections",{tab:"traffic"}),label:t("act.upload"),tile:{icon:f.jsx(_5,{}),tint:4},children:f.jsxs("div",{className:"rp-tile-body",children:[f.jsx("span",{className:"rp-tile-val",children:f.jsx("span",{className:"rp-big",children:e.upload})}),f.jsx("span",{className:"rp-spark",children:f.jsx(bs,{values:a.up,timestamps:a.timestamps,color:n.cat[3],floor:100,fmt:l,locale:r})})]})}),f.jsx(cs,{href:xe("connections",{tab:"list"}),label:t("act.active"),tile:{icon:f.jsx(Wp,{}),tint:3},children:f.jsxs("div",{className:"rp-tile-body",children:[f.jsx("span",{className:"rp-tile-val",children:f.jsx("span",{className:"rp-big",children:e.connections})}),f.jsx("span",{className:"rp-spark",children:f.jsx(bs,{values:a.connections,timestamps:a.timestamps,color:n.cat[2],fmt:c,locale:r})})]})}),f.jsx(d7,{}),f.jsx(st,{title:t("act.cpu"),tile:{icon:f.jsx(F5,{}),tint:2,kind:"metric"},aside:f.jsx(Jf,{...e.cpuHelp}),children:f.jsx("div",{className:"rp-tile-body",children:f.jsx("span",{className:"rp-tile-val",children:f.jsx(Te,{appearance:"link",href:xe("overview"),label:t("ui.valuePair",{label:t("act.cpu"),value:e.cpu}),children:f.jsx("span",{className:"rp-big",children:e.cpu})})})})})]}),f.jsxs("div",{className:"rp-g21",children:[f.jsx(st,{title:t("act.traffic"),aside:f.jsx(ua,{label:t("act.historyRange"),value:i,onChange:s,items:[["live",t("act.live")],["m10",t("act.m10")],["h1",t("act.h1")],["h6",t("act.h6")],["h24",t("act.h24")],["d7",t("act.d7")]]}),children:e.history.error&&e.history.state!=="ready"?f.jsx(Xe,{error:e.history.error,onRetry:e.history.retry}):e.history.state==="unavailable"?f.jsx("div",{className:"rp-chart-wait tall",children:f.jsx(lt,{children:t("act.noHistory")})}):e.history.state==="loading"?f.jsx("div",{className:"rp-chart-wait tall",children:f.jsx(Je,{children:t("ui.loading")})}):e.history.state==="empty"?f.jsx("div",{className:"rp-chart-wait tall",children:f.jsx(lt,{children:t("act.emptyHistory")})}):f.jsxs(f.Fragment,{children:[f.jsx(Ac,{series:o,fmt:l}),f.jsx(Oc,{label:t("act.traffic"),series:o,timestamps:e.trafficTimestamps,fmt:l,locale:r,height:120,fill:!0,window:e.trafficBounds})]})}),f.jsx(p7,{})]}),f.jsxs("div",{className:"rp-g3",children:[f.jsx(m7,{}),f.jsx(st,{title:t("act.memory"),aside:f.jsx(Te,{appearance:"button",quiet:!0,small:!0,href:xe("overview"),children:t("act.viewDetails")}),children:e.memoryState.error?f.jsx(Xe,{error:e.memoryState.error,onRetry:e.memoryState.retry}):e.memoryState.state==="ready"?f.jsxs(f.Fragment,{children:[f.jsx(Ac,{series:d,fmt:p}),f.jsx(Oc,{label:t("act.memory"),series:d,timestamps:e.memoryTimestamps,fmt:p,locale:r,height:150,fill:!0,baseline:"auto",window:e.memoryBounds})]}):e.memoryState.state==="unavailable"?f.jsx(lt,{children:t("act.noHistory")}):f.jsx("div",{className:"rp-chart-wait",children:f.jsx(Je,{children:t("act.sampling")})})}),f.jsx(i3,{...h})]})]}):b||(e.discoveryFailed?null:f.jsx(Je,{children:t("ui.loading")}))}function g7({className:t,...e}){return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:f.jsx("path",{fill:"currentColor",d:"M17.203 5.3c-.244-.245-.622-.273-.873-.06-1.39 1.175-6.846 5.986-7.167 6.307-.462.478-.43 1.26.072 1.747.49.476 1.25.495 1.718.044.32-.322 5.133-5.776 6.31-7.165.212-.251.185-.63-.06-.874M16.488 15.25c-.128 0-.258-.032-.376-.102-.358-.207-.48-.666-.273-1.024.596-1.028.911-2.194.911-3.374 0-.36-.035-.737-.106-1.154-.07-.408.204-.796.612-.866.412-.066.796.204.866.612.086.502.128.962.128 1.408 0 1.443-.385 2.87-1.113 4.126-.139.24-.39.374-.65.374M3.512 15.25c-.259 0-.51-.134-.65-.374-.727-1.256-1.112-2.683-1.112-4.126C1.75 6.201 5.451 2.5 10 2.5c1.513 0 2.999.42 4.3 1.218.352.217.463.678.247 1.031-.216.354-.678.464-1.032.248C12.451 4.345 11.235 4 10 4c-3.722 0-6.75 3.028-6.75 6.75 0 1.18.315 2.346.91 3.374.208.358.086.817-.272 1.024-.118.07-.248.102-.376.102"})})}function y7({className:t,...e}){return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:[f.jsx("path",{fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinejoin:"round",d:"M8 2h4l.5 2.2 1.3.8 2.2-.6 2 3.4-1.7 1.5v1.4l1.7 1.5-2 3.4-2.2-.6-1.3.8L12 18H8l-.5-2.2-1.3-.8-2.2.6-2-3.4 1.7-1.5V9.3L2 7.8l2-3.4 2.2.6 1.3-.8Z"}),f.jsx("circle",{cx:10,cy:10,r:3,fill:"none",stroke:"currentColor",strokeWidth:1.5})]})}function We(t){const e=ba(t);return{Page:e.Component,preload:e.preload}}const v7={activity:{shortcut:"a",nav:{titleKey:"nav.activity",Icon:g7},Page:b7,requires:{}},overview:{shortcut:"o",nav:{titleKey:"nav.overview",hintKey:"hint.overview",Icon:N5},...We(()=>he(()=>import("./Overview-DmsPNbOk.js"),__vite__mapDeps([27,3,28,29,30,24,26,31,32]),import.meta.url).then(t=>({default:t.Overview}))),requires:{resources:["runtime"]}},connections:{shortcut:"c",nav:{titleKey:"nav.connections",hintKey:"hint.connections",Icon:Wp},...We(()=>he(()=>import("./Connections-ZaWxL_iR.js"),__vite__mapDeps([33,3,31,34,35,18,29,30,24,26,36,37,28,38,32,4,39,10]),import.meta.url).then(t=>({default:t.Connections}))),requires:{resources:["connections"]}},flows:{shortcut:"f",nav:{titleKey:"nav.flows",hintKey:"hint.flows",Icon:Yp},...We(()=>he(()=>import("./Flows-C6wPx8Fw.js"),__vite__mapDeps([40,3,37,41,42,7,29,30,24,26,36,4,39,38,32,43]),import.meta.url).then(t=>({default:t.Flows}))),requires:{resources:["flows"]}},dns:{shortcut:"d",nav:{titleKey:"nav.dns",hintKey:"hint.dns",Icon:j5},...We(()=>he(()=>import("./Dns-CTaKf4B9.js"),__vite__mapDeps([44,3,29,30,24,26,36,31,45,28,5,38,32,4,34,35,18]),import.meta.url).then(t=>({default:t.Dns}))),requires:{resources:["dns_query","dns_log","dns_cache"]}},policies:{shortcut:"p",nav:{titleKey:"nav.policies",hintKey:"hint.policies",Icon:L5},...We(()=>he(()=>import("./Policies-DZOKUNEx.js").then(t=>t.P),__vite__mapDeps([46,3,31,30,24,25,42,47,12]),import.meta.url).then(t=>({default:t.Policies}))),requires:{resources:["groups"]}},rules:{shortcut:"r",nav:{titleKey:"nav.rules",hintKey:"hint.rules",Icon:Qf},...We(()=>he(()=>import("./Rules-DutfCjRn.js"),__vite__mapDeps([48,3,4,45,49,41,37,6,50,51,38,32,29,30,24,26]),import.meta.url).then(t=>({default:t.Rules}))),requires:{resources:["routing_trace","flows","rules","dns_rules"]}},nodes:{shortcut:"n",nav:{titleKey:"nav.nodes",hintKey:"hint.nodes",Icon:Gp},...We(()=>he(()=>import("./Nodes-DZ5wlafB.js"),__vite__mapDeps([52,3,34,18,29,30,24,26,36,31,53,39,42,49,54,25,51,47,11]),import.meta.url).then(t=>({default:t.Nodes}))),requires:{resources:["nodes","providers"]}},config:{shortcut:"e",nav:{titleKey:"nav.config",hintKey:"hint.config",Icon:lp},...We(()=>he(()=>import("./Config-DTOoA8Ct.js"),__vite__mapDeps([55,3,28,49,42,9,56,32,53,29,30,24,26]),import.meta.url).then(t=>({default:t.Config}))),warm:"intent",requires:{resources:["config"]}},events:{shortcut:"v",nav:{titleKey:"nav.events",hintKey:"hint.events",Icon:D5},...We(()=>he(()=>import("./Events-Cryh0oVV.js"),__vite__mapDeps([57,3,29,30,24,26,28]),import.meta.url).then(t=>({default:t.Events}))),requires:{resources:["events"]}},logs:{shortcut:"l",nav:{titleKey:"nav.logs",hintKey:"hint.logs",Icon:I5},...We(()=>he(()=>import("./Logs-D9CEYzzB.js"),__vite__mapDeps([58,3,34,18,29,30,24,26,31,28,50]),import.meta.url).then(t=>({default:t.Logs}))),requires:{resources:["logs"]}},settings:{shortcut:"s",nav:{titleKey:"nav.settings",Icon:y7},...We(()=>he(()=>import("./Settings-hUYEzPZ9.js"),__vite__mapDeps([59,3,16,8,29,30,24,26,36,31,45,54,14]),import.meta.url).then(t=>({default:t.Settings}))),offline:!0,requires:{}}},Gt=Object.entries(v7).map(([t,e])=>({id:t,path:t,...e}));function oo(t){Gt.find(e=>e.id===t)?.preload?.().catch(()=>{})}function $7(){const t=[bn,...Gt.filter(n=>n.preload&&n.warm!=="intent").map(n=>()=>oo(n.id))],e=()=>{const n=t.shift();n&&(n(),"requestIdleCallback"in window?requestIdleCallback(e,{timeout:3e3}):setTimeout(e,250))};"requestIdleCallback"in window?requestIdleCallback(e,{timeout:3e3}):setTimeout(e,1e3)}function x7(t,e){const r=Gt.find(i=>i.path===t)?.requires?.resources;return!e||!r||r.some(i=>e.resources[i].available!==!1)}const w7=(t,e)=>e??t;function E7(t,e,n,r,i,s,o){const a=t.profiles.find(C=>C.id===t.activeId),l=Gt.find(C=>C.path===e)??Gt.find(C=>C.path===Ws),c=C=>x7(C,n),d=tv.map(C=>({id:C.id,label:o(C.titleKey),items:C.pages.flatMap(M=>{const I=Gt.find(_=>_.path===M);return I?.nav?[{id:I.id,path:I.path,href:xe(I.path),label:o(I.nav.titleKey),Icon:I.nav.Icon,current:I.path===e,unavailable:!c(I.path),description:c(I.path)?void 0:o("shell.notOffered")}]:[]})})),p=C=>C instanceof me&&(C.status===401||C.status===403),h=p(r)||r instanceof me&&r.status===404,b=h&&!l.offline?{kind:"login",profileId:a?.id??"",api:a?.api??"",backend:a?.name??a?.api??"",rejected:!!a?.token}:!n&&!r&&!l.offline?{kind:"loading"}:n&&!c(l.path)?{kind:"unavailable"}:{kind:"page"},g="https://github.com/daeuniverse",v=i?`${i.engine.name} ${i.engine.version}`:"—",m=i?.build?.revision?` (${i.build.revision.slice(0,12)})`:"",y=i?o("ui.apiVersion",{name:i.api.name,major:i.api.major,status:i.api.status}):"—",$="1fb08ad",x=a?.api,E=Ii(x)?o("shell.backend.demo"):x,[R,k]=S7(h,!n&&!r,r,s),S=Gt.flatMap(C=>C.shortcut&&C.nav&&c(C.path)?[{id:C.id,path:C.path,key:C.shortcut,keys:["G",C.shortcut.toUpperCase()],label:o(C.nav.titleKey)}]:[]);return{groups:d,current:{id:l.id,path:e,title:o(l.nav?.titleKey??"nav.activity"),hint:l.nav?.hintKey?o(l.nav.hintKey):void 0,Page:l.Page},content:b,busy:!n&&!r,error:b.kind==="login"?p(s)||s instanceof me&&s.status===404?null:s:r??s,backend:{text:v,tone:R,state:o(k),label:o("shell.backend.label",{engine:v,state:o(k)}),title:o("shell.backend.title"),heading:i?v:o("shell.backend.title"),facts:[[o("about.api"),y],...Xc(o("shell.backend.build"),i?.build?.revision?.slice(0,12)),[o("ui.backendUrl"),E],...Xc(o("shell.backend.profile"),a?.name)],about:o("about.title"),edit:{href:xe("settings",{card:"backend"}),label:o("shell.backend.edit")}},shortcuts:S,shortcutPaths:Object.fromEntries(S.map(C=>[C.key,C.path])),about:{title:o("about.title"),close:o("ui.close"),duck:o("about.duck"),quack:o("about.quack"),tagline:o("about.tagline",{engine:g.split("/").pop()}),credits:o("about.credits"),privacy:o("about.privacy"),versionText:"v0.1.0-beta.12",items:[[o("about.engine"),v+m],[o("about.api"),y],[o("about.contract"),$],[o("about.license"),"GPL-3.0-only"]],repositories:[{href:"https://github.com/Zakkaus/doona",label:"doona"},{href:g,label:g.split("/").pop()}]}}}const Xc=(t,e)=>e?[[t,e]]:[];function S7(t,e,n,r){return t?["warn","shell.backend.signIn"]:e?["neutral","shell.backend.connecting"]:n?["err","shell.backend.offline"]:r?["warn","shell.backend.degraded"]:["ok","shell.backend.connected"]}function P7(t,e,n,r){return{apply:t.count?{label:t.label,count:t.count,busy:t.busy,blocked:n}:null,reload:e?{label:r("shell.reloadEngine"),busy:n,blocked:t.busy}:null}}function ch(t){return t?"doooooona":"doona"}function k7(t){const e=t>=5,n=e&&(t-5)%2===1;return{honked:e,painted:n,hop:t>0&&!n,wordmark:ch(e)}}function C7(t){const e=[];for(const n of $a){const r={id:n.id,label:t(n.label),desc:t(n.desc)},i=e.at(-1);i?.group===n.group?i.items.push(r):e.push({group:n.group,title:t(n.group),items:[r]})}return e.map(({title:n,items:r})=>({title:n,items:r}))}const uh=na.map(([t,e])=>({id:t,label:e}));function T7(t,e,n){return{wordmarks:[{id:"gradient",label:t("wordmark.gradient")},{id:"plain",label:t("wordmark.plain")}],schemes:[{id:"system",label:t("theme.system")},{id:"light",label:t("theme.light")},{id:"dark",label:t("theme.dark")}],themeLabel:t("shell.theme",{theme:t(e==="system"?"theme.system":n?"theme.dark":"theme.light")})}}const dh=u.createContext(null),R7=()=>void ln();function M7(t,e){const n=Q(),r=ze(),i=Ra(),s=d2(),o=w7(r.error,s),[a,l]=u.useState(!1),[c,d]=u.useState(!1),p=u.useRef(!1),h=u.useMemo(()=>E7(t,e,r.data,o,i.data,i.error,n),[t,e,r.data,o,i.data,i.error,n]),b=u.useCallback(async()=>{if(!p.current){p.current=!0,l(!0);try{const C=(await ln()).flatMap(M=>M.ok||M.error.name==="AbortError"?[]:[M.error])[0];C?Me("negative",n("ui.refreshFailed"),Ff(C,n)):Me("positive",n("ui.refreshed"))}finally{p.current=!1,l(!1)}}},[n]),g=u.useCallback(()=>d(!0),[]),v=T5(),m=M5(void 0,r.data,R7),y=u.useRef({held:v,lifecycle:m});u.useLayoutEffect(()=>{y.current={held:v,lifecycle:m}});const $=u.useCallback(()=>void y.current.held.apply(),[]),x=u.useCallback(()=>void y.current.lifecycle.run("reload"),[]),E=m.canRun("reload"),R=m.busy==="reload",k=u.useMemo(()=>P7({count:v.count,label:v.label,busy:v.busy},E,R,n),[v.count,v.label,v.busy,E,R,n]);return{...h,spinning:a,refresh:b,commands:k,apply:$,reload:x,wordmark:ch(c),honk:g}}function N7(t){const e=u.useContext(dh),n=Q(),r=Ln(),[i,s]=u.useState(0);return{...e,guide:{href:Oa(r),label:n("shell.guide")},...k7(i),taps:i,tap:()=>{i===4&&t?.(),s(o=>o+1)}}}function fh({trigger:t,isOpen:e,onOpenChange:n,onHonk:r}){const i=N7(r);return f.jsx(da,{title:i.title,narrow:!0,trigger:t,isOpen:e,onOpenChange:n,footer:s=>f.jsx(be,{onPress:s,children:i.close}),children:f.jsxs("div",{className:G("rp-about",i.honked&&"honked"),children:[f.jsxs(be,{appearance:"plain",className:G("rp-about-duck",i.painted&&"painted"),onPress:i.tap,label:i.duck,children:[f.jsx("img",{src:ii,alt:"",className:G(i.hop&&"hop")},i.taps),f.jsx("img",{src:i.taps>0?iv:void 0,alt:"",className:"night"}),i.honked&&f.jsx("span",{className:"rp-about-bubble",children:i.quack})]}),f.jsxs("div",{className:"rp-about-name",children:[f.jsxs("span",{className:"rp-brand-text",children:[f.jsx("span",{children:i.wordmark}),f.jsx("span",{className:"rp-brand-version",children:i.versionText})]}),f.jsx("span",{className:"rp-label",children:i.tagline})]}),f.jsx(Zf,{items:i.items}),f.jsx("p",{className:"rp-label",children:i.credits}),f.jsx("p",{className:"rp-label",children:i.privacy}),f.jsxs("div",{className:"rp-cluster",children:[f.jsxs(Te,{appearance:"link",href:i.guide.href,external:!0,children:[f.jsx(lp,{}),i.guide.label]}),i.repositories.map(s=>f.jsxs(Te,{appearance:"link",href:s.href,external:!0,children:[f.jsx(sv,{}),s.label]},s.href))]})]})})}function L7({backend:t,close:e,openAbout:n}){return f.jsxs(f.Fragment,{children:[f.jsx(Zf,{row:!0,items:t.facts}),f.jsxs("div",{className:"rp-backend-actions",children:[f.jsx(be,{quiet:!0,onPress:()=>{e(),n()},children:t.about}),f.jsx(Te,{appearance:"button",href:t.edit.href,onPress:e,children:t.edit.label})]})]})}function ph({backend:t,honk:e,popover:n}){const[r,i]=u.useState(!1);return f.jsxs(f.Fragment,{children:[f.jsx(fa,{title:t.heading,subtitle:f.jsx(In,{tone:t.tone,small:!0,children:t.state}),...n,children:s=>f.jsx(L7,{backend:t,close:s,openAbout:()=>i(!0)})}),f.jsx(fh,{isOpen:r,onOpenChange:i,onHonk:e})]})}function I7({backend:t,honk:e}){return f.jsx(ph,{backend:t,honk:e,popover:{trigger:f.jsxs(be,{appearance:"plain",className:"rp-version",label:t.label,children:[f.jsx(In,{tone:t.tone,small:!0}),f.jsx("span",{className:"rp-version-text",children:t.text})]})}})}function j7({backend:t,honk:e,anchor:n,isOpen:r,onOpenChange:i}){const s=o=>{i(o),o||n.current?.querySelector("button")?.focus()};return f.jsx(ph,{backend:t,honk:e,popover:{triggerRef:n,isOpen:r,onOpenChange:s}})}const D7=u.memo(function({groups:e,busy:n,backend:r,honk:i,navRef:s,navStyle:o}){return f.jsxs("nav",{className:"rp-side",ref:s,"aria-busy":n||void 0,children:[o&&f.jsx("span",{className:"rp-nav-slider",style:o}),e.map(a=>f.jsxs("div",{"data-group":a.id,children:[f.jsx("div",{className:"rp-group",children:a.label}),a.items.map(l=>f.jsxs(Te,{className:"rp-nav",href:l.href,"aria-current":l.current?"page":void 0,"data-unavailable":l.unavailable?"":void 0,"aria-description":l.description,onHoverStart:()=>oo(l.id),onFocus:()=>oo(l.id),children:[f.jsx(l.Icon,{}),l.label]},l.id))]},a.id)),f.jsx("div",{className:"rp-side-grow"}),f.jsx(I7,{backend:r,honk:i})]})}),hh=le.hubPages;function K7(){try{return JSON.parse(sessionStorage.getItem(hh)??"{}")??{}}catch{return{}}}function _7({groups:t}){const e=Q(),[n,r]=u.useState(K7),i=t.flatMap(s=>s.items.filter(o=>o.current).map(o=>[s.id,o.path]))[0];return i&&n[i[0]]!==i[1]&&r({...n,[i[0]]:i[1]}),u.useEffect(()=>{try{sessionStorage.setItem(hh,JSON.stringify(n))}catch{}},[n]),f.jsx("nav",{className:"rp-hubbar","aria-label":e("shell.hubs"),children:t.map(s=>{const o=s.items[0].Icon;return f.jsxs(Te,{href:(s.items.find(a=>a.path===n[s.id])??s.items[0]).href,"aria-current":i?.[0]===s.id?"page":void 0,children:[f.jsx("span",{className:"rp-hubbar-pill",children:f.jsx(o,{})}),s.label]},s.id)})})}function F7({hub:t,route:e}){const[n,r]=Ri(e,'[aria-current="page"]');return Df(n,e,'[aria-current="page"]'),f.jsx("nav",{className:"rp-hubnav","aria-label":t.label,children:f.jsxs("div",{ref:n,className:"rp-seg",children:[r&&f.jsx("span",{className:"rp-slider","data-still":r.still||void 0,style:{left:r.x,width:r.w}}),t.items.map(i=>f.jsx(Te,{appearance:"button",href:i.href,"aria-current":i.current?"page":void 0,children:i.label},i.id))]})})}function mh({className:t,...e}){return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:[f.jsx("circle",{cx:"10.859",cy:"5.521",r:"1.5",fill:"currentColor"}),f.jsx("circle",{cx:"6.859",cy:"7.521",r:"1.5",fill:"currentColor"}),f.jsx("circle",{cx:"6.859",cy:"12.521",r:"1.5",fill:"currentColor"}),f.jsx("circle",{cx:"10.859",cy:"14.521",r:"1.5",fill:"currentColor"}),f.jsx("path",{fill:"currentColor",d:"M11.003 18.771c-2.595-.018-4.935-.91-6.662-2.507-1.762-1.631-2.732-3.814-2.732-6.145s.97-4.514 2.732-6.144C6.192 2.257 8.683 1.27 11.17 1.27c2.157 0 4.143.737 5.594 2.074 1.048.97 1.626 2.27 1.626 3.659s-.578 2.69-1.625 3.66l-1.204 1.12c-.086.078-.188.206-.188.362s.102.284.188.364c.146.136.18.169.516.226.414.073.95.166 1.373.576l.001.001c.396.386.626.979.618 1.586-.008.59-.234 1.119-.636 1.49-1.625 1.513-3.97 2.382-6.431 2.382m.168-16c-2.114 0-4.233.84-5.81 2.304C3.907 6.42 3.108 8.211 3.108 10.12s.8 3.7 2.251 5.043c1.431 1.325 3.465 2.094 5.581 2.11 2.147 0 4.12-.723 5.473-1.983.133-.123.154-.31.156-.41.003-.223-.083-.41-.164-.49-.092-.088-.352-.134-.562-.17-.61-.106-.923-.254-1.306-.614-.428-.397-.664-.916-.664-1.46 0-.542.236-1.061.666-1.46l1.205-1.122c.74-.683 1.146-1.592 1.146-2.56s-.407-1.873-1.144-2.556c-1.172-1.08-2.797-1.675-4.576-1.675"})]})}function bh({className:t,...e}){return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:[f.jsx("path",{fill:"currentColor",d:"M10 18.78c-4.825 0-8.75-3.926-8.75-8.75S5.175 1.28 10 1.28s8.75 3.924 8.75 8.75-3.925 8.75-8.75 8.75m0-16c-3.998 0-7.25 3.251-7.25 7.25s3.252 7.25 7.25 7.25 7.25-3.253 7.25-7.25S13.998 2.78 10 2.78"}),f.jsx("path",{fill:"currentColor",d:"M10 14.384c0 .653.615 1.121 1.251.973 2.435-.566 4.249-2.75 4.249-5.357s-1.814-4.79-4.249-5.357c-.636-.148-1.251.32-1.251.973z"})]})}function A7({className:t,...e}){return f.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:[f.jsx("path",{fill:"currentColor",d:"M18.592 15.186c-.398-.13-.818.086-.946.479-.447 1.367-1.711 2.285-3.146 2.285-1.074 0-2.04-.52-2.648-1.342l.16.058c.323.118.683-.05.8-.376.117-.324-.051-.683-.376-.8l-1.819-.656c-.158-.057-.334-.048-.485.026-.152.074-.268.205-.32.367l-.63 1.907c-.107.327.07.68.399.789q.097.031.195.031c.263 0 .507-.166.594-.43l.091-.275c.866 1.344 2.366 2.201 4.039 2.201 2.086 0 3.923-1.334 4.571-3.318.13-.395-.086-.818-.48-.946M19.318 11.054c-.326-.11-.68.071-.789.398l-.064.197c-.882-1.281-2.357-2.1-3.965-2.1-2.104 0-3.945 1.35-4.583 3.356-.125.396.093.818.487.943.4.13.818-.094.943-.488.438-1.381 1.706-2.31 3.153-2.31 1.07 0 2.05.528 2.663 1.36l-.274-.1c-.32-.115-.683.052-.8.377s.05.682.376.8l1.818.656q.104.037.212.037.143 0 .274-.064c.152-.073.267-.206.32-.366l.628-1.907c.107-.328-.07-.68-.399-.79"}),f.jsx("path",{fill:"currentColor",d:"M8.18 10.927C5.01 10.662 3.567 9.807 3.5 9.5V6.224C5.03 7.067 7.524 7.5 10 7.5s4.97-.433 6.5-1.276v1.5c0 .414.336.75.75.75s.75-.336.75-.75V4.56c0-.041-.017-.076-.023-.115.008-.066.023-.129.023-.196C18 2.116 13.976 1 10 1S2 2.116 2 4.25c0 .067.015.13.023.196C2.017 4.485 2 4.52 2 4.56V14.5c0 1.776 2.928 2.491 4.673 2.759q.058.009.115.009c.364 0 .684-.266.74-.636.063-.41-.217-.793-.627-.856-2.464-.379-3.356-1.072-3.401-1.276v-3.144c1.484.738 3.659.99 4.555 1.065l.063.003c.386 0 .714-.296.746-.688.035-.413-.271-.775-.684-.81M10 2.5c4.288 0 6.5 1.227 6.5 1.75S14.288 6 10 6 3.5 4.773 3.5 4.25 5.712 2.5 10 2.5"})]})}function Zc({className:t,...e}){return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:f.jsx("path",{fill:"currentColor",d:"M18.207 3.897c-.406-.094-.809.15-.906.554l-.38 1.575C15.523 3.594 12.919 2.02 10 2.02c-3.685 0-6.875 2.5-7.76 6.08-.099.403.147.81.55.909.4.1.808-.147.907-.55.718-2.907 3.31-4.939 6.303-4.939 2.517 0 4.735 1.447 5.809 3.633l-2.102-.508c-.404-.094-.808.15-.906.553s.15.808.553.905l3.245.785c.125.088.274.142.432.142q.09 0 .18-.021c.048-.012.086-.041.13-.061.069-.019.142-.02.205-.058.17-.104.29-.27.338-.464l.875-3.624c.097-.403-.15-.808-.552-.906M17.21 11.032c-.396-.096-.807.147-.907.55-.718 2.908-3.31 4.94-6.303 4.94-2.517 0-4.735-1.447-5.81-3.634l2.103.508c.403.092.809-.15.906-.553s-.15-.808-.553-.905l-3.255-.787c-.171-.118-.385-.171-.602-.119-.015.004-.026.015-.04.02-.104.013-.205.044-.295.1-.17.103-.29.27-.338.463l-.875 3.624c-.097.403.15.808.552.906q.09.02.177.02c.339 0 .646-.23.729-.574l.38-1.575c1.398 2.432 4.002 4.005 6.921 4.005 3.685 0 6.876-2.5 7.76-6.08.099-.403-.147-.81-.549-.909"})})}function gh({className:t,...e}){return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:f.jsx("path",{fill:"currentColor",d:"M12.25 2.5H7.834v-.75c0-.414-.336-.75-.75-.75s-.75.336-.75.75v.75H1.75c-.414 0-.75.336-.75.75s.336.75.75.75h7.878C9.17 6.271 7.792 7.876 6.272 8.934c-.479-.869-.843-1.76-1.068-2.645-.101-.401-.51-.648-.912-.542-.4.102-.644.51-.542.911.259 1.02.677 2.045 1.228 3.039-.793.395-1.563.66-2.195.802-.405.09-.659.491-.569.896.078.348.388.585.732.585q.082 0 .164-.018c.766-.171 1.705-.499 2.669-.996.824 1.19 1.83 2.311 2.988 3.284.14.118.312.176.482.176.214 0 .426-.091.575-.268.266-.317.225-.79-.092-1.056-1.031-.867-1.927-1.858-2.664-2.906C8.946 8.906 10.67 6.903 11.156 4h1.094c.414 0 .75-.336.75-.75s-.336-.75-.75-.75M18.94 17.958l-4.018-9.5c-.118-.277-.39-.458-.691-.458s-.573.18-.691.458l-4.02 9.5c-.16.38.018.821.399.982.384.165.822-.016.983-.398l1.28-3.026h4.097l1.28 3.026c.121.286.399.458.691.458q.148 0 .292-.06c.382-.16.56-.601.399-.982m-6.123-3.942 1.414-3.341 1.413 3.34z"})})}function O7({className:t,...e}){return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:G("rp-icon",t),...e,children:f.jsx("path",{fill:"currentColor",d:"M10 6.35c2.012 0 3.65 1.638 3.65 3.65s-1.638 3.65-3.65 3.65S6.35 12.012 6.35 10 7.988 6.35 10 6.35m0-1.5c-2.84 0-5.15 2.31-5.15 5.15s2.31 5.15 5.15 5.15 5.15-2.31 5.15-5.15S12.84 4.85 10 4.85M10 3.25c-.414 0-.75-.336-.75-.75V1.25c0-.414.336-.75.75-.75s.75.336.75.75V2.5c0 .414-.336.75-.75.75M10 19.5c-.414 0-.75-.336-.75-.75V17.5c0-.414.336-.75.75-.75s.75.336.75.75v1.25c0 .414-.336.75-.75.75M2.5 10.75H1.25c-.414 0-.75-.336-.75-.75s.336-.75.75-.75H2.5c.414 0 .75.336.75.75s-.336.75-.75.75M18.75 10.75H17.5c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h1.25c.414 0 .75.336.75.75s-.336.75-.75.75M15.304 5.446c-.193 0-.384-.073-.53-.22-.294-.292-.294-.767 0-1.06l.883-.884c.293-.293.768-.293 1.06 0s.294.768 0 1.06l-.883.885c-.146.146-.338.22-.53.22M3.813 16.938c-.193 0-.384-.074-.53-.22-.294-.293-.294-.768 0-1.06l.883-.885c.293-.293.768-.293 1.06 0s.294.768 0 1.061l-.883.884c-.147.146-.338.22-.53.22M4.696 5.446c-.192 0-.383-.073-.53-.22l-.884-.883c-.293-.293-.293-.768 0-1.06s.768-.294 1.06 0l.885.883c.293.293.293.768 0 1.06-.147.147-.338.22-.53.22M16.188 16.938c-.193 0-.384-.074-.53-.22l-.885-.884c-.293-.293-.293-.768 0-1.06s.768-.294 1.061 0l.884.883c.293.293.293.768 0 1.06-.147.147-.338.22-.53.22"})})}function B7({dark:t}){return f.jsxs("span",{className:"rp-icon-stack","data-dark":t||void 0,children:[f.jsx(bh,{className:"moon"}),f.jsx(O7,{className:"sun"})]})}function H7({lang:t,pickLang:e}){const n=Q(),[r]=u.useState(t);return f.jsx(Ni,{quiet:!0,chevron:!1,label:n("ui.lang"),value:t,onChange:i=>e(i),items:uh,children:f.jsx(gh,{className:t!==r?"rp-icon-in":void 0},t)})}function V7({dark:t,label:e,toggle:n}){return f.jsx(be,{quiet:!0,icon:!0,label:e,onPress:n,children:f.jsx(B7,{dark:t})})}function yh({ap:t,paletteSections:e,wordmarks:n}){const r=Q();return{palettes:e.map(i=>({...i,value:t.palette,onChange:s=>t.pickPalette(s)})),wordmarks:{title:r("ui.wordmark"),items:n,value:t.wordmark,onChange:i=>t.pickWordmark(i)}}}function U7(t){const e=Q(),{palettes:n,wordmarks:r}=yh(t),i=t.ap.palette,[s]=u.useState(i);return f.jsx(Ni,{quiet:!0,chevron:!1,label:e("ui.palette"),sections:[...n,r],children:f.jsx(mh,{className:i!==s?"rp-icon-in":void 0},i)})}const q7=u.memo(function({lang:e,pickLang:n,ap:r,mac:i,openSearch:s,refresh:o,spinning:a,commands:l,apply:c,reload:d,honk:p,backend:h,wordmark:b,versionText:g,paletteSections:v,menu:m}){const y=Q(),{palettes:$,wordmarks:x}=yh({ap:r,paletteSections:v,wordmarks:m.wordmarks}),E=u.useRef(null),[R,k]=u.useState(!1),[S,C]=u.useState(!1),M=()=>C(!0);return f.jsxs("header",{className:"rp-top",children:[f.jsx(fh,{onHonk:p,trigger:f.jsxs(be,{appearance:"plain",className:"rp-brand",tip:y("about.title"),children:[f.jsx("img",{src:ii,alt:""}),f.jsxs("span",{className:"rp-brand-text",children:[f.jsx("span",{children:b}),f.jsx("span",{className:"rp-brand-version",children:g})]})]})}),f.jsx("div",{className:"rp-search-wrap",onPointerEnter:bn,onFocus:bn,children:f.jsxs(be,{appearance:"plain",className:"rp-search",onPress:s,children:[f.jsx(Os,{}),f.jsx("span",{className:"grow",children:y("shell.search")}),f.jsx("span",{className:"rp-kbd",children:y(i?"shell.macShortcut":"shell.shortcut")})]})}),f.jsxs("div",{className:"rp-actions",children:[f.jsx("span",{className:"rp-search-compact",onPointerEnter:bn,onFocus:bn,children:f.jsx(be,{quiet:!0,icon:!0,label:y("shell.search"),onPress:s,children:f.jsx(Os,{})})}),f.jsx(be,{quiet:!0,icon:!0,label:y("ui.refresh"),isPending:a,onPress:o,children:f.jsx(A7,{})}),l.apply&&f.jsxs(be,{quiet:!0,icon:!0,className:"rp-held",label:l.apply.label,isPending:l.apply.busy,isDisabled:l.apply.blocked,onPress:c,children:[f.jsx(Af,{}),f.jsx("span",{className:"rp-held-count",children:l.apply.count})]}),f.jsxs("span",{className:"rp-wide-only",children:[l.reload&&f.jsx(be,{quiet:!0,icon:!0,label:l.reload.label,isPending:l.reload.busy,isDisabled:l.reload.blocked,onPress:M,children:f.jsx(Zc,{className:"rp-refresh rp-spin-on-press"})}),f.jsx(O1,{}),f.jsx(H7,{lang:e,pickLang:n}),f.jsx(U7,{ap:r,paletteSections:v,wordmarks:m.wordmarks}),f.jsx(V7,{dark:r.dark,label:m.themeLabel,toggle:r.toggle})]}),f.jsxs("span",{className:"rp-narrow-only",ref:E,children:[f.jsx(Ni,{quiet:!0,chevron:!1,label:y("ui.moreOptions"),submenus:[{label:y("ui.lang"),icon:f.jsx(gh,{}),sections:[{title:y("ui.lang"),items:uh,value:e,onChange:I=>n(I)}]},{label:y("ui.theme"),icon:f.jsx(bh,{}),sections:[{title:y("ui.theme"),items:m.schemes,value:r.scheme,onChange:I=>r.pickScheme(I)}]},{label:y("ui.palette"),icon:f.jsx(mh,{}),sections:$},{label:y("ui.wordmark"),icon:f.jsx("img",{src:ii,alt:""}),sections:[x]}],actions:[...l.reload?[{label:l.reload.label,icon:f.jsx(Zc,{}),onAction:M}]:[],{label:h.title,icon:f.jsx(Gp,{}),onAction:()=>k(!0)}],children:f.jsx(A1,{})}),f.jsx(j7,{backend:h,honk:p,anchor:E,isOpen:R,onOpenChange:k})]})]}),f.jsx(pa,{title:y("shell.reloadTitle"),tone:"accent",isOpen:S&&!!l.reload,onCancel:()=>C(!1),confirmLabel:y("shell.reloadEngine"),isPending:l.reload?.busy,isDisabled:l.reload?.blocked,onConfirm:()=>{C(!1),d()},children:f.jsx("p",{className:"rp-label",children:y("shell.reloadHelp")})})]})});function vh(t,e,n){const[r,i]=e.split("/"),s=document.documentElement.dataset;s.scheme=t?"dark":"light",s.family=r,s.flavour=i,s.wordmark=n}function z7(t){const[e,n]=u.useState(t.scheme),[r,i]=u.useState(t.palette),[s,o]=u.useState(t.wordmark),[a,l]=u.useState(t.mirrored),[c,d]=u.useState(t.toastPlacement),p=la("(prefers-color-scheme: dark)"),h=e==="dark"||e==="system"&&p;u.useLayoutEffect(()=>vh(h,r,s),[h,r,s]);const b=u.useCallback(x=>{Xl(()=>n(x)),pn("scheme",x)},[]),g=u.useCallback(()=>b(e==="system"?p?"light":"dark":"system"),[b,e,p]),v=u.useCallback(x=>{Xl(()=>i(x)),pn("palette",x)},[]),m=u.useCallback(x=>{o(x),pn("wordmark",x)},[]),y=u.useCallback(x=>{l(x),pn("mirror",x?"on":"off")},[]),$=u.useCallback(x=>{d(x),pn("toastPlacement",x)},[]);return u.useMemo(()=>({scheme:e,dark:h,toggle:g,pickScheme:b,palette:r,pickPalette:v,wordmark:s,pickWordmark:m,mirrored:a,pickMirrored:y,toastPlacement:c,pickToastPlacement:$}),[e,h,g,b,r,v,s,m,a,y,c,$])}function W7(t){const[e]=u.useState(op),[n,r]=u.useState(t),i=u.useRef(t),s=u.useRef(t),o=z7(e),{mirrored:a}=o;u.useLayoutEffect(()=>{const C=document.documentElement;C.lang=_e[n],C.style.setProperty("--rp-font-family",Sf[n]),C.dir=Ef(_e[n],a),C.toggleAttribute("data-mirror",a)},[n,a]),u.useEffect(()=>{const C=()=>document.documentElement.toggleAttribute("data-scrolled",scrollY>0);return C(),addEventListener("scroll",C,{passive:!0}),()=>removeEventListener("scroll",C)},[]);const{route:l,query:c,go:d,setDirty:p,revision:h,pending:b,discard:g,cancel:v}=B5(e.api),[m,y]=u.useState(!1),$=u.useCallback(C=>{s.current=C,ti(C).then(()=>{s.current===C&&(i.current=C,r(C),pn("lang",C))},()=>{if(s.current!==C)return;s.current=i.current;const M=na.find(([I])=>I===C)[1];Me("negative",xt(i.current,"shell.langUnavailable",{name:M}))})},[]),x=u.useRef(0),E=u.useCallback(()=>{const C=++x.current;ga.preload().then(()=>{x.current===C&&y(!0)},()=>{x.current===C&&Me("negative",xt(i.current,"shell.searchUnavailable"))})},[]),R=u.useCallback(()=>{x.current++,y(!1)},[]);u.useEffect(()=>{const C=M=>{M.key==="Escape"&&x.current++};return addEventListener("keydown",C),()=>removeEventListener("keydown",C)},[]);const k=u.useCallback(C=>{const M=Bi(C);d(M.route,M.query)},[d]),S=u.useMemo(()=>({setDirty:p,revision:h}),[p,h]);return u.useEffect(()=>{const C="Rosé Pine Frappé Macchiato Mocha Catppuccin Nord Glass",[M]=Qe.find(I=>I.id===n).faces;M&&document.fonts?.load(`14px '${M}'`,C).catch(()=>{})},[n]),u.useEffect($7,[]),u.useEffect(()=>{go(()=>{})},[l]),{settings:e,lang:n,ap:o,route:l,query:c,go:d,pending:b,discard:g,cancel:v,searchOpen:m,pickLang:$,openSearch:E,closeSearch:R,navigate:k,draft:S,mac:c1}}function G7(t,e,n,r){const i=Q(),s=u.useMemo(()=>C7(i),[i]),o=u.useMemo(()=>({lang:t,pickLang:e,ap:n,paletteSections:s}),[t,e,n,s]),a=u.useMemo(()=>T7(i,n.scheme,n.dark),[i,n.scheme,n.dark]),[l,c]=Ri(r,'[aria-current="page"]'),d=u.useMemo(()=>c?{translate:`0 ${c.y}px`,height:c.h}:void 0,[c]);return{paletteSections:s,settingsValue:o,menu:a,navRef:l,navStyle:d}}function Y7(){const t=Q();u.useEffect(()=>{H1()&&Me("negative",t("settings.profilesCorrupt"));try{sessionStorage.getItem(le.saved)&&(sessionStorage.removeItem(le.saved),Me("positive",t("ui.saved")))}catch{}},[t])}function J7(){const t=u.useSyncExternalStore(vv,yv);return t&&f.jsx(X7,{...t},t.until)}function X7({status:t,until:e}){const n=Q(),[r]=u.useState(Date.now),[i,s]=u.useState(r);u.useEffect(()=>{const a=setInterval(()=>s(Date.now()),1e3);return()=>clearInterval(a)},[]);const o=a=>n(t===429?"shell.rateLimited":"shell.backendBusy",{n:Math.max(1,Math.ceil((e-a)/1e3))});return f.jsxs(Mi,{tone:"informative",children:[f.jsx("span",{"aria-hidden":"true",children:o(i)}),f.jsx($i,{children:o(r)})]})}const Z7=u.lazy(()=>he(()=>import("./Login-CfAnL01j.js"),__vite__mapDeps([60,3,16]),import.meta.url).then(t=>({default:t.Login})));function Q7(){const{scheme:t,palette:e,wordmark:n}=op(),r=t==="dark"||t==="system"&&window.matchMedia("(prefers-color-scheme: dark)").matches;vh(r,e,n)}function e$({lang:t}){const{settings:e,lang:n,ap:r,route:i,query:s,go:o,pending:a,discard:l,cancel:c,searchOpen:d,pickLang:p,openSearch:h,closeSearch:b,navigate:g,draft:v,mac:m}=W7(t);return f.jsx(ra.Provider,{value:n,children:f.jsx(kf.Provider,{value:J1(r.palette),children:f.jsx(ym,{locale:_e[n],direction:r.mirrored?"rtl":void 0,children:f.jsxs(nm,{navigate:g,children:[f.jsx(rp.Provider,{value:v,children:f.jsx(r$,{settings:e,lang:n,pickLang:p,ap:r,route:i,query:s,go:o,openSearch:h,mac:m})}),f.jsx(t$,{isOpen:a!==null,discard:l,cancel:c}),d&&f.jsx(yr,{children:f.jsx(u.Suspense,{fallback:null,children:f.jsx(ga.Component,{onClose:b,go:o})})}),f.jsx(n$,{placement:r.toastPlacement})]})})})})}function t$({isOpen:t,discard:e,cancel:n}){const r=Q();return f.jsx(pa,{title:r("config.discardTitle"),isOpen:t,onCancel:n,confirmLabel:r("config.discard"),onConfirm:e,children:f.jsx("p",{className:"rp-label",children:r("config.discardHelp")})})}function n$({placement:t}){return Y7(),f.jsx(b1,{placement:t})}function r$(t){const e=M7(t.settings,t.route);return f.jsxs(dh.Provider,{value:e.about,children:[f.jsx(i$,{...t,view:e}),f.jsx(rv,{go:t.go,openSearch:t.openSearch,refresh:e.refresh,mac:t.mac,entries:e.shortcuts,paths:e.shortcutPaths})]})}function i$({lang:t,pickLang:e,ap:n,route:r,query:i,go:s,openSearch:o,mac:a,view:l}){const c=Q(),{paletteSections:d,settingsValue:p,menu:h,navRef:b,navStyle:g}=G7(t,e,n,r),v=l.current.Page,m=l.groups.find(y=>y.items.some($=>$.current));return l.content.kind==="login"?f.jsx(u.Suspense,{fallback:f.jsx(Je,{}),children:f.jsx(Z7,{profileId:l.content.profileId,api:l.content.api,backend:l.content.backend,rejected:l.content.rejected,lang:t,pickLang:e,dark:n.dark,themeLabel:h.themeLabel,toggleScheme:n.toggle,palette:{ap:n,paletteSections:d,wordmarks:h.wordmarks},wordmark:l.wordmark,error:l.error,onRetry:l.refresh})}):f.jsxs("div",{className:"rp-shell",children:[f.jsx(q7,{lang:t,pickLang:e,ap:n,mac:a,openSearch:o,refresh:l.refresh,spinning:l.spinning,commands:l.commands,apply:l.apply,reload:l.reload,honk:l.honk,backend:l.backend,wordmark:l.wordmark,versionText:l.about.versionText,paletteSections:d,menu:h}),f.jsx(D7,{groups:l.groups,busy:l.busy,backend:l.backend,honk:l.honk,navRef:b,navStyle:g}),f.jsx("main",{className:"rp-main",children:f.jsxs("div",{className:"rp-content",children:[f.jsxs("div",{className:"rp-head",children:[f.jsxs("div",{className:"rp-title",children:[f.jsx("h1",{className:"rp-h1",children:l.current.title}),l.current.hint&&f.jsx("span",{className:"rp-hint",children:l.current.hint})]}),m&&f.jsx(F7,{hub:m,route:r},m.id)]}),f.jsx(Xe,{error:l.error,onRetry:l.refresh}),f.jsx(J7,{}),f.jsx(Q1.Provider,{value:p,children:l.content.kind==="loading"?f.jsx(Je,{}):l.content.kind==="unavailable"?f.jsxs(lt,{children:[c("shell.notOffered"),f.jsx(be,{onPress:()=>s("activity"),children:c("shell.toActivity")})]}):f.jsx(yr,{children:f.jsx(u.Suspense,{fallback:f.jsx(Je,{}),children:f.jsx(v,{go:s,query:i})})},l.current.id)})]})}),f.jsx(_7,{groups:l.groups})]})}const $h=2500;async function xh(t,e){return t.state==="activating"&&await new Promise(n=>t.addEventListener("statechange",()=>n(),{once:!0})),t.state==="activated"&&e.controller===t}function s$(t,e=$h){return new Promise(n=>{const r=new MessageChannel,i=o=>{clearTimeout(s),r.port1.close(),n(o)},s=setTimeout(()=>i(null),e);r.port1.onmessage=o=>i(o.data),t.postMessage({build:!0},[r.port2])})}async function o$(t,e,n,r,i,s=$h){!await xh(t,e)||await s$(t,s)===n||(await r(),e.controller===t&&i())}const a$={"zh-TW":["無法載入介面文字。","重試"],"zh-CN":["无法加载界面文字。","重试"],en:["The interface text could not be loaded.","Retry"]};Q7();function ao(){const t=Sn();return ti(t).then(()=>t,e=>t===Kr?Promise.reject(e):ti(Kr).then(()=>Kr))}let l$;const wh=()=>l$??=z1().then(()=>(u3(),t2()));let di;function c$(){const[t,e]=u.useState(!1),[n,r]=u.useState(null),[i,s]=u.useState(null),[o,a]=u.useState(!1);u.useEffect(()=>{let p=!0;return di??=ao(),di.then(h=>{p&&s(h)},()=>{p&&a(!0)}),wh().then(()=>{p&&e(!0)},h=>{p&&r(h instanceof Error?h:new Error(String(h)))}),()=>{p=!1}},[]);const l=i??Sn();if(u.useLayoutEffect(()=>{const p=document.documentElement;p.lang=_e[l],p.style.setProperty("--rp-font-family",Sf[l]),p.dir=Ef(_e[l],p.hasAttribute("data-mirror"))},[l]),t&&i)return f.jsx(e$,{lang:i});const[c,d]=a$[l];return f.jsx(ra.Provider,{value:l,children:f.jsxs("div",{className:"rp-shell",children:[f.jsx("header",{className:"rp-top",children:f.jsxs("div",{className:"rp-brand",children:[f.jsx("img",{src:ii,alt:""}),f.jsx("span",{children:"doona"})]})}),f.jsx("main",{className:"rp-main",children:f.jsx("div",{className:"rp-content",children:o?f.jsxs(lt,{role:"alert",children:[f.jsx("p",{children:c}),f.jsx(be,{onPress:()=>location.reload(),children:d})]}):i&&n?f.jsx(Xe,{error:n,onRetry:()=>location.reload()}):i?f.jsx(Je,{}):null})})]})})}Sh.createRoot(document.getElementById("root")).render(f.jsx(u.StrictMode,{children:f.jsx(c$,{})}));if("serviceWorker"in navigator&&location.protocol!=="file:"){const t=navigator.serviceWorker.controller!==null,e=document.querySelector('meta[name="doona-build"]')?.content,n=async()=>{if(!await(di??=ao()).catch(()=>null))return;await wh().catch(()=>null);const r=navigator.serviceWorker.controller;r&&await xh(r,navigator.serviceWorker)&&r.postMessage({language:Vl(Sn()),mock:n2()})};navigator.serviceWorker.ready.then(n),navigator.serviceWorker.addEventListener("controllerchange",()=>{n();const r=navigator.serviceWorker.controller;!t||!r||o$(r,navigator.serviceWorker,e,()=>di??=ao(),()=>{const i=Vl(Sn());Me("info",xt(i,"ui.newBuild"),{action:{label:xt(i,"ui.reloadPage"),onAction:()=>location.reload()}})}).catch(()=>{})}),navigator.serviceWorker.register("./sw.js").catch(r=>{console.error("Service worker registration failed:",r)})}export{Gt as $,me as A,be as B,H$ as C,z$ as D,Xe as E,Np as F,jx as G,rx as H,Mi as I,Lp as J,W$ as K,Te as L,ja as M,Tx as N,V$ as O,U7 as P,Na as Q,Da as R,V7 as S,C1 as T,Ai as U,Fp as V,qn as W,hp as X,Mv as Y,pp as Z,he as _,Ln as a,le as a$,Hi as a0,Fv as a1,Dv as a2,Wy as a3,nh as a4,Pn as a5,_e as a6,v5 as a7,x7 as a8,Iv as a9,P3 as aA,Ae as aB,E2 as aC,C2 as aD,R2 as aE,Ra as aF,M5 as aG,J3 as aH,Aa as aI,In as aJ,Zf as aK,Fe as aL,K5 as aM,st as aN,_f as aO,p1 as aP,$i as aQ,fa as aR,wf as aS,K$ as aT,g$ as aU,J5 as aV,j$ as aW,xa as aX,Wp as aY,_5 as aZ,Wf as a_,ze as aa,F2 as ab,Ye as ac,N2 as ad,K2 as ae,L2 as af,Ip as ag,da as ah,f$ as ai,ta as aj,lt as ak,fg as al,h$ as am,dd as an,hg as ao,ah as ap,qf as aq,Yc as ar,ia as as,Ti as at,Z$ as au,ir as av,N1 as aw,Vv as ax,I$ as ay,j1 as az,sa as b,ct as b$,n4 as b0,s4 as b1,Y$ as b2,r4 as b3,ex as b4,jv as b5,qs as b6,Vs as b7,X$ as b8,J$ as b9,kv as bA,np as bB,Cy as bC,a4 as bD,_$ as bE,Bx as bF,oe as bG,pt as bH,$$ as bI,M$ as bJ,c4 as bK,f1 as bL,g7 as bM,Z3 as bN,Gp as bO,Ks as bP,If as bQ,F1 as bR,Zc as bS,yd as bT,fe as bU,b0 as bV,X as bW,A as bX,Ue as bY,ot as bZ,Oo as b_,y$ as ba,F$ as bb,Cv as bc,Sv as bd,$5 as be,hs as bf,d1 as bg,ox as bh,hx as bi,e4 as bj,t4 as bk,Q3 as bl,Me as bm,Q$ as bn,v$ as bo,u1 as bp,Ff as bq,Ni as br,ua as bs,k1 as bt,T$ as bu,N$ as bv,Xf as bw,R$ as bx,Cn as by,tx as bz,G as c,G$ as c$,d$ as c0,Dt as c1,se as c2,ne as c3,je as c4,_t as c5,ol as c6,ko as c7,F as c8,Kt as c9,_o as cA,Do as cB,cd as cC,wi as cD,ud as cE,Kb as cF,Mu as cG,Ed as cH,Gr as cI,o7 as cJ,Tv as cK,A$ as cL,E$ as cM,S$ as cN,F3 as cO,G2 as cP,Ct as cQ,O$ as cR,B1 as cS,_3 as cT,Wl as cU,fx as cV,oa as cW,C$ as cX,k$ as cY,ba as cZ,e7 as c_,Z as ca,ae as cb,yi as cc,wo as cd,an as ce,Nu as cf,Nn as cg,xi as ch,Ee as ci,Pt as cj,Ne as ck,Ke as cl,Zu as cm,ie as cn,ee as co,ve as cp,Ot as cq,ft as cr,Vu as cs,Ur as ct,gi as cu,Ei as cv,yt as cw,Ho as cx,dg as cy,Fo as cz,Oa as d,i4 as d$,Ka as d0,Yx as d1,Jx as d2,zp as d3,Up as d4,h5 as d5,Dx as d6,Ax as d7,Ix as d8,g5 as d9,Vx as dA,Xx as dB,Zx as dC,zx as dD,Ox as dE,Hx as dF,_a as dG,qx as dH,Se as dI,kn as dJ,x2 as dK,w2 as dL,Cp as dM,de as dN,Ma as dO,Nv as dP,Lv as dQ,kx as dR,Px as dS,q$ as dT,cx as dU,lx as dV,o5 as dW,Mp as dX,Rx as dY,c5 as dZ,l5 as d_,H2 as da,Hp as db,o4 as dc,ux as dd,h1 as de,Kp as df,Op as dg,Fx as dh,_x as di,Kx as dj,w5 as dk,ax as dl,l4 as dm,_p as dn,T5 as dp,wn as dq,Qx as dr,lp as ds,pa as dt,P$ as du,Mx as dv,C5 as dw,Ux as dx,Gx as dy,Wx as dz,sx as e,we as e$,Pv as e0,R1 as e1,b$ as e2,Jy as e3,ro as e4,m$ as e5,Ex as e6,Lx as e7,y5 as e8,Nx as e9,Q2 as eA,Xv as eB,op as eC,Jt as eD,ya as eE,w$ as eF,Q1 as eG,x$ as eH,Zv as eI,e2 as eJ,Ws as eK,px as eL,dx as eM,L$ as eN,D$ as eO,tn as eP,fh as eQ,B$ as eR,na as eS,ss as eT,Rr as eU,sr as eV,A1 as eW,zr as eX,vi as eY,Re as eZ,Za as e_,c1 as ea,U$ as eb,Uf as ec,nr as ed,Go as ee,U2 as ef,yx as eg,bx as eh,$x as ei,vx as ej,gx as ek,Y2 as el,Jf as em,Sx as en,nx as eo,V2 as ep,Hv as eq,Av as er,xx as es,ln as et,g2 as eu,p2 as ev,Ca as ew,Af as ex,D5 as ey,wx as ez,la as f,cb as f0,ig as f1,p$ as f2,Bo as f3,vd as f4,pr as f5,xd as f6,qe as f7,gl as f8,sg as f9,iu as fA,uo as fB,rb as fC,ic as fD,at as fE,fu as fF,tm as fG,kd as fH,He as fI,uu as fJ,yo as fK,Ju as fL,ou as fM,ye as fN,vt as fO,ut as fP,Bn as fQ,f5 as fR,Cx as fS,Of as fT,gd as fa,P as fb,sn as fc,Sb as fd,sl as fe,Zt as ff,At as fg,Gn as fh,ur as fi,Ze as fj,lm as fk,xo as fl,jm as fm,Ft as fn,Du as fo,Ru as fp,te as fq,Qt as fr,Jr as fs,on as ft,ld as fu,De as fv,Mf as fw,l1 as fx,M1 as fy,yn as fz,H7 as g,xe as h,Ii as i,Je as j,yr as k,ii as l,Fi as m,ji as n,mv as o,fv as p,ht as q,Ki as r,ix as s,Sc as t,Q as u,Ec as v,V1 as w,q2 as x,Ce as y,mx as z};
diff --git a/luci-app-honk/root/etc/honk/doona/assets/index-BgFj_VXE.js b/luci-app-honk/root/etc/honk/doona/assets/index-BgFj_VXE.js
new file mode 100644
index 000000000..f0f32665d
--- /dev/null
+++ b/luci-app-honk/root/etc/honk/doona/assets/index-BgFj_VXE.js
@@ -0,0 +1,2 @@
+const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./fonts-sc-Dyn9aW84.css","./fonts-tc-D9rvq3k7.css","./SearchList-Bhc2_bS4.js","./vendor-react-64fcanlc.js","./_commonjsHelpers-CXUWDbkB.js","./Virtualizer-CZl-q5wo.js","./index-D3-KABFr.js","./activity-D06xJ7oH.js","./logs-BxISynQ4.js","./Select-CkiGmyVC.js","./format-s2EANuUb.js","./activity-6eX5ba7W.css","./geodata-X0pHz03D.js","./auth-9NIU4RkK.js","./auth-B7tMStu6.js","./SearchDialog-lJhZ2e4h.js","./flows-xKlsDqlH.js","./nav-BidFSCY-.js","./nav-KYKfR_0p.js","./nav-CsTMInze.js","./nav-D44ro1l_.js","./nav-Ct52fcy8.js","./nav-Wiib71Wo.js","./nav-4gpXURa5.js","./Overview-DwLMYJiG.js","./files-Dt8K7QfP.js","./Table-Dprh3Btz.js","./useGridSelectionCheckbox-BxnCShqN.js","./DaeCode-DEjXqvav.js","./daeTokens-BVtuNnWZ.js","./Connections-CjRavXMq.js","./OutboundTag-jvAhyeqj.js","./Tag-PTwIjtR6.js","./Tabs-CD2lZase.js","./Toolbar-CIBfeuEz.js","./SearchSelect-CO6FsBaz.js","./TimeCell-B4WLB8Ou.js","./AddCircle-prR7q573.js","./useQuickRule-fWQicp9K.js","./outbounds-BApwKyMu.js","./labels-DPpd4zRF.js","./Flows-Bc5zvW8x.js","./Coverage-VYQXivNr.js","./Flows-Bgp2RBuw.css","./Dns-muAKZqBa.js","./Delete-DA-ArqRQ.js","./Policies-8HLSs6CT.js","./ProbeOptionsDialog-DbXtrnP-.js","./ConditionRow-CmAHHzfr.js","./GridList-BUQihjaB.js","./probe-CvLYPWKB.js","./Rules-DlWozzHL.js","./recorder-BHyqDNp5.js","./Nodes-3yvkRhfS.js","./FlagPicker-DvzEtm7E.js","./Config-kDn1yln4.js","./vendor-editor-BRV-W12m.js","./index-DUM-iwa2.js","./Events-DhkgQmOB.js","./Logs-kFCPXU2U.js","./Settings-DVKP5cdM.js","./Editors-CF-H0sca.js","./Editors-BWyc5snq.css","./Login-Dmoi1b-S.js"])))=>i.map(i=>d[i]);
+import{$ as e,r as t,c as n,s as r,a as i,b as o,j as s,d as a}from"./vendor-react-64fcanlc.js";import"./_commonjsHelpers-CXUWDbkB.js";!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver(e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)}).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const l={},c=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=function(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:"fulfilled",value:e}),e=>({status:"rejected",reason:e}))))};const i=document.getElementsByTagName("link"),o=document.querySelector("meta[property=csp-nonce]"),s=o?.nonce||o?.getAttribute("nonce");r=e(t.map(e=>{if(e=function(e,t){return new URL(e,t).href}(e,n),e in l)return;l[e]=!0;const t=e.endsWith(".css"),r=t?'[rel="stylesheet"]':"";if(!!n)for(let n=i.length-1;n>=0;n--){const r=i[n];if(r.href===e&&(!t||"stylesheet"===r.rel))return}else if(document.querySelector(`link[href="${e}"]${r}`))return;const o=document.createElement("link");return o.rel=t?"stylesheet":"modulepreload",t||(o.as="script"),o.crossOrigin="",o.href=e,s&&o.setAttribute("nonce",s),document.head.appendChild(o),t?new Promise((t,n)=>{o.addEventListener("load",t),o.addEventListener("error",()=>n(new Error(`Unable to preload CSS for ${e}`)))}):void 0}))}function i(e){const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(const e of t||[])"rejected"===e.status&&i(e.reason);return e().catch(i)})};function u(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}const d="undefined"!=typeof document?e.useLayoutEffect:()=>{},f={prefix:String(Math.round(1e10*Math.random())),current:0},p=e.createContext(f),h=e.createContext(!1);let m=new WeakMap;const g="function"==typeof e.useId?function(n){let r=e.useId(),[i]=t.useState(x());return n||`${i?"react-aria":`react-aria${f.prefix}`}-${r}`}:function(n){let r=t.useContext(p),i=function(n=!1){let r=t.useContext(p),i=t.useRef(null);if(null===i.current&&!n){let t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(t){let e=m.get(t);null==e?m.set(t,{id:r.current,state:t.memoizedState}):t.memoizedState!==e.state&&(r.current=e.id,m.delete(t))}i.current=++r.current}return i.current}(!!n),o=`react-aria${r.prefix}`;return n||`${o}-${i}`};function y(){return!1}function v(){return!0}function b(e){return()=>{}}function x(){return"function"==typeof e.useSyncExternalStore?e.useSyncExternalStore(b,y,v):t.useContext(h)}let w,k=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),E=new Map;"undefined"!=typeof FinalizationRegistry&&(w=new FinalizationRegistry(e=>{E.delete(e)}));let C=new WeakMap;function S(e){let[n,r]=t.useState(e),i=t.useRef(null),o=g(n),s=t.useRef(null),a=C.get(s);if(w&&a!==o&&(null!=a&&w.unregister(s),w.register(s,o,s),C.set(s,o)),k){const e=E.get(o);e&&!e.includes(i)?e.push(i):E.set(o,[i])}return d(()=>{let e=o;return()=>{w&&(w.unregister(s),C.delete(s)),E.delete(e)}},[o]),t.useEffect(()=>{let e=i.current;return e&&r(e),()=>{e&&(i.current=null)}}),o}function P(e,t){if(e===t)return e;let n=E.get(e);if(n)return n.forEach(e=>e.current=t),t;let r=E.get(t);return r?(r.forEach(t=>t.current=e),e):t}function T(e=[]){let n=S(),[r,i]=function(e){let[n,r]=t.useState(e),i=t.useRef(n),o=t.useRef(null),s=t.useRef(()=>{if(!o.current)return;let e=o.current.next();e.done?o.current=null:i.current===e.value?s.current():r(e.value)});d(()=>{i.current=n,o.current&&s.current()});let a=t.useCallback(e=>{o.current=e(i.current),s.current()},[s]);return[n,a]}(n),o=t.useCallback(()=>{i(function*(){yield n,yield document.getElementById(n)?n:void 0})},[n,i]);return d(o,[n,o,...e]),r}function j(...e){return 1===e.length&&e[0]?e[0]:t=>{let n=!1;const r=e.map(e=>{const r=M(e,t);return n||="function"==typeof r,r});if(n)return()=>{r.forEach((t,n)=>{"function"==typeof t?t():M(e[n],null)})}}}function M(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function N(...e){let t={...e[0]};for(let r=1;r=65&&e.charCodeAt(2)<=90?t[e]=u(r,o):"className"!==e&&"UNSAFE_className"!==e||"string"!=typeof r||"string"!=typeof o?"id"===e&&r&&o?t.id=P(r,o):"ref"===e&&r&&o?t.ref=j(r,o):t[e]=void 0!==o?o:r:t[e]=n(r,o)}}return t}function R(e){const n=t.useRef(null),r=t.useRef(void 0),i=t.useCallback(t=>{if("function"==typeof e){const n=e,r=n(t);return()=>{"function"==typeof r?r():n(null)}}if(e)return e.current=t,()=>{e.current=null}},[e]);return t.useMemo(()=>({get current(){return n.current},set current(e){n.current=e,r.current&&(r.current(),r.current=void 0),null!=e&&(r.current=i(e))}}),[i])}const L=Symbol("default");function I({values:t,children:n}){for(let[r,i]of t)n=e.createElement(r.Provider,{value:i},n);return n}function K(e){let{className:n,style:r,children:i,defaultClassName:o,defaultChildren:s,defaultStyle:a,values:l,render:c}=e;return t.useMemo(()=>{let e,t,u;return e="function"==typeof n?n({...l,defaultClassName:o}):n,t="function"==typeof r?r({...l,defaultStyle:a||{}}):r,u="function"==typeof i?i({...l,defaultChildren:s}):null==i?s:i,{className:e??o,style:t||a?{...a,...t}:void 0,children:u??s,"data-rac":"",render:c?e=>c(e,l):void 0}},[n,r,i,o,s,a,l,c])}function _(e,n){let r=t.useContext(e);if(null===n)return null;if(r&&"object"==typeof r&&"slots"in r&&r.slots){let e=n||L;if(!r.slots[e]){let e=(new Intl.ListFormat).format(Object.keys(r.slots).map(e=>`"${e}"`));throw new Error(`${n?`Invalid slot "${n}".`:"A slot prop is required."} Valid slot names are ${e}.`)}return r.slots[e]}return r}function D(e,n,r){let i=_(r,e.slot)||{},{ref:o,...s}=i,a=R(t.useMemo(()=>j(n,o),[n,o])),l=N(s,e);return"style"in s&&s.style&&"style"in e&&e.style&&("function"==typeof s.style||"function"==typeof e.style?l.style=t=>{let n="function"==typeof s.style?s.style(t):s.style,r={...t.defaultStyle,...n},i="function"==typeof e.style?e.style({...t,defaultStyle:r}):e.style;return{...r,...i}}:l.style={...s.style,...e.style}),[l,a]}function A(e=!0){let[n,r]=t.useState(e),i=t.useRef(!1),o=t.useCallback(e=>{i.current=!0,r(!!e)},[]);return d(()=>{i.current||r(!1)},[]),[o,n]}function O(e){const t=/^(data-.*)$/;let n={};for(const r in e)t.test(r)||(n[r]=e[r]);return n}function F(n,r,i){let{render:o,...s}=r,a=t.useRef(null),l=t.useMemo(()=>j(i,a),[i,a]);d(()=>{},[n,o]);let c={...s,ref:l};return o?o(c,void 0):e.createElement(n,c)}const q={},H=new Proxy({},{get(e,n){if("string"!=typeof n)return;let r=q[n];return r||(r=t.forwardRef(F.bind(null,n)),q[n]=r),r}}),$="react-aria-clear-focus",B="react-aria-focus",z=e=>{return"object"==typeof(t=e)&&null!=t&&"window"in t&&t.window===t?e.document:function(e){return U(e)&&9===e.nodeType}(e)?e:e?.ownerDocument??("undefined"!=typeof document?document:void 0);var t},V=e=>{let t=z(e);return t?.defaultView??("undefined"!=typeof window?window:void 0)};function U(e){return null!==e&&"object"==typeof e&&"nodeType"in e&&"number"==typeof e.nodeType}function W(e){return U(e)&&11===e.nodeType&&"host"in e}function G(e,t,n,r){if(null==n||null==e)return()=>{};let i=Array.isArray(e)?e:[e];for(let o of i)o.addEventListener(t,n,r);return()=>{for(let e of i)e.removeEventListener(t,n,r)}}function J(e,t,n,r){if(null==e)return()=>{};let i=new Array,o=Array.isArray(e)?e:[e];for(let s of o){let e=s.style.getPropertyValue(t),o=s.style.getPropertyPriority(t);s.style.setProperty(t,n,r),i.unshift(()=>{e?s.style.setProperty(t,e,o):s.style.removeProperty(t)})}return()=>{for(let e of i)e()}}function Z(){return false}function Y(e,t){return!(!t||!e)&&e.contains(t)}const X=(e=document)=>e.activeElement;function Q(e){return e.target}function ee(e,t){if(null===t)return[];let n=[t=t??V(e)];return n}function te(e){if(!e)return!1;let t=e.getRootNode(),n=V(e);if(!(t instanceof n.Document||t instanceof n.ShadowRoot))return!1;let r=t.activeElement;return null!=r&&e.contains(r)}function ne(e){let t=oe(z(e));t!==e&&(t&&re(t,e),e&&ie(e,t))}function re(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function ie(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function oe(e){let t=X(e),n=t?.getAttribute("aria-activedescendant");return n&&e.getElementById(n)||t}function se(e){if(function(){if(null==ae){ae=!1;try{document.createElement("div").focus({get preventScroll(){return ae=!0,!0}})}catch{}}return ae}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeightt.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function ye(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function ve(e){let n=t.useRef({isFocused:!1,observer:null});return d(()=>{const e=n.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),t.useCallback(t=>{let r=Q(t);if(r instanceof HTMLButtonElement||r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement||r instanceof HTMLSelectElement){n.current.isFocused=!0;let t=r,i=r=>{if(n.current.isFocused=!1,t.disabled){let t=ge(r);e?.(t)}n.current.observer&&(n.current.observer.disconnect(),n.current.observer=null)};t.addEventListener("focusout",i,{once:!0}),n.current.observer=new MutationObserver(()=>{if(n.current.isFocused&&t.disabled){n.current.observer?.disconnect();let e=t===X()?null:X();t.dispatchEvent(new FocusEvent("blur",{relatedTarget:e})),t.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:e}))}}),n.current.observer.observe(t,{attributes:!0,attributeFilter:["disabled"]})}},[e])}let be=!1;function xe(e){if("undefined"==typeof window||null==window.navigator)return!1;let t=window.navigator.userAgentData?.brands;return Array.isArray(t)&&t.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function we(e){return"undefined"!=typeof window&&null!=window.navigator&&e.test(window.navigator.userAgentData?.platform||window.navigator.platform)}function ke(e){let t=null;return()=>(null==t&&(t=e()),t)}const Ee=ke(function(){return we(/^Mac/i)}),Ce=ke(function(){return we(/^iPhone/i)}),Se=ke(function(){return we(/^iPad/i)||Ee()&&navigator.maxTouchPoints>1}),Pe=ke(function(){return Ce()||Se()}),Te=ke(function(){return Ee()||Pe()}),je=ke(function(){return xe(/AppleWebKit/i)&&(Pe()||!Me())}),Me=ke(function(){return xe(/Chrome|CriOS|CrMo/i)}),Ne=ke(function(){return xe(/Android/i)}),Re=ke(function(){return xe(/(Firefox|FxiOS)/i)});function Le(e){return!(""!==e.pointerType||!e.isTrusted)||(Ne()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function Ie(e){return!Ne()&&0===e.width&&0===e.height||Ne()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType}const Ke=t.createContext({isNative:!0,open:function(e,t){Fe(e,e=>Oe(e,t))},useHref:e=>e});function _e(n){let{children:r,navigate:i,useHref:o}=n,s=t.useMemo(()=>({isNative:!1,open:(e,t,n,r)=>{Fe(e,e=>{Ae(e,t)?i(n,r):Oe(e,t)})},useHref:o||(e=>e)}),[i,o]);return e.createElement(Ke.Provider,{value:s},r)}function De(){return t.useContext(Ke)}function Ae(e,t){let n=e.getAttribute("target");return!(n&&"_self"!==n||e.origin!==location.origin||e.hasAttribute("download")||t.metaKey||t.ctrlKey||t.altKey||t.shiftKey)}function Oe(e,t,n=!0){let{metaKey:r,ctrlKey:i,altKey:o,shiftKey:s}=t;!je()&&Re()&&window.event?.type?.startsWith("key")&&"_blank"===e.target&&(Ee()?r=!0:i=!0);let a=je()&&Ee()&&!Se()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:r,ctrlKey:i,altKey:o,shiftKey:s}):new MouseEvent("click",{metaKey:r,ctrlKey:i,altKey:o,shiftKey:s,detail:1,bubbles:!0,cancelable:!0});Oe.isOpening=n,se(e),e.dispatchEvent(a),Oe.isOpening=!1}function Fe(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let n=document.createElement("a");n.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(n.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(n.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(n.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(n.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(n.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(n),t(n),e.removeChild(n)}}function qe(e){const t=De().useHref(e.href??"");return{"data-href":e.href?t:void 0,"data-target":e.target,"data-rel":e.rel,"data-download":e.download,"data-ping":e.ping,"data-referrer-policy":e.referrerPolicy}}function He(e){const t=De().useHref(e?.href??"");let n={};if(e)for(let r of["href","target","rel","download","ping","referrerPolicy"])r in e&&void 0!==e[r]&&(n[r]="href"===r?t:e[r]);return n}function $e(e,t,n,r){!t.isNative&&e.currentTarget instanceof HTMLAnchorElement&&e.currentTarget.href&&!e.isDefaultPrevented()&&Ae(e.currentTarget,e)&&n&&(e.preventDefault(),t.open(e.currentTarget,e,n,r))}Oe.isOpening=!1;let Be=null,ze="keyboard";const Ve=new Set;let Ue=new Map,We=!1,Ge=!1;const Je={Tab:!0,Escape:!0};function Ze(e,t){for(let n of Ve)n(e,t)}function Ye(e){We=!0,!Oe.isOpening&&function(e){return!(e.metaKey||!Ee()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key)}(e)&&(Be="keyboard",ze="keyboard",Ze("keyboard",e))}function Xe(e){Be="pointer",ze="pointerType"in e?e.pointerType:"mouse","mousedown"!==e.type&&"pointerdown"!==e.type||(We=!0,Ze("pointer",e))}function Qe(e){!Oe.isOpening&&Le(e)&&(We=!0,Be="virtual",ze="virtual")}function et(e){if(be)return;let t=Q(e),n=V(t),r=z(t);t!==n?t!==r&&e.isTrusted&&(We||Ge||(Be="virtual",ze="virtual",Ze("virtual",e)),We=!1,Ge=!1):Ge=!0}function tt(){be||(We=!1,Ge=!0)}function nt(e){if("undefined"==typeof window||"undefined"==typeof document)return;const t=V(e),n=z(e);if(Ue.get(t))return;let r=t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(){We=!0,r.apply(this,arguments)}}),n.addEventListener("keydown",Ye,!0),n.addEventListener("keyup",Ye,!0),n.addEventListener("click",Qe,!0),t.addEventListener("focus",et,!0),t.addEventListener("blur",tt,!1),"undefined"!=typeof PointerEvent&&(n.addEventListener("pointerdown",Xe,!0),n.addEventListener("pointermove",Xe,!0),n.addEventListener("pointerup",Xe,!0)),t.addEventListener("beforeunload",()=>{rt(e)},{once:!0}),Ue.set(t,{focus:r})}const rt=(e,t)=>{const n=V(e),r=z(e);t&&r.removeEventListener("DOMContentLoaded",t),Ue.has(n)&&(Reflect.defineProperty(n.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:Ue.get(n).focus}),r.removeEventListener("keydown",Ye,!0),r.removeEventListener("keyup",Ye,!0),r.removeEventListener("click",Qe,!0),n.removeEventListener("focus",et,!0),n.removeEventListener("blur",tt,!1),"undefined"!=typeof PointerEvent&&(r.removeEventListener("pointerdown",Xe,!0),r.removeEventListener("pointermove",Xe,!0),r.removeEventListener("pointerup",Xe,!0)),Ue.delete(n))};function it(){return"pointer"!==Be}function ot(){return Be}function st(e){Be=e,ze="pointer"===e?"mouse":e,Ze(e,null)}function at(){nt();let[e,n]=t.useState(Be);return t.useEffect(()=>{let e=()=>{n(Be)};return Ve.add(e),()=>{Ve.delete(e)}},[]),x()?null:e}"undefined"!=typeof document&&function(e){const t=z(e);let n;"loading"!==t.readyState?nt(e):(n=()=>{nt(e)},t.addEventListener("DOMContentLoaded",n))}();const lt=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ct(e={}){let{isTextInput:n,autoFocus:r}=e,[i,o]=t.useState(r||it());return ut(e=>{o(e)},[n],{isTextInput:n}),{isFocusVisible:i}}function ut(e,n,r){nt(),t.useEffect(()=>{if(!1===r?.enabled)return;let t=(t,n)=>{(function(e,t,n){let r=n?Q(n):void 0,i=z(r),o=V(r);const s=void 0!==o?o.HTMLInputElement:HTMLInputElement,a=void 0!==o?o.HTMLTextAreaElement:HTMLTextAreaElement,l=void 0!==o?o.HTMLElement:HTMLElement,c=void 0!==o?o.KeyboardEvent:KeyboardEvent;let u=X(i);return!((e=e||u instanceof s&&!lt.has(u.type)||u instanceof a||u instanceof l&&u.isContentEditable)&&"keyboard"===t&&n instanceof c&&!Je[n.key])})(!!r?.isTextInput,t,n)&&e(it())};return Ve.add(t),()=>{Ve.delete(t)}},n)}const dt=void 0;var ft;function pt(e){return Ee()?e.metaKey:e.ctrlKey}ft={"ar-AE":dt,"bg-BG":dt,"cs-CZ":dt,"da-DK":dt,"de-DE":dt,"el-GR":dt,"en-US":{collectionLabel:"Suggestions"},"es-ES":dt,"et-EE":dt,"fi-FI":dt,"fr-FR":dt,"he-IL":dt,"hr-HR":dt,"hu-HU":dt,"it-IT":dt,"ja-JP":dt,"ko-KR":dt,"lt-LT":dt,"lv-LV":dt,"nb-NO":dt,"nl-NL":dt,"pl-PL":dt,"pt-BR":dt,"pt-PT":dt,"ro-RO":dt,"ru-RU":dt,"sk-SK":dt,"sl-SI":dt,"sr-SP":dt,"sv-SE":dt,"tr-TR":dt,"uk-UA":dt,"zh-CN":{collectionLabel:"建议"},"zh-TW":{collectionLabel:"建議"}};const ht=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function mt(e){return e instanceof HTMLInputElement&&!ht.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}const gt=e.useInsertionEffect??d;function yt(e){const n=t.useRef(null);return gt(()=>{n.current=e},[e]),t.useCallback((...e)=>{const t=n.current;return t?.(...e)},[])}function vt(e,n,r,i){let o=yt(r),s=null==r;t.useEffect(()=>{if(!s&&null!=e.current)return G(e.current,n,o,i)},[e,n,i,s])}function bt(e,t){let{id:n,"aria-label":r,"aria-labelledby":i}=e;if(n=S(n),i&&r){let e=new Set([n,...i.trim().split(/\s+/)]);i=[...e].join(" ")}else i&&(i=i.trim().split(/\s+/).join(" "));return r||i||!t||(r=t),{id:n,"aria-label":r,"aria-labelledby":i}}const xt=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),wt=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function kt(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),n="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(n)return"rtl"===n.direction;if(t.script)return xt.has(t.script)}let t=e.split("-")[0];return wt.has(t)}const Et=Symbol.for("react-aria.i18n.locale");function Ct(){let e="undefined"!=typeof window&&window[Et]||"undefined"!=typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:kt(e)?"rtl":"ltr"}}let St=Ct(),Pt=new Set;function Tt(){St=Ct();for(let e of Pt)e(St)}function jt(){let e=x(),[n,r]=t.useState(St);if(t.useEffect(()=>(0===Pt.size&&window.addEventListener("languagechange",Tt),Pt.add(r),()=>{Pt.delete(r),0===Pt.size&&window.removeEventListener("languagechange",Tt)}),[]),e){return{locale:"undefined"!=typeof window&&window[Et]||"en-US",direction:"ltr"}}return n}const Mt=e.createContext(null);function Nt(t){let{locale:n,direction:r,children:i}=t,o=e.useMemo(()=>({locale:n,direction:r||(kt(n)?"rtl":"ltr")}),[n,r]);return e.createElement(Mt.Provider,{value:o},i)}function Rt(t){let{children:n}=t,r=jt();return e.createElement(Mt.Provider,{value:r},n)}function Lt(t){let{locale:n,children:r}=t;return n?e.createElement(Nt,{locale:n,direction:t.direction,children:r}):e.createElement(Rt,{children:r})}function It(){let e=jt();return t.useContext(Mt)||e}const Kt=Symbol.for("react-aria.i18n.locale"),_t=Symbol.for("react-aria.i18n.strings");let Dt;class At{constructor(e,t="en-US"){this.strings=Object.fromEntries(Object.entries(e).filter(([,e])=>e)),this.defaultLocale=t}getStringForLocale(e,t){let n=this.getStringsForLocale(t)[e];if(!n)throw new Error(`Could not find intl message ${e} in ${t} locale`);return n}getStringsForLocale(e){let t=this.strings[e];return t||(t=function(e,t,n="en-US"){if(t[e])return t[e];let r=function(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}(e),i=function(e){return Intl.Locale?new Intl.Locale(e).script:void 0}(e);if(i&&t[`${r}-${i}`])return t[`${r}-${i}`];if(t[r])return t[r];for(let o in t)if(o.startsWith(r+"-"))return t[o];return t[n]}(e,this.strings,this.defaultLocale),this.strings[e]=t),t}static getGlobalDictionaryForPackage(e){if("undefined"==typeof window)return null;let t=window[Kt];if(void 0===Dt){let e=window[_t];if(!e)return null;Dt={};for(let n in e)Dt[n]=new At({[t]:e[n]},t)}let n=Dt?.[e];if(!n)throw new Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}}const Ot=new Map,Ft=new Map;class qt{constructor(e,t){this.locale=e,this.strings=t}format(e,t){let n=this.strings.getStringForLocale(e,this.locale);return"function"==typeof n?n(t,this):n}plural(e,t,n="cardinal"){let r=t["="+e];if(r)return"function"==typeof r?r():r;let i=this.locale+":"+n,o=Ot.get(i);return o||(o=new Intl.PluralRules(this.locale,{type:n}),Ot.set(i,o)),r=t[o.select(e)]||t.other,"function"==typeof r?r():r}number(e){let t=Ft.get(this.locale);return t||(t=new Intl.NumberFormat(this.locale),Ft.set(this.locale,t)),t.format(e)}select(e,t){let n=e[t]||e.other;return"function"==typeof n?n():n}}const Ht=new WeakMap;function $t(e,t){return t&&At.getGlobalDictionaryForPackage(t)||function(e){let t=Ht.get(e);return t||(t=new At(e),Ht.set(e,t)),t}(e)}function Bt(e,n){let{locale:r}=It(),i=$t(e,n);return t.useMemo(()=>new qt(r,i),[r,i])}function zt(e,n){let{inputRef:r,collectionRef:i,filter:o,disableAutoFocusFirst:s=!1,disableVirtualFocus:a=!1}=e,l=S(),c=t.useRef(void 0),u=t.useRef(!1),f=t.useRef(null),p="virtual"===ot()&&(Pe()||Ne()),[h,m]=t.useState(!p&&!a),[g,y]=t.useState(!1),[v,b]=t.useState(!1);t.useEffect(()=>()=>clearTimeout(c.current),[]);let x=yt(e=>{!e.isTrusted&&h&&r.current&&X(z(r.current))!==r.current&&"touch"!==ze&&r.current.focus();let t=Q(e);!e.isTrusted&&t&&f.current!==t.id&&(clearTimeout(c.current),t!==i.current?u.current?(f.current=t.id,c.current=setTimeout(()=>{n.setFocusedNodeId(t.id)},500)):(f.current=t.id,n.setFocusedNodeId(t.id)):f.current&&!document.getElementById(f.current)&&(f.current=null,n.setFocusedNodeId(null)),u.current=!1)}),[w,k]=t.useState(null),E=t.useCallback(e=>{k(e),null!=e?(null!=e.getAttribute("tabindex")&&m(!1),y(!0)):y(!1)},[]);d(()=>(null!=w&&w.addEventListener("focusin",x),()=>{w?.removeEventListener("focusin",x)}),[w]);let C=R(t.useMemo(()=>j(i,E),[i,E])),P=t.useCallback(()=>{i.current?(u.current=!0,i.current?.dispatchEvent(new CustomEvent(B,{cancelable:!0,bubbles:!0,detail:{focusStrategy:"first"}}))):b(!0)},[i]),T=t.useCallback(e=>{b(!1),ne(X()),f.current=null,n.setFocusedNodeId(null);let t=new CustomEvent($,{cancelable:!0,bubbles:!0,detail:{clearFocusKey:e}});clearTimeout(c.current),u.current=!1,i.current?.dispatchEvent(t)},[i,n]),M=t.useRef("");vt(r,"beforeinput",e=>{let{inputType:t}=e;M.current=t});let L=t.useRef(null),I=yt(e=>{if(Q(e)===L.current){e.stopImmediatePropagation();let t=f.current;if(null==t)i.current?.dispatchEvent(new KeyboardEvent(e.type,e));else{let n=document.getElementById(t);n?.dispatchEvent(new KeyboardEvent(e.type,e))}}});var K;t.useEffect(()=>(document.addEventListener("keyup",I,!0),()=>{document.removeEventListener("keyup",I,!0)}),[]);let _=bt({id:l,"aria-label":Bt((K=ft)&&K.__esModule?K.default:K,"@react-aria/autocomplete").format("collectionLabel")}),D=t.useCallback((e,t)=>!o||o(e,n.inputValue,t),[n.inputValue,o]),A={value:n.inputValue,onChange:e=>{"insertText"!==M.current&&"insertCompositionText"!==M.current&&"insertFromComposition"!==M.current||s?M.current&&(M.current.includes("insert")||M.current.includes("delete")||M.current.includes("history"))&&(T(!0),oe(document)===r.current&&ie(r.current,null)):P(),n.setInputValue(e)}},O={onKeyDown:e=>{if(L.current=Q(e),e.nativeEvent.isComposing)return;let t=f.current;switch(null!==t&&null==z(r.current).getElementById(t)&&(f.current=null,t=null),e.key){case"a":if(pt(e))return;break;case"Escape":if(e.isDefaultPrevented())return;break;case" ":return;case"Tab":return void("continuePropagation"in e&&e.continuePropagation());case"Home":case"End":case"PageDown":case"PageUp":case"ArrowUp":case"ArrowDown":case"ArrowRight":case"ArrowLeft":{if(("Home"===e.key||"End"===e.key)&&null==t&&e.shiftKey)return;if("ArrowRight"===e.key||"ArrowLeft"===e.key){if(null==t)return void(e.isPropagationStopped()||e.stopPropagation());break}e.preventDefault();let n=new CustomEvent(B,{cancelable:!0,bubbles:!0});i.current?.dispatchEvent(n);break}}e.isPropagationStopped()||e.stopPropagation();let n=!0;if(null!==i.current)if(null==t)n=i.current?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent))||!1;else{let r=document.getElementById(t);r&&(n=r?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent))||!1)}if(n)switch(e.key){case"ArrowLeft":case"ArrowRight":T();break;case"Enter":if(null!=t){let n=document.getElementById(t);n?.dispatchEvent(new PointerEvent("click",e.nativeEvent))}}else e.preventDefault()},"aria-activedescendant":n.focusedNodeId??void 0,onBlur:e=>{if(!e.isTrusted)return;let t=f.current?document.getElementById(f.current):null;t&&re(t,e.relatedTarget)},onFocus:e=>{if(!e.isTrusted)return;if(f.current?document.getElementById(f.current):null){let t=Q(e);queueMicrotask(()=>{re(t,i.current),ie(i.current,t)})}},onPointerDown:e=>{0===e.button&&"touch"!==e.pointerType&&null!=f.current&&null!=r.current&&Q(e)===r.current&&T()}};return A={...A,...h&&g&&O,enterKeyHint:"go","aria-controls":g?l:void 0,"aria-autocomplete":"list",autoCorrect:"off",spellCheck:"false",autoComplete:"off"},{inputProps:A,collectionProps:N(_,{shouldUseVirtualFocus:h,disallowTypeAhead:h,autoFocus:!!v&&"first"}),collectionRef:C,filter:null!=o?D:void 0}}const Vt="undefined"!=typeof document?e.useInsertionEffect??e.useLayoutEffect:()=>{};function Ut(e,n,r){let[i,o]=t.useState(e||n),s=t.useRef(i),a=t.useRef(void 0!==e),l=void 0!==e;t.useEffect(()=>{a.current,a.current=l},[l]);let c=l?e:i;Vt(()=>{s.current=c});let[,u]=t.useReducer(()=>({}),{}),d=t.useCallback((e,...t)=>{let n="function"==typeof e?e(s.current):e;Object.is(s.current,n)||(s.current=n,o(n),u(),r?.(n,...t))},[r]);return[c,d]}const Wt=t.createContext(null),Gt=t.createContext(null),Jt=t.createContext(null),Zt=t.createContext(null);function Yt(n){n=N(_(Wt,n.slot),n);let{filter:r,disableAutoFocusFirst:i}=n,o=function(e){let{onInputChange:n,inputValue:r,defaultInputValue:i=""}=e,[o,s]=t.useState(null),[a,l]=Ut(r,i,e=>{n&&n(e)});return{inputValue:a,setInputValue:l,focusedNodeId:o,setFocusedNodeId:s}}(n),s=t.useRef(null),a=t.useRef(null),{inputProps:l,collectionProps:c,collectionRef:u,filter:d}=zt({...O(n),filter:r,disableAutoFocusFirst:i,inputRef:s,collectionRef:a},o);return e.createElement(I,{values:[[Gt,o],[Zt,{...l,ref:s}],[Jt,{...c,filter:d,ref:u}]]},n.children)}class Xt{constructor(e){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=e}get childNodes(){throw new Error("childNodes is not supported")}clone(){let e=new this.constructor(this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e["aria-label"]=this["aria-label"],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e.colSpan=this.colSpan,e.colIndex=this.colIndex,e}filter(e,t,n){let r=this.clone();return t.addDescendants(r,e),r}}class Qt extends Xt{filter(e,t,n){let[r,i]=sn(e,t,this.firstChildKey,n),o=this.clone();return o.firstChildKey=r,o.lastChildKey=i,o}}class en extends Xt{static{this.type="header"}}class tn extends Xt{static{this.type="loader"}}class nn extends Qt{static{this.type="item"}filter(e,t,n){if(n(this.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}}class rn extends Qt{static{this.type="section"}filter(e,t,n){let r=super.filter(e,t,n);if(r&&null!==r.lastChildKey){let t=e.getItem(r.lastChildKey);if(t&&"header"!==t.type)return r}return null}}class on{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let e=null!=this.firstKey?this.keyMap.get(this.firstKey):void 0;for(;e;)yield e,e=null!=e.nextKey?this.keyMap.get(e.nextKey):void 0}getChildren(e){let t=this.keyMap;return{*[Symbol.iterator](){let n=t.get(e),r=null!=n?.firstChildKey?t.get(n.firstChildKey):null;for(;r;)yield r,r=null!=r.nextKey?t.get(r.nextKey):void 0}}}getKeyBefore(e){let t=this.keyMap.get(e);if(!t)return null;if(null!=t.prevKey){for(t=this.keyMap.get(t.prevKey);t&&"item"!==t.type&&null!=t.lastChildKey;)t=this.keyMap.get(t.lastChildKey);return t?.key??null}return t.parentKey}getKeyAfter(e){let t=this.keyMap.get(e);if(!t)return null;if("item"!==t.type&&null!=t.firstChildKey)return t.firstChildKey;for(;t;){if(null!=t.nextKey)return t.nextKey;if(null==t.parentKey)return null;t=this.keyMap.get(t.parentKey)}return null}getFirstKey(){return this.firstKey}getLastKey(){let e=null!=this.lastKey?this.keyMap.get(this.lastKey):null;for(;null!=e?.lastChildKey;)e=this.keyMap.get(e.lastChildKey);return e?.key??null}getItem(e){return this.keyMap.get(e)??null}at(){throw new Error("Not implemented")}clone(){let e=new(0,this.constructor);return e.keyMap=new Map(this.keyMap),e.firstKey=this.firstKey,e.lastKey=this.lastKey,e.itemCount=this.itemCount,e}addNode(e){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");"item"===e.type&&null==this.keyMap.get(e.key)&&this.itemCount++,this.keyMap.set(e.key,e)}addDescendants(e,t){this.addNode(e);let n=t.getChildren(e.key);for(let r of n)this.addDescendants(r,t)}removeNode(e){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");let t=this.keyMap.get(e);null!=t&&"item"===t.type&&this.itemCount--,this.keyMap.delete(e)}commit(e,t,n=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=e,this.lastKey=t,this.frozen=!n}filter(e){let t=new this.constructor,[n,r]=sn(this,t,this.firstKey,e);return t?.commit(n,r),t}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}}function sn(e,t,n,r){if(null==n)return[null,null];let i=null,o=null,s=e.getItem(n);for(;null!=s;){let n=s.filter(e,t,r);null!=n&&(n.nextKey=null,o&&(n.prevKey=o.key,o.nextKey=n.key),null==i&&(i=n),t.addNode(n),o=n),s=null!=s.nextKey?e.getItem(s.nextKey):null}if(o&&"separator"===o.type){let e=o.prevKey;t.removeNode(o.key),null!=e?(o=t.getItem(e),o.nextKey=null):o=null}return[i?.key??null,o?.key??null]}class an{constructor(e){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=e}*[Symbol.iterator](){let e=this.firstChild;for(;e;)yield e,e=e.nextSibling}get firstChild(){return this._firstChild}set firstChild(e){this._firstChild=e,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(e){this._lastChild=e,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(e){this._previousSibling=e,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(e){this._nextSibling=e,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(e){this._parentNode=e,this.ownerDocument.markDirty(this)}get isConnected(){return this.parentNode?.isConnected||!1}invalidateChildIndices(e){(null==this._minInvalidChildIndex||!this._minInvalidChildIndex.isConnected||e.indexthis.subscriptions.delete(e)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}}function un(e){let{children:n,items:r,idScope:i,addIdAndValue:o,dependencies:s=[]}=e,a=t.useMemo(()=>{},[n]),l=t.useMemo(()=>new WeakMap,[...s,a]);return t.useMemo(()=>{if(r&&"function"==typeof n){let e=[];for(let s of r){let r=dn(s)?s:null,a=r?l.get(r):null;if(!a){a=n(s);let c=a.props.id??s?.key??s?.id;null!=i&&null==a.props.id&&null!=c&&(c=i+":"+c);let u=c??e.length;a=t.cloneElement(a,o?{key:u,id:c,value:s}:{key:u}),r&&l.set(r,a)}e.push(a)}return e}if("function"!=typeof n)return n},[n,r,l,i,o])}function dn(e){switch(typeof e){case"object":return null!=e;case"function":case"symbol":return!0;default:return!1}}let fn=new Map,pn=new Set;function hn(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{let r=Q(n);if(!e(n)||!r)return;let i=fn.get(r);if(i&&(i.delete(n.propertyName),0===i.size&&(r.removeEventListener("transitioncancel",t),fn.delete(r)),0===fn.size)){for(let e of pn)e();pn.clear()}};document.body.addEventListener("transitionrun",n=>{let r=Q(n);if(!e(n)||!r)return;let i=fn.get(r);i||(i=new Set,fn.set(r,i),r.addEventListener("transitioncancel",t,{once:!0})),i.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}function mn(e){requestAnimationFrame(()=>{!function(){for(const[e]of fn)"isConnected"in e&&!e.isConnected&&fn.delete(e)}(),0===fn.size?e():pn.add(e)})}function gn(e){if(!e.isConnected)return;const t=z(e);if("virtual"===ot()){let n=X(t);mn(()=>{const r=X(t);r!==n&&r!==t.body||!e.isConnected||se(e)})}else se(e)}function yn(e){let{isDisabled:n,onFocus:r,onBlur:i,onFocusChange:o}=e;const s=t.useCallback(e=>{if(Q(e)===e.currentTarget)return i&&i(e),o&&o(!1),!0},[i,o]),a=ve(s),l=t.useCallback(e=>{let t=Q(e);const n=z(t),i=n?X(n):X();t===e.currentTarget&&t===i&&(r&&r(e),o&&o(!0),a(e))},[o,r,a]);return{focusProps:{onFocus:!n&&(r||o||i)?l:void 0,onBlur:n||!i&&!o?void 0:s}}}function vn(e){if(e)return t=>{let n=!0,r={...t,preventDefault(){t.preventDefault()},isDefaultPrevented:()=>t.isDefaultPrevented(),stopPropagation(){n=!0},continuePropagation(){n=!1,"function"==typeof t.continuePropagation&&t.continuePropagation()},isPropagationStopped:()=>n};e(r),!n||"function"==typeof t.isPropagationStopped&&t.isPropagationStopped()||t.stopPropagation()}}"undefined"!=typeof document&&("loading"!==document.readyState?hn():document.addEventListener("DOMContentLoaded",hn));const bn=new Set(["shift","alt","control","meta","mod"]),xn=["Alt","Control","Meta","Shift"];function wn(e){return xn.filter(t=>e.has(t))}function kn(e){let t=e.split("+").reduce((e,t)=>{let n=t.toLowerCase();return bn.has(n)?"shift"===n?e.shift=!0:"alt"===n?e.alt=!0:"control"===n?e.ctrl=!0:"meta"===n?e.meta=!0:"mod"===n&&(e.mod=!0):e.key=t,e},{shift:!1,alt:!1,ctrl:!1,meta:!1,mod:!1,key:""});if(""===t.key)throw new Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);return t}function En(e){return e.toLowerCase()}const Cn={space:" ",esc:"escape",del:"delete",ins:"insert",left:"arrowleft",right:"arrowright",up:"arrowup",down:"arrowdown",pageup:"pageup",pagedown:"pagedown"};function Sn(e){let t=wn(function(e){let t=new Set;return e.alt&&t.add("Alt"),e.shift&&t.add("Shift"),e.ctrl&&t.add("Control"),e.meta&&t.add("Meta"),e.mod&&t.add(Ee()?"Meta":"Control"),t}(e)),n=function(e){let t=En(e),n=Cn[t];return null!=n?n:t}(e.key);return t.length>0?`${t.join("+")}+${n}`:n}function Pn(e){let t=wn(function(e){let t=new Set;return e.altKey&&t.add("Alt"),e.ctrlKey&&t.add("Control"),e.metaKey&&t.add("Meta"),e.shiftKey&&t.add("Shift"),t}(e)),n=En(e.key);return(t.length>0?`${t.join("+")}+`:"")+n}function Tn(e){let t,n,{shortcuts:r,allowRepeats:i=!1,allowComposing:o=!1}=e;if(r){let s=function(e){let t=new Map;for(let[n,r]of Object.entries(e)){let e=kn(n);t.set(Sn(e),r)}return e=>{let n=Pn(e),r=t.get(n),i=r?.(e);void 0===i&&void 0!==r?i={shouldContinuePropagation:!1,shouldPreventDefault:!0}:"boolean"==typeof i&&(i={shouldContinuePropagation:!i,shouldPreventDefault:i}),i?.shouldPreventDefault&&e.preventDefault(),r&&!i?.shouldContinuePropagation||e.continuePropagation()}}(r),a=vn(e=>{Y(e.currentTarget,Q(e))?e.nativeEvent?.repeat&&!i||e.nativeEvent?.isComposing&&!o?e.continuePropagation():s(e):e.continuePropagation()}),l=vn(e=>{Y(e.currentTarget,Q(e))?(e.nativeEvent?.repeat&&!i||e.nativeEvent,e.continuePropagation()):e.continuePropagation()});t=e.onKeyDown?u(e.onKeyDown,a):a,n=e.onKeyUp?u(e.onKeyUp,l):l}else t=vn(e.onKeyDown),n=vn(e.onKeyUp);return{keyboardProps:e.isDisabled?{}:{onKeyDown:t,onKeyUp:n}}}function jn(e,t){d(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}let Mn=e.createContext(null);const Nn=e.forwardRef(function(t,n){let{children:r,...i}=t,o={...i,ref:R(n)};return e.createElement(Mn.Provider,{value:o},r)});function Rn(e,n){let{focusProps:r}=yn(e),{keyboardProps:i}=Tn(e),o=N(r,i),s=function(e){let n=t.useContext(Mn)||{};jn(n,e);let{ref:r,...i}=n;return i}(n),a=e.isDisabled?{}:s,l=t.useRef(e.autoFocus);t.useEffect(()=>{l.current&&n.current&&gn(n.current),l.current=!1},[n]);let c=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(c=void 0),{focusableProps:N({...o,tabIndex:c},a)}}const Ln=t.forwardRef(({children:n,...r},i)=>{i=R(i);let{focusableProps:o}=Rn(r,i),s=e.Children.only(n);t.useEffect(()=>{},[i,r.isDisabled]);let a=parseInt(e.version,10)<19?s.ref:s.props.ref;return e.cloneElement(s,{...N(o,s.props),ref:j(a,i)})});"undefined"!=typeof HTMLTemplateElement&&(Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.content.firstChild}}),Object.defineProperty(HTMLTemplateElement.prototype,"appendChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.appendChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"removeChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.removeChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"insertBefore",{configurable:!0,enumerable:!0,value:function(e,t){return this.content.insertBefore(e,t)}}));const In=t.createContext(!1);function Kn(n){if(t.useContext(In))return e.createElement(e.Fragment,null,n.children);let r=e.createElement(In.Provider,{value:!0},n.children);return e.createElement("template",null,r)}function _n(e){let n=(n,r)=>t.useContext(In)?null:e(n,r);return n.displayName=e.displayName||e.name,t.forwardRef(n)}function Dn(){return t.useContext(In)}const An=t.createContext(!1),On=t.createContext(null);function Fn(n){if(t.useContext(On))return n.content;let{collection:r,document:i}=function(e){let[n]=t.useState(()=>new cn(e?.()||new on)),r=t.useCallback(e=>n.subscribe(e),[n]),i=t.useCallback(()=>{let e=n.getCollection();return n.isSSR&&n.resetAfterSSR(),e},[n]),o=t.useCallback(()=>(n.isSSR=!0,n.getCollection()),[n]),s=Hn(r,i,o);return{collection:s,document:n}}(n.createCollection);return e.createElement(e.Fragment,null,e.createElement(Kn,null,e.createElement(On.Provider,{value:i},n.content)),e.createElement(qn,{render:n.children,collection:r}))}function qn({collection:e,render:t}){return t(e)}const Hn="function"==typeof e.useSyncExternalStore?e.useSyncExternalStore:function(e,n,i){let o=x(),s=t.useRef(o);s.current=o;let a=t.useCallback(()=>s.current?i():n(),[n,i]);return r.useSyncExternalStore(e,a)};const $n=t.createContext(null);function Bn(n,r,i,o,s,a){var l;"string"==typeof n&&(l=n,n=class extends Xt{static{this.type=l}});let c=t.useCallback(e=>{e?.setProps(r,i,n,o,a)},[r,i,o,a,n]),u=t.useContext($n);if(u){let t=u.ownerDocument.nodesByProps.get(r);return t||(t=u.ownerDocument.createElement(n.type),t.setProps(r,i,n,o,a),u.appendChild(t),u.ownerDocument.updateCollection(),u.ownerDocument.nodesByProps.set(r,t)),s?e.createElement($n.Provider,{value:t},s):null}return e.createElement(n.type,{ref:c},s)}function zn(n,r){let i=({node:e})=>r(e.props,e.props.ref,e),o=t.forwardRef((o,s)=>{let a=t.useContext(Mn);if(!t.useContext(An)){if(r.length>=3)throw new Error(r.name+" cannot be rendered outside a collection.");return r(o,s)}return Bn(n,o,s,"children"in o?o.children:null,null,t=>e.createElement(Mn.Provider,{value:a},e.createElement(i,{node:t})))});return o.displayName=r.name,o}function Vn(n,r,i=Un){let o=({node:e})=>r(e.props,e.props.ref,e),s=t.forwardRef((t,r)=>{let s=i(t);return Bn(n,t,r,null,s,t=>e.createElement(o,{node:t}))??e.createElement(e.Fragment,null)});return s.displayName=r.name,s}function Un(e){return un({...e,addIdAndValue:!0})}const Wn=t.createContext(null);function Gn(n){let r=t.useContext(Wn),i=(r?.dependencies||[]).concat(n.dependencies),o=n.idScope??r?.idScope,s=Un({...n,idScope:o,dependencies:i});return t.useContext(On)&&(s=e.createElement(Jn,null,s)),r=t.useMemo(()=>({dependencies:i,idScope:o}),[o,...i]),e.createElement(Wn.Provider,{value:r},s)}function Jn({children:n}){let r=t.useContext(On),o=t.useMemo(()=>e.createElement(On.Provider,{value:null},e.createElement(An.Provider,{value:!0},n)),[n]);return x()?e.createElement($n.Provider,{value:r},o):i.createPortal(o,r)}const Zn=t.createContext(null),Yn={CollectionRoot:({collection:e,renderDropIndicator:t})=>Xn(e,null,t),CollectionBranch:({collection:e,parent:t,renderDropIndicator:n})=>Xn(e,t,n)};function Xn(t,n,r){return un({items:n?t.getChildren(n.key):t,dependencies:[r],children(n){if("content"===n.type)return e.createElement(e.Fragment,null);let i=n.render(n);return r&&"item"===n.type?e.createElement(e.Fragment,null,r({type:"item",key:n.key,dropPosition:"before"}),i,Qn(t,n,r)):i}})}function Qn(e,n,r){let i=n.key,o=e.getKeyAfter(i),s=null!=o?e.getItem(o):null;for(;null!=s&&"item"!==s.type;)o=e.getKeyAfter(s.key),s=null!=o?e.getItem(o):null;let a=null!=n.nextKey?e.getItem(n.nextKey):null;for(;null!=a&&"item"!==a.type;)a=null!=a.nextKey?e.getItem(a.nextKey):null;let l=[];if(null==a){let i=n;for(;"item"===i?.type&&(!s||i.parentKey!==s.parentKey&&s.levelnull!=e?new Set([e]):null,[e])}const nr=new Set(["id"]),rr=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),ir=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),or=new Set(["dir","lang","hidden","inert","translate"]),sr=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),ar=/^(data-.*)$/;function lr(e,t={}){let{labelable:n,isLink:r,global:i,events:o=i,propNames:s}=t,a={};for(const l in e)Object.prototype.hasOwnProperty.call(e,l)&&(nr.has(l)||n&&rr.has(l)||r&&ir.has(l)||i&&or.has(l)||o&&(sr.has(l)||l.endsWith("Capture")&&sr.has(l.slice(0,-7)))||s?.has(l)||ar.test(l))&&(a[l]=e[l]);return a}let cr="default",ur="",dr=new WeakMap;function fr(e){if(Pe()&&je()){if("default"===cr){const t=z(e);ur=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}cr="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";dr.set(e,e.style[t]),e.style[t]="none"}}function pr(e){if(Pe()&&je()){if("disabled"!==cr)return;cr="restoring",setTimeout(()=>{mn(()=>{if("restoring"===cr){const t=z(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=ur||""),ur="",cr="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&dr.has(e)){let t=dr.get(e),n="userSelect"in e.style?"userSelect":"webkitUserSelect";"none"===e.style[n]&&(e.style[n]=t),""===e.getAttribute("style")&&e.removeAttribute("style"),dr.delete(e)}}let hr=new WeakMap;function mr(e){let t=z(e),n=hr.get(t);return n??=function(e,t){let n,r=V(t),i=z(t);if(null==i||null==r)return;let o=`meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`,s=i.querySelector(o);return s&&s instanceof r.HTMLMetaElement&&("csp-nonce"===e&&s.nonce&&(n??=s.nonce||void 0),s.content&&(n??=s.content||void 0)),"csp-nonce"===e&&(n??=r.__webpack_nonce__||globalThis.__webpack_nonce__||void 0),n}("csp-nonce",t),void 0!==n&&hr.set(t,n),n}const gr=e.createContext({register:()=>{}});function yr(){let e=t.useRef(new Map),n=t.useCallback((t,n,r,i)=>{let o=i?.once?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:o,options:i}),t.addEventListener(n,o,i)},[]),r=t.useCallback((t,n,r,i)=>{let o=e.current.get(r)?.fn||r;t.removeEventListener(n,o,i),e.current.delete(r)},[]),i=t.useCallback(()=>{e.current.forEach((e,t)=>{r(e.eventTarget,e.type,t,e.options)})},[r]);return t.useEffect(()=>i,[i]),{addGlobalListener:n,removeGlobalListener:r,removeAllGlobalListeners:i}}gr.displayName="PressResponderContext";class vr{#e;constructor(e,t,n,r){this.#e=!0;let i=r?.target??n.currentTarget;const o=i?.getBoundingClientRect();let s,a,l=0,c=null;null!=n.clientX&&null!=n.clientY&&(a=n.clientX,c=n.clientY),o&&(null!=a&&null!=c?(s=a-o.left,l=c-o.top):(s=o.width/2,l=o.height/2)),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=s,this.y=l,this.key=n.key}continuePropagation(){this.#e=!1}get shouldStopPropagation(){return this.#e}}const br=Symbol("linkClicked"),xr="react-aria-pressable-style",wr="data-react-aria-pressable";function kr(e){let{onPress:n,onPressChange:r,onPressStart:i,onPressEnd:o,onPressUp:s,onClick:a,isDisabled:l,isPressed:c,preventFocusOnPress:d,shouldCancelOnPointerExit:f,allowTextSelectionOnPress:p,ref:h,...m}=function(e){let n=t.useContext(gr);if(n){let{register:t,ref:r,...i}=n;e=N(i,e),t()}return jn(n,e.ref),e}(e),[g,y]=t.useState(!1),v=t.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:b,removeAllGlobalListeners:x}=yr(),w=t.useCallback((e,t)=>{let n=v.current;if(l||n.didFirePressStart)return!1;let o=!0;if(n.isTriggeringEvent=!0,i){let n=new vr("pressstart",t,e);i(n),o=n.shouldStopPropagation}return r&&r(!0),n.isTriggeringEvent=!1,n.didFirePressStart=!0,y(!0),o},[l,i,r]),k=t.useCallback((e,t,i=!0)=>{let s=v.current;if(!s.didFirePressStart)return!1;s.didFirePressStart=!1,s.isTriggeringEvent=!0;let a=!0;if(o){let n=new vr("pressend",t,e);o(n),a=n.shouldStopPropagation}if(r&&r(!1),y(!1),n&&i&&!l){let r=new vr("press",t,e);n(r),a&&=r.shouldStopPropagation}return s.isTriggeringEvent=!1,a},[l,o,r,n]),E=yt(k),C=yt(t.useCallback((e,t)=>{let n=v.current;if(l)return!1;if(s){n.isTriggeringEvent=!0;let r=new vr("pressup",t,e);return s(r),n.isTriggeringEvent=!1,r.shouldStopPropagation}return!0},[l,s])),S=t.useCallback(e=>{let t=v.current;if(t.isPressed&&t.target){t.didFirePressStart&&null!=t.pointerType&&k(Sr(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,x(),p||pr(t.target);for(let e of t.disposables)e();t.disposables=[]}},[p,x,k]),P=yt(S);t.useEffect(()=>{l&&v.current.isPressed&&P({currentTarget:v.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[l]);let T=t.useCallback(e=>{f&&S(e)},[f,S]),j=t.useCallback(e=>{l||a?.(e)},[l,a]),M=t.useCallback((e,t)=>{if(!l&&a){let n=new MouseEvent("click",e);ye(n,t),a(ge(n))}},[l,a]),R=t.useMemo(()=>{let e=v.current,t={onKeyDown(t){if(Cr(t.nativeEvent,t.currentTarget)&&Y(t.currentTarget,Q(t))){Pr(Q(t),t.key)&&t.preventDefault();let r=!0;e.isPressed||t.repeat||(e.target=t.currentTarget,e.isPressed=!0,e.pointerType="keyboard",r=w(t,"keyboard"));let i=t.currentTarget,o=t=>{Cr(t,i)&&!t.repeat&&Y(i,Q(t))&&e.target&&C(Sr(e.target,t),"keyboard")};b(z(t.currentTarget),"keyup",u(o,n),!0),r&&t.stopPropagation(),t.metaKey&&Ee()&&e.metaKeyEvents?.set(t.key,t.nativeEvent)}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||Y(t.currentTarget,Q(t)))&&t&&0===t.button&&!e.isTriggeringEvent&&!Oe.isOpening){let n=!0;if(l&&t.preventDefault(),e.ignoreEmulatedMouseEvents||e.isPressed||"virtual"!==e.pointerType&&!Le(t.nativeEvent)){if(e.isPressed&&"keyboard"!==e.pointerType){let r=e.pointerType||t.nativeEvent.pointerType||"virtual",i=C(Sr(t.currentTarget,t),r),o=E(Sr(t.currentTarget,t),r,!0);n=i&&o,e.isOverTarget=!1,j(t),P(t)}}else{let e=w(t,"virtual"),r=C(t,"virtual"),i=E(t,"virtual");j(t),n=e&&r&&i}e.ignoreEmulatedMouseEvents=!1,n&&t.stopPropagation()}}},n=t=>{if(e.isPressed&&e.target&&Cr(t,e.target)){Pr(Q(t),t.key)&&t.preventDefault();let n=Q(t),r=Y(e.target,n);E(Sr(e.target,t),"keyboard",r),r&&M(t,e.target),x(),"Enter"!==t.key&&Er(e.target)&&Y(e.target,n)&&!t[br]&&(t[br]=!0,Oe(e.target,t,!1)),e.isPressed=!1,e.metaKeyEvents?.delete(t.key)}else if("Meta"===t.key&&e.metaKeyEvents?.size){let t=e.metaKeyEvents;e.metaKeyEvents=void 0;for(let n of t.values())e.target?.dispatchEvent(new KeyboardEvent("keyup",n))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{if(0!==t.button||!Y(t.currentTarget,Q(t)))return;if(Ie(t.nativeEvent))return void(e.pointerType="virtual");e.pointerType=t.pointerType;let i=!0;if(!e.isPressed){e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,p||fr(e.target),i=w(t,e.pointerType);let o=Q(t);"releasePointerCapture"in o&&("hasPointerCapture"in o?o.hasPointerCapture(t.pointerId)&&o.releasePointerCapture(t.pointerId):o.releasePointerCapture(t.pointerId)),b(z(t.currentTarget),"pointerup",n,!1),b(z(t.currentTarget),"pointercancel",r,!1)}i&&t.stopPropagation()},t.onMouseDown=t=>{if(Y(t.currentTarget,Q(t))&&0===t.button){if(d){let n=function(e){for(;e&&!pe(e,{skipVisibilityCheck:!0});)e=e.parentElement;let t=V(e),n=X(t.document);if(!n||n===e)return;let r=e?.getRootNode(),i=null!=r&&W(r)?r:V(e),o=t=>t===e||null!=t&&Y(e,t),s=e=>e===n||null!=n&&null!=e&&Y(n,e);be=!0;let a=!1,l=e=>{(s(Q(e))||a)&&e.stopImmediatePropagation()},c=t=>{(s(Q(t))||a)&&(t.stopImmediatePropagation(),e||a||(a=!0,se(n),f()))},u=e=>{(o(Q(e))||a)&&e.stopImmediatePropagation()},d=e=>{(o(Q(e))||a)&&(e.stopImmediatePropagation(),a||(a=!0,se(n),f()))};i.addEventListener("blur",l,!0),i.addEventListener("focusout",c,!0),i.addEventListener("focusin",d,!0),i.addEventListener("focus",u,!0);let f=()=>{cancelAnimationFrame(p),i.removeEventListener("blur",l,!0),i.removeEventListener("focusout",c,!0),i.removeEventListener("focusin",d,!0),i.removeEventListener("focus",u,!0),be=!1,a=!1},p=requestAnimationFrame(f);return f}(t.target);n&&e.disposables.push(n)}t.stopPropagation()}},t.onPointerUp=t=>{Y(t.currentTarget,Q(t))&&"virtual"!==e.pointerType&&(0!==t.button||e.isPressed||C(t,e.pointerType||t.pointerType))},t.onPointerEnter=t=>{t.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!0,w(Sr(e.target,t),e.pointerType))},t.onPointerLeave=t=>{t.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,E(Sr(e.target,t),e.pointerType,!1),T(t))};let n=t=>{if(t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target){if(Y(e.target,Q(t))&&null!=e.pointerType){let n=!1,r=setTimeout(()=>{e.isPressed&&e.target instanceof HTMLElement&&(n?P(t):(se(e.target),e.target.click()))},80);b(t.currentTarget,"click",()=>n=!0,!0),e.disposables.push(()=>clearTimeout(r))}else P(t);e.isOverTarget=!1}},r=e=>{P(e)};t.onDragStart=e=>{Y(e.currentTarget,Q(e))&&P(e)}}return t},[b,l,d,x,p,T,w,j,M]);return t.useEffect(()=>{if(!h)return;const e=z(h.current);if(!e||!e.head||e.getElementById(xr))return;const t=e.createElement("style");t.id=xr;let n=mr(e);n&&(t.nonce=n),t.textContent=`\n@layer {\n [${wr}] {\n touch-action: pan-x pan-y pinch-zoom;\n }\n}\n `.trim(),e.head.prepend(t)},[h]),t.useEffect(()=>{let e=v.current;return()=>{p||pr(e.target??void 0);for(let t of e.disposables)t();e.disposables=[]}},[p]),{isPressed:c||g,pressProps:N(m,R,{[wr]:!0})}}function Er(e){return"A"===e.tagName&&e.hasAttribute("href")}function Cr(e,t){const{key:n,code:r}=e,i=t,o=i.getAttribute("role");return!("Enter"!==n&&" "!==n&&"Spacebar"!==n&&"Space"!==r||i instanceof V(i).HTMLInputElement&&!jr(i,n)||i instanceof V(i).HTMLTextAreaElement||i.isContentEditable||("link"===o||!o&&Er(i))&&"Enter"!==n)}function Sr(e,t){let n=t.clientX,r=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r,key:t.key}}function Pr(e,t){return(!Ee()||"Enter"!==t)&&(e instanceof HTMLInputElement?("Enter"!==t||"checkbox"!==e.type&&"radio"!==e.type)&&!jr(e,t):function(e){return!(e instanceof HTMLInputElement||(e instanceof HTMLButtonElement?"submit"===e.type||"reset"===e.type:Er(e)))}(e))}const Tr=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function jr(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:Tr.has(e.type)}function Mr(e){let{isDisabled:n,onBlurWithin:r,onFocusWithin:i,onFocusWithinChange:o}=e,s=t.useRef({isFocusWithin:!1}),{addGlobalListener:a,removeAllGlobalListeners:l}=yr(),c=t.useCallback(e=>{Y(e.currentTarget,Q(e))&&s.current.isFocusWithin&&!Y(e.currentTarget,e.relatedTarget)&&(s.current.isFocusWithin=!1,l(),r&&r(e),o&&o(!1))},[r,o,s,l]),u=ve(c),d=t.useCallback(e=>{if(!Y(e.currentTarget,Q(e)))return;let t=Q(e);const n=z(t),r=X(n);if(!s.current.isFocusWithin&&r===t){i&&i(e),o&&o(!0),s.current.isFocusWithin=!0,u(e);let t=e.currentTarget;a(n,"focus",e=>{let r=Q(e);if(s.current.isFocusWithin&&!Y(t,r)){let e=new n.defaultView.FocusEvent("blur",{relatedTarget:r});ye(e,t);let i=ge(e);c(i)}},{capture:!0})}},[i,o,u,a,c]);return n?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:d,onBlur:c}}}function Nr(e={}){let{autoFocus:n=!1,isTextInput:r,within:i}=e,o=t.useRef({isFocused:!1,isFocusVisible:n||it()}),[s,a]=t.useState(!1),[l,c]=t.useState(()=>o.current.isFocused&&o.current.isFocusVisible),u=t.useCallback(()=>c(o.current.isFocused&&o.current.isFocusVisible),[]),d=t.useCallback(e=>{o.current.isFocused=e,o.current.isFocusVisible=it(),a(e),u()},[u]);ut(e=>{o.current.isFocusVisible=e,u()},[r,s],{enabled:s,isTextInput:r});let{focusProps:f}=yn({isDisabled:i,onFocusChange:d}),{focusWithinProps:p}=Mr({isDisabled:!i,onFocusWithinChange:d});return{isFocused:s,isFocusVisible:l,focusProps:i?p:f}}let Rr=!1,Lr=0;function Ir(e){"touch"===e.pointerType&&(Rr=!0,setTimeout(()=>{Rr=!1},500))}function Kr(){let e=z(null);if(void 0!==e)return 0===Lr&&"undefined"!=typeof PointerEvent&&e.addEventListener("pointerup",Ir),Lr++,()=>{Lr--,Lr>0||"undefined"!=typeof PointerEvent&&e.removeEventListener("pointerup",Ir)}}function _r(e){let{onHoverStart:n,onHoverChange:r,onHoverEnd:i,isDisabled:o}=e,[s,a]=t.useState(!1),l=t.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;t.useEffect(Kr,[]);let{addGlobalListener:c,removeAllGlobalListeners:u}=yr(),{hoverProps:d,triggerHoverEnd:f}=t.useMemo(()=>{let e=(e,t)=>{let n=l.target;l.pointerType="",l.target=null,"touch"!==t&&l.isHovered&&n&&(l.isHovered=!1,u(),i&&i({type:"hoverend",target:n,pointerType:t}),r&&r(!1),a(!1))},t={};return"undefined"!=typeof PointerEvent&&(t.onPointerEnter=t=>{Rr&&"mouse"===t.pointerType||((t,i)=>{if(l.pointerType=i,o||"touch"===i||l.isHovered||!Y(t.currentTarget,Q(t)))return;l.isHovered=!0;let s=t.currentTarget;l.target=s,c(z(Q(t)),"pointerover",t=>{l.isHovered&&l.target&&!Y(l.target,Q(t))&&e(t,t.pointerType)},{capture:!0}),n&&n({type:"hoverstart",target:s,pointerType:i}),r&&r(!0),a(!0)})(t,t.pointerType)},t.onPointerLeave=t=>{!o&&Y(t.currentTarget,Q(t))&&e(t,t.pointerType)}),{hoverProps:t,triggerHoverEnd:e}},[n,r,i,o,l,c,u]);return t.useEffect(()=>{o&&f({currentTarget:l.target},l.pointerType)},[o]),{hoverProps:d,isHovered:s}}const Dr=t.createContext(null),Ar=t.forwardRef(function(t,n){[t,n]=D(t,n,Dr);let r=t.href&&!t.isDisabled?"a":"span",{linkProps:i,isPressed:o}=function(e,t){let{elementType:n="a",onPress:r,onPressStart:i,onPressEnd:o,onPressChange:s,onClick:a,isDisabled:l,...c}=e,u={};"a"!==n&&(u={role:"link",tabIndex:l?void 0:0});let{focusableProps:d}=Rn(e,t),{pressProps:f,isPressed:p}=kr({onPress:r,onPressStart:i,onPressEnd:o,onPressChange:s,onClick:a,isDisabled:l,ref:t}),h=lr(c,{labelable:!0}),m=N(d,f),g=De();return{isPressed:p,linkProps:N(h,He(e),{...m,...u,"aria-disabled":l||void 0,"aria-current":e["aria-current"],onClick:t=>{f.onClick?.(t),$e(t,g,e.href,e.routerOptions)}})}}({...t,elementType:r},n),s=H[r],{hoverProps:a,isHovered:l}=_r(t),{focusProps:c,isFocused:u,isFocusVisible:d}=Nr(),f=K({...t,defaultClassName:"react-aria-Link",values:{isCurrent:!!t["aria-current"],isDisabled:t.isDisabled||!1,isPressed:o,isHovered:l,isFocused:u,isFocusVisible:d}}),p=lr(t,{global:!0});return delete p.onClick,e.createElement(s,{ref:n,slot:t.slot||void 0,...N(p,f,i,a,c),"data-focused":u||void 0,"data-hovered":l||void 0,"data-pressed":o||void 0,"data-focus-visible":d||void 0,"data-current":!!t["aria-current"]||void 0,"data-disabled":t.isDisabled||void 0},f.children)}),Or=t.createContext({}),Fr=_n(function(t,n){[t,n]=D(t,n,Or);let{elementType:r="label",...i}=t,o=H[r];return e.createElement(o,{className:"react-aria-Label",...i,ref:n})});function qr(e){let{id:t,label:n,"aria-labelledby":r,"aria-label":i,labelElementType:o="label"}=e;t=S(t);let s=S(),a={};return n&&(r=r?`${s} ${r}`:s,a={id:s,htmlFor:"label"===o?t:void 0}),{labelProps:a,fieldProps:bt({id:t,"aria-label":i,"aria-labelledby":r})}}function Hr(e,t=-1/0,n=1/0){return Math.min(Math.max(e,t),n)}const $r=t.createContext(null);let Br=null;function zr(e,t="assertive",n=7e3){Br?Br.announce(e,t,n):(Br=new Vr,("boolean"==typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:"undefined"!=typeof jest)?Br.announce(e,t,n):setTimeout(()=>{Br?.isAttached()&&Br?.announce(e,t,n)},100))}class Vr{constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,"undefined"!=typeof document&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}isAttached(){return this.node?.isConnected}createLog(e){let t=document.createElement("div");return t.setAttribute("role","log"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions"),t}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(e,t="assertive",n=7e3){if(!this.node)return;let r=document.createElement("div");"object"==typeof e?(r.setAttribute("role","img"),r.setAttribute("aria-labelledby",e["aria-labelledby"])):r.textContent=e,"assertive"===t?this.assertiveLog?.appendChild(r):this.politeLog?.appendChild(r),""!==e&&setTimeout(()=>{r.remove()},n)}clear(e){this.node&&(e&&"assertive"!==e||!this.assertiveLog||(this.assertiveLog.innerHTML=""),e&&"polite"!==e||!this.politeLog||(this.politeLog.innerHTML=""))}}function Ur(e,t){let n,{elementType:r="button",isDisabled:i,onPress:o,onPressStart:s,onPressEnd:a,onPressUp:l,onPressChange:c,preventFocusOnPress:u,allowFocusWhenDisabled:d,onClick:f,href:p,target:h,rel:m,type:g="button"}=e;n="button"===r?{type:g,disabled:i,form:e.form,formAction:e.formAction,formEncType:e.formEncType,formMethod:e.formMethod,formNoValidate:e.formNoValidate,formTarget:e.formTarget,name:e.name,value:e.value}:{role:"button",href:"a"!==r||i?void 0:p,target:"a"===r?h:void 0,type:"input"===r?g:void 0,disabled:"input"===r?i:void 0,"aria-disabled":i&&"input"!==r?i:void 0,rel:"a"===r?m:void 0};let{pressProps:y,isPressed:v}=kr({onPressStart:s,onPressEnd:a,onPressChange:c,onPress:o,onPressUp:l,onClick:f,isDisabled:i,preventFocusOnPress:u,ref:t}),{focusableProps:b}=Rn(e,t);d&&(b.tabIndex=i?-1:b.tabIndex);let x=N(b,y,lr(e,{labelable:!0}));return{isPressed:v,buttonProps:N(n,x,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],"aria-current":e["aria-current"],"aria-disabled":e["aria-disabled"]})}}const Wr=t.createContext({}),Gr=_n(function(n,r){[n,r]=D(n,r,Wr);let i=n,{isPending:o}=i,{buttonProps:s,isPressed:a}=Ur(n,r);s=function(e,t){if(t){for(const t in e)t.startsWith("on")&&!Jr.test(t)&&(e[t]=void 0);e.href=void 0,e.target=void 0}return e}(s,o);let{focusProps:l,isFocused:c,isFocusVisible:u}=Nr(n),{hoverProps:d,isHovered:f}=_r({...n,isDisabled:n.isDisabled||o}),p={isHovered:f,isPressed:(i.isPressed||a)&&!o,isFocused:c,isFocusVisible:u,isDisabled:n.isDisabled||!1,isPending:o??!1},h=K({...n,values:p,defaultClassName:"react-aria-Button"}),m=S(s.id),g=S(),y=s["aria-labelledby"];o&&(y?y=`${y} ${g}`:s["aria-label"]&&(y=`${m} ${g}`));let v=t.useRef(o);t.useEffect(()=>{let e={"aria-labelledby":y||m};(!v.current&&c&&o||v.current&&c&&!o)&&zr(e,"assertive"),v.current=o},[o,c,y,m]);let b=lr(n,{global:!0});return delete b.onClick,e.createElement(H.button,{...N(b,h,s,l,d),type:"submit"===s.type&&o?"button":s.type,id:m,ref:r,"aria-labelledby":y,slot:n.slot||void 0,"aria-disabled":o?"true":s["aria-disabled"],"data-disabled":n.isDisabled||void 0,"data-pressed":p.isPressed||void 0,"data-hovered":f||void 0,"data-focused":c||void 0,"data-pending":o||void 0,"data-focus-visible":u||void 0},e.createElement($r.Provider,{value:{id:g}},h.children))}),Jr=/Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;const Zr=t.createContext({}),Yr=t.forwardRef(function(t,n){[t,n]=D(t,n,Zr);let{children:r,level:i=3,className:o,...s}=t,a=H[`h${i}`];return e.createElement(a,{...s,ref:n,className:o??"react-aria-Heading"},r)}),Xr=t.createContext({}),Qr=_n(function(t,n){[t,n]=D(t,n,Xr);let{elementType:r="span",...i}=t,o=H[r];return e.createElement(o,{className:"react-aria-Text",...i,ref:n})});function ei(e,t){if(!e)return!1;let n=window.getComputedStyle(e),r=document.scrollingElement||document.documentElement,i=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return e===r&&"hidden"!==n.overflow&&(i=!0),i&&t&&(i=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),i}function ti(e,t){let n=e;for(ei(n,t)&&(n=n.parentElement);n&&!ei(n,t);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}function ni(e,t){let n=[],r=document.scrollingElement||document.documentElement;for(;e&&(ei(e,t)&&n.push(e),e!==r);)e=e.parentElement;return n}function ri(e,t,n={}){if(e===t)return;let r=t.getBoundingClientRect();!function(e,t,n,r={}){let{block:i="nearest",inline:o="nearest"}=r,s=e.scrollTop,a=e.scrollLeft,l=e.getBoundingClientRect(),c=window.getComputedStyle(t),u=window.getComputedStyle(e),d=document.scrollingElement||document.documentElement,f=e===d,p=e===d?0:l.top,h=e===d?e.clientHeight:l.bottom,m=e===d?0:l.left,g=e===d?e.clientWidth:l.right,y=parseFloat(c.scrollMarginTop)||0,v=parseFloat(c.scrollMarginBottom)||0,b=parseFloat(c.scrollMarginLeft)||0,x=parseFloat(c.scrollMarginRight)||0,w=parseFloat(u.scrollPaddingTop)||0,k=parseFloat(u.scrollPaddingBottom)||0,E=parseFloat(u.scrollPaddingLeft)||0,C=parseFloat(u.scrollPaddingRight)||0,S=parseFloat(u.borderTopWidth)||0,P=parseFloat(u.borderBottomWidth)||0,T=parseFloat(u.borderLeftWidth)||0,j=parseFloat(u.borderRightWidth)||0,M=n.top-y,N=n.bottom+v,R=n.left-b,L=n.right+x,I=e===d?0:T+j,K=e===d?0:S+P,_=e===d?0:e.offsetWidth-e.clientWidth-I,D=e===d?0:e.offsetHeight-e.clientHeight-K,A=p+(f?0:S)+w,O=h-(f?0:P)-k-D,F=m+(f?0:T)+E,q=g-(f?0:j)-C;Pe()&&je()||"ltr"===u.direction?q-=_:"rtl"===u.direction&&(F+=_);let H=MO,$=Rq;if(H&&"start"===i)s+=M-A;else if(H&&"center"===i)s+=(M+N)/2-(A+O)/2;else if(H&&"end"===i)s+=N-O;else if(H&&"nearest"===i){let e=M-A,t=N-O;s+=Math.abs(e)<=Math.abs(t)?e:t}if($&&"start"===o)a+=R-F;else if($&&"center"===o)a+=(R+L)/2-(F+q)/2;else if($&&"end"===o)a+=L-q;else if($&&"nearest"===o){let e=R-F,t=L-q;a+=Math.abs(e)<=Math.abs(t)?e:t}e.scrollTo({left:a,top:s})}(e,t,r,n)}function ii(e,t={}){let{containingElement:n}=t;if(e&&e.isConnected){let t=document.scrollingElement||document.documentElement;if("hidden"===window.getComputedStyle(t).overflow){let{left:t,top:r}=e.getBoundingClientRect(),i=ni(e,!0);for(let n of i)ri(n,e);let{left:o,top:s}=e.getBoundingClientRect();if(Math.abs(t-o)>1||Math.abs(r-s)>1){i=n?ni(n,!0):[];for(let e of i)ri(e,n,{block:"center",inline:"center"});for(let t of ni(e,!0))ri(t,e)}}else{let{left:t,top:r}=e.getBoundingClientRect();e?.scrollIntoView?.({block:"nearest"});let{left:i,top:o}=e.getBoundingClientRect();(Math.abs(t-i)>1||Math.abs(r-o)>1)&&(n?.scrollIntoView?.({block:"center",inline:"center"}),e.scrollIntoView?.({block:"nearest"}))}}}let oi=0;const si=new Map;function ai(e){let[n,r]=t.useState();return d(()=>{if(!e)return;let t=si.get(e);if(t)r(t.element.id);else{let n="react-aria-description-"+oi++;r(n);let i=document.createElement("div");i.id=n,i.style.display="none",i.textContent=e,document.body.appendChild(i),t={refCount:0,element:i},si.set(e,t)}return t.refCount++,()=>{t&&0===--t.refCount&&(t.element.remove(),si.delete(e))}},[e]),{"aria-describedby":e?n:void 0}}const li={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function ci(e={}){let{style:n,isFocusable:r}=e,[i,o]=t.useState(!1),{focusWithinProps:s}=Mr({isDisabled:!r,onFocusWithinChange:e=>o(e)});return{visuallyHiddenProps:{...s,style:t.useMemo(()=>i?n:n?{...li,...n}:li,[i])}}}function ui(t){let{children:n,elementType:r="div",isFocusable:i,style:o,...s}=t,{visuallyHiddenProps:a}=ci(t);return e.createElement(r,N(s,a),n)}const di=t.createContext(null),fi=t.forwardRef(function(n,r){let i=t.useContext(di);return i?.isInvalid?e.createElement(pi,{...n,ref:r}):null}),pi=t.forwardRef((n,r)=>{let i=t.useContext(di),{elementType:o,...s}=n,a=lr(s,{global:!0}),l=K({...s,defaultClassName:"react-aria-FieldError",defaultChildren:0===i.validationErrors.length?void 0:i.validationErrors.join(" "),values:i});return null==l.children?null:e.createElement(Qr,{slot:"errorMessage",elementType:o,...a,...l,ref:r})}),hi={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},mi={...hi,customError:!0,valid:!1},gi={isInvalid:!1,validationDetails:hi,validationErrors:[]},yi=t.createContext({}),vi="__reactAriaFormValidationState";function bi(e){if(e[vi]){let{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:i,commitValidation:o}=e[vi];return{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:i,commitValidation:o}}return function(e){let{isInvalid:n,validationState:r,name:i,value:o,builtinValidation:s,validate:a,validationBehavior:l="aria"}=e;r&&(n||="invalid"===r);let c=void 0!==n?{isInvalid:n,validationErrors:[],validationDetails:mi}:null,u=t.useMemo(()=>{if(!a||null==o)return null;let e=function(e,t){if("function"==typeof e){let n=e(t);if(n&&"boolean"!=typeof n)return xi(n)}return[]}(a,o);return wi(e)},[a,o]);s?.validationDetails.valid&&(s=void 0);let d=t.useContext(yi),f=t.useMemo(()=>i?Array.isArray(i)?i.flatMap(e=>xi(d[e])):xi(d[i]):[],[d,i]),[p,h]=t.useState(d),[m,g]=t.useState(!1);d!==p&&(h(d),g(!1));let y=t.useMemo(()=>wi(m?[]:f),[m,f]),v=t.useRef(gi),[b,x]=t.useState(gi),w=t.useRef(gi),k=()=>{if(!E)return;C(!1);let e=u||s||v.current;ki(e,w.current)||(w.current=e,x(e))},[E,C]=t.useState(!1);return t.useEffect(k),{realtimeValidation:c||y||u||s||gi,displayValidation:"native"===l?c||y||b:c||y||u||s||b,updateValidation(e){"aria"!==l||ki(b,e)?v.current=e:x(e)},resetValidation(){let e=gi;ki(e,w.current)||(w.current=e,x(e)),"native"===l&&C(!1),g(!0)},commitValidation(){"native"===l&&C(!0),g(!0)}}}(e)}function xi(e){return e?Array.isArray(e)?e:[e]:[]}function wi(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:mi}:null}function ki(e,t){return e===t||!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((e,n)=>e===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([e,n])=>t.validationDetails[e]===n)}const Ei=t.createContext(null);function Ci(e){let{description:t,errorMessage:n,isInvalid:r,validationState:i}=e,{labelProps:o,fieldProps:s}=qr(e),a=T([Boolean(t),Boolean(n),r,i]),l=T([Boolean(t),Boolean(n),r,i]);return s=N(s,{"aria-describedby":[a,l,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:o,fieldProps:s,descriptionProps:{id:a},errorMessageProps:{id:l}}}function Si(e,n,r){let i=yt(e=>{r&&!e.defaultPrevented&&r(n)});t.useEffect(()=>{let t=e?.current?.form;return t?.addEventListener("reset",i),()=>{t?.removeEventListener("reset",i)}},[e])}function Pi(e,n,r){let{validationBehavior:i,focus:o}=e;d(()=>{if("native"===i&&r?.current&&"setCustomValidity"in r.current&&!r.current.disabled){let t=n.realtimeValidation.isInvalid?n.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";r.current.setCustomValidity(t),r.current.hasAttribute("title")||(r.current.title=""),n.realtimeValidation.isInvalid||n.updateValidation({isInvalid:!(e=r.current).validity.valid,validationDetails:Ti(e),validationErrors:e.validationMessage?[e.validationMessage]:[]})}var e});let s=t.useRef(!1),a=yt(()=>{s.current||n.resetValidation()}),l=yt(e=>{n.displayValidation.isInvalid||n.commitValidation();let t=r?.current?.form;!e.defaultPrevented&&r&&t&&function(e){for(let t=0;t{n.commitValidation()});t.useEffect(()=>{let e=r?.current;if(!e)return;let t=e.form,n=t?.reset;return t&&(t.reset=()=>{s.current=!window.event||"message"===window.event.type&&Q(window.event)instanceof MessagePort,n?.call(t),s.current=!1}),e.addEventListener("invalid",l),e.addEventListener("change",c),t?.addEventListener("reset",a),()=>{e.removeEventListener("invalid",l),e.removeEventListener("change",c),t?.removeEventListener("reset",a),t&&(t.reset=n)}},[r,i])}function Ti(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function ji(e=!0){let n=S(),[r,i]=function(e=!0){let[n,r]=t.useState(e),i=t.useRef(!1),o=t.useCallback(e=>{i.current=!0,r(!!e)},[]);return d(()=>{i.current||r(!1)},[]),[o,n]}(e);return{id:i?n:void 0,ref:r}}function Mi(e,n,r){let{isDisabled:i=!1,isReadOnly:o=!1,value:s,name:a,form:l,children:c,isRequired:u,validationBehavior:d="aria","aria-label":f,"aria-labelledby":p,"aria-describedby":h,onPressStart:m,onPressEnd:g,onPressChange:y,onPress:v,onPressUp:b,onClick:x}=e,w=bi({...e,value:n.isSelected}),{isInvalid:k,validationErrors:E,validationDetails:C}=w.displayValidation;Pi(e,w,r);let{pressProps:S,isPressed:P}=kr({onPressStart:m,onPressEnd:g,onPressChange:y,onPress:v,onPressUp:b,onClick:x,isDisabled:i}),[T,j]=t.useState(!1),{pressProps:M}=kr({onPressStart(e){"keyboard"!==e.pointerType&&"virtual"!==e.pointerType?(m?.(e),y?.(!0),j(!0)):e.continuePropagation()},onPressEnd(e){"keyboard"!==e.pointerType&&"virtual"!==e.pointerType?(g?.(e),y?.(!1),j(!1)):e.continuePropagation()},onPressUp(e){"keyboard"!==e.pointerType&&"virtual"!==e.pointerType?b?.(e):e.continuePropagation()},onClick:x,onPress(t){if("keyboard"===t.pointerType||"virtual"===t.pointerType)return void t.continuePropagation();v?.(t),n.toggle(),r.current?.focus();let{[vi]:i}=e,{commitValidation:o}=i||w;o()},isDisabled:i||o}),{focusableProps:R}=Rn(e,r),L=N(S,R),I=lr(e,{labelable:!0});Si(r,n.defaultSelected,n.setSelected);let K=ji(),_=ji();return{labelProps:N(M,{onClick:e=>e.preventDefault()}),inputProps:N(I,{checked:n.isSelected,"aria-required":u&&"aria"===d||void 0,required:u&&"native"===d,"aria-invalid":k||"invalid"===e.validationState||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":o||void 0,"aria-describedby":[K.id,_.id,h].filter(Boolean).join(" ")||void 0,onChange:e=>{e.stopPropagation(),n.setSelected(Q(e).checked)},disabled:i,...null==s?{}:{value:s},name:a,form:l,type:"checkbox",...L}),descriptionProps:K,errorMessageProps:_,isSelected:n.isSelected,isPressed:P||T,isDisabled:i,isReadOnly:o,isInvalid:k||"invalid"===e.validationState,validationErrors:E,validationDetails:C}}function Ni(e={}){let{isReadOnly:n}=e,[r,i]=Ut(e.isSelected,e.defaultSelected||!1,e.onChange),[o]=t.useState(r);return{isSelected:r,defaultSelected:e.defaultSelected??o,setSelected:function(e){n||i(e)},toggle:function(){n||i(!r)}}}const Ri=t.createContext({}),Li=t.createContext({});let Ii=e=>{let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,...i}=e;return i};const Ki=_n(function(t,n){[t,n]=D(t,n,Li);let{hoverProps:r,isHovered:i}=_r({...t,isDisabled:t.disabled}),{isFocused:o,isFocusVisible:s,focusProps:a}=Nr({isTextInput:!0,autoFocus:t.autoFocus}),l=!!t["aria-invalid"]&&"false"!==t["aria-invalid"],c=K({...t,values:{isHovered:i,isFocused:o,isFocusVisible:s,isDisabled:t.disabled||!1,isInvalid:l},defaultClassName:"react-aria-Input"});return e.createElement(H.input,{...N(Ii(t),a,r),...c,ref:n,"data-focused":o||void 0,"data-disabled":t.disabled||void 0,"data-hovered":i||void 0,"data-focus-visible":s||void 0,"data-invalid":l||void 0})});function _i(n,r){let{inputElementType:i="input",isDisabled:o=!1,isRequired:s=!1,isReadOnly:a=!1,type:l="text",validationBehavior:c="aria"}=n,[u,d]=Ut(n.value,n.defaultValue||"",n.onChange),{focusableProps:f}=Rn(n,r),p=bi({...n,value:u}),{isInvalid:h,validationErrors:m,validationDetails:g}=p.displayValidation,{labelProps:y,fieldProps:v,descriptionProps:b,errorMessageProps:x}=Ci({...n,isInvalid:h,errorMessage:n.errorMessage||m}),w=lr(n,{labelable:!0});const k={type:l,pattern:n.pattern};let[E]=t.useState(u);return Si(r,n.defaultValue??E,d),Pi(n,p,r),{labelProps:y,inputProps:N(w,"input"===i?k:void 0,{disabled:o,readOnly:a,required:s&&"native"===c,"aria-required":s&&"aria"===c||void 0,"aria-invalid":h||void 0,"aria-errormessage":n["aria-errormessage"],"aria-activedescendant":n["aria-activedescendant"],"aria-autocomplete":n["aria-autocomplete"],"aria-haspopup":n["aria-haspopup"],"aria-controls":n["aria-controls"],value:u,onChange:e=>d(Q(e).value),autoComplete:n.autoComplete,autoCapitalize:n.autoCapitalize,maxLength:n.maxLength,minLength:n.minLength,name:n.name,form:n.form,placeholder:n.placeholder,inputMode:n.inputMode,autoCorrect:n.autoCorrect,spellCheck:n.spellCheck,[parseInt(e.version,10)>=17?"enterKeyHint":"enterkeyhint"]:n.enterKeyHint,onCopy:n.onCopy,onCut:n.onCut,onPaste:n.onPaste,onCompositionEnd:n.onCompositionEnd,onCompositionStart:n.onCompositionStart,onCompositionUpdate:n.onCompositionUpdate,onSelect:n.onSelect,onBeforeInput:n.onBeforeInput,onInput:n.onInput,...f,...v}),descriptionProps:b,errorMessageProps:x,isInvalid:h,validationErrors:m,validationDetails:g}}const Di=t.createContext({}),Ai=zn(en,function(t,n){return[t,n]=D(t,n,Di),e.createElement(H.header,{className:"react-aria-Header",...t,ref:n},t.children)}),Oi=t.createContext(null);function Fi(n){let r=t.useRef({});return e.createElement(Oi.Provider,{value:r},n.children)}const qi=t.createContext({isSelected:!1});const Hi=t.createContext({});class $i extends Xt{static{this.type="separator"}filter(e,t){let n=t.getItem(this.prevKey);if(n&&"separator"!==n.type){let n=this.clone();return t.addDescendants(n,e),n}return null}}const Bi=zn($i,function(t,n){[t,n]=D(t,n,Hi);let{elementType:r,orientation:i,style:o,className:s,slot:a,...l}=t,c=r||"hr";"hr"===c&&"vertical"===i&&(c="div");let u=H[c],{separatorProps:d}=function(e){let t,n=lr(e,{labelable:!0});return"vertical"===e.orientation&&(t="vertical"),"hr"!==e.elementType?{separatorProps:{...n,role:"separator","aria-orientation":t}}:{separatorProps:n}}({...l,elementType:r,orientation:i}),f=lr(t,{global:!0});return e.createElement(u,{render:t.render,...N(f,d),style:o,className:s??"react-aria-Separator",ref:n,slot:a||void 0})});function zi(e,t,n,r){return e.createTreeWalker(t,n,r)}const Vi=e.createContext(null),Ui="react-aria-focus-scope-restore";let Wi=null;function Gi(n){let{children:r,contain:i,restoreFocus:o,autoFocus:s}=n,a=t.useRef(null),l=t.useRef(null),c=t.useRef([]),{parentNode:u}=t.useContext(Vi)||{},f=t.useMemo(()=>new fo({scopeRef:c}),[c]);d(()=>{let e=u||po.root;if(po.getTreeNode(e.scopeRef)&&Wi&&!to(Wi,e.scopeRef)){let t=po.getTreeNode(Wi);t&&(e=t)}e.addChild(f),po.addNode(f)},[f,u]),d(()=>{let e=po.getTreeNode(c);e&&(e.contain=!!i)},[i]),d(()=>{let e=a.current?.nextSibling,t=[],n=e=>e.stopPropagation();for(;e&&e!==l.current;)t.push(e),e.addEventListener(Ui,n),e=e.nextSibling;return c.current=t,()=>{for(let e of t)e.removeEventListener(Ui,n)}},[r]),function(e,t,n){d(()=>{if(t||n)return;let r=e.current;const i=z(r?r[0]:void 0);let o=t=>{let n=Q(t);Qi(n,e.current)?Wi=e:Xi(n)||(Wi=null)};return i.addEventListener("focusin",o,!1),r?.forEach(e=>e.addEventListener("focusin",o,!1)),()=>{i.removeEventListener("focusin",o,!1),r?.forEach(e=>e.removeEventListener("focusin",o,!1))}},[e,t,n])}(c,o,i),function(e,n){let r=t.useRef(void 0),i=t.useRef(void 0);d(()=>{let t=e.current;if(!n)return void(i.current&&(cancelAnimationFrame(i.current),i.current=void 0));const o=z(t?t[0]:void 0);let s=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!Zi(e)||t.isComposing)return;let n=X(o),r=e.current;if(!r||!Qi(n,r))return;let i=ao(Ji(r),{tabbable:!0},r);if(!n)return;i.currentNode=n;let s=t.shiftKey?i.previousNode():i.nextNode();s||(i.currentNode=t.shiftKey?r[r.length-1].nextElementSibling:r[0].previousElementSibling,s=t.shiftKey?i.previousNode():i.nextNode()),t.preventDefault(),s&&(no(s,!0),s instanceof V(s).HTMLInputElement&&s.select())},a=t=>{Wi&&!to(Wi,e)||!Qi(Q(t),e.current)?Zi(e)&&!eo(Q(t),e)?r.current?no(r.current):Wi&&Wi.current&&io(Wi.current):Zi(e)&&(r.current=Q(t)):(Wi=e,r.current=Q(t))},l=t=>{i.current&&cancelAnimationFrame(i.current),i.current=requestAnimationFrame(()=>{let n=ot(),i=("virtual"===n||null===n)&&Ne()&&Me(),s=X(o);if(!i&&s&&Zi(e)&&!eo(s,e)){Wi=e;let n=Q(t);n&&n.isConnected?(r.current=n,no(r.current)):Wi.current&&io(Wi.current)}})};return o.addEventListener("keydown",s,!1),o.addEventListener("focusin",a,!1),t?.forEach(e=>e.addEventListener("focusin",a,!1)),t?.forEach(e=>e.addEventListener("focusout",l,!1)),()=>{o.removeEventListener("keydown",s,!1),o.removeEventListener("focusin",a,!1),t?.forEach(e=>e.removeEventListener("focusin",a,!1)),t?.forEach(e=>e.removeEventListener("focusout",l,!1))}},[e,n]),d(()=>()=>{i.current&&cancelAnimationFrame(i.current)},[i])}(c,i),function(e,n,r){const i=t.useRef("undefined"!=typeof document?X(z(e.current?e.current[0]:void 0)):null);d(()=>{let t=e.current;const i=z(t?t[0]:void 0);if(!n||r)return;let o=()=>{Wi&&!to(Wi,e)||!Qi(X(i),e.current)||(Wi=e)};return i.addEventListener("focusin",o,!1),t?.forEach(e=>e.addEventListener("focusin",o,!1)),()=>{i.removeEventListener("focusin",o,!1),t?.forEach(e=>e.removeEventListener("focusin",o,!1))}},[e,r]),d(()=>{const t=z(e.current?e.current[0]:void 0);if(!n)return;let i=n=>{if("Tab"!==n.key||n.altKey||n.ctrlKey||n.metaKey||!Zi(e)||n.isComposing)return;let r=t.activeElement;if(!eo(r,e)||!oo(e))return;let i=po.getTreeNode(e);if(!i)return;let o=i.nodeToRestore,s=ao(t.body,{tabbable:!0});s.currentNode=r;let a=n.shiftKey?s.previousNode():s.nextNode();if(o&&o.isConnected&&o!==t.body||(o=void 0,i.nodeToRestore=void 0),(!a||!eo(a,e))&&o){s.currentNode=o;do{a=n.shiftKey?s.previousNode():s.nextNode()}while(eo(a,e));n.preventDefault(),n.stopPropagation(),a?no(a,!0):Xi(o)?no(o,!0):r.blur()}};return r||t.addEventListener("keydown",i,!0),()=>{r||t.removeEventListener("keydown",i,!0)}},[e,n,r]),d(()=>{const t=z(e.current?e.current[0]:void 0);if(!n)return;let r=po.getTreeNode(e);return r?(r.nodeToRestore=i.current??void 0,()=>{let r=po.getTreeNode(e);if(!r)return;let i=r.nodeToRestore,o=X(t);if(n&&i&&(o&&eo(o,e)||o===t.body&&oo(e))){let n=po.clone();requestAnimationFrame(()=>{if(t.activeElement===t.body){let t=n.getTreeNode(e);for(;t;){if(t.nodeToRestore&&t.nodeToRestore.isConnected)return void so(t.nodeToRestore);t=t.parent}for(t=n.getTreeNode(e);t;){if(t.scopeRef&&t.scopeRef.current&&po.getTreeNode(t.scopeRef)){let e=ro(t.scopeRef.current,!0);if(e)return void so(e)}t=t.parent}}})}}):void 0},[e,n])}(c,o,i),function(n,r){const i=e.useRef(r);t.useEffect(()=>{if(i.current){Wi=n;const e=z(n.current?n.current[0]:void 0);!Qi(X(e),Wi.current)&&n.current&&io(n.current)}i.current=!1},[n])}(c,s),t.useEffect(()=>{const e=X(z(c.current?c.current[0]:void 0));let t=null;if(Qi(e,c.current)){for(let n of po.traverse())n.scopeRef&&Qi(e,n.scopeRef.current)&&(t=n);t===po.getTreeNode(c)&&(Wi=t.scopeRef)}},[c]),d(()=>()=>{let e=po.getTreeNode(c)?.parent?.scopeRef??null;c!==Wi&&!to(c,Wi)||e&&!po.getTreeNode(e)||(Wi=e),po.removeTreeNode(c)},[c]);let p=t.useMemo(()=>function(e){return{focusNext(t={}){let n=e.current,{from:r,tabbable:i,wrap:o,accept:s}=t,a=r||X(z(n[0]??void 0)),l=n[0].previousElementSibling,c=ao(Ji(n),{tabbable:i,accept:s},n);c.currentNode=Qi(a,n)?a:l;let u=c.nextNode();return!u&&o&&(c.currentNode=l,u=c.nextNode()),u&&no(u,!0),u},focusPrevious(t={}){let n=e.current,{from:r,tabbable:i,wrap:o,accept:s}=t,a=r||X(z(n[0]??void 0)),l=n[n.length-1].nextElementSibling,c=ao(Ji(n),{tabbable:i,accept:s},n);c.currentNode=Qi(a,n)?a:l;let u=c.previousNode();return!u&&o&&(c.currentNode=l,u=c.previousNode()),u&&no(u,!0),u},focusFirst(t={}){let n=e.current,{tabbable:r,accept:i}=t,o=ao(Ji(n),{tabbable:r,accept:i},n);o.currentNode=n[0].previousElementSibling;let s=o.nextNode();return s&&no(s,!0),s},focusLast(t={}){let n=e.current,{tabbable:r,accept:i}=t,o=ao(Ji(n),{tabbable:r,accept:i},n);o.currentNode=n[n.length-1].nextElementSibling;let s=o.previousNode();return s&&no(s,!0),s}}}(c),[]),h=t.useMemo(()=>({focusManager:p,parentNode:f}),[f,p]);return e.createElement(Vi.Provider,{value:h},e.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:a}),r,e.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:l}))}function Ji(e){return e[0].parentElement}function Zi(e){let t=po.getTreeNode(Wi);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function Yi(e){if(e.checked)return!0;const t=function(e){if(!e.form)return Array.from(z(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter(e=>!e.form);const t=e.form.elements.namedItem(e.name);let n=V(e);return t instanceof n.RadioNodeList?Array.from(t).filter(e=>e instanceof n.HTMLInputElement):t instanceof n.HTMLInputElement?[t]:[]}(e);return t.length>0&&!t.some(e=>e.checked)}function Xi(e){return eo(e)}function Qi(e,t){return!!e&&(!!t&&t.some(t=>Y(t,e)))}function eo(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of po.traverse(po.getTreeNode(t)))if(n&&Qi(e,n.current))return!0;return!1}function to(e,t){let n=po.getTreeNode(t)?.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function no(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch{}}else try{gn(e)}catch{}}function ro(e,t=!0){let n=e[0].previousElementSibling,r=Ji(e),i=ao(r,{tabbable:t},e);i.currentNode=n;let o=i.nextNode();return t&&!o&&(r=Ji(e),i=ao(r,{tabbable:!1},e),i.currentNode=n,o=i.nextNode()),o}function io(e,t=!0){no(ro(e,t))}function oo(e){let t=po.getTreeNode(Wi);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return t?.scopeRef===e}function so(e){e.dispatchEvent(new CustomEvent(Ui,{bubbles:!0,cancelable:!0}))&&no(e)}function ao(e,t,n){let r=t?.tabbable?he:pe,i=e?.nodeType===Node.ELEMENT_NODE?e:null,o=z(i),s=zi(o,e||o,NodeFilter.SHOW_ELEMENT,{acceptNode(e){if(Y(t?.from,e))return NodeFilter.FILTER_REJECT;if(t?.tabbable&&"INPUT"===e.tagName&&"radio"===e.getAttribute("type")){if(!Yi(e))return NodeFilter.FILTER_REJECT;if("INPUT"===s.currentNode.tagName&&"radio"===s.currentNode.type&&s.currentNode.name===e.name)return NodeFilter.FILTER_REJECT}return!r(e)||n&&!Qi(e,n)||t?.accept&&!t.accept(e)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT}});return t?.from&&(s.currentNode=t.from),s}function lo(e,t={}){return{focusNext(n={}){let r=e.current;if(!r)return null;let{from:i,tabbable:o=t.tabbable,wrap:s=t.wrap,accept:a=t.accept}=n,l=i||X(z(r)),c=ao(r,{tabbable:o,accept:a});Y(r,l)&&(c.currentNode=l);let u=c.nextNode();return!u&&s&&(c.currentNode=r,u=c.nextNode()),u&&no(u,!0),u},focusPrevious(n=t){let r=e.current;if(!r)return null;let{from:i,tabbable:o=t.tabbable,wrap:s=t.wrap,accept:a=t.accept}=n,l=i||X(z(r)),c=ao(r,{tabbable:o,accept:a});if(!Y(r,l)){let e=co(c);return e&&no(e,!0),e??null}c.currentNode=l;let u=c.previousNode();if(!u&&s){c.currentNode=r;let e=co(c);if(!e)return null;u=e}return u&&no(u,!0),u??null},focusFirst(n=t){let r=e.current;if(!r)return null;let{tabbable:i=t.tabbable,accept:o=t.accept}=n,s=ao(r,{tabbable:i,accept:o}).nextNode();return s&&no(s,!0),s},focusLast(n=t){let r=e.current;if(!r)return null;let{tabbable:i=t.tabbable,accept:o=t.accept}=n,s=co(ao(r,{tabbable:i,accept:o}));return s&&no(s,!0),s??null}}}function co(e){let t,n;do{n=e.lastChild(),n&&(t=n)}while(n);return t}class uo{constructor(){this.fastMap=new Map,this.root=new fo({scopeRef:null}),this.fastMap.set(null,this.root)}get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(t??null);if(!r)return;let i=new fo({scopeRef:e});r.addChild(i),i.parent=r,this.fastMap.set(e,i),n&&(i.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let i of this.traverse())i!==t&&t.nodeToRestore&&i.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&Qi(i.nodeToRestore,t.scopeRef.current)&&(i.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){let e=new uo;for(let t of this.traverse())e.addTreeNode(t.scopeRef,t.parent?.scopeRef??null,t.nodeToRestore);return e}}class fo{constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}}let po=new uo;function ho(e){return Te()?e.altKey:e.ctrlKey}function mo(e,t){let n=`[data-key="${CSS.escape(String(t))}"]`,r=e.current?.dataset.collection;return r&&(n=`[data-collection="${CSS.escape(r)}"]${n}`),e.current?.querySelector(n)}const go=new WeakMap;function yo(e){let{keyboardDelegate:n,selectionManager:r,onTypeSelect:i}=e,o=t.useRef({search:"",timeout:void 0});return t.useEffect(()=>{let e=o.current.timeout;return()=>{clearTimeout(e)}},[o]),{typeSelectProps:{onKeyDownCapture:n.getKeyForSearch?e=>{if(o.current.search.length>0&&" "===e.key){if(e.preventDefault(),(!("continuePropagation"in e)||"continuePropagation"in e&&!e.isPropagationStopped())&&e.stopPropagation(),o.current.search+=" ",null!=n.getKeyForSearch){let e=n.getKeyForSearch(o.current.search,r.focusedKey);null==e&&(e=n.getKeyForSearch(o.current.search)),null!=e&&(r.setFocusedKey(e),i&&i(e))}clearTimeout(o.current.timeout),o.current.timeout=setTimeout(()=>{o.current.search=""},1e3)}}:void 0,onKeyDown:n.getKeyForSearch?e=>{let t=1!==(s=e.key).length&&/^[A-Z]/i.test(s)?"":s;var s;if(!(!t||e.ctrlKey||e.metaKey||e.altKey||!Y(e.currentTarget,Q(e))||0===o.current.search.length&&" "===t)){if(o.current.search+=t,null!=n.getKeyForSearch){let t=n.getKeyForSearch(o.current.search,r.focusedKey);if(null==t&&(t=n.getKeyForSearch(o.current.search)),null==t)return o.current.search="",clearTimeout(o.current.timeout),void(o.current.timeout=void 0);r.setFocusedKey(t),i&&i(t),e.preventDefault(),"continuePropagation"in e||e.stopPropagation()}clearTimeout(o.current.timeout),o.current.timeout=setTimeout(()=>{o.current.search=""},1e3)}}:void 0}}}function vo(e,n){const r=t.useRef(!0),i=t.useRef(null);d(()=>(r.current=!0,()=>{r.current=!1}),[]),d(()=>{r.current?r.current=!1:i.current&&!n.some((e,t)=>!Object.is(e,i[t]))||e(),i.current=n},n)}function bo(e){let{selectionManager:n,keyboardDelegate:r,ref:o,autoFocus:s=!1,shouldFocusWrap:a=!1,disallowEmptySelection:l=!1,disallowSelectAll:c=!1,escapeKeyBehavior:u="clearSelection",selectOnFocus:d="replace"===n.selectionBehavior,disallowTypeAhead:f=!1,shouldUseVirtualFocus:p,allowsTabNavigation:h=!1,scrollRef:m=o,linkBehavior:g="action",UNSTABLE_focusOnEntry:y}=e,{direction:v}=It(),b=De();const x=(e,t,r)=>{if(null!=t){if(n.isLink(t)&&"selection"===g&&d&&!ho(e)){i.flushSync(()=>{n.setFocusedKey(t,r)});let s=mo(o,t),a=n.getItemProps(t);return!!s&&void b.open(s,e,a.href,a.routerOptions)}if(n.setFocusedKey(t,r),n.isLink(t)&&"override"===g)return!1;if(e.shiftKey&&"multiple"===n.selectionMode)return void n.extendSelection(t);if(d&&!ho(e))return void n.replaceSelection(t)}return!1};let w=(e,t)=>({[Ee()?e+"+Shift+Alt":e+"+Shift+Control"]:t,[e+"+Shift"]:t,[Ee()?e+"+Alt":e+"+Control"]:t,[e]:t}),{keyboardProps:k}=Tn({shortcuts:{...w("ArrowDown",e=>{if(r.getKeyBelow){let t=null!=n.focusedKey?r.getKeyBelow?.(n.focusedKey):r.getFirstKey?.();if(null==t&&a&&(t=r.getFirstKey?.(n.focusedKey)),null!=t)return void x(e,t)}return!1}),...w("ArrowUp",e=>{if(r.getKeyAbove){let t=null!=n.focusedKey?r.getKeyAbove?.(n.focusedKey):r.getLastKey?.();if(null==t&&a&&(t=r.getLastKey?.(n.focusedKey)),null!=t)return void x(e,t)}return!1}),...w("ArrowLeft",e=>{if(r.getKeyLeftOf){let t=null!=n.focusedKey?r.getKeyLeftOf?.(n.focusedKey):r.getFirstKey?.();if(null==t&&a&&(t="rtl"===v?r.getFirstKey?.(n.focusedKey):r.getLastKey?.(n.focusedKey)),null!=t)return void x(e,t,"rtl"===v?"first":"last")}return!1}),...w("ArrowRight",e=>{if(r.getKeyRightOf){let t=null!=n.focusedKey?r.getKeyRightOf?.(n.focusedKey):r.getFirstKey?.();if(null==t&&a&&(t="rtl"===v?r.getLastKey?.(n.focusedKey):r.getFirstKey?.(n.focusedKey)),null!=t)return void x(e,t,"rtl"===v?"last":"first")}return!1}),...w("PageDown",e=>{if(r.getKeyPageBelow&&null!=n.focusedKey){let t=r.getKeyPageBelow(n.focusedKey);if(null!=t)return x(e,t)}return!1}),...w("PageUp",e=>{if(r.getKeyPageAbove&&null!=n.focusedKey){let t=r.getKeyPageAbove(n.focusedKey);if(null!=t)return x(e,t)}return!1})},allowRepeats:!0}),{keyboardProps:E}=Tn({shortcuts:{...w("Home",e=>{if(r.getFirstKey){if(null===n.focusedKey&&e.shiftKey)return!1;let t=r.getFirstKey(n.focusedKey,pt(e));if(n.setFocusedKey(t),null!=t){if(pt(e)&&e.shiftKey&&"multiple"===n.selectionMode)return void n.extendSelection(t);if(d)return void n.replaceSelection(t)}}return!1}),...w("End",e=>{if(r.getLastKey){if(null===n.focusedKey&&e.shiftKey)return!1;let t=r.getLastKey(n.focusedKey,pt(e));if(n.setFocusedKey(t),null!=t){if(pt(e)&&e.shiftKey&&"multiple"===n.selectionMode)return void n.extendSelection(t);if(d)return void n.replaceSelection(t)}}return!1}),"Mod+A":()=>{if("multiple"!==n.selectionMode||!0===c)return!1;n.selectAll()},Escape:()=>{if("clearSelection"!==u||l||0===n.selectedKeys.size)return!1;n.clearSelection()},Tab:()=>{if(!h&&o.current){let e,t,n=ao(o.current,{tabbable:!0});do{t=n.lastChild(),t&&(e=t)}while(t);let r=X();e&&(!te(e)||r&&!he(r))&&se(e)}return{shouldContinuePropagation:!0,shouldPreventDefault:!1}},"Tab+Shift":()=>(!h&&o.current&&o.current.focus(),{shouldContinuePropagation:!0,shouldPreventDefault:!1})}}),C=t.useRef({top:0,left:0});vt(m,"scroll",()=>{C.current={top:m.current?.scrollTop??0,left:m.current?.scrollLeft??0}});let P=t.useRef(!1);vt(o,B,p?e=>{let{detail:t}=e;e.stopPropagation(),n.setFocused(!0),"first"===t?.focusStrategy&&(P.current=!0)}:void 0);let T=r.getFirstKey?.()??null;vo(()=>{if(P.current)if(null==T){let e=X();ne(o.current),ie(e,null),n.collection.size>0&&(P.current=!1)}else n.setFocusedKey(T),P.current=!1},[T,n.collection.size]),vo(()=>{n.collection.size>0&&(P.current=!1)},[n.focusedKey]),vt(o,$,p?e=>{e.stopPropagation(),n.setFocused(!1),e.detail?.clearFocusKey&&n.setFocusedKey(null)}:void 0);const j=t.useRef(s),M=t.useRef(!1);t.useEffect(()=>{if(j.current){let e=null;"first"===s&&(e=r.getFirstKey?.()??null),"last"===s&&(e=r.getLastKey?.()??null);let t=n.selectedKeys;if(t.size)for(let r of t)if(n.canSelectItem(r)){e=r;break}n.setFocused(!0),n.setFocusedKey(e),null!=e&&d&&!t.size&&n.canSelectItem(e)&&n.replaceSelection(e),null==e&&!p&&o.current&&gn(o.current),n.collection.size>0&&(j.current=!1,M.current=!0)}});let R=t.useRef(n.focusedKey),L=t.useRef(null);t.useEffect(()=>{if(n.isFocused&&null!=n.focusedKey&&(n.focusedKey!==R.current||M.current)&&m.current&&o.current){let e=ot(),t=mo(o,n.focusedKey);if(!(t instanceof HTMLElement))return;("keyboard"===e||M.current)&&(L.current&&cancelAnimationFrame(L.current),L.current=requestAnimationFrame(()=>{m.current&&(ri(m.current,t),"virtual"!==e&&ii(t,{containingElement:o.current}))}))}!p&&n.isFocused&&null==n.focusedKey&&null!=R.current&&o.current&&gn(o.current),R.current=n.focusedKey,M.current=!1}),t.useEffect(()=>()=>{L.current&&cancelAnimationFrame(L.current)},[]),vt(o,"react-aria-focus-scope-restore",e=>{e.preventDefault(),n.setFocused(!0)});let I,K={...N(E,k),onFocus:e=>{if(n.isFocused)return void(Y(e.currentTarget,Q(e))||n.setFocused(!1));if(!Y(e.currentTarget,Q(e)))return;let t=ot();n.setFocused(!0);let i=e=>{null!=e&&(n.setFocusedKey(e),d&&!n.isSelected(e)&&n.replaceSelection(e))};if(!y||"keyboard"!==t&&"virtual"!==t)if(null==n.focusedKey){let t=e.relatedTarget;t&&e.currentTarget.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?i(n.lastSelectedKey??r.getLastKey?.()):i(n.firstSelectedKey??r.getFirstKey?.())}else m.current&&(m.current.scrollTop=C.current.top,m.current.scrollLeft=C.current.left);else i("first"===y?r.getFirstKey?.():r.getLastKey?.());if(null!=n.focusedKey&&m.current){let e=mo(o,n.focusedKey);e instanceof HTMLElement&&(te(e)||p||se(e),("keyboard"===t||y&&"virtual"===t)&&ii(e,{containingElement:o.current}))}},onBlur:e=>{Y(e.currentTarget,e.relatedTarget)||n.setFocused(!1)},onMouseDown(e){m.current===Q(e)&&e.preventDefault()}},{typeSelectProps:_}=yo({keyboardDelegate:r,selectionManager:n});return f||(K=N(_,K)),p||(I=null==n.focusedKey?0:-1),{collectionProps:N(K,{tabIndex:I,"data-collection":function(e){let t=S();return go.set(e,t),t}(n.collection)})}}class xo{constructor(e){this.ref=e}getItemRect(e){let t=this.ref.current;if(!t)return null;let n=null!=e?mo(this.ref,e):null;if(!n)return null;let r=t.getBoundingClientRect(),i=n.getBoundingClientRect();return{x:i.left-r.left-t.clientLeft+t.scrollLeft,y:i.top-r.top-t.clientTop+t.scrollTop,width:i.width,height:i.height}}getContentSize(){let e=this.ref.current;return{width:e?.scrollWidth??0,height:e?.scrollHeight??0}}getVisibleRect(){let e=this.ref.current;return{x:e?.scrollLeft??0,y:e?.scrollTop??0,width:e?.clientWidth??0,height:e?.clientHeight??0}}}class wo{constructor(...e){if(1===e.length){let t=e[0];this.collection=t.collection,this.ref=t.ref,this.collator=t.collator,this.disabledKeys=t.disabledKeys||new Set,this.disabledBehavior=t.disabledBehavior||"all",this.orientation=t.orientation||"vertical",this.direction=t.direction,this.layout=t.layout||"stack",this.layoutDelegate=t.layoutDelegate||new xo(t.ref)}else this.collection=e[0],this.disabledKeys=e[1],this.ref=e[2],this.collator=e[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new xo(this.ref);"stack"===this.layout&&"vertical"===this.orientation&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}isDisabled(e){return"all"===this.disabledBehavior&&(e.props?.isDisabled||this.disabledKeys.has(e.key))&&"selection"!==e.props?.disabledBehavior}findNextNonDisabled(e,t,n=!1){let r=e;for(;null!=r;){let e=this.collection.getItem(r);if("item"===e?.type&&(n||!this.isDisabled(e)))return r;r=t(r)}return null}getNextKey(e,t){let n=e;return n=this.collection.getKeyAfter(n),this.findNextNonDisabled(n,e=>this.collection.getKeyAfter(e),t?.includeDisabled)}getPreviousKey(e,t){let n=e;return n=this.collection.getKeyBefore(n),this.findNextNonDisabled(n,e=>this.collection.getKeyBefore(e),t?.includeDisabled)}findKey(e,t,n){let r=e,i=this.layoutDelegate.getItemRect(r);if(!i||null==r)return null;let o=i;do{if(r=t(r),null==r)break;i=this.layoutDelegate.getItemRect(r)}while(i&&n(o,i)&&null!=r);return r}isSameRow(e,t){return e.y===t.y||e.x!==t.x}isSameColumn(e,t){return e.x===t.x||e.y!==t.y}isReversed(e){let t=this.getNextKey(e),n=mo(this.ref,e);if(null!=t){let e=mo(this.ref,t);return!(!n||!e)&&n.getBoundingClientRect().top>e.getBoundingClientRect().top}let r=this.getPreviousKey(e);if(null!=r){let e=mo(this.ref,r);return!(!n||!e)&&e.getBoundingClientRect().top>n.getBoundingClientRect().top}return!1}getKeyBelow(e,t){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getNextKey(e,t),this.isSameRow):"vertical"===this.orientation&&this.isReversed(e)?this.getPreviousKey(e,t):this.getNextKey(e,t)}getKeyAbove(e,t){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getPreviousKey(e,t),this.isSameRow):"vertical"===this.orientation&&this.isReversed(e)?this.getNextKey(e,t):this.getPreviousKey(e,t)}getNextColumn(e,t,n){return t?this.getPreviousKey(e,n):this.getNextKey(e,n)}getKeyRightOf(e,t){let n="ltr"===this.direction?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[n]?(e=this.layoutDelegate[n](e),this.findNextNonDisabled(e,e=>this.layoutDelegate[n](e),t?.includeDisabled)):"grid"===this.layout?"vertical"===this.orientation?this.getNextColumn(e,"rtl"===this.direction,t):this.findKey(e,e=>this.getNextColumn(e,"rtl"===this.direction,t),this.isSameColumn):"horizontal"===this.orientation?this.getNextColumn(e,"rtl"===this.direction,t):null}getKeyLeftOf(e,t){let n="ltr"===this.direction?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[n]?(e=this.layoutDelegate[n](e),this.findNextNonDisabled(e,e=>this.layoutDelegate[n](e),t?.includeDisabled)):"grid"===this.layout?"vertical"===this.orientation?this.getNextColumn(e,"ltr"===this.direction,t):this.findKey(e,e=>this.getNextColumn(e,"ltr"===this.direction,t),this.isSameColumn):"horizontal"===this.orientation?this.getNextColumn(e,"ltr"===this.direction,t):null}getFirstKey(){let e=this.collection.getFirstKey();return this.findNextNonDisabled(e,e=>this.collection.getKeyAfter(e))}getLastKey(){let e=this.collection.getLastKey();return this.findNextNonDisabled(e,e=>this.collection.getKeyBefore(e))}getKeyPageAbove(e){let t=this.ref.current,n=this.layoutDelegate.getItemRect(e);if(!n)return null;let r=this.isReversed(e);if(t&&!ei(t))return this.getFirstKey();let i=e;if("horizontal"===this.orientation){let e=Math.max(0,n.x+n.width-this.layoutDelegate.getVisibleRect().width);for(;n&&n.x>e&&null!=i;)i=this.getKeyAbove(i),n=null==i?null:this.layoutDelegate.getItemRect(i)}else{let e=this.layoutDelegate.getVisibleRect(),t=r?n.y-e.height:Math.max(0,n.y+n.height-e.height);for(;n&&n.y>t&&null!=i;)i=this.getKeyAbove(i),n=null==i?null:this.layoutDelegate.getItemRect(i)}return i??(r?this.getLastKey():this.getFirstKey())}getKeyPageBelow(e){let t=this.ref.current,n=this.layoutDelegate.getItemRect(e);if(!n)return null;let r=this.isReversed(e);if(t&&!ei(t))return this.getLastKey();let i=e;if("horizontal"===this.orientation){let e=Math.min(this.layoutDelegate.getContentSize().width,n.x-n.width+this.layoutDelegate.getVisibleRect().width);for(;n&&n.xe[0]s||new wo({collection:r,disabledKeys:i,disabledBehavior:u,ref:o,collator:c,layoutDelegate:a,orientation:l}),[s,a,r,i,o,c,u,l]),{collectionProps:f}=bo({...e,ref:o,selectionManager:n,keyboardDelegate:d});return{listProps:f}}const So=500;function Po(e){let{isDisabled:n,pointerType:r,onLongPressStart:i,onLongPressEnd:o,onLongPress:s,threshold:a=So,accessibilityDescription:l}=e;const c=t.useRef(void 0);let{addGlobalListener:u,removeAllGlobalListeners:d}=yr(),f=e=>r?e.pointerType===r:"mouse"===e.pointerType||"touch"===e.pointerType,{pressProps:p}=kr({isDisabled:n,onPressStart(e){if(e.continuePropagation(),f(e)){i&&i({...e,type:"longpressstart"}),c.current=setTimeout(()=>{e.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),u(e.target,"click",e=>e.preventDefault(),{once:!0}),z(e.target).activeElement!==e.target&&se(e.target),s&&s({...e,type:"longpress"}),c.current=void 0},a),"touch"===e.pointerType&&u(e.target,"contextmenu",e=>e.preventDefault(),{once:!0});let t=V(e.target);u(t,"pointerup",()=>{setTimeout(()=>{d()},100)},{once:!0})}},onPressEnd(e){c.current&&clearTimeout(c.current),o&&f(e)&&o({...e,type:"longpressend"})}});return{longPressProps:N(p,ai(s&&!n?l:void 0))}}function To(e){let{id:n,selectionManager:r,key:i,ref:o,shouldSelectOnPressUp:s,shouldUseVirtualFocus:a,focus:l,isDisabled:c,onAction:d,allowsDifferentPressOrigin:f,linkBehavior:p="action"}=e,h=De();n=S(n);let m=e=>{if("keyboard"===e.pointerType&&ho(e))r.toggleSelection(i);else{if("none"===r.selectionMode)return;if(r.isLink(i)){if("selection"===p&&o.current){let t=r.getItemProps(i);return h.open(o.current,e,t.href,t.routerOptions),void r.setSelectedKeys(r.selectedKeys)}if("override"===p||"none"===p)return}"single"===r.selectionMode?r.isSelected(i)&&!r.disallowEmptySelection?r.toggleSelection(i):r.replaceSelection(i):e&&e.shiftKey?r.extendSelection(i):"toggle"===r.selectionBehavior||e&&(pt(e)||"touch"===e.pointerType||"virtual"===e.pointerType)?r.toggleSelection(i):r.replaceSelection(i)}};t.useEffect(()=>{i===r.focusedKey&&r.isFocused&&(a?ne(o.current):l?l():X()!==o.current&&o.current&&gn(o.current))},[o,i,r.focusedKey,r.childFocusStrategy,r.isFocused,a]),c=c||r.isDisabled(i);let g={};a||c?c&&(g.onMouseDown=e=>{e.preventDefault()}):g={tabIndex:i===r.focusedKey?0:-1,onFocus(e){Q(e)===o.current&&r.setFocusedKey(i)}},t.useEffect(()=>{c&&r.focusedKey===i&&r.setFocusedKey(null)},[r,c,i]);let y=r.isLink(i)&&"override"===p,v=d&&"action"===e.UNSTABLE_itemBehavior,b=r.isLink(i)&&"selection"!==p&&"none"!==p,x=!c&&r.canSelectItem(i)&&!y&&!v,w=(d||b)&&!c,k=w&&("replace"===r.selectionBehavior?!x:!x||r.isEmpty),E=w&&x&&"replace"===r.selectionBehavior,C=k||E,P=t.useRef(null),T=C&&x,j=t.useRef(!1),M=t.useRef(!1),R=r.getItemProps(i),L=e=>{d&&(d(),o.current?.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}))),b&&o.current&&h.open(o.current,e,R.href,R.routerOptions)},I={ref:o};s?(I.onPressStart=e=>{P.current=e.pointerType,j.current=T,"keyboard"!==e.pointerType||C&&!Mo(e.key)||m(e)},f?(I.onPressUp=k?void 0:e=>{"mouse"===e.pointerType&&x&&m(e)},I.onPress=k?L:e=>{"keyboard"!==e.pointerType&&"mouse"!==e.pointerType&&x&&m(e)}):I.onPress=e=>{if(k||E&&"mouse"!==e.pointerType){if("keyboard"===e.pointerType&&!jo(e.key))return;L(e)}else"keyboard"!==e.pointerType&&x&&m(e)}):(I.onPressStart=e=>{P.current=e.pointerType,j.current=T,M.current=k,x&&("mouse"===e.pointerType&&!k||"keyboard"===e.pointerType&&(!w||Mo(e.key)))&&m(e)},I.onPress=e=>{("touch"===e.pointerType||"pen"===e.pointerType||"virtual"===e.pointerType||"keyboard"===e.pointerType&&C&&jo(e.key)||"mouse"===e.pointerType&&M.current)&&(C?L(e):x&&m(e))});let K=(_=r.collection,go.get(_));var _;if(g["data-collection"]=K,g["data-key"]=i,I.preventFocusOnPress=a,a&&(I=N(I,{onPressStart(e){"touch"!==e.pointerType&&(r.setFocused(!0),r.setFocusedKey(i))},onPress(e){"touch"===e.pointerType&&(r.setFocused(!0),r.setFocusedKey(i))}})),R)for(let t of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])R[t]&&(I[t]=u(I[t],R[t]));let{pressProps:D,isPressed:A}=kr(I),O=E?e=>{"mouse"===P.current&&(e.stopPropagation(),e.preventDefault(),L(e))}:void 0,{longPressProps:F}=Po({isDisabled:!T,onLongPress(e){"touch"===e.pointerType&&(m(e),r.setSelectionBehavior("toggle"))}}),q="none"!==p&&r.isLink(i)?e=>{Oe.isOpening||e.preventDefault()}:void 0,H=N(g,x||k||a&&!c?D:{},T?F:{},{onDoubleClick:O,onDragStartCapture:e=>{"touch"===P.current&&j.current&&e.preventDefault()},onClick:q,id:n},a?{onMouseDown:e=>e.preventDefault()}:void 0),$=e=>{let t=e;for(;t&&t!==o.current;){let e=t.getAttribute("data-collection");if(null!=e)return e!==K;t=t.parentElement}return he(e)},B=H.onPointerDown;H.onPointerDown=e=>{let t=Q(e);t&&t!==o.current&&$(t)?e.stopPropagation():B?.(e)};let z=H.onMouseDown;return H.onMouseDown=e=>{let t=Q(e);t&&t!==o.current&&$(t)?e.stopPropagation():z?.(e)},{itemProps:H,isPressed:A,isSelected:r.isSelected(i),isFocused:r.isFocused&&r.focusedKey===i,isDisabled:c,allowsSelection:x,hasAction:C}}function jo(e){return"Enter"===e}function Mo(e){return" "===e}function No(e,t){return"function"==typeof t.getChildren?t.getChildren(e.key):e.childNodes}function Ro(e){return Lo(e,0)}function Lo(e,t){if(t<0)return;let n=0;for(let r of e){if(n===t)return r;n++}}function Io(e){let t;for(let n of e)t=n;return t}function Ko(e,t,n){if(t.parentKey===n.parentKey)return t.index-n.index;let r=[..._o(e,t),t],i=[..._o(e,n),n],o=r.slice(0,i.length).findIndex((e,t)=>e!==i[t]);return-1!==o?(t=r[o],n=i[o],t.index-n.index):r.findIndex(e=>e===n)>=0?1:(i.findIndex(e=>e===t),-1)}function _o(e,t){let n=[],r=t;for(;null!=r?.parentKey;)r=e.getItem(r.parentKey),r&&n.unshift(r);return n}const Do=new WeakMap;function Ao(e){let t=Do.get(e);if(null!=t)return t;let n=0,r=t=>{for(let i of t)"section"===i.type?r(No(i,e)):"item"===i.type&&n++};return r(e),Do.set(e,n),n}function Oo(e){const n=t.version.split(".");return parseInt(n[0],10)>=19?e:e?"true":void 0}class Fo extends Set{constructor(e,t,n){super(e),e instanceof Fo?(this.anchorKey=t??e.anchorKey,this.currentKey=n??e.currentKey):(this.anchorKey=t??null,this.currentKey=n??null)}}function qo(e){let{selectionMode:n="none",disallowEmptySelection:r=!1,allowDuplicateSelectionEvents:i,selectionBehavior:o="toggle",disabledBehavior:s="all"}=e,a=t.useRef(!1),[,l]=t.useState(!1),c=t.useRef(null),u=t.useRef(null),[,d]=t.useState(null),f=t.useMemo(()=>Ho(e.selectedKeys),[e.selectedKeys]),p=t.useMemo(()=>Ho(e.defaultSelectedKeys,new Fo),[e.defaultSelectedKeys]),[h,m]=Ut(f,p,e.onSelectionChange),g=t.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[y,v]=t.useState(o);"replace"===o&&"toggle"===y&&"object"==typeof h&&0===h.size&&v("replace");let b=t.useRef(o);return t.useEffect(()=>{o!==b.current&&(v(o),b.current=o)},[o]),{selectionMode:n,disallowEmptySelection:r,selectionBehavior:y,setSelectionBehavior:v,get isFocused(){return a.current},setFocused(e){a.current=e,l(e)},get focusedKey(){return c.current},get childFocusStrategy(){return u.current},setFocusedKey(e,t="first"){c.current=e,u.current=t,d(e)},selectedKeys:h,setSelectedKeys(e){!i&&function(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}(e,h)||m(e)},disabledKeys:g,disabledBehavior:s}}function Ho(e,t){return e?"all"===e?"all":new Fo(e):t}class $o{constructor(e,t,n){this.collection=e,this.state=t,this.allowsCellSelection=n?.allowsCellSelection??!1,this._isSelectAll=null,this.layoutDelegate=n?.layoutDelegate||null,this.fullCollection=n?.fullCollection||null}get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(e){this.state.setSelectionBehavior(e)}get isFocused(){return this.state.isFocused}setFocused(e){this.state.setFocused(e)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(e,t){(null==e||this.collection.getItem(e))&&this.state.setFocusedKey(e,t)}get selectedKeys(){return"all"===this.state.selectedKeys?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(e){if("none"===this.state.selectionMode)return!1;let t=this.getKey(e);return null!=t&&("all"===this.state.selectedKeys?this.canSelectItem(t):this.state.selectedKeys.has(t))}get isEmpty(){return"all"!==this.state.selectedKeys&&0===this.state.selectedKeys.size}get isSelectAll(){if(this.isEmpty)return!1;if("all"===this.state.selectedKeys)return!0;if(null!=this._isSelectAll)return this._isSelectAll;let e=this.getSelectAllKeys(),t=this.state.selectedKeys;return this._isSelectAll=e.every(e=>t.has(e)),this._isSelectAll}get firstSelectedKey(){let e=null;for(let t of this.state.selectedKeys){let n=this.collection.getItem(t);(!e||n&&Ko(this.collection,n,e)<0)&&(e=n)}return e?.key??null}get lastSelectedKey(){let e=null;for(let t of this.state.selectedKeys){let n=this.collection.getItem(t);(!e||n&&Ko(this.collection,n,e)>0)&&(e=n)}return e?.key??null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(e){if("none"===this.selectionMode)return;if("single"===this.selectionMode)return void this.replaceSelection(e);let t,n=this.getKey(e);if(null!=n){if("all"===this.state.selectedKeys)t=new Fo([n],n,n);else{let e=this.state.selectedKeys,r=e.anchorKey??n;t=new Fo(e,r,n);for(let i of this.getKeyRange(r,e.currentKey??n))t.delete(i);for(let i of this.getKeyRange(n,r))this.canSelectItem(i)&&t.add(i)}this.state.setSelectedKeys(t)}}getKeyRange(e,t){let n=this.collection.getItem(e),r=this.collection.getItem(t);return n&&r?Ko(this.collection,n,r)<=0?this.getKeyRangeInternal(e,t):this.getKeyRangeInternal(t,e):[]}getKeyRangeInternal(e,t){if(this.layoutDelegate?.getKeyRange)return this.layoutDelegate.getKeyRange(e,t);let n=[],r=e;for(;null!=r;){let e=this.collection.getItem(r);if(e&&("item"===e.type||"cell"===e.type&&this.allowsCellSelection)&&n.push(r),r===t)return n;r=this.collection.getKeyAfter(r)}return[]}getKey(e){let t=this.collection.getItem(e);if(!t)return e;if("cell"===t.type&&this.allowsCellSelection)return e;for(;t&&"item"!==t.type&&null!=t.parentKey;)t=this.collection.getItem(t.parentKey);return t&&"item"===t.type?t.key:null}toggleSelection(e){if("none"===this.selectionMode)return;if("single"===this.selectionMode&&!this.isSelected(e))return void this.replaceSelection(e);let t=this.getKey(e);if(null==t)return;let n=new Fo("all"===this.state.selectedKeys?this.getSelectAllKeys():this.state.selectedKeys);n.has(t)?n.delete(t):this.canSelectItem(t)&&(n.add(t),n.anchorKey=t,n.currentKey=t),this.disallowEmptySelection&&0===n.size||this.state.setSelectedKeys(n)}replaceSelection(e){if("none"===this.selectionMode)return;let t=this.getKey(e);if(null==t)return;let n=this.canSelectItem(t)?new Fo([t],t,t):new Fo;this.state.setSelectedKeys(n)}setSelectedKeys(e){if("none"===this.selectionMode)return;let t=new Fo;for(let n of e){let e=this.getKey(n);if(null!=e&&(t.add(e),"single"===this.selectionMode))break}this.state.setSelectedKeys(t)}getSelectAllKeys(){let e=this.fullCollection??this.collection,t=[],n=r=>{for(;null!=r;){if(this.canSelectItemIn(r,e)){let i=e.getItem(r);"item"===i?.type&&t.push(r),i?.hasChildNodes&&(this.allowsCellSelection||"item"!==i.type)&&n(Ro(No(i,e))?.key??null)}r=e.getKeyAfter(r)}};return n(e.getFirstKey()),t}selectAll(){this.isSelectAll||"multiple"!==this.selectionMode||this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&("all"===this.state.selectedKeys||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new Fo)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(e,t){"none"!==this.selectionMode&&("single"===this.selectionMode?this.isSelected(e)&&!this.disallowEmptySelection?this.toggleSelection(e):this.replaceSelection(e):"toggle"===this.selectionBehavior||t&&("touch"===t.pointerType||"virtual"===t.pointerType)?this.toggleSelection(e):this.replaceSelection(e))}isSelectionEqual(e){if(e===this.state.selectedKeys)return!0;let t=this.selectedKeys;if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;for(let n of t)if(!e.has(n))return!1;return!0}canSelectItem(e){return this.canSelectItemIn(e,this.collection)}canSelectItemIn(e,t){if("none"===this.state.selectionMode||this.state.disabledKeys.has(e))return!1;let n=t.getItem(e);return!(!n||n?.props?.isDisabled||"cell"===n.type&&!this.allowsCellSelection)}isDisabled(e){let t=this.collection.getItem(e);return"all"===this.state.disabledBehavior&&(this.state.disabledKeys.has(e)||!!t?.props?.isDisabled)&&"selection"!==t?.props?.disabledBehavior}isLink(e){return!!this.collection.getItem(e)?.props?.href}getItemProps(e){return this.collection.getItem(e)?.props}withCollection(e){return new $o(e,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0,fullCollection:this.fullCollection??this.collection})}}class Bo{build(e,t){return this.context=t,zo(()=>this.iterateCollection(e))}*iterateCollection(t){let{children:n,items:r}=t;if(e.isValidElement(n)&&n.type===e.Fragment)yield*this.iterateCollection({children:n.props.children,items:r});else if("function"==typeof n){if(!r)throw new Error("props.children was a function but props.items is missing");let e=0;for(let t of r)yield*this.getFullNode({value:t,index:e},{renderer:n}),e++}else{let t=[];e.Children.forEach(n,e=>{e&&t.push(e)});let r=0;for(let e of t){let t=this.getFullNode({element:e,index:r},{});for(let e of t)r++,yield e}}}getKey(e,t,n,r){if(null!=e.key)return e.key;if("cell"===t.type&&null!=t.key)return`${r}${t.key}`;let i=t.value;if(null!=i){let e=i.key??i.id;if(null==e)throw new Error("No key found for item");return e}return r?`${r}.${t.index}`:`$.${t.index}`}getChildState(e,t){return{renderer:t.renderer||e.renderer}}*getFullNode(t,n,r,i){if(e.isValidElement(t.element)&&t.element.type===e.Fragment){let o=[];e.Children.forEach(t.element.props.children,e=>{o.push(e)});let s=t.index??0;for(const e of o)yield*this.getFullNode({element:e,index:s++},n,r,i);return}let o=t.element;if(!o&&t.value&&n&&n.renderer){let e=this.cache.get(t.value);if(e&&(!e.shouldInvalidate||!e.shouldInvalidate(this.context)))return e.index=t.index,e.parentKey=i?i.key:null,void(yield e);o=n.renderer(t.value)}if(e.isValidElement(o)){let e=o.type;if("function"!=typeof e&&"function"!=typeof e.getCollectionNode){let e=o.type;throw new Error(`Unknown element <${e}> in collection.`)}let s=e.getCollectionNode(o.props,this.context),a=t.index??0,l=s.next();for(;!l.done&&l.value;){let e=l.value;t.index=a;let c=e.key??null;null==c&&(c=e.element?null:this.getKey(o,t,n,r));let u=[...this.getFullNode({...e,key:c,index:a,wrapper:Vo(t.wrapper,e.wrapper)},this.getChildState(n,e),r?`${r}${o.key}`:o.key,i)];for(let n of u){if(n.value=e.value??t.value??null,n.value&&this.cache.set(n.value,n),t.type&&n.type!==t.type)throw new Error(`Unsupported type <${Uo(n.type)}> in <${Uo(i?.type??"unknown parent type")}>. Only <${Uo(t.type)}> is supported.`);a++,yield n}l=s.next(u)}return}if(null==t.key||null==t.type)return;let s=this,a={type:t.type,props:t.props,key:t.key,parentKey:i?i.key:null,value:t.value??null,level:(i?.level??0)+("item"===i?.type?1:0),index:t.index,rendered:t.rendered,textValue:t.textValue??"","aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes||!1,childNodes:zo(function*(){if(!t.hasChildNodes||!t.childNodes)return;let e=0;for(let r of t.childNodes()){null!=r.key&&(r.key=`${a.key}${r.key}`);let t=s.getFullNode({...r,index:e},s.getChildState(n,r),a.key,a);for(let n of t)e++,yield n}})};yield a}constructor(){this.cache=new WeakMap}}function zo(e){let t=[],n=null;return{*[Symbol.iterator](){for(let e of t)yield e;n||(n=e());for(let e of n)t.push(e),yield e}}}function Vo(e,t){return e&&t?n=>e(t(n)):e||(t||void 0)}function Uo(e){return e[0].toUpperCase()+e.slice(1)}function Wo(e,n,r){let i=t.useMemo(()=>new Bo,[]),{children:o,items:s,collection:a}=e;return t.useMemo(()=>{if(a)return a;let e=i.build({children:o,items:s},r);return n(e)},[i,o,s,a,r,n])}function Go(e,n){let{collection:r,onLoadMore:i,scrollOffset:o=1,direction:s="end"}=e,a=t.useRef(null),l=yt(e=>{for(let t of e)t.isIntersecting&&i&&i()});d(()=>{if(n.current){const e=100*o,t="start"===s?`${e}% 0px 0px 0px`:`0px ${e}% ${e}% ${e}%`;a.current=new IntersectionObserver(l,{root:ti(n?.current),rootMargin:t}),a.current.observe(n.current)}return()=>{a.current&&a.current.disconnect()}},[r,n,o,s])}const Jo=t.createContext({placement:"bottom"}),Zo=t.forwardRef(function(t,n){[t,n]=D(t,n,Jo);let r=t.placement,i={position:"absolute",transform:"top"===r||"bottom"===r?"translateX(-50%)":"translateY(-50%)"};null!=r&&(i[r]="100%");let o=K({...t,defaultClassName:"react-aria-OverlayArrow",values:{placement:r}});o.style&&Object.keys(o.style).forEach(e=>void 0===o.style[e]&&delete o.style[e]);let s=lr(t);return e.createElement(H.div,{...s,...o,style:{...i,...o.style},ref:n,"data-placement":r})}),Yo="undefined"!=typeof HTMLElement&&"inert"in HTMLElement.prototype;function Xo(e){return"true"===e.dataset.liveAnnouncer||void 0!==e.dataset.reactAriaTopLayer}let Qo=new WeakMap,es=[];function ts(e,t){let n=V(e?.[0]),r=t instanceof n.Element?{root:t}:t,i=r?.root??document.body,o=r?.shouldUseInert&&Yo,s=new Set(e),a=new Set,l=(e,t)=>{o&&e instanceof n.HTMLElement?e.inert=t:t?e.setAttribute("aria-hidden","true"):(e.removeAttribute("aria-hidden"),e instanceof n.HTMLElement&&(e.inert=!1))},c=new Set;let u=e=>{for(let i of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))s.add(i);let t=e=>{if(a.has(e)||s.has(e)||e.parentElement&&a.has(e.parentElement)&&"row"!==e.parentElement.getAttribute("role"))return NodeFilter.FILTER_REJECT;for(let t of s)if(Y(e,t))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},n=zi(z(e),e,NodeFilter.SHOW_ELEMENT,{acceptNode:t}),r=t(e);if(r===NodeFilter.FILTER_ACCEPT&&d(e),r!==NodeFilter.FILTER_REJECT){let e=n.nextNode();for(;null!=e;)d(e),e=n.nextNode()}},d=e=>{let t=Qo.get(e)??0;var r;(r=e,(o&&r instanceof n.HTMLElement?r.inert:"true"===r.getAttribute("aria-hidden"))&&0===t)||(0===t&&l(e,!0),a.add(e),Qo.set(e,t+1))};es.length&&es[es.length-1].disconnect(),u(i);let f=new MutationObserver(e=>{for(let t of e)if("childList"===t.type){if(t.target.isConnected&&![...s,...a].some(e=>Y(e,t.target)))for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&Xo(e)?s.add(e):e instanceof Element&&u(e);if(Z())for(let e of c)if(!e.isConnected){f.disconnect();break}}});f.observe(i,{childList:!0,subtree:!0});let p={visibleNodes:s,hiddenNodes:a,observe(){f.observe(i,{childList:!0,subtree:!0})},disconnect(){f.disconnect()}};return es.push(p),()=>{f.disconnect();for(let e of a){let t=Qo.get(e);null!=t&&(1===t?(l(e,!1),Qo.delete(e)):Qo.set(e,t-1))}p===es[es.length-1]?(es.pop(),es.length&&es[es.length-1].observe()):es.splice(es.indexOf(p),1)}}const ns={top:"top",bottom:"top",left:"left",right:"left"},rs={top:"bottom",bottom:"top",left:"right",right:"left"},is={top:"left",left:"top"},os={top:"height",left:"width"},ss={width:"totalWidth",height:"totalHeight"},as={};function ls(e,t){let n=0,r=0,i=0,o=0,s=0,a=0,l={},c=(t?.scale??1)>1;if("BODY"===e.tagName||"HTML"===e.tagName){let c=document.documentElement;i=c.clientWidth,o=c.clientHeight,n=t?.width??i,r=t?.height??o,l.top=c.scrollTop||e.scrollTop,l.left=c.scrollLeft||e.scrollLeft,t&&(s=Math.max(0,t.pageTop-(l.top??0)),a=Math.max(0,t.pageLeft-(l.left??0)))}else({width:n,height:r,top:s,left:a}=gs(e,!1)),l.top=e.scrollTop,l.left=e.scrollLeft,i=n,o=r;return je()&&("BODY"===e.tagName||"HTML"===e.tagName)&&c&&(l.top=0,l.left=0,s=t?.pageTop??0,a=t?.pageLeft??0),{width:n,height:r,totalWidth:i,totalHeight:o,scroll:l,top:s,left:a}}function cs(e,t,n,r,i,o,s){let a=i.scroll[e]??0,l=r[os[e]],c=s[e]+r.scroll[ns[e]]+o,u=s[e]+r.scroll[ns[e]]+l-o,d=t-a+r.scroll[ns[e]]+s[e]-r[ns[e]],f=t-a+n+r.scroll[ns[e]]+s[e]-r[ns[e]];return du?Math.max(u-f,c-d):0}function us(e){if(as[e])return as[e];let[t,n]=e.split(" "),r=ns[t]||"right",i=is[r];ns[n]||(n="center");let o=os[r],s=os[i];return as[e]={placement:t,crossPlacement:n,axis:r,crossAxis:i,size:o,crossSize:s},as[e]}function ds(e,t,n,r,i,o,s,a,l,c,u){let{placement:d,crossPlacement:f,axis:p,crossAxis:h,size:m,crossSize:g}=r,y={};y[h]=e[h]??0,"center"===f?y[h]+=((e[g]??0)-(n[g]??0))/2:f!==h&&(y[h]+=(e[g]??0)-(n[g]??0)),y[h]+=o;const v=e[h]-n[g]+l+c,b=e[h]+e[g]-l-c;if(y[h]=Hr(y[h],v,b),d===p){let t=a?u[m]:u[ss[m]];y[rs[p]]=Math.floor(t-e[p]+i)}else y[p]=Math.floor(e[p]+e[m]+i);return y}function fs(e,t,n,r,i,o,s,a){let{placement:l,axis:c,size:u}=o;return l===c?Math.max(0,n[c]-(s.scroll[c]??0)-(e[c]+(a?t[c]:0))-(r[c]??0)-r[rs[c]]-i):Math.max(0,e[u]+e[c]+(a?t[c]:0)-n[c]-n[u]+(s.scroll[c]??0)-(r[c]??0)-r[rs[c]]-i)}function ps(e,t,n,r,i,o,s,a,l,c,u,d,f,p,h,m,g,y){let v=us(e),{size:b,crossAxis:x,crossSize:w,placement:k,crossPlacement:E}=v,C=ds(t,0,n,v,u,d,0,f,h,m,l),S=u,P=fs(a,c,t,i,o+u,v,l,g);if(s&&n[b]>P){let e=us(`${rs[k]} ${E}`),r=ds(t,0,n,e,u,d,0,f,h,m,l);fs(a,c,t,i,o+u,e,l,g)>P&&(v=e,C=r,S=u)}let T="bottom";"top"===v.axis?"top"===v.placement?T="top":"bottom"===v.placement&&(T="bottom"):"top"===v.crossAxis&&("top"===v.crossPlacement?T="bottom":"bottom"===v.crossPlacement&&(T="top"));let j=cs(x,C[x],n[w],a,l,o,c);C[x]+=j;let M=function(e,t,n,r,i,o,s,a,l,c,u){let d=(null!=e.top?e.top:l[ss.height]-(e.bottom??0)-s)-(l.scroll.top??0),f=c?n.top:0,p=Math.max(t.top+f,(u?.offsetTop??t.top)+f),h=Math.min(t.top+t.height+f,(u?.offsetTop??0)+(u?.height??0));return"top"!==a?Math.max(0,h-d-((i.top??0)+(i.bottom??0)+o)):Math.max(0,d+s-p-((i.top??0)+(i.bottom??0)+o))}(C,a,c,0,i,o,n.height,T,l,g,y);p&&p{let e=n?.current;if(e){if(void 0===window.ResizeObserver)return window.addEventListener("resize",o,!1),()=>{window.removeEventListener("resize",o,!1)};{const t=new window.ResizeObserver(e=>{e.length&&o()});return t.observe(e,{box:r}),()=>{e&&t.unobserve(e)}}}},[n,r])}let ws="undefined"!=typeof document?window.visualViewport:null;function ks(e){let{direction:n}=It(),{arrowSize:r,targetRef:i,overlayRef:o,arrowRef:s,scrollRef:a=o,placement:l="bottom",containerPadding:c=12,shouldFlip:u=!0,boundaryElement:f=("undefined"!=typeof document?document.body:null),offset:p=0,crossOffset:h=0,shouldUpdatePosition:m=!0,isOpen:g=!0,onClose:y,maxHeight:v,arrowBoundaryOffset:b=0,getTargetRect:x}=e,[w,k]=t.useState(null),E=[m,l,o.current,i.current,s?.current,a.current,c,u,f,p,h,g,n,v,b,r],C=t.useRef(ws?.scale);t.useEffect(()=>{g&&(C.current=ws?.scale)},[g]);let S=t.useCallback(()=>{if(!(!1!==m&&g&&o.current&&i.current&&f))return;if(ws?.scale!==C.current)return;let e=null;if(a.current&&te(a.current)){let t=X()?.getBoundingClientRect(),n=a.current.getBoundingClientRect();e={type:"top",offset:(t?.top??0)-n.top},e.offset>n.height/2&&(e.type="bottom",e.offset=(t?.bottom??0)-n.bottom)}let t=o.current;!v&&o.current&&(t.style.top="0px",t.style.bottom="",t.style.maxHeight=(window.visualViewport?.height??window.innerHeight)+"px");let d=hs({placement:Es(l,n),overlayNode:o.current,targetNode:i.current,scrollNode:a.current||o.current,padding:c,shouldFlip:u,boundaryElement:f,offset:p,crossOffset:h,maxHeight:v,arrowSize:r??(s?.current?ms(s.current,!0).width:0),arrowBoundaryOffset:b,targetRect:x?.(i.current)});if(!d.position)return;t.style.top="",t.style.bottom="",t.style.left="",t.style.right="",Object.keys(d.position).forEach(e=>t.style[e]=d.position[e]+"px"),t.style.maxHeight=null!=d.maxHeight?d.maxHeight+"px":"";let y=X();if(e&&y&&a.current){let t=y.getBoundingClientRect(),n=a.current.getBoundingClientRect(),r=t[e.type]-n[e.type];a.current.scrollTop+=r-e.offset}k(d)},E);var P;d(S,E),d(()=>(window.addEventListener("resize",P,!1),()=>{window.removeEventListener("resize",P,!1)}),[P=S]),xs({ref:o,onResize:S}),xs({ref:i,onResize:S});let T=t.useRef(!1);d(()=>{let e,t=()=>{T.current=!0,clearTimeout(e),e=setTimeout(()=>{T.current=!1},500),S()},n=()=>{T.current&&t()};ws?.addEventListener("resize",t),ws?.addEventListener("scroll",n);let r=G(ee(window),"scroll",n);return()=>{ws?.removeEventListener("resize",t),ws?.removeEventListener("scroll",n),r()}},[S]);let j=t.useCallback(()=>{T.current||y?.()},[y,T]);return function(e){let{triggerRef:n,isOpen:r,onClose:i}=e;t.useEffect(()=>{if(r&&null!==i)return G(ee(n.current),"scroll",e=>{let t=Q(e);if(!n.current||t instanceof Node&&!Y(t,n.current))return;if(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement)return;let r=i||bs.get(n.current);r&&r()},!0)},[r,i,n])}({triggerRef:i,isOpen:g,onClose:y&&j}),{overlayProps:{style:{position:w?"absolute":"fixed",top:w?void 0:0,left:w?void 0:0,zIndex:1e5,...w?.position,maxHeight:w?.maxHeight??"100vh"}},placement:w?.placement??null,triggerAnchorPoint:w?.triggerAnchorPoint??null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:w?.arrowOffsetLeft,top:w?.arrowOffsetTop}},updatePosition:S}}function Es(e,t){return"rtl"===t?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}function Cs(e,t){if(e.button>0)return!1;let n=Q(e);if(n){const e=n.ownerDocument;if(!e||!Y(e.documentElement,n))return!1;if(n.closest("[data-react-aria-top-layer]"))return!1}return!!t.current&&!e.composedPath().includes(t.current)}const Ss=[];function Ps(e,n){let{onClose:r,shouldCloseOnBlur:i,isOpen:o,isDismissable:s=!1,isKeyboardDismissDisabled:a=!1,shouldCloseOnInteractOutside:l}=e,c=t.useRef(void 0);t.useEffect(()=>{if(o&&!Ss.includes(n))return Ss.push(n),()=>{let e=Ss.indexOf(n);e>=0&&Ss.splice(e,1)}},[o,n]);let u=()=>{Ss[Ss.length-1]===n&&r&&r()},{keyboardProps:d}=Tn({shortcuts:{Escape:()=>{if(a)return!1;u()}}});!function(e){let{ref:n,onInteractOutside:r,isDisabled:i,onInteractOutsideStart:o}=e,s=t.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),a=yt(e=>{r&&Cs(e,n)&&(o&&o(e),s.current.isPointerDown=!0)}),l=yt(e=>{r&&r(e)});t.useEffect(()=>{let e=s.current;if(i)return;const t=n.current,r=z(t);if("undefined"!=typeof PointerEvent){let t=t=>{e.isPointerDown&&Cs(t,n)&&l(t),e.isPointerDown=!1};return r.addEventListener("pointerdown",a,!0),r.addEventListener("click",t,!0),()=>{r.removeEventListener("pointerdown",a,!0),r.removeEventListener("click",t,!0)}}},[n,i])}({ref:n,onInteractOutside:s&&o?e=>{l&&!l(Q(e))||(Ss[Ss.length-1]===n&&e.stopPropagation(),c.current===n&&u()),c.current=void 0}:void 0,onInteractOutsideStart:e=>{const t=Ss[Ss.length-1];c.current=t,l&&!l(Q(e))||t===n&&e.stopPropagation()}});let{focusWithinProps:f}=Mr({isDisabled:!i,onBlurWithin:e=>{e.relatedTarget&&!eo(e.relatedTarget,Wi)&&(l&&!l(e.relatedTarget)||r?.())}});return{overlayProps:{...d,...f},underlayProps:{}}}const Ts="undefined"!=typeof document&&window.visualViewport;let js,Ms=0;function Ns(e={}){let{isDisabled:t}=e;d(()=>{if(!t)return Ms++,1===Ms&&(js=Pe()&&je()?function(){let e,t=J(document.documentElement,"overflow","hidden"),n=!1,r=t=>{let r=Q(t);e=ei(r)?r:ti(r,!0),n=!1;let i=r.ownerDocument.defaultView.getSelection();i&&!i.isCollapsed&&i.containsNode(r,!0)&&(n=!0),t.composedPath().some(e=>e instanceof HTMLInputElement&&"range"===e.type)&&(n=!0),"selectionStart"in r&&"selectionEnd"in r&&r.selectionStart{2===t.touches.length||n||(e&&e!==document.documentElement&&e!==document.body?e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&t.preventDefault():t.preventDefault())},a=e=>{let t=Q(e),n=e.relatedTarget;if(n&&mt(n))n.focus({preventScroll:!0}),Rs(n,mt(t));else if(!n){let e=t.parentElement?.closest("[tabindex]");e?.focus({preventScroll:!0})}},l=HTMLElement.prototype.focus;Reflect.defineProperty(HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(e){let t=X(),n=null!=t&&mt(t);l.call(this,{...e,preventScroll:!0}),e&&e.preventScroll||Rs(this,n)}});let c=u(G(document,"touchstart",r,{passive:!1,capture:!0}),G(document,"touchmove",s,{passive:!1,capture:!0}),G(document,"blur",a,!0));return()=>{t(),c(),i.remove(),Reflect.defineProperty(HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:l})}}():function(){let e=window.innerWidth-document.documentElement.clientWidth;return u(e>0&&("scrollbarGutter"in document.documentElement.style?J(document.documentElement,"scrollbar-gutter","stable"):J(document.documentElement,"padding-right",`${e}px`)),J(document.documentElement,"overflow","hidden"))}()),()=>{Ms--,0===Ms&&js()}},[t])}function Rs(e,t){t||!Ts?Ls(e):Ts.addEventListener("resize",()=>Ls(e),{once:!0})}function Ls(e){let t=document.scrollingElement||document.documentElement,n=e;for(;n&&n!==t;){let e=ti(n);if(e!==document.documentElement&&e!==document.body&&e!==n){let t=e.getBoundingClientRect(),r=n.getBoundingClientRect();if(r.topt.top+n.clientHeight){let n=t.bottom;Ts&&(n=Math.min(n,Ts.offsetTop+Ts.height));let i=r.top-t.top-((n-t.top)/2-r.height/2);e.scrollTo({top:Math.max(0,Math.min(e.scrollHeight-e.clientHeight,e.scrollTop+i)),behavior:"smooth"})}}n=e.parentElement}}function Is(e,n){let{triggerRef:r,popoverRef:i,groupRef:o,isNonModal:s,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:l,...c}=e,u="SubmenuTrigger"===c.trigger,{overlayProps:d,underlayProps:f}=Ps({isOpen:n.isOpen,onClose:n.close,shouldCloseOnBlur:!0,isDismissable:!s||u,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:l},o??i),{overlayProps:p,arrowProps:h,placement:m,triggerAnchorPoint:g}=ks({...c,targetRef:r,overlayRef:i,isOpen:n.isOpen,onClose:s&&!u?n.close:null,getTargetRect:c.getTargetRect??(n.point?()=>new DOMRect(n.point.x,n.point.y,0,0):void 0)});Ns({isDisabled:s||!n.isOpen}),t.useEffect(()=>{if(n.isOpen&&i.current)return s?function(e){let t=es[es.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}(o?.current??i.current):ts([o?.current??i.current],{shouldUseInert:!0})},[s,n.isOpen,i,o]);let{focusWithinProps:y}=Mr(e);return{popoverProps:N(d,p,y),arrowProps:h,underlayProps:f,placement:m,triggerAnchorPoint:g}}var Ks;function _s(t){let{onDismiss:n,...r}=t;var i;let o=bt(r,Bt((i=Ks)&&i.__esModule?i.default:i,"@react-aria/overlays").format("dismiss"));return e.createElement(ui,null,e.createElement("button",{...o,tabIndex:-1,onClick:()=>{n&&n()},style:{width:1,height:1}}))}Ks={"ar-AE":dt,"bg-BG":dt,"cs-CZ":dt,"da-DK":dt,"de-DE":dt,"el-GR":dt,"en-US":{dismiss:"Dismiss"},"es-ES":dt,"et-EE":dt,"fi-FI":dt,"fr-FR":dt,"he-IL":dt,"hr-HR":dt,"hu-HU":dt,"it-IT":dt,"ja-JP":dt,"ko-KR":dt,"lt-LT":dt,"lv-LV":dt,"nb-NO":dt,"nl-NL":dt,"pl-PL":dt,"pt-BR":dt,"pt-PT":dt,"ro-RO":dt,"ru-RU":dt,"sk-SK":dt,"sl-SI":dt,"sr-SP":dt,"sv-SE":dt,"tr-TR":dt,"uk-UA":dt,"zh-CN":{dismiss:"取消"},"zh-TW":{dismiss:"關閉"}};const Ds=e.forwardRef(({children:n,...r},i)=>{let o=t.useRef(!1),s=t.useContext(gr),a=N(s||{},{...r,register(){o.current=!0,s&&s.register()}});return a.ref=R(i||s?.ref),jn(s,a.ref),t.useEffect(()=>{o.current||(o.current=!0)},[]),e.createElement(gr.Provider,{value:a},n)});function As({children:n}){let r=t.useMemo(()=>({register:()=>{}}),[]);return e.createElement(gr.Provider,{value:r},n)}const Os=t.createContext({});function Fs(){return t.useContext(Os)??{}}const qs=e.createContext(null);function Hs(n){let r=x(),{portalContainer:i=(r?null:document.body),isExiting:s}=n,[a,l]=t.useState(!1),c=t.useMemo(()=>({contain:a,setContain:l}),[a,l]),{getContainer:u}=Fs();if(!n.portalContainer&&u&&(i=u()),!i)return null;let d=n.children;return n.disableFocusManagement||(d=e.createElement(Gi,{restoreFocus:!0,contain:(n.shouldContainFocus||a)&&!s},d)),d=e.createElement(qs.Provider,{value:c},e.createElement(As,null,e.createElement(Mn.Provider,{value:null},d))),o.createPortal(d,i)}function $s(){let e=t.useContext(qs),n=e?.setContain;d(()=>{n?.(!0)},[n])}function Bs(e){let[n,r]=Ut(e.isOpen,e.defaultOpen||!1,e.onOpenChange),[i,o]=t.useState(null);const s=t.useCallback(()=>{r(!0)},[r]),a=t.useCallback(()=>{r(!1)},[r]),l=t.useCallback(()=>{r(!n)},[r,n]);return{isOpen:n,setOpen:r,open:s,close:a,toggle:l,point:i,setPoint:o}}function zs(e,n=!0){let[r,i]=t.useState(!0),o=r&&n;return d(()=>{if(o&&e.current&&"getAnimations"in e.current)for(let t of e.current.getAnimations())t instanceof CSSTransition&&t.cancel()},[e,o]),Us(e,o,t.useCallback(()=>i(!1),[])),o}function Vs(e,n){let[r,i]=t.useState(n?"open":"closed");switch(r){case"open":n||i("exiting");break;case"closed":case"exiting":n&&i("open")}let o="exiting"===r;return Us(e,o,t.useCallback(()=>{i(e=>"exiting"===e?"closed":e)},[])),o}function Us(e,t,n){d(()=>{if(t&&e.current){if(!("getAnimations"in e.current))return void n();let t=e.current.getAnimations();if(0===t.length)return void n();let r=!1;return Promise.allSettled(t.map(e=>e.finished)).then(()=>{r||i.flushSync(()=>{n()})}),()=>{r=!0}}},[e,t,n])}const Ws=t.createContext(null),Gs=t.createContext(null),Js=t.forwardRef(function(n,r){[n,r]=D(n,r,Ws);let i=t.useContext(Ca),o=Bs(n),s=null==n.isOpen&&null==n.defaultOpen&&i?i:o,a=Vs(r,s.isOpen),l=n.isExiting||!n.shouldSkipAnimation&&a||!1,c=Dn(),{direction:u}=It();if(c){let t=n.children;return"function"==typeof t&&(t=t({trigger:n.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),e.createElement(e.Fragment,null,t)}return!s||s.isOpen||l?e.createElement(Zs,{...n,triggerRef:n.triggerRef,state:s,popoverRef:r,isExiting:l,dir:u}):null});function Zs({state:n,isExiting:r,UNSTABLE_portalContainer:i,clearContexts:o,...s}){let a=t.useRef(null),l=t.useRef(null),c=t.useContext(Gs),u=c&&"SubmenuTrigger"===s.trigger,{popoverProps:f,underlayProps:p,arrowProps:h,placement:m,triggerAnchorPoint:g}=Is({...s,offset:s.offset??8,arrowRef:a,groupRef:u?c:l},n),y=s.popoverRef,v=zs(y,!!m),b=s.isEntering||!s.shouldSkipAnimation&&v||!1,x=K({...s,defaultClassName:"react-aria-Popover",values:{trigger:s.trigger||null,placement:m,isEntering:b,isExiting:r}}),w=!s.isNonModal||"SubmenuTrigger"===s.trigger||"PreviewTrigger"===s.trigger,[k,E]=t.useState("PreviewTrigger"===s.trigger);d(()=>{y.current&&E(w&&!y.current.querySelector("[role=dialog]"))},[y,w]),t.useEffect(()=>{!k||"PreviewTrigger"===s.trigger||"SubmenuTrigger"===s.trigger&&"pointer"===ot()||!y.current||te(y.current)||gn(y.current)},[k,y,s.trigger]);let C=t.useMemo(()=>{let t=x.children;if(o)for(let n of o)t=e.createElement(n.Provider,{value:null},t);return t},[x.children,o]),[S,P]=t.useState(null),T=t.useCallback(()=>{s.triggerRef.current&&P(s.triggerRef.current.getBoundingClientRect().width+"px")},[s.triggerRef]);d(T,[T]),xs({ref:x.style?.["--trigger-width"]?void 0:s.triggerRef,onResize:T});let j={...f.style,"--trigger-anchor-point":g?`${g.x}px ${g.y}px`:void 0,...x.style,"--trigger-width":x.style?.["--trigger-width"]||S},M=e.createElement(H.div,{...N(lr(s,{global:!0}),f),...x,id:k?s.id:void 0,role:k?"dialog":void 0,tabIndex:k?-1:void 0,"aria-label":s["aria-label"],"aria-labelledby":s["aria-labelledby"],ref:y,slot:s.slot||void 0,style:j,dir:s.dir,"data-trigger":s.trigger,"data-placement":m,"data-entering":b||void 0,"data-exiting":r||void 0},!s.isNonModal&&e.createElement(_s,{onDismiss:n.close}),e.createElement(Jo.Provider,{value:{...h,placement:m,ref:a}},C),e.createElement(_s,{onDismiss:n.close}));return u?e.createElement(Hs,{...s,shouldContainFocus:k&&"PreviewTrigger"!==s.trigger,isExiting:r,portalContainer:i??c?.current??void 0},M):e.createElement(Hs,{...s,shouldContainFocus:k&&"PreviewTrigger"!==s.trigger,isExiting:r,portalContainer:i},!s.isNonModal&&n.isOpen&&e.createElement("div",{"data-testid":"underlay",...p,style:{position:"fixed",inset:0}}),e.createElement("div",{ref:l,style:{display:"contents"}},e.createElement(Gs.Provider,{value:l},M)))}const Ys=t.createContext({});var Xs;function Qs(e,n,r){let i,{type:o}=e,{isOpen:s}=n;t.useEffect(()=>{r&&r.current&&bs.set(r.current,n.close)}),"menu"===o?i=!0:"listbox"===o&&(i="listbox");let a=S();return{triggerProps:{"aria-haspopup":i,"aria-expanded":s,"aria-controls":s?a:void 0,onPress:n.toggle},overlayProps:{id:a}}}function ea(e,n,r){let{type:i="menu",isDisabled:o,trigger:s="press"}=e,a=S(),{triggerProps:l,overlayProps:c}=Qs({type:i},n,r),u=(e,t,r="first")=>{if(!e||t.isDefaultPrevented())return!1;n.toggle(r)},{keyboardProps:d}=Tn({isDisabled:o,shortcuts:{Enter:e=>u("longPress"!==s,e,"first")," ":e=>u("longPress"!==s,e,"first"),ArrowDown:e=>u("longPress"!==s,e,"first"),ArrowUp:e=>u("longPress"!==s,e,"last"),"Alt+Enter":e=>u("longPress"===s,e,"first"),"Alt+ ":e=>u("longPress"===s,e,"first"),"Alt+ArrowDown":e=>u(!0,e,"first"),"Alt+ArrowUp":e=>u(!0,e,"last")}}),f=Bt((p=Xs)&&p.__esModule?p.default:p,"@react-aria/menu");var p;let{longPressProps:h}=Po({isDisabled:o||"longPress"!==s,accessibilityDescription:f.format("longPressMessage"),onLongPressStart(){n.close()},onLongPress(){n.open("first")}}),m={preventFocusOnPress:!0,onPressStart(e){"touch"===e.pointerType||"keyboard"===e.pointerType||o||(se(e.target),n.open("virtual"===e.pointerType?"first":null))},onPress(e){"touch"!==e.pointerType||o||(se(e.target),n.toggle())}};delete l.onPress;let g,{contextMenuProps:y}=function(e){let{onContextMenu:n}=e,r=t.useRef(!1),{longPressProps:i}=Po({onLongPressStart(){r.current=!1},onLongPress(e){r.current?r.current=!1:n?.({target:e.target,x:e.x,y:e.y})}});return n?{contextMenuProps:N(Pe()?i:{},{onContextMenu(e){e.stopPropagation(),e.preventDefault(),r.current=!0;let t=e.currentTarget.getBoundingClientRect();n({target:e.currentTarget,x:e.clientX-t.x,y:e.clientY-t.y})},onKeyDown(e){if(Ee()&&e.ctrlKey&&"Enter"===e.key){r.current=!1;let t=e.currentTarget;e.stopPropagation(),setTimeout(()=>{if(r.current)r.current=!1;else{let e=t.getBoundingClientRect();n({target:t,x:e.width/2,y:e.height/2})}},10)}}})}:{contextMenuProps:{}}}({onContextMenu(e){let t=e.target.getBoundingClientRect();n.setPoint({x:t.x+e.x,y:t.y+e.y}),n.open()}});if(t.useEffect(()=>{if(n.isOpen&&"contextMenu"===s){let e=e=>{(2===e.button||0===e.button&&!0===e.ctrlKey)&&Q(e)===document.body&&n.close()};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)}},[n,s]),"press"===s)g={...m,...d};else if("longPress"===s)g={...h,...d};else if("contextMenu"===s){g=y;let{"aria-haspopup":e,"aria-expanded":t,"aria-controls":n,...r}=l;l=r}return{menuTriggerProps:{...l,...g,id:a},menuProps:{...c,"aria-labelledby":a,autoFocus:n.focusStrategy||!0,onClose:n.close}}}Xs={"ar-AE":dt,"bg-BG":dt,"cs-CZ":dt,"da-DK":dt,"de-DE":dt,"el-GR":dt,"en-US":{longPressMessage:"Long press or press Alt + ArrowDown to open menu"},"es-ES":dt,"et-EE":dt,"fi-FI":dt,"fr-FR":dt,"he-IL":dt,"hr-HR":dt,"hu-HU":dt,"it-IT":dt,"ja-JP":dt,"ko-KR":dt,"lt-LT":dt,"lv-LV":dt,"nb-NO":dt,"nl-NL":dt,"pl-PL":dt,"pt-BR":dt,"pt-PT":dt,"ro-RO":dt,"ru-RU":dt,"sk-SK":dt,"sl-SI":dt,"sr-SP":dt,"sv-SE":dt,"tr-TR":dt,"uk-UA":dt,"zh-CN":{longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"},"zh-TW":{longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"}};const ta=new WeakMap;function na(e,n,r){let{id:i,key:o,closeOnSelect:s,shouldCloseOnSelect:a,isVirtualized:l,"aria-haspopup":c,onPressStart:u,onPressUp:d,onPress:f,onPressChange:p,onPressEnd:h,onClick:m,onHoverStart:g,onHoverChange:y,onHoverEnd:v,onKeyDown:b,onKeyUp:x,onFocus:w,onFocusChange:k,onBlur:E,selectionManager:C=n.selectionManager}=e,S=!!c,P=S&&"true"===e["aria-expanded"],j=e.isDisabled??C.isDisabled(o),M=e.isSelected??C.isSelected(o),R=ta.get(n),L=n.collection.getItem(o),I=e.onClose||R.onClose,K=De(),_="menuitem";S||("single"===C.selectionMode?_="menuitemradio":"multiple"===C.selectionMode&&(_="menuitemcheckbox"));let D=T(),A=T(),O=T(),F={id:i,"aria-disabled":j||void 0,role:_,"aria-label":e["aria-label"],"aria-labelledby":D,"aria-describedby":[e["aria-describedby"],A,O].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":c,"aria-expanded":e["aria-expanded"]};if("none"===C.selectionMode||S||(F["aria-checked"]=M),l){let e=Number(L?.index);F["aria-posinset"]=Number.isNaN(e)?void 0:e+1,F["aria-setsize"]=Ao(n.collection)}let q=t.useRef(!1),H=t.useRef(null),{itemProps:$,isFocused:B}=To({id:i,selectionManager:C,key:o,ref:r,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:R.shouldUseVirtualFocus}),{pressProps:z,isPressed:V}=kr({onPressStart:u,onPress:f,onPressUp:e=>{"keyboard"!==e.pointerType&&(H.current={pointerType:e.pointerType}),"mouse"===e.pointerType&&(q.current||e.target.click()),d?.(e)},onPressChange:e=>{p?.(e),q.current=e},onPressEnd:h,isDisabled:j}),{hoverProps:U}=_r({isDisabled:j,onHoverStart(e){it()||P&&c||(C.setFocused(!0),C.setFocusedKey(o)),g?.(e)},onHoverChange:y,onHoverEnd:v}),{keyboardProps:W}=Tn({shortcuts:{" ":e=>{H.current={pointerType:"keyboard",key:" "},Q(e).click(),st("keyboard")},Enter:e=>{H.current={pointerType:"keyboard",key:"Enter"};let t=Q(e);return"A"!==t.tagName?(t.click(),void st("keyboard")):(st("keyboard"),{shouldPreventDefault:!1,shouldContinuePropagation:!1})}},onKeyDown:b,onKeyUp:x}),{focusableProps:G}=Rn({onBlur:E,onFocus:w,onFocusChange:k},r),J=lr(L?.props);delete J.id;let Z=He(L?.props);return{menuItemProps:{...F,...N(J,Z,S?{onFocus:$.onFocus,"data-collection":$["data-collection"],"data-key":$["data-key"]}:$,z,U,W,G,R.shouldUseVirtualFocus||S?{onMouseDown:e=>e.preventDefault()}:void 0,j?void 0:{onClick:t=>{m?.(t),!S&&(L?.props?.onAction?L.props.onAction():e.onAction&&e.onAction(o),R.onAction)&&(0,R.onAction)(o,L?.value),$e(t,K,L.props.href,L?.props.routerOptions);let n="keyboard"===H.current?.pointerType?"Enter"===H.current?.key||"none"===C.selectionMode||C.isLink(o):"multiple"!==C.selectionMode||C.isLink(o);n=a??s??n,I&&!S&&n&&I(),H.current=null}}),tabIndex:null!=$.tabIndex&&P&&!R.shouldUseVirtualFocus?-1:$.tabIndex},labelProps:{id:D},descriptionProps:{id:A},keyboardShortcutProps:{id:O},isFocused:B,isFocusVisible:B&&C.isFocused&&it()&&!P,isSelected:M,isPressed:V,isDisabled:j}}const ra=Math.PI/12;function ia(e,n,r){let{parentMenuRef:i,submenuRef:o,type:s="menu",isDisabled:a,delay:l=200,shouldUseVirtualFocus:c}=e,u=S(),f=S(),{direction:p}=It(),h=t.useRef(void 0),m=t.useCallback(()=>{h.current&&(clearTimeout(h.current),h.current=void 0)},[h]),g=t.useCallback(e=>{m(),n.open(e)},[n,m]),y=t.useCallback(()=>{m(),n.close()},[n,m]);d(()=>()=>{m()},[m]);let{keyboardProps:v}=Tn({shortcuts:{ArrowLeft:e=>!!te(e.currentTarget)&&(!("ltr"!==p||!Y(e.currentTarget,Q(e)))&&(y(),void(!c&&r.current&&se(r.current)))),ArrowRight:e=>!!te(e.currentTarget)&&(!("rtl"!==p||!Y(e.currentTarget,Q(e)))&&(y(),void(!c&&r.current&&se(r.current)))),Escape:e=>!!te(e.currentTarget)&&(!!Y(o.current,Q(e))&&(y(),void(!c&&r.current&&se(r.current))))}}),b={id:f,"aria-labelledby":u,submenuLevel:n.submenuLevel,..."menu"===s&&{onClose:n.closeAll,autoFocus:n.focusStrategy??void 0,...v}},{keyboardProps:x}=Tn({shortcuts:{ArrowRight:()=>!a&&("ltr"===p?(n.isOpen||g("first"),void("menu"===s&&o?.current&&X()===r?.current&&se(o.current))):!!n.isOpen&&void y()),ArrowLeft:()=>!a&&("rtl"===p?(n.isOpen||g("first"),void("menu"===s&&o?.current&&X()===r?.current&&se(o.current))):!!n.isOpen&&void y())}});vt(i,"focusin",e=>{n.isOpen&&Y(i.current,Q(e))&&Q(e)!==r.current&&y()});return function(e){let{menuRef:n,submenuRef:r,isOpen:i,isDisabled:o}=e,s=t.useRef(void 0),a=t.useRef(void 0),l=t.useRef(0),c=t.useRef(void 0),u=t.useRef(void 0),f=t.useRef(void 0),p=t.useRef(2),[h,m]=t.useState(!1);xs({ref:i?r:void 0,onResize:()=>{r.current&&(a.current=r.current.getBoundingClientRect(),f.current=void 0)}});let g=()=>{m(!1),p.current=2,s.current=void 0},y=at(),v=yt(e=>{h&&e.preventDefault()});t.useEffect(()=>{h&&n.current?n.current.style.pointerEvents="none":n.current.style.pointerEvents=""},[n,h]),d(()=>{let e=r.current,t=n.current;if(o||!e||!i||"pointer"!==y||!t)return void g();a.current=e.getBoundingClientRect();let d=e=>{if("touch"===e.pointerType||"pen"===e.pointerType)return;let n=Date.now();if(n-l.current<50)return;clearTimeout(c.current),clearTimeout(u.current);let{clientX:r,clientY:i}=e;if(!s.current)return void(s.current={x:r,y:i});if(!a.current)return;if(f.current||(f.current=r>a.current.right?"left":"right"),rt.getBoundingClientRect().right||it.getBoundingClientRect().bottom)return void g();let o=s.current.x,d=s.current.y,h="right"===f.current?a.current.left-o:o-a.current.right,y=Math.atan2(d-a.current.top,h)+ra,v=Math.atan2(d-a.current.bottom,h)-ra,b=Math.atan2(d-i,"left"===f.current?-(r-o):r-o),x=bv;p.current=x?Math.min(p.current+1,2):Math.max(p.current-1,0),p.current>=2?m(!0):m(!1),l.current=n,s.current={x:r,y:i},x&&(c.current=setTimeout(()=>{g(),u.current=setTimeout(()=>{let e=document.elementFromPoint(r,i);e&&Y(t,e)&&e.dispatchEvent(new PointerEvent("pointerover",{bubbles:!0,cancelable:!0}))},100)},1e3))};return window.addEventListener("pointermove",d),window.addEventListener("pointerdown",v,!0),()=>{window.removeEventListener("pointermove",d),window.removeEventListener("pointerdown",v,!0),clearTimeout(c.current),clearTimeout(u.current),p.current=2}},[o,i,n,y,m,r])}({menuRef:i,submenuRef:o,isOpen:n.isOpen,isDisabled:a}),{submenuTriggerProps:{onKeyDown:x.onKeyDown,onKeyUp:x.onKeyUp,id:u,"aria-controls":n.isOpen?f:void 0,"aria-haspopup":a?void 0:s,"aria-expanded":n.isOpen?"true":"false",onPressStart:e=>{a||"virtual"!==e.pointerType&&"keyboard"!==e.pointerType||g("first")},onPress:e=>{a||"touch"!==e.pointerType&&"mouse"!==e.pointerType||g()},onHoverChange:e=>{a||(e&&!n.isOpen?h.current||(h.current=setTimeout(()=>{g()},l)):e||m())},isOpen:n.isOpen},submenuProps:b,popoverProps:{isNonModal:!0,shouldCloseOnInteractOutside:e=>e!==r.current}}}function oa(e){let n=Bs(e),[r,i]=t.useState(null),[o,s]=t.useState([]);return{focusStrategy:r,...n,open(e=null){i(e),n.open()},toggle(e=null){i(e),n.toggle()},close(){s([]),n.close()},expandedKeysStack:o,openSubmenu:(e,t)=>{s(n=>t>n.length?n:[...n.slice(0,t),e])},closeSubmenu:(e,t)=>{s(n=>n[t]===e?n.slice(0,t):n)}}}class sa{constructor(e,{expandedKeys:t}={}){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e,t=t||new Set;let n=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&("section"===e.type||t.has(e.key)))for(let t of e.childNodes)n(t)};for(let o of e)n(o);let r=null,i=0;for(let[o,s]of this.keyMap)r?(r.nextKey=o,s.prevKey=r.key):(this.firstKey=o,s.prevKey=void 0),"item"===s.type&&(s.index=i++),r=s,r.nextKey=void 0;this.lastKey=r?.key??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey??null:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){return this.keyMap.get(e)??null}at(e){const t=[...this.getKeys()];return this.getItem(t[e])}}function aa(e){let{onExpandedChange:n}=e,[r,i]=Ut(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,n),o=qo(e),s=t.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=Wo(e,t.useCallback(e=>new sa(e,{expandedKeys:r}),[r]),null);t.useEffect(()=>{null==o.focusedKey||a.getItem(o.focusedKey)||o.setFocusedKey(null)},[a,o.focusedKey]);return{collection:a,expandedKeys:r,disabledKeys:s,toggleKey:e=>{i(function(e,t){let n=new Set(e);n.has(t)?n.delete(t):n.add(t);return n}(r,e))},setExpandedKeys:i,selectionManager:new $o(a,o)}}const la=t.createContext(null),ca=t.createContext(null),ua=t.createContext(null),da=t.createContext(null);function fa(n){let r=oa(n),i=t.useRef(null),{menuTriggerProps:o,menuProps:s}=ea({...n,type:"menu"},r,i),a=t.useRef(null);return Dn()?null:e.createElement(I,{values:[[la,{...s,ref:a}],[Ca,r],[ua,r],[Ws,{trigger:"MenuTrigger",triggerRef:i,scrollRef:a,placement:"bottom start","aria-labelledby":s["aria-labelledby"],offset:"contextMenu"===n.trigger?0:void 0}]]},e.createElement(Ds,{...o,ref:i,isPressed:r.isOpen},n.children))}const pa=t.createContext(null);class ha extends Xt{static{this.type="submenutrigger"}filter(e,t,n){let r=e.getItem(this.firstChildKey);if(r&&n(r.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}}const ma=Vn(ha,(n,r,i)=>{let{CollectionBranch:o}=t.useContext(er),s=t.useContext(ca),a=t.useContext(ua),l=function(e,n){let{triggerKey:r}=e,{expandedKeysStack:i,openSubmenu:o,closeSubmenu:s,close:a}=n,[l]=t.useState(i?.length),c=t.useMemo(()=>i[l]===r,[i,r,l]),[u,d]=t.useState(null),f=t.useCallback(e=>{d(e??null),o(r,l)},[o,l,r]),p=t.useCallback(()=>{d(null),s(r,l)},[s,l,r]),h=t.useCallback(e=>{d(e??null),c?p():f(e)},[p,f,c]);return t.useMemo(()=>({focusStrategy:u,isOpen:c,open:f,close:p,closeAll:a,submenuLevel:l,setOpen:()=>{},toggle:h,point:null,setPoint:()=>{}}),[c,f,p,a,u,h,l])}({triggerKey:i.key},a),c=t.useRef(null),u=R(r),{parentMenuRef:d,shouldUseVirtualFocus:f}=t.useContext(pa),{submenuTriggerProps:p,submenuProps:h,popoverProps:m}=ia({parentMenuRef:d,submenuRef:c,delay:n.delay,shouldUseVirtualFocus:f},l,u);return e.createElement(I,{values:[[wa,{...p,onAction:void 0,ref:u}],[la,{ref:c,...h}],[Ca,l],[Ws,{trigger:"SubmenuTrigger",triggerRef:u,placement:"end top","aria-labelledby":h["aria-labelledby"],...m}]]},e.createElement(o,{collection:s.collection,parent:i}),n.children[1])},e=>e.children[0]),ga=t.forwardRef(function(t,n){return[t,n]=D(t,n,la),e.createElement(Fn,{content:e.createElement(Gn,t)},r=>e.createElement(ya,{props:t,collection:r,menuRef:n}))});function ya({props:n,collection:r,menuRef:i}){[n,i]=D(n,i,Jt);let{filter:o,...s}=n,a=t.useMemo(()=>o?r.filter(o):r,[r,o]),l=aa({...n,collection:a,children:void 0}),c=t.useContext(ua),{isVirtualized:u,CollectionRoot:d}=t.useContext(er),{menuProps:f}=function(e,t,n){let{shouldFocusWrap:r=!0,onKeyDown:i,onKeyUp:o,...s}=e;!e["aria-label"]&&e["aria-labelledby"];let a=lr(e,{labelable:!0}),{listProps:l}=Co({...s,ref:n,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:r,linkBehavior:"override"});return ta.set(t,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:N(a,{onKeyDown:i,onKeyUp:o},{role:"menu",...l,onKeyDown:t=>{("Escape"!==t.key||e.shouldUseVirtualFocus)&&l.onKeyDown?.(t)}})}}({...n,isVirtualized:u,onClose:n.onClose||c?.close},l,i),p=K({...n,children:void 0,defaultClassName:"react-aria-Menu",values:{isEmpty:0===l.collection.size}}),h=null;0===l.collection.size&&n.renderEmptyState&&(h=e.createElement("div",{role:"menuitem",style:{display:"contents"}},n.renderEmptyState()));let m=lr(n,{global:!0});return e.createElement(Gi,null,e.createElement(H.div,{...N(m,p,f),ref:i,slot:n.slot||void 0,"data-empty":0===l.collection.size||void 0,onScroll:n.onScroll},e.createElement(I,{values:[[ca,l],[Hi,{elementType:"div"}],[Zn,{name:"MenuSection",render:ba}],[pa,{parentMenuRef:i,shouldUseVirtualFocus:s?.shouldUseVirtualFocus}],[wa,{shouldCloseOnSelect:n.shouldCloseOnSelect}],[Jt,null],[Zt,null],[da,l.selectionManager],[ua,c??oa({})]]},e.createElement(Fi,null,e.createElement(d,{collection:l.collection,persistedKeys:tr(l.selectionManager.focusedKey),scrollRef:i}))),h))}class va extends $o{constructor(e,t){super(e.collection,t),this.parent=e}get focusedKey(){return this.parent.focusedKey}get isFocused(){return this.parent.isFocused}setFocusedKey(e,t){return this.parent.setFocusedKey(e,t)}setFocused(e){this.parent.setFocused(e)}get childFocusStrategy(){return this.parent.childFocusStrategy}}function ba(n,r,i,o="react-aria-MenuSection"){let s=t.useContext(ca),{CollectionBranch:a}=t.useContext(er),[l,c]=A(),{headingProps:u,groupProps:d}=function(e){let{heading:t,"aria-label":n}=e,r=S();return{itemProps:{role:"presentation"},headingProps:t?{id:r,role:"presentation"}:{},groupProps:{role:"group","aria-label":n,"aria-labelledby":t?r:void 0}}}({heading:c,"aria-label":i.props["aria-label"]??void 0}),f=K({...n,id:void 0,children:void 0,defaultClassName:o,className:i.props?.className,style:i.props?.style,values:void 0}),p=t.useContext(da),h=qo(n),m=null!=n.selectionMode?new va(p,h):p,g=_(wa)?.shouldCloseOnSelect,y=lr(n,{global:!0});return delete y.id,e.createElement(H.section,{...N(y,f,d),ref:r},e.createElement(I,{values:[[Di,{...u,ref:l}],[da,m],[wa,{shouldCloseOnSelect:n.shouldCloseOnSelect??g}]]},e.createElement(a,{collection:s.collection,parent:i})))}const xa=Vn(rn,ba),wa=t.createContext(null),ka=zn(nn,function(n,r,i){[n,r]=D(n,r,wa);let o=_(wa)?.id,s=t.useContext(ca),a=R(r),l=t.useContext(da),{isVirtualized:c}=t.useContext(er),{menuItemProps:u,labelProps:d,descriptionProps:f,keyboardShortcutProps:p,...h}=na({...n,id:o,key:i.key,selectionManager:l,isVirtualized:c},s,a),{hoverProps:m,isHovered:g}=_r({isDisabled:h.isDisabled}),y=K({...n,id:void 0,children:i.rendered,defaultClassName:"react-aria-MenuItem",values:{...h,isHovered:g,isFocusVisible:h.isFocusVisible,selectionMode:l.selectionMode,selectionBehavior:l.selectionBehavior,hasSubmenu:!!n["aria-haspopup"],isOpen:"true"===n["aria-expanded"]}}),v=n.href?H.a:H.div,b=lr(n,{global:!0});return delete b.id,delete b.onClick,e.createElement(v,{...N(b,y,u,m),ref:a,"data-disabled":h.isDisabled||void 0,"data-hovered":g||void 0,"data-focused":h.isFocused||void 0,"data-focus-visible":h.isFocusVisible||void 0,"data-pressed":h.isPressed||void 0,"data-selected":h.isSelected||void 0,"data-selection-mode":"none"===l.selectionMode?void 0:l.selectionMode,"data-has-submenu":!!n["aria-haspopup"]||void 0,"data-open":"true"===n["aria-expanded"]||void 0},e.createElement(I,{values:[[Xr,{slots:{[L]:d,label:d,description:f}}],[Ys,p],[qi,{isSelected:h.isSelected}]]},y.children))});zn(tn,function(n,r,i){let o=t.useContext(ca),{isLoading:s,onLoadMore:a,scrollOffset:l,...c}=n,u=t.useRef(null);Go(t.useMemo(()=>({onLoadMore:a,collection:o?.collection,sentinelRef:u,scrollOffset:l}),[a,l,o?.collection]),u);let d=K({...c,id:void 0,children:i.rendered,defaultClassName:"react-aria-MenuLoadingIndicator",values:void 0});return e.createElement(e.Fragment,null,e.createElement("div",{style:{position:"relative",width:0,height:0},inert:Oo(!0)},e.createElement("div",{"data-testid":"loadMoreSentinel",ref:u,style:{position:"absolute",height:1,width:1}})),s&&d.children&&e.createElement(e.Fragment,null,e.createElement(H.div,{...N(lr(n,{global:!0}),{tabIndex:-1}),...d,role:"menuitem",ref:r},d.children)))});const Ea=t.createContext(null),Ca=t.createContext(null);function Sa(n){let r=oa(n),i=t.useRef(null),{triggerProps:o,overlayProps:s}=Qs({type:"dialog"},r,i);return o.id=S(),s["aria-labelledby"]=o.id,Dn()?null:e.createElement(I,{values:[[Ca,r],[ua,r],[Ea,s],[Ws,{trigger:"DialogTrigger",triggerRef:i,id:s.id,"aria-labelledby":s["aria-labelledby"]}]]},e.createElement(Ds,{...o,ref:i,isPressed:r.isOpen},n.children))}const Pa=t.forwardRef(function(n,r){let i=n["aria-labelledby"];[n,r]=D(n,r,Ea);let{dialogProps:o,titleProps:s,contentProps:a}=function(e,n){let{role:r="dialog"}=e,i=T();i=e["aria-label"]?void 0:i;let o=T();o="alertdialog"!==r||e["aria-describedby"]?void 0:o;let s=t.useRef(!1);t.useEffect(()=>{if(n.current&&!te(n.current)){gn(n.current);let e=setTimeout(()=>{X()!==n.current&&X()!==document.body||(s.current=!0,n.current&&(n.current.blur(),gn(n.current)),s.current=!1)},500);return()=>{clearTimeout(e)}}},[n]),$s(),t.useRef(!1),t.useEffect(()=>{});let a=e["aria-describedby"]??o;return{dialogProps:{...lr(e,{labelable:!0}),role:r,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]??i,"aria-describedby":a,onBlur:e=>{s.current&&e.stopPropagation()}},titleProps:{id:i},contentProps:{id:o}}}({...n,"aria-labelledby":i},r),l=t.useContext(Ca);o["aria-label"]||o["aria-labelledby"]||n["aria-labelledby"]&&(o["aria-labelledby"]=n["aria-labelledby"]);let c=K({defaultClassName:"react-aria-Dialog",className:n.className,style:n.style,children:n.children,values:{close:l?.close||(()=>{})}}),u=lr(n,{global:!0});return e.createElement(H.section,{...N(u,c,o),render:n.render,ref:r,slot:n.slot||void 0},e.createElement(I,{values:[[Zr,{slots:{[L]:{},title:{...s,level:2}}}],[Xr,{slots:{[L]:{},description:a}}],[Wr,{slots:{[L]:{},close:{onPress:()=>l?.close()}}}]]},c.children))});const Ta=t.createContext(null),ja=t.createContext(null),Ma=t.createContext(null),Na=t.createContext(null),Ra=t.forwardRef(function(n,r){[n,r]=D(n,r,ja);let o=t.useContext(Ta),{id:s,...a}=n,l=S();s||=l;let c=o?o.expandedKeys.has(s):n.isExpanded,u=function(e){let[n,r]=Ut(e.isExpanded,e.defaultExpanded||!1,e.onExpandedChange);const i=t.useCallback(()=>{r(!0)},[r]),o=t.useCallback(()=>{r(!1)},[r]),s=t.useCallback(()=>{r(!n)},[r,n]);return{isExpanded:n,setExpanded:r,expand:i,collapse:o,toggle:s}}({...n,isExpanded:c,onExpandedChange(e){o&&o.toggleKey(s),n.onExpandedChange?.(e)}}),f=e.useRef(null),p=n.isDisabled||o?.isDisabled||!1,{buttonProps:h,panelProps:m}=function(e,n,r){let{isDisabled:o}=e,s=S(),a=S(),l=x(),c=t.useRef(null),u=t.useCallback(()=>{c.current=requestAnimationFrame(()=>{r.current&&r.current.setAttribute("hidden","until-found")}),i.flushSync(()=>{n.toggle()})},[r,n]);vt(r,"beforematch",u);let f=t.useRef(null);return d(()=>{if(c.current&&cancelAnimationFrame(c.current),r.current&&!l){let e=r.current;null==f.current||"function"!=typeof e.getAnimations?n.isExpanded?(e.removeAttribute("hidden"),e.style.setProperty("--disclosure-panel-width","auto"),e.style.setProperty("--disclosure-panel-height","auto")):(e.setAttribute("hidden","until-found"),e.style.setProperty("--disclosure-panel-width","0px"),e.style.setProperty("--disclosure-panel-height","0px")):n.isExpanded!==f.current&&(n.isExpanded?(e.removeAttribute("hidden"),e.style.setProperty("--disclosure-panel-width",e.scrollWidth+"px"),e.style.setProperty("--disclosure-panel-height",e.scrollHeight+"px"),Promise.all(e.getAnimations().map(e=>e.finished)).then(()=>{e.style.setProperty("--disclosure-panel-width","auto"),e.style.setProperty("--disclosure-panel-height","auto")}).catch(()=>{})):(e.style.setProperty("--disclosure-panel-width",e.scrollWidth+"px"),e.style.setProperty("--disclosure-panel-height",e.scrollHeight+"px"),window.getComputedStyle(e).height,e.style.setProperty("--disclosure-panel-width","0px"),e.style.setProperty("--disclosure-panel-height","0px"),Promise.all(e.getAnimations().map(e=>e.finished)).then(()=>e.setAttribute("hidden","until-found")).catch(()=>{}))),f.current=n.isExpanded}},[o,r,n.isExpanded,l]),t.useEffect(()=>()=>{c.current&&cancelAnimationFrame(c.current)},[]),{buttonProps:{id:s,"aria-expanded":n.isExpanded,"aria-controls":a,onPress:e=>{o||"keyboard"===e.pointerType||n.toggle()},isDisabled:o,onPressStart(e){"keyboard"!==e.pointerType||o||n.toggle()}},panelProps:{id:a,role:"group","aria-labelledby":s,"aria-hidden":!n.isExpanded,hidden:l?!n.isExpanded:void 0}}}({...n,isExpanded:c,isDisabled:p},u,f),{isFocusVisible:g,focusProps:y}=Nr({within:!0}),v=K({...n,id:void 0,defaultClassName:"react-aria-Disclosure",values:{isExpanded:u.isExpanded,isDisabled:p,isFocusVisibleWithin:g,state:u}}),b=lr(a,{global:!0});return e.createElement(I,{values:[[Wr,{slots:{[L]:{},trigger:h}}],[Na,{panelProps:m,panelRef:f}],[Ma,u]]},e.createElement(H.div,{...N(b,v,y),ref:r,"data-expanded":u.isExpanded||void 0,"data-disabled":p||void 0,"data-focus-visible-within":g||void 0},v.children))}),La=t.forwardRef(function(n,r){let{role:i="group"}=n,{panelProps:o,panelRef:s}=t.useContext(Na),{isFocusVisible:a,focusProps:l}=Nr({within:!0}),c=K({...n,defaultClassName:"react-aria-DisclosurePanel",values:{isFocusVisibleWithin:a}}),u=lr(n,{global:!0,labelable:!0});return e.createElement(H.div,{...N(u,c,o,l),ref:j(r,s),role:i,"data-focus-visible-within":a||void 0},e.createElement(I,{values:[[Wr,null]]},n.children))}),Ia=1500,Ka=500;let _a={},Da=0,Aa=!1,Oa=null,Fa=null;function qa(e={}){let{delay:n=Ia,closeDelay:r=Ka}=e,{isOpen:i,open:o,close:s}=Bs(e),[a,l]=t.useState(!1),c=t.useMemo(()=>""+ ++Da,[]),u=t.useRef(null),d=t.useRef(s),f=()=>{_a[c]=m},p=()=>{for(let e in _a)e!==c&&(_a[e](!0,!0),delete _a[e])},h=e=>{u.current&&clearTimeout(u.current),u.current=null,p(),f(),l(!!e),Aa=!0,o(),Oa&&(clearTimeout(Oa),Oa=null),Fa&&(clearTimeout(Fa),Fa=null)},m=(e,t)=>{l(!!t),e||r<=0?(u.current&&clearTimeout(u.current),u.current=null,d.current()):u.current||(u.current=setTimeout(()=>{u.current=null,d.current()},r)),Oa&&(clearTimeout(Oa),Oa=null),Aa&&(Fa&&clearTimeout(Fa),Fa=setTimeout(()=>{delete _a[c],Fa=null,Aa=!1},Math.max(Ka,r)))};return t.useEffect(()=>{d.current=s},[s]),t.useEffect(()=>()=>{u.current&&clearTimeout(u.current),_a[c]&&delete _a[c]},[c]),{isOpen:i,shouldSkipAnimation:a,open:e=>{!e&&n>0&&!u.current?(p(),f(),i||Aa?i||h(!0):(Oa&&clearTimeout(Oa),Oa=setTimeout(()=>{Oa=null,Aa=!0,h(!1)},n))):h(Aa)},close:m}}let Ha="undefined"!=typeof document&&window.visualViewport;function $a(){return{width:Ha?Math.min(Ha.width*Ha.scale,document.documentElement.clientWidth):document.documentElement.clientWidth,height:Ha?Ha.height*Ha.scale:document.documentElement.clientHeight}}const Ba=t.createContext(null),za=t.createContext(null),Va=t.forwardRef(function(n,r){if(t.useContext(za))return e.createElement(Ja,{...n,modalRef:r},n.children);let{isDismissable:i,isKeyboardDismissDisabled:o,isOpen:s,defaultOpen:a,onOpenChange:l,children:c,isEntering:u,isExiting:d,UNSTABLE_portalContainer:f,shouldCloseOnInteractOutside:p,...h}=n;return e.createElement(Wa,{isDismissable:i,isKeyboardDismissDisabled:o,isOpen:s,defaultOpen:a,onOpenChange:l,isEntering:u,isExiting:d,UNSTABLE_portalContainer:f,shouldCloseOnInteractOutside:p},e.createElement(Ja,{...h,modalRef:r},c))});function Ua(n,r){[n,r]=D(n,r,Ba);let i=t.useContext(Ca),o=Bs(n),s=null==n.isOpen&&null==n.defaultOpen&&i?i:o,a=R(r),l=t.useRef(null),c=Vs(a,s.isOpen),u=Vs(l,s.isOpen),d=c||u||n.isExiting||!1,f=x();return!s.isOpen&&!d||f?null:e.createElement(Ga,{...n,state:s,isExiting:d,overlayRef:a,modalRef:l})}const Wa=t.forwardRef(Ua);function Ga({UNSTABLE_portalContainer:n,...r}){let i,o,s=r.modalRef,{state:a}=r,{modalProps:l,underlayProps:c}=function(e,n,r){let{overlayProps:i,underlayProps:o}=Ps({...e,isOpen:n.isOpen,onClose:n.close},r);return Ns({isDisabled:!n.isOpen}),$s(),t.useEffect(()=>{if(n.isOpen&&r.current)return ts([r.current],{shouldUseInert:!0})},[n.isOpen,r]),{modalProps:N(i),underlayProps:o}}(r,a,s),u=zs(r.overlayRef)||r.isEntering||!1,d=K({...r,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:u,isExiting:r.isExiting,state:a}}),f=function(){let e=x(),[n,r]=t.useState(()=>e?{width:0,height:0}:$a());return t.useEffect(()=>{let e,t=e=>{r(t=>e.width===t.width&&e.height===t.height?t:e)},n=()=>{Ha&&Ha.scale>1||t($a())},i=n=>{Ha&&Ha.scale>1||mt(Q(n))&&(e=requestAnimationFrame(()=>{let e=X();e&&mt(e)||t({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})}))};return t($a()),Pe()&&je()&&window.addEventListener("blur",i,!0),Ha?Ha.addEventListener("resize",n):window.addEventListener("resize",n),()=>{cancelAnimationFrame(e),Pe()&&je()&&window.removeEventListener("blur",i,!0),Ha?Ha.removeEventListener("resize",n):window.removeEventListener("resize",n)}},[]),n}();if("undefined"!=typeof document){let e=ei(document.body)?document.body:document.scrollingElement||document.documentElement,t=e.getBoundingClientRect().width%1,n=e.getBoundingClientRect().height%1;i=e.scrollWidth-t,o=e.scrollHeight-n}let p={...d.style,"--visual-viewport-width":f.width+"px","--visual-viewport-height":f.height+"px","--page-width":void 0!==i?i+"px":void 0,"--page-height":void 0!==o?o+"px":void 0};return e.createElement(Hs,{isExiting:r.isExiting,portalContainer:n},e.createElement(H.div,{...N(lr(r,{global:!0}),c),...d,style:p,ref:r.overlayRef,"data-entering":u||void 0,"data-exiting":r.isExiting||void 0},e.createElement(I,{values:[[za,{modalProps:l,modalRef:s,isExiting:r.isExiting,isDismissable:r.isDismissable}],[Ca,a]]},d.children)))}function Ja(n){let{modalProps:r,modalRef:i,isExiting:o,isDismissable:s}=t.useContext(za),a=t.useContext(Ca),l=R(t.useMemo(()=>j(n.modalRef,i),[n.modalRef,i])),c=zs(l),u=K({...n,defaultClassName:"react-aria-Modal",values:{isEntering:c,isExiting:o,state:a}});return e.createElement(H.div,{...N(lr(n,{global:!0}),r),...u,ref:l,"data-entering":c||void 0,"data-exiting":o||void 0},s&&e.createElement(_s,{onDismiss:a.close}),u.children)}var Za;function Ya(e){if(null!=e)return e.toString()}Za={"ar-AE":dt,"bg-BG":dt,"cs-CZ":dt,"da-DK":dt,"de-DE":dt,"el-GR":dt,"en-US":{"Clear search":"Clear search"},"es-ES":dt,"et-EE":dt,"fi-FI":dt,"fr-FR":dt,"he-IL":dt,"hr-HR":dt,"hu-HU":dt,"it-IT":dt,"ja-JP":dt,"ko-KR":dt,"lt-LT":dt,"lv-LV":dt,"nb-NO":dt,"nl-NL":dt,"pl-PL":dt,"pt-BR":dt,"pt-PT":dt,"ro-RO":dt,"ru-RU":dt,"sk-SK":dt,"sl-SI":dt,"sr-SP":dt,"sv-SE":dt,"tr-TR":dt,"uk-UA":dt,"zh-CN":{"Clear search":"清除搜索"},"zh-TW":{"Clear search":"清除搜尋條件"}};const Xa=t.createContext(null),Qa=_n(function(n,r){[n,r]=D(n,r,Xa);let{validationBehavior:i}=_(Ei)||{},o=n.validationBehavior??i??"native",s=t.useRef(null);[n,s]=D(n,s,Zt);let[a,l]=A(!n["aria-label"]&&!n["aria-labelledby"]),c=function(e){let[t,n]=Ut(Ya(e.value),Ya(e.defaultValue)||"",e.onChange);return{value:t,setValue:n}}({...n,validationBehavior:o}),{labelProps:u,inputProps:d,clearButtonProps:f,descriptionProps:p,errorMessageProps:h,...m}=function(e,t,n){let r=Bt((i=Za)&&i.__esModule?i.default:i,"@react-aria/searchfield");var i;let{isDisabled:o,isReadOnly:s,onSubmit:a,onClear:l,type:c="search"}=e,{keyboardProps:u}=Tn({isDisabled:o||s,shortcuts:{Enter:()=>{if(!a)return!1;a(t.value)},Escape:()=>{if(""===t.value&&(!n.current||""===n.current.value))return!1;t.setValue(""),l?.()}}}),{labelProps:d,inputProps:f,descriptionProps:p,errorMessageProps:h,...m}=_i({...e,value:t.value,onChange:t.setValue,onKeyDown:e.onKeyDown,onKeyUp:e.onKeyUp,type:c},n);return{labelProps:d,inputProps:N(u,{...f,defaultValue:void 0}),clearButtonProps:{"aria-label":r.format("Clear search"),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:o||s,onPress:()=>{t.setValue(""),l&&l()},onPressStart:()=>{n.current?.focus()}},descriptionProps:p,errorMessageProps:h,...m}}({...O(n),label:l,validationBehavior:o},c,s),g=K({...n,values:{isEmpty:""===c.value,isDisabled:n.isDisabled||!1,isInvalid:m.isInvalid||!1,isReadOnly:n.isReadOnly||!1,isRequired:n.isRequired||!1,state:c},defaultClassName:"react-aria-SearchField"}),y=lr(n,{global:!0});return delete y.id,e.createElement(H.div,{...y,...g,ref:r,slot:n.slot||void 0,"data-empty":""===c.value||void 0,"data-disabled":n.isDisabled||void 0,"data-invalid":m.isInvalid||void 0,"data-readonly":n.isReadOnly||void 0,"data-required":n.isRequired||void 0},e.createElement(I,{values:[[Or,{...u,ref:a}],[Li,{...d,ref:s}],[Wr,f],[Xr,{slots:{description:p,errorMessage:h}}],[Ri,{isInvalid:m.isInvalid,isDisabled:n.isDisabled||!1}],[di,m]]},g.children))});const el=t.createContext(null),tl=t.createContext(null),nl=t.forwardRef(function(n,r){let{inputRef:i=null,...o}=n;[n,r]=D(o,r,el);let s=R(t.useMemo(()=>j(i,void 0!==n.inputRef?n.inputRef:null),[i,n.inputRef])),a=Ni(n),l=function(e,t,n){let{labelProps:r,inputProps:i,isSelected:o,...s}=Mi(e,t,n);return{labelProps:r,inputProps:{...i,role:"switch",checked:o},isSelected:o,...s}}({...O(n),children:"function"==typeof n.children||n.children},a,s);return e.createElement(I,{values:[[tl,a],[rl,{...l,inputRef:s,defaultClassName:"react-aria-Switch"}]]},e.createElement(il,{...n,ref:r}))}),rl=t.createContext(null),il=t.forwardRef(function(n,r){let{labelProps:i,inputProps:o,isSelected:s,isDisabled:a,isReadOnly:l,isPressed:c,isInvalid:u,inputRef:d,defaultClassName:f,isRequired:p}=t.useContext(rl),{isFocused:h,isFocusVisible:m,focusProps:g}=Nr(),y=a||l,v=t.useContext(tl),{hoverProps:b,isHovered:x}=_r({...n,isDisabled:y}),w=K({...n,defaultClassName:f,values:{isSelected:s,isPressed:c,isHovered:x,isFocused:h,isFocusVisible:m,isDisabled:a,isReadOnly:l,isInvalid:u,isRequired:p||!1,state:v}}),k=lr(n,{global:!0});return delete k.id,delete k.onClick,e.createElement(H.label,{...N(k,i,b,w),ref:r,slot:n.slot||void 0,"data-selected":s||void 0,"data-pressed":c||void 0,"data-hovered":x||void 0,"data-focused":h||void 0,"data-focus-visible":m||void 0,"data-disabled":a||void 0,"data-readonly":l||void 0,"data-invalid":u||void 0,"data-required":p||void 0},e.createElement(ui,{elementType:"span"},e.createElement("input",{...N(o,g),ref:d})),w.children)}),ol=t.createContext({}),sl=t.createContext(null),al=_n(function(n,r){[n,r]=D(n,r,sl);let{validationBehavior:i}=_(Ei)||{},o=n.validationBehavior??i??"native",s=t.useRef(null);[n,s]=D(n,s,Zt);let[a,l]=A(!n["aria-label"]&&!n["aria-labelledby"]),[c,u]=t.useState("input"),{labelProps:d,inputProps:f,descriptionProps:p,errorMessageProps:h,...m}=_i({...O(n),inputElementType:c,label:l,validationBehavior:o},s),g=t.useCallback(e=>{s.current=e,e&&u(e instanceof HTMLTextAreaElement?"textarea":"input")},[s]),y=K({...n,values:{isDisabled:n.isDisabled||!1,isInvalid:m.isInvalid,isReadOnly:n.isReadOnly||!1,isRequired:n.isRequired||!1},defaultClassName:"react-aria-TextField"}),v=lr(n,{global:!0});return delete v.id,e.createElement(H.div,{...v,...y,ref:r,slot:n.slot||void 0,"data-disabled":n.isDisabled||void 0,"data-invalid":m.isInvalid||void 0,"data-readonly":n.isReadOnly||void 0,"data-required":n.isRequired||void 0},e.createElement(I,{values:[[Or,{...d,ref:a}],[Li,{...f,ref:g}],[ol,{...f,ref:g}],[Ri,{role:"presentation",isInvalid:m.isInvalid,isDisabled:n.isDisabled||!1}],[Xr,{slots:{description:p,errorMessage:h}}],[di,m]]},y.children))});var ll;ll={"ar-AE":dt,"bg-BG":dt,"cs-CZ":dt,"da-DK":dt,"de-DE":dt,"el-GR":dt,"en-US":{close:"Close",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`},"es-ES":dt,"et-EE":dt,"fi-FI":dt,"fr-FR":dt,"he-IL":dt,"hr-HR":dt,"hu-HU":dt,"it-IT":dt,"ja-JP":dt,"ko-KR":dt,"lt-LT":dt,"lv-LV":dt,"nb-NO":dt,"nl-NL":dt,"pl-PL":dt,"pt-BR":dt,"pt-PT":dt,"ro-RO":dt,"ru-RU":dt,"sk-SK":dt,"sl-SI":dt,"sr-SP":dt,"sv-SE":dt,"tr-TR":dt,"uk-UA":dt,"zh-CN":{close:"关闭",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 个通知`,other:()=>`${t.number(e.count)} 个通知`})}。`},"zh-TW":{close:"關閉",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個通知`,other:()=>`${t.number(e.count)} 個通知`})}。`}};const cl=Symbol.for("react-aria-landmark-manager");function ul(e){return document.addEventListener("react-aria-landmark-manager-change",e),()=>document.removeEventListener("react-aria-landmark-manager-change",e)}function dl(){if("undefined"==typeof document)return null;let e=document[cl];return e&&e.version>=1?e:(document[cl]=new fl,document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")),document[cl])}class fl{constructor(){this.landmarks=[],this.isListening=!1,this.refCount=0,this.version=1,this.f6Handler=this.f6Handler.bind(this),this.focusinHandler=this.focusinHandler.bind(this),this.focusoutHandler=this.focusoutHandler.bind(this)}setupIfNeeded(){this.isListening||(document.addEventListener("keydown",this.f6Handler,{capture:!0}),document.addEventListener("focusin",this.focusinHandler,{capture:!0}),document.addEventListener("focusout",this.focusoutHandler,{capture:!0}),this.isListening=!0)}teardownIfNeeded(){!this.isListening||this.landmarks.length>0||this.refCount>0||(document.removeEventListener("keydown",this.f6Handler,{capture:!0}),document.removeEventListener("focusin",this.focusinHandler,{capture:!0}),document.removeEventListener("focusout",this.focusoutHandler,{capture:!0}),this.isListening=!1)}focusLandmark(e,t){this.landmarks.find(t=>t.ref.current===e)?.focus?.(t)}getLandmarksByRole(e){return new Set(this.landmarks.filter(t=>t.role===e))}getLandmarkByRole(e){return this.landmarks.find(t=>t.role===e)}addLandmark(e){if(this.setupIfNeeded(),this.landmarks.find(t=>t.ref===e.ref)||!e.ref.current)return;if(this.landmarks.filter(e=>"main"===e.role).length,0===this.landmarks.length)return this.landmarks=[e],void this.checkLabels(e.role);let t=0,n=this.landmarks.length-1;for(;t<=n;){let r=Math.floor((t+n)/2),i=e.ref.current.compareDocumentPosition(this.landmarks[r].ref.current);Boolean(i&Node.DOCUMENT_POSITION_PRECEDING||i&Node.DOCUMENT_POSITION_CONTAINS)?t=r+1:n=r-1}this.landmarks.splice(t,0,e),this.checkLabels(e.role)}updateLandmark(e){let t=this.landmarks.findIndex(t=>t.ref===e.ref);t>=0&&(this.landmarks[t]={...this.landmarks[t],...e},this.checkLabels(this.landmarks[t].role))}removeLandmark(e){this.landmarks=this.landmarks.filter(t=>t.ref!==e),this.teardownIfNeeded()}checkLabels(e){let t=this.getLandmarksByRole(e);t.size>1&&[...t].filter(e=>!e.label)}closestLandmark(e){let t=new Map(this.landmarks.map(e=>[e.ref.current,e])),n=e;for(;n&&!t.has(n)&&n!==document.body&&n.parentElement;)n=n.parentElement;return t.get(n)}getNextLandmark(e,{backward:t}){let n=this.closestLandmark(e),r=t?this.landmarks.length-1:0;n&&(r=this.landmarks.indexOf(n)+(t?-1:1));let i=()=>{if(r<0){if(!e.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"backward"},bubbles:!0,cancelable:!0})))return!0;r=this.landmarks.length-1}else if(r>=this.landmarks.length){if(!e.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"forward"},bubbles:!0,cancelable:!0})))return!0;r=0}return r<0||r>=this.landmarks.length};if(i())return;let o=r;for(;this.landmarks[r].ref.current?.closest("[aria-hidden=true]");){if(r+=t?-1:1,i())return;if(r===o)break}return this.landmarks[r]}f6Handler(e){if("F6"===e.key){(e.altKey?this.focusMain():this.navigate(Q(e),e.shiftKey))&&(e.preventDefault(),e.stopPropagation())}}focusMain(){let e=this.getLandmarkByRole("main");return!!(e&&e.ref.current&&e.ref.current.isConnected)&&(this.focusLandmark(e.ref.current,"forward"),!0)}navigate(e,t){let n=this.getNextLandmark(e,{backward:t});if(!n)return!1;if(n.lastFocused){let e=n.lastFocused;if(Y(document.body,e))return e.focus(),!0}return!(!n.ref.current||!n.ref.current.isConnected)&&(this.focusLandmark(n.ref.current,t?"backward":"forward"),!0)}focusinHandler(e){let t=this.closestLandmark(Q(e));t&&t.ref.current!==Q(e)&&this.updateLandmark({ref:t.ref,lastFocused:Q(e)});let n=e.relatedTarget;if(n){let e=this.closestLandmark(n);e&&e.ref.current===n&&e.blur()}}focusoutHandler(e){let t=Q(e),n=e.relatedTarget;if(!n||n===document){let e=this.closestLandmark(t);e&&e.ref.current===t&&e.blur()}}createLandmarkController(){let e=this;return e.refCount++,e.setupIfNeeded(),{navigate(t,n){let r=n?.from||document.activeElement;return e.navigate(r,"backward"===t)},focusNext(t){let n=t?.from||document.activeElement;return e.navigate(n,!1)},focusPrevious(t){let n=t?.from||document.activeElement;return e.navigate(n,!0)},focusMain:()=>e.focusMain(),dispose(){e&&(e.refCount--,e.teardownIfNeeded(),e=null)}}}registerLandmark(e){return this.landmarks.find(t=>t.ref===e.ref)?this.updateLandmark(e):this.addLandmark(e),()=>this.removeLandmark(e.ref)}}function pl(e,n){const{role:i,"aria-label":o,"aria-labelledby":s,focus:a}=e;let l=r.useSyncExternalStore(ul,dl,dl),c=o||s,[u,f]=t.useState(!1),p=t.useCallback(()=>{f(!0)},[f]),h=t.useCallback(()=>{f(!1)},[f]);return d(()=>{if(l)return l.registerLandmark({ref:n,label:c,role:i,focus:a||p,blur:h})},[l,c,n,i,a,p,h]),t.useEffect(()=>{u&&n.current?.focus()},[u,n]),{landmarkProps:{role:i,tabIndex:u?-1:void 0,"aria-label":o,"aria-labelledby":s}}}class hl{constructor(e,t){this.startTime=null,this.remaining=t,this.callback=e}reset(e){this.remaining=e,this.resume()}pause(){null!=this.timerId&&(clearTimeout(this.timerId),this.timerId=null,this.remaining-=Date.now()-this.startTime)}resume(){this.remaining<=0||(this.startTime=Date.now(),this.timerId=setTimeout(()=>{this.timerId=null,this.remaining=0,this.callback()},this.remaining))}}const ml=t.createContext(null),gl=t.forwardRef(function(n,o){let s,a=x(),l=function(e){let n=t.useCallback(t=>e.subscribe(t),[e]),i=t.useCallback(()=>e.visibleToasts,[e]);return{visibleToasts:r.useSyncExternalStore(n,i,i),add:(t,n)=>e.add(t,n),close:t=>e.close(t),pauseAll:()=>e.pauseAll(),resumeAll:()=>e.resumeAll()}}(n.queue),c=R(o),{regionProps:u}=function(e,n,r){let i=Bt((o=ll)&&o.__esModule?o.default:o,"@react-aria/toast");var o;let{landmarkProps:s}=pl({role:"region","aria-label":e["aria-label"]||i.format("notifications",{count:n.visibleToasts.length})},r),a=t.useRef(!1),l=t.useRef(!1),c=t.useCallback(()=>{a.current||l.current?n.pauseAll():n.resumeAll()},[n]),{hoverProps:u}=_r({onHoverStart:()=>{a.current=!0,c()},onHoverEnd:()=>{a.current=!1,c()}}),f=t.useRef([]),p=t.useRef(n.visibleToasts),h=t.useRef(null);d(()=>{if(-1===h.current||0===n.visibleToasts.length||!r.current)return f.current=[],void(p.current=n.visibleToasts);if(f.current=[...r.current.querySelectorAll('[role="alertdialog"]')],p.current.length===n.visibleToasts.length&&n.visibleToasts.every((e,t)=>e.key===p.current[t].key))return void(p.current=n.visibleToasts);let e=p.current.map((e,t)=>({...e,i:t,isRemoved:!n.visibleToasts.some(t=>e.key===t.key)})),t=e.findIndex(e=>e.i===h.current&&e.isRemoved);if(t>-1)if("pointer"===ot()&&m.current?.isConnected)se(m.current);else{let n,r,i=0;for(;i<=t;)e[i].isRemoved||(r=Math.max(0,i-1)),i++;for(;i=0&&r=0&&n{l.current=!0,m.current=e.relatedTarget,c()},onBlurWithin:()=>{l.current=!1,m.current=null,c()}});return t.useEffect(()=>{0===n.visibleToasts.length&&m.current?.isConnected&&("pointer"===ot()?se(m.current):m.current.focus(),m.current=null)},[r,n.visibleToasts.length]),t.useEffect(()=>()=>{m.current?.isConnected&&("pointer"===ot()?se(m.current):m.current.focus(),m.current=null)},[r]),{regionProps:N(s,u,g,{tabIndex:-1,"data-react-aria-top-layer":!0,onFocus:e=>{let t=Q(e).closest('[role="alertdialog"]');h.current=f.current.findIndex(e=>e===t)},onBlur:()=>{h.current=-1}})}}(n,l,c),{focusProps:f,isFocused:p,isFocusVisible:h}=Nr(),{hoverProps:m,isHovered:g}=_r({}),y=K({...n,children:void 0,defaultClassName:"react-aria-ToastRegion",values:{visibleToasts:l.visibleToasts,isHovered:g,isFocused:p,isFocusVisible:h}}),{direction:v}=It(),{getContainer:b}=Fs();a||(s=document.body,b&&(s=b()));let w=lr(n,{global:!0}),k=e.createElement(ml.Provider,{value:l},e.createElement(H.div,{...N(w,y,u,f,m),dir:v,ref:c,"data-hovered":g||void 0,"data-focused":p||void 0,"data-focus-visible":h||void 0},"function"==typeof n.children?e.createElement(yl,{...n,render:void 0,className:void 0,style:{display:"contents"}},n.children):n.children));return l.visibleToasts.length>0&&s?i.createPortal(k,s):null}),yl=t.forwardRef(function(n,r){let i=t.useContext(ml),{hoverProps:o,isHovered:s}=_r({}),a=K({...n,children:void 0,defaultClassName:"react-aria-ToastList",values:{visibleToasts:i.visibleToasts,isFocused:!1,isFocusVisible:!1,isHovered:s}});return e.createElement(H.ol,{...o,...a,ref:r},i.visibleToasts.map(t=>e.createElement("li",{key:t.key,style:{display:"contents"}},n.children({toast:t}))))}),vl=t.forwardRef(function(n,r){let i=t.useContext(ml),o=R(r),{toastProps:s,contentProps:a,titleProps:l,descriptionProps:c,closeButtonProps:u}=function(e,n){let{key:r,timer:i,timeout:o}=e.toast;t.useEffect(()=>{if(null!=i&&null!=o)return i.reset(o),()=>{i.pause()}},[i,o]);let s=S(),a=T(),l=Bt((c=ll)&&c.__esModule?c.default:c,"@react-aria/toast");var c;let[u,f]=t.useState(!1);return d(()=>{f(!0)},[]),{toastProps:{...lr(e,{labelable:!0}),role:"alertdialog","aria-modal":"false","aria-labelledby":e["aria-labelledby"]||s,"aria-describedby":e["aria-describedby"]||a,tabIndex:0},contentProps:{role:"alert","aria-atomic":"true","aria-hidden":u?void 0:"true"},titleProps:{id:s},descriptionProps:{id:a},closeButtonProps:{"aria-label":l.format("close"),onPress:()=>n.close(r)}}}(n,i),{focusProps:f,isFocused:p,isFocusVisible:h}=Nr(),m=K({...n,defaultClassName:"react-aria-Toast",values:{toast:n.toast,isFocused:p,isFocusVisible:h}}),g=lr(n,{global:!0});return e.createElement(H.div,{...N(g,m,s,f),ref:o,"data-focused":p||void 0,"data-focus-visible":h||void 0},e.createElement(I,{values:[[bl,a],[Xr,{slots:{[L]:{},title:l,description:c}}],[Wr,{slots:{[L]:{},close:u}}]]},m.children))}),bl=t.createContext({}),xl=t.forwardRef(function(t,n){return[t,n]=D(t,n,bl),e.createElement(H.div,{render:t.render,className:"react-aria-ToastContent",...t,ref:n},t.children)}),wl=e.createContext(null);function kl(n){let{children:r}=n,i=t.useContext(wl),[o,s]=t.useState(0),a=t.useMemo(()=>({parent:i,modalCount:o,addModal(){s(e=>e+1),i&&i.addModal()},removeModal(){s(e=>e-1),i&&i.removeModal()}}),[i,o]);return e.createElement(wl.Provider,{value:a},r)}function El(n){let{modalProviderProps:r}=function(){let e=t.useContext(wl);return{modalProviderProps:{"aria-hidden":!!(e&&e.modalCount>0)||void 0}}}();return e.createElement("div",{"data-overlay-container":!0,...n,...r})}function Cl(t){return e.createElement(kl,null,e.createElement(El,t))}function Sl(t){let n=x(),{portalContainer:r=(n?null:document.body),...i}=t,{getContainer:s}=Fs();if(!t.portalContainer&&s&&(r=s()),e.useEffect(()=>{if(r?.closest("[data-overlay-container]"))throw new Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[r]),!r)return null;let a=e.createElement(Cl,i);return o.createPortal(a,r)}const Pl=t.createContext(null),Tl=t.createContext(null);function jl(n){let r=qa(n),i=t.useRef(null),{triggerProps:o,tooltipProps:s}=function(e,n,r){let{isDisabled:i,trigger:o,shouldCloseOnPress:s=!0}=e,a=S(),l=t.useRef(!1),c=t.useRef(!1),u=()=>{(l.current||c.current)&&n.open(c.current)},d=e=>{l.current||c.current||n.close(e)};t.useEffect(()=>{let e=e=>{r&&r.current&&"Escape"===e.key&&(e.stopPropagation(),n.close(!0))};if(n.isOpen)return document.addEventListener("keydown",e,!0),()=>{document.removeEventListener("keydown",e,!0)}},[r,n]);let f=()=>{s&&(c.current=!1,l.current=!1,d(!0))},{hoverProps:p}=_r({isDisabled:i,onHoverStart:()=>{"focus"!==o&&("pointer"===ot()?l.current=!0:l.current=!1,u())},onHoverEnd:()=>{"focus"!==o&&(c.current=!1,l.current=!1,d())}}),{focusableProps:h}=Rn({isDisabled:i,onFocus:()=>{it()&&(c.current=!0,u())},onBlur:()=>{c.current=!1,l.current=!1,d(!0)}},r);return{triggerProps:{"aria-describedby":n.isOpen?a:void 0,...N(h,p,{onPointerDown:f,onKeyDown:f}),tabIndex:void 0},tooltipProps:{id:a}}}(n,r,i);return e.createElement(I,{values:[[Pl,r],[Tl,{...s,triggerRef:i}]]},e.createElement(Nn,{...o,ref:i},n.children))}const Ml=t.forwardRef(function({UNSTABLE_portalContainer:n,...r},i){[r,i]=D(r,i,Tl);let o=t.useContext(Pl),s=qa(r),a=null==r.isOpen&&null==r.defaultOpen&&o?o:s,l=Vs(i,a.isOpen),c=r.isExiting||!a.shouldSkipAnimation&&l||!1;return a.isOpen||c?e.createElement(Sl,{portalContainer:n},e.createElement(Nl,{...r,tooltipRef:i,isExiting:c})):null});function Nl(n){let r=t.useContext(Pl),i=t.useRef(null),{overlayProps:o,arrowProps:s,placement:a,triggerAnchorPoint:l}=ks({placement:n.placement||"top",targetRef:n.triggerRef,overlayRef:n.tooltipRef,arrowRef:i,offset:n.offset,crossOffset:n.crossOffset,isOpen:r.isOpen,arrowBoundaryOffset:n.arrowBoundaryOffset,shouldFlip:n.shouldFlip,containerPadding:n.containerPadding,onClose:()=>r.close(!0)}),c=zs(n.tooltipRef,!!a),u=n.isEntering||!r.shouldSkipAnimation&&c||!1,d=K({...n,defaultClassName:"react-aria-Tooltip",values:{placement:a,isEntering:u,isExiting:n.isExiting,state:r}});n=N(n,o);let{tooltipProps:f}=function(e,t){let n=lr(e,{labelable:!0}),{hoverProps:r}=_r({onHoverStart:()=>t?.open(!0),onHoverEnd:()=>t?.close()});return{tooltipProps:N(n,r,{role:"tooltip"})}}(n,r),p=lr(n,{global:!0});return e.createElement(H.div,{...N(p,d,f),ref:n.tooltipRef,style:{...o.style,"--trigger-anchor-point":l?`${l.x}px ${l.y}px`:void 0,...d.style},"data-placement":a??void 0,"data-entering":u||void 0,"data-exiting":n.isExiting||void 0},e.createElement(Jo.Provider,{value:{...s,placement:a,ref:i}},d.children))}const Rl=(...e)=>e.filter(Boolean).join(" ");function Ll({className:e,...t}){return s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:Rl("rp-icon",e),...t})}function Il(e){return s.jsx(Ll,{...e,children:s.jsx("path",{fill:"currentColor",d:"m11.06 10 5.207-5.206c.293-.293.293-.768 0-1.06s-.767-.294-1.06 0L10 8.938 4.793 3.733c-.293-.293-.767-.293-1.06 0s-.293.768 0 1.06L8.939 10l-5.206 5.206c-.293.293-.293.768 0 1.06.146.147.338.22.53.22s.384-.073.53-.22L10 11.062l5.207 5.206c.146.146.338.22.53.22s.384-.074.53-.22c.293-.293.293-.768 0-1.06z"})})}function Kl(e){return s.jsxs(Ll,{...e,children:[s.jsx("path",{fill:"currentColor",d:"M10 18.75c-4.825 0-8.75-3.925-8.75-8.75S5.175 1.25 10 1.25s8.75 3.925 8.75 8.75-3.925 8.75-8.75 8.75m0-16c-3.998 0-7.25 3.252-7.25 7.25s3.252 7.25 7.25 7.25 7.25-3.252 7.25-7.25S13.998 2.75 10 2.75"}),s.jsx("path",{fill:"currentColor",d:"M9.223 13.5c-.212 0-.415-.09-.558-.248l-2.51-2.792c-.278-.309-.253-.782.055-1.06s.781-.252 1.06.056l1.893 2.107 3.487-4.756c.244-.334.711-.41 1.048-.161.334.244.406.713.161 1.047l-4.032 5.5c-.133.183-.342.295-.567.306z"})]})}function _l(e){return s.jsxs(Ll,{...e,children:[s.jsx("path",{fill:"currentColor",d:"M10 15.123c-.231.008-.456-.073-.627-.228-.33-.365-.33-.92 0-1.285.17-.158.395-.242.626-.234.237-.01.466.08.633.247.162.168.25.394.242.627.012.235-.07.465-.228.639-.174.164-.408.25-.647.234M10 11.75c-.414 0-.75-.336-.75-.75V7c0-.414.336-.75.75-.75s.75.336.75.75v4c0 .414-.336.75-.75.75"}),s.jsx("path",{fill:"currentColor",d:"M16.733 18H3.267c-.8 0-1.523-.41-1.933-1.098s-.427-1.518-.046-2.222L8.02 2.232c.394-.727 1.152-1.18 1.979-1.18s1.585.453 1.979 1.18l6.733 12.448c.381.704.364 1.535-.046 2.222S17.534 18 16.733 18M10 2.553c-.134 0-.468.038-.66.392L2.607 15.393c-.183.338-.05.631.016.74.065.111.259.367.644.367h13.466c.385 0 .579-.256.644-.366s.2-.403.016-.741L10.66 2.945c-.192-.354-.526-.392-.66-.392"})]})}function Dl(e){return s.jsxs(Ll,{...e,children:[s.jsx("path",{fill:"currentColor",d:"M10 18.75c-4.825 0-8.75-3.925-8.75-8.75S5.175 1.25 10 1.25s8.75 3.925 8.75 8.75-3.925 8.75-8.75 8.75m0-16c-3.998 0-7.25 3.252-7.25 7.25s3.252 7.25 7.25 7.25 7.25-3.252 7.25-7.25S13.998 2.75 10 2.75"}),s.jsx("path",{fill:"currentColor",d:"M10 5.26c.231-.008.456.074.627.229.33.365.33.921 0 1.286-.17.159-.395.243-.626.235-.237.01-.466-.08-.633-.248-.162-.168-.25-.394-.242-.627-.012-.235.07-.465.228-.64.174-.164.408-.25.647-.235M10 15.063c-.414 0-.75-.336-.75-.75V9.478c0-.415.336-.75.75-.75s.75.335.75.75v4.835c0 .414-.336.75-.75.75"})]})}function Al(e){return s.jsx(Ll,{...e,children:s.jsx("path",{fill:"currentColor",d:"M3.755 7.243c.287-.299.762-.308 1.06-.02l5.183 4.986 5.197-4.999c.298-.288.773-.278 1.06.02.287.297.278.773-.02 1.06l-5.717 5.5c-.29.28-.75.28-1.04 0L3.776 8.303c-.153-.147-.23-.344-.23-.54 0-.188.07-.375.21-.52"})})}const Ol=(e,t,n)=>{const r=e[t];return r?"function"==typeof r?r():Promise.resolve(r):new Promise((e,r)=>{("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})},Fl={lang:"doona-lang",widgets:"doona-widgets",dashboard:"doona-dashboard",navGroups:"doona-nav-groups",scheme:"doona-scheme",palette:"doona-palette",wordmark:"doona-wordmark",mirror:"doona-mirror",countryFlags:"doona-country-flags",sparklines:"doona-sparklines",flagOverrides:"doona-flag-overrides",toastPlacement:"doona-toast-placement",startPage:"doona-start-page",latencyProbe:"doona-latency-probe",profiles:"doona-profiles",profile:"doona-profile",legacyApi:"doona-api",legacyToken:"doona-api-token",ringsPrefix:"doona-rings-",connectionsView:"doona-connections-view",activityGroup:"doona-activity-group",gettingStarted:"doona-getting-started",session:"doona-session",saved:"doona-saved",hubPages:"doona-hub-pages"},ql=[{id:"zh-TW",name:"繁體中文",locale:"zh-TW",docs:"zh-TW",fonts:"tc",faces:["Noto Sans TC"],complete:!0},{id:"zh-CN",name:"简体中文",locale:"zh-CN",docs:"zh-CN",fonts:"sc",faces:["Noto Sans SC","Noto Sans TC"],complete:!0},{id:"en",name:"English",locale:"en-US",docs:"en",fonts:null,faces:["Noto Sans TC"],complete:!0}],Hl="zh-TW",$l="en",Bl=new Set(ql.map(e=>e.id));const zl=["Adlm","Arab","Hebr","Mand","Nkoo","Rohg","Samr","Syrc","Thaa","Yezi"];function Vl(e,t){return t?"rtl":function(e){try{const t=new Intl.Locale(e),n=t.getTextInfo?.()??t.textInfo;return n?.direction?"rtl"===n.direction?"rtl":"ltr":zl.includes(t.maximize().script??"")?"rtl":"ltr"}catch{return"ltr"}}(e)}const Ul=ql.map(e=>[e.id,e.name]),Wl=Object.fromEntries(ql.map(e=>[e.id,e.locale])),Gl=Object.fromEntries(ql.map(e=>[e.id,[...e.faces.map(e=>`'${e}'`),"system-ui","sans-serif"].join(", ")])),Jl=t.createContext(Hl);function Zl(){return t.useContext(Jl)}function Yl(e,t){let n=null;try{n=(e??localStorage).getItem(Fl.lang)}catch{}return function(e){return null!==e&&Bl.has(e)}(n)?n:function(e){for(const t of e){const e=t.toLowerCase(),n=e.split("-")[0],r=ql.find(t=>t.id.toLowerCase()===e||t.locale.toLowerCase()===e);if(r)return r.id;if("zh"===n)return/-hans\b/.test(e)?"zh-CN":/-(hant|tw|hk|mo)\b/.test(e)?"zh-TW":"zh-CN";const i=ql.find(e=>e.id.toLowerCase().split("-")[0]===n);if(i)return i.id}return $l}("undefined"==typeof navigator?[]:navigator.languages?.length?navigator.languages:[navigator.language])}function Xl(e){const{fonts:t}=ql.find(t=>t.id===e),n=Ol(Object.assign({"./locales/en.json":()=>c(()=>import("./locale-en-Dn2JtjOh.js"),[],import.meta.url),"./locales/zh-CN.json":()=>c(()=>import("./locale-zh-CN-DbWVhWuv.js"),[],import.meta.url),"./locales/zh-TW.json":()=>c(()=>import("./locale-zh-TW-CgyqV-qN.js"),[],import.meta.url)}),`./locales/${e}.json`,3).then(e=>e.default);return t?Promise.all([n,Ol(Object.assign({"../fonts-sc.css":()=>c(()=>Promise.resolve({}),__vite__mapDeps([0]),import.meta.url),"../fonts-tc.css":()=>c(()=>Promise.resolve({}),__vite__mapDeps([1]),import.meta.url)}),`../fonts-${t}.css`,2).catch(()=>{})]).then(([e])=>e):n}const Ql=new Map,ec=new Map;function tc(e,t=Xl){let n=ec.get(e);if(!n){const{complete:r}=ql.find(t=>t.id===e);n=(r?t(e):Promise.all([t(e),tc($l,t)]).then(([e])=>e)).then(t=>{Ql.set(e,t)},t=>{throw ec.delete(e),t}),ec.set(e,n)}return n}function nc(e){return Ql.has(e)}const rc=e=>[e,...Ul.map(([e])=>e)].find(nc)??e,ic=new Map,oc=/^(0|[1-9][0-9]*)$/,sc=new Map;function ac(e,t,n,r="n",i){const o=Ql.get(e)?.[t],s=o??Ql.get($l)?.[t],a=void 0===o?$l:e;let l;if(void 0===s)l=t;else if("string"==typeof s)l=s;else{let e=ic.get(a);e||ic.set(a,e=new Intl.PluralRules(Wl[a]));const t=n?.[r];l=s[e.select(void 0===t?NaN:(e=>{if("number"==typeof e)return e;if("string"==typeof e&&!oc.test(e))return NaN;const t=BigInt(e);return t<=BigInt(Number.MAX_SAFE_INTEGER)?Number(t):Number(t%1000000n)+1e6})(t))]??s.other}return n?l.replace(/\{(\w+)\}/g,(t,o)=>((e,t,n,r)=>{if("bigint"==typeof t||n&&"string"==typeof t&&oc.test(t))return fc(BigInt(t),Wl[e]);if("number"!=typeof t)return String(t);if(void 0!==r||Number.isInteger(t))return fc(t,Wl[e],r);let i=sc.get(e);return i||sc.set(e,i=new Intl.NumberFormat(Wl[e])),i.format(t)})(e,n[o],o===r,i?.[o])):l}const lc=t.createContext(void 0);function cc(){const e=Zl(),n=t.useContext(lc);return t.useMemo(()=>(t,r,i,o)=>ac(e,n?.[t]??t,r,i,o),[e,n])}function uc(e,t){return t.join(ac(e,"ui.listSeparator"))}const dc=new Map;function fc(e,t,n=0){const r=t+"/"+n;let i=dc.get(r);return i||dc.set(r,i=new Intl.NumberFormat(t,{minimumFractionDigits:n,maximumFractionDigits:n})),i.format(e)}const pc={sample_delayed:"ui.backend.sampleDelayed",invalid_request:"ui.backend.invalidRequest",authentication_required:"ui.backend.authenticationRequired",permission_denied:"ui.backend.permissionDenied",resource_not_found:"ui.backend.resourceNotFound",method_not_allowed:"ui.backend.methodNotAllowed",capability_not_supported:"ui.backend.capabilityNotSupported",state_conflict:"ui.backend.stateConflict",idempotency_conflict:"ui.backend.idempotencyConflict",event_cursor_expired:"ui.backend.eventCursorExpired",snapshot_unavailable:"ui.backend.snapshotUnavailable",snapshot_expired:"ui.backend.snapshotExpired",flow_expired:"ui.backend.flowExpired",stale_revision:"ui.backend.staleRevision",request_too_large:"ui.backend.requestTooLarge",unsupported_media_type:"ui.backend.unsupportedMediaType",unsupported_value:"ui.backend.unsupportedValue",precondition_required:"ui.backend.preconditionRequired",rate_limited:"ui.backend.rateLimited",temporarily_unavailable:"ui.backend.temporarilyUnavailable",setup_required:"ui.backend.setupRequired",setup_already_completed:"ui.backend.setupAlreadyCompleted",invalid_credentials:"ui.backend.invalidCredentials",reload_rejected:"ui.backend.reloadRejected",reload_degraded:"ui.backend.reloadDegraded",supervisor_reconciliation_failed:"ui.backend.supervisorReconciliationFailed",activation_unconfirmed:"ui.backend.activationUnconfirmed",store_unavailable:"ui.backend.storeUnavailable",engine_unavailable:"ui.backend.engineUnavailable",request_exhausted:"ui.backend.requestExhausted",lifecycle_failed:"ui.backend.lifecycleFailed",geodata_update_failed:"ui.backend.geodataUpdateFailed",asset_validation_failed:"ui.backend.assetValidationFailed",checksum_unavailable:"ui.backend.checksumUnavailable",checksum_mismatch:"ui.backend.checksumMismatch",download_timeout:"ui.backend.downloadTimeout",http_status_rejected:"ui.backend.httpStatusRejected",http_not_found:"ui.backend.httpNotFound",connection_failed:"ui.backend.connectionFailed",tls_failed:"ui.backend.tlsFailed",http_failed:"ui.backend.httpFailed",group_unavailable:"ui.backend.groupUnavailable",route_blocked:"ui.backend.routeBlocked",asset_too_large:"ui.backend.assetTooLarge",invalid_source:"ui.backend.invalidSource",probe_interrupted:"ui.backend.probeInterrupted",probe_cleanup_failed:"ui.backend.probeCleanupFailed",publication_rejected:"ui.backend.publicationRejected",fetch_failed:"ui.backend.fetchFailed",provider_replaced:"ui.backend.providerReplaced",result_too_large:"ui.backend.resultTooLarge",route_unavailable:"ui.backend.routeUnavailable",publication_unavailable:"ui.backend.publicationUnavailable",supervisor_stopped:"ui.backend.supervisorStopped",probe_cancelled:"ui.backend.probeCancelled",probe_deadline:"ui.backend.probeDeadline",probe_failed:"ui.backend.probeFailed",address_unavailable:"ui.backend.probeAddressUnavailable",cancelled:"ui.backend.probeCancelled",deadline:"ui.backend.probeDeadline",local_refusal:"ui.backend.probeLocalRefusal",persistence_unavailable:"ui.backend.persistenceUnavailable",state_cache_unavailable:"ui.backend.stateCacheUnavailable",interface_watcher_disabled:"ui.backend.interfaceWatcherDisabled",pname_routing_reduced:"ui.backend.pnameRoutingReduced",pname_routing_disabled:"ui.backend.pnameRoutingDisabled",udp_trace_unavailable:"ui.backend.udpTraceUnavailable",quic_probe_disabled:"ui.backend.quicProbeDisabled","legacy-config-warning":"ui.backend.legacyConfigWarning","duplicate-subscription-entry":"ui.backend.duplicateSubscriptionEntry"},hc=new Set(["permission_denied","capability_not_supported","temporarily_unavailable","invalid_request"]),mc={configuration_unavailable:"ui.refusal.configurationUnavailable",credential_sources_changed:"ui.refusal.credentialSourcesChanged",import_entry_changed:"ui.refusal.importEntryChanged",listener_secret_in_content:"ui.refusal.listenerSecretInContent",listener_secret_source:"ui.refusal.listenerSecretSource",listener_settings_changed:"ui.refusal.listenerSettingsChanged",store_blocked:"ui.refusal.storeBlocked",unsafe_path:"ui.refusal.unsafePath",writes_disabled:"ui.refusal.writesDisabled"},gc={bare_condition:["config.diagnostic.bareCondition"],brace_without_section:["config.diagnostic.braceWithoutSection"],include_not_found:["config.diagnostic.includeNotFound","path"],not_a_rule:["config.diagnostic.notARule"],not_a_setting:["config.diagnostic.notASetting"],section_not_closed:["config.diagnostic.sectionNotClosed","name"],"source-not-included":["config.diagnostic.sourceNotIncluded","path"],unknown_key:["config.diagnostic.unknownKey","name"],unknown_outbound:["config.diagnostic.unknownOutbound","name"],unknown_section:["config.diagnostic.unknownSection","name"]},yc=(e,t)=>Object.hasOwn(e,t)?e[t]:void 0,vc=new Set(["invalid_request","unsupported_value","state_conflict"]);function bc(e,t){const n=e?.reason,r="string"==typeof n?yc(mc,n):void 0;return r?t(r):void 0}function xc(e,t,n,r,i=!1){const o=bc(r,n);if(o)return{summary:o};if(i&&hc.has(e)&&t)return{summary:t};const s=r?.stage,a=yc(pc,e),l=s===e&&a?void 0:s,c="string"==typeof l?yc(pc,l):void 0;if(c)return{summary:n(c)};const u=a?n(a):n("ui.backendMessage",{message:t}),d="string"==typeof l?n("ui.aside",{text:u,note:l}):u;return vc.has(e)&&t?{summary:d,detail:t}:{summary:d}}function wc({code:e,message:t,params:n},r){const[i,...o]=yc(gc,e)??[],s=i&&o.every(e=>void 0!==n?.[e])?i:yc(pc,e);if(!s)return xc(e,t,r);const a=r(s,n);return t&&t!==a?{summary:a,detail:t}:{summary:a}}const kc=({summary:e,detail:t},n)=>t?n("ui.valuePair",{label:e,value:t}):e,Ec=e=>Object.hasOwn(pc,e),Cc=(e,t)=>{const n=yc(pc,e);return n?t(n):e};class Sc extends Error{constructor(e,t,n,r=null,i=null,o=null,s=null){super(n),this.status=e,this.code=t,this.requestId=r,this.details=i,this.retryAfter=o,this.text=s,this.name="ApiError"}configurationWrite=!1;request=null;get transient(){return(503===this.status||429===this.status)&&null!==this.retryAfter}}async function Pc(e,t="GET"){const n=await e.json().catch(()=>null),r=Number(e.headers.get("Retry-After")),i=new Sc(e.status,n?.error?.code??"",n?.error?.message??(e.statusText||`HTTP ${e.status}`),n?.request_id??null,n?.error?.details??null,r>0?r:null);return e.url&&(i.request={method:t.toUpperCase(),path:new URL(e.url).pathname}),i}const Tc=(e,t,n,r,i)=>new Sc(e,t,n,null,null,null,{key:r,params:i});function jc(e,t,n){const r=new AbortController,i=e?function(e,t){if("function"==typeof AbortSignal.any)return{signal:AbortSignal.any([e,t]),release:()=>{}};const n=new AbortController;if(e.aborted)return n.abort(e.reason),{signal:n.signal,release:()=>{}};const r=()=>n.abort(e.reason),i=()=>n.abort(t.reason);return e.addEventListener("abort",r,{once:!0}),t.addEventListener("abort",i,{once:!0}),{signal:n.signal,release:()=>{e.removeEventListener("abort",r),t.removeEventListener("abort",i)}}}(e,r.signal):{signal:r.signal,release:()=>{}};let o;const s=()=>{clearTimeout(o),o=setTimeout(()=>r.abort(n),t)};return s(),{signal:i.signal,arm:s,over:()=>{clearTimeout(o),i.release()}}}const Mc=new Set([204,205,304]);async function Nc(e,t,n){const r=t?.signal??(e instanceof Request?e.signal:null),i=(t?.method??(e instanceof Request?e.method:"GET")).toUpperCase(),o=n??("GET"!==i&&"HEAD"!==i),s=o?3e4:15e3,a=Tc(0,"timeout",`No response within ${s/1e3} seconds`,o?"ui.errTimeoutWrite":"ui.errTimeout",{seconds:s/1e3}),l=jc(r,s,a);try{const n=await fetch(e,{...t,signal:l.signal});return l.arm(),function(e,t,n,r){if(!e.body||Mc.has(e.status))return n.over(),e;const i=e.body.getReader(),o=new ReadableStream({async pull(e){try{const{done:t,value:r}=await i.read();t?(n.over(),e.close()):(n.arm(),e.enqueue(r))}catch(o){n.over(),e.error(n.signal.aborted&&!t?.aborted?r:o)}},cancel:e=>(n.over(),i.cancel(e))}),s=new Response(o,{status:e.status,statusText:e.statusText,headers:e.headers});for(const a of["url","type","redirected"])Object.defineProperty(s,a,{value:e[a]});return s}(n,r,l,a)}catch(c){if(l.over(),r?.aborted)throw c;if(l.signal.aborted)throw a;if(c instanceof TypeError)throw Tc(0,"network_error",c.message,"ui.errNetwork");throw c}}class Rc extends Error{constructor(e,t=null,n=null,r=null){super(e),this.key=e,this.detail=t,this.code=n,this.details=r,this.name="LocalError"}operation=null}const Lc=(e,t)=>e.detail?e.code?kc(xc(e.code,e.detail,t,e.details),t):e.detail:void 0;function Ic(e,t,n=!0){if(e instanceof Rc){const n="ui.operationFailed"===e.key&&e.code?bc(e.details,t):void 0;if(n)return{summary:n};const r=Lc(e,t);return{summary:r?t("ui.valuePair",{label:t(e.key),value:r}):t(e.key)}}if(e instanceof Sc&&e.text)return{summary:t(e.text.key,e.text.params)};if(!(e instanceof Sc))return{summary:e instanceof Error?e.message:String(e)};const{summary:r,detail:i}=xc(e.code,e.message,t,e.details,e.configurationWrite),o=n&&e.requestId?t("ui.requestNote",{requestId:e.requestId}):"";return i?{summary:r,detail:i+o}:{summary:r+o}}const Kc=(e,t,n=!0)=>kc(Ic(e,t,n),t),_c=e=>e instanceof Sc?e.requestId??void 0:e instanceof Error&&e.cause instanceof Sc?_c(e.cause):void 0,Dc=new Set(["ui.writtenNotApplied","ui.activationDegraded","ui.activationDegradedSaved","ui.activationDegradedUnconfirmed","ui.activationNotSaved","ui.activationUnknown"]);function Ac(e,t,n){return e instanceof Rc&&("ui.operationUnknown"===e.key||"ui.writtenNotRead"===e.key)?{kind:"neutral",text:t(e.key),error:e}:e instanceof Rc&&Dc.has(e.key)?{kind:"negative",text:t(e.key),detail:Lc(e,t),error:e}:{kind:"negative",text:n,detail:Kc(e,t,!1),requestId:_c(e),error:e}}const Oc=({text:e,detail:t,requestId:n},r,i=!0)=>t?r("ui.valuePair",{label:e,value:t+(i&&n?r("ui.requestNote",{requestId:n}):"")}):e;let Fc=[];const qc=new Set,Hc={snapshot:()=>Fc,subscribe:e=>(qc.add(e),()=>{qc.delete(e)}),clear(){Fc=[],qc.forEach(e=>e())}},$c=/secret|token|password|passwd|authorization|credential|cookie|api[_-]?key|private/i,Bc=/^(content|body|text|source_text|config|candidate)$/i;function zc(e){const t=e.replace(/(\bbearer\s+)[\w.~+/=-]+/gi,"$1[redacted]").replace(/\b([a-z][a-z0-9+.-]*:\/\/)[^\s/@]*@/gi,"$1").replace(/(https?:\/\/[^\s?#]*)\?[^\s#]*/gi,"$1");return t.length>300?t.slice(0,300)+"…":t}function Vc(e,t=0){return"string"==typeof e?zc(e):null===e||"object"!=typeof e?e:t>=4?"[omitted]":Array.isArray(e)?e.slice(0,20).map(e=>Vc(e,t+1)):Object.fromEntries(Object.entries(e).slice(0,20).map(([e,n])=>[e,$c.test(e)?"[redacted]":Bc.test(e)?"[omitted]":Vc(n,t+1)]))}function Uc(e){const t=function(e,t=new Date){const n=e instanceof Error&&e.cause instanceof Error?e.cause:null,r=e instanceof Sc||e instanceof Rc?e:n instanceof Sc||n instanceof Rc?n:e,i={time:t.toISOString(),request:null,status:null,code:null,details:null,requestId:null,operation:null};return r instanceof Sc?{...i,request:r.request,status:r.status,code:r.code||null,message:zc(r.message),details:Vc(r.details),requestId:r.requestId}:r instanceof Rc?{...i,code:r.code,message:zc(r.detail??r.key),details:Vc(r.details),operation:r.operation}:{...i,message:zc(r instanceof Error?r.message:String(r))}}(e);return Fc=[...Fc,t].slice(-20),qc.forEach(e=>e()),t}const Wc=e=>getComputedStyle(document.documentElement).getPropertyValue(e).trim();const Gc=(e,t)=>function(e,t){const n=Number.parseFloat(e);return Number.isFinite(n)?/\ds$/.test(e)?1e3*n:n:t}(Wc(e),t),Jc=t.createContext(null);function Zc(e){return t.useContext(Jc)??e??"M"}function Yc({quiet:e,secondary:t,small:n,icon:r,accent:i,negative:o},s="rp-btn"){return Rl(s,e&&"quiet",t&&"secondary",n&&"sm",r&&"icon",i&&"accent",o&&"negative")}const Xc=t.createContext(void 0);function Qc(e){const n=t.useContext(Xc);return e?n:void 0}function eu({reason:e,children:n}){const r=t.useId();return s.jsxs(Xc.Provider,{value:e?{id:r,text:e}:void 0,children:[n,e&&s.jsx(ui,{id:r,children:e})]})}function tu({children:e,onPress:n,label:r,isDisabled:i,isPending:o,tip:a,type:l,form:c,appearance:u,className:d,isSelected:f,expanded:p,size:h,...m}){const g=t.useRef(null),y=i&&!o,v=Qc(y),[b,x]=t.useState(!1),w=Zc(h),k=t.useId(),E=y&&!v&&!!a,C=t.useRef(null),S=e=>{const t=g.current?.querySelector(".rp-spin-on-press");if(!t||matchMedia("(prefers-reduced-motion: reduce)").matches)return;const n=C.current;var r,i;n&&"running"===n.playState?n.effect?.updateTiming({iterations:e}):C.current=t.animate([{rotate:"0deg"},{rotate:"360deg"}],{duration:Gc("--rp-duration-refresh",1e3),iterations:e,easing:1===e?(r="--rp-ease-out",i="cubic-bezier(0, 0, 0.4, 1)",Wc(r)||i):"linear"})};t.useEffect(()=>{if(o)S(1/0);else if("running"===C.current?.playState){const e=Number(C.current.currentTime??0);C.current.effect?.updateTiming({iterations:Math.max(1,Math.ceil(e/Gc("--rp-duration-refresh",1e3)))})}},[o]),t.useEffect(()=>{const e=matchMedia("(prefers-reduced-motion: reduce)"),t=()=>{e.matches&&C.current?.cancel()};return e.addEventListener("change",t),()=>{e.removeEventListener("change",t),C.current?.cancel()}},[]);const P=s.jsxs(Gr,{ref:g,className:Rl(Yc(m,"plain"===u?"":u?`rp-${u}`:"rp-btn"),d),"data-size":w,onPress:()=>{S(1),n?.()},"aria-label":r,"data-toggle-selected":f||void 0,"aria-pressed":f,"aria-expanded":p,"aria-describedby":v?.id??(E?k:void 0),isDisabled:y,isPending:o,type:l,form:c,children:[o?s.jsx("span",{className:"rp-spinner","aria-hidden":"true"}):null,e]}),T=(y?a??v?.text:a)??r;return T?s.jsxs(jl,{delay:400,isOpen:b,onOpenChange:x,children:[s.jsx(Ln,{children:s.jsxs("span",{className:"rp-tipwrap",tabIndex:y?0:-1,"data-passive":y?void 0:"",onPointerDown:e=>{y&&"touch"===e.pointerType&&x(e=>!e)},children:[P,E&&s.jsx(ui,{id:k,children:a})]})}),s.jsx(nu,{triggerRef:g,children:T})]}):P}function nu({children:e,triggerRef:t}){return s.jsxs(Ml,{className:"rp-tip",offset:6,triggerRef:t,children:[s.jsx(Zo,{})," ",e]})}const ru=new WeakMap,iu=new Set;let ou=0;const su="undefined"==typeof ResizeObserver?null:new ResizeObserver(e=>e.forEach(e=>ru.get(e.target)?.())),au='button, a, [role="option"], [role="menuitem"], [role="menuitemradio"], [role="menuitemcheckbox"], [role="radio"]',lu=au+', [role="row"]';function cu({target:e,nested:n}){const r=t.useContext(Pl),i=t.useRef(r);t.useEffect(()=>{i.current=r});const[o,s]=t.useState(!1);return t.useEffect(()=>{const t=e.current,r=n?t?.closest(au):null;if(!t||!r)return;const o=()=>{r.matches(":focus-visible")&&r.querySelector("[data-tip]")===t&&i.current.open(!0)},s=()=>i.current.close(!0);return r.addEventListener("focus",o),r.addEventListener("blur",s),document.activeElement===r&&o(),()=>{r.removeEventListener("focus",o),r.removeEventListener("blur",s)}},[e,n]),t.useEffect(()=>{const t=e.current;if(!t)return;const n=()=>{!matchMedia("(pointer: coarse)").matches||t.closest(au)||t.closest("[data-row-detail]")||(s(!0),i.current.open(!0))};return t.addEventListener("click",n),()=>t.removeEventListener("click",n)},[e]),t.useEffect(()=>{if(!o)return;const t=()=>{s(!1),i.current.close(!0)},n=n=>{e.current?.contains(n.target)||t()},r=e=>{"Escape"===e.key&&t()};return document.addEventListener("pointerdown",n,!0),document.addEventListener("keydown",r,!0),window.addEventListener("scroll",t,!0),()=>{document.removeEventListener("pointerdown",n,!0),document.removeEventListener("keydown",r,!0),window.removeEventListener("scroll",t,!0)}},[o,e]),null}function uu({children:e,text:n,tooltipText:r,className:i,cut:o}){const a=t.useRef(null),[l,c]=t.useState(!1),[u,d]=t.useState(!0),f=l||!!n;t.useEffect(()=>{const e=a.current;if(!e)return;if(n)return void d(!!e.closest(lu));const t=()=>{c(e.scrollWidth>e.clientWidth),d(!!e.closest(lu))};return ru.set(e,t),su?.observe(e),()=>{su?.unobserve(e),ru.delete(e),iu.delete(t)}},[n,f]),t.useEffect(()=>{const e=a.current&&ru.get(a.current);e&&function(e){iu.add(e),ou||(ou=requestAnimationFrame(()=>{ou=0;const e=[...iu];iu.clear();for(const t of e)t()}))}(e)},[e,n,f]);const p=s.jsx("span",{ref:a,className:Rl("rp-truncate","start"===o&&"rp-truncate-start",i),tabIndex:f&&!u?0:-1,"data-tip":f?"":void 0,children:"start"===o?s.jsx("bdi",{children:e}):e});return f?s.jsxs(jl,{delay:400,children:[s.jsx(Ln,{children:p}),s.jsx(cu,{target:a,nested:u}),s.jsx(nu,{children:n??r??e})]}):p}function du({external:e,layout:t,appearance:n,label:r,className:i,quiet:o,secondary:a,small:l,icon:c,accent:u,negative:d,size:f,...p}){const h="button"===n?Yc({quiet:o,secondary:a,small:l,icon:c,accent:u,negative:d}):`rp-${n}`,m=Zc(f);return s.jsx(Ar,{target:e?"_blank":void 0,rel:e?"noreferrer":void 0,"aria-label":r,"data-layout":t,"data-size":m,...p,className:n?(g=i,y=e=>Rl(h,e),e=>y("function"==typeof g?g(e):g,e)):i});var g,y}function fu(e){const t=document;if(!t.startViewTransition||matchMedia("(prefers-reduced-motion: reduce)").matches)return e();t.startViewTransition(()=>i.flushSync(e))}function pu(e,n="[data-selected]",r=!1){const i=t.useRef(null),[o,s]=t.useState(null);return t.useLayoutEffect(()=>{const e=i.current;if(!e)return;const t=t=>{if(!e.offsetWidth)return;const i=e.querySelector(n);if(!i)return s(null);const o=e.getBoundingClientRect();if(r){const t=i.getBoundingClientRect();t.topo.bottom&&(e.scrollTop+=t.bottom-o.bottom)}const a=i.getBoundingClientRect(),l={x:a.left-o.left+e.scrollLeft,y:a.top-o.top+e.scrollTop,w:i.offsetWidth,h:i.offsetHeight,still:t};s(e=>e&&e.x===l.x&&e.y===l.y&&e.w===l.w&&e.h===l.h?e:l)};t(!1);const o=new ResizeObserver(()=>t(!0));o.observe(e);for(const n of e.children)o.observe(n);return()=>o.disconnect()},[e,n,r]),[i,o]}function hu(e,n,r="[data-selected]"){t.useLayoutEffect(()=>{const t=e.current;if(!t)return;const n=()=>{const e=Math.abs(t.scrollLeft),n=[e>1&&"start",e{(()=>{const e=t.querySelector(r);if(!e||!t.offsetWidth||t.scrollWidth<=t.clientWidth)return;const n=t.getBoundingClientRect(),i=e.getBoundingClientRect(),o=Math.max(0,Math.min(24,(n.width-i.width)/2)),s=i.left-(n.left+o),a=i.right-(n.right-o);s<0?t.scrollLeft+=s:a>0&&(t.scrollLeft+=Math.min(a,s))})(),n()};i();const o=new ResizeObserver(i);o.observe(t);for(const e of t.children)o.observe(e);return t.addEventListener("scroll",n,{passive:!0}),()=>{o.disconnect(),t.removeEventListener("scroll",n)}},[e,n,r])}function mu(e,n){const[r,o]=t.useState(!1);return t.useLayoutEffect(()=>{const t=e.current;if(!t)return;const n=()=>o(t.scrollWidth>t.clientWidth);n();const r=new ResizeObserver(()=>i.flushSync(n));r.observe(t);for(const e of t.children)r.observe(e);return()=>r.disconnect()},[e,n]),r}function gu(e=Math.floor,n=0){const r=t.useRef(null),[i,o]=t.useState(null);return t.useLayoutEffect(()=>{const t=r.current;if(!t)return;let i;const s=()=>{if(!t.getClientRects().length)return;const n=getComputedStyle(t),r=(e,t)=>parseFloat(e)+parseFloat(t),i=e(t.clientWidth-r(n.paddingLeft,n.paddingRight)),s=e(t.clientHeight-r(n.paddingTop,n.paddingBottom));o(e=>e?.width===i&&e.height===s?e:{width:i,height:s})};s();const a=new ResizeObserver(()=>{n?void 0===i&&(i=setTimeout(()=>{i=void 0,s()},n)):s()});return a.observe(t),()=>{clearTimeout(i),a.disconnect()}},[e,n]),[r,i]}function yu(){const[e,t]=gu();return[e,t?.width??null]}function vu(e,n=24){const r=t.useRef(null),[i,o]=t.useState(e);return t.useLayoutEffect(()=>{const t=r.current;if(!t)return;let i=0;const s=()=>{if(i=0,!t.getClientRects().length)return;const r=Math.max(e,Math.floor(window.innerHeight-t.getBoundingClientRect().top-n));o(e=>e===r?e:r)},a=()=>{i||(i=requestAnimationFrame(s))};s();const l=new ResizeObserver(a);return l.observe(document.body),window.addEventListener("resize",a),()=>{l.disconnect(),window.removeEventListener("resize",a),cancelAnimationFrame(i)}},[e,n]),[r,i]}const bu="macOS"===navigator.userAgentData?.platform||navigator.platform.startsWith("Mac"),xu='[role="dialog"], [role="alertdialog"]',wu="(min-width: 1200px)",ku="(max-width: 599.98px)";function Eu(e,n){const[r,i]=t.useState(e);r!==e&&(i(e),n(e))}function Cu(e,n=300){const[r,i]=t.useState(e);return t.useEffect(()=>{const t=setTimeout(()=>i(e),n);return()=>clearTimeout(t)},[e,n]),r}function Su(e){const[n,r]=t.useState({target:e,active:!!e});return n.target!==e&&r({target:e,active:!!e}),t.useEffect(()=>{const e=setTimeout(()=>r(e=>({...e,active:!1})),3e3);return()=>clearTimeout(e)},[e]),n.active}function Pu(e,n){const[r,i]=t.useState(n?e:void 0);return n&&r!==e&&i(e),n?e:r}function Tu(e,n=400){const[r,i]=t.useState(!1),o=t.useRef(e);t.useLayoutEffect(()=>{o.current=e},[e]);return[t.useCallback(e=>{if(!e)return;const t=e.getBoundingClientRect();t.top-n&&(i(!0),o.current?.());const r=new IntersectionObserver(e=>{const t=e.at(-1).isIntersecting;i(t),t&&o.current?.()},{rootMargin:`${n}px`});return r.observe(e),()=>r.disconnect()},[n]),r]}function ju(e){const[n,r]=t.useState(()=>"function"==typeof matchMedia&&matchMedia(e).matches);return t.useEffect(()=>{const t=matchMedia(e),n=()=>r(t.matches);return n(),t.addEventListener("change",n),()=>t.removeEventListener("change",n)},[e]),n}function Mu({role:e,children:t}){return s.jsx("div",{className:"rp-empty",role:e,children:t})}function Nu({children:e}){const n=cc(),[r,i]=t.useState(!1);return t.useEffect(()=>{const e=setTimeout(()=>i(!0),150);return()=>clearTimeout(e)},[]),s.jsxs("div",{className:"rp-empty",role:"status","data-wait":r?void 0:"",children:[s.jsx("span",{className:"rp-spinner","aria-hidden":"true"}),e??n("ui.loading")]})}function Ru({tone:e="negative",title:n,children:r,action:i,takeFocus:o}){const a=t.useRef(null);return t.useEffect(()=>{o&&a.current?.focus()},[o]),s.jsxs("div",{ref:a,role:"negative"===e?"alert":"status",tabIndex:o?-1:void 0,className:Rl("rp-alert",e),children:[n&&s.jsx("strong",{className:"rp-alert-title",children:n}),s.jsx("span",{children:r}),i]})}function Lu({problem:e}){return s.jsx(Ru,{tone:"neutral"===e.kind?"informative":"negative",takeFocus:!0,children:e.text})}function Iu({error:e,onRetry:t,message:n}){const r=cc();if(!e)return null;const{summary:i,detail:o}=Ic(e,r);return s.jsxs(Ru,{action:t&&s.jsx(tu,{small:!0,quiet:!0,onPress:t,children:r("ui.retry")}),children:[n?n(i):r("ui.loadFailed",{error:i}),o&&s.jsx("span",{className:"rp-alert-detail",children:o})]})}function Ku({tone:e,children:t,small:n}){return s.jsx("span",{className:Rl("rp-light",e,n&&"sm"),children:null!=t&&s.jsx("span",{children:t})})}function _u({label:e,value:t,pct:n,color:r}){return s.jsxs("div",{className:"rp-bar",children:[s.jsxs("div",{className:"top",children:[s.jsx("span",{className:"l",children:"string"==typeof e?s.jsx(uu,{children:e}):e}),s.jsx("span",{className:"v",children:t})]}),s.jsx("div",{className:"track","aria-hidden":"true",children:s.jsx("div",{className:"fill",style:{width:`${Math.max(0,Math.min(100,n))}%`,background:r}})})]})}function Du({children:e,tone:t,className:n,tip:r}){return s.jsx(uu,{className:Rl("rp-badge",t,n),text:r,children:e})}const Au=new class{constructor(e){this.queue=[],this.subscriptions=new Set,this.visibleToasts=[],this.maxVisibleToasts=e?.maxVisibleToasts??1/0,this.wrapUpdate=e?.wrapUpdate}runWithWrapUpdate(e,t){this.wrapUpdate?this.wrapUpdate(e,t):e()}subscribe(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}add(e,t={}){let n="_"+Math.random().toString(36).slice(2),r={...t,content:e,key:n,timer:t.timeout?new hl(()=>this.close(n),t.timeout):void 0};return this.queue.unshift(r),this.updateVisibleToasts("add"),n}close(e){let t=this.queue.findIndex(t=>t.key===e);t>=0&&(this.queue[t].onClose?.(),this.queue.splice(t,1)),this.updateVisibleToasts("remove")}updateVisibleToasts(e){this.visibleToasts=this.queue.slice(0,this.maxVisibleToasts),this.runWithWrapUpdate(()=>{for(let e of this.subscriptions)e()},e)}pauseAll(){for(let e of this.visibleToasts)e.timer&&e.timer.pause()}resumeAll(){for(let e of this.visibleToasts)e.timer&&e.timer.resume()}clear(){this.queue=[],this.updateVisibleToasts("clear")}}({maxVisibleToasts:5}),Ou=new Map,Fu=(e,t,{detail:n,action:r,requestId:i,error:o,id:s}={})=>{const a=void 0===o?void 0:Uc(o);i&&console.warn(`${t}${n?`\n${n}`:""} (request_id: ${i})`);const l=s??[e,t,n??""].join("\n"),c=Ou.get(l);c&&Au.close(c);const u=Au.add({kind:e,text:t,detail:n,action:r,diagnostic:a},{timeout:r||a?void 0:5e3,onClose:()=>{Ou.get(l)===u&&Ou.delete(l)}});return Ou.set(l,u),u},qu=e=>Au.close(e),Hu=(e,t,n,r)=>{const i=Ac(e,t,n);Fu(i.kind,i.text,{detail:i.detail,requestId:i.requestId,action:r,error:e})},$u=(e,t)=>({detail:Kc(e,t,!1),requestId:_c(e),error:e}),Bu={positive:Kl,negative:_l,warning:_l,info:Dl,neutral:null};function zu({placement:e="bottom",page:n="",onCopyError:r}){const[i,o="center"]=e.split(" "),a=cc(),[l,c]=t.useState(null);null!==l&&l!==n&&c(null);const u=l===n,d=t.useCallback(e=>c(e?n:null),[n]);return t.useEffect(()=>{u?Au.pauseAll():Au.resumeAll()},[u]),t.useEffect(()=>Au.subscribe(()=>{0===Au.visibleToasts.length&&c(null)}),[]),t.useEffect(()=>{if(!u)return;const e=e=>{if("Escape"!==e.key)return;const t=e.target?.closest?.(".rp-toasts");!t&&document.querySelector(xu)||c(null)};return addEventListener("keydown",e),()=>removeEventListener("keydown",e)},[u]),s.jsxs(gl,{queue:Au,className:Rl("rp-toasts",u&&"expanded"),"data-placement":i,"data-align":o,children:[u&&s.jsx(Gr,{className:"rp-toast-underlay","aria-label":a("toast.collapse"),onPress:()=>d(!1)}),u&&s.jsxs("div",{className:"rp-toast-controls",children:[s.jsx(Gr,{className:"rp-btn sm",onPress:()=>Au.clear(),children:a("toast.clearAll")}),s.jsx(Gr,{className:"rp-btn sm",onPress:()=>d(!1),children:a("toast.collapse")})]}),s.jsx(Vu,{expanded:u,edge:i,onExpand:()=>d(!0),onCopyError:r})]})}function Vu({expanded:e,edge:n,onExpand:r,onCopyError:i}){const o=t.useContext(ml),a=o.visibleToasts;return s.jsx(yl,{className:"rp-toast-list",children:({toast:t})=>{const l=a.indexOf(t);return s.jsx(Uu,{item:t,state:o,depth:l,count:a.length,background:!e&&l>0,more:!e&&0===l&&a.length>1?{edge:n,onExpand:r}:null,onCopyError:i})}})}function Uu({item:e,state:t,depth:n,count:r,background:i,more:o,onCopyError:a}){const l=cc(),c=Bu[e.content.kind],{text:u,detail:d,action:f,diagnostic:p}=e.content;return s.jsxs(vl,{toast:e,className:Rl("rp-toast",e.content.kind,i&&"background"),style:{zIndex:r-n,"--i":Math.min(n,3)},inert:i||void 0,children:[s.jsxs(xl,{className:"body",children:[c&&s.jsx("span",{className:"icon",children:s.jsx(c,{})}),s.jsxs("div",{className:"msg",children:[s.jsx(Qr,{slot:"title",elementType:"div",className:"summary",children:u}),d&&s.jsx(Qr,{slot:"description",elementType:"div",className:"detail",children:d})]})]}),s.jsx(Gr,{slot:"close",className:"rp-btn quiet icon close","aria-label":l("ui.close"),children:s.jsx(Il,{})}),(o||f||p)&&s.jsxs("div",{className:"foot",children:[o&&s.jsxs(Gr,{className:"rp-btn sm quiet more",onPress:o.onExpand,children:[s.jsx(Al,{className:Rl("bottom"===o.edge&&"up")}),l("toast.showAllCount",{n:r})]}),f&&s.jsx(Gr,{className:"rp-btn action",onPress:()=>{f.onAction(),f.closeOnAction&&t.close(e.key)},children:f.label}),p&&s.jsx(Gr,{className:"rp-btn action",onPress:()=>a(p),children:l("toast.copyError")})]})]})}let Wu=null;const Gu=new Set,Ju=()=>Gu.forEach(e=>e());function Zu(e=navigator,t=e=>matchMedia(e).matches){if(e.standalone||t("(display-mode: standalone), (display-mode: minimal-ui)"))return null;const n=/Version\/(\d+)[.\d]* (?:Mobile\/\w+ )?Safari\//.exec(e.userAgent);return n?"boolean"==typeof e.standalone&&(/iP(?:hone|ad|od)/.test(e.userAgent)||e.maxTouchPoints>1)?"ios":/Macintosh/.test(e.userAgent)&&e.maxTouchPoints<2&&Number(n[1])>=26?"mac":null:null}function Yu(){const e=cc(),n=t.useSyncExternalStore(e=>(Gu.add(e),()=>Gu.delete(e)),()=>Wu,()=>null);return n?async()=>{if(Wu!==n)return!1;Wu=null,Ju();try{return await n.prompt(),"accepted"===(await n.userChoice).outcome}catch(t){return Fu("negative",e("settings.installFailed"),$u(t,e)),!1}}:null}function Xu(e){return s.jsx(Ll,{...e,children:s.jsx("path",{fill:"currentColor",d:"m18.53 17.47-5.083-5.084C14.417 11.186 15 9.66 15 8c0-3.86-3.14-7-7-7S1 4.14 1 8s3.14 7 7 7c1.66 0 3.185-.584 4.386-1.553l5.084 5.083c.146.147.338.22.53.22s.384-.073.53-.22c.293-.293.293-.767 0-1.06M8 13.5c-3.032 0-5.5-2.468-5.5-5.5S4.968 2.5 8 2.5s5.5 2.468 5.5 5.5-2.468 5.5-5.5 5.5"})})}function Qu(e){return s.jsxs(Ll,{...e,children:[s.jsx("path",{fill:"currentColor",d:"m10.03418,16.66162C5.14258,16.66162.75,12.27295.75,10.20068c0-1.68506,2.59814-4.55029,5.34717-5.89746,1.20117-.60596,2.54736-.93506,3.89307-.95264,5.15771,0,9.25977,4.91943,9.25977,6.8501,0,2.07227-4.36035,6.46094-9.21582,6.46094Zm-.03418-11.81104c-1.11084.01465-2.23145.28906-3.23096.79346-.00244.00146-.00537.00293-.0083.00439-2.60596,1.27539-4.51074,3.75-4.51074,4.55225,0,1.14453,3.67969,4.96094,7.78418,4.96094,4.06836,0,7.71582-3.81641,7.71582-4.96094,0-1.04883-3.48145-5.3501-7.75-5.3501Zm-3.56885.12402h.00977-.00977Z"}),s.jsx("path",{fill:"currentColor",d:"m9.82907,7.64351c.22275-.63691-.47262-1.25888-1.09987-1.01025-.47319.18757-.91275.48099-1.28245.88097-1.49146,1.6136-1.20734,4.23592.75785,5.46243,1.20025.7491,2.79762.68815,3.93958-.14712.6684-.48889,1.10383-1.13556,1.31685-1.83367.20882-.68436-.45803-1.25043-1.1188-.97598-.5365.22284-1.03207.12822-1.24493.06689-.57058-.16439-1.03427-.59003-1.24706-1.14381-.16744-.43575-.16335-.8929-.02115-1.29947Z"})]})}function ed(e){return s.jsxs(Ll,{...e,children:[s.jsx("path",{fill:"currentColor",d:"m9.96582,16.68262C5.11035,16.68262.75,12.29395.75,10.22168c0-.91992.86426-2.35938,2.20117-3.66797.29492-.28809.76953-.28418,1.06055.01172.29004.2959.28418.77051-.01172,1.06055-1.30957,1.28125-1.75,2.31934-1.75,2.5957,0,1.14453,3.64746,4.96094,7.71582,4.96094.60449,0,1.23145-.08496,1.86328-.25195.39746-.10156.81055.13379.91699.53418.10547.40039-.13379.81055-.53418.91699-.75586.19922-1.51172.30078-2.24609.30078Z"}),s.jsx("path",{fill:"currentColor",d:"m16.60352,13.84277c-.20312,0-.40527-.08203-.55371-.24414-.2793-.30566-.25781-.78027.04785-1.05957,1.13965-1.04199,1.65234-1.98242,1.65234-2.31738,0-.80176-1.9043-3.27637-4.51074-4.55176-1.00879-.50977-2.12891-.78418-3.24902-.79785-.62012,0-1.26465.09375-1.90527.2793-.40039.10938-.81445-.11523-.92871-.5127-.11523-.39746.11426-.81348.5127-.92871.77539-.22461,1.55957-.33789,2.33105-.33789,1.35645.0166,2.7041.34668,3.90723.9541,2.74219,1.34277,5.34277,4.20996,5.34277,5.89551,0,.91895-.7998,2.19922-2.14062,3.4248-.14355.13184-.3252.19629-.50586.19629Z"}),s.jsx("path",{fill:"currentColor",d:"m18.78027,17.74121l-5.77808-5.77808c.20337-.29639.35767-.61475.45886-.94604.20886-.68457-.45813-1.25049-1.11877-.97607-.49548.20581-.9458.14062-1.18115.08105l-1.37183-1.37183c-.09448-.36938-.07935-.74487.03979-1.08569.22266-.63672-.47266-1.25879-1.09985-1.01025-.23547.09326-.4624.21338-.67676.35913L2.28027,1.24121c-.29297-.29297-.76758-.29297-1.06055,0s-.29297.76758,0,1.06055l16.5,16.5c.14648.14648.33789.21973.53027.21973s.38379-.07324.53027-.21973c.29297-.29297.29297-.76758,0-1.06055Z"}),s.jsx("path",{fill:"currentColor",d:"m8.20459,12.9978c.69531.43384,1.52295.5874,2.31909.48462l-3.98169-3.98169c-.16833,1.31567.38574,2.7002,1.6626,3.49707Z"})]})}"undefined"!=typeof window&&(addEventListener("beforeinstallprompt",e=>{e.preventDefault(),Wu=e,Ju()}),addEventListener("appinstalled",()=>{Wu=null,Ju()}));const td=t.createContext(!0),nd=()=>t.useContext(td);function rd({trigger:e,title:n,titleHelp:r,description:i,children:o,footer:a,narrow:l,size:c,alert:u,isOpen:d,onOpenChange:f,hideTitle:p,locked:h,reason:m,scrollBody:g}){const y=t.useId(),v=i&&s.jsx(Qr,{slot:"description",id:y,className:"rp-label",children:i}),b=s.jsx(Wa,{className:"rp-underlay","data-size":c,isDismissable:!u&&!h,isKeyboardDismissDisabled:h,isOpen:d,onOpenChange:f,children:s.jsx(Va,{className:Rl("rp-modal",l&&"narrow"),"data-size":c,children:s.jsx(Pa,{className:Rl("rp-dialog",g&&"split"),role:u?"alertdialog":"dialog","aria-label":p?n:void 0,"aria-describedby":i?y:void 0,children:({close:e})=>s.jsxs(eu,{reason:a?m:null,children:[!p&&(r?s.jsxs("div",{className:"rp-help-row",children:[s.jsx(Yr,{slot:"title",children:n}),r]}):s.jsx(Yr,{slot:"title",children:n})),!g&&v,g?s.jsxs(sd,{children:[v,"function"==typeof o?o(e):o]}):"function"==typeof o?o(e):o,a&&s.jsx("div",{className:"foot",children:a(e)})]})})})}),x=s.jsx(Jc,{value:null,children:b});return e?s.jsxs(Sa,{children:[e,x]}):x}function id({children:e,...t}){return s.jsx("form",{...t,className:"rp-dialog-sections",children:e})}function od({title:e,children:n}){const r=t.useId();return s.jsxs("section",{className:"rp-dialog-section","aria-labelledby":e?r:void 0,children:[e&&s.jsx(Yr,{level:3,id:r,className:"rp-label",children:e}),n]})}function sd({children:e}){const n=t.useRef(null),[r,i]=t.useState(!1);return t.useEffect(()=>{const e=n.current;if(!e)return;const t=()=>i(e.scrollHeight>e.clientHeight+1),r=new ResizeObserver(t);return r.observe(e),e.firstElementChild&&r.observe(e.firstElementChild),t(),()=>r.disconnect()},[]),s.jsx("div",{ref:n,className:"rp-dialog-body","data-overflow":r||void 0,tabIndex:0,children:s.jsx("div",{className:"rp-dialog-content",children:e})})}function ad({trigger:e,triggerRef:t,isOpen:n,onOpenChange:r,title:i,label:o,subtitle:a,placement:l="top start",boundaryElement:c,children:u}){const d=s.jsx(Js,{boundaryElement:c,style:()=>c?{maxWidth:c.clientWidth-24}:void 0,className:i?"rp-popover rp-popover-dialog":"rp-popover",placement:l,...e?{}:{triggerRef:t,isOpen:n,onOpenChange:r},children:i?s.jsx(Pa,{className:"rp-popover-body",children:({close:e})=>s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"rp-popover-head",children:[s.jsx(Yr,{slot:"title",children:i}),a]}),u(e)]})}):s.jsx(Pa,{className:"rp-popover-note","aria-label":o,children:({close:e})=>u(e)})}),f=s.jsx(Jc,{value:null,children:d});return e?s.jsxs(Sa,{children:[e,f]}):f}function ld({title:e,isOpen:t,onCancel:n,confirmLabel:r,onConfirm:i,tone:o="negative",isPending:a,isDisabled:l,dismissOnly:c,reason:u,error:d,scrollBody:f,children:p}){const h=cc();return s.jsxs(rd,{title:e,narrow:!0,scrollBody:f,alert:"negative"===o,isOpen:t,reason:u,onOpenChange:e=>{e||n()},footer:()=>c?s.jsx(tu,{onPress:n,children:h("ui.close")}):s.jsxs(s.Fragment,{children:[s.jsx(tu,{onPress:n,children:h("ui.cancel")}),s.jsx(tu,{negative:"negative"===o,accent:"accent"===o,isDisabled:l,isPending:a,onPress:i,children:r})]}),children:[d&&s.jsx(Lu,{problem:d},d.id),p]})}function cd({label:e,confirmationText:n,details:r,isDisabled:i,isPending:o,onConfirm:a,onAbort:l,open:c,setOpen:u}){const d=cc(),[f,p]=t.useState(!1),[h,m]=t.useState(!1),[g,y]=t.useState(null),v=t.useRef(0),b=t.useRef(0),x=t.useRef(null);t.useEffect(()=>()=>x.current?.(),[]);const w=c??f,k=e=>{y(null),(u??p)(e)};return s.jsxs(s.Fragment,{children:[s.jsx(tu,{negative:!0,quiet:!0,isDisabled:i,isPending:o||h,onPress:()=>k(!0),children:e}),s.jsxs(ld,{title:e,confirmLabel:e,isOpen:w,isPending:h,error:g,scrollBody:!!r,onCancel:()=>{x.current&&(x.current(),m(!1)),k(!1)},onConfirm:()=>{(async()=>{const e=++b.current;let t;x.current=()=>{x.current=null,b.current++,l?.()},m(!0),y(null);try{t=await a()}catch(n){t=Kc(n,d)}e===b.current&&(x.current=null,m(!1),t?y({id:++v.current,text:t}):k(!1))})()},children:[s.jsx("p",{className:"rp-label",children:n}),r]})]})}function ud({open:e,title:n,icon:r,onClose:i,actions:o,fit:a=!1,children:l}){const c=cc(),u=ju(wu),d=nd()&&e,[f,p]=t.useState({showing:d,open:e,seen:!1});if(f.showing===d&&f.open===e||p({showing:d,open:e,seen:e&&(f.seen||f.showing)}),t.useEffect(()=>{if(!d||!u)return;const e=e=>{"Escape"!==e.key||e.target?.closest(`${xu}, input, textarea, [role="listbox"], [role="menu"], .rp-toasts`)||i()};return addEventListener("keydown",e),()=>removeEventListener("keydown",e)},[d,u,i]),!d)return null;const h=s.jsx(Gr,{className:"rp-btn quiet icon close","aria-label":c("ui.close"),onPress:i,children:s.jsx(Il,{})}),m=s.jsxs("div",{className:"rp-row",children:[s.jsxs("h2",{className:r?"rp-h3 rp-title-icon":"rp-h3",children:[r,n]}),o?s.jsxs("span",{className:"rp-cluster",children:[o,h]}):h]});return u?s.jsxs("aside",{className:"rp-panel rp-card","aria-label":n,children:[m,l]}):s.jsx(Wa,{className:Rl("rp-underlay rp-drawer-underlay",f.seen&&"still"),isDismissable:!0,isOpen:!0,onOpenChange:e=>!e&&i(),children:s.jsx(Va,{className:Rl("rp-modal rp-drawer",a&&"rp-drawer-fit"),children:s.jsxs(Pa,{className:"rp-dialog","aria-label":n,children:[m,l]})})})}function dd({title:e,text:t,icon:n=s.jsx(Dl,{}),label:r,boundaryElement:i}){const o=cc();return s.jsx(ad,{title:e,placement:"bottom start",boundaryElement:i,trigger:s.jsx(tu,{quiet:!0,icon:!0,className:"rp-help",label:r??o("ui.helpFor",{name:e}),children:n}),children:()=>("string"==typeof t?[t]:t).map(e=>s.jsx("p",{children:e},e))})}function fd({label:e,text:n,children:r}){const[i,o]=t.useState(),a=t.useCallback(e=>{o(e?.closest(".rp-content")??void 0)},[]);return s.jsx("span",{className:"rp-icontip",ref:a,children:s.jsx(dd,{title:e,label:e,text:n,icon:r,boundaryElement:i})})}function pd({help:e,fill:t,children:n}){return s.jsxs("span",{className:t?"rp-help-row rp-help-row-fill":"rp-help-row",children:[t?s.jsx("span",{className:"rp-help-text",children:n}):n,e&&s.jsx(dd,{...e})]})}function hd({children:e,isSelected:n,onChange:r,isDisabled:i,"aria-label":o,"aria-describedby":a,description:l,size:c}){const u=t.useId(),d=Zc(c),f=s.jsxs(nl,{className:"rp-switch","data-size":d,isSelected:n,onChange:r,isDisabled:i,"aria-label":o,"aria-describedby":[a,l&&u].filter(Boolean).join(" ")||void 0,children:[s.jsx("span",{className:"track"}),e]});return l?s.jsxs("div",{className:"rp-field",children:[f,s.jsx("span",{id:u,className:"rp-label",children:l})]}):f}function md({label:e,width:n,search:r,size:i,side:o,className:a,placeholder:l,description:c,help:u,error:d,action:f,reveal:p,prefix:h,suffix:m,autoComplete:g,spellCheck:y,"aria-describedby":v,...b}){const x=cc(),w=Zc(i),k=t.useId(),E=d?{isInvalid:!0,validationBehavior:"aria"}:{};if(r)return s.jsxs(Qa,{...E,...b,"aria-label":e,"aria-describedby":v,className:Rl("rp-search-field",a),style:n?{width:n}:void 0,children:[s.jsxs("span",{className:"rp-input","data-size":w,children:[s.jsx(Xu,{}),s.jsx(Ki,{placeholder:l??e,autoComplete:g,spellCheck:y}),s.jsx(Gr,{className:"clear","aria-label":x("ui.clear"),children:s.jsx(Il,{})})]}),d&&s.jsxs(fi,{className:"rp-field-error",children:[s.jsx(_l,{}),d]})]});const C=s.jsxs("span",{className:Rl("rp-input",(o||!!f)&&"rp-grow",(h||m)&&"affixed"),"data-size":w,children:[h&&s.jsx("span",{className:"affix",id:`${k}-prefix`,children:h}),s.jsx(Ki,{placeholder:l,autoComplete:g,spellCheck:y}),m&&s.jsx("span",{className:"affix",id:`${k}-suffix`,children:m}),p&&s.jsx(Gr,{className:"reveal","aria-label":p.label,onPress:p.onToggle,children:p.shown?s.jsx(ed,{}):s.jsx(Qu,{})})]}),S=s.jsxs(Fr,{className:"rp-label",children:[e,b.isRequired&&s.jsx("span",{"aria-hidden":"true",children:" *"})]});return s.jsxs(al,{...E,...b,"aria-describedby":[v,h&&`${k}-prefix`,m&&`${k}-suffix`].filter(Boolean).join(" ")||void 0,className:Rl(o?"rp-cluster":"rp-field",a),style:n?{width:n}:void 0,children:[u?s.jsx(pd,{help:u,children:S}):S,f?s.jsxs("div",{className:"rp-toolbar",children:[C,f]}):C,c&&s.jsx(Qr,{slot:"description",className:"rp-label",children:c}),d&&s.jsxs(fi,{className:"rp-field-error",children:[s.jsx(_l,{}),d]})]})}function gd({label:e,value:n,description:r}){const i=t.useId();return s.jsxs("div",{className:"rp-field",role:"group","aria-labelledby":`${i}-label`,"aria-describedby":r&&`${i}-help`,children:[s.jsx("span",{className:"lbl",id:`${i}-label`,children:e}),s.jsx("span",{children:n}),r&&s.jsx("span",{className:"rp-label",id:`${i}-help`,children:r})]})}function yd(e){return s.jsx(Ll,{...e,children:s.jsx("path",{fill:"currentColor",d:"M7.864 15.734c-.222 0-.433-.098-.576-.27l-3.747-4.497c-.266-.319-.222-.792.096-1.057.317-.265.79-.223 1.056.096l3.154 3.786 7.44-9.469c.255-.326.728-.382 1.052-.127.326.256.383.728.127 1.053L8.454 15.447c-.14.179-.352.284-.579.287z"})})}const vd=()=>s.jsx(yd,{className:"rp-check-mark"}),bd=t.createContext(null),xd=t.createContext(null);function wd({name:e,cut:n,className:r,text:i}){const o=t.useContext(xd),a=o?.(e);return s.jsxs(uu,{cut:n,className:Rl("rp-node-name",r),text:i,tooltipText:e,children:[a&&s.jsx("span",{className:"rp-node-flag","data-flag":a,"aria-hidden":"true"}),e]})}const kd=({i:e,cut:t,reserveFlag:n=!1})=>{const r="path"===t?e.label.lastIndexOf("/")+1:0;return s.jsxs("span",{className:"rp-il",children:[(e.flag||n&&void 0!==e.flag)&&s.jsx("span",{className:"rp-node-flag","data-flag":e.flag,"aria-hidden":"true"}),e.icon&&s.jsx("span",{className:"ic",children:e.icon}),e.nodeName?s.jsx(wd,{name:e.label,cut:"start"===t?t:void 0}):r?s.jsxs(uu,{className:"rp-path",text:e.label,children:[s.jsx("span",{className:"rp-truncate rp-truncate-start",children:s.jsx("bdi",{children:e.label.slice(0,r)})}),s.jsx("bdi",{children:e.label.slice(r)})]}):s.jsx(uu,{cut:"start"===t?t:void 0,tooltipText:e.label,children:e.label})]})},Ed=({i:e,children:t})=>s.jsxs("span",{className:"rp-item-text",children:[s.jsx(Qr,{slot:"label",elementType:"span",children:s.jsx(kd,{i:e,reserveFlag:!0})}),t??(e.desc&&s.jsx(Qr,{slot:"description",className:"desc",children:e.desc}))]});function Cd(e){let n,r;const i=()=>r??=(async()=>{try{const t=await e();return n=t.default,t}catch(t){throw r=void 0,t}})(),o=t.lazy(i);return{Component:function(e){const[r]=t.useState(()=>n??o);return t.createElement(r,e)},preload:i}}const Sd=Cd(()=>c(()=>import("./SearchList-Bhc2_bS4.js").then(e=>e.a),__vite__mapDeps([2,3,4,5]),import.meta.url).then(e=>({default:e.SearchList}))),Pd=()=>{Sd.preload().catch(()=>{})};function Td({label:e,children:n}){return s.jsx(t.Suspense,{fallback:s.jsxs(s.Fragment,{children:[s.jsx(md,{search:!0,label:e,isDisabled:!0,className:"rp-menu-search"}),s.jsx("div",{className:"rp-menu-scroll rp-menu-pending"})]}),children:s.jsx(Sd.Component,{label:e,children:n})})}const jd=e=>e>12,Md=e=>t=>{if("all"===t)return;const n=[...t][0];null!=n&&e(String(n))};function Nd({item:e,children:t,onAction:n}){return s.jsxs(ka,{id:e.id,className:"rp-item",textValue:e.label,onAction:n,children:[s.jsx(vd,{}),s.jsx(Ed,{i:e,children:t})]})}function Rd({children:e,content:n,label:r,quiet:i,small:o,size:a,chevron:l=!0,isDisabled:c,appearance:u,placement:d="bottom end",count:f,onIntent:p}){const h=f?s.jsx("span",{className:"rp-count","aria-hidden":"true",children:f}):null,m=Qc(c),[g,y]=t.useState(!1),v=Zc(a),b=t.useRef(null),x=s.jsxs(Gr,{ref:b,className:u?"rp-select":Yc({quiet:i,small:o,icon:!l}),"data-size":v,"aria-label":r,"aria-describedby":m?.id,isDisabled:c,onHoverStart:p,onFocus:p,children:[e,h,l&&s.jsx(Al,{})]});return s.jsxs(fa,{children:[l&&!m?x:s.jsxs(jl,{delay:400,isOpen:g,onOpenChange:y,children:[s.jsx(Ln,{children:s.jsx("span",{className:"rp-tipwrap",tabIndex:c?0:-1,"data-passive":c?void 0:"",onPointerDown:e=>{c&&"touch"===e.pointerType&&y(e=>!e)},children:x})}),s.jsx(nu,{triggerRef:b,children:m?.text??r})]}),s.jsx(Js,{className:"rp-popover rp-list-popover",placement:d,children:n})]})}function Ld({label:e,labelledBy:t,sections:n,headers:r=!0,focusedByCaller:i,onAction:o,searchLabel:a,actions:l=[]}){const c="function"==typeof n?n():n,u=!!a&&jd(Id(c)),d=s.jsxs(ga,{"aria-label":e,"aria-labelledby":t??"",className:u?"rp-menu-scroll":void 0,autoFocus:!i&&void 0,children:[c.map(e=>s.jsxs(xa,{id:e.title,"aria-label":r&&!e.hideHeader?void 0:e.title,selectionMode:e.selectionMode??"single",selectedKeys:[e.value],onSelectionChange:e.onChange&&Md(e.onChange),children:[r&&!e.hideHeader&&s.jsx(Ai,{className:"rp-sec-h",children:e.title}),e.items.map(e=>s.jsx(Nd,{item:e,onAction:o&&(()=>o(e.id))},e.id))]},e.title)),l.length>0&&s.jsx(Bi,{className:"rp-hrule"}),l.map((e,t)=>s.jsx(_d,{id:Dd(t),...e},e.label))]});return u?s.jsx(Td,{label:a,children:d}):d}const Id=e=>e.reduce((e,t)=>e+t.items.length,0);function Kd(e,t){for(const n of e){const r=n.items.find(e=>e.id===n.value);if(r)return e.length>1&&r.label!==n.title?t("ui.sectionChoice",{section:n.title,item:r.label}):r.label}return""}const _d=({id:e,label:t,icon:n,onAction:r})=>s.jsxs(ka,{id:e,className:"rp-item rp-subitem",textValue:t,onAction:r,shouldCloseOnSelect:!0,children:[s.jsx("span",{className:"ic",children:n}),s.jsx(uu,{children:t})]}),Dd=e=>`/action-${e}`,Ad=({id:e,label:t,icon:n,sections:r})=>{const i=cc();return s.jsxs(ka,{id:e,className:"rp-item rp-subitem",textValue:t,children:[s.jsx("span",{className:"ic",children:n}),s.jsx(uu,{children:t}),s.jsxs("span",{className:"desc",children:[Kd(r,i),s.jsx(Al,{className:"rp-chev-end"})]})]})};function Od({label:e,submenus:n,actions:r=[]}){const i="function"==typeof n?n():n,o=cc(),a=ju("(max-width: 639px)"),[l,c]="rtl"===It().direction?["ArrowLeft","ArrowRight"]:["ArrowRight","ArrowLeft"],[{open:u,left:d},f]=t.useState({open:null,left:null}),p=t.useRef(null),h=t.useId(),m=e=>{p.current?.focus(),f({open:e,left:null==e?u:null})};if(t.useEffect(()=>{const e=p.current;if(!e||null==u&&null==d)return;const t=null==u?`[data-key="${d}"]`:'[aria-checked="true"], [role="menuitem"]',n=requestAnimationFrame(()=>{document.activeElement===e&&e.querySelector(t)?.focus()});return()=>cancelAnimationFrame(n)},[u,d]),!a)return s.jsxs(ga,{"aria-label":e,"aria-labelledby":"",children:[i.map((e,t)=>"sections"in e?s.jsxs(ma,{children:[s.jsx(Ad,{...e}),s.jsx(Js,{className:"rp-popover rp-list-popover",offset:-4,crossOffset:-9,children:s.jsx(Ld,{...e,headers:e.sections.length>1})})]},e.label):s.jsx(_d,{id:String(t),...e},e.label)),r.map((e,t)=>s.jsx(_d,{id:Dd(t),...e},e.label))]});const g=null==u?null:i[u];if(g&&"sections"in g){const e=()=>m(null),t=t=>{t.key!==c&&"Escape"!==t.key||(t.preventDefault(),t.stopPropagation(),e())};return s.jsxs("div",{ref:p,className:"rp-drill",tabIndex:-1,onKeyDownCapture:t,children:[s.jsxs(Gr,{className:"rp-item rp-drill-back","aria-label":o("ui.back"),onPress:e,children:[s.jsx(Al,{className:"rp-chev-start"}),s.jsx("span",{id:h,children:g.label})]}),s.jsx(Ld,{...g,labelledBy:h,headers:g.sections.length>1,focusedByCaller:!0})]})}const y=e=>null!=e&&i[Number(e)]&&"sections"in i[Number(e)]?Number(e):null;return s.jsx("div",{ref:p,className:"rp-drill",tabIndex:-1,onKeyDownCapture:e=>{const t=y(e.target.dataset.key);e.key===l&&null!=t&&(e.preventDefault(),m(t))},children:s.jsxs(ga,{"aria-label":e,"aria-labelledby":"",autoFocus:null==d&&void 0,shouldCloseOnSelect:!1,onAction:e=>{const t=y(String(e));null!=t&&m(t)},children:[i.map((e,t)=>"sections"in e?s.jsx(Ad,{id:String(t),...e},e.label):s.jsx(_d,{id:String(t),...e},e.label)),r.map((e,t)=>s.jsx(_d,{id:Dd(t),...e},e.label))]})})}function Fd({label:e,items:t,selectionMode:n,value:r,onChange:i,onAction:o,searchLabel:a}){const l="function"==typeof t?t():t,c=!!a&&jd(l.length),u=s.jsx(ga,{"aria-label":e,"aria-labelledby":"",className:c?"rp-menu-scroll":void 0,selectionMode:n,disallowEmptySelection:"single"===n,selectedKeys:null==r?void 0:"string"==typeof r?[r]:r,onSelectionChange:i&&Md(i),shouldCloseOnSelect:"multiple"!==n&&void 0,onAction:o&&(e=>o(String(e))),children:l.map(e=>s.jsx(Nd,{item:e},e.id))});return c?s.jsx(Td,{label:a,children:u}):u}function qd({items:e,selectionMode:t,value:n,onChange:r,sections:i,submenus:o,actions:a,onAction:l,searchLabel:c,triggerLabel:u,...d}){const f=i?Array.isArray(i)&&jd(Id(i)):o?Array.isArray(o)&&o.some(e=>"sections"in e&&!!e.searchLabel&&jd(Id(e.sections))):Array.isArray(e)&&jd(e.length);return s.jsx(Rd,{...d,label:u??d.label,onIntent:c&&f?Pd:void 0,content:o?s.jsx(Od,{label:d.label,submenus:o,actions:a}):i?s.jsx(Ld,{label:d.label,sections:i,onAction:l,searchLabel:c}):s.jsx(Fd,{label:d.label,items:e,selectionMode:t??(null==n?"none":"single"),value:n,onChange:r,onAction:l,searchLabel:c})})}function Hd({title:e,flush:t,aside:n,variant:r,children:i,...o}){return s.jsxs(Ra,{...o,className:"rp-disclosure","data-variant":r,children:[s.jsxs(Yr,{level:3,className:n?"rp-disclosure-head":void 0,children:[s.jsxs(Gr,{slot:"trigger",className:Rl("rp-disclosure-trigger","nav"===r?"rp-group":"rp-btn quiet",t&&"flush"),children:[s.jsx(Al,{}),s.jsx("span",{className:"rp-disclosure-title",children:e})]}),n]}),s.jsx(La,{className:"rp-disclosure-panel",children:s.jsx("div",{className:"rp-disclosure-content",children:i})})]})}const $d=(1n<<64n)-1n;function Bd(e){if(null===e)return null;if(e.length>20||!/^(0|[1-9][0-9]*)$/.test(e))return null;const t=BigInt(e);return t>$d?null:t}function zd(e){if("bigint"!=typeof e)return Bd(e);if(e<0n)throw new RangeError("Unsigned value must not be negative");return e}function Vd(...e){let t=0n;for(const n of e){const e=zd(n);if(null===e)return null;t+=e}return t}function Ud(e,t){const n=zd(e),r=zd(t);return null===n||null===r?null:0n===r?0:Number((10000n*(n>r?r:n)+r/2n)/r)/100}const Wd=e=>e<10?Math.round(10*e)/10:Math.round(e);function Gd(){let e=[],t=0;return{note(n,r=Date.now()){const i="string"==typeof n?Date.parse(n):NaN;if(!Number.isFinite(i))return;e=e.filter(e=>r-e.at<6e4),e.push({at:r,offset:i-r});const o=Math.max(...e.map(e=>e.offset));t=Math.abs(o)>(t?2500:5e3)?o:0},now:(e=Date.now())=>e+t}}let Jd=Gd();function Zd(e){Jd=e}function Yd(e){return Jd.now(e)}const Xd=new Set;let Qd,ef=Yd(),tf=!1;function nf(){ef=Yd(),Xd.forEach(e=>e())}function rf(){clearInterval(Qd),Qd=document.hidden||!Xd.size?void 0:setInterval(nf,5e3)}function of(e){return tf||(tf=!0,document.addEventListener("visibilitychange",()=>{!document.hidden&&Xd.size&&nf(),rf()})),Xd.size||(ef=Yd()),Xd.add(e),1===Xd.size&&rf(),()=>{Xd.delete(e),Xd.size||rf()}}function sf(){return t.useSyncExternalStore(of,()=>ef)}function af({items:e,inline:t,row:n,compact:r,truncate:i}){return s.jsx("div",{className:Rl("rp-kv",(t||n)&&"inline",n&&"row",r&&"compact"),children:e.map(e=>{const{label:t,value:n,full:r,help:o,nodeName:a}=Array.isArray(e)?{label:e[0],value:e[1]}:e;return s.jsxs("div",{children:[s.jsx("span",{className:"k",children:o?s.jsx(pd,{help:o,children:t}):i?s.jsx(uu,{children:t}):t}),r||i?s.jsx(uu,{className:"v",text:r,children:n}):s.jsx("span",{className:"v",children:a&&"string"==typeof n?s.jsx(wd,{name:n}):n})]},t)})})}function lf(e){return s.jsxs(Ll,{...e,children:[s.jsx("path",{fill:"currentColor",d:"M17.25 16.521h-10c-.414 0-.75-.335-.75-.75s.336-.75.75-.75h10c.414 0 .75.336.75.75s-.336.75-.75.75M17.25 10.521h-10c-.414 0-.75-.335-.75-.75s.336-.75.75-.75h10c.414 0 .75.336.75.75s-.336.75-.75.75M17.25 4.521h-10c-.414 0-.75-.335-.75-.75s.336-.75.75-.75h10c.414 0 .75.336.75.75s-.336.75-.75.75"}),s.jsx("circle",{cx:"3.5",cy:"3.771",r:"1.5",fill:"currentColor"}),s.jsx("circle",{cx:"3.5",cy:"9.771",r:"1.5",fill:"currentColor"}),s.jsx("circle",{cx:"3.5",cy:"15.771",r:"1.5",fill:"currentColor"})]})}const cf=t.createContext(void 0),uf=()=>t.useContext(cf),df=(e,t,n)=>n("ui.valuePair",{label:e,value:t.map(e=>n("ui.chartPart",{label:e.label,value:e.text})).join(n("ui.separator"))}),ff=(...e)=>Rl("rp-card",...e),pf=t.createContext(!0);function hf({icon:e,tint:t,kind:n,layout:r,label:i,children:o}){return s.jsxs("span",{className:`${"metric"===n?"rp-tile-head":"rp-qlabel"} rp-tint-c${t}`,"data-layout":r,children:[e,s.jsx("span",{className:"metric"===n?"rp-tile-caption":"rp-truncate",children:i}),"metric"===n&&o?s.jsx("span",{className:"rp-tile-controls",children:o}):o]})}function mf({title:e,titleVariant:n="heading",level:r=2,titleId:i,tile:o,note:a,help:l,aside:c,reason:u,id:d,className:f,isHighlighted:p,tabIndex:h,"aria-label":m,children:g,ref:y,size:v}){const b=t.useId(),x=t.useId(),w=i??b,k="caption"===n?"span":2===r?"h2":"h3",E=t.useContext(pf),C=null!=e&&!o,S=null!=e&&(E||o)&&s.jsx(k,{className:"caption"===n?"rp-qlabel":"rp-h3",id:w,children:e}),P=o?s.jsx(hf,{...o,label:e,children:"metric"===o.kind&&c}):S?s.jsx(pd,{help:l,children:S}):S,T=s.jsx("section",{ref:y,id:d,tabIndex:h,"data-highlighted":p||void 0,className:ff(C&&"rp-titled","responsive"===o?.layout&&"rp-tile-responsive","control"===o?.kind&&"rp-control-card",f),"aria-labelledby":C&&E&&!m?w:void 0,"aria-label":m??(C&&!E?e:void 0),children:s.jsxs(eu,{reason:u,children:[c&&"metric"!==o?.kind?s.jsxs("div",{className:"rp-row",children:[P,c]}):P,a&&s.jsx("p",{className:"rp-note",id:x,children:a}),s.jsx(cf.Provider,{value:a?x:void 0,children:g})]})});return s.jsx(Jc,{value:v??null,children:T})}function gf(e){return s.jsx(Ll,{...e,children:s.jsx("path",{fill:"currentColor",d:"M10 3a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m0 5.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m0 5.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3"})})}const yf=({orientation:e="vertical"})=>s.jsx(Bi,{orientation:e,className:"vertical"===e?"rp-vrule":"rp-hrule"}),vf=/Failed to fetch dynamically imported module|error loading dynamically imported module|Importing a module script failed|Unable to preload CSS/i;function bf(e){const t=e instanceof Error?e.message:"string"==typeof e?e:"";return vf.test(t)}const xf="doona-stale-reload";function wf(){const e=cc();return s.jsx(Ru,{action:s.jsx(tu,{small:!0,quiet:!0,onPress:()=>location.reload(),children:e("ui.reloadPage")}),children:e("ui.staleBuild")})}class kf extends t.Component{state={error:null};static getDerivedStateFromError(e){return{error:e instanceof Error?e:new Error(String(e))}}componentDidCatch(e){void 0===this.props.fallback&&bf(e)&&function(e=()=>location.reload(),t=Date.now(),n){try{const e=n??sessionStorage,r=Number(e.getItem(xf));if(Math.abs(t-r)<3e4)return!1;e.setItem(xf,String(t))}catch{return!1}e()}()}render(){return this.state.error?void 0!==this.props.fallback?this.props.fallback:bf(this.state.error)?s.jsx(wf,{}):s.jsx(Iu,{error:this.state.error,onRetry:()=>location.reload()}):this.props.children}}function Ef(e){return s.jsxs("svg",{className:"rp-icon",viewBox:"0 0 20 20",fill:"none",stroke:"currentColor",strokeWidth:"1.5","aria-hidden":"true",...e,children:[s.jsx("rect",{x:"3",y:"3",width:"6",height:"6",rx:"1"}),s.jsx("rect",{x:"12",y:"3",width:"5",height:"9",rx:"1"}),s.jsx("rect",{x:"3",y:"12",width:"6",height:"5",rx:"1"}),s.jsx("path",{d:"M12 15h5"})]})}const Cf=/\{[^{}]+\}/g;function Sf(e){let{baseUrl:t="",Request:n=globalThis.Request,fetch:r=globalThis.fetch,querySerializer:i,bodySerializer:o,pathSerializer:s,headers:a,requestInitExt:l,...c}={...e};l="object"==typeof process&&Number.parseInt(process?.versions?.node?.substring(0,2))>=18&&process.versions.undici?l:void 0,t=If(t);const u=[];async function d(e,d){const{baseUrl:f,fetch:p=r,Request:h=n,headers:m,params:g={},parseAs:y="json",querySerializer:v,bodySerializer:b=o??Rf,pathSerializer:x,body:w,middleware:k=[],...E}=d||{};let C=t;f&&(C=If(f)??t);let S="function"==typeof i?i:Mf(i);v&&(S="function"==typeof v?v:Mf({..."object"==typeof i?i:{},...v}));const P=x||s||Nf,T=void 0===w?void 0:b(w,Lf(a,m,g.header)),j=Lf(void 0===T||T instanceof FormData?{}:{"Content-Type":"application/json"},a,m,g.header),M=[...u,...k],N={redirect:"follow",...c,...E,body:T,headers:j};let R,L,I,K=new h(function(e,t){let n=`${t.baseUrl}${e}`;t.params?.path&&(n=t.pathSerializer(n,t.params.path));let r=t.querySerializer(t.params.query??{});r.startsWith("?")&&(r=r.substring(1));r&&(n+=`?${r}`);return n}(e,{baseUrl:C,params:g,querySerializer:S,pathSerializer:P}),N);for(const t in E)t in K||(K[t]=E[t]);if(M.length){R=Math.random().toString(36).slice(2,11),L=Object.freeze({baseUrl:C,fetch:p,parseAs:y,querySerializer:S,bodySerializer:b,pathSerializer:P});for(const t of M)if(t&&"object"==typeof t&&"function"==typeof t.onRequest){const n=await t.onRequest({request:K,schemaPath:e,params:g,options:L,id:R});if(n){if(!(n instanceof h)){if(n instanceof Response){I=n;break}throw new Error("onRequest: must return new Request() or Response() when modifying the request")}K=n}}}if(!I){try{I=await p(K,l)}catch(A){let t=A;if(M.length)for(let n=M.length-1;n>=0;n--){const r=M[n];if(r&&"object"==typeof r&&"function"==typeof r.onError){const n=await r.onError({request:K,error:t,schemaPath:e,params:g,options:L,id:R});if(n){if(n instanceof Response){t=void 0,I=n;break}if(n instanceof Error){t=n;continue}throw new Error("onError: must return new Response() or instance of Error")}}}if(t)throw t}if(M.length)for(let t=M.length-1;t>=0;t--){const n=M[t];if(n&&"object"==typeof n&&"function"==typeof n.onResponse){const t=await n.onResponse({request:K,response:I,schemaPath:e,params:g,options:L,id:R});if(t){if(!(t instanceof Response))throw new Error("onResponse: must return new Response() when modifying the response");I=t}}}}const _=I.headers.get("Content-Length");if(204===I.status||"HEAD"===K.method||"0"===_&&!I.headers.get("Transfer-Encoding")?.includes("chunked"))return I.ok?{data:void 0,response:I}:{error:void 0,response:I};if(I.ok){const e=async()=>{if("stream"===y)return I.body;if("json"===y&&!_){const e=await I.text();return e?JSON.parse(e):void 0}return await I[y]()};return{data:await e(),response:I}}let D=await I.text();try{D=JSON.parse(D)}catch{}return{error:D,response:I}}return{request:(e,t,n)=>d(t,{...n,method:e.toUpperCase()}),GET:(e,t)=>d(e,{...t,method:"GET"}),PUT:(e,t)=>d(e,{...t,method:"PUT"}),POST:(e,t)=>d(e,{...t,method:"POST"}),DELETE:(e,t)=>d(e,{...t,method:"DELETE"}),OPTIONS:(e,t)=>d(e,{...t,method:"OPTIONS"}),HEAD:(e,t)=>d(e,{...t,method:"HEAD"}),PATCH:(e,t)=>d(e,{...t,method:"PATCH"}),TRACE:(e,t)=>d(e,{...t,method:"TRACE"}),use(...e){for(const t of e)if(t){if("object"!=typeof t||!("onRequest"in t||"onResponse"in t||"onError"in t))throw new Error("Middleware must be an object with one of `onRequest()`, `onResponse() or `onError()`");u.push(t)}},eject(...e){for(const t of e){const e=u.indexOf(t);-1!==e&&u.splice(e,1)}}}}function Pf(e,t,n){if(null==t)return"";if("object"==typeof t)throw new Error("Deeply-nested arrays/objects aren’t supported. Provide your own `querySerializer()` to handle these.");return`${e}=${!0===n?.allowReserved?t:encodeURIComponent(t)}`}function Tf(e,t,n){if(!t||"object"!=typeof t)return"";const r=[],i={simple:",",label:".",matrix:";"}[n.style]||"&";if("deepObject"!==n.style&&!1===n.explode){for(const e in t)r.push(e,!0===n.allowReserved?t[e]:encodeURIComponent(t[e]));const i=r.join(",");switch(n.style){case"form":return`${e}=${i}`;case"label":return`.${i}`;case"matrix":return`;${e}=${i}`;default:return i}}for(const s in t){const i="deepObject"===n.style?`${e}[${s}]`:s;r.push(Pf(i,t[s],n))}const o=r.join(i);return"label"===n.style||"matrix"===n.style?`${i}${o}`:o}function jf(e,t,n){if(!Array.isArray(t))return"";if(!1===n.explode){const r={form:",",spaceDelimited:"%20",pipeDelimited:"|"}[n.style]||",",i=(!0===n.allowReserved?t:t.map(e=>encodeURIComponent(e))).join(r);switch(n.style){case"simple":return i;case"label":return`.${i}`;case"matrix":return`;${e}=${i}`;default:return`${e}=${i}`}}const r={simple:",",label:".",matrix:";"}[n.style]||"&",i=[];for(const o of t)"simple"===n.style||"label"===n.style?i.push(!0===n.allowReserved?o:encodeURIComponent(o)):i.push(Pf(e,o,n));return"label"===n.style||"matrix"===n.style?`${r}${i.join(r)}`:i.join(r)}function Mf(e){return function(t){const n=[];if(t&&"object"==typeof t)for(const r in t){const i=t[r];if(null!=i)if(Array.isArray(i)){if(0===i.length)continue;n.push(jf(r,i,{style:"form",explode:!0,...e?.array,allowReserved:e?.allowReserved||!1}))}else"object"!=typeof i?n.push(Pf(r,i,e)):n.push(Tf(r,i,{style:"deepObject",explode:!0,...e?.object,allowReserved:e?.allowReserved||!1}))}return n.join("&")}}function Nf(e,t){let n=e;for(const r of e.match(Cf)??[]){let e=r.substring(1,r.length-1),i=!1,o="simple";if(e.endsWith("*")&&(i=!0,e=e.substring(0,e.length-1)),e.startsWith(".")?(o="label",e=e.substring(1)):e.startsWith(";")&&(o="matrix",e=e.substring(1)),!t||void 0===t[e]||null===t[e])continue;const s=t[e];Array.isArray(s)?n=n.replace(r,jf(e,s,{style:o,explode:i})):n="object"!=typeof s?"matrix"!==o?n.replace(r,"label"===o?`.${encodeURIComponent(s)}`:encodeURIComponent(s)):n.replace(r,`;${Pf(e,s)}`):n.replace(r,Tf(e,s,{style:o,explode:i}))}return n}function Rf(e,t){if(e instanceof FormData)return e;if(t){if("application/x-www-form-urlencoded"===(t.get instanceof Function?t.get("Content-Type")??t.get("content-type"):t["Content-Type"]??t["content-type"]))return new URLSearchParams(e).toString()}return JSON.stringify(e)}function Lf(...e){const t=new Headers;for(const n of e){if(!n||"object"!=typeof n)continue;const e=n instanceof Headers?n.entries():Object.entries(n);for(const[n,r]of e)if(null===r)t.delete(n);else if(Array.isArray(r))for(const e of r)t.append(n,e);else void 0!==r&&t.set(n,r)}return t}function If(e){return e.endsWith("/")?e.substring(0,e.length-1):e}const Kf=e=>/^[\w.-]+$/.test(e);function _f(e){if(e.includes("'")||/[\r\n]|(^|[^\\])(?:\\\\)*\\$/.test(e))throw new Rc("config.unquotable");return`'${e}'`}function Df(e){try{return _f(e),!0}catch{return!1}}function Af(e){const t=[],n=[],r=[];let i=0,o=0;for(let s=0;s"===e[s+1])s+=2;else for(;s"!==e[s+1]);)s++;const d={from:l,to:s,line:c,kind:u,depth:r.length,parens:o};if("symbol"===u&&"{"===a){let o=t.length-1;for(;o>=0&&("comment"===t[o].kind||":"===e.slice(t[o].from,t[o].to));)o--;const s=t[o],a={name:s?Ff(e.slice(s.from,s.to)):"",from:s?.from??l,open:l,close:e.length,to:e.length,line:s?.line??i,endLine:i,depth:r.length,children:[]};(r.at(-1)?.children??n).push(a),r.push(a)}else if("symbol"===u&&"}"===a){const e=r.pop();e&&(e.close=l,e.to=s,e.endLine=i)}else"symbol"===u&&"("===a?o++:"symbol"===u&&")"===a&&(o=Math.max(0,o-1));t.push(d)}return{blocks:n,tokens:t}}function Of(e){if(/[\r\n]/.test(e))return!1;let t=0;for(const n of Af(e).tokens){if("comment"===n.kind)return!1;if("quoted"===n.kind)continue;const r=e.slice(n.from,n.to);if(r.includes("{")||r.includes("}"))return!1;if("("===r&&t++,")"===r&&--t<0)return!1}return 0===t}const Ff=e=>/^['"]/.test(e)?e.slice(1,-1):e;function qf(e){const t=Af(e).tokens.filter(e=>"comment"===e.kind);for(const n of t.reverse())e=e.slice(0,n.from)+e.slice(n.to);return e}function Hf(e,t,n){const r=[];let i;for(let o=0;o=t.close)continue;const a=e.slice(s.from,s.to);if(0===s.parens&&("comment"===s.kind||i&&e.slice(i.valueTo,s.from).includes("\n"))&&(i=void 0),s.depth!==t.depth+1||"comment"===s.kind)continue;const l=n[o+1];(!i||i.valueTo>i.valueFrom&&s.from>i.valueTo&&","!==e.slice(n[o-1].from,n[o-1].to))&&0===s.parens&&("text"===s.kind||"quoted"===s.kind)&&l&&":"===e.slice(l.from,l.to)?(i={name:Ff(a),from:s.from,to:l.to,valueFrom:l.to,valueTo:l.to,value:""},r.push(i),o++):i&&(i.to=s.to,i.valueTo=s.to)}for(const o of r)o.value=e.slice(o.valueFrom,o.valueTo).trim();return r}function $f(e,t){const n=e.slice(t.open+1,t.close);return t.line===t.endLine?[n]:n.replace(/^[^\S\n]*\n/,"").replace(/\n[^\S\n]*$/,"").split("\n")}function Bf(e,t){const n=[];let r=t.open+1;/^[^\S\n]*\n/.test(e.slice(r,t.close))&&(r=e.indexOf("\n",r)+1);const i=e.lastIndexOf("\n",t.close-1)+1,o=i>r&&/^[ \t]*$/.test(e.slice(i,t.close))?i-1:t.close;for(;r<=o;){const i=e.indexOf("\n",r);let s=-1===i?o:Math.min(i,o);const a=t.children.find(e=>e.from>=r&&e.from<=s);if(a){const t=e.indexOf("\n",a.to);s=-1===t?o:Math.min(t,o)}n.push({from:r,to:s,block:a}),r=s+1}return n}function zf(e){const t=e?.extensions?.["x-honk"];return{export:!0===t?.config_export?.available,import:!0===t?.config_import?.available,revisions:!0===t?.config_revisions?.available,replaceRequired:!0===t?.config_import?.replace_required,canActivate:!0===t?.config_revisions?.available&&!0===t.config_revisions.can_activate,maxRevisions:t?.config_revisions?.max_revisions}}function Vf(e){const t=e?.["x-honk"]?.store;return t?{recorded:t.recorded}:void 0}const Uf="/api/v1/x-honk/config/export",Wf="/api/v1/x-honk/config/import",Gf="/api/v1/x-honk/config/revisions",Jf="/api/v1/x-honk/config/revisions/{revision}/activate";function Zf(e){const t=/filename="([^"]+)"|filename=([^;\s]+)/i.exec(e??""),n=(t?.[1]??t?.[2]??"").split(/[\\/]/).pop()?.replace(/[\x00-\x1f\x7f]/g,"");return n&&"."!==n&&".."!==n?n:"honk.dae"}const Yf=e=>"succeeded"===e||"failed"===e;async function Xf(e){const t=(new TextEncoder).encode(e),n=globalThis.crypto?.subtle;return[...n?new Uint8Array(await n.digest("SHA-256",t)):function(e){const t=e.length,n=new Uint8Array(64*Math.ceil((t+9)/64));n.set(e),n[t]=128;const r=new DataView(n.buffer);r.setUint32(n.length-8,Math.floor(8*t/4294967296)),r.setUint32(n.length-4,8*t>>>0);const i=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],o=new Uint32Array(64),s=(e,t)=>e>>>t|e<<32-t;for(let c=0;c>>3,t=s(o[r-2],17)^s(o[r-2],19)^o[r-2]>>>10;o[r]=o[r-16]+e+o[r-7]+t>>>0}let[e,t,n,a,l,u,d,f]=i;for(let r=0;r<64;r++){const i=f+(s(l,6)^s(l,11)^s(l,25))+(l&u^~l&d)+Qf[r]+o[r]>>>0,c=(s(e,2)^s(e,13)^s(e,22))+(e&t^e&n^t&n)>>>0;f=d,d=u,u=l,l=a+i>>>0,a=n,n=t,t=e,e=i+c>>>0}i[0]=i[0]+e>>>0,i[1]=i[1]+t>>>0,i[2]=i[2]+n>>>0,i[3]=i[3]+a>>>0,i[4]=i[4]+l>>>0,i[5]=i[5]+u>>>0,i[6]=i[6]+d>>>0,i[7]=i[7]+f>>>0}const a=new Uint8Array(32),l=new DataView(a.buffer);return i.forEach((e,t)=>l.setUint32(4*t,e)),a}(t)].map(e=>e.toString(16).padStart(2,"0")).join("")}const Qf=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function ep(){if("function"==typeof crypto.randomUUID)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint8Array(16));e[6]=15&e[6]|64,e[8]=63&e[8]|128;const t=[...e].map(e=>e.toString(16).padStart(2,"0")).join("");return`${t.slice(0,8)}-${t.slice(8,12)}-${t.slice(12,16)}-${t.slice(16,20)}-${t.slice(20)}`}const tp=e=>e<128?1:e<2048?2:e>=56320&&e<57344?0:e>=55296&&e<56320?4:3;async function np(e,t,n,r,i=1048576){n?.throwIfAborted();const o=e.getReader(),s=new TextDecoder;let a,l=[],c=0,u=0,d=0,f=0,p=!1,h="",m=[];const g=()=>Tc(0,"frame_too_large",`Event stream frame exceeds ${i} bytes`,"ui.errStreamFrame",{size:i%1048576?`${i} B`:i/1048576+" MiB"}),y=()=>u+d+f+c>i,v=e=>{if(y())throw g();if(""===e)return t({id:a,event:h||"message",data:m.join("\n")}),h="",a=void 0,m=[],void(u=d=f=0);if(e.startsWith(":"))return;const n=e.indexOf(":"),r=n<0?e:e.slice(0,n);let i=n<0?"":e.slice(n+1);i.startsWith(" ")&&(i=i.slice(1)),"event"===r&&(h=i,f=c),"data"===r&&(m.push(i),u+=c),"id"!==r||i.includes("\0")||(a=i,d=c)},b=()=>{o.cancel(n?.reason).catch(()=>{})};n?.addEventListener("abort",b,{once:!0});try{for(;;){const{value:e,done:t}=await o.read();n?.throwIfAborted(),r?.();const i=s.decode(e,{stream:!t});let a=0;for(let n=0;n{}),o.releaseLock()}}function rp(e,t){return t?.throwIfAborted(),new Promise((n,r)=>{const i=()=>{clearTimeout(o),r(t?.reason)},o=setTimeout(()=>{t?.removeEventListener("abort",i),n()},1e3*Math.max(1,e));t?.addEventListener("abort",i,{once:!0})})}const ip=new Set,op=new Set;let sp=null;function ap(){sp=[...ip].reduce((e,t)=>e&&e.until>=t.until?e:t,null),op.forEach(e=>e())}const lp=()=>sp;function cp(e){return op.add(e),()=>{op.delete(e)}}async function up(e,t,n){if(t<=3)return rp(t,n);const r={status:e,until:Date.now()+1e3*t};ip.add(r),ap();try{await rp(t,n)}finally{ip.delete(r),ap()}}const dp=(e,t,n)=>Object.hasOwn(e,t)?n(e[t]):t,fp=["tproxy_port","tproxy_port_protect","pprof_port","so_mark_from_dae","log_level","log_file","disable_waiting_network","lan_interface","wan_interface","auto_config_kernel_parameter","data_dir","store_subscribe","tcp_check_url","tcp_check_http_method","udp_check_dns","check_interval","check_tolerance","dial_mode","nfqueue_enable","allow_insecure","sniffing_timeout","tls_implementation","utls_imitate","tls_fragment","tls_fragment_length","tls_fragment_interval","mptcp","bootstrap_resolver","fallback_resolver","bandwidth_max_tx","bandwidth_max_rx","udp_warm_node_count","preconnect_node_count","max_concurrent_dials"],pp={select:"selector",selector:"selector",fixed:"selector",min:"selector",random:"selector",urltest:"urltest",min_moving_avg:"urltest",min_avg10:"urltest",min_last_delay:"urltest",roundrobin:"loadbalance",round_robin:"loadbalance",loadbalance:"loadbalance",balance:"loadbalance",fallback:"fallback",score:"score"};function hp(e){const t=e.split("(",1)[0].trim().replace(/[A-Z]/g,e=>e.toLowerCase());return Object.hasOwn(pp,t)?pp[t]:void 0}const mp=["select","urltest","roundrobin","fallback","score","fixed","min_moving_avg","min_avg10","min_last_delay","loadbalance"],gp=[{id:"min_moving_avg",label:"policy.kind.urltest",description:"group.policy.fastestHint"},{id:"score",label:"policy.kind.score",description:"group.policy.scoreHint"},{id:"fallback",label:"policy.kind.fallback",description:"group.policy.fallbackHint"},{id:"roundrobin",label:"policy.kind.loadbalance",description:"group.policy.spreadHint"},{id:"select",label:"policy.kind.selector",description:"group.policy.manualHint"}],yp=["direct","block"],vp=[...yp,...yp.map(e=>`${e}(must)`)],bp=e=>null!=e&&yp.includes(e);function xp(e){if((new TextEncoder).encode(e).length>2048||/[\s,]/.test(e)||!/^https?:\/\/[^/?#@]+(?:[/?#]|$)/i.test(e))return!1;try{const t=new URL(e);return!!t.hostname&&"0"!==t.port}catch{return!1}}const wp={warm:0,unknown:1,mixed:2,cold:3},kp={http_headers:0,http_round_trip:1,quic_handshake:2,tcp_connect:3,mixed:4,unknown:5,dns_round_trip:6},Ep=e=>10*(wp[e.warmth]??1)+(kp[e.measurement]??5);function Cp(e){const t=e.filter(e=>"tcp"===e.transport&&"data"===e.purpose),n=Math.min(...t.map(Ep));return Sp(t.filter(e=>Ep(e)===n))}function Sp(e){const t=[...e].sort((e,t)=>("ipv4"===e.ip_version?0:1)-("ipv4"===t.ip_version?0:1));return t.find(e=>"healthy"===e.state&&null!=e.latency_ms)??t.find(e=>"healthy"===e.state)??t.find(e=>"unavailable"===e.state)??t[0]}const Pp=e=>Cp(e.health),Tp=["TCP","HTTP","UDP","DNS"],jp=e=>"dns"===e.purpose?"DNS":"udp"===e.transport?"UDP":e.measurement.startsWith("http")?"HTTP":"TCP";function Mp(e){const t=new Map;for(const n of e){const e=jp(n),r=e+"/"+n.transport,i=t.get(r);i?i.rows.push(n):t.set(r,{kind:e,transport:n.transport,rows:[n]})}return[...t.values()].map(({kind:e,transport:t,rows:n})=>{const r=new Map;for(const s of n)r.set(s.ip_version,Math.max(r.get(s.ip_version)??-1/0,Date.parse(s.observed_at)));const i=n.filter(e=>Date.parse(e.observed_at)===r.get(e.ip_version)),o=Math.min(...i.map(Ep));return{kind:e,transport:t,observation:Sp(i.filter(e=>Ep(e)===o))}}).sort((e,t)=>Tp.indexOf(e.kind)-Tp.indexOf(t.kind)||e.transport.localeCompare(t.transport))}const Np=e=>"healthy"===e?.state&&null!=e.latency_ms?e.latency_ms:void 0,Rp=(e,t)=>(e??1/0)-(t??1/0)||0;function Lp(e){const t=e?Vd(...e.outbounds.map(e=>e.download_bytes)):null,n=(e?.outbounds??[]).map(e=>({name:e.name,kind:e.kind,bytes:Bd(e.download_bytes),percent:Ud(e.download_bytes,t)}));return n.sort((e,t)=>e.bytes===t.bytes?0:null===e.bytes?1:null===t.bytes||e.bytes>t.bytes?-1:1),{rows:n,total:t}}function Ip(e){return"A"!==e.type&&"AAAA"!==e.type?null:(e.answers??[]).find(t=>t.type===e.type)?.data??null}function Kp(e){const t=e.trim().replace(/^\[([^\]]+)\]$/,"$1");if(/^(?:0|[1-9]\d{0,2})(?:\.(?:0|[1-9]\d{0,2})){3}$/.test(t)&&t.split(".").every(e=>Number(e)<=255))return t;if(t.includes(":")&&/^[\da-f:.]+$/i.test(t))try{return new URL("http://["+t+"]/").hostname.slice(1,-1)}catch{return}}const _p=e=>bp(e.protocol)?"builtin":"unattributed";function Dp(e,t){return!!e&&!!t&&!e.some(e=>"subscription"===e.kind||"file"===e.kind)&&t.every(e=>"builtin"===_p(e))}function Ap(e,t){let n=e;for(;t.some(e=>e.id===n);)n+="-";return n}const Op=(e,t)=>e.provider_id??Ap(_p(e),t);function Fp(e){if(e)return Kp(e.startsWith("[")?e.slice(1,e.indexOf("]")):2===e.split(":").length?e.split(":")[0]:e)}const qp=e=>e?.match(/^(?:\[[^\]]+\]|[^:]+):(\d+)$/)?.[1];function Hp(e,t){return"direct"===e?t("ui.direct"):"block"===e?t("ui.block"):null===e||"unknown"===e?t("ui.unknown"):e}const $p=(e,t)=>e.map(e=>t?.get(e)??e);function Bp(e,t,n){return bp(e.outbound)?t?Hp(e.outbound,t):e.outbound:$p(e.chain,n).join(" → ")||"—"}function zp(e,t,n){if(bp(e.outbound))return Hp(e.outbound,t);const r=e.chain.at(-1);return r?n?.get(r)??r:e.outbound&&"unknown"!==e.outbound?e.outbound:"—"}const Vp=(e,t,n)=>e.chain.length>1?Bp(e,t,n):null,Up={starting:"lifecycle.starting",running:"lifecycle.running",reloading:"lifecycle.reloading",suspended:"lifecycle.suspended",draining:"lifecycle.draining",degraded:"lifecycle.degraded",failed:"lifecycle.failed"},Wp=e=>"running"===e?"ok":"failed"===e?"err":"warn",Gp=e=>e>90?"err":e>75?"warn":"ok",Jp=e=>e.closed?e.skipped?"info":"positive":"negative",Zp={observed:"conn.state.observed",routing:"conn.state.routing",dialing:"conn.state.dialing",active:"conn.state.active",closed:"conn.state.closed",blocked:"conn.state.blocked",failed:"conn.state.failed",unknown:"conn.state.unknown"},Yp=new WeakMap,Xp=(e,t)=>{let n=Yp.get(e);return n?.network!==t&&Yp.set(e,n={...e,network:t}),n};function Qp(e){return e?[...e.tcp.map(e=>Xp(e,"tcp")),...e.udp.map(e=>Xp(e,"udp"))]:[]}const eh={"stream.ready":"event.k.streamReady","runtime.updated":"event.k.runtimeUpdated","flow.updated":"event.k.flowUpdated","flow.gap":"event.k.flowGap","operation.updated":"event.k.operationUpdated","generation.changed":"event.k.generationChanged"},th=Object.keys(eh);const nh={buffer_overflow:"event.gap.overflow",sampled:"event.gap.sampled",evicted:"event.gap.evicted",recording_changed:"event.gap.recording"};function rh(e){const t=Bd(e);return null===t?e??"—":t<=BigInt(Number.MAX_SAFE_INTEGER)?Number(t):fc(t,Wl[Yl()])}const ih={queued:"ov.queued",running:"ov.running",succeeded:"ov.succeeded",failed:"ov.failed"};function oh(e,t){switch(e.event){case"stream.ready":return{key:"event.resource",params:{resource:e.data.instance_id}};case"runtime.updated":return{key:"event.resource",params:{resource:e.data.href}};case"flow.updated":return{key:"event.flow",params:{resourceId:e.data.resource_id,revision:String(e.data.revision)}};case"operation.updated":{const n=e.data.status;return{key:"event.operation",params:{resourceId:e.data.resource_id,status:t?dp(ih,n,t):n}}}case"generation.changed":return{key:"event.generation",params:{previous:e.data.previous_generation_id,current:e.data.generation_id}};case"flow.gap":{const n=t&&nh[e.data.reason]?t(nh[e.data.reason]):e.data.reason,r=e.data.resource_id;if(0n===Bd(e.data.dropped_records))return null===r?{key:"event.gapUnscopedNoCount",params:{reason:n}}:{key:"event.gapNoCount",params:{reason:n,resourceId:r}};const i={reason:n,n:rh(e.data.dropped_records)};return null===r?{key:"event.gapUnscoped",params:i}:{key:"event.gap",params:{...i,resourceId:r}}}default:{const t=e.data;return{key:"event.resource",params:{resource:[t?.resource_id,t?.href].find(e=>"string"==typeof e)??"—"}}}}}const sh=e=>/^[0-9a-f]{8}-[0-9a-f]{4}-/i.test(e)?e.slice(0,8):e;function ah(e,t,n,r,i){const o=[],s=new Set;let a=n.get(e);for(;a&&!s.has(a.id);){s.add(a.id),o.push(a);const e="udp"===t?a.selection.udp_member_id:a.selection.tcp_member_id;if(!e)return{groups:o,member:null,node:null};const n=r.get(e);if(!n)return{groups:o,member:e,node:i.get(e)??null};a=n}return{groups:o,member:null,node:null}}const lh={fixed:"policy.kind.fixed",selector:"policy.kind.selector",urltest:"policy.kind.urltest",loadbalance:"policy.kind.loadbalance",fallback:"policy.kind.fallback",random:"policy.kind.random",score:"policy.kind.score"},ch=["trace","debug","info","warn","error"],uh={trace:"log.level.trace",debug:"log.level.debug",info:"log.level.info",warn:"log.level.warn",error:"log.level.error"},dh={reload:"ov.reload",suspend:"ov.suspend",resume:"ov.resume"},fh=e=>"runtime.updated"!==e.event&&"flow.updated"!==e.event&&!function(e){if("flow.gap"!==e.event)return!1;const{reason:t}=e.data;return"evicted"===t||"sampled"===t||"buffer_overflow"===t}(e),ph=["config","config_validate","runtime","runtime_memory","runtime_outbounds","traffic_history","memory_history","datapath","nodes","providers","groups","probes","connections","flows","routing_trace","rules","dns_rules","events","logs","dns_query","dns_cache","dns_log","runtime_settings","geodata","operations","reload","suspend","resume"];function hh(e,t,{whileLoading:n}){return e?!0===e[t].available:n}const mh=e=>Math.max(1,Number(e.headers.get("Retry-After"))||1);function gh(e){if(void 0===e.data)throw Tc(e.response.status,"empty_response","Response has no JSON body","ui.errNoJson");return e.data}function yh(e){return{...gh(e),retryAfter:mh(e.response)}}const vh=["/dns/query","/config/validate","/routing/trace"],bh=new Set([`POST ${Wf}`,`POST ${Jf}`,"PUT /api/v1/config/sources/{source_id}","POST /api/v1/config/sources","PATCH /api/v1/groups/{group_id}/config","POST /api/v1/nodes","DELETE /api/v1/nodes/{node_id}","POST /api/v1/providers","DELETE /api/v1/providers/{provider_id}"]);function xh(e,t,n=Gd()){const r=e.replace(/\/+$/,""),i=e=>{const t=gh(e);return n.note(t?.observed_at),t},o=e=>{const t=i(e);return"operation_id"in t?yh({data:t,response:e.response}):t},s={Accept:"application/json"};t&&(s.Authorization="Bearer "+t);const a={baseUrl:r,headers:s,cache:"no-store",fetch:async e=>{const{pathname:t}=new URL(e.url),n=vh.some(e=>t.endsWith(e)),r="GET"!==e.method&&!n;if(!(e.headers.has("Idempotency-Key")||n))return Nc(e,void 0,r);for(let i=0;;i++){const t=await Nc(e.clone(),void 0,r);if(503!==t.status&&429!==t.status||i>=3)return t;const n=await Pc(t.clone());if(!n.transient)return t;await(t.body?.cancel()),await up(t.status,n.retryAfter,e.signal)}}},l={onResponse:async({request:e,response:t,schemaPath:n})=>{if(!t.ok){const r=await Pc(t,e.method);throw r.configurationWrite=bh.has(`${e.method} ${n}`),r}return t}},c=Sf(a);c.use(l);const u=Sf(a);u.use({onRequest:({request:e})=>e.headers.set("Idempotency-Key",ep())},l);async function d(e,t,n,r,i,o,a=15){let l=t,c=1,u=0;try{for(;!n?.aborted;){r?.(!1);const t=new AbortController,f=()=>t.abort(n?.reason);let p;n?.addEventListener("abort",f,{once:!0});const h=()=>{var e;clearTimeout(p),p=setTimeout(()=>t.abort(),(e=a,Math.max(1e4,2.5*(Number.isFinite(e)&&e>0?e:15)*1e3)))};h();try{const a={...s,Accept:"text/event-stream",...l?{"Last-Event-ID":l}:{}},d=await fetch(e,{headers:a,cache:"no-store",signal:t.signal});if(!d.ok){const e=await Pc(d);if(l&&409===e.status&&"event_cursor_expired"===e.code){l=void 0,i?.();continue}throw u=mh(d),e}if(!d.body)throw Tc(d.status,"empty_stream","Response has no event stream","ui.errNoStream");await np(d.body,e=>{if(void 0!==e.id&&(l=e.id),"stream.ready"===e.event&&(c=1,r?.(!0)),e.data){let t;try{t=JSON.parse(e.data)}catch{return}o(e.event,t,l??"")}},t.signal,h),r?.(!1),await rp(mh(d),n)}catch(d){if(n?.aborted)throw d;if(d instanceof Sc&&(d.status>=400&&d.status<500&&429!==d.status||"frame_too_large"===d.code))throw d;r?.(!1),await rp(Math.max(c,u),n),u=0,c=Math.min(2*c,30)}finally{clearTimeout(p),n?.removeEventListener("abort",f)}}}catch(d){if(!n?.aborted)throw d}finally{r?.(!1)}}return{discovery:async e=>i(await c.GET("/api",{signal:e})),version:async e=>i(await c.GET("/api/v1/version",{signal:e})),capabilities:async e=>function(e){const t={...e.resources},n=ph.filter(e=>!t[e]||"object"!=typeof t[e]);for(const i of n)t[i]={available:!1};const r=Object.fromEntries(Object.entries(e.resources).filter(([e])=>e.startsWith("x-")));return{...e,extensions:r,resources:t,unreported:n}}(i(await c.GET("/api/v1/capabilities",{signal:e}))),runtime:async e=>i(await c.GET("/api/v1/runtime",{signal:e})),runtimeOutbounds:async e=>i(await c.GET("/api/v1/runtime/outbounds",{signal:e})),trafficHistory:async(e,t)=>i(await c.GET("/api/v1/runtime/traffic/history",{params:{query:e},signal:t})),memoryHistory:async(e,t)=>i(await c.GET("/api/v1/runtime/memory/history",{params:{query:e},signal:t})),datapath:async(e,t)=>i(await c.GET("/api/v1/datapath",{params:{query:{detail:e}},signal:t})),runtimeMemory:async e=>i(await c.GET("/api/v1/runtime/memory",{signal:e})),nodes:async(e,t)=>i(await c.GET("/api/v1/nodes",{params:{query:e},signal:t})),groups:async e=>i(await c.GET("/api/v1/groups",{signal:e})),group:async(e,t)=>i(await c.GET("/api/v1/groups/{group_id}",{params:{path:{group_id:e}},signal:t})),selectGroup:async(e,t,n)=>i(await c.PUT("/api/v1/groups/{group_id}/selection",{params:{path:{group_id:e}},body:t,signal:n})),clearGroupOverride:async(e,t,n)=>i(await c.DELETE("/api/v1/groups/{group_id}/selection",{params:{path:{group_id:e},query:{network:t}},signal:n})),patchGroup:async(e,t,n,r)=>{const i=await u.PATCH("/api/v1/groups/{group_id}/config",{params:{path:{group_id:e},header:{"If-Match":n}},headers:{"Content-Type":"application/json-patch+json"},body:t,signal:r});return o(i)},startProbe:async(e,t)=>yh(await u.POST("/api/v1/probes",{body:e,signal:t})),connections:async(e,t)=>i(await c.GET("/api/v1/connections",{params:{query:e},signal:t})),flows:async(e,t)=>i(await c.GET("/api/v1/flows",{params:{query:e},signal:t})),flow:async(e,t)=>i(await c.GET("/api/v1/flows/{flow_id}",{params:{path:{flow_id:e}},signal:t})),dnsCache:async(e,t)=>i(await c.GET("/api/v1/dns/cache",{params:{query:e},signal:t})),dnsLog:async(e,t)=>i(await c.GET("/api/v1/dns/log",{params:{query:e},signal:t})),dnsQuery:async(e,t,n,r="normal",o)=>i(await c.POST("/api/v1/dns/query",{params:{query:{detail:"full"}},body:{domain:e,type:t,cache_mode:r,...o?{upstream:o}:{}},signal:n})),closeConnection:async(e,t)=>{await c.DELETE("/api/v1/connections/{connection_id}",{params:{path:{connection_id:e}},signal:t})},closeConnections:async(e,t)=>i(await c.DELETE("/api/v1/connections",{params:{query:e},signal:t})),runtimeSettings:async e=>i(await c.GET("/api/v1/runtime/settings",{signal:e})),providers:async(e,t)=>i(await c.GET("/api/v1/providers",{params:{query:e},signal:t})),refreshProvider:async(e,t)=>yh(await u.POST("/api/v1/providers/{provider_id}/refresh",{params:{path:{provider_id:e}},signal:t})),createProvider:async(e,t)=>o(await c.POST("/api/v1/providers",{body:e,signal:t})),deleteProvider:async(e,t)=>o(await c.DELETE("/api/v1/providers/{provider_id}",{params:{path:{provider_id:e}},signal:t})),createNode:async(e,t)=>o(await c.POST("/api/v1/nodes",{body:e,signal:t})),deleteNode:async(e,t)=>o(await c.DELETE("/api/v1/nodes/{node_id}",{params:{path:{node_id:e}},signal:t})),geodata:async e=>i(await c.GET("/api/v1/geodata",{signal:e})),rules:async e=>i(await c.GET("/api/v1/rules",{signal:e})),dnsRules:async e=>i(await c.GET("/api/v1/dns/rules",{signal:e})),updateGeodata:async e=>yh(await u.POST("/api/v1/geodata/update",{signal:e})),exportConfig:async e=>{const t=await c.GET(Uf,{signal:e,parseAs:"text",headers:{Accept:"text/plain"}});return{content:gh(t),filename:Zf(t.response.headers.get("Content-Disposition")),contentType:t.response.headers.get("Content-Type")??"text/plain;charset=utf-8"}},importConfig:async(e,t)=>yh(await u.POST(Wf,{signal:t,body:{replace:e}})),configRevisions:async e=>i(await c.GET(Gf,{signal:e})),activateConfigRevision:async(e,t)=>yh(await u.POST(Jf,{signal:t,params:{path:{revision:e}}})),config:async e=>i(await c.GET("/api/v1/config",{signal:e})),validateConfig:async(e,t)=>i(await c.POST("/api/v1/config/validate",{body:e,signal:t})),replaceConfigSource:async(e,t,n,r)=>yh(await u.PUT("/api/v1/config/sources/{source_id}",{params:{path:{source_id:e},header:{"If-Match":n}},body:{content:t},signal:r})),createConfigSource:async(e,t,n)=>yh(await u.POST("/api/v1/config/sources",{body:{path:e,content:t},signal:n})),patchRuntimeSettings:async(e,t)=>i(await c.PATCH("/api/v1/runtime/settings",{body:e,signal:t})),deleteDnsEntry:async(e,t)=>i(await c.DELETE("/api/v1/dns/cache/{entry_id}",{params:{path:{entry_id:e}},signal:t})),deleteDnsCacheByName:async(e,t)=>i(await c.DELETE("/api/v1/dns/cache",{params:{query:e},signal:t})),flushDnsCache:async e=>i(await c.POST("/api/v1/dns/cache/flush",{body:{},signal:e})),routingTrace:async(e,t)=>i(await c.POST("/api/v1/routing/trace",{body:e,signal:t})),startReload:async e=>yh(await u.POST("/api/v1/operations/reload",{body:{},signal:e})),startSuspend:async e=>yh(await u.POST("/api/v1/operations/suspend",{body:{},signal:e})),startResume:async e=>yh(await u.POST("/api/v1/operations/resume",{body:{},signal:e})),pollOperation:async function(e,t){let n=e.retryAfter,i=0;const o=(e=>{const t=new URL(r+"/",globalThis.location?.href),n=new URL(e.replace(/^\/+/,""),t);if(n.origin!==t.origin)throw Tc(0,"invalid_location","Operation URL has a different origin","ui.errOtherOrigin");return n})(e.href);for(;;){let e;await rp(n,t);try{e=await Nc(o,{headers:s,cache:"no-store",signal:t}),i=0}catch(a){if(t?.aborted||++i>3)throw a;n=Math.min(2*n,30);continue}if(!e.ok){const t=await Pc(e);if(!t.transient)throw t;n=t.retryAfter;continue}const r=await e.json();if(Yf(r.status))return r;n=mh(e)}},subscribeEvents:function({kinds:e,lastEventId:t,heartbeatSeconds:n,signal:i,onEvent:o,onConnectionChange:s,onCursorExpired:a}){const l=new URL(r+"/api/v1/events",globalThis.location?.href);return e?.length&&l.searchParams.set("kinds",e.join(",")),d(l,t,i,s,a,(e,t,n)=>{if(th.includes(e))o({id:n,event:e,data:t});else if("object"==typeof t&&null!==t&&!Array.isArray(t)){const r=t.observed_at;o({id:n,event:e,data:{...t,observed_at:"string"==typeof r?r:""}})}},n)},subscribeLogs:function({level:e,target:t,lastEventId:n,signal:i,onRecord:o,onConnectionChange:s,onCursorExpired:a}){const l=new URL(r+"/api/v1/logs",globalThis.location?.href);return e&&l.searchParams.set("level",e),t&&l.searchParams.set("target",t),d(l,n,i,s,a,(e,t,n)=>{"log"===e&&o({id:n,...t})})}}}const wh="mock";function kh(e){return!e||e===wh}function Eh(e){const t=e.trim();if(kh(t))return t;if(!/^https?:\/\/[^/]+/i.test(t)||/[\s\\?#]/.test(t))throw new Error("invalid_url");const n=new URL(t);if(!n.hostname||n.username||n.password)throw new Error("invalid_url");return t.replace(/\/+$/,"")}function Ch(e){if(!Array.isArray(e))return[];const t=new Set;return e.flatMap(e=>{if(!e||"string"!=typeof e.id||!e.id.trim()||t.has(e.id)||"string"!=typeof e.api)return[];try{const n=Eh(e.api);return t.add(e.id),[{id:e.id,name:"string"==typeof e.name&&e.name.trim()?e.name.trim():n||e.id,api:n,token:"string"==typeof e.token?e.token:""}]}catch{return[]}})}let Sh=0;const Ph=()=>Sh,Th=()=>{Sh++};let jh,Mh,Nh=!1;function Rh(e){try{const t=e??localStorage;let n=t.getItem(Fl.profiles);if(null===n&&null===t.getItem(Fl.legacyApi))n="[]";else if(null===n){const e=t.getItem(Fl.legacyApi),r=t.getItem(Fl.legacyToken)??"",i=Ch([{id:"legacy",name:e.trim()||wh,api:e,token:r}]);n=JSON.stringify(i),t.setItem(Fl.profiles,n),t.setItem(Fl.profile,i[0]?.id??""),t.removeItem(Fl.legacyApi),t.removeItem(Fl.legacyToken)}if(jh?.raw!==n){let e;try{e=Ch(JSON.parse(n))}catch{e=[],Nh=!0}jh={raw:n,profiles:e}}const r=jh.profiles,i=()=>r.find(e=>e.id===t.getItem(Fl.profile));if(e)return{profiles:r,activeId:i()?.id??r[0]?.id??""};const o=Mh??=i()??r[0];return{profiles:r,activeId:r.find(e=>e.id===o?.id)?.id??r[0]?.id??""}}catch{return{profiles:[],activeId:""}}}function Lh(){return Rh(),Mh}function Ih({profiles:e,activeId:t},n){const r=n??localStorage,i=e.map(e=>({...e,name:e.name.trim()||e.id,api:Eh(e.api)})),o=i.find(e=>e.id===t)?.id??i[0]?.id??"",s=()=>{r.setItem(Fl.profiles,JSON.stringify(i)),r.setItem(Fl.profile,o)};try{s()}catch{!function(){try{for(const e of Object.keys(localStorage))e.startsWith(Fl.ringsPrefix)&&localStorage.removeItem(e)}catch{}}(),s()}n||(Mh=i.find(e=>e.id===o)),Th()}function Kh(e,t){const{profiles:n,activeId:r}=Rh(t);n.some(t=>t.id===e&&t.token)&&Ih({profiles:n.map(t=>t.id===e?{...t,token:""}:t),activeId:r},t)}const _h=Fl.session;function Dh(){try{const e=JSON.parse(sessionStorage.getItem(_h)??"null");if(!e||"object"!=typeof e)return null;const{profileId:t,api:n,token:r}=e;return"string"==typeof t&&"string"==typeof n&&"string"==typeof r?{profileId:t,api:n,token:r}:null}catch{return null}}function Ah(e,t){const n=Dh();return n&&n.profileId===e&&n.api===Oh(t)?n.token:null}const Oh=e=>{try{return Eh(e)}catch{return null}};function Fh(e,t,n){sessionStorage.setItem(_h,JSON.stringify({profileId:e,api:Eh(t),token:n})),Th()}function qh(){try{sessionStorage.removeItem(_h),Th()}catch{}}let Hh,$h=!1;function Bh(e,t){const n=Dh();return n&&n.profileId===e&&n.api===Oh(t)&&(qh(),$h=!0),$h}let zh,Vh="",Uh=-1;"undefined"!=typeof window&&window.addEventListener("storage",Th);function Wh(){if(Hh&&Uh===Ph())return Hh;const e=Lh(),t=e?.api,n=(e&&t?Ah(e.id,t):null)??e?.token,r=JSON.stringify([e?.id,t,n]);if(!Hh||Vh!==r){if(kh(t)){if(!zh){if(Hh)return c(()=>import("./index-D3-KABFr.js"),__vite__mapDeps([6,7,3,4,8,9,10,11,12,13,14]),import.meta.url).then(e=>{zh=e.createMockApi}),Hh;throw new Error("API initialization has not completed")}Hh=zh(e?{signIn:!0,session:n??null}:void 0),Zd(Gd())}else{const e=Gd();Hh=xh(t,n??void 0,e),Zd(e)}Vh=r}return Uh=Ph(),Hh}const Gh=new WeakMap;function Jh(e,t,n){let r=Gh.get(e);r||Gh.set(e,r=new Map);let i=r.get(t);if(!i){const e={value:n,listeners:new Set,set(t){e.value="function"==typeof t?t(e.value):t,e.listeners.forEach(e=>e())}};i=e,r.set(t,e)}return i}function Zh(e,n){const r=Jh(Wh(),e,n),i=t.useCallback(e=>(r.listeners.add(e),()=>{r.listeners.delete(e)}),[r]);return[t.useSyncExternalStore(i,()=>r.value),r.set]}const Yh=()=>Zh("mode-draft",null),Xh=t.createContext({setDirty:()=>{},revision:0,ask:e=>e()}),Qh=new WeakMap;function em(e){const{setDirty:n,ask:r}=t.useContext(Xh);return t.useCallback(t=>{[...Qh.get(n)??[]].some(t=>t!==e)?r(t):t()},[n,r,e])}function tm(e,n){const{setDirty:r,revision:i}=t.useContext(Xh),[o]=t.useState(()=>Symbol()),s=em(o),a=t.useCallback(()=>{const e=Qh.get(r);e?.delete(o),r(!!e?.size)},[o,r]);return t.useEffect(()=>{if(!e)return;const t=Qh.get(r)??new Set;Qh.set(r,t),t.add(o),r(!0);const n=e=>{t.has(o)&&e.preventDefault()};return addEventListener("beforeunload",n),()=>{removeEventListener("beforeunload",n),a()}},[e,o,r,a,i]),Eu(i,n),{clear:a,revision:i,leave:s}}function nm(){const e=t.useRef(0);return t.useMemo(()=>({next:()=>{e.current++},start:()=>{const t=e.current;return()=>e.current===t}}),[])}const rm=""+new URL("logo-obi05X1B.svg",import.meta.url).href,im=""+new URL("duck-night-CbKHyiul.webp",import.meta.url).href;function om(e){return s.jsx(Ll,{...e,children:s.jsx("path",{fill:"currentColor",d:"M10 1.5a8.5 8.5 0 0 0-2.69 16.57c.43.08.58-.18.58-.41v-1.44c-2.36.51-2.86-1.14-2.86-1.14-.39-.98-.95-1.24-.95-1.24-.77-.53.06-.52.06-.52.85.06 1.3.88 1.3.88.76 1.3 1.99.92 2.47.71.08-.55.3-.93.54-1.14-1.89-.22-3.87-.95-3.87-4.2 0-.93.33-1.69.87-2.28-.09-.22-.38-1.08.08-2.25 0 0 .71-.23 2.34.87a8.1 8.1 0 0 1 4.26 0c1.62-1.1 2.33-.87 2.33-.87.47 1.17.18 2.03.09 2.25.54.59.87 1.35.87 2.28 0 3.26-1.99 3.98-3.88 4.19.31.26.58.78.58 1.58v2.34c0 .23.15.5.58.41A8.5 8.5 0 0 0 10 1.5"})})}function sm(e){return s.jsxs(Ll,{...e,children:[s.jsx("path",{fill:"currentColor",d:"m16.34 5.296-3.62-3.622c-.42-.42-1-.66-1.591-.66H5.25C4.01 1.015 3 2.025 3 3.265v12.484c0 1.24 1.01 2.25 2.25 2.25h9.5c1.24 0 2.25-1.01 2.25-2.25V6.887c0-.6-.234-1.166-.66-1.591m-1.06 1.06c.046.047.074.104.106.159H12.25c-.413 0-.75-.337-.75-.75V2.628c.055.033.114.06.16.106zm-.53 10.142h-9.5c-.413 0-.75-.337-.75-.75V3.265c0-.413.337-.75.75-.75H10v3.25c0 1.24 1.01 2.25 2.25 2.25h3.25v7.733c0 .413-.337.75-.75.75"}),s.jsx("path",{fill:"currentColor",d:"M13 11.498H7c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h6c.414 0 .75.336.75.75s-.336.75-.75.75M13 14.498H7c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h6c.414 0 .75.336.75.75s-.336.75-.75.75"})]})}const am={live:5e3,lists:15e3,summary:2e4,inventory:3e4,background:6e4},lm=1e3;function cm([e,t]){return JSON.stringify([e,Object.entries(t??{}).filter(([,e])=>void 0!==e).sort(([e],[t])=>et?1:0)])}const um=new class{requests=new WeakMap;acquire(e,t,n){let r=this.requests.get(e);r||(r=new Map,this.requests.set(e,r));let i=r.get(t);if(!i){const e=new AbortController,o={controller:e,consumers:0,settled:!1,promise:Promise.resolve().then(()=>n(e.signal)).finally(()=>{o.settled=!0,r.get(t)===o&&r.delete(t)})};r.set(t,o),i=o}const o=i;o.consumers++;let s=!1;return{promise:o.promise,release(){s||(s=!0,0!==--o.consumers||o.settled||(r.get(t)===o&&r.delete(t),o.controller.abort()))}}}},dm={"stream.ready":{now:"all"},"runtime.updated":{now:["runtime","runtimeOutbounds","trafficHistory","memoryHistory","runtimeMemory","runtimeSettings","capabilities","groups","group","groupProbeMembers","nodes","connections"]},"flow.updated":{now:["flows","flow"]},"flow.gap":{now:["flows","flow"]},"operation.updated":{now:[]},"generation.changed":{now:["capabilities","runtime","runtimeSettings","config","configRevisions","groups","group","groupProbeMembers","nodes","providers","geodata","rules","dnsRules","datapath","flows","flow"]}};function fm(e,t,n=!1){if("stream.ready"===t.event&&Array.isArray(n))return n.some(t=>fm(e,{event:t}));if(!Object.hasOwn(dm,t.event)||"stream.ready"===t.event&&!n)return!1;const{now:r}=dm[t.event];return"all"===r||r.includes(e)}const pm=e=>{if(null===e||"object"!=typeof e)return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||null===t};function hm(e,t){if(Object.is(e,t))return e;const n=Array.isArray(e)&&Array.isArray(t);if(!(n||pm(e)&&pm(t)))return t;const r=e,i=t,o=n?t.map((e,t)=>t):Object.keys(i),s=n?[]:{};let a=n?e.length===o.length:Object.keys(r).length===o.length;for(const l of o)s[l]=hm(r[l],i[l]),s[l]===r[l]&&l in r||(a=!1);return a?e:s}const mm=new WeakMap,gm={data:void 0,loading:!0,error:null},ym=5e3;async function vm(){return Promise.all([...mm.get(Wh())?.active.values()??[]].map(e=>e.watcher.refetch()))}const bm=(e,t)=>!!mm.get(e)?.active.has(t)||!!mm.get(e)?.inactive.has(t);function xm(e,t){const n=mm.get(e);return n?.active.get(t)?.snapshot??n?.inactive.get(t)??gm}function wm(e){let t=mm.get(e);return t||mm.set(e,t={active:new Map,inactive:new Map,expiry:new Map,parameterised:new Set,retained:new Map}),t}function km(e,t){e.inactive.has(t)&&!e.retained.has(t)&&(clearTimeout(e.expiry.get(t)),e.expiry.set(t,setTimeout(()=>Em(e,t),6e4)))}function Em(e,t){clearTimeout(e.expiry.get(t)),e.expiry.delete(t),e.inactive.delete(t),e.parameterised.delete(t)}const Cm=new WeakMap,Sm=new Set;function Pm(e,t){t instanceof Sc&&401===t.status&&!Cm.has(e)&&(Cm.set(e,t),Sm.forEach(e=>e()))}function Tm(){const e=Wh(),n=t.useCallback(e=>(Sm.add(e),()=>{Sm.delete(e)}),[]);return t.useSyncExternalStore(n,()=>(e=>Cm.get(e)??null)(e))}function jm(e,t,n,r=cm(t.key)){const i=wm(e);let o=i.active.get(r);if(!o){const n=xm(e,r);Em(i,r);const s=new Map,a={snapshot:n,subscribers:s,watcher:Mm(e,t,n.data,e=>{const{data:t,loading:n,error:r}=a.snapshot;e.data===t&&e.loading===n&&e.error===r||(a.snapshot=e,s.forEach(({notify:e})=>e()))})};i.active.set(r,o=a)}const s=Symbol();o.subscribers.set(s,{notify:n,every:t.every??am.live});const a=()=>{const e=[...l.subscribers.values()].map(e=>e.every).filter(e=>e>0);l.watcher.setEvery(e.length?Math.min(...e):0)},l=o;a();let c=!1;return{getSnapshot:()=>l.snapshot,refetch:l.watcher.refetch,invalidate:l.watcher.invalidate,dispose(){if(!c)if(c=!0,l.subscribers.delete(s),l.subscribers.size)a();else if(l.watcher.dispose(),i.active.delete(r),void 0!==l.snapshot.data&&(i.inactive.set(r,{...l.snapshot,error:null}),km(i,r),t.key.length>1)){i.parameterised.add(r);const e=i.parameterised.size>32&&[...i.parameterised].find(e=>!i.retained.has(e));e&&Em(i,e)}}}}function Mm(e,{key:t,fetch:n,every:r=am.live,acceptEvent:i,retryErrors:o=!1,events:s},a,l){const c=cm(t);let u,d,f,p,h,m="idle",g=!1,y=!1,v=!1,b=1/0,x=0,w=-1/0,k=Date.now(),E=!1,C=0,S=null,P=5e3,T=!1,j=0;const M=()=>{clearTimeout(h),h=void 0,b=1/0},N=()=>Math.max(Date.now()+2e3,w+Math.min(r,5e3)),R=e=>{if(e=Math.max(e,x),document.hidden)return y=!0,void M();e>=b||(M(),b=e,h=setTimeout(()=>{M(),document.hidden?y=!0:"backoff"===m?I():K()},Math.max(0,e-Date.now())))},L=e=>{m="idle",k=Date.now();const t=f;f=void 0,t?.(e),g||(v?R(N()):r>0&&R(Date.now()+r))},I=()=>{m="fetching",w=Date.now(),E=!1,y=!1,v=!1;const t=um.acquire(e,c,n);u=t,t.promise.then(e=>{t.release(),g||(u=void 0,x=0,P=5e3,T=!1,a=hm(a,e),S=null,l({data:a,loading:!1,error:null}),L({key:c,ok:!0}))},n=>{if(t.release(),g)return;u=void 0;const r=n instanceof Error?n:new Error(String(n));if(r instanceof Sc&&r.transient&&(x=j=Date.now()+1e3*r.retryAfter,++C<=3))return m="backoff",void R(x);S=r,Pm(e,r),l({data:a,loading:!1,error:r}),L({key:c,ok:!1,error:r}),!o||r instanceof Sc&&r.status>=400&&r.status<500&&429!==r.status||(T=Date.now()+P>x,x=Math.max(x,Date.now()+P),R(x),P=Math.min(2*P,3e4))})},K=()=>g?Promise.resolve({key:c,ok:!1,error:new DOMException("Resource unsubscribed","AbortError")}):("idle"!==m||(M(),d&&void 0===a&&Date.now()>=x&&l({data:a,loading:!0,error:S}),C=0,d=new Promise(e=>{f=e}),Date.now(){if(e&&T&&(T=!1,x=j>Date.now()?j:0,"backoff"===m&&!document.hidden))return M(),void(x?R(x):I());if("fetching"===m)v=!0;else{if("backoff"===m)return;document.hidden?(y=!0,M()):e?K():(E=!0,R(N()))}},D=()=>{document.hidden?(y||=void 0!==h,M()):y&&("backoff"===m?R(x):K())};let A=!1;const O=()=>{A&&r>0||(A=!0,document.hidden?y=!0:K())};document.addEventListener("visibilitychange",D);const F=s?s((e,n)=>{fm(t[0],e,n)&&(i?.(e)??!0)&&_(!1!==n)},O):(O(),()=>{});return{refetch:()=>"idle"===m?K():"backoff"===m?d:(p||(p=d.then(()=>(p=void 0,K()))),p),invalidate:_,setEvery(e){r!==e&&(r=e,"idle"!==m||v||T||(E||M(),A&&r>0&&R(k+r)))},dispose(){g=!0,F(),document.removeEventListener("visibilitychange",D),u?.release(),L({key:c,ok:!1,error:new DOMException("Resource unsubscribed","AbortError")}),M()}}}const Nm=t.createContext(!1),Rm=t.createContext(null),Lm=new Map,Im=200,Km=new WeakSet,_m=e=>Km.has(e),Dm=["flow.updated","flow.gap"],Am={connected:!1,cursor:null,error:null,available:null};function Om(e,t,{notify:n,replayRecent:r=!1,onBaseline:i}={}){let o=Lm.get(e);if(!o){o={listeners:new Set,statuses:new Set,controller:new AbortController,status:Am,recent:[],baseline:!1,waiters:new Set,demand:0},Lm.set(e,o);const t=o,n=e=>{Object.entries(e).every(([e,n])=>t.status[e]===n)||(t.status={...t.status,...e},t.statuses.forEach(e=>e()))},r=()=>{t.baseline||(t.baseline=!0,clearTimeout(s),t.waiters.forEach(e=>e()))};let i;const s=setTimeout(()=>{r(),i=setInterval(()=>t.waiters.forEach(e=>e()),am.inventory)},5e3);let a,l,c=!1,u=!1,d=!1;const f=o=>{l?.abort();const s=new AbortController;l=s,d=t.demand>0;let f=void 0!==o;e.subscribeEvents({kinds:d?a.resources.events.kinds??th:void 0,lastEventId:o,heartbeatSeconds:a.resources.events.heartbeat_seconds,signal:s.signal,onConnectionChange:e=>{s.signal.aborted||n({connected:e})},onCursorExpired:()=>{s.signal.aborted||(c=!0)},onEvent:e=>{if(s.signal.aborted)return;let o=!1;"stream.ready"===e.event&&(t.baseline&&(o=!(f&&!c)||Dm),f=!1,clearInterval(i),(c||t.ready&&_m(t.ready)&&t.ready.id===e.id)&&Km.add(e),c=!1,t.ready=e,n({cursor:e.id,error:null}),r()),t.recent.push(e),t.recent.length>200&&t.recent.shift(),fm("capabilities",e,o)&&h.invalidate(!1!==o),t.listeners.forEach(t=>t(e,o))}}).catch(t=>{s.signal.aborted||(l=void 0,u=!1,Pm(e,t),n({connected:!1,error:t instanceof Error?t:new Error(String(t))}),r())})},p=()=>{const e=h.getSnapshot();if(e.error?(u=!0,n({error:e.error}),r()):u&&(u=!1,n({error:null})),!e.data||e.data===a)return;const t=e.data.resources.events.available===a?.resources.events.available;a=e.data,(!t||!l&&a.resources.events.available)&&(l?.abort(),l=void 0,n({available:a.resources.events.available,connected:!1,error:null}),a.resources.events.available?f():r())},h=jm(e,{key:["capabilities"],every:0,retryErrors:!0,fetch:t=>e.capabilities(t)},p);p(),t.reopen=()=>{l||h.getSnapshot().error||(a=void 0,p())},t.retune=()=>queueMicrotask(()=>{l&&!t.controller.signal.aborted&&d!==t.demand>0&&f(t.recent.at(-1)?.id)}),t.controller.signal.addEventListener("abort",()=>{clearTimeout(s),clearInterval(i),h.dispose(),l?.abort()},{once:!0})}return o.listeners.add(t),n&&o.statuses.add(n),i&&(o.waiters.add(i),o.baseline&&i()),r?o.recent.forEach(e=>t(e,!1)):o.ready&&t(o.ready,!1),()=>{o.listeners.delete(t),n&&o.statuses.delete(n),i&&o.waiters.delete(i),o.listeners.size||(o.controller.abort(),Lm.delete(e))}}function Fm(e){Lm.get(e)?.reopen?.()}function qm(e,n=!1){const r=t.useContext(Nm),i=Wh(),o=t.useRef(e);t.useEffect(()=>{o.current=e});const s=t.useCallback(e=>r?()=>{}:Om(i,(e,t)=>o.current(e,t),{notify:e,replayRecent:n}),[i,n,r]),a=t.useCallback(()=>function(e){return Lm.get(e)?.status??Am}(i),[i]);return t.useSyncExternalStore(s,a)}function Hm(e){const n=Wh(),r=(e=>!0===e?.flows.available&&e.events.available&&(e.events.kinds?.some(e=>Dm.includes(e))??!0))(e);t.useEffect(()=>r?function(e){const t=Om(e,()=>{}),n=Lm.get(e);n.demand++||n.retune?.();let r=!0;return()=>{r&&(r=!1,--n.demand||n.retune?.(),t())}}(n):void 0,[n,r])}const $m={data:void 0,loading:!1,error:null};function Bm(e,{enabled:n=!0,pending:r=!1,paused:i=!1}={}){const o=t.useContext(Nm),s=t.useContext(Rm),a=Wh(),l=cm(e.key),c=e.every,u=t.useRef(e);t.useEffect(()=>{u.current=e});const d=t.useCallback(e=>{if(!n)return()=>{};if(i||o)return function(e,t){const n=wm(e);n.retained.set(t,(n.retained.get(t)??0)+1),clearTimeout(n.expiry.get(t)),n.expiry.delete(t);let r=!1;return()=>{if(r)return;r=!0;const e=n.retained.get(t)-1;e?n.retained.set(t,e):(n.retained.delete(t),km(n,t))}}(a,l);const{followEvents:t=!0,...r}=u.current;return jm(a,{...r,every:c,events:t?(e,t)=>Om(a,e,{onBaseline:t}):void 0},e,l).dispose},[a,l,n,i,o,c]),f=t.useCallback(()=>{const e=n?xm(a,l):r?gm:$m;return o&&e===gm?$m:e},[a,l,n,r,o]),p=t.useCallback(()=>n?((e,t)=>mm.get(e)?.active.get(t)?.watcher.refetch())(a,l):void 0,[a,l,n]),h=t.useSyncExternalStore(d,f),m=o?s?.get(e.key[0],h.data):void 0,g=void 0!==m;return{...h,...g?{data:m,loading:!1,error:null}:{},refetch:p}}async function zm(e,t){for(let r=0;;r++){let i;try{let n;do{const r=await e(i);n=t(n,r),i=r.next_cursor??void 0}while(i);return n}catch(n){if(0===r&&void 0!==i&&n instanceof Sc&&(410===n.status||400===n.status&&"invalid_request"===n.code))continue;throw n}}}const Vm=(e,t)=>e?Math.min(lm,t??lm):void 0,Um=(e,t,n)=>({enabled:n&&void 0!==e,pending:n&&void 0===e&&!t});function Wm(){let e={busy:null,error:null},t=null;const n=new Set,r=t=>{e=t,n.forEach(e=>e())};return{snapshot:()=>e,subscribe:e=>(n.add(e),()=>{n.delete(e)}),cancel(){t?.abort(),t=null,r({busy:null,error:null})},setError(t){r({...e,error:t})},async run(n,i,o){if(t)return;const s=new AbortController;t=s,r({busy:n,error:null});try{const e=await i(s.signal);return s.signal.aborted?void 0:e}catch(a){if(s.signal.aborted)return;const t=a instanceof Error?a:new Error(String(a));if(e={busy:n,error:t},o)throw t;return}finally{t===s&&(t=null,r({...e,busy:null}))}}}}const Gm=new WeakMap;function Jm({scope:e,rethrow:n=!1,shared:r}={}){const i=Wh(),o=t.useMemo(()=>function(e,t){if(!t)return Wm();let n=Gm.get(e);n||Gm.set(e,n=new Map);let r=n.get(t);return r||n.set(t,r=Wm()),r}(i,r),[i,r,e]),s=t.useSyncExternalStore(o.subscribe,o.snapshot);t.useEffect(()=>r?void 0:o.cancel,[r,o]);const a=t.useCallback((e,t)=>o.run(e,t,n),[o,n]);return{...s,busy:s.busy,setError:o.setError,run:a,cancel:o.cancel}}async function Zm(e,t,n){try{return await e.pollOperation(t,n)}catch(r){if(n?.aborted)throw r;throw vm(),Ym(new Rc("ui.operationUnknown"),t.operation_id,t.kind,t.status)}}const Ym=(e,t,n,r)=>(e.operation={id:t,kind:n,status:r},e),Xm=(e,t)=>async n=>{throw n instanceof Sc&&503===n.status&&"temporarily_unavailable"===n.code&&await Promise.all([Promise.resolve(e()).catch(()=>{}),n.retryAfter&&up(503,n.retryAfter,t)]),n},Qm=e=>'"'+e+'"';function eg(e,t,{written:n=!1}={}){if("succeeded"===e.status&&e.kind===t)return e.result;const r=e.error?.details??null;if("failed"===e.status&&"provider_refresh"===t&&e.kind===t&&!0===r?.committed)return{degraded:!0};if("failed"===e.status){const t=tg(e.error,{written:n});if(t)throw Ym(t,e.operation_id,e.kind,e.status)}const i="failed"===e.status&&("boolean"==typeof r?.written?r.written:n),o=new Rc(i?"ui.writtenNotApplied":"ui.operationFailed",e.error?.message??null,e.error?.code??null,r);throw Ym(o,e.operation_id,e.kind,e.status)}function tg(e,{written:t=!1}={}){const{code:n,message:r,details:i}=e??{},o=i??null;if(!o||!0!==o.committed&&null!==o.committed)return null;vm();const s=e instanceof Sc?o.stage:n,a="boolean"==typeof o.written?o.written:t,l=null===o.committed?"ui.activationUnknown":"store_unavailable"===s?"ui.activationNotSaved":!1===o.durability_confirmed?"ui.activationDegradedUnconfirmed":a?"ui.activationDegradedSaved":"ui.activationDegraded";return new Rc(l,r??null,n??null,i)}function ng(e=!0){const t=Wh();return Bm({key:["version"],every:0,fetch:e=>t.version(e)},{enabled:e})}function rg(e=!0){const t=Wh();return Bm({key:["runtime"],fetch:e=>t.runtime(e)},{enabled:e})}function ig(e){const t=Wh();return Bm({key:["runtimeOutbounds"],fetch:e=>t.runtimeOutbounds(e)},{enabled:e})}function og(e,t){const n=Wh(),r=t?.resources.traffic_history,i=Math.min(e,r?.max_window_seconds??600),o=Math.min(600,r?.max_points??600);return Bm({key:["trafficHistory",{window_seconds:i,max_points:o}],every:am.background,fetch:e=>n.trafficHistory({window_seconds:i,max_points:o},e)},{enabled:!0===r?.available})}function sg(e){const t=Wh(),n=e?.resources.memory_history,r=Math.min(600,n?.max_window_seconds??600),i=Math.min(120,n?.max_points??120);return{...Bm({key:["memoryHistory",{window_seconds:r,max_points:i}],every:am.background,fetch:e=>t.memoryHistory({window_seconds:r,max_points:i},e)},{enabled:!0===n?.available}),windowSeconds:r}}function ag(){const e=Wh();return Bm({key:["capabilities"],every:0,retryErrors:!0,followEvents:!1,fetch:t=>e.capabilities(t)})}function lg(e=!0){const t=Wh();return Bm({key:["datapath",{detail:"full"}],fetch:e=>t.datapath("full",e)},{enabled:e})}function cg(e=!0){const n=Wh(),r=Bm({key:["runtimeSettings"],fetch:e=>n.runtimeSettings(e),acceptEvent:e=>"operation.updated"!==e.event||Yf(e.data.status)},{enabled:e}),{refetch:i}=r,{busy:o,run:s}=Jm({rethrow:!0}),[a,l]=t.useState(null),c=t.useCallback(e=>s("save",async t=>{const r=await n.patchRuntimeSettings(e,t).catch(Xm(i,t));return l({api:n,value:r}),i(),r}),[n,s,i]);return{...r,data:(u=a?.api===n?a.value:null,d=r.data,u&&(!d||Date.parse(u.observed_at)>=Date.parse(d.observed_at))?u:d),busy:null!==o,save:c};var u,d}function ug(e=!0){const t=Wh();return Bm({key:["runtimeMemory"],fetch:e=>t.runtimeMemory(e)},{enabled:e})}function dg(e){const{blocks:t}=Af(e);return t.filter(e=>"include"===e.name).flatMap(t=>$f(e,t).map(e=>Ff(qf(e).trim()))).filter(Boolean)}const fg=e=>/[*?]/.test(e);function pg(e,t){const n=e.replace(/^\.\//,"").split(/([*?])/).map(e=>"*"===e?"[^/]*":"?"===e?"[^/]":e.replace(/[.+^${}()|[\]\\]/g,"\\$&")).join("");return new RegExp("^"+n+"$").test(t)}function hg(e,t){const n=t.startsWith("/")?t:(e??"").slice(0,(e??"").lastIndexOf("/")+1)+t,r=[];for(const i of n.split("/"))".."===i?r.pop():i&&"."!==i&&r.push(i);return"/"+r.join("/")+(r.length&&/\/\.{0,2}$/.test(n)?"/":"")}function mg(e){const t=e.find(e=>"main"===e.kind);if(!t)return null;const n=e.flatMap(e=>dg(e.content).map(e=>hg(t.path,e)));return e=>((e,t)=>e.some(e=>pg(e,t)))(n,hg(t.path,e))}function gg(e){for(const t of e.map(e=>e.replace(/^\.\//,""))){const e=t.lastIndexOf("/");if(e>0&&fg(t.slice(e))&&!fg(t.slice(0,e)))return t.slice(0,e+1)}return""}function yg(e){return[...e].some(e=>e.charCodeAt(0)<32||e.charCodeAt(0)>=127&&e.charCodeAt(0)<=159)?"config.newSourceControl":e.startsWith("/")?"config.newSourceAbsolute":e.split("/").some(e=>""===e||"."===e||".."===e)?"config.newSourceSegments":/[^/]\.dae$/.test(e)?null:"config.newSourceExtension"}function vg(e){const t=[];for(const n of e.map(e=>e.replace(/^\.\//,""))){const e=n.indexOf("*"),r=n.slice(0,e),i=n.slice(e+1);e<0||/[*?]/.test(r+i)||!r.includes("/")||i.includes("/")||!i.endsWith(".dae")||(yg(r+"name"+i)||t.some(e=>e.pattern===n)||t.push({pattern:n,prefix:r,suffix:i}))}return t}function bg(e,t){if(e.includes("/"))return"config.newSourceNameSlash";const n=yg(t.prefix+e+t.suffix);return"config.newSourceControl"===n?"config.newSourceNameControl":n}function xg(e=!0){const t=Wh();return Bm({key:["config"],every:0,fetch:e=>t.config(e)},{enabled:e})}function wg(e,t){return e.config(t)}async function kg(e){return void 0!==e.content&&await Xf(e.content)===e.content_sha256}function Eg(e){const[n,r]=t.useState(new Map);return t.useEffect(()=>{let t=!0;return Promise.all(e.map(async e=>[e.id,{digest:e.content_sha256,content:e.content,complete:await kg(e)}])).then(e=>{t&&r(new Map(e))}),()=>{t=!1}},[e]),t.useCallback(e=>{const t=n.get(e.id);return t&&t.digest===e.content_sha256&&t.content===e.content?t.complete:void 0},[n])}function Cg(e){const n=Eg(t.useMemo(()=>e?[e]:[],[e]));return e?n(e)??null:null}const Sg=e=>(new TextEncoder).encode(e).length,Pg=e=>Tc(413,"request_too_large",`Configuration exceeds the ${e}-byte limit`,"config.tooLarge",{limit:e});async function Tg(e,t,n,r){const i=function(e,t,n){const[r]=[{limit:e.content,size:Sg(t)},{limit:e.body,size:Sg(JSON.stringify(n))}].filter(e=>void 0!==e.limit).sort((e,t)=>t.size/t.limit-e.size/e.limit);return r&&{limit:r.limit,exceeded:r.size>r.limit}}(e,t,n);if(i?.exceeded)throw Pg(i.limit);return r().catch(e=>{throw e instanceof Sc&&413===e.status&&i?Pg(i.limit):e})}function jg(e){const n=Wh(),{busy:r,run:i}=Jm({rethrow:!0});return{busy:null!==r,create:t.useCallback(t=>i("create",async r=>{const i=await async function(e,t,n){const r=await e.createConfigSource(t,"",n).catch(e=>{throw tg(e)??e});eg(await Zm(e,r,n),"reload"),n.throwIfAborted();const i=await wg(e,n).catch(()=>(n.throwIfAborted(),null));return i&&(function(e,t){const n=e.find(e=>"main"===e.kind),r=n?n.path.slice(0,n.path.lastIndexOf("/")+1):"";return e.find(e=>e.path===t||e.path===r+t)??null}(i.sources,t)?.id??null)}(n,t,r).finally(e);return{id:i}}),[n,i,e])}}function Mg(e,{rethrow:n=!1,shared:r}={}){const i=Wh(),o=ag().data,s=o?.resources.config_validate,a=!0===s?.available&&!0===s.modes?.includes("full"),l=o?.limits.max_json_body_bytes,c=o?.resources.config.max_bytes,u=s?.max_bytes,d=t.useCallback((e,t)=>Tg({content:u,body:l},e.sources.map(e=>e.content??"").join(""),e,()=>i.validateConfig(e,t)),[i,u,l]),{busy:f,error:p,run:h,cancel:m}=Jm({rethrow:n,shared:r}),[g,y]=t.useState(null),v=t.useRef(null);return{busy:f,cancel:m,error:p,errorSource:p?g:null,validate:t.useCallback(e=>h("validate",t=>(y(1===e.sources.length?e.sources[0].id??null:null),d(e,t))),[d,h]),apply:t.useCallback((t,n)=>h("save",async r=>{if(y(t.id),!t.writable)throw new Rc("config.readOnly");if(!(await kg(t)))throw new Rc("config.incomplete");r.throwIfAborted();const o="string"==typeof n?n:n(t.content);if(null===o)return;if(a&&"main"===t.kind&&""!==t.path){const e=await d({sources:[{id:t.id,path:t.path,content:o}],mode:"full"},r);if(r.throwIfAborted(),!e.valid)return{diagnostics:e.diagnostics}}const s=await Tg({content:c,body:l},o,{content:o},()=>i.replaceConfigSource(t.id,o,Qm(t.content_sha256),r)).catch(async n=>{if(n instanceof Sc&&409===n.status&&"state_conflict"===n.code)throw e(),new Rc("config.changedMeanwhile");if(!(n instanceof Sc)||412!==n.status)throw tg(n)??n;const o=await wg(i,r).catch(()=>null);e();const s=function(e,t,n,r){if(n!==t.content_sha256)return{error:e,lastRefused:r};const i=t.id+":"+t.content_sha256;return i===r?{error:new Rc("config.diskAhead"),lastRefused:r}:{error:e,lastRefused:i}}(n,t,o?.sources.find(e=>e.id===t.id)?.content_sha256,v.current);throw v.current=s.lastRefused,s.error});v.current=null,r.throwIfAborted();const u=await Zm(i,s,r);r.throwIfAborted();const f=await e(),p=eg(u,"reload",{written:!0});if(!1===f?.ok&&"AbortError"!==f.error?.name)throw new Rc("ui.writtenNotRead");return{result:p}}),[i,a,d,c,l,h,e])}}function Ng(e){const t=Wh();return Bm({key:["configRevisions"],every:0,fetch:e=>t.configRevisions(e)},{enabled:e})}function Rg(){const e=Wh(),t=Jm({shared:"config-revisions",rethrow:!0}),[n,r]=Zh("config-revisions-pending",null);return{...t,pending:n,apply:(n,i,o)=>t.run(null===n?"import":"activate",async t=>{if(!Jh(e,"config-revisions-pending",null).value)try{if(void 0!==o){const n=await e.configRevisions(t);if(n.active!==o)return{changed:n.active}}const s=await(null===n?e.importConfig(i,t):e.activateConfigRevision(n,t)).catch(e=>{throw tg(e)??e});r({revision:n,head:o,operation:s});const a=await Zm(e,s,t);return r(null),{result:eg(a,"reload")}}finally{Wh()===e&&vm()}}),reread:()=>t.run("read",async t=>{const n=Jh(e,"config-revisions-pending",null).value;if(n)try{const i=await Zm(e,n.operation,t);return r(null),{result:eg(i,"reload")}}finally{Wh()===e&&vm()}})}}let Lg={rules:[],failure:null,applying:!1},Ig=1;const Kg=new Set,_g=e=>{Lg={...Lg,...e},Kg.forEach(e=>e())};"undefined"!=typeof window&&window.addEventListener("beforeunload",e=>{Lg.rules.length&&e.preventDefault()});const Dg={subscribe:e=>(Kg.add(e),()=>{Kg.delete(e)}),snapshot:()=>Lg,add:e=>_g({rules:[...Lg.rules,{...e,id:Ig++}],failure:null}),remove:e=>{const t=Lg.rules.filter(t=>!e.includes(t.id));t.length!==Lg.rules.length&&_g({rules:t,failure:null})},fail:e=>_g({failure:e}),begin:()=>!Lg.applying&&(_g({applying:!0}),!0),end:()=>_g({applying:!1})},Ag=()=>t.useSyncExternalStore(Dg.subscribe,Dg.snapshot);function Og(e){const{blocks:t,tokens:n}=Af(e);return t.filter(e=>"group"===e.name).flatMap(t=>t.children.map(t=>{const r=Hf(e,t,n),i=n.find(e=>e.from===t.from),o=e=>r.filter(t=>t.name===e).at(-1)?.value??null;return{name:t.name,written:i?e.slice(i.from,i.to):t.name,filters:r.filter(e=>"filter"===e.name).map(e=>e.value),policy:o("policy"),default:o("default"),final:o("final"),interrupt:o("interrupt_connections"),from:t.line,to:t.endLine}}))}const Fg=e=>Kf(e)?e:_f(e),qg=e=>Kf(e)||Df(e);function Hg(e,t){return Kf(e)?t.has(e)?"taken":null:"invalid"}function $g(e,t,n){const{blocks:r,tokens:i}=Af(e),o=r.filter(e=>"group"===e.name),s=o.flatMap(e=>e.children).filter(e=>e.name===t).at(-1);if(s){const r=Og(e).filter(e=>e.name===t).at(-1);if(r.filters.length===n.filters.length&&r.filters.every((e,t)=>e===n.filters[t])&&r.policy===n.policy&&["default","final","interrupt"].every(e=>void 0===n[e]||n[e]===r[e]))return e;const o=e.lastIndexOf("\n",s.from-1)+1,a=e.slice(o,s.from),l=/^\s*$/.test(a)?a:" ",c=Hf(e,s,i),u=s.open+1,d=e.slice(u,s.close),f=d.match(/\n([ \t]+)\S/)?.[1]??l+(l||" ");if(s.line!==s.endLine)return function(e,t,n,r,i){const o=n.filter(e=>"filter"===e.name),s=[],a=t=>e.indexOf("\n",t)+1,l=t=>{const n=e.lastIndexOf("\n",t.from-1)+1,r=a(t.to),i=/^[ \t\r]*$/.test(e.slice(n,t.from))&&r>0&&/^[ \t\r]*$/.test(e.slice(t.to,r-1));s.push(i?{from:n,to:r,text:""}:{from:t.from,to:t.to,text:""})},c=(t,n)=>{if(t.value===n)return;const r=/^\s*/.exec(e.slice(t.valueFrom,t.valueTo))[0];s.push({from:t.valueFrom+r.length,to:t.valueTo,text:(r?"":" ")+n})},u=t=>{const n=e.lastIndexOf("\n",t.from-1)+1;return/^[ \t]*$/.test(e.slice(n,t.from))?n:t.from},d=new Map,f=(e,t)=>d.set(e,(d.get(e)??"")+t),p=n.filter(e=>"policy"===e.name),h=e=>{const n=a(e);return n>0&&n<=t.close?n:e},m=o.length?h(o.at(-1).to):p.length?u(p[0]):h(t.open+1),g=(e,t,n,i)=>{o.slice(e,t).forEach((e,t)=>t