1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/particle-ring.BAPvCi3U.js","assets/r3f.DgDenwPD.js","assets/antd.CvpsKluO.js","assets/react-core.Csw2ODfV.js","assets/three.BJdvOHI3.js","assets/animations.BA64jWPt.js","assets/arrow-right.CDO1udMK.js","assets/react-extensions.CKbccDEz.js","assets/i18n.CGdmPCB8.js","assets/ui-components.CW2CXeZY.js","assets/visualization.CgjAnKpn.js","assets/d3-libs.ryQk9kx3.js","assets/leader-board.ln5jGN3b.js","assets/card.CR6-TJKu.js","assets/proxy.9HkGM3H4.js","assets/main-doc.sZoUkrMD.js","assets/zoom-image.Dh2ab3rg.js","assets/main-news.Co3u4zoI.js"])))=>i.map(i=>d[i]); 2var at=Object.defineProperty;var it=(e,t,r)=>t in e?at(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Se=(e,t,r)=>it(e,typeof t!="symbol"?t+"":t,r);import{j as o,_ as ae,c as lt}from"./r3f.DgDenwPD.js";import{r as f}from"./antd.CvpsKluO.js";import{u as $e,a as ie,b as xe,c as De,L as ct,O as dt,N as ut,i as mt,B as pt,R as ft,d as q}from"./react-extensions.CKbccDEz.js";import{i as pe,B as gt,a as ht}from"./i18n.CGdmPCB8.js";import{S as bt,R as xt,T as vt,P as wt,C as yt,L as kt,a as jt,b as Ct,I as zt,c as Lt}from"./ui-components.CW2CXeZY.js";import{c as Be}from"./visualization.CgjAnKpn.js";import{L as Nt,m as I,A as St}from"./animations.BA64jWPt.js";import"./three.BJdvOHI3.js";import"./react-core.Csw2ODfV.js";import"./d3-libs.ryQk9kx3.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))s(n);new MutationObserver(n=>{for(const a of n)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function r(n){const a={};return n.integrity&&(a.integrity=n.integrity),n.referrerPolicy&&(a.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?a.credentials="include":n.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function s(n){if(n.ep)return;n.ep=!0;const a=r(n);fetch(n.href,a)}})();const It={theme:"system",setTheme:()=>null},We=f.createContext(It);function Mt({children:e,defaultTheme:t="system",storageKey:r="vite-ui-theme",...s}){const[n,a]=f.useState(()=>localStorage.getItem(r)||t);f.useEffect(()=>{const d=window.document.documentElement;if(d.classList.remove("light","dark"),n==="system"){const u=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";d.classList.add(u);return}d.classList.add(n)},[n]);const i={theme:n,setTheme:d=>{localStorage.setItem(r,d),a(d)}};return o.jsx(We.Provider,{...s,value:i,children:e})}const Pt=()=>{const e=f.useContext(We);if(e===void 0)throw new Error("useTheme must be used within a ThemeProvider");return e},oe=["en","zh","ja"],fe="en",At=f.createContext({currentLanguage:fe,changeLanguage:()=>{}}),_t=({children:e})=>{const[t,r]=f.useState(fe),{lang:s}=$e(),n=i=>{document.documentElement.lang=i},a=i=>{oe.includes(i)&&(localStorage.setItem("userLanguage",i),pe.changeLanguage(i),r(i),n(i))};return f.useEffect(()=>{let i=fe;if(s&&oe.includes(s))i=s;else{const d=localStorage.getItem("userLanguage");if(d&&oe.includes(d))i=d;else{const u=navigator.language.split("-")[0];oe.includes(u)&&(i=u)}}pe.changeLanguage(i),r(i),n(i)},[s]),o.jsx(At.Provider,{value:{currentLanguage:t,changeLanguage:a},children:e})};/** 3 * @license lucide-react v0.509.0 - ISC 4 * 5 * This source code is licensed under the ISC license. 6 * See the LICENSE file in the root directory of this source tree. 7 */const Rt=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Et=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,s)=>s?s.toUpperCase():r.toLowerCase()),Ie=e=>{const t=Et(e);return t.charAt(0).toUpperCase()+t.slice(1)},Fe=(...e)=>e.filter((t,r,s)=>!!t&&t.trim()!==""&&s.indexOf(t)===r).join(" ").trim(),Tt=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/** 8 * @license lucide-react v0.509.0 - ISC 9 * 10 * This source code is licensed under the ISC license. 11 * See the LICENSE file in the root directory of this source tree. 12 */var Ot={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 13 * @license lucide-react v0.509.0 - ISC 14 * 15 * This source code is licensed under the ISC license. 16 * See the LICENSE file in the root directory of this source tree. 17 */const Gt=f.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:s,className:n="",children:a,iconNode:i,...d},u)=>f.createElement("svg",{ref:u,...Ot,width:t,height:t,stroke:e,strokeWidth:s?Number(r)*24/Number(t):r,className:Fe("lucide",n),...!a&&!Tt(d)&&{"aria-hidden":"true"},...d},[...i.map(([b,m])=>f.createElement(b,m)),...Array.isArray(a)?a:[a]]));/** 18 * @license lucide-react v0.509.0 - ISC 19 * 20 * This source code is licensed under the ISC license. 21 * See the LICENSE file in the root directory of this source tree. 22 */const W=(e,t)=>{const r=f.forwardRef(({className:s,...n},a)=>f.createElement(Gt,{ref:a,iconNode:t,className:Fe(`lucide-${Rt(Ie(e))}`,`lucide-${e}`,s),...n}));return r.displayName=Ie(e),r};/** 23 * @license lucide-react v0.509.0 - ISC 24 * 25 * This source code is licensed under the ISC license. 26 * See the LICENSE file in the root directory of this source tree. 27 */const Vt=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],$t=W("check",Vt);/** 28 * @license lucide-react v0.509.0 - ISC 29 * 30 * This source code is licensed under the ISC license. 31 * See the LICENSE file in the root directory of this source tree. 32 */const Dt=[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]],Bt=W("languages",Dt);/** 33 * @license lucide-react v0.509.0 - ISC 34 * 35 * This source code is licensed under the ISC license. 36 * See the LICENSE file in the root directory of this source tree. 37 */const Wt=[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]],Ft=W("menu",Wt);/** 38 * @license lucide-react v0.509.0 - ISC 39 * 40 * This source code is licensed under the ISC license. 41 * See the LICENSE file in the root directory of this source tree. 42 */const Ut=[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]],Yt=W("moon",Ut);/** 43 * @license lucide-react v0.509.0 - ISC 44 * 45 * This source code is licensed under the ISC license. 46 * See the LICENSE file in the root directory of this source tree. 47 */const Ht=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],qt=W("sun",Ht);
vendor: 8,377 bytes, lines 47-52
47/** 48 * @license lucide-react v0.509.0 - ISC 49 * 50 * This source code is licensed under the ISC license. 51 * See the LICENSE file in the root directory of this source tree. 52 */const Kt=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Zt=W("x",Kt),Me=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Pe=Be,Jt=(e,t)=>r=>{var s;if((t==null?void 0:t.variants)==null)return Pe(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:n,defaultVariants:a}=t,i=Object.keys(n).map(b=>{const m=r==null?void 0:r[b],w=a==null?void 0:a[b];if(m===null)return null;const v=Me(m)||Me(w);return n[b][v]}),d=r&&Object.entries(r).reduce((b,m)=>{let[w,v]=m;return v===void 0||(b[w]=v),b},{}),u=t==null||(s=t.compoundVariants)===null||s===void 0?void 0:s.reduce((b,m)=>{let{class:w,className:v,...j}=m;return Object.entries(j).every(y=>{let[x,C]=y;return Array.isArray(C)?C.includes({...a,...d}[x]):{...a,...d}[x]===C})?[...b,w,v]:b},[]);return Pe(e,i,u,r==null?void 0:r.class,r==null?void 0:r.className)},ve="-",Xt=e=>{const t=er(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:i=>{const d=i.split(ve);return d[0]===""&&d.length!==1&&d.shift(),Ue(d,t)||Qt(i)},getConflictingClassGroupIds:(i,d)=>{const u=r[i]||[];return d&&s[i]?[...u,...s[i]]:u}}},Ue=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const r=e[0],s=t.nextPart.get(r),n=s?Ue(e.slice(1),s):void 0;if(n)return n;if(t.validators.length===0)return;const a=e.join(ve);return(i=t.validators.find(({validator:d})=>d(a)))==null?void 0:i.classGroupId},Ae=/^\[(.+)\]$/,Qt=e=>{if(Ae.test(e)){const t=Ae.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},er=e=>{const{theme:t,classGroups:r}=e,s={nextPart:new Map,validators:[]};for(const n in r)ge(r[n],s,n,t);return s},ge=(e,t,r,s)=>{e.forEach(n=>{if(typeof n=="string"){const a=n===""?t:_e(t,n);a.classGroupId=r;return}if(typeof n=="function"){if(tr(n)){ge(n(s),t,r,s);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([a,i])=>{ge(i,_e(t,a),r,s)})})},_e=(e,t)=>{let r=e;return t.split(ve).forEach(s=>{r.nextPart.has(s)||r.nextPart.set(s,{nextPart:new Map,validators:[]}),r=r.nextPart.get(s)}),r},tr=e=>e.isThemeGetter,rr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,s=new Map;const n=(a,i)=>{r.set(a,i),t++,t>e&&(t=0,s=r,r=new Map)};return{get(a){let i=r.get(a);if(i!==void 0)return i;if((i=s.get(a))!==void 0)return n(a,i),i},set(a,i){r.has(a)?r.set(a,i):n(a,i)}}},he="!",be=":",or=be.length,sr=e=>{const{prefix:t,experimentalParseClassName:r}=e;let s=n=>{const a=[];let i=0,d=0,u=0,b;for(let y=0;y<n.length;y++){let x=n[y];if(i===0&&d===0){if(x===be){a.push(n.slice(u,y)),u=y+or;continue}if(x==="/"){b=y;continue}}x==="["?i++:x==="]"?i--:x==="("?d++:x===")"&&d--}const m=a.length===0?n:n.substring(u),w=nr(m),v=w!==m,j=b&&b>u?b-u:void 0;return{modifiers:a,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:j}};if(t){const n=t+be,a=s;s=i=>i.startsWith(n)?a(i.substring(n.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:i,maybePostfixModifierPosition:void 0}}if(r){const n=s;s=a=>r({className:a,parseClassName:n})}return s},nr=e=>e.endsWith(he)?e.substring(0,e.length-1):e.startsWith(he)?e.substring(1):e,ar=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(s=>[s,!0]));return s=>{if(s.length<=1)return s;const n=[];let a=[];return s.forEach(i=>{i[0]==="["||t[i]?(n.push(...a.sort(),i),a=[]):a.push(i)}),n.push(...a.sort()),n}},ir=e=>({cache:rr(e.cacheSize),parseClassName:sr(e),sortModifiers:ar(e),...Xt(e)}),lr=/\s+/,cr=(e,t)=>{const{parseClassName:r,getClassGroupId:s,getConflictingClassGroupIds:n,sortModifiers:a}=t,i=[],d=e.trim().split(lr);let u="";for(let b=d.length-1;b>=0;b-=1){const m=d[b],{isExternal:w,modifiers:v,hasImportantModifier:j,baseClassName:y,maybePostfixModifierPosition:x}=r(m);if(w){u=m+(u.length>0?" "+u:u);continue}let C=!!x,L=s(C?y.substring(0,x):y);if(!L){if(!C){u=m+(u.length>0?" "+u:u);continue}if(L=s(y),!L){u=m+(u.length>0?" "+u:u);continue}C=!1}const P=a(v).join(":"),Y=j?P+he:P,V=Y+L;if(i.includes(V))continue;i.push(V);const $=n(L,C);for(let T=0;T<$.length;++T){const H=$[T];i.push(Y+H)}u=m+(u.length>0?" "+u:u)}return u};function dr(){let e=0,t,r,s="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ye(t))&&(s&&(s+=" "),s+=r);return s}const Ye=e=>{if(typeof e=="string")return e;let t,r="";for(let s=0;s<e.length;s++)e[s]&&(t=Ye(e[s]))&&(r&&(r+=" "),r+=t);return r};function ur(e,...t){let r,s,n,a=i;function i(u){const b=t.reduce((m,w)=>w(m),e());return r=ir(b),s=r.cache.get,n=r.cache.set,a=d,d(u)}function d(u){const b=s(u);if(b)return b;const m=cr(u,r);return n(u,m),m}return function(){return a(dr.apply(null,arguments))}}const k=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},He=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,qe=/^\((?:(\w[\w-]*):)?(.+)\)$/i,mr=/^\d+\/\d+$/,pr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,fr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,gr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,hr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,br=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>mr.test(e),h=e=>!!e&&!Number.isNaN(Number(e)),E=e=>!!e&&Number.isInteger(Number(e)),ue=e=>e.endsWith("%")&&h(e.slice(0,-1)),R=e=>pr.test(e),xr=()=>!0,vr=e=>fr.test(e)&&!gr.test(e),Ke=()=>!1,wr=e=>hr.test(e),yr=e=>br.test(e),kr=e=>!l(e)&&!c(e),jr=e=>F(e,Xe,Ke),l=e=>He.test(e),G=e=>F(e,Qe,vr),me=e=>F(e,Sr,h),Re=e=>F(e,Ze,Ke),Cr=e=>F(e,Je,yr),se=e=>F(e,et,wr),c=e=>qe.test(e),K=e=>U(e,Qe),zr=e=>U(e,Ir),Ee=e=>U(e,Ze),Lr=e=>U(e,Xe),Nr=e=>U(e,Je),ne=e=>U(e,et,!0),F=(e,t,r)=>{const s=He.exec(e);return s?s[1]?t(s[1]):r(s[2]):!1},U=(e,t,r=!1)=>{const s=qe.exec(e);return s?s[1]?t(s[1]):r:!1},Ze=e=>e==="position"||e==="percentage",Je=e=>e==="image"||e==="url",Xe=e=>e==="length"||e==="size"||e==="bg-size",Qe=e=>e==="length",Sr=e=>e==="number",Ir=e=>e==="family-name",et=e=>e==="shadow",Mr=()=>{const e=k("color"),t=k("font"),r=k("text"),s=k("font-weight"),n=k("tracking"),a=k("leading"),i=k("breakpoint"),d=k("container"),u=k("spacing"),b=k("radius"),m=k("shadow"),w=k("inset-shadow"),v=k("text-shadow"),j=k("drop-shadow"),y=k("blur"),x=k("perspective"),C=k("aspect"),L=k("ease"),P=k("animate"),Y=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],$=()=>[...V(),c,l],T=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto","contain","none"],g=()=>[c,l,u],A=()=>[B,"full","auto",...g()],we=()=>[E,"none","subgrid",c,l],ye=()=>["auto",{span:["full",E,c,l]},E,c,l],X=()=>[E,"auto",c,l],ke=()=>["auto","min","max","fr",c,l],le=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],D=()=>["start","end","center","stretch","center-safe","end-safe"],_=()=>["auto",...g()],O=()=>[B,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...g()],p=()=>[e,c,l],je=()=>[...V(),Ee,Re,{position:[c,l]}],Ce=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ze=()=>["auto","cover","contain",Lr,jr,{size:[c,l]}],ce=()=>[ue,K,G],N=()=>["","none","full",b,c,l],S=()=>["",h,K,G],Q=()=>["solid","dashed","dotted","double"],Le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],z=()=>[h,ue,Ee,Re],Ne=()=>["","none",y,c,l],ee=()=>["none",h,c,l],te=()=>["none",h,c,l],de=()=>[h,c,l],re=()=>[B,"full",...g()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[R],breakpoint:[R],color:[xr],container:[R],"drop-shadow":[R],ease:["in","out","in-out"],font:[kr],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[R],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[R],shadow:[R],spacing:["px",h],text:[R],"text-shadow":[R],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",B,l,c,C]}
vendor: 12,693 bytes, line 52
52],container:["container"],columns:[{columns:[h,l,c,d]}],"break-after":[{"break-after":Y()}],"break-before":[{"break-before":Y()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:$()}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:H()}],"overscroll-x":[{"overscroll-x":H()}],"overscroll-y":[{"overscroll-y":H()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:A()}],"inset-x":[{"inset-x":A()}],"inset-y":[{"inset-y":A()}],start:[{start:A()}],end:[{end:A()}],top:[{top:A()}],right:[{right:A()}],bottom:[{bottom:A()}],left:[{left:A()}],visibility:["visible","invisible","collapse"],z:[{z:[E,"auto",c,l]}],basis:[{basis:[B,"full","auto",d,...g()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[h,B,"auto","initial","none",l]}],grow:[{grow:["",h,c,l]}],shrink:[{shrink:["",h,c,l]}],order:[{order:[E,"first","last","none",c,l]}],"grid-cols":[{"grid-cols":we()}],"col-start-end":[{col:ye()}],"col-start":[{"col-start":X()}],"col-end":[{"col-end":X()}],"grid-rows":[{"grid-rows":we()}],"row-start-end":[{row:ye()}],"row-start":[{"row-start":X()}],"row-end":[{"row-end":X()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ke()}],"auto-rows":[{"auto-rows":ke()}],gap:[{gap:g()}],"gap-x":[{"gap-x":g()}],"gap-y":[{"gap-y":g()}],"justify-content":[{justify:[...le(),"normal"]}],"justify-items":[{"justify-items":[...D(),"normal"]}],"justify-self":[{"justify-self":["auto",...D()]}],"align-content":[{content:["normal",...le()]}],"align-items":[{items:[...D(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...D(),{baseline:["","last"]}]}],"place-content":[{"place-content":le()}],"place-items":[{"place-items":[...D(),"baseline"]}],"place-self":[{"place-self":["auto",...D()]}],p:[{p:g()}],px:[{px:g()}],py:[{py:g()}],ps:[{ps:g()}],pe:[{pe:g()}],pt:[{pt:g()}],pr:[{pr:g()}],pb:[{pb:g()}],pl:[{pl:g()}],m:[{m:_()}],mx:[{mx:_()}],my:[{my:_()}],ms:[{ms:_()}],me:[{me:_()}],mt:[{mt:_()}],mr:[{mr:_()}],mb:[{mb:_()}],ml:[{ml:_()}],"space-x":[{"space-x":g()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":g()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],w:[{w:[d,"screen",...O()]}],"min-w":[{"min-w":[d,"screen","none",...O()]}],"max-w":[{"max-w":[d,"screen","none","prose",{screen:[i]},...O()]}],h:[{h:["screen",...O()]}],"min-h":[{"min-h":["screen","none",...O()]}],"max-h":[{"max-h":["screen",...O()]}],"font-size":[{text:["base",r,K,G]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[s,c,me]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ue,l]}],"font-family":[{font:[zr,l,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,c,l]}],"line-clamp":[{"line-clamp":[h,"none",c,me]}],leading:[{leading:[a,...g()]}],"list-image":[{"list-image":["none",c,l]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",c,l]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:p()}],"text-color":[{text:p()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Q(),"wavy"]}],"text-decoration-thickness":[{decoration:[h,"from-font","auto",c,G]}],"text-decoration-color":[{decoration:p()}],"underline-offset":[{"underline-offset":[h,"auto",c,l]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c,l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",c,l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:je()}],"bg-repeat":[{bg:Ce()}],"bg-size":[{bg:ze()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},E,c,l],radial:["",c,l],conic:[E,c,l]},Nr,Cr]}],"bg-color":[{bg:p()}],"gradient-from-pos":[{from:ce()}],"gradient-via-pos":[{via:ce()}],"gradient-to-pos":[{to:ce()}],"gradient-from":[{from:p()}],"gradient-via":[{via:p()}],"gradient-to":[{to:p()}],rounded:[{rounded:N()}],"rounded-s":[{"rounded-s":N()}],"rounded-e":[{"rounded-e":N()}],"rounded-t":[{"rounded-t":N()}],"rounded-r":[{"rounded-r":N()}],"rounded-b":[{"rounded-b":N()}],"rounded-l":[{"rounded-l":N()}],"rounded-ss":[{"rounded-ss":N()}],"rounded-se":[{"rounded-se":N()}],"rounded-ee":[{"rounded-ee":N()}],"rounded-es":[{"rounded-es":N()}],"rounded-tl":[{"rounded-tl":N()}],"rounded-tr":[{"rounded-tr":N()}],"rounded-br":[{"rounded-br":N()}],"rounded-bl":[{"rounded-bl":N()}],"border-w":[{border:S()}],"border-w-x":[{"border-x":S()}],"border-w-y":[{"border-y":S()}],"border-w-s":[{"border-s":S()}],"border-w-e":[{"border-e":S()}],"border-w-t":[{"border-t":S()}],"border-w-r":[{"border-r":S()}],"border-w-b":[{"border-b":S()}],"border-w-l":[{"border-l":S()}],"divide-x":[{"divide-x":S()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":S()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Q(),"hidden","none"]}],"divide-style":[{divide:[...Q(),"hidden","none"]}],"border-color":[{border:p()}],"border-color-x":[{"border-x":p()}],"border-color-y":[{"border-y":p()}],"border-color-s":[{"border-s":p()}],"border-color-e":[{"border-e":p()}],"border-color-t":[{"border-t":p()}],"border-color-r":[{"border-r":p()}],"border-color-b":[{"border-b":p()}],"border-color-l":[{"border-l":p()}],"divide-color":[{divide:p()}],"outline-style":[{outline:[...Q(),"none","hidden"]}],"outline-offset":[{"outline-offset":[h,c,l]}],"outline-w":[{outline:["",h,K,G]}],"outline-color":[{outline:p()}],shadow:[{shadow:["","none",m,ne,se]}],"shadow-color":[{shadow:p()}],"inset-shadow":[{"inset-shadow":["none",w,ne,se]}],"inset-shadow-color":[{"inset-shadow":p()}],"ring-w":[{ring:S()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:p()}],"ring-offset-w":[{"ring-offset":[h,G]}],"ring-offset-color":[{"ring-offset":p()}],"inset-ring-w":[{"inset-ring":S()}],"inset-ring-color":[{"inset-ring":p()}],"text-shadow":[{"text-shadow":["none",v,ne,se]}],"text-shadow-color":[{"text-shadow":p()}],opacity:[{opacity:[h,c,l]}],"mix-blend":[{"mix-blend":[...Le(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Le()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[h]}],"mask-image-linear-from-pos":[{"mask-linear-from":z()}],"mask-image-linear-to-pos":[{"mask-linear-to":z()}],"mask-image-linear-from-color":[{"mask-linear-from":p()}],"mask-image-linear-to-color":[{"mask-linear-to":p()}],"mask-image-t-from-pos":[{"mask-t-from":z()}],"mask-image-t-to-pos":[{"mask-t-to":z()}],"mask-image-t-from-color":[{"mask-t-from":p()}],"mask-image-t-to-color":[{"mask-t-to":p()}],"mask-image-r-from-pos":[{"mask-r-from":z()}],"mask-image-r-to-pos":[{"mask-r-to":z()}],"mask-image-r-from-color":[{"mask-r-from":p()}],"mask-image-r-to-color":[{"mask-r-to":p()}],"mask-image-b-from-pos":[{"mask-b-from":z()}],"mask-image-b-to-pos":[{"mask-b-to":z()}],"mask-image-b-from-color":[{"mask-b-from":p()}],"mask-image-b-to-color":[{"mask-b-to":p()}],"mask-image-l-from-pos":[{"mask-l-from":z()}],"mask-image-l-to-pos":[{"mask-l-to":z()}],"mask-image-l-from-color":[{"mask-l-from":p()}],"mask-image-l-to-color":[{"mask-l-to":p()}],"mask-image-x-from-pos":[{"mask-x-from":z()}],"mask-image-x-to-pos":[{"mask-x-to":z()}],"mask-image-x-from-color":[{"mask-x-from":p()}],"mask-image-x-to-color":[{"mask-x-to":p()}],"mask-image-y-from-pos":[{"mask-y-from":z()}],"mask-image-y-to-pos":[{"mask-y-to":z()}],"mask-image-y-from-color":[{"mask-y-from":p()}],"mask-image-y-to-color":[{"mask-y-to":p()}],"mask-image-radial":[{"mask-radial":[c,l]}],"mask-image-radial-from-pos":[{"mask-radial-from":z()}],"mask-image-radial-to-pos":[{"mask-radial-to":z()}],"mask-image-radial-from-color":[{"mask-radial-from":p()}],"mask-image-radial-to-color":[{"mask-radial-to":p()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":V()}],"mask-image-conic-pos":[{"mask-conic":[h]}],"mask-image-conic-from-pos":[{"mask-conic-from":z()}],"mask-image-conic-to-pos":[{"mask-conic-to":z()}],"mask-image-conic-from-color":[{"mask-conic-from":p()}],"mask-image-conic-to-color":[{"mask-conic-to":p()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:je()}],"mask-repeat":[{mask:Ce()}],"mask-size":[{mask:ze()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",c,l]}],filter:[{filter:["","none",c,l]}],blur:[{blur:Ne()}],brightness:[{brightness:[h,c,l]}],contrast:[{contrast:[h,c,l]}],"drop-shadow":[{"drop-shadow":["","none",j,ne,se]}],"drop-shadow-color":[{"drop-shadow":p()}],grayscale:[{grayscale:["",h,c,l]}],"hue-rotate":[{"hue-rotate":[h,c,l]}],invert:[{invert:["",h,c,l]}],saturate:[{saturate:[h,c,l]}],sepia:[{sepia:["",h,c,l]}],"backdrop-filter":[{"backdrop-filter":["","none",c,l]}],"backdrop-blur":[{"backdrop-blur":Ne()}],"backdrop-brightness":[{"backdrop-brightness":[h,c,l]}],"backdrop-contrast":[{"backdrop-contrast":[h,c,l]}],"backdrop-grayscale":[{"backdrop-grayscale":["",h,c,l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h,c,l]}],"backdrop-invert":[{"backdrop-invert":["",h,c,l]}],"backdrop-opacity":[{"backdrop-opacity":[h,c,l]}],"backdrop-saturate":[{"backdrop-saturate":[h,c,l]}],"backdrop-sepia":[{"backdrop-sepia":["",h,c,l]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":g()}],"border-spacing-x":[{"border-spacing-x":g()}],"border-spacing-y":[{"border-spacing-y":g()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",c,l]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[h,"initial",c,l]}],ease:[{ease:["linear","initial",L,c,l]}],delay:[{delay:[h,c,l]}],animate:[{animate:["none",P,c,l]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[x,c,l]}],"perspective-origin":[{"perspective-origin":$()}],rotate:[{rotate:ee()}],"rotate-x":[{"rotate-x":ee()}],"rotate-y":[{"rotate-y":ee()}],"rotate-z":[{"rotate-z":ee()}],scale:[{scale:te()}],"scale-x":[{"scale-x":te()}],"scale-y":[{"scale-y":te()}],"scale-z":[{"scale-z":te()}],"scale-3d":["scale-3d"],skew:[{skew:de()}],"skew-x":[{"skew-x":de()}],"skew-y":[{"skew-y":de()}],transform:[{transform:[c,l,"","none","gpu","cpu"]}],"transform-origin":[{origin:$()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:re()}],"translate-x":[{"translate-x":re()}],"translate-y":[{"translate-y":re()}],"translate-z":[{"translate-z":re()}],"translate-none":["translate-none"],accent:[{accent:p()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:p()}
vendor: 6,540 bytes, line 52
52],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",c,l]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-me":[{"scroll-me":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-p":[{"scroll-p":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",c,l]}],fill:[{fill:["none",...p()]}],"stroke-w":[{stroke:[h,K,G,me]}],stroke:[{stroke:["none",...p()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Pr=ur(Mr);function M(...e){return Pr(Be(e))}const Ar=Jt("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function Z({className:e,variant:t,size:r,asChild:s=!1,...n}){const a=s?bt:"button";return o.jsx(a,{"data-slot":"button",className:M(Ar({variant:t,size:r,className:e})),...n})}function tt({...e}){return o.jsx(xt,{"data-slot":"dropdown-menu",...e})}function rt({...e}){return o.jsx(vt,{"data-slot":"dropdown-menu-trigger",...e})}function ot({className:e,sideOffset:t=4,...r}){return o.jsx(wt,{children:o.jsx(yt,{"data-slot":"dropdown-menu-content",sideOffset:t,className:M("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
52de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",e),...r})})}function J({className:e,inset:t,variant:r="default",...s}){return o.jsx(Lt,{"data-slot":"dropdown-menu-item","data-inset":t,"data-variant":r,className:M("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...s})}function ao({className:e,children:t,checked:r,...s}){return o.jsxs(Ct,{"data-slot":"dropdown-menu-checkbox-item",className:M("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),checked:r,...s,children:[o.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:o.jsx(zt,{children:o.jsx($t,{className:"size-4"})})}),t]})}function io({className:e,inset:t,...r}){return o.jsx(kt,{"data-slot":"dropdown-menu-label","data-inset":t,className:M("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",e),...r})}function lo({className:e,...t}){return o.jsx(jt,{"data-slot":"dropdown-menu-separator",className:M("bg-border -mx-1 my-1 h-px",e),...t})}function Te(){const{setTheme:e}=Pt(),{t}=ie("common");return o.jsxs(tt,{children:[o.jsx(rt,{asChild:!0,children:o.jsxs(Z,{variant:"outline",className:"bg-white",size:"icon",children:[o.jsx(qt,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),o.jsx(Yt,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),o.jsx("span",{className:"sr-only",children:"Toggle theme"})]})}),o.jsxs(ot,{align:"end",children:[o.jsx(J,{onClick:()=>e("light"),children:t("app.light")}),o.jsx(J,{onClick:()=>e("dark"),children:t("app.dark")}),o.jsx(J,{onClick:()=>e("system"),children:t("app.system")})]})]})}function Oe(){const{i18n:e}=ie(),{lang:t}=$e(),r=xe(),s=n=>{if(e.changeLanguage(n),localStorage.setItem("userLanguage",n),document.documentElement.lang=n,t){const i=window.location.pathname.replace(`/${t}`,`/${n}`);r(i+window.location.search)}else r(`/${n}${window.location.pathname}${window.location.search}`)};return o.jsxs(tt,{children:[o.jsx(rt,{asChild:!0,children:o.jsxs(Z,{variant:"outline",size:"icon",children:[o.jsx(Bt,{className:"h-[1.2rem] w-[1.2rem]"}),o.jsx("span",{className:"sr-only",children:"Toggle language"})]})}),o.jsxs(ot,{align:"end",children:[o.jsx(J,{onClick:()=>s("en"),children:"English"}),o.jsx(J,{onClick:()=>s("zh"),children:"䏿ï¼ç®ä½ï¼"})]})]})}function _r(){const{i18n:e}=ie();return t=>{const r=e.language;return t.startsWith(`/${r}/`)?t:t==="/"?`/${r}`:`/${r}${t.startsWith("/")?t:`/${t}`}`}}function Rr(){const[e,t]=f.useState("up"),[r,s]=f.useState(0),n=50,a=typeof window<"u"?window.scrollY:0;return f.useEffect(()=>{let i=a,d=!1;const u=()=>{const m=window.scrollY;if(s(m),Math.abs(m-i)<n){d=!1;return}t(m>i?"down":"up"),i=m>0?m:0,d=!1},b=()=>{d||(window.requestAnimationFrame(u),d=!0)};return window.addEventListener("scroll",b),()=>window.removeEventListener("scroll",b)},[n,a]),{scrollDir:e,scrollY:r}}const st=f.createContext(void 0),Er=({children:e})=>{const[t,r]=f.useState(!1),s=f.useCallback(()=>{r(!0)},[]),n=f.useCallback(()=>{r(!1)},[]);return o.jsx(st.Provider,{value:{isLoading:t,startLoading:s,stopLoading:n},children:e})},nt=()=>{const e=f.useContext(st);
52if(!e)throw new Error("useLoading must be used within a LoadingProvider");return e};function Tr(){const e=xe(),{startLoading:t}=nt();return{navigateWithLoading:f.useCallback(s=>{t(),setTimeout(()=>{e(s)},100)},[e,t])}}function Ge(){return o.jsxs(o.Fragment,{children:[o.jsxs("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("title",{children:"GitHub"}),o.jsx("path",{d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})]}),o.jsx("span",{className:"sr-only",children:"GitHub"})]})}function Or(){const{t:e}=ie("common"),[t,r]=f.useState(null),s=_r(),[n,a]=f.useState(!1),i=De(),{navigateWithLoading:d}=Tr(),{scrollDir:u,scrollY:b}=Rr(),m=u==="up"||b<100||n;f.useEffect(()=>{const y=i.pathname.replace(/^(\/zh|\/en)/,"");r(y===""?"/":y)},[i]);function w(){return o.jsxs(o.Fragment,{children:[o.jsx("li",{children:o.jsx(v,{to:"/",children:e("nav.home")})}),o.jsx("li",{children:o.jsx(v,{to:"/doc",children:e("nav.doc")})}),o.jsx("li",{children:o.jsx(v,{to:"/leaderboard",children:e("nav.leaderboard")})}),o.jsx("li",{children:o.jsx(v,{to:"/news",children:e("nav.news")})})]})}const v=({to:j,children:y})=>{const x=s(j),C=t===j;return o.jsxs(ut,{to:x,className:({isActive:L})=>M("relative px-4 py-2 rounded-md font-medium transition-colors","hover:text-primary",L?"text-primary":"text-muted-foreground",t==="/"?"text-white hover:text-slate-400":""),onClick:L=>{L.preventDefault(),r(x),a(!1),d(x)},children:[y,C&&o.jsx("span",{className:M("absolute bottom-0 left-0 h-0.5 w-full rounded-full animate-pulse shadow-[0_0_8px_2px_rgba(var(--primary),0.8)]",t==="/"?"bg-white":"bg-primary")})]})};return o.jsx(Mt,{defaultTheme:"system",storageKey:"vite-ui-theme",children:o.jsxs(_t,{children:[o.jsxs("main",{className:"flex-grow",children:[o.jsx("header",{className:M("fixed top-0 z-40 w-full px-4 md:px-12 transition-all duration-300 ease-in-out",t==="/"?"bg-black/25 backdrop-blur ":"border-b bg-background/25 backdrop-blur supports-[backdrop-filter]:bg-background/60 border-primary/30",m?"translate-y-0":"-translate-y-100"),children:o.jsxs("div",{className:"flex h-16 items-center justify-between",children:[o.jsx("div",{className:"flex items-center gap-2",children:o.jsx(ct,{to:s("/"),className:"flex items-center gap-2",children:o.jsx("span",{className:M("text-2xl font-bold",t==="/"?"animate-glow text-white":""),children:"PHYBench"})})}),o.jsx("div",{className:"flex items-center md:hidden",children:o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx(Oe,{}),o.jsx(Te,{}),o.jsx(Z,{variant:"ghost",size:"icon",className:"relative z-50 text-black bg-white dark:bg-transparent rounded-full dark:text-white",onClick:()=>a(!n),children:n?o.jsx(Zt,{className:"h-6 w-6"}):o.jsx(Ft,{className:"h-6 w-6"})})]})}),o.jsx("div",{className:M("fixed inset-0 h-[40vh] z-40 bg-white/95 backdrop-blur-3xl dark:bg-black/85 transition-all duration-300 ease-in-out flex flex-col items-center justify-center md:hidden",t==="/"&&"bg-black/85",n?"clip-path-circle-full opacity-100 pointer-events-auto":"clip-path-circle-0 opacity-0 pointer-events-none"),style:{clipPath:n?"circle(150% at calc(100% - 2.5rem) 2rem)":"circle(0% at calc(100% - 2.5rem) 2rem)"},children:o.jsxs("nav",{className:"flex flex-col items-center",children:[o.jsx("ul",{className:"flex flex-col space-y-6 mb-8 text-center",children:o.jsx(w,{})}),o.jsx("a",{href:"https://github.com/phybench-official",target:"_blank",rel:"noopener noreferrer",onClick:()=>a(!1),children:o.jsx(Z,{variant:"outline",size:"icon",className:"dark:fill-white",children:o.jsx(Ge,{})})})]})}),o.jsxs("nav",{className:"hidden md:flex items-center",children:[o.jsx("ul",{className:"flex space-x-6 mr-6",children:o.jsx(w,{})}),o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx("a",{href:"https://github.com/phybench-official",target:"_blank",rel:"noopener noreferrer",children:o.jsx(Z,{variant:"outline",size:"icon",className:"dark:fill-white",children:o.jsx(Ge,{})})}),o.jsx(Oe,{}),o.jsx(Te,{})]})]})]})}),o.jsx(dt,{})]}),o.jsx("div",{className:"fixed top-0 right-0 translate-x-[600px] translate-y-[-500px] bg-linear-to-br from-pink-300/25 to-sky-400/25 dark:from-cyan-700/25 dark:to-pink-700/30 blur-3xl w-[1200px] h-[1200px] z-[-50] rounded-full"}),o.jsx("div",{className:"fixed left-0 bottom-0 translate-x-[-800px] translate-y-[900px] bg-linear-to-tr from-cyan-300/25 to-sky-400/5 dark:from-cyan-700/25 dark:to-orange-700/30 blur-3xl w-[1200px] h-[1200px] z-[-50] rounded-full"})]})})}var Gr=class{constructor(e){Se(this,"listeners",[]);this.state=e}set(e){this.state=e;for(let t of this.listeners)t(this.state)}subscribe(e){return this.listeners=[...this.listeners,e],()=>{this.listeners=this.listeners.filter(t=>t!==e)}}get(){return this.state}},Vr=f.createContext(null),Ve=new Gr(null),$r=f.forwardRef(({children:e,root:t=!1,options:r={},className:s,autoRaf:n=!0,style:a,props:i},d)=>{const u=f.useRef(null),b=f.useRef(null),[m,w]=f.useState(void 0);f.useImperativeHandle(d,()=>({wrapper:u.current,content:b.current,lenis:m}),[m]),f.useEffect(()=>{const x=new Nt({...r,...!t&&{wrapper:u.current,content:b.current},autoRaf:(r==null?void 0:r.autoRaf)??n});return w(x),()=>{x.destroy(),w(void 0)}},[t,JSON.stringify(r)]);const v=f.useRef([]),j=f.useCallback((x,C)=>{v.current.push({callback:x,priority:C}),v.current.sort((L,P)=>L.priority-P.priority)},[]),y=f.useCallback(x=>{v.current=v.current.filter(C=>C.callback!==x)},[]);return f.useEffect(()=>{if(t&&m)return Ve.set({lenis:m,addCallback:j,removeCallback:y}),()=>Ve.set(null)},[t,m,j,y]),f.useEffect(()=>{if(!m)return;const x=C=>{var L;for(let P=0;P<v.current.length;P++)(L=v.current[P])==null||L.callback(C)};return m.on("scroll",x),()=>{m.off("scroll",x)}},[m]),o.jsx(Vr.Provider,{value:{lenis:m,addCallback:j,removeCallback:y},children:t?e:o.jsx("div",{ref:u,className:s,style:a,...i,children:o.jsx("div",{ref:b,children:e})})})});pe.use(gt).use(ht).use(mt).init({ns:["common"],defaultNS:"common",fallbackLng:"en",debug:!1});const Dr=()=>o.jsx(I.div,{className:"fixed inset-0 flex items-center justify-center bg-black/80 backdrop-blur-sm z-50",initial:{opacity:0}
52,animate:{opacity:1},exit:{opacity:0},transition:{duration:.3},children:o.jsxs("div",{className:"relative flex items-center justify-center",children:[o.jsx(I.div,{className:"absolute w-40 h-40 rounded-full border border-blue-500/30",animate:{rotate:360},transition:{duration:8,repeat:1/0,ease:"linear"}}),o.jsx(I.div,{className:"absolute w-28 h-28 rounded-full border border-purple-500/40",animate:{rotate:-360},transition:{duration:6,repeat:1/0,ease:"linear"}}),o.jsx(I.div,{className:"absolute w-16 h-16 rounded-full border border-teal-500/50",animate:{rotate:360},transition:{duration:4,repeat:1/0,ease:"linear"}}),o.jsx(I.div,{className:"absolute w-40 h-40",animate:{rotate:360},transition:{duration:8,repeat:1/0,ease:"linear"},style:{transform:"rotate(30deg)"},children:o.jsx(I.div,{className:"w-4 h-4 rounded-full bg-blue-500 shadow-lg shadow-blue-500/50 absolute",style:{top:"30%",right:"-2px",transform:"translateY(-30%)"},animate:{scale:[1,1.2,1]},transition:{duration:2,repeat:1/0,ease:"easeInOut"}})}),o.jsx(I.div,{className:"absolute w-28 h-28",animate:{rotate:-360},transition:{duration:6,repeat:1/0,ease:"linear"},style:{transform:"rotate(120deg)"},children:o.jsx(I.div,{className:"w-3 h-3 rounded-full bg-purple-500 shadow-lg shadow-purple-500/50 absolute",style:{top:"28%",right:"-1.5px",transform:"translateY(-28%)"},animate:{scale:[1,1.3,1]},transition:{duration:1.5,repeat:1/0,ease:"easeInOut"}})}),o.jsx(I.div,{className:"absolute w-16 h-16",animate:{rotate:360},transition:{duration:4,repeat:1/0,ease:"linear"},style:{transform:"rotate(210deg)"},children:o.jsx(I.div,{className:"w-2 h-2 rounded-full bg-teal-500 shadow-lg shadow-teal-500/50 absolute",style:{top:"28%",right:"-1px",transform:"translateY(-28%)"},animate:{scale:[1,1.4,1]},transition:{duration:1,repeat:1/0,ease:"easeInOut"}})}),o.jsx(I.div,{className:"w-10 h-10 rounded-full bg-gradient-to-br from-orange-500 to-yellow-500 shadow-lg shadow-orange-500/50 z-10",animate:{rotate:360,scale:[1,1.05,1]},transition:{rotate:{duration:10,repeat:1/0,ease:"linear"},scale:{duration:3,repeat:1/0,ease:"easeInOut"}}}),o.jsx("div",{className:"absolute -bottom-12 text-white text-lg font-light tracking-widest",children:o.jsx(I.span,{animate:{opacity:[.4,1,.4]},transition:{duration:1.5,repeat:1/0,ease:"easeInOut"},children:"LOADING.."})})]})}),Br=f.lazy(()=>ae(()=>import("./particle-ring.BAPvCi3U.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]))),Wr=f.lazy(()=>ae(()=>import("./leader-board.ln5jGN3b.js"),__vite__mapDeps([12,1,2,3,4,9,13,10,11,14,5,7,8]))),Fr=f.lazy(()=>ae(()=>import("./main-doc.sZoUkrMD.js"),__vite__mapDeps([15,1,2,3,4,7,5,6,16,14,8,9,10,11]))),Ur=f.lazy(()=>ae(()=>import("./main-news.Co3u4zoI.js"),__vite__mapDeps([17,1,2,3,4,16,5,14,13,7,8,9,10,11])));function Yr(){const e=f.useRef(null);return o.jsx($r,{root:!0,options:{autoRaf:!0},ref:e,children:o.jsx(Er,{children:o.jsx(Hr,{})})})}function Hr(){const{isLoading:e,startLoading:t,stopLoading:r}=nt(),s=De(),n=xe(),[a,i]=f.useState(null);return f.useEffect(()=>{const d=u=>{var w,v;const m=u.target.closest("a");if(m&&m.getAttribute("href")&&!((w=m.getAttribute("href"))!=null&&w.startsWith("http"))&&!((v=m.getAttribute("href"))!=null&&v.startsWith("#"))&&!m.getAttribute("target")){u.preventDefault();const j=m.getAttribute("href")||"/";i(j),t(),setTimeout(()=>{n(j)},100)}};return document.addEventListener("click",d),()=>document.removeEventListener("click",d)},[n,t]),f.useEffect(()=>{if(a&&s.pathname===a){const d=setTimeout(()=>{r(),i(null)},100);return()=>clearTimeout(d)}},[s,a,r]),f.useEffect(()=>{if(!a){t();const d=setTimeout(()=>{r()},100);return()=>clearTimeout(d)}},[s.pathname]),o.jsxs(o.Fragment,{children:[o.jsx(St,{mode:"wait",children:e&&o.jsx(Dr,{},"loader")}),o.jsx(ft,{location:s,children:o.jsxs(q,{path:":lang?",element:o.jsx(Or,{}),children:[o.jsx(q,{index:!0,element:o.jsx(Br,{})}),o.jsx(q,{path:"news",element:o.jsx(Ur,{})}),o.jsx(q,{path:"doc",element:o.jsx(Fr,{})}),o.jsx(q,{path:"leaderboard",element:o.jsx(Wr,{})})]})})]})}function qr(){return o.jsx(pt,{children:o.jsx(Yr,{})})}lt.createRoot(document.getElementById("root")).render(o.jsx(f.StrictMode,{children:o.jsx(qr,{})}));export{Z as B,$t as C,tt as D,Zt as X,M as a,rt as b,W as c,ot as d,io as e,lo as f,ao as g,Pt as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.