@ldkj/web-ui 0.17.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/interact/notification/Notification.d.ts +19 -4
- package/components/interact/notification/NotificationProvider.d.ts +27 -0
- package/components/interact/notification/bridge.d.ts +3 -0
- package/components/interact/notification/index.d.ts +3 -1
- package/components/interact/notification/types.d.ts +39 -0
- package/index.cjs +16 -16
- package/index.js +5523 -5153
- package/package.json +1 -1
- package/style.css +1 -1
package/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),je=require("react"),yc=require("react-dom");function Pc(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const d=Pc(je),Gr=Pc(yc);function wc(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=wc(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Cc(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=wc(e))&&(n&&(n+=" "),n+=t);return n}const ba=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,xa=Cc,Sc=(e,t)=>r=>{var n;if(t?.variants==null)return xa(e,r?.class,r?.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(u=>{const f=r?.[u],h=s?.[u];if(f===null)return null;const v=ba(f)||ba(h);return o[u][v]}),a=r&&Object.entries(r).reduce((u,f)=>{let[h,v]=f;return v===void 0||(u[h]=v),u},{}),l=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((u,f)=>{let{class:h,className:v,...m}=f;return Object.entries(m).every(b=>{let[p,x]=b;return Array.isArray(x)?x.includes({...s,...a}[p]):{...s,...a}[p]===x})?[...u,h,v]:u},[]);return xa(e,i,l,r?.class,r?.className)},Ot={xs:"rounded-[2px]",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"};function nm(e){return typeof e=="string"&&Object.prototype.hasOwnProperty.call(Ot,e)}function Qt(e){return e===void 0?{}:typeof e=="number"?{roundedStyle:{borderRadius:`${e}px`}}:nm(e)?{roundedPreset:e}:{roundedStyle:{borderRadius:e}}}const gr={none:"shadow-none",xs:"shadow-[0_1px_2px_rgba(15,23,42,0.08)]",sm:"shadow-sm",md:"shadow-md",lg:"shadow-lg",xl:"shadow-xl",inner:"shadow-inner"};function om(e){return typeof e=="string"&&Object.prototype.hasOwnProperty.call(gr,e)}function Kr(e){return e===void 0?{}:om(e)?{shadowPreset:e}:{shadowStyle:{boxShadow:e}}}const Nc=Sc("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{dark:"bg-black/90 text-primary-foreground hover:bg-black",primary:"bg-blue-600 text-primary-foreground hover:bg-blue-600/90",secondary:"bg-cyan-600 text-primary-foreground hover:bg-cyan-600/90",minor:"bg-gray-200 text-secondary-foreground hover:bg-gray-300/90",success:"bg-green-600 text-primary-foreground hover:bg-green-600/90",warning:"bg-yellow-600 text-primary-foreground hover:bg-yellow-600/90",danger:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-solid border-blue-600 bg-background text-blue-600 hover:text-blue-600/80 hover:border-blue-600/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-blue-600 underline-offset-4 hover:underline hover:text-blue-600/90",text:"text-foreground"},size:{xs:"h-6 text-[10px] px-2",sm:"h-7 text-xs px-3",md:"h-8 text-sm px-4",lg:"h-9 text-lg px-8",xl:"h-10 text-lg px-10",icon:"h-8 w-8"},rounded:Ot,shadow:gr,bounce:{true:"transition-all ease-out active:-translate-y-[10%] active:scale-98"},splash:{true:"active:opacity-90"}},defaultVariants:{variant:"primary",size:"md",bounce:!1,splash:!1}}),sm=(e,t)=>{const r=new Array(e.length+t.length);for(let n=0;n<e.length;n++)r[n]=e[n];for(let n=0;n<t.length;n++)r[e.length+n]=t[n];return r},im=(e,t)=>({classGroupId:e,validator:t}),qc=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),_n="-",ya=[],am="arbitrary..",lm=e=>{const t=um(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return cm(i);const a=i.split(_n),l=a[0]===""&&a.length>1?1:0;return kc(a,l,t)},getConflictingClassGroupIds:(i,a)=>{if(a){const l=n[i],u=r[i];return l?u?sm(u,l):l:u||ya}return r[i]||ya}}},kc=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const o=e[t],s=r.nextPart.get(o);if(s){const u=kc(e,t+1,s);if(u)return u}const i=r.validators;if(i===null)return;const a=t===0?e.join(_n):e.slice(t).join(_n),l=i.length;for(let u=0;u<l;u++){const f=i[u];if(f.validator(a))return f.classGroupId}},cm=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?am+n:void 0})(),um=e=>{const{theme:t,classGroups:r}=e;return dm(r,t)},dm=(e,t)=>{const r=qc();for(const n in e){const o=e[n];Ys(o,r,n,t)}return r},Ys=(e,t,r,n)=>{const o=e.length;for(let s=0;s<o;s++){const i=e[s];fm(i,t,r,n)}},fm=(e,t,r,n)=>{if(typeof e=="string"){hm(e,t,r);return}if(typeof e=="function"){mm(e,t,r,n);return}pm(e,t,r,n)},hm=(e,t,r)=>{const n=e===""?t:Ec(t,e);n.classGroupId=r},mm=(e,t,r,n)=>{if(vm(e)){Ys(e(n),t,r,n);return}t.validators===null&&(t.validators=[]),t.validators.push(im(r,e))},pm=(e,t,r,n)=>{const o=Object.entries(e),s=o.length;for(let i=0;i<s;i++){const[a,l]=o[i];Ys(l,Ec(t,a),r,n)}},Ec=(e,t)=>{let r=e;const n=t.split(_n),o=n.length;for(let s=0;s<o;s++){const i=n[s];let a=r.nextPart.get(i);a||(a=qc(),r.nextPart.set(i,a)),r=a}return r},vm=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,gm=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null);const o=(s,i)=>{r[s]=i,t++,t>e&&(t=0,n=r,r=Object.create(null))};return{get(s){let i=r[s];if(i!==void 0)return i;if((i=n[s])!==void 0)return o(s,i),i},set(s,i){s in r?r[s]=i:o(s,i)}}},Cs="!",Pa=":",bm=[],wa=(e,t,r,n,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:o}),xm=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=o=>{const s=[];let i=0,a=0,l=0,u;const f=o.length;for(let p=0;p<f;p++){const x=o[p];if(i===0&&a===0){if(x===Pa){s.push(o.slice(l,p)),l=p+1;continue}if(x==="/"){u=p;continue}}x==="["?i++:x==="]"?i--:x==="("?a++:x===")"&&a--}const h=s.length===0?o:o.slice(l);let v=h,m=!1;h.endsWith(Cs)?(v=h.slice(0,-1),m=!0):h.startsWith(Cs)&&(v=h.slice(1),m=!0);const b=u&&u>l?u-l:void 0;return wa(s,m,v,b)};if(t){const o=t+Pa,s=n;n=i=>i.startsWith(o)?s(i.slice(o.length)):wa(bm,!1,i,void 0,!0)}if(r){const o=n;n=s=>r({className:s,parseClassName:o})}return n},ym=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((r,n)=>{t.set(r,1e6+n)}),r=>{const n=[];let o=[];for(let s=0;s<r.length;s++){const i=r[s],a=i[0]==="[",l=t.has(i);a||l?(o.length>0&&(o.sort(),n.push(...o),o=[]),n.push(i)):o.push(i)}return o.length>0&&(o.sort(),n.push(...o)),n}},Pm=e=>({cache:gm(e.cacheSize),parseClassName:xm(e),sortModifiers:ym(e),...lm(e)}),wm=/\s+/,Cm=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:s}=t,i=[],a=e.trim().split(wm);let l="";for(let u=a.length-1;u>=0;u-=1){const f=a[u],{isExternal:h,modifiers:v,hasImportantModifier:m,baseClassName:b,maybePostfixModifierPosition:p}=r(f);if(h){l=f+(l.length>0?" "+l:l);continue}let x=!!p,y=n(x?b.substring(0,p):b);if(!y){if(!x){l=f+(l.length>0?" "+l:l);continue}if(y=n(b),!y){l=f+(l.length>0?" "+l:l);continue}x=!1}const g=v.length===0?"":v.length===1?v[0]:s(v).join(":"),P=m?g+Cs:g,w=P+y;if(i.indexOf(w)>-1)continue;i.push(w);const S=o(y,x);for(let N=0;N<S.length;++N){const C=S[N];i.push(P+C)}l=f+(l.length>0?" "+l:l)}return l},Sm=(...e)=>{let t=0,r,n,o="";for(;t<e.length;)(r=e[t++])&&(n=Rc(r))&&(o&&(o+=" "),o+=n);return o},Rc=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Rc(e[n]))&&(r&&(r+=" "),r+=t);return r},Nm=(e,...t)=>{let r,n,o,s;const i=l=>{const u=t.reduce((f,h)=>h(f),e());return r=Pm(u),n=r.cache.get,o=r.cache.set,s=a,a(l)},a=l=>{const u=n(l);if(u)return u;const f=Cm(l,r);return o(l,f),f};return s=i,(...l)=>s(Sm(...l))},qm=[],Me=e=>{const t=r=>r[e]||qm;return t.isThemeGetter=!0,t},jc=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ac=/^\((?:(\w[\w-]*):)?(.+)\)$/i,km=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Em=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Rm=/\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$/,jm=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Am=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,_m=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Nt=e=>km.test(e),ge=e=>!!e&&!Number.isNaN(Number(e)),qt=e=>!!e&&Number.isInteger(Number(e)),qo=e=>e.endsWith("%")&&ge(e.slice(0,-1)),mt=e=>Em.test(e),_c=()=>!0,Tm=e=>Rm.test(e)&&!jm.test(e),Xs=()=>!1,Im=e=>Am.test(e),Om=e=>_m.test(e),Mm=e=>!ee(e)&&!ne(e),Lm=e=>Mt(e,Oc,Xs),ee=e=>jc.test(e),zt=e=>Mt(e,Mc,Tm),Ca=e=>Mt(e,Wm,ge),Dm=e=>Mt(e,Dc,_c),Bm=e=>Mt(e,Lc,Xs),Sa=e=>Mt(e,Tc,Xs),Fm=e=>Mt(e,Ic,Om),an=e=>Mt(e,Bc,Im),ne=e=>Ac.test(e),Nr=e=>Zt(e,Mc),$m=e=>Zt(e,Lc),Na=e=>Zt(e,Tc),Vm=e=>Zt(e,Oc),zm=e=>Zt(e,Ic),ln=e=>Zt(e,Bc,!0),Hm=e=>Zt(e,Dc,!0),Mt=(e,t,r)=>{const n=jc.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},Zt=(e,t,r=!1)=>{const n=Ac.exec(e);return n?n[1]?t(n[1]):r:!1},Tc=e=>e==="position"||e==="percentage",Ic=e=>e==="image"||e==="url",Oc=e=>e==="length"||e==="size"||e==="bg-size",Mc=e=>e==="length",Wm=e=>e==="number",Lc=e=>e==="family-name",Dc=e=>e==="number"||e==="weight",Bc=e=>e==="shadow",Gm=()=>{const e=Me("color"),t=Me("font"),r=Me("text"),n=Me("font-weight"),o=Me("tracking"),s=Me("leading"),i=Me("breakpoint"),a=Me("container"),l=Me("spacing"),u=Me("radius"),f=Me("shadow"),h=Me("inset-shadow"),v=Me("text-shadow"),m=Me("drop-shadow"),b=Me("blur"),p=Me("perspective"),x=Me("aspect"),y=Me("ease"),g=Me("animate"),P=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],S=()=>[...w(),ne,ee],N=()=>["auto","hidden","clip","visible","scroll"],C=()=>["auto","contain","none"],q=()=>[ne,ee,l],k=()=>[Nt,"full","auto",...q()],A=()=>[qt,"none","subgrid",ne,ee],E=()=>["auto",{span:["full",qt,ne,ee]},qt,ne,ee],R=()=>[qt,"auto",ne,ee],_=()=>["auto","min","max","fr",ne,ee],I=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],O=()=>["start","end","center","stretch","center-safe","end-safe"],T=()=>["auto",...q()],$=()=>[Nt,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...q()],B=()=>[Nt,"screen","full","dvw","lvw","svw","min","max","fit",...q()],U=()=>[Nt,"screen","full","lh","dvh","lvh","svh","min","max","fit",...q()],L=()=>[e,ne,ee],G=()=>[...w(),Na,Sa,{position:[ne,ee]}],me=()=>["no-repeat",{repeat:["","x","y","space","round"]}],te=()=>["auto","cover","contain",Vm,Lm,{size:[ne,ee]}],J=()=>[qo,Nr,zt],H=()=>["","none","full",u,ne,ee],Y=()=>["",ge,Nr,zt],D=()=>["solid","dashed","dotted","double"],Q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],z=()=>[ge,qo,Na,Sa],K=()=>["","none",b,ne,ee],W=()=>["none",ge,ne,ee],Z=()=>["none",ge,ne,ee],ae=()=>[ge,ne,ee],ue=()=>[Nt,"full",...q()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[mt],breakpoint:[mt],color:[_c],container:[mt],"drop-shadow":[mt],ease:["in","out","in-out"],font:[Mm],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[mt],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[mt],shadow:[mt],spacing:["px",ge],text:[mt],"text-shadow":[mt],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Nt,ee,ne,x]}],container:["container"],columns:[{columns:[ge,ee,ne,a]}],"break-after":[{"break-after":P()}],"break-before":[{"break-before":P()}],"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:S()}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{"inset-s":k(),start:k()}],end:[{"inset-e":k(),end:k()}],"inset-bs":[{"inset-bs":k()}],"inset-be":[{"inset-be":k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[qt,"auto",ne,ee]}],basis:[{basis:[Nt,"full","auto",a,...q()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ge,Nt,"auto","initial","none",ee]}],grow:[{grow:["",ge,ne,ee]}],shrink:[{shrink:["",ge,ne,ee]}],order:[{order:[qt,"first","last","none",ne,ee]}],"grid-cols":[{"grid-cols":A()}],"col-start-end":[{col:E()}],"col-start":[{"col-start":R()}],"col-end":[{"col-end":R()}],"grid-rows":[{"grid-rows":A()}],"row-start-end":[{row:E()}],"row-start":[{"row-start":R()}],"row-end":[{"row-end":R()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":_()}],"auto-rows":[{"auto-rows":_()}],gap:[{gap:q()}],"gap-x":[{"gap-x":q()}],"gap-y":[{"gap-y":q()}],"justify-content":[{justify:[...I(),"normal"]}],"justify-items":[{"justify-items":[...O(),"normal"]}],"justify-self":[{"justify-self":["auto",...O()]}],"align-content":[{content:["normal",...I()]}],"align-items":[{items:[...O(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...O(),{baseline:["","last"]}]}],"place-content":[{"place-content":I()}],"place-items":[{"place-items":[...O(),"baseline"]}],"place-self":[{"place-self":["auto",...O()]}],p:[{p:q()}],px:[{px:q()}],py:[{py:q()}],ps:[{ps:q()}],pe:[{pe:q()}],pbs:[{pbs:q()}],pbe:[{pbe:q()}],pt:[{pt:q()}],pr:[{pr:q()}],pb:[{pb:q()}],pl:[{pl:q()}],m:[{m:T()}],mx:[{mx:T()}],my:[{my:T()}],ms:[{ms:T()}],me:[{me:T()}],mbs:[{mbs:T()}],mbe:[{mbe:T()}],mt:[{mt:T()}],mr:[{mr:T()}],mb:[{mb:T()}],ml:[{ml:T()}],"space-x":[{"space-x":q()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":q()}],"space-y-reverse":["space-y-reverse"],size:[{size:$()}],"inline-size":[{inline:["auto",...B()]}],"min-inline-size":[{"min-inline":["auto",...B()]}],"max-inline-size":[{"max-inline":["none",...B()]}],"block-size":[{block:["auto",...U()]}],"min-block-size":[{"min-block":["auto",...U()]}],"max-block-size":[{"max-block":["none",...U()]}],w:[{w:[a,"screen",...$()]}],"min-w":[{"min-w":[a,"screen","none",...$()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...$()]}],h:[{h:["screen","lh",...$()]}],"min-h":[{"min-h":["screen","lh","none",...$()]}],"max-h":[{"max-h":["screen","lh",...$()]}],"font-size":[{text:["base",r,Nr,zt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,Hm,Dm]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",qo,ee]}],"font-family":[{font:[$m,Bm,t]}],"font-features":[{"font-features":[ee]}],"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:[o,ne,ee]}],"line-clamp":[{"line-clamp":[ge,"none",ne,Ca]}],leading:[{leading:[s,...q()]}],"list-image":[{"list-image":["none",ne,ee]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ne,ee]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:L()}],"text-color":[{text:L()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...D(),"wavy"]}],"text-decoration-thickness":[{decoration:[ge,"from-font","auto",ne,zt]}],"text-decoration-color":[{decoration:L()}],"underline-offset":[{"underline-offset":[ge,"auto",ne,ee]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:q()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ne,ee]}],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",ne,ee]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:G()}],"bg-repeat":[{bg:me()}],"bg-size":[{bg:te()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},qt,ne,ee],radial:["",ne,ee],conic:[qt,ne,ee]},zm,Fm]}],"bg-color":[{bg:L()}],"gradient-from-pos":[{from:J()}],"gradient-via-pos":[{via:J()}],"gradient-to-pos":[{to:J()}],"gradient-from":[{from:L()}],"gradient-via":[{via:L()}],"gradient-to":[{to:L()}],rounded:[{rounded:H()}],"rounded-s":[{"rounded-s":H()}],"rounded-e":[{"rounded-e":H()}],"rounded-t":[{"rounded-t":H()}],"rounded-r":[{"rounded-r":H()}],"rounded-b":[{"rounded-b":H()}],"rounded-l":[{"rounded-l":H()}],"rounded-ss":[{"rounded-ss":H()}],"rounded-se":[{"rounded-se":H()}],"rounded-ee":[{"rounded-ee":H()}],"rounded-es":[{"rounded-es":H()}],"rounded-tl":[{"rounded-tl":H()}],"rounded-tr":[{"rounded-tr":H()}],"rounded-br":[{"rounded-br":H()}],"rounded-bl":[{"rounded-bl":H()}],"border-w":[{border:Y()}],"border-w-x":[{"border-x":Y()}],"border-w-y":[{"border-y":Y()}],"border-w-s":[{"border-s":Y()}],"border-w-e":[{"border-e":Y()}],"border-w-bs":[{"border-bs":Y()}],"border-w-be":[{"border-be":Y()}],"border-w-t":[{"border-t":Y()}],"border-w-r":[{"border-r":Y()}],"border-w-b":[{"border-b":Y()}],"border-w-l":[{"border-l":Y()}],"divide-x":[{"divide-x":Y()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Y()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...D(),"hidden","none"]}],"divide-style":[{divide:[...D(),"hidden","none"]}],"border-color":[{border:L()}],"border-color-x":[{"border-x":L()}],"border-color-y":[{"border-y":L()}],"border-color-s":[{"border-s":L()}],"border-color-e":[{"border-e":L()}],"border-color-bs":[{"border-bs":L()}],"border-color-be":[{"border-be":L()}],"border-color-t":[{"border-t":L()}],"border-color-r":[{"border-r":L()}],"border-color-b":[{"border-b":L()}],"border-color-l":[{"border-l":L()}],"divide-color":[{divide:L()}],"outline-style":[{outline:[...D(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ge,ne,ee]}],"outline-w":[{outline:["",ge,Nr,zt]}],"outline-color":[{outline:L()}],shadow:[{shadow:["","none",f,ln,an]}],"shadow-color":[{shadow:L()}],"inset-shadow":[{"inset-shadow":["none",h,ln,an]}],"inset-shadow-color":[{"inset-shadow":L()}],"ring-w":[{ring:Y()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:L()}],"ring-offset-w":[{"ring-offset":[ge,zt]}],"ring-offset-color":[{"ring-offset":L()}],"inset-ring-w":[{"inset-ring":Y()}],"inset-ring-color":[{"inset-ring":L()}],"text-shadow":[{"text-shadow":["none",v,ln,an]}],"text-shadow-color":[{"text-shadow":L()}],opacity:[{opacity:[ge,ne,ee]}],"mix-blend":[{"mix-blend":[...Q(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Q()}],"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":[ge]}],"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":L()}],"mask-image-linear-to-color":[{"mask-linear-to":L()}],"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":L()}],"mask-image-t-to-color":[{"mask-t-to":L()}],"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":L()}],"mask-image-r-to-color":[{"mask-r-to":L()}],"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":L()}],"mask-image-b-to-color":[{"mask-b-to":L()}],"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":L()}],"mask-image-l-to-color":[{"mask-l-to":L()}],"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":L()}],"mask-image-x-to-color":[{"mask-x-to":L()}],"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":L()}],"mask-image-y-to-color":[{"mask-y-to":L()}],"mask-image-radial":[{"mask-radial":[ne,ee]}],"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":L()}],"mask-image-radial-to-color":[{"mask-radial-to":L()}],"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":w()}],"mask-image-conic-pos":[{"mask-conic":[ge]}],"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":L()}],"mask-image-conic-to-color":[{"mask-conic-to":L()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:G()}],"mask-repeat":[{mask:me()}],"mask-size":[{mask:te()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ne,ee]}],filter:[{filter:["","none",ne,ee]}],blur:[{blur:K()}],brightness:[{brightness:[ge,ne,ee]}],contrast:[{contrast:[ge,ne,ee]}],"drop-shadow":[{"drop-shadow":["","none",m,ln,an]}],"drop-shadow-color":[{"drop-shadow":L()}],grayscale:[{grayscale:["",ge,ne,ee]}],"hue-rotate":[{"hue-rotate":[ge,ne,ee]}],invert:[{invert:["",ge,ne,ee]}],saturate:[{saturate:[ge,ne,ee]}],sepia:[{sepia:["",ge,ne,ee]}],"backdrop-filter":[{"backdrop-filter":["","none",ne,ee]}],"backdrop-blur":[{"backdrop-blur":K()}],"backdrop-brightness":[{"backdrop-brightness":[ge,ne,ee]}],"backdrop-contrast":[{"backdrop-contrast":[ge,ne,ee]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ge,ne,ee]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ge,ne,ee]}],"backdrop-invert":[{"backdrop-invert":["",ge,ne,ee]}],"backdrop-opacity":[{"backdrop-opacity":[ge,ne,ee]}],"backdrop-saturate":[{"backdrop-saturate":[ge,ne,ee]}],"backdrop-sepia":[{"backdrop-sepia":["",ge,ne,ee]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":q()}],"border-spacing-x":[{"border-spacing-x":q()}],"border-spacing-y":[{"border-spacing-y":q()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ne,ee]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ge,"initial",ne,ee]}],ease:[{ease:["linear","initial",y,ne,ee]}],delay:[{delay:[ge,ne,ee]}],animate:[{animate:["none",g,ne,ee]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[p,ne,ee]}],"perspective-origin":[{"perspective-origin":S()}],rotate:[{rotate:W()}],"rotate-x":[{"rotate-x":W()}],"rotate-y":[{"rotate-y":W()}],"rotate-z":[{"rotate-z":W()}],scale:[{scale:Z()}],"scale-x":[{"scale-x":Z()}],"scale-y":[{"scale-y":Z()}],"scale-z":[{"scale-z":Z()}],"scale-3d":["scale-3d"],skew:[{skew:ae()}],"skew-x":[{"skew-x":ae()}],"skew-y":[{"skew-y":ae()}],transform:[{transform:[ne,ee,"","none","gpu","cpu"]}],"transform-origin":[{origin:S()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ue()}],"translate-x":[{"translate-x":ue()}],"translate-y":[{"translate-y":ue()}],"translate-z":[{"translate-z":ue()}],"translate-none":["translate-none"],accent:[{accent:L()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:L()}],"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",ne,ee]}],"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":q()}],"scroll-mx":[{"scroll-mx":q()}],"scroll-my":[{"scroll-my":q()}],"scroll-ms":[{"scroll-ms":q()}],"scroll-me":[{"scroll-me":q()}],"scroll-mbs":[{"scroll-mbs":q()}],"scroll-mbe":[{"scroll-mbe":q()}],"scroll-mt":[{"scroll-mt":q()}],"scroll-mr":[{"scroll-mr":q()}],"scroll-mb":[{"scroll-mb":q()}],"scroll-ml":[{"scroll-ml":q()}],"scroll-p":[{"scroll-p":q()}],"scroll-px":[{"scroll-px":q()}],"scroll-py":[{"scroll-py":q()}],"scroll-ps":[{"scroll-ps":q()}],"scroll-pe":[{"scroll-pe":q()}],"scroll-pbs":[{"scroll-pbs":q()}],"scroll-pbe":[{"scroll-pbe":q()}],"scroll-pt":[{"scroll-pt":q()}],"scroll-pr":[{"scroll-pr":q()}],"scroll-pb":[{"scroll-pb":q()}],"scroll-pl":[{"scroll-pl":q()}],"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",ne,ee]}],fill:[{fill:["none",...L()]}],"stroke-w":[{stroke:[ge,Nr,zt,Ca]}],stroke:[{stroke:["none",...L()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-bs","border-w-be","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-bs","border-color-be","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-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]}},Km=Nm(Gm);class Kt{static instance;constructor(){}static getInstance(){return Kt.instance||(Kt.instance=new Kt),Kt.instance}getRootFontSize(){if(typeof document>"u")return 16;const t=parseFloat(getComputedStyle(document.documentElement).fontSize);return isNaN(t)?16:t}parseValue(t){const r=t.match(/^(-?\d+(?:\.\d+)?)([a-z%]*)$/i);if(!r)throw new Error(`Invalid CSS value: ${t}`);const n=parseFloat(r[1]),o=r[2].toLowerCase()||"";return{value:n,unit:o}}convertToPx(t,r={}){if(typeof t=="number")return t;const n=String(t).trim();if(!n)return 0;if(n.endsWith("px"))return parseFloat(n);const{value:o,unit:s}=this.parseValue(n);switch(s){case"rem":return o*(r.fontSizeBase||this.getRootFontSize());case"em":if(!r.contextElement)throw new Error("contextElement is required for em unit conversion");const i=parseFloat(getComputedStyle(r.contextElement.parentElement||document.documentElement).fontSize);return o*i;case"%":if(!r.parentSize)throw new Error("parentSize is required for percentage conversion");const a=r.parentSize.width||100;return o/100*a;case"vw":const l=r.viewportWidth||(typeof window<"u"?window.innerWidth:1920);return o/100*l;case"vh":const u=r.viewportHeight||(typeof window<"u"?window.innerHeight:1080);return o/100*u;case"vmin":const f=r.viewportWidth||window.innerWidth,h=r.viewportHeight||window.innerHeight,v=Math.min(f,h);return o/100*v;case"vmax":const m=r.viewportWidth||window.innerWidth,b=r.viewportHeight||window.innerHeight,p=Math.max(m,b);return o/100*p;case"cm":return o*37.795;case"mm":return o*3.7795;case"in":return o*96;case"pt":return o*1.3333;case"pc":return o*16;case"":return o;default:throw new Error(`Unsupported unit: ${s}`)}}convertMultipleToPx(t,r){const n={};for(const[o,s]of Object.entries(t))try{n[o]=this.convertToPx(s,r)}catch(i){console.warn(`Failed to convert ${o}: ${s}`,i),n[o]=typeof s=="number"?s:0}return n}}function j(...e){return Km(Cc(e))}const Um={},Ss=d.createContext(Um);function Ym({theme:e,children:t}){const r=d.useContext(Ss),n=d.useMemo(()=>({...r,...e}),[r,e]);return c.jsx(Ss.Provider,{value:n,children:t})}function se(){return d.useContext(Ss)}function Xm(e){return e}function Jm(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Qm(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Zm=(function(){function e(r){var n=this;this._insertTag=function(o){var s;n.tags.length===0?n.insertionPoint?s=n.insertionPoint.nextSibling:n.prepend?s=n.container.firstChild:s=n.before:s=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,s),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Qm(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=Jm(o);try{s.insertRule(n,s.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var o;return(o=n.parentNode)==null?void 0:o.removeChild(n)}),this.tags=[],this.ctr=0},e})(),Be="-ms-",Tn="-moz-",Ne="-webkit-",Fc="comm",Js="rule",Qs="decl",ep="@import",$c="@keyframes",tp="@layer",rp=Math.abs,Kn=String.fromCharCode,np=Object.assign;function op(e,t){return De(e,0)^45?(((t<<2^De(e,0))<<2^De(e,1))<<2^De(e,2))<<2^De(e,3):0}function Vc(e){return e.trim()}function sp(e,t){return(e=t.exec(e))?e[0]:e}function qe(e,t,r){return e.replace(t,r)}function Ns(e,t){return e.indexOf(t)}function De(e,t){return e.charCodeAt(t)|0}function Dr(e,t,r){return e.slice(t,r)}function it(e){return e.length}function Zs(e){return e.length}function cn(e,t){return t.push(e),e}function ip(e,t){return e.map(t).join("")}var Un=1,fr=1,zc=0,Ve=0,Oe=0,br="";function Yn(e,t,r,n,o,s,i){return{value:e,root:t,parent:r,type:n,props:o,children:s,line:Un,column:fr,length:i,return:""}}function qr(e,t){return np(Yn("",null,null,"",null,null,0),e,{length:-e.length},t)}function ap(){return Oe}function lp(){return Oe=Ve>0?De(br,--Ve):0,fr--,Oe===10&&(fr=1,Un--),Oe}function Ge(){return Oe=Ve<zc?De(br,Ve++):0,fr++,Oe===10&&(fr=1,Un++),Oe}function ct(){return De(br,Ve)}function wn(){return Ve}function Ur(e,t){return Dr(br,e,t)}function Br(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Hc(e){return Un=fr=1,zc=it(br=e),Ve=0,[]}function Wc(e){return br="",e}function Cn(e){return Vc(Ur(Ve-1,qs(e===91?e+2:e===40?e+1:e)))}function cp(e){for(;(Oe=ct())&&Oe<33;)Ge();return Br(e)>2||Br(Oe)>3?"":" "}function up(e,t){for(;--t&&Ge()&&!(Oe<48||Oe>102||Oe>57&&Oe<65||Oe>70&&Oe<97););return Ur(e,wn()+(t<6&&ct()==32&&Ge()==32))}function qs(e){for(;Ge();)switch(Oe){case e:return Ve;case 34:case 39:e!==34&&e!==39&&qs(Oe);break;case 40:e===41&&qs(e);break;case 92:Ge();break}return Ve}function dp(e,t){for(;Ge()&&e+Oe!==57;)if(e+Oe===84&&ct()===47)break;return"/*"+Ur(t,Ve-1)+"*"+Kn(e===47?e:Ge())}function fp(e){for(;!Br(ct());)Ge();return Ur(e,Ve)}function hp(e){return Wc(Sn("",null,null,null,[""],e=Hc(e),0,[0],e))}function Sn(e,t,r,n,o,s,i,a,l){for(var u=0,f=0,h=i,v=0,m=0,b=0,p=1,x=1,y=1,g=0,P="",w=o,S=s,N=n,C=P;x;)switch(b=g,g=Ge()){case 40:if(b!=108&&De(C,h-1)==58){Ns(C+=qe(Cn(g),"&","&\f"),"&\f")!=-1&&(y=-1);break}case 34:case 39:case 91:C+=Cn(g);break;case 9:case 10:case 13:case 32:C+=cp(b);break;case 92:C+=up(wn()-1,7);continue;case 47:switch(ct()){case 42:case 47:cn(mp(dp(Ge(),wn()),t,r),l);break;default:C+="/"}break;case 123*p:a[u++]=it(C)*y;case 125*p:case 59:case 0:switch(g){case 0:case 125:x=0;case 59+f:y==-1&&(C=qe(C,/\f/g,"")),m>0&&it(C)-h&&cn(m>32?ka(C+";",n,r,h-1):ka(qe(C," ","")+";",n,r,h-2),l);break;case 59:C+=";";default:if(cn(N=qa(C,t,r,u,f,o,a,P,w=[],S=[],h),s),g===123)if(f===0)Sn(C,t,N,N,w,s,h,a,S);else switch(v===99&&De(C,3)===110?100:v){case 100:case 108:case 109:case 115:Sn(e,N,N,n&&cn(qa(e,N,N,0,0,o,a,P,o,w=[],h),S),o,S,h,a,n?w:S);break;default:Sn(C,N,N,N,[""],S,0,a,S)}}u=f=m=0,p=y=1,P=C="",h=i;break;case 58:h=1+it(C),m=b;default:if(p<1){if(g==123)--p;else if(g==125&&p++==0&&lp()==125)continue}switch(C+=Kn(g),g*p){case 38:y=f>0?1:(C+="\f",-1);break;case 44:a[u++]=(it(C)-1)*y,y=1;break;case 64:ct()===45&&(C+=Cn(Ge())),v=ct(),f=h=it(P=C+=fp(wn())),g++;break;case 45:b===45&&it(C)==2&&(p=0)}}return s}function qa(e,t,r,n,o,s,i,a,l,u,f){for(var h=o-1,v=o===0?s:[""],m=Zs(v),b=0,p=0,x=0;b<n;++b)for(var y=0,g=Dr(e,h+1,h=rp(p=i[b])),P=e;y<m;++y)(P=Vc(p>0?v[y]+" "+g:qe(g,/&\f/g,v[y])))&&(l[x++]=P);return Yn(e,t,r,o===0?Js:a,l,u,f)}function mp(e,t,r){return Yn(e,t,r,Fc,Kn(ap()),Dr(e,2,-2),0)}function ka(e,t,r,n){return Yn(e,t,r,Qs,Dr(e,0,n),Dr(e,n+1,-1),n)}function cr(e,t){for(var r="",n=Zs(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function pp(e,t,r,n){switch(e.type){case tp:if(e.children.length)break;case ep:case Qs:return e.return=e.return||e.value;case Fc:return"";case $c:return e.return=e.value+"{"+cr(e.children,n)+"}";case Js:e.value=e.props.join(",")}return it(r=cr(e.children,n))?e.return=e.value+"{"+r+"}":""}function vp(e){var t=Zs(e);return function(r,n,o,s){for(var i="",a=0;a<t;a++)i+=e[a](r,n,o,s)||"";return i}}function gp(e){return function(t){t.root||(t=t.return)&&e(t)}}function bp(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var xp=function(t,r,n){for(var o=0,s=0;o=s,s=ct(),o===38&&s===12&&(r[n]=1),!Br(s);)Ge();return Ur(t,Ve)},yp=function(t,r){var n=-1,o=44;do switch(Br(o)){case 0:o===38&&ct()===12&&(r[n]=1),t[n]+=xp(Ve-1,r,n);break;case 2:t[n]+=Cn(o);break;case 4:if(o===44){t[++n]=ct()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Kn(o)}while(o=Ge());return t},Pp=function(t,r){return Wc(yp(Hc(t),r))},Ea=new WeakMap,wp=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Ea.get(n))&&!o){Ea.set(t,!0);for(var s=[],i=Pp(r,s),a=n.props,l=0,u=0;l<i.length;l++)for(var f=0;f<a.length;f++,u++)t.props[u]=s[l]?i[l].replace(/&\f/g,a[f]):a[f]+" "+i[l]}}},Cp=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Gc(e,t){switch(op(e,t)){case 5103:return Ne+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ne+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ne+e+Tn+e+Be+e+e;case 6828:case 4268:return Ne+e+Be+e+e;case 6165:return Ne+e+Be+"flex-"+e+e;case 5187:return Ne+e+qe(e,/(\w+).+(:[^]+)/,Ne+"box-$1$2"+Be+"flex-$1$2")+e;case 5443:return Ne+e+Be+"flex-item-"+qe(e,/flex-|-self/,"")+e;case 4675:return Ne+e+Be+"flex-line-pack"+qe(e,/align-content|flex-|-self/,"")+e;case 5548:return Ne+e+Be+qe(e,"shrink","negative")+e;case 5292:return Ne+e+Be+qe(e,"basis","preferred-size")+e;case 6060:return Ne+"box-"+qe(e,"-grow","")+Ne+e+Be+qe(e,"grow","positive")+e;case 4554:return Ne+qe(e,/([^-])(transform)/g,"$1"+Ne+"$2")+e;case 6187:return qe(qe(qe(e,/(zoom-|grab)/,Ne+"$1"),/(image-set)/,Ne+"$1"),e,"")+e;case 5495:case 3959:return qe(e,/(image-set\([^]*)/,Ne+"$1$`$1");case 4968:return qe(qe(e,/(.+:)(flex-)?(.*)/,Ne+"box-pack:$3"+Be+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ne+e+e;case 4095:case 3583:case 4068:case 2532:return qe(e,/(.+)-inline(.+)/,Ne+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(it(e)-1-t>6)switch(De(e,t+1)){case 109:if(De(e,t+4)!==45)break;case 102:return qe(e,/(.+:)(.+)-([^]+)/,"$1"+Ne+"$2-$3$1"+Tn+(De(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ns(e,"stretch")?Gc(qe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(De(e,t+1)!==115)break;case 6444:switch(De(e,it(e)-3-(~Ns(e,"!important")&&10))){case 107:return qe(e,":",":"+Ne)+e;case 101:return qe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ne+(De(e,14)===45?"inline-":"")+"box$3$1"+Ne+"$2$3$1"+Be+"$2box$3")+e}break;case 5936:switch(De(e,t+11)){case 114:return Ne+e+Be+qe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ne+e+Be+qe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ne+e+Be+qe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ne+e+Be+e+e}return e}var Sp=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case Qs:t.return=Gc(t.value,t.length);break;case $c:return cr([qr(t,{value:qe(t.value,"@","@"+Ne)})],o);case Js:if(t.length)return ip(t.props,function(s){switch(sp(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return cr([qr(t,{props:[qe(s,/:(read-\w+)/,":"+Tn+"$1")]})],o);case"::placeholder":return cr([qr(t,{props:[qe(s,/:(plac\w+)/,":"+Ne+"input-$1")]}),qr(t,{props:[qe(s,/:(plac\w+)/,":"+Tn+"$1")]}),qr(t,{props:[qe(s,/:(plac\w+)/,Be+"input-$1")]})],o)}return""})}},Np=[Sp],qp=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(p){var x=p.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var o=t.stylisPlugins||Np,s={},i,a=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(p){for(var x=p.getAttribute("data-emotion").split(" "),y=1;y<x.length;y++)s[x[y]]=!0;a.push(p)});var l,u=[wp,Cp];{var f,h=[pp,gp(function(p){f.insert(p)})],v=vp(u.concat(o,h)),m=function(x){return cr(hp(x),v)};l=function(x,y,g,P){f=g,m(x?x+"{"+y.styles+"}":y.styles),P&&(b.inserted[y.name]=!0)}}var b={key:r,sheet:new Zm({key:r,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:l};return b.sheet.hydrate(a),b};function kp(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Ep={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Rp=/[A-Z]|^ms/g,jp=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Kc=function(t){return t.charCodeAt(1)===45},Ra=function(t){return t!=null&&typeof t!="boolean"},ko=bp(function(e){return Kc(e)?e:e.replace(Rp,"-$&").toLowerCase()}),ja=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(jp,function(n,o,s){return jt={name:o,styles:s,next:jt},o})}return Ep[t]!==1&&!Kc(t)&&typeof r=="number"&&r!==0?r+"px":r};function In(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var o=r;if(o.anim===1)return jt={name:o.name,styles:o.styles,next:jt},o.name;var s=r;if(s.styles!==void 0){var i=s.next;if(i!==void 0)for(;i!==void 0;)jt={name:i.name,styles:i.styles,next:jt},i=i.next;var a=s.styles+";";return a}return Ap(e,t,r)}}var l=r;if(t==null)return l;var u=t[l];return u!==void 0?u:l}function Ap(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=In(e,t,r[o])+";";else for(var s in r){var i=r[s];if(typeof i!="object"){var a=i;t!=null&&t[a]!==void 0?n+=s+"{"+t[a]+"}":Ra(a)&&(n+=ko(s)+":"+ja(s,a)+";")}else if(Array.isArray(i)&&typeof i[0]=="string"&&(t==null||t[i[0]]===void 0))for(var l=0;l<i.length;l++)Ra(i[l])&&(n+=ko(s)+":"+ja(s,i[l])+";");else{var u=In(e,t,i);switch(s){case"animation":case"animationName":{n+=ko(s)+":"+u+";";break}default:n+=s+"{"+u+"}"}}}return n}var Aa=/label:\s*([^\s;{]+)\s*(;|$)/g,jt;function Eo(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";jt=void 0;var s=e[0];if(s==null||s.raw===void 0)n=!1,o+=In(r,t,s);else{var i=s;o+=i[0]}for(var a=1;a<e.length;a++)if(o+=In(r,t,e[a]),n){var l=s;o+=l[a]}Aa.lastIndex=0;for(var u="",f;(f=Aa.exec(o))!==null;)u+="-"+f[1];var h=kp(o)+u;return{name:h,styles:o,next:jt}}function Uc(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(n+=o+" ")}),n}var _p=function(t,r,n){var o=t.key+"-"+r.name;t.registered[o]===void 0&&(t.registered[o]=r.styles)},Tp=function(t,r,n){_p(t,r);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var s=r;do t.insert(r===s?"."+o:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function _a(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function Ta(e,t,r){var n=[],o=Uc(e,n,r);return n.length<2?r:o+t(n)}var Ip=function(t){var r=qp(t);r.sheet.speedy=function(a){this.isSpeedy=a},r.compat=!0;var n=function(){for(var l=arguments.length,u=new Array(l),f=0;f<l;f++)u[f]=arguments[f];var h=Eo(u,r.registered,void 0);return Tp(r,h),r.key+"-"+h.name},o=function(){for(var l=arguments.length,u=new Array(l),f=0;f<l;f++)u[f]=arguments[f];var h=Eo(u,r.registered),v="animation-"+h.name;return _a(r,{name:h.name,styles:"@keyframes "+v+"{"+h.styles+"}"}),v},s=function(){for(var l=arguments.length,u=new Array(l),f=0;f<l;f++)u[f]=arguments[f];var h=Eo(u,r.registered);_a(r,h)},i=function(){for(var l=arguments.length,u=new Array(l),f=0;f<l;f++)u[f]=arguments[f];return Ta(r.registered,n,Op(u))};return{css:n,cx:i,injectGlobal:s,keyframes:o,hydrate:function(l){l.forEach(function(u){r.inserted[u]=!0})},flush:function(){r.registered={},r.inserted={},r.sheet.flush()},sheet:r.sheet,cache:r,getRegisteredStyles:Uc.bind(null,r.registered),merge:Ta.bind(null,r.registered,n)}},Op=function e(t){for(var r="",n=0;n<t.length;n++){var o=t[n];if(o!=null){var s=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))s=e(o);else{s="";for(var i in o)o[i]&&i&&(s&&(s+=" "),s+=i)}break}default:s=o}s&&(r&&(r+=" "),r+=s)}}return r},Mp=Ip({key:"css"}),Lp=Mp.css;function Dp(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function ks(e,t,r){if(e){if(typeof e=="function"){ks(e(t),t,r);return}if(Array.isArray(e)){for(const n of e)ks(n,t,r);return}Dp(e)&&r.push(e)}}function Bp(e,t){return!(t==null||typeof t=="object"||Array.isArray(t)||e.startsWith("@")||e.includes("&")||e.includes(":")||e.includes(" ")||e.includes(">")||e.includes("+")||e.includes("~")||e.includes("[")||e.includes(".")||e.includes("#"))}function Fp(e){const t={};for(const[r,n]of Object.entries(e))Bp(r,n)&&(t[r]=n);return t}function X(e,t){const r=[];if(ks(e,t,r),!r.length)return{sxClassName:void 0,sxInlineStyle:void 0};const n=Lp(r),o=r.reduce((s,i)=>({...s,...Fp(i)}),{});return{sxClassName:n,sxInlineStyle:o}}function M(...e){const t=e.reduce((r,n)=>n?{...r,...n}:r,{});return Object.keys(t).length?t:void 0}function Yr(e){const{component:t,variant:r,size:n,rounded:o,shadow:s,bounce:i,splash:a,sx:l,style:u,className:f,class:h,...v}=e,m=t??"button",{roundedPreset:b,roundedStyle:p}=Qt(o),{shadowPreset:x,shadowStyle:y}=Kr(s),g=se(),{sxClassName:P,sxInlineStyle:w}=X(l,g);return c.jsx(m,{className:j(Nc({variant:r,size:n,rounded:b,shadow:x,bounce:i,splash:a}),P,f,h),style:M(u,p,y,w),...v})}Yr.displayName="Button";const Ro={xs:"h-8 w-8 text-xs",sm:"h-10 w-10 text-sm",md:"h-12 w-12 text-base",lg:"h-14 w-14 text-lg",xl:"h-16 w-16 text-xl"};function $p(e){if(e===void 0)return{sizeClassName:Ro.md};if(typeof e=="string"&&e in Ro)return{sizeClassName:Ro[e]};const t=typeof e=="number"?`${e}px`:e;return{sizeStyle:{width:t,height:t}}}function On(e){const{component:t,size:r="md",position:n="fixed",left:o,top:s,right:i=16,bottom:a=16,zIndex:l=10,rounded:u="full",className:f,style:h,...v}=e,{sizeClassName:m,sizeStyle:b}=$p(r),p={...v,component:t,size:"icon",rounded:u,className:j("shrink-0 overflow-hidden p-0",m,f),style:M({position:n,left:o,top:s,right:i,bottom:a,zIndex:l},b,h)};return c.jsx(Yr,{...p})}On.displayName="GhostButton";const Yc="__LDKJ_GHOST_BUTTON_GROUP_ITEM__";function ei(e){return null}ei.displayName="GhostButtonGroup.Item";ei[Yc]=!0;function Vp(e){return!!(e&&typeof e=="function"&&e[Yc]===!0)}function zp(e){return typeof e=="number"?`${e}px`:e}function Ia(e,t){return e.includes(t)}function Hp(e){const t=[],r=[];return d.Children.forEach(e,n=>{if(d.isValidElement(n)&&Vp(n.type)){r.push(n);return}t.push(n)}),{triggerChildren:t,itemChildren:r}}function Wp(e,t){switch(e){case"down":return{position:"absolute",top:`calc(100% + ${t})`,right:0,display:"flex",flexDirection:"column",alignItems:"flex-end",gap:t};case"left":return{position:"absolute",right:`calc(100% + ${t})`,top:0,display:"flex",flexDirection:"row-reverse",alignItems:"center",gap:t};case"right":return{position:"absolute",left:`calc(100% + ${t})`,top:0,display:"flex",flexDirection:"row",alignItems:"center",gap:t};default:return{position:"absolute",bottom:`calc(100% + ${t})`,right:0,display:"flex",flexDirection:"column-reverse",alignItems:"flex-end",gap:t}}}function Gp(e){switch(e){case"down":return"translateY(-16px) scale(0.78)";case"left":return"translateX(16px) scale(0.78)";case"right":return"translateX(-16px) scale(0.78)";default:return"translateY(16px) scale(0.78)"}}function Kp(e,t,r,n){const o=t==="open",s=r*85,i=Math.max(n-r-1,0)*65;return{opacity:o?1:0,transform:o?"translate3d(0, 0, 0) scale(1)":Gp(e),transitionProperty:"opacity, transform",transitionDuration:o?"380ms":"260ms",transitionTimingFunction:o?"cubic-bezier(0.16, 1, 0.3, 1)":"cubic-bezier(0.4, 0, 1, 1)",transitionDelay:`${o?s:i}ms`,willChange:"opacity, transform"}}function Up(e){const{trigger:t="click",direction:r="up",gap:n=12,items:o,children:s,position:i="fixed",left:a,top:l,right:u=16,bottom:f=16,zIndex:h=10,onClick:v,...m}=e,b=Array.isArray(t)?t:[t],p=zp(n),{triggerChildren:x,itemChildren:y}=Hp(s),g=[...o??[],...y.map(T=>({...T.props,key:T.key??void 0}))],[P,w]=d.useState(!1),[S,N]=d.useState("closed"),C=d.useRef(null),q=d.useRef(null),k=x.length>0?c.jsx(c.Fragment,{children:x}):void 0,A=Ia(b,"hover"),E=Ia(b,"click"),R=Math.max(g.length-1,0)*65,_=S!=="closed";d.useEffect(()=>{if(P){if(S==="open"||S==="preparing")return;N("preparing");return}if(S==="closed"||S==="exiting")return;N("exiting");const T=window.setTimeout(()=>{N("closed")},R);return()=>window.clearTimeout(T)},[R,S,P]),d.useLayoutEffect(()=>{if(S!=="preparing")return;q.current?.offsetHeight;const T=window.requestAnimationFrame(()=>{N($=>$==="preparing"?"open":$)});return()=>window.cancelAnimationFrame(T)},[S]),d.useEffect(()=>{if(!P||!E)return;const T=B=>{const U=B.target;U instanceof Node&&(C.current?.contains(U)||w(!1))},$=B=>{B.key==="Escape"&&w(!1)};return document.addEventListener("pointerdown",T),document.addEventListener("keydown",$),()=>{document.removeEventListener("pointerdown",T),document.removeEventListener("keydown",$)}},[P,E]);const O={...m,position:"static",right:void 0,bottom:void 0,left:void 0,top:void 0,zIndex:h,onClick:T=>{E&&w($=>!$),v?.(T)},"aria-expanded":P,"aria-haspopup":"menu",children:k};return c.jsx("div",{ref:C,className:j("inline-flex w-fit"),style:{position:i,left:a,top:l,right:u,bottom:f,zIndex:h},onMouseEnter:A?()=>w(!0):void 0,onMouseLeave:A?()=>w(!1):void 0,children:c.jsxs("div",{className:j("relative inline-flex w-fit"),children:[_&&g.length>0?c.jsx("div",{ref:q,style:{...Wp(r,p),pointerEvents:S==="open"?"auto":"none"},children:g.map((T,$)=>{const{itemKey:B,onClick:U,...L}=T;return c.jsx("div",{style:Kp(r,S,$,g.length),children:c.jsx(On,{position:"static",...L,onClick:G=>{U?.(G),w(!1)}})},B??T.key??$)})}):null,c.jsx(On,{...O})]})})}const Xc=Object.assign(Up,{Item:ei});Xc.displayName="GhostButtonGroup";const ti={account_balance:{outlined:()=>Promise.resolve().then(()=>require("./icons/account_balance-CUtdZSEP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/account_balance-DgmFjt_z.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/account_balance-DeohA2h8.cjs"))},account_box:{outlined:()=>Promise.resolve().then(()=>require("./icons/account_box-ByaMMQqG.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/account_box-D7sM1NTh.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/account_box-ajw070dx.cjs"))},account_circle:{outlined:()=>Promise.resolve().then(()=>require("./icons/account_circle-o5PrByrE.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/account_circle-C5KLCF80.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/account_circle-BMRVTtpY.cjs"))},add:{outlined:()=>Promise.resolve().then(()=>require("./icons/add-BzODBN57.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/add-Bj-fRqEw.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/add-Dpbpem6v.cjs"))},add_circle:{outlined:()=>Promise.resolve().then(()=>require("./icons/add_circle-BEfQaNTw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/add_circle-Pz6hbZr2.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/add_circle-Bs6fLIPH.cjs"))},admin_panel_settings:{outlined:()=>Promise.resolve().then(()=>require("./icons/admin_panel_settings-BbSsx_KB.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/admin_panel_settings-Cq6cV6Iq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/admin_panel_settings-DcqNfgoM.cjs"))},air:{outlined:()=>Promise.resolve().then(()=>require("./icons/air-BF03LOQ-.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/air-i_rK7JxO.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/air-OSLzaxxp.cjs"))},alarm:{outlined:()=>Promise.resolve().then(()=>require("./icons/alarm-CCYlrdau.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/alarm-DeO1fh0q.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/alarm-BxyCb1Qv.cjs"))},apps:{outlined:()=>Promise.resolve().then(()=>require("./icons/apps-fIilHLYB.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/apps-BdFHXOsp.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/apps-C9ltbSUJ.cjs"))},archive:{outlined:()=>Promise.resolve().then(()=>require("./icons/archive-7V65cuRY.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/archive-er16TWXw.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/archive-Ckz6yJQF.cjs"))},arrow_back:{outlined:()=>Promise.resolve().then(()=>require("./icons/arrow_back-XdtHQyqo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/arrow_back-DaOcsNP6.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/arrow_back-g66EkDwT.cjs"))},arrow_downward:{outlined:()=>Promise.resolve().then(()=>require("./icons/arrow_downward-BBbhvRa_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/arrow_downward-CYCI-w3L.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/arrow_downward-DkW9HR00.cjs"))},arrow_forward:{outlined:()=>Promise.resolve().then(()=>require("./icons/arrow_forward-NKtJV9mD.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/arrow_forward-B54VLaZC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/arrow_forward-hLdyTARF.cjs"))},arrow_upward:{outlined:()=>Promise.resolve().then(()=>require("./icons/arrow_upward-GAIOJvM7.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/arrow_upward-BtxjFwlX.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/arrow_upward-CBdxpNSC.cjs"))},article:{outlined:()=>Promise.resolve().then(()=>require("./icons/article-B6nzs-qa.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/article-CGpbLCcR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/article-CDZ6_tTi.cjs"))},attach_file:{outlined:()=>Promise.resolve().then(()=>require("./icons/attach_file-DyFViTnA.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/attach_file-RLWNGDyR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/attach_file-CNA3xvqM.cjs"))},attach_money:{outlined:()=>Promise.resolve().then(()=>require("./icons/attach_money-DQPXCGZk.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/attach_money-CfNoy99Y.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/attach_money-JvxHPUl2.cjs"))},backspace:{outlined:()=>Promise.resolve().then(()=>require("./icons/backspace-JswWFvx7.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/backspace-DDu6Afit.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/backspace-pPWKZ2Y2.cjs"))},badge:{outlined:()=>Promise.resolve().then(()=>require("./icons/badge-Cc8lmWgw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/badge-Btf6MXDZ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/badge-BXrUAN1m.cjs"))},block:{outlined:()=>Promise.resolve().then(()=>require("./icons/block-ByxkMrvC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/block-C8EIO6vB.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/block-D7pQpqds.cjs"))},bolt:{outlined:()=>Promise.resolve().then(()=>require("./icons/bolt-CUZki2JV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/bolt-A-Z_tqr9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/bolt-BKR3IpJG.cjs"))},book:{outlined:()=>Promise.resolve().then(()=>require("./icons/book-B_vtXpwq.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/book-BvIH3Qcj.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/book-s5W9WL4N.cjs"))},bookmark:{outlined:()=>Promise.resolve().then(()=>require("./icons/bookmark-BJdOWq2Y.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/bookmark-BOsIEQfb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/bookmark-CY6PuZ4w.cjs"))},bookmarks:{outlined:()=>Promise.resolve().then(()=>require("./icons/bookmarks-CBfrFEQH.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/bookmarks-C1k5ldLa.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/bookmarks-DbGfzxJk.cjs"))},brush:{outlined:()=>Promise.resolve().then(()=>require("./icons/brush-DqhWkOyP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/brush-CWCZYG4N.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/brush-oeiVL9Xk.cjs"))},bug_report:{outlined:()=>Promise.resolve().then(()=>require("./icons/bug_report-Dgg4ML7C.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/bug_report-DqBzy5Wd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/bug_report-FgdRro3E.cjs"))},build:{outlined:()=>Promise.resolve().then(()=>require("./icons/build-DzKk0FwR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/build-Bg6u0xY0.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/build-fQP-NxA6.cjs"))},calendar_month:{outlined:()=>Promise.resolve().then(()=>require("./icons/calendar_month-BuGnlxNv.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/calendar_month-CWa__6wz.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/calendar_month-BX-upKoW.cjs"))},calendar_today:{outlined:()=>Promise.resolve().then(()=>require("./icons/calendar_today-dvqmK8Mt.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/calendar_today-BXLVEJdq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/calendar_today-CPs1WBvs.cjs"))},call:{outlined:()=>Promise.resolve().then(()=>require("./icons/call-ay175YDV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/call-ftvfgcxN.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/call-wKD6ISPV.cjs"))},call_end:{outlined:()=>Promise.resolve().then(()=>require("./icons/call_end-DwGpra_h.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/call_end-Bx5pJnkm.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/call_end-WoQXHoTY.cjs"))},call_made:{outlined:()=>Promise.resolve().then(()=>require("./icons/call_made-BKy-0N_5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/call_made-1di_yrkH.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/call_made-nzO_qhRa.cjs"))},call_received:{outlined:()=>Promise.resolve().then(()=>require("./icons/call_received-DiGMt09V.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/call_received-kDCUptdw.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/call_received-svsjpWZB.cjs"))},campaign:{outlined:()=>Promise.resolve().then(()=>require("./icons/campaign-CO4rU-NI.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/campaign-C7gu21Yl.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/campaign-Ci9P9bD0.cjs"))},cancel:{outlined:()=>Promise.resolve().then(()=>require("./icons/cancel-syDzrIhz.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/cancel-Be4ComkT.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/cancel-BswRxQQC.cjs"))},category:{outlined:()=>Promise.resolve().then(()=>require("./icons/category-DLWu2IoJ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/category-lpNWuhQx.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/category-CnrWZz9Q.cjs"))},chat:{outlined:()=>Promise.resolve().then(()=>require("./icons/chat-DThyMw25.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/chat-DVBtcmFJ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/chat-BIjxgeKo.cjs"))},chat_bubble:{outlined:()=>Promise.resolve().then(()=>require("./icons/chat_bubble-B7awcvGP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/chat_bubble-CPB6ZiCC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/chat_bubble-mZGoeI3I.cjs"))},check:{outlined:()=>Promise.resolve().then(()=>require("./icons/check-C4gcqg9A.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/check-CDtP9Bf4.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/check-BQ20Asfd.cjs"))},check_box:{outlined:()=>Promise.resolve().then(()=>require("./icons/check_box-cXMcUfzz.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/check_box-yboW6saa.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/check_box-DD0D5gpB.cjs"))},check_box_outline_blank:{outlined:()=>Promise.resolve().then(()=>require("./icons/check_box_outline_blank-CIKY0Ccw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/check_box_outline_blank-B0K7VEOf.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/check_box_outline_blank-DPZa0VCl.cjs"))},check_circle:{outlined:()=>Promise.resolve().then(()=>require("./icons/check_circle-DTQ1d7Oc.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/check_circle-BVUl3Gb5.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/check_circle-BYYx6u5r.cjs"))},chevron_left:{outlined:()=>Promise.resolve().then(()=>require("./icons/chevron_left-Yec8UECM.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/chevron_left-DE3pHCnM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/chevron_left-BPHI54rl.cjs"))},chevron_right:{outlined:()=>Promise.resolve().then(()=>require("./icons/chevron_right-BkGOM5fi.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/chevron_right-CFTu2vbL.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/chevron_right-DpzjvNsP.cjs"))},child_care:{outlined:()=>Promise.resolve().then(()=>require("./icons/child_care-nZB2N3YA.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/child_care-CIQ9k-f9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/child_care-CB79ivb8.cjs"))},circle:{outlined:()=>Promise.resolve().then(()=>require("./icons/circle-DS_HMXBR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/circle-BPX6153P.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/circle-D8ImCYQn.cjs"))},close:{outlined:()=>Promise.resolve().then(()=>require("./icons/close-C71jnCsP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/close-DAORXT73.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/close-08-8sBl_.cjs"))},cloud:{outlined:()=>Promise.resolve().then(()=>require("./icons/cloud-aGhF0P8X.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/cloud-DoSYW56S.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/cloud-CWTEjqrC.cjs"))},cloud_download:{outlined:()=>Promise.resolve().then(()=>require("./icons/cloud_download-Cr0f1A7w.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/cloud_download-BSgA6nE3.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/cloud_download-B46UbXM2.cjs"))},cloud_upload:{outlined:()=>Promise.resolve().then(()=>require("./icons/cloud_upload-CEBNsRxa.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/cloud_upload-BxrCa7P9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/cloud_upload-C8JjVx81.cjs"))},code:{outlined:()=>Promise.resolve().then(()=>require("./icons/code-6RkiCXwP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/code-DuM9qskR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/code-oJW84q_m.cjs"))},comment:{outlined:()=>Promise.resolve().then(()=>require("./icons/comment-O_bHBTmR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/comment-jfrDsQcR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/comment-D2ad_q2m.cjs"))},compare:{outlined:()=>Promise.resolve().then(()=>require("./icons/compare-CUzBU-28.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/compare-DdMgRs9f.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/compare-DFR9iUjQ.cjs"))},contacts:{outlined:()=>Promise.resolve().then(()=>require("./icons/contacts-4hDX5byG.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/contacts-Cb5xhSPR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/contacts-GfLHJBAS.cjs"))},content_copy:{outlined:()=>Promise.resolve().then(()=>require("./icons/content_copy-Dm6tlywE.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/content_copy-CDA8g8Ce.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/content_copy-B295-Nv3.cjs"))},content_paste:{outlined:()=>Promise.resolve().then(()=>require("./icons/content_paste-CoehqCUw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/content_paste-D0OJlLhs.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/content_paste-CAAddckI.cjs"))},copyright:{outlined:()=>Promise.resolve().then(()=>require("./icons/copyright-CmWUWze4.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/copyright-B4gtWEWc.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/copyright-sqUhIT0W.cjs"))},credit_card:{outlined:()=>Promise.resolve().then(()=>require("./icons/credit_card-B_DF2PK1.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/credit_card-Ch3__Lys.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/credit_card-_iyk8SdT.cjs"))},credit_score:{outlined:()=>Promise.resolve().then(()=>require("./icons/credit_score-BTAUUWvv.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/credit_score-RCK9vD6_.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/credit_score-BUo_aYKm.cjs"))},crop:{outlined:()=>Promise.resolve().then(()=>require("./icons/crop-GyzEL4nJ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/crop-CLGpqAKW.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/crop-Ck5Oq93S.cjs"))},dangerous:{outlined:()=>Promise.resolve().then(()=>require("./icons/dangerous-BHX_WAG0.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/dangerous-VVnFWj0T.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/dangerous-CyWhR8GS.cjs"))},dark_mode:{outlined:()=>Promise.resolve().then(()=>require("./icons/dark_mode-CVQYfD9N.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/dark_mode-Cna-h-8z.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/dark_mode-BApz1m5T.cjs"))},dashboard:{outlined:()=>Promise.resolve().then(()=>require("./icons/dashboard-y4JXkAlZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/dashboard-yvpXQGFe.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/dashboard-qxOP92mW.cjs"))},data_usage:{outlined:()=>Promise.resolve().then(()=>require("./icons/data_usage-BFgNM46G.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/data_usage-DF86vx6L.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/data_usage-B69lbac5.cjs"))},delete:{outlined:()=>Promise.resolve().then(()=>require("./icons/delete-C0t5Pp8-.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/delete-CEMqbUF0.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/delete-xENv8YmX.cjs"))},delete_forever:{outlined:()=>Promise.resolve().then(()=>require("./icons/delete_forever-BE5StSao.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/delete_forever-DwtLSgzF.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/delete_forever-B8PUopIK.cjs"))},density_medium:{outlined:()=>Promise.resolve().then(()=>require("./icons/density_medium-BFy-8lbn.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/density_medium-Bze5BcMr.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/density_medium-BoavJs4H.cjs"))},description:{outlined:()=>Promise.resolve().then(()=>require("./icons/description-SQPUh5qC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/description-CxGEPSh9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/description-CMHCszzJ.cjs"))},desktop_windows:{outlined:()=>Promise.resolve().then(()=>require("./icons/desktop_windows-DOHf23Xr.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/desktop_windows-rsIMFxNM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/desktop_windows-ft9l6Jnn.cjs"))},devices:{outlined:()=>Promise.resolve().then(()=>require("./icons/devices-D1QkNOdg.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/devices-Cs6AyB_p.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/devices-CZuDnQ7B.cjs"))},directions:{outlined:()=>Promise.resolve().then(()=>require("./icons/directions-CV3aYvJw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/directions-Cq30pjX9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/directions-BYfIHQ8Z.cjs"))},directions_bus:{outlined:()=>Promise.resolve().then(()=>require("./icons/directions_bus-CznPtArU.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/directions_bus-ChCQ0VJv.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/directions_bus-2Bu4yiHM.cjs"))},directions_car:{outlined:()=>Promise.resolve().then(()=>require("./icons/directions_car-DIRBYtBd.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/directions_car-Ty3h4aoe.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/directions_car-dxAiBgAE.cjs"))},dns:{outlined:()=>Promise.resolve().then(()=>require("./icons/dns-BrL6vlto.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/dns-DQC01d17.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/dns-BxMrX-Qx.cjs"))},download:{outlined:()=>Promise.resolve().then(()=>require("./icons/download-BfEc7ftL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/download-oQO1wMDQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/download-BbGaNWaF.cjs"))},download_done:{outlined:()=>Promise.resolve().then(()=>require("./icons/download_done-BF_KMt21.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/download_done-mY_IvV91.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/download_done-QJO7z-t7.cjs"))},drag_handle:{outlined:()=>Promise.resolve().then(()=>require("./icons/drag_handle-B85eeiSW.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/drag_handle-CZy0Muds.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/drag_handle-DIHjJaP4.cjs"))},drive_file_move:{outlined:()=>Promise.resolve().then(()=>require("./icons/drive_file_move-CyquxnGI.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/drive_file_move-B7Ib41Bg.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/drive_file_move-BzZBDz_T.cjs"))},eco:{outlined:()=>Promise.resolve().then(()=>require("./icons/eco-BQpR7DfB.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/eco-BfhARi85.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/eco-Dti-gVb_.cjs"))},edit:{outlined:()=>Promise.resolve().then(()=>require("./icons/edit-ChFc7I7P.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/edit-BeJgtsta.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/edit-T1-rErag.cjs"))},edit_attributes:{outlined:()=>Promise.resolve().then(()=>require("./icons/edit_attributes-6JWFwGzl.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/edit_attributes-B1Ctn3RI.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/edit_attributes-BFsYoU1-.cjs"))},edit_note:{outlined:()=>Promise.resolve().then(()=>require("./icons/edit_note-Da_iOdrc.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/edit_note-rScMJnJT.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/edit_note--rw8SVa_.cjs"))},eject:{outlined:()=>Promise.resolve().then(()=>require("./icons/eject-C_8lRJPy.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/eject-DTQWDrIz.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/eject-CtLNSegr.cjs"))},elderly:{outlined:()=>Promise.resolve().then(()=>require("./icons/elderly-Ceh2P7r-.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/elderly-CcU85K06.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/elderly-DAtLwTFA.cjs"))},engineering:{outlined:()=>Promise.resolve().then(()=>require("./icons/engineering-BkYJD_Or.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/engineering-1o10EfNE.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/engineering-JuMPs6Y3.cjs"))},equalizer:{outlined:()=>Promise.resolve().then(()=>require("./icons/equalizer-efzGc3fN.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/equalizer-DJkAwv6t.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/equalizer-CBRz_t0n.cjs"))},error:{outlined:()=>Promise.resolve().then(()=>require("./icons/error-DhIFJDit.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/error-DzScQD-0.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/error-BSxnVrjF.cjs"))},event:{outlined:()=>Promise.resolve().then(()=>require("./icons/event-CLOpMWNS.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/event-BO8hSbhH.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/event-C0zGLwjQ.cjs"))},event_available:{outlined:()=>Promise.resolve().then(()=>require("./icons/event_available-D39f0o2z.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/event_available-DwjeOvX9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/event_available-DMl5IYfi.cjs"))},event_busy:{outlined:()=>Promise.resolve().then(()=>require("./icons/event_busy-DLhs3cqk.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/event_busy-CO5GomJ1.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/event_busy-BsbAdBc3.cjs"))},exit_to_app:{outlined:()=>Promise.resolve().then(()=>require("./icons/exit_to_app-4ELlyKP5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/exit_to_app-Bp3DQYOi.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/exit_to_app-BPsYFa6S.cjs"))},expand:{outlined:()=>Promise.resolve().then(()=>require("./icons/expand-BoSPrbcp.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/expand-CADHXT-_.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/expand-Dy3_OGRo.cjs"))},explore:{outlined:()=>Promise.resolve().then(()=>require("./icons/explore-CiiSPHhR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/explore-DAuehy4i.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/explore-CWVUOfFd.cjs"))},explore_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/explore_off-BR_xU7jX.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/explore_off-Bsy6PdBD.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/explore_off-C8Pin35x.cjs"))},extension:{outlined:()=>Promise.resolve().then(()=>require("./icons/extension-Bg6YhsUZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/extension-B2Ud25CS.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/extension-Cj_PMbmr.cjs"))},face:{outlined:()=>Promise.resolve().then(()=>require("./icons/face-B0mI3FAR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/face-Dx3-uvsR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/face-nfbmNSRn.cjs"))},fast_forward:{outlined:()=>Promise.resolve().then(()=>require("./icons/fast_forward-cSegXWFV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fast_forward-B0y9Ca2u.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fast_forward-BMw4eJA1.cjs"))},fast_rewind:{outlined:()=>Promise.resolve().then(()=>require("./icons/fast_rewind-ClQr4UqL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fast_rewind-BErJGjyk.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fast_rewind-CmURbjb8.cjs"))},favorite:{outlined:()=>Promise.resolve().then(()=>require("./icons/favorite-C7ps1Maq.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/favorite-3J46b-ep.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/favorite-LUIfqiQF.cjs"))},feedback:{outlined:()=>Promise.resolve().then(()=>require("./icons/feedback-B_jbalMc.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/feedback-DpFRhEHp.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/feedback-BaEOlZmy.cjs"))},file_copy:{outlined:()=>Promise.resolve().then(()=>require("./icons/file_copy-CTIQJQ-Q.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/file_copy-BryVfjLP.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/file_copy-D7W7B9tN.cjs"))},filter_list:{outlined:()=>Promise.resolve().then(()=>require("./icons/filter_list-DpBj6Yx1.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/filter_list-B8Txqh_n.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/filter_list-CH0lPLm2.cjs"))},find_in_page:{outlined:()=>Promise.resolve().then(()=>require("./icons/find_in_page-BnUd7Adl.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/find_in_page-d1tGoTfD.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/find_in_page-CZWej5L8.cjs"))},find_replace:{outlined:()=>Promise.resolve().then(()=>require("./icons/find_replace-COPwtD3A.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/find_replace-B_KZ8iLe.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/find_replace-BVX_mdI2.cjs"))},fingerprint:{outlined:()=>Promise.resolve().then(()=>require("./icons/fingerprint-s6Wvd5xY.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fingerprint-BwdcEXJy.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fingerprint-Cjs10wLp.cjs"))},first_page:{outlined:()=>Promise.resolve().then(()=>require("./icons/first_page-LyKNPAwN.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/first_page-CFfNXxJa.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/first_page-BNf1p3Bb.cjs"))},fit_screen:{outlined:()=>Promise.resolve().then(()=>require("./icons/fit_screen-DgeLJfZy.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fit_screen-B9tJEMV5.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fit_screen-NF0JPdOh.cjs"))},fitness_center:{outlined:()=>Promise.resolve().then(()=>require("./icons/fitness_center-DOb_SqRR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fitness_center-BhjkYdCs.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fitness_center-wLAD2vZ_.cjs"))},flag:{outlined:()=>Promise.resolve().then(()=>require("./icons/flag-E-VIxwkr.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/flag-LD2jAYeI.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/flag-DZqg40eh.cjs"))},flare:{outlined:()=>Promise.resolve().then(()=>require("./icons/flare-DZBDF8BR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/flare-DZL3slPE.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/flare-BPXjy3gS.cjs"))},flash_on:{outlined:()=>Promise.resolve().then(()=>require("./icons/flash_on-DIcsCTnL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/flash_on-B6CuALXr.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/flash_on-BotDglNP.cjs"))},flight:{outlined:()=>Promise.resolve().then(()=>require("./icons/flight-BNYPJg6b.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/flight-BLrZxPop.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/flight-CMxTfrzT.cjs"))},flip:{outlined:()=>Promise.resolve().then(()=>require("./icons/flip-BAlqTIVF.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/flip-Bz6vLJ-d.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/flip-Cqg-_005.cjs"))},folder:{outlined:()=>Promise.resolve().then(()=>require("./icons/folder-DBjcNXNU.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/folder-CEMBequd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/folder-DuEc_ds7.cjs"))},folder_open:{outlined:()=>Promise.resolve().then(()=>require("./icons/folder_open-B7M1GBAB.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/folder_open-BCePqSqz.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/folder_open-B_oOp3kv.cjs"))},folder_shared:{outlined:()=>Promise.resolve().then(()=>require("./icons/folder_shared-BesFvcRa.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/folder_shared-Cy2npeFh.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/folder_shared-DgpExGUb.cjs"))},forum:{outlined:()=>Promise.resolve().then(()=>require("./icons/forum-ClIUKbam.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/forum-C0U0c7lC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/forum-W9gwVTdH.cjs"))},fullscreen:{outlined:()=>Promise.resolve().then(()=>require("./icons/fullscreen-CeXAg0Rs.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fullscreen-BbuB8GJ1.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fullscreen-DzeaQMMi.cjs"))},fullscreen_exit:{outlined:()=>Promise.resolve().then(()=>require("./icons/fullscreen_exit-Dv_5bvVl.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fullscreen_exit-BQAdlG7F.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fullscreen_exit-BdILU2wy.cjs"))},gavel:{outlined:()=>Promise.resolve().then(()=>require("./icons/gavel-D-OTl_bj.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/gavel-F-uuY7jq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/gavel-DwIL5r9o.cjs"))},gesture:{outlined:()=>Promise.resolve().then(()=>require("./icons/gesture-DeCjZ4OV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/gesture-V_2x4_gC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/gesture-CDVjysbx.cjs"))},gif:{outlined:()=>Promise.resolve().then(()=>require("./icons/gif-Cdgf5jLT.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/gif-BjNPP4Fi.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/gif-Dbqa6Qt9.cjs"))},grid_view:{outlined:()=>Promise.resolve().then(()=>require("./icons/grid_view-ClltetuJ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/grid_view-DaRUrgXH.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/grid_view-B68F0xHI.cjs"))},group:{outlined:()=>Promise.resolve().then(()=>require("./icons/group-B8IYS99v.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/group-BPq1UB-p.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/group-_x6YgwIQ.cjs"))},group_add:{outlined:()=>Promise.resolve().then(()=>require("./icons/group_add-DRT53nn9.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/group_add-yGgEMHEW.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/group_add-BM5MTU4c.cjs"))},groups:{outlined:()=>Promise.resolve().then(()=>require("./icons/groups-C108XU4y.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/groups-BnGg38nU.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/groups-xhrjwIB0.cjs"))},handyman:{outlined:()=>Promise.resolve().then(()=>require("./icons/handyman-xpAdwmnn.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/handyman-jhYg_Ni9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/handyman-4agk8mvK.cjs"))},headphones:{outlined:()=>Promise.resolve().then(()=>require("./icons/headphones-ByLMZlNY.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/headphones-CFD4aFp7.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/headphones-Co40H2aF.cjs"))},healing:{outlined:()=>Promise.resolve().then(()=>require("./icons/healing-aaFdWh5W.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/healing-BDkkXt9q.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/healing-B-0A2nAU.cjs"))},help:{outlined:()=>Promise.resolve().then(()=>require("./icons/help-OaQroamO.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/help-C3CEzn4A.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/help-Ctda3jdI.cjs"))},highlight:{outlined:()=>Promise.resolve().then(()=>require("./icons/highlight-6N9Q1nCv.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/highlight-2e5dcG25.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/highlight-B06WsyLv.cjs"))},history:{outlined:()=>Promise.resolve().then(()=>require("./icons/history-BOV-9TKh.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/history-CU_ehRzx.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/history-BUB_tYea.cjs"))},history_toggle_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/history_toggle_off-Bhya520A.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/history_toggle_off-DnRUn4bN.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/history_toggle_off-gyY-rgoJ.cjs"))},home:{outlined:()=>Promise.resolve().then(()=>require("./icons/home-Dokhawqy.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/home-BTOD_204.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/home-r_TUIXCB.cjs"))},home_work:{outlined:()=>Promise.resolve().then(()=>require("./icons/home_work-CG_ldX6X.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/home_work-B964c0gI.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/home_work-RpG7pfN8.cjs"))},hotel:{outlined:()=>Promise.resolve().then(()=>require("./icons/hotel-bfy2VvG_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/hotel-DPvGMpsA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/hotel-CPtCcGqG.cjs"))},hourglass_empty:{outlined:()=>Promise.resolve().then(()=>require("./icons/hourglass_empty-B5l-KyA_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/hourglass_empty-Dj67ruJJ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/hourglass_empty-w_LZI7ql.cjs"))},http:{outlined:()=>Promise.resolve().then(()=>require("./icons/http-CkQzvLY8.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/http-D1K3W8nC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/http-fS1e0mTs.cjs"))},image:{outlined:()=>Promise.resolve().then(()=>require("./icons/image-CQ1rcY-m.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/image-m4vdlOrM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/image-Epxcfqar.cjs"))},image_search:{outlined:()=>Promise.resolve().then(()=>require("./icons/image_search-DFdtq1ol.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/image_search-Df6Ng67p.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/image_search-QPrlvCTB.cjs"))},important_devices:{outlined:()=>Promise.resolve().then(()=>require("./icons/important_devices-BQm7YX8s.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/important_devices-CEL-eNng.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/important_devices-CaP-knAj.cjs"))},inbox:{outlined:()=>Promise.resolve().then(()=>require("./icons/inbox-Bf8a9r3C.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/inbox-DlEuYH_M.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/inbox-CbKEEwtR.cjs"))},info:{outlined:()=>Promise.resolve().then(()=>require("./icons/info-B7YBEpiO.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/info-D76Irr5N.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/info-DnsOX_R2.cjs"))},input:{outlined:()=>Promise.resolve().then(()=>require("./icons/input-BledoS7j.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/input-CiaLhaBv.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/input-DFmBoxLr.cjs"))},inventory:{outlined:()=>Promise.resolve().then(()=>require("./icons/inventory-D3F1c0G4.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/inventory-C6l6OEEh.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/inventory-BWwO-xah.cjs"))},key:{outlined:()=>Promise.resolve().then(()=>require("./icons/key-Cd1LQA96.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/key-BapDxdJR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/key-WmFDui-T.cjs"))},keyboard:{outlined:()=>Promise.resolve().then(()=>require("./icons/keyboard-9kPP_fZo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/keyboard-Bncd-r2h.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/keyboard-DEtvWaW3.cjs"))},label:{outlined:()=>Promise.resolve().then(()=>require("./icons/label-Csjt3SVM.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/label-Cm8auEWA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/label-D4Z8lgx6.cjs"))},language:{outlined:()=>Promise.resolve().then(()=>require("./icons/language-Dnk6WN_j.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/language-DUV1M-65.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/language-CxIJ1SrJ.cjs"))},last_page:{outlined:()=>Promise.resolve().then(()=>require("./icons/last_page-oTIYzPFL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/last_page-CjRlRrpV.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/last_page-Cbb3HacN.cjs"))},layers:{outlined:()=>Promise.resolve().then(()=>require("./icons/layers-RHUoY1x9.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/layers-NrOiyn4B.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/layers-Blmdyx3T.cjs"))},light_mode:{outlined:()=>Promise.resolve().then(()=>require("./icons/light_mode-Bo8UvOO0.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/light_mode-C3ZmUjzM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/light_mode-C3vqv6r9.cjs"))},line_style:{outlined:()=>Promise.resolve().then(()=>require("./icons/line_style-hKwpJThN.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/line_style-ChfgY8Fz.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/line_style-DlXCE4Um.cjs"))},link:{outlined:()=>Promise.resolve().then(()=>require("./icons/link-SqQvG2aS.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/link-BFqEzcuh.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/link-BEt8Rdrk.cjs"))},list:{outlined:()=>Promise.resolve().then(()=>require("./icons/list-B3bGHUAB.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/list-ExRMWvY6.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/list-D0u18QaB.cjs"))},live_help:{outlined:()=>Promise.resolve().then(()=>require("./icons/live_help-cSkLrDFh.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/live_help-B1k0yUF9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/live_help-B9sVajvu.cjs"))},local_cafe:{outlined:()=>Promise.resolve().then(()=>require("./icons/local_cafe-BbLYHQ5G.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/local_cafe-gSN4KJIQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/local_cafe-BRwE0wVl.cjs"))},local_hospital:{outlined:()=>Promise.resolve().then(()=>require("./icons/local_hospital-CeMxQ9XC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/local_hospital-BQxIobVR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/local_hospital-MPVU96Sw.cjs"))},local_taxi:{outlined:()=>Promise.resolve().then(()=>require("./icons/local_taxi-CVCg6SLk.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/local_taxi-DYWVyvAC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/local_taxi-BvyxG2_8.cjs"))},location_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/location_off-TLyox8Gw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/location_off-BwRgLKKl.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/location_off-BQw1qzX6.cjs"))},location_on:{outlined:()=>Promise.resolve().then(()=>require("./icons/location_on-zlbjO2nd.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/location_on-C_Q78KW6.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/location_on-B-4p1Vaw.cjs"))},lock:{outlined:()=>Promise.resolve().then(()=>require("./icons/lock-BczdF5aF.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/lock-DoMqxNht.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/lock-CMBDoG1m.cjs"))},lock_open:{outlined:()=>Promise.resolve().then(()=>require("./icons/lock_open-DNBPlz0I.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/lock_open-CbcCQPoq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/lock_open-BsfuU82J.cjs"))},lock_reset:{outlined:()=>Promise.resolve().then(()=>require("./icons/lock_reset-1_dRLFAg.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/lock_reset-BFi8YBZd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/lock_reset-xNTFVkP0.cjs"))},login:{outlined:()=>Promise.resolve().then(()=>require("./icons/login-BjZiShoE.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/login-6YNL4CrP.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/login-Bogn9TQm.cjs"))},logout:{outlined:()=>Promise.resolve().then(()=>require("./icons/logout-Bphd-i1_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/logout-9MBXaMSb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/logout-BKRH1LQ7.cjs"))},mail:{outlined:()=>Promise.resolve().then(()=>require("./icons/mail-stTZgOxR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/mail-zslK5Vp0.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/mail-SRkbZHDV.cjs"))},map:{outlined:()=>Promise.resolve().then(()=>require("./icons/map-DlCPxLI4.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/map-BN0czcmT.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/map-OHAPN5Jm.cjs"))},mark_email_read:{outlined:()=>Promise.resolve().then(()=>require("./icons/mark_email_read-4O476T7R.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/mark_email_read-B5tjuBKg.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/mark_email_read-C6yfr2fW.cjs"))},mark_email_unread:{outlined:()=>Promise.resolve().then(()=>require("./icons/mark_email_unread-BbgVYB4S.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/mark_email_unread-CS1ID0rU.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/mark_email_unread-BzBlwfDW.cjs"))},maximize:{outlined:()=>Promise.resolve().then(()=>require("./icons/maximize-BfsEZe_5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/maximize-yncMJ3Gg.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/maximize-D_c72Iyc.cjs"))},medication:{outlined:()=>Promise.resolve().then(()=>require("./icons/medication-BP-gJNIW.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/medication-B7oNWWhQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/medication-BXpvVQlG.cjs"))},menu:{outlined:()=>Promise.resolve().then(()=>require("./icons/menu-BSH9Euis.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/menu-BI_0LYcg.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/menu-CyUV3J9k.cjs"))},mic:{outlined:()=>Promise.resolve().then(()=>require("./icons/mic-Bv7uyEhL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/mic-OWlr0FyC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/mic-DeY1JMNU.cjs"))},mic_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/mic_off-CrExlNjs.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/mic_off-3AQHolNv.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/mic_off-O3medmXx.cjs"))},minimize:{outlined:()=>Promise.resolve().then(()=>require("./icons/minimize-C1fwEdxW.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/minimize-b3mKEIDM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/minimize-CLS-Wwu4.cjs"))},model_training:{outlined:()=>Promise.resolve().then(()=>require("./icons/model_training-CRZqBwX8.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/model_training-BHnB1pq-.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/model_training-2hXP1oSx.cjs"))},monitor:{outlined:()=>Promise.resolve().then(()=>require("./icons/monitor-DEOzv1-v.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/monitor-DmiG1_9A.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/monitor-Do46ojnJ.cjs"))},more_horiz:{outlined:()=>Promise.resolve().then(()=>require("./icons/more_horiz-bZKXAcx0.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/more_horiz-Deil--Zw.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/more_horiz-Dbz8LvVB.cjs"))},more_time:{outlined:()=>Promise.resolve().then(()=>require("./icons/more_time-B1Wd5UFZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/more_time-urwzlhvb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/more_time-ChxdyGP_.cjs"))},more_vert:{outlined:()=>Promise.resolve().then(()=>require("./icons/more_vert-DzTrnUGw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/more_vert-CXi9yj-5.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/more_vert-DxblSDI5.cjs"))},mouse:{outlined:()=>Promise.resolve().then(()=>require("./icons/mouse-QimsmAoo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/mouse-Bng6mJ1A.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/mouse-DS8yvLR1.cjs"))},move_to_inbox:{outlined:()=>Promise.resolve().then(()=>require("./icons/move_to_inbox-D-SzwKRi.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/move_to_inbox-DMwv-LwU.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/move_to_inbox-DB49LSzj.cjs"))},multiline_chart:{outlined:()=>Promise.resolve().then(()=>require("./icons/multiline_chart-VNajFYIu.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/multiline_chart-qmqudGJS.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/multiline_chart-BZ9pI0M2.cjs"))},my_location:{outlined:()=>Promise.resolve().then(()=>require("./icons/my_location-CafgIPzY.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/my_location-B_2xIJ1h.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/my_location-BQB_Gvjn.cjs"))},navigation:{outlined:()=>Promise.resolve().then(()=>require("./icons/navigation-XOBWaNoc.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/navigation-DD6e0gFe.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/navigation-D-EmSudm.cjs"))},near_me:{outlined:()=>Promise.resolve().then(()=>require("./icons/near_me-CDCjz9gt.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/near_me-BPE_ZuMr.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/near_me-BxAslSGA.cjs"))},network_check:{outlined:()=>Promise.resolve().then(()=>require("./icons/network_check-DXQawqFw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/network_check-Dl7EGQcb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/network_check-BJIqHDfq.cjs"))},note_add:{outlined:()=>Promise.resolve().then(()=>require("./icons/note_add-CgDyCezx.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/note_add-DreTnzy7.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/note_add-B16Z0iko.cjs"))},notifications:{outlined:()=>Promise.resolve().then(()=>require("./icons/notifications-C6p9X5iK.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/notifications-C4Njhrf3.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/notifications-CqrgBGCg.cjs"))},notifications_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/notifications_off-Bl-UXNgJ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/notifications_off-C0bFn1n-.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/notifications_off-DnZ8QXub.cjs"))},opacity:{outlined:()=>Promise.resolve().then(()=>require("./icons/opacity-Dk-JXILr.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/opacity-D6RIb2vv.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/opacity-B_AyGGS_.cjs"))},open_in_browser:{outlined:()=>Promise.resolve().then(()=>require("./icons/open_in_browser-Dmn-cfK-.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/open_in_browser-DCPx7gky.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/open_in_browser-DqsvTNrn.cjs"))},open_in_new:{outlined:()=>Promise.resolve().then(()=>require("./icons/open_in_new-BgJKZU-J.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/open_in_new-DZPCJOy7.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/open_in_new-CcEf-zNH.cjs"))},open_with:{outlined:()=>Promise.resolve().then(()=>require("./icons/open_with-Bzj5vgs6.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/open_with-CmFOFdkm.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/open_with-B70xaICx.cjs"))},outbox:{outlined:()=>Promise.resolve().then(()=>require("./icons/outbox-C6aOzPpg.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/outbox-Cx7uYTOf.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/outbox-Csu_1kyH.cjs"))},outgoing_mail:{outlined:()=>Promise.resolve().then(()=>require("./icons/outgoing_mail-2-xW6AF5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/outgoing_mail-CtAbnTjW.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/outgoing_mail-CX9s8C5z.cjs"))},pageview:{outlined:()=>Promise.resolve().then(()=>require("./icons/pageview-DqQxqFE_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/pageview-D1Aft6zN.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/pageview-CoOkhigk.cjs"))},paid:{outlined:()=>Promise.resolve().then(()=>require("./icons/paid-C5cn2aLs.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/paid-BzDeYvj7.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/paid-BIkLZCcs.cjs"))},palette:{outlined:()=>Promise.resolve().then(()=>require("./icons/palette-BEmPRIMw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/palette-CEI5mXi2.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/palette-BWAIjdCq.cjs"))},pan_tool:{outlined:()=>Promise.resolve().then(()=>require("./icons/pan_tool-DchJK0me.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/pan_tool-DuCXAwU5.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/pan_tool-LLeyUAKx.cjs"))},park:{outlined:()=>Promise.resolve().then(()=>require("./icons/park-BVe-doeU.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/park-BUDETE5h.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/park-B2KYNHGS.cjs"))},pause:{outlined:()=>Promise.resolve().then(()=>require("./icons/pause-DQrYrJPf.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/pause-CbypNdPU.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/pause-DrZm3789.cjs"))},pending:{outlined:()=>Promise.resolve().then(()=>require("./icons/pending-6ag0S0mB.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/pending-BrSKvjSV.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/pending-LfKlYmk3.cjs"))},percent:{outlined:()=>Promise.resolve().then(()=>require("./icons/percent-CQHhbCUm.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/percent-DQRJ81Y0.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/percent-DjuRihso.cjs"))},perm_camera_mic:{outlined:()=>Promise.resolve().then(()=>require("./icons/perm_camera_mic-Cbddp4vZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/perm_camera_mic-CuBPtZxF.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/perm_camera_mic-Dkpwkkuq.cjs"))},perm_contact_calendar:{outlined:()=>Promise.resolve().then(()=>require("./icons/perm_contact_calendar-DMec4ouz.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/perm_contact_calendar-DhFwc7VW.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/perm_contact_calendar-CspwVmEi.cjs"))},perm_media:{outlined:()=>Promise.resolve().then(()=>require("./icons/perm_media-C57M9qmo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/perm_media-CF1u7gFa.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/perm_media-Bxr4BAS1.cjs"))},perm_phone_msg:{outlined:()=>Promise.resolve().then(()=>require("./icons/perm_phone_msg-D9X0Elcs.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/perm_phone_msg-9zA1SKcG.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/perm_phone_msg-BzVSR3nS.cjs"))},perm_scan_wifi:{outlined:()=>Promise.resolve().then(()=>require("./icons/perm_scan_wifi-DD7R0Ypv.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/perm_scan_wifi-B9jQZzda.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/perm_scan_wifi-DoiutF9N.cjs"))},person:{outlined:()=>Promise.resolve().then(()=>require("./icons/person-B3n5wNYw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/person-BjdTw5Wf.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/person-CxBPAQjZ.cjs"))},person_add:{outlined:()=>Promise.resolve().then(()=>require("./icons/person_add-SOetVGrq.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/person_add-CAlpNX8L.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/person_add-C5HiyjEy.cjs"))},person_remove:{outlined:()=>Promise.resolve().then(()=>require("./icons/person_remove-K5AIu4l3.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/person_remove-FQ1FDMyB.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/person_remove-Ckm7S1Ul.cjs"))},pets:{outlined:()=>Promise.resolve().then(()=>require("./icons/pets-CX3R8F-o.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/pets-Ce5ySqSZ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/pets-DFqhatXG.cjs"))},photo:{outlined:()=>Promise.resolve().then(()=>require("./icons/photo-oBUWZNmV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/photo-DCL0v_al.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/photo-Cu44xCeI.cjs"))},photo_camera:{outlined:()=>Promise.resolve().then(()=>require("./icons/photo_camera-DhFf5sZ5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/photo_camera-Nyrh3DOY.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/photo_camera-C9AkrxeA.cjs"))},pin:{outlined:()=>Promise.resolve().then(()=>require("./icons/pin-D4ao9i6g.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/pin-DthuKQB3.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/pin-CRwDdDV2.cjs"))},play_arrow:{outlined:()=>Promise.resolve().then(()=>require("./icons/play_arrow-H863JTh7.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/play_arrow-CZk84Zqk.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/play_arrow-B53QlyDM.cjs"))},play_circle:{outlined:()=>Promise.resolve().then(()=>require("./icons/play_circle-CTzQVR4K.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/play_circle-yQAtsYsn.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/play_circle-wkjsDqRz.cjs"))},playlist_add:{outlined:()=>Promise.resolve().then(()=>require("./icons/playlist_add-Snr_stSN.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/playlist_add-GuvkSYpw.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/playlist_add-D2Xb6_NK.cjs"))},polymer:{outlined:()=>Promise.resolve().then(()=>require("./icons/polymer-C2BZyzKC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/polymer-DqwlaYna.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/polymer-DG6N5gon.cjs"))},power:{outlined:()=>Promise.resolve().then(()=>require("./icons/power-Bt8Geig2.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/power-DZ3DE2BU.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/power-pXyGp9-1.cjs"))},power_settings_new:{outlined:()=>Promise.resolve().then(()=>require("./icons/power_settings_new-DD5cuSDo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/power_settings_new-C5QoEPOu.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/power_settings_new-CKm1IAbg.cjs"))},preview:{outlined:()=>Promise.resolve().then(()=>require("./icons/preview-DWVX-cQO.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/preview-BfsIL0b0.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/preview-DoBR4W2d.cjs"))},print:{outlined:()=>Promise.resolve().then(()=>require("./icons/print-BhcfRgxE.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/print-CkOGeK2-.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/print-DEoedWv2.cjs"))},print_disabled:{outlined:()=>Promise.resolve().then(()=>require("./icons/print_disabled-Cfm8Rmrg.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/print_disabled-BX0aI1MB.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/print_disabled-DXRq3rRK.cjs"))},privacy_tip:{outlined:()=>Promise.resolve().then(()=>require("./icons/privacy_tip-Ds1UUYsC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/privacy_tip-THEl8fOD.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/privacy_tip-BMaqVFkP.cjs"))},public:{outlined:()=>Promise.resolve().then(()=>require("./icons/public-DsMIgunV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/public-BpCg8FcW.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/public-CUqXfp2P.cjs"))},publish:{outlined:()=>Promise.resolve().then(()=>require("./icons/publish-aEOseQ0B.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/publish-CsV_amwU.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/publish-Dvx4su5p.cjs"))},radio:{outlined:()=>Promise.resolve().then(()=>require("./icons/radio-Bk8_Qjwv.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/radio-B2Ef_9iW.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/radio-CwtfSqPE.cjs"))},rate_review:{outlined:()=>Promise.resolve().then(()=>require("./icons/rate_review-B-T0Zspx.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/rate_review-B2oMwaV-.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/rate_review-DPXxfHCb.cjs"))},receipt:{outlined:()=>Promise.resolve().then(()=>require("./icons/receipt-C2nj4DVK.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/receipt-twmBLiMB.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/receipt-Bp12qtmR.cjs"))},receipt_long:{outlined:()=>Promise.resolve().then(()=>require("./icons/receipt_long-92b6OZd3.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/receipt_long-CAmLm05y.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/receipt_long-BwMqM1SJ.cjs"))},recent_actors:{outlined:()=>Promise.resolve().then(()=>require("./icons/recent_actors-DD_SIS2p.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/recent_actors-tqgiO4nq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/recent_actors-BmkR1ajB.cjs"))},recommend:{outlined:()=>Promise.resolve().then(()=>require("./icons/recommend-DtKYWilu.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/recommend-Aw4CXDaO.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/recommend-CDHFINVu.cjs"))},record_voice_over:{outlined:()=>Promise.resolve().then(()=>require("./icons/record_voice_over-Dd1PPwQW.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/record_voice_over-CCuO1fha.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/record_voice_over-CfOde1To.cjs"))},redeem:{outlined:()=>Promise.resolve().then(()=>require("./icons/redeem-CeEXJTxS.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/redeem-CtvDEAWe.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/redeem-zus0PT_N.cjs"))},redo:{outlined:()=>Promise.resolve().then(()=>require("./icons/redo-DwiLjx8_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/redo-CB6KXpep.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/redo-AXNo-2i6.cjs"))},refresh:{outlined:()=>Promise.resolve().then(()=>require("./icons/refresh-B34c1S8h.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/refresh-C_BBk9XA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/refresh-DX9L5WGR.cjs"))},remove:{outlined:()=>Promise.resolve().then(()=>require("./icons/remove-BpH5DaU-.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/remove-ChmlIHbM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/remove-D1owTeuN.cjs"))},reply:{outlined:()=>Promise.resolve().then(()=>require("./icons/reply-Cm9qKf6z.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/reply-Df4SE_cq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/reply-CUp6bBiu.cjs"))},reply_all:{outlined:()=>Promise.resolve().then(()=>require("./icons/reply_all-CIm2mYxA.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/reply_all-Cu6bFwEY.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/reply_all-C1hqo2qO.cjs"))},report:{outlined:()=>Promise.resolve().then(()=>require("./icons/report-3zsKRuLn.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/report-Dmag693H.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/report-DCRNNTzs.cjs"))},restart_alt:{outlined:()=>Promise.resolve().then(()=>require("./icons/restart_alt-CffSc23A.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/restart_alt-CnJZzuua.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/restart_alt-Nz67oCa0.cjs"))},restaurant:{outlined:()=>Promise.resolve().then(()=>require("./icons/restaurant-BKqlwxRF.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/restaurant-CQoatClQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/restaurant-sK6evuVB.cjs"))},restore_from_trash:{outlined:()=>Promise.resolve().then(()=>require("./icons/restore_from_trash-DqcC-1Lu.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/restore_from_trash-DOFWLtoA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/restore_from_trash-DpHGuo0S.cjs"))},rotate_left:{outlined:()=>Promise.resolve().then(()=>require("./icons/rotate_left-Ck4VMi6n.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/rotate_left-RKvDCGa_.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/rotate_left-C0-WUVsw.cjs"))},rotate_right:{outlined:()=>Promise.resolve().then(()=>require("./icons/rotate_right-i9bMrMe5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/rotate_right-D1pzuEHb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/rotate_right-8WHx_SuN.cjs"))},rule:{outlined:()=>Promise.resolve().then(()=>require("./icons/rule-GIRrcXbP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/rule-DTjiYiZq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/rule-PbcB9lZP.cjs"))},save:{outlined:()=>Promise.resolve().then(()=>require("./icons/save-fkqiyMK8.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/save-5IddfMjQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/save-CCF5PyEM.cjs"))},save_as:{outlined:()=>Promise.resolve().then(()=>require("./icons/save_as-BRWg38-i.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/save_as-Bxt_2D67.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/save_as-Cv4exkLT.cjs"))},schedule:{outlined:()=>Promise.resolve().then(()=>require("./icons/schedule-DSheAoDO.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/schedule-DZ99H6m4.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/schedule-DEux9M-N.cjs"))},schedule_send:{outlined:()=>Promise.resolve().then(()=>require("./icons/schedule_send-Do__Ry6u.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/schedule_send-Cp3iC0Oh.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/schedule_send-Ci1iGXRR.cjs"))},school:{outlined:()=>Promise.resolve().then(()=>require("./icons/school-DjIfocA8.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/school-DIBNfqBw.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/school-UiU6b6fz.cjs"))},science:{outlined:()=>Promise.resolve().then(()=>require("./icons/science-DU8HpI5E.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/science-DduXLiLr.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/science-CPQsO82_.cjs"))},search:{outlined:()=>Promise.resolve().then(()=>require("./icons/search-B1H9b_cm.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/search-BryYopV4.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/search-ChtQjHCV.cjs"))},search_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/search_off-hK10qV9w.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/search_off-Ez3W0MtB.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/search_off-DKJlviq9.cjs"))},security:{outlined:()=>Promise.resolve().then(()=>require("./icons/security-CK8VfFnF.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/security-BieeAIQK.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/security-3FTT4sJq.cjs"))},select_all:{outlined:()=>Promise.resolve().then(()=>require("./icons/select_all-wO38Mugl.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/select_all-DkGq4MLr.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/select_all-CNzVtIaX.cjs"))},send:{outlined:()=>Promise.resolve().then(()=>require("./icons/send-CE0t-BeF.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/send-CSyvk2Uu.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/send-Da_IOaWi.cjs"))},send_and_archive:{outlined:()=>Promise.resolve().then(()=>require("./icons/send_and_archive-CIHEjPqZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/send_and_archive-x4Bd1yNd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/send_and_archive-BeBX1v9Y.cjs"))},settings:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings-Iczs8jeR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings-CMP5MFnV.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings-CLZ2Gtbf.cjs"))},settings_applications:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_applications-9HE_9rY_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_applications-BZAjwB0l.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_applications-BXuvrP6q.cjs"))},settings_backup_restore:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_backup_restore-D9TSfliZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_backup_restore-CuanjFW6.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_backup_restore-CyPIojJj.cjs"))},settings_bluetooth:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_bluetooth-DaGzD19J.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_bluetooth-xy6HQVpn.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_bluetooth-Cr6IHVRB.cjs"))},settings_brightness:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_brightness-bpZFSJhk.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_brightness-BkiTw384.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_brightness-DPr5MK-L.cjs"))},settings_ethernet:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_ethernet-CNSkOlVN.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_ethernet-BKUalwzq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_ethernet-BiUPH4Zl.cjs"))},settings_input_component:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_input_component-By5nACBS.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_input_component-BdohaMlR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_input_component-DlJfBGIJ.cjs"))},settings_input_hdmi:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_input_hdmi-C6AUSBbu.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_input_hdmi-CJf8K5vP.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_input_hdmi-B6RpJzAH.cjs"))},settings_input_svideo:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_input_svideo-DE-cJJ19.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_input_svideo-GoJKdcLM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_input_svideo-GdfkseMO.cjs"))},settings_overscan:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_overscan-t2ziBpx0.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_overscan-DjxVyh_p.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_overscan-CzZdrVff.cjs"))},settings_phone:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_phone-DSs4IMu3.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_phone-CdllR2_U.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_phone-DMkUqrcI.cjs"))},settings_power:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_power-Sy2yCFJ9.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_power-C0haok1N.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_power-DCmvdxnX.cjs"))},settings_remote:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_remote-BgSfe6Rf.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_remote-BkeWwusa.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_remote-BjJR-PZA.cjs"))},settings_voice:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_voice-CJKvIhG_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_voice-DKlyDHlF.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_voice-D5Vxz3H6.cjs"))},share:{outlined:()=>Promise.resolve().then(()=>require("./icons/share-4OI6GdPA.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/share-BUQun2WH.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/share-D3x5n12j.cjs"))},shield:{outlined:()=>Promise.resolve().then(()=>require("./icons/shield-BiW3E-iG.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shield-BeTHVkub.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shield-8LQV6fwO.cjs"))},shop:{outlined:()=>Promise.resolve().then(()=>require("./icons/shop-CQAvlAIJ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shop-CKc3vFoP.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shop-CvzOHG8i.cjs"))},shop_two:{outlined:()=>Promise.resolve().then(()=>require("./icons/shop_two-DxlMpmpg.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shop_two-B1EZi_d3.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shop_two-DAWsfPhY.cjs"))},shopping_bag:{outlined:()=>Promise.resolve().then(()=>require("./icons/shopping_bag-BLYLRVEo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shopping_bag-pW2CC5Wm.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shopping_bag-CsPqDtJv.cjs"))},shopping_cart:{outlined:()=>Promise.resolve().then(()=>require("./icons/shopping_cart-DnonQkQH.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shopping_cart-D-FNTU2X.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shopping_cart-Xj77jFuX.cjs"))},shopping_cart_checkout:{outlined:()=>Promise.resolve().then(()=>require("./icons/shopping_cart_checkout-X3I3ndRQ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shopping_cart_checkout-Ba3gAZZx.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shopping_cart_checkout-Biv5QNse.cjs"))},shuffle:{outlined:()=>Promise.resolve().then(()=>require("./icons/shuffle-DgSPEo4a.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shuffle-CJ1EAml3.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shuffle-_2AFO10D.cjs"))},signal_cellular_4_bar:{outlined:()=>Promise.resolve().then(()=>require("./icons/signal_cellular_4_bar-B2EfVIOU.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/signal_cellular_4_bar-BnGmWjbd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/signal_cellular_4_bar-tyWOuTIO.cjs"))},signal_wifi_4_bar:{outlined:()=>Promise.resolve().then(()=>require("./icons/signal_wifi_4_bar-BqhjBPKf.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/signal_wifi_4_bar-ACBg79Cd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/signal_wifi_4_bar-BI0IoDFE.cjs"))},sim_card:{outlined:()=>Promise.resolve().then(()=>require("./icons/sim_card-COkNXOTt.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/sim_card-CIcMNdr5.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/sim_card-BPL0trEZ.cjs"))},skip_next:{outlined:()=>Promise.resolve().then(()=>require("./icons/skip_next-CTaln24G.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/skip_next-BjR_Ru_X.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/skip_next-BS3qv6JB.cjs"))},skip_previous:{outlined:()=>Promise.resolve().then(()=>require("./icons/skip_previous-C3jUnkqV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/skip_previous-DupTvcKV.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/skip_previous-BKQnmbUY.cjs"))},smart_display:{outlined:()=>Promise.resolve().then(()=>require("./icons/smart_display-CGq_kFKP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/smart_display-CvQj8hVk.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/smart_display-BOW5QUcA.cjs"))},sms:{outlined:()=>Promise.resolve().then(()=>require("./icons/sms-Ch9Dn8Lm.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/sms-BujJufM4.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/sms-C0XjdHC5.cjs"))},speaker:{outlined:()=>Promise.resolve().then(()=>require("./icons/speaker-CV63iKYE.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/speaker-DsfaZMR_.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/speaker-B2MvjZAN.cjs"))},speed:{outlined:()=>Promise.resolve().then(()=>require("./icons/speed-D7NBKqG3.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/speed-CXhRyCN3.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/speed-Dj7IJmxS.cjs"))},spellcheck:{outlined:()=>Promise.resolve().then(()=>require("./icons/spellcheck-bravLujp.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/spellcheck-BF_frwVA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/spellcheck-bkyb6Y8s.cjs"))},splitscreen:{outlined:()=>Promise.resolve().then(()=>require("./icons/splitscreen-CWRxhPyh.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/splitscreen-BugC3AHX.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/splitscreen-CuTL4vMq.cjs"))},star:{outlined:()=>Promise.resolve().then(()=>require("./icons/star-71poZceL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/star-CdAMIKli.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/star-cWZAor5m.cjs"))},star_half:{outlined:()=>Promise.resolve().then(()=>require("./icons/star_half-BwQ25Xpr.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/star_half-D21K-e2D.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/star_half-BWK8UDKr.cjs"))},stars:{outlined:()=>Promise.resolve().then(()=>require("./icons/stars--dAqSWaT.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/stars-NYu-DZz9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/stars-Cyp7CBgv.cjs"))},stop:{outlined:()=>Promise.resolve().then(()=>require("./icons/stop-uwTugAuv.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/stop-CBeB_vzv.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/stop-BWqpBB4v.cjs"))},storage:{outlined:()=>Promise.resolve().then(()=>require("./icons/storage-CJ6k6H61.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/storage-YUkbXrS_.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/storage-zovKy4GK.cjs"))},store:{outlined:()=>Promise.resolve().then(()=>require("./icons/store-AytgGtla.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/store-CLKS8y8z.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/store-b7oiYjaT.cjs"))},storefront:{outlined:()=>Promise.resolve().then(()=>require("./icons/storefront-maPZQS5d.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/storefront-p8WcwK8a.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/storefront-C1xlNf7m.cjs"))},subtitles:{outlined:()=>Promise.resolve().then(()=>require("./icons/subtitles-CJ0WZ11D.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/subtitles-CweVpu7E.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/subtitles-DiEORnGT.cjs"))},support:{outlined:()=>Promise.resolve().then(()=>require("./icons/support-DZV0BDoT.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/support-DOeVw2Ol.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/support-C8IHRu3M.cjs"))},swap_horiz:{outlined:()=>Promise.resolve().then(()=>require("./icons/swap_horiz-CIHagp-O.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/swap_horiz-gBiaDATS.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/swap_horiz-DXxPNDOa.cjs"))},swap_vert:{outlined:()=>Promise.resolve().then(()=>require("./icons/swap_vert-CgI4ty66.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/swap_vert-CYo6e2hN.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/swap_vert-BIRQdp6w.cjs"))},swipe:{outlined:()=>Promise.resolve().then(()=>require("./icons/swipe-DNULZvdC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/swipe-CBmB5bVK.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/swipe-BEkT-xey.cjs"))},switch_access_shortcut:{outlined:()=>Promise.resolve().then(()=>require("./icons/switch_access_shortcut-q_7AaUE5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/switch_access_shortcut-4NHu-GzX.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/switch_access_shortcut-DlIlneXr.cjs"))},sync:{outlined:()=>Promise.resolve().then(()=>require("./icons/sync-c0eh9srx.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/sync-B8eDMIHY.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/sync-Bb15b-LY.cjs"))},tab:{outlined:()=>Promise.resolve().then(()=>require("./icons/tab-Br904I-x.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/tab-DoWIBjMF.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/tab-DcX5jSYD.cjs"))},tab_unselected:{outlined:()=>Promise.resolve().then(()=>require("./icons/tab_unselected-h_5qNQAy.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/tab_unselected-Jryi6UG7.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/tab_unselected-BnB9OpTQ.cjs"))},table_rows:{outlined:()=>Promise.resolve().then(()=>require("./icons/table_rows-DhopWxQ4.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/table_rows-CD8mGsGH.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/table_rows-DBST5uR7.cjs"))},tablet:{outlined:()=>Promise.resolve().then(()=>require("./icons/tablet-BPyP2a60.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/tablet-BObXzgDp.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/tablet-DEJSebWQ.cjs"))},tag:{outlined:()=>Promise.resolve().then(()=>require("./icons/tag-BKHmPW7O.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/tag-bOLfzkCK.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/tag-DeeBL365.cjs"))},task:{outlined:()=>Promise.resolve().then(()=>require("./icons/task-B9X6QTUq.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/task-DrKSPxAM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/task-CaXkBV5s.cjs"))},task_alt:{outlined:()=>Promise.resolve().then(()=>require("./icons/task_alt-DmM9U1Ld.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/task_alt-DuVPr61c.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/task_alt-BWpiiOPB.cjs"))},terminal:{outlined:()=>Promise.resolve().then(()=>require("./icons/terminal-Cq96EmHZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/terminal-9rECHy3F.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/terminal-UFxOCVAJ.cjs"))},text_fields:{outlined:()=>Promise.resolve().then(()=>require("./icons/text_fields-srTO6UAQ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/text_fields-MBNGOwpE.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/text_fields-31b2r-eh.cjs"))},thumb_down:{outlined:()=>Promise.resolve().then(()=>require("./icons/thumb_down-C-ZYO8aS.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/thumb_down-CXKcFuVv.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/thumb_down-B1EnDy9g.cjs"))},thumb_up:{outlined:()=>Promise.resolve().then(()=>require("./icons/thumb_up-CMK43jwc.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/thumb_up-BjnPL-vY.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/thumb_up-BJldcoTn.cjs"))},timeline:{outlined:()=>Promise.resolve().then(()=>require("./icons/timeline-BorNHWXs.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/timeline-DHqVljjl.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/timeline-DLlL3HNg.cjs"))},timer:{outlined:()=>Promise.resolve().then(()=>require("./icons/timer-C05SAUqw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/timer-CYZn5P7p.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/timer-B82U_DX8.cjs"))},toc:{outlined:()=>Promise.resolve().then(()=>require("./icons/toc-DhGghZ9I.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/toc-C84pl4PR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/toc-BtcPEvk6.cjs"))},today:{outlined:()=>Promise.resolve().then(()=>require("./icons/today-DzGPx-JC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/today-BkPPR4dh.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/today-BdVLVtYY.cjs"))},toggle_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/toggle_off-BDbSL0R3.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/toggle_off-BDH4j7_B.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/toggle_off-BKJ1oYkM.cjs"))},toggle_on:{outlined:()=>Promise.resolve().then(()=>require("./icons/toggle_on-Dl1NcDmP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/toggle_on-DURt0a-K.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/toggle_on-BcgFWI69.cjs"))},touch_app:{outlined:()=>Promise.resolve().then(()=>require("./icons/touch_app-BjCIP79F.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/touch_app-DYx-e9w1.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/touch_app-DMIySKht.cjs"))},tour:{outlined:()=>Promise.resolve().then(()=>require("./icons/tour-Cvtl9j2v.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/tour-D_mBWC4A.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/tour-DrIKd0iZ.cjs"))},track_changes:{outlined:()=>Promise.resolve().then(()=>require("./icons/track_changes-CrWcjG7M.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/track_changes-CmftMM7i.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/track_changes-2gWHhzk3.cjs"))},train:{outlined:()=>Promise.resolve().then(()=>require("./icons/train-bPZxRsaq.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/train-xbz9XQhb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/train-pWcRhKXA.cjs"))},translate:{outlined:()=>Promise.resolve().then(()=>require("./icons/translate-CYXRRxeY.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/translate-WCc3CLqx.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/translate-CPdtUGGD.cjs"))},trending_down:{outlined:()=>Promise.resolve().then(()=>require("./icons/trending_down-ImDCa4Jh.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/trending_down-DIbaV34v.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/trending_down-dZnaOW1J.cjs"))},trending_flat:{outlined:()=>Promise.resolve().then(()=>require("./icons/trending_flat-C1svR9KS.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/trending_flat-Br_PXO04.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/trending_flat-C4esyAhD.cjs"))},trending_up:{outlined:()=>Promise.resolve().then(()=>require("./icons/trending_up-Bgw7w8PT.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/trending_up-fksGS-GY.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/trending_up-DPd7c_Dq.cjs"))},troubleshoot:{outlined:()=>Promise.resolve().then(()=>require("./icons/troubleshoot-K7Bl_YaC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/troubleshoot-DI-EgiZK.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/troubleshoot-CZMhLPJh.cjs"))},unarchive:{outlined:()=>Promise.resolve().then(()=>require("./icons/unarchive-CO882sl0.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/unarchive-DyUoj8om.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/unarchive-D4LtLEle.cjs"))},undo:{outlined:()=>Promise.resolve().then(()=>require("./icons/undo-iQLEL8Zi.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/undo-CIwSY9GL.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/undo-C9xs6NjO.cjs"))},unfold_less:{outlined:()=>Promise.resolve().then(()=>require("./icons/unfold_less-LC-ftUfz.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/unfold_less-DxekXqvM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/unfold_less-BKOJLQlU.cjs"))},unfold_more:{outlined:()=>Promise.resolve().then(()=>require("./icons/unfold_more-BVL_GIHl.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/unfold_more-DIl3gTo7.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/unfold_more-Dlh3P3cv.cjs"))},update:{outlined:()=>Promise.resolve().then(()=>require("./icons/update-0Vhu6gl3.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/update-a1H2RXCn.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/update-BDOxUBTg.cjs"))},upgrade:{outlined:()=>Promise.resolve().then(()=>require("./icons/upgrade-CqKqDz1C.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/upgrade-x2gsVQIM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/upgrade-CdJyAFoI.cjs"))},upload:{outlined:()=>Promise.resolve().then(()=>require("./icons/upload-CMBoE1MT.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/upload-CfYL9Zr2.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/upload-BDW8-FNY.cjs"))},vaccines:{outlined:()=>Promise.resolve().then(()=>require("./icons/vaccines-C4f-r8y5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/vaccines-Dak3ypH-.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/vaccines-BgYSLR9w.cjs"))},verified:{outlined:()=>Promise.resolve().then(()=>require("./icons/verified-BPpdTMbw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/verified-BR7xxAQA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/verified-C1_3O9Pq.cjs"))},verified_user:{outlined:()=>Promise.resolve().then(()=>require("./icons/verified_user-B4cpofdT.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/verified_user-CHiaKWJQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/verified_user-LzxM0Ixt.cjs"))},view_agenda:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_agenda-wmPKBjy1.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_agenda-ChVSNVuJ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_agenda-BcCbU_Cx.cjs"))},view_array:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_array-4eH_Y-9C.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_array-u_DfgvOJ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_array-CtftT6bB.cjs"))},view_carousel:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_carousel-cKrqJhoI.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_carousel--ToJf94l.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_carousel-CjxIXwuR.cjs"))},view_column:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_column-CI58na9m.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_column-CGO0_VaN.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_column-CZfddZfP.cjs"))},view_day:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_day-BKQpPz70.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_day-BL7dG_71.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_day-D03WAaG1.cjs"))},view_headline:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_headline-bvoWlfSZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_headline-CEiHaTUb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_headline-zUGYSGF4.cjs"))},view_list:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_list-Cn16jlm_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_list-COkcexHQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_list-q6O6UQ8s.cjs"))},view_module:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_module-fdzeD45B.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_module-BIq8D_VI.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_module-Dugq4U2N.cjs"))},view_stream:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_stream-DY09WFyh.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_stream-Bok3MI-A.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_stream-BprhnLvm.cjs"))},view_week:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_week-BwVY-Gzo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_week-BIG9oES2.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_week-CVSaj-eg.cjs"))},visibility:{outlined:()=>Promise.resolve().then(()=>require("./icons/visibility-CcM0M7Ae.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/visibility-B_skKXCn.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/visibility-Du_QtShp.cjs"))},visibility_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/visibility_off-77O8Ixn_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/visibility_off-CQkbf0sH.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/visibility_off-DDSAECSN.cjs"))},voice_chat:{outlined:()=>Promise.resolve().then(()=>require("./icons/voice_chat-B2m86WSN.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/voice_chat-DA-inGEr.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/voice_chat-N9lzzPD3.cjs"))},volume_down:{outlined:()=>Promise.resolve().then(()=>require("./icons/volume_down-X8Fdb5GL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/volume_down-ormtJ6rA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/volume_down-xq98sRni.cjs"))},volume_mute:{outlined:()=>Promise.resolve().then(()=>require("./icons/volume_mute-Dg1Sad52.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/volume_mute-2JEExPCA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/volume_mute-BmLOt1AC.cjs"))},volume_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/volume_off-yubxzc3X.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/volume_off-BgpeewH8.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/volume_off-BrkBzaCw.cjs"))},volume_up:{outlined:()=>Promise.resolve().then(()=>require("./icons/volume_up-bP-cavNY.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/volume_up-DYrt4pXz.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/volume_up-CP5jPUnv.cjs"))},vpn_key:{outlined:()=>Promise.resolve().then(()=>require("./icons/vpn_key-DLw31EM4.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/vpn_key-DYrLYI7L.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/vpn_key-DepwbifQ.cjs"))},vpn_lock:{outlined:()=>Promise.resolve().then(()=>require("./icons/vpn_lock-CArd8FFH.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/vpn_lock-4HGysBa8.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/vpn_lock-DoxQ56X_.cjs"))},wallet:{outlined:()=>Promise.resolve().then(()=>require("./icons/wallet-D6d5LH8m.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/wallet-CGvvbyGf.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/wallet-D6lc8i2O.cjs"))},warning:{outlined:()=>Promise.resolve().then(()=>require("./icons/warning-3MXqZXik.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/warning-iht20xAd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/warning-BDqDQ0zE.cjs"))},watch:{outlined:()=>Promise.resolve().then(()=>require("./icons/watch-Dxwts4x_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/watch-C5XLco8t.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/watch-kEhspwOG.cjs"))},widgets:{outlined:()=>Promise.resolve().then(()=>require("./icons/widgets-DwrJqxGF.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/widgets-BXJ2Q2Ej.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/widgets-obimkiev.cjs"))},wifi:{outlined:()=>Promise.resolve().then(()=>require("./icons/wifi-DrroKwB8.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/wifi-2DytN2nN.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/wifi-BkLgmjTL.cjs"))},wifi_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/wifi_off-BaJM5EaE.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/wifi_off-Sfa-62fD.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/wifi_off-Dc0PhObG.cjs"))},work:{outlined:()=>Promise.resolve().then(()=>require("./icons/work-QooH-JpG.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/work-Do6SwFLt.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/work-D3tksTSD.cjs"))},zoom_in:{outlined:()=>Promise.resolve().then(()=>require("./icons/zoom_in-3A4joxuV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/zoom_in-DL9SEBJs.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/zoom_in-i6DpZCMO.cjs"))},zoom_out:{outlined:()=>Promise.resolve().then(()=>require("./icons/zoom_out-DGmKh370.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/zoom_out-DyYWanOO.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/zoom_out-CKPGeJDN.cjs"))}};console.log(Object.keys(ti));const At={};function Jc(e){return{...e}}function Yp(e){Object.assign(At,Jc(e))}function Xp(e){const t=Jc(e);Object.keys(At).forEach(r=>{delete At[r]}),Object.assign(At,t)}function Jp(){Object.keys(At).forEach(e=>{delete At[e]})}function Qp(){const e=Object.keys(At),t=Object.keys(ti);return Array.from(new Set([...e,...t]))}function Oa(e){const{title:t,...r}=e;return c.jsx("svg",{viewBox:"0 0 24 24","aria-hidden":t?void 0:!0,role:t?"img":void 0,...r,children:t?c.jsx("title",{children:t}):null})}function Zp(e,t){const r=At[e]??ti[e]??null;return r?t==="rounded"?r.rounded??r.outlined:t==="sharp"?r.sharp??r.outlined:r.outlined:null}function ev(e,t){return d.lazy(async()=>{const r=Zp(e,t);if(!r)return{default:Oa};try{return{default:(await r()).default}}catch{return{default:Oa}}})}function Fe(e){const{name:t,svg:r,src:n,variant:o="outlined",useColorAsFill:s=!1,size:i=24,color:a="currentColor",className:l,title:u}=e,f=d.useMemo(()=>ev(t??"",o),[t,o]),h=s?a:"currentColor";return r?c.jsx(r,{width:i,height:i,fill:h,color:a,className:l,title:u,focusable:"false","aria-hidden":u?void 0:!0}):n?c.jsx("img",{src:n,alt:u??"","aria-hidden":u?void 0:!0,className:l,style:{display:"inline-block",width:i,height:i}}):c.jsx(d.Suspense,{fallback:c.jsx("span",{"aria-hidden":"true",className:l,style:{display:"inline-block",width:i,height:i}}),children:c.jsx(f,{width:i,height:i,fill:h,color:a,className:l,title:u,focusable:"false","aria-hidden":u?void 0:!0})})}Fe.displayName="Icon";let Qc=null;function Ma(e){Qc=e}function tv(){return Qc}const rv=200,nv={info:{icon:"info",iconColor:"#6b7280",role:"status",live:"polite"},success:{icon:"check_circle",iconColor:"#16a34a",role:"status",live:"polite"},warn:{icon:"warning",iconColor:"#d97706",role:"alert",live:"assertive"},error:{icon:"error",iconColor:"#dc2626",role:"alert",live:"assertive"}},Zc=d.createContext(null);let La=0;function ov(){return La+=1,`ldkj-toast-${Date.now()}-${La}`}function sv(e,t){return e.filter(r=>r.id!==t)}function iv(e){const t=new Map;for(const r of e){const n=t.get(r.placement);n?n.push(r):t.set(r.placement,[r])}return t}function eu(e){const{children:t,placement:r="top",duration:n=3e3,queueLimit:o=5,reverse:s=!1}=e,[i,a]=d.useState([]),l=d.useRef(new Map),u=d.useRef(new Map),f=d.useCallback(g=>{const P=l.current.get(g);P!==void 0&&(window.clearTimeout(P),l.current.delete(g));const w=u.current.get(g);w!==void 0&&(window.clearTimeout(w),u.current.delete(g))},[]),h=d.useCallback(g=>{f(g),a(P=>sv(P,g))},[f]),v=d.useCallback(g=>{f(g),a(w=>w.map(S=>S.id===g&&!S.leaving?{...S,leaving:!0}:S));const P=window.setTimeout(()=>{h(g)},rv);u.current.set(g,P)},[f,h]),m=d.useCallback(()=>{a(g=>(g.forEach(P=>f(P.id)),[]))},[f]),b=d.useCallback(g=>{const P=g.duration??n,w=g.id??ov(),S={id:w,message:g.message,type:g.type??"info",placement:g.placement??r,closable:g.closable??!0,icon:g.icon,iconColor:g.iconColor,leaving:!1};a(C=>{const q=[...C,S];if(q.length<=o)return q;const k=q.length-o;return q.slice(0,k).forEach(E=>f(E.id)),q.slice(k)});const N=window.setTimeout(()=>{v(w)},Math.max(P,0));return l.current.set(w,N),w},[f,v,n,r,o]);d.useEffect(()=>()=>{l.current.forEach(g=>window.clearTimeout(g)),u.current.forEach(g=>window.clearTimeout(g)),l.current.clear(),u.current.clear()},[]);const p=d.useMemo(()=>({push:b,dismiss:v,clear:m}),[m,v,b]);d.useEffect(()=>(Ma(p),()=>Ma(null)),[p]);const x=d.useMemo(()=>iv(i),[i]),y=Array.from(x.keys());return c.jsxs(Zc.Provider,{value:p,children:[t,y.map(g=>{const P=x.get(g)??[],w=s?[...P].reverse():P;return c.jsx("div",{className:j("ldkj-toast-viewport",`ldkj-toast-viewport-${g}`),"aria-hidden":w.length===0,children:w.map(S=>{const N=nv[S.type],C=S.iconColor??N.iconColor;return c.jsxs("div",{className:j("ldkj-toast-item",S.leaving?"ldkj-toast-leave":"ldkj-toast-appear"),role:N.role,"aria-live":N.live,"aria-atomic":"true",children:[typeof S.icon=="string"?c.jsx(Fe,{name:S.icon,color:C,size:20,className:"ldkj-toast-icon",title:`${S.type} icon`}):S.icon?.svg||S.icon?.src?c.jsx(Fe,{svg:S.icon.svg,src:S.icon.src,color:C,size:20,className:"ldkj-toast-icon",title:`${S.type} icon`}):c.jsx(Fe,{name:N.icon,color:C,size:20,className:"ldkj-toast-icon",title:`${S.type} icon`}),c.jsx("div",{className:"ldkj-toast-message",children:S.message}),S.closable?c.jsx("button",{type:"button",className:"ldkj-toast-close","aria-label":"关闭提示",onClick:()=>v(S.id),children:c.jsx(Fe,{name:"close",size:16,className:"ldkj-toast-close-icon"})}):null]},S.id)})},g)})]})}eu.displayName="ToastProvider";function av(){const e=d.useContext(Zc);if(!e)throw new Error("useToast 必须在 ToastProvider 内使用。");const t=d.useCallback((i,a)=>e.push({message:i,...a}),[e]),r=d.useCallback((i,a)=>e.push({type:"info",message:i,...a}),[e]),n=d.useCallback((i,a)=>e.push({type:"success",message:i,...a}),[e]),o=d.useCallback((i,a)=>e.push({type:"warn",message:i,...a}),[e]),s=d.useCallback((i,a)=>e.push({type:"error",message:i,...a}),[e]);return d.useMemo(()=>({show:t,info:r,success:n,warn:o,error:s,dismiss:e.dismiss,clear:e.clear}),[e.clear,e.dismiss,s,r,t,n,o])}const Nn={placement:"top",duration:3e3,closable:!0};let Da=!1;const Ye={...Nn};function tu(e){return{placement:e?.placement??Ye.placement,duration:e?.duration??Ye.duration,id:e?.id,closable:e?.closable??Ye.closable,icon:e?.icon,iconColor:e?.iconColor}}function qn(){const e=tv();return e||(Da||(Da=!0,console.warn("toast 调用失败:请先在应用根节点挂载 ToastProvider。")),null)}function un(e,t,r){const n=qn();return n?n.push({type:e,message:t,...tu(r)}):""}const _r={show(e,t){const r=qn();return r?r.push({type:"info",message:typeof e=="string"?e:String(e),...tu(t)}):""},info(e,t){return un("info",e,t)},success(e,t){return un("success",e,t)},warn(e,t){return un("warn",e,t)},error(e,t){return un("error",e,t)},dismiss(e){const t=qn();t&&t.dismiss(e)},clear(){const e=qn();e&&e.clear()},config(e){Ye.placement=e.placement??Ye.placement,Ye.duration=e.duration??Ye.duration,Ye.closable=e.closable??Ye.closable},resetConfig(){Ye.placement=Nn.placement,Ye.duration=Nn.duration,Ye.closable=Nn.closable}};function Ba(e){if(e!=null)return typeof e=="boolean"?e?"blur(5px)":void 0:typeof e=="number"?`blur(${e}px)`:`blur(${e})`}function ri(e){const{open:t=!1,destroyOnClose:r=!1,closeOnMaskClick:n=!1,scrollable:o=!1,alpha:s=.5,blur:i,x:a="50%",y:l="50%",translateX:u="-50%",translateY:f="-50%",onClose:h,onOpen:v,className:m,class:b,style:p,sx:x,contentClassName:y,contentClass:g,contentStyle:P,contentSx:w,children:S,...N}=e,C=se(),{sxClassName:q,sxInlineStyle:k}=X(x,C),{sxClassName:A,sxInlineStyle:E}=X(w,C),R=d.useRef(!1);return d.useEffect(()=>{if(R.current){t?v?.():h?.();return}R.current=!0},[t,h,v]),d.useEffect(()=>{if(!t||o)return;const _=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=_}},[t,o]),!t&&r?null:c.jsx("div",{hidden:!t,className:j("fixed inset-0 z-[9999]",q,m,b),style:M({backgroundColor:`rgba(0, 0, 0, ${s})`,backdropFilter:Ba(i),WebkitBackdropFilter:Ba(i)},p,k),onTouchStart:_=>{o||(_.preventDefault(),_.stopPropagation())},onClick:()=>{n&&h?.()},...N,children:c.jsx("div",{className:j("absolute",A,y,g),style:M({left:a,top:l,transform:`translate(${u}, ${f})`},P,E),onClick:_=>{_.stopPropagation()},children:S})})}ri.displayName="Modal";const ru=d.createContext(null),nu=d.createContext(null);function Xr(e){const t=d.useContext(ru);if(!t)throw new Error(`${e} 必须在 <Dialog> 内使用`);return t}function Lt(e){const t=se();return X(e,t)}function lv(e){const{open:t,defaultOpen:r=!1,onOpenChange:n}=e,o=t!==void 0,[s,i]=d.useState(r),a=o?t:s,l=d.useCallback(u=>{o||i(u),n?.(u)},[o,n]);return[a,l]}const cv=e=>{const{open:t,defaultOpen:r,onOpenChange:n,modal:o=!0,lockScroll:s=!0,destroyOnClose:i=!1,closeOnMaskClick:a=!0,scrollable:l=!1,children:u}=e,[f,h]=lv({open:t,defaultOpen:r,onOpenChange:n}),v=d.useMemo(()=>({open:f,setOpen:h,modal:o,lockScroll:s,destroyOnClose:i,closeOnMaskClick:a,scrollable:l}),[a,i,s,o,f,l,h]);return c.jsx(ru.Provider,{value:v,children:u})},ni=d.forwardRef((e,t)=>{const{setOpen:r}=Xr("DialogTrigger"),{asChild:n,asChildWrapper:o="span",className:s,class:i,sx:a,style:l,children:u,onClick:f,...h}=e,{sxClassName:v,sxInlineStyle:m}=Lt(a),b=p=>{f?.(p),!p.defaultPrevented&&r(!0)};return n?c.jsx(o,{ref:t,className:j("inline-flex w-fit",v,s,i),style:M(l,m),onClick:b,...h,children:u}):c.jsx("button",{ref:t,type:"button",className:j(v,s,i),style:M(l,m),onClick:b,...h,children:u})});ni.displayName="DialogTrigger";const oi=d.forwardRef((e,t)=>{const{setOpen:r}=Xr("DialogClose"),{asChild:n,asChildWrapper:o="span",className:s,class:i,sx:a,style:l,children:u,onClick:f,...h}=e,{sxClassName:v,sxInlineStyle:m}=Lt(a),b=p=>{f?.(p),!p.defaultPrevented&&r(!1)};return n?c.jsx(o,{ref:t,className:j("inline-flex w-fit",v,s,i),style:M(l,m),onClick:b,...h,children:u}):c.jsx("button",{ref:t,type:"button",className:j(v,s,i),style:M(l,m),onClick:b,...h,children:u})});oi.displayName="DialogClose";const ou=e=>{const{children:t,container:r}=e;if(typeof document>"u")return null;const n=r??document.body;return n?Gr.createPortal(t,n):null},si=d.forwardRef((e,t)=>{const{open:r,destroyOnClose:n,closeOnMaskClick:o,setOpen:s}=Xr("DialogOverlay"),{className:i,class:a,sx:l,style:u,blur:f=!0,onClick:h,...v}=e,{sxClassName:m,sxInlineStyle:b}=Lt(l);return!r&&n?null:c.jsx("div",{ref:t,hidden:!r,"data-state":r?"open":"closed",className:j("fixed inset-0 z-50 bg-black/50",f?"backdrop-blur-[1px]":null,"data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",m,i,a),style:M(u,b),onClick:p=>{h?.(p),!p.defaultPrevented&&o&&s(!1)},...v})});si.displayName="DialogOverlay";const ii=d.forwardRef((e,t)=>{const r=Xr("DialogContent"),{children:n,className:o,class:s,sx:i,style:a,showClose:l=!0,overlayClassName:u,overlaySx:f,overlayBlur:h=!0,onEscapeKeyDown:v,onPointerDownOutside:m,onOpenAutoFocus:b,onCloseAutoFocus:p,...x}=e,{sxClassName:y,sxInlineStyle:g}=Lt(i),P=d.useRef(null),w=d.useRef(r.open);d.useImperativeHandle(t,()=>P.current),d.useEffect(()=>{const q=w.current;if(!q&&r.open){const k=new Event("openAutoFocus",{cancelable:!0});b?.(k),k.defaultPrevented||P.current?.focus()}if(q&&!r.open){const k=new Event("closeAutoFocus",{cancelable:!0});p?.(k)}w.current=r.open},[r.open,p,b]),d.useEffect(()=>{if(!r.open)return;const q=k=>{k.key==="Escape"&&(v?.(k),!k.defaultPrevented&&r.setOpen(!1))};return window.addEventListener("keydown",q),()=>{window.removeEventListener("keydown",q)}},[r,v]);const S=r.lockScroll&&r.modal,N=r.scrollable||!S,C=r.modal&&r.closeOnMaskClick;return c.jsx(ri,{open:r.open,destroyOnClose:r.destroyOnClose,closeOnMaskClick:C,scrollable:N,blur:h?1:!1,className:j("z-50","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",u),sx:f,onClose:()=>{const q=new PointerEvent("pointerdown",{bubbles:!0,cancelable:!0});m?.(q),q.defaultPrevented||r.setOpen(!1)},contentClassName:"z-50 w-[calc(100%-2rem)] max-w-lg",contentSx:void 0,x:"50%",y:"50%",translateX:"-50%",translateY:"-50%",children:c.jsx("div",{ref:P,role:"dialog","aria-modal":(!!r.modal).toString(),tabIndex:-1,"data-state":r.open?"open":"closed",className:j("relative grid gap-4 rounded-lg border border-slate-200 bg-white p-6 text-slate-950 shadow-xl outline-none","duration-200","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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%]","data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",y,o,s),style:M(a,g),...x,children:c.jsx(nu.Provider,{value:{showClose:l},children:n})})})});ii.displayName="DialogContent";const ai=d.forwardRef((e,t)=>{const r=Xr("DialogHeader"),o=d.useContext(nu)?.showClose??!1,{className:s,class:i,sx:a,style:l,children:u,...f}=e,{sxClassName:h,sxInlineStyle:v}=Lt(a);return c.jsxs("div",{ref:t,className:j("flex items-start justify-between gap-3",h,s,i),style:M(l,v),...f,children:[c.jsx("div",{className:"flex min-w-0 flex-1 flex-col gap-1.5 text-center sm:text-left",children:u}),o?c.jsx("button",{type:"button",className:j("inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-md","text-slate-500 transition-colors hover:bg-slate-100 hover:text-slate-900","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2","disabled:pointer-events-none"),"aria-label":"关闭弹窗",onClick:()=>r.setOpen(!1),children:c.jsx(Fe,{name:"close",size:16})}):null]})});ai.displayName="DialogHeader";const li=d.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=Lt(o);return c.jsx("div",{ref:t,className:j("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",a,r,n),style:M(s,l),...i})});li.displayName="DialogFooter";const ci=d.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=Lt(o);return c.jsx("h2",{ref:t,className:j("m-0 text-lg font-semibold leading-6 text-slate-950",a,r,n),style:M({margin:0,borderTop:0,paddingTop:0,letterSpacing:0,fontSize:"1.125rem",fontWeight:600,lineHeight:"1.5rem"},s,l),...i})});ci.displayName="DialogTitle";const ui=d.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=Lt(o);return c.jsx("p",{ref:t,className:j("m-0 text-sm leading-5 text-slate-600",a,r,n),style:M({margin:0,fontSize:"0.875rem",lineHeight:"1.25rem"},s,l),...i})});ui.displayName="DialogDescription";const uv=Object.assign(cv,{Trigger:ni,Portal:ou,Close:oi,Overlay:si,Content:ii,Header:ai,Footer:li,Title:ci,Description:ui});function ce(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),r===!1||!o.defaultPrevented)return t?.(o)}}function Fa(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function di(...e){return t=>{let r=!1;const n=e.map(o=>{const s=Fa(o,t);return!r&&typeof s=="function"&&(r=!0),s});if(r)return()=>{for(let o=0;o<n.length;o++){const s=n[o];typeof s=="function"?s():Fa(e[o],null)}}}}function ke(...e){return d.useCallback(di(...e),e)}function tt(e,t=[]){let r=[];function n(s,i){const a=d.createContext(i),l=r.length;r=[...r,i];const u=h=>{const{scope:v,children:m,...b}=h,p=v?.[e]?.[l]||a,x=d.useMemo(()=>b,Object.values(b));return c.jsx(p.Provider,{value:x,children:m})};u.displayName=s+"Provider";function f(h,v){const m=v?.[e]?.[l]||a,b=d.useContext(m);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${h}\` must be used within \`${s}\``)}return[u,f]}const o=()=>{const s=r.map(i=>d.createContext(i));return function(a){const l=a?.[e]||s;return d.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[n,dv(o,...t)]}function dv(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=n.reduce((a,{useScope:l,scopeName:u})=>{const h=l(s)[`__scope${u}`];return{...a,...h}},{});return d.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function Fr(e){const t=fv(e),r=d.forwardRef((n,o)=>{const{children:s,...i}=n,a=d.Children.toArray(s),l=a.find(mv);if(l){const u=l.props.children,f=a.map(h=>h===l?d.Children.count(u)>1?d.Children.only(null):d.isValidElement(u)?u.props.children:null:h);return c.jsx(t,{...i,ref:o,children:d.isValidElement(u)?d.cloneElement(u,void 0,f):null})}return c.jsx(t,{...i,ref:o,children:s})});return r.displayName=`${e}.Slot`,r}function fv(e){const t=d.forwardRef((r,n)=>{const{children:o,...s}=r;if(d.isValidElement(o)){const i=vv(o),a=pv(s,o.props);return o.type!==d.Fragment&&(a.ref=n?di(n,i):i),d.cloneElement(o,a)}return d.Children.count(o)>1?d.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var su=Symbol("radix.slottable");function hv(e){const t=({children:r})=>c.jsx(c.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=su,t}function mv(e){return d.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===su}function pv(e,t){const r={...t};for(const n in t){const o=e[n],s=t[n];/^on[A-Z]/.test(n)?o&&s?r[n]=(...a)=>{const l=s(...a);return o(...a),l}:o&&(r[n]=o):n==="style"?r[n]={...o,...s}:n==="className"&&(r[n]=[o,s].filter(Boolean).join(" "))}return{...e,...r}}function vv(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var gv=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],be=gv.reduce((e,t)=>{const r=Fr(`Primitive.${t}`),n=d.forwardRef((o,s)=>{const{asChild:i,...a}=o,l=i?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(l,{...a,ref:s})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function bv(e,t){e&&Gr.flushSync(()=>e.dispatchEvent(t))}function vt(e){const t=d.useRef(e);return d.useEffect(()=>{t.current=e}),d.useMemo(()=>(...r)=>t.current?.(...r),[])}function xv(e,t=globalThis?.document){const r=vt(e);d.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}var yv="DismissableLayer",Es="dismissableLayer.update",Pv="dismissableLayer.pointerDownOutside",wv="dismissableLayer.focusOutside",$a,iu=d.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Xn=d.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:a,...l}=e,u=d.useContext(iu),[f,h]=d.useState(null),v=f?.ownerDocument??globalThis?.document,[,m]=d.useState({}),b=ke(t,C=>h(C)),p=Array.from(u.layers),[x]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=p.indexOf(x),g=f?p.indexOf(f):-1,P=u.layersWithOutsidePointerEventsDisabled.size>0,w=g>=y,S=Nv(C=>{const q=C.target,k=[...u.branches].some(A=>A.contains(q));!w||k||(o?.(C),i?.(C),C.defaultPrevented||a?.())},v),N=qv(C=>{const q=C.target;[...u.branches].some(A=>A.contains(q))||(s?.(C),i?.(C),C.defaultPrevented||a?.())},v);return xv(C=>{g===u.layers.size-1&&(n?.(C),!C.defaultPrevented&&a&&(C.preventDefault(),a()))},v),d.useEffect(()=>{if(f)return r&&(u.layersWithOutsidePointerEventsDisabled.size===0&&($a=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),Va(),()=>{r&&u.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=$a)}},[f,v,r,u]),d.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),Va())},[f,u]),d.useEffect(()=>{const C=()=>m({});return document.addEventListener(Es,C),()=>document.removeEventListener(Es,C)},[]),c.jsx(be.div,{...l,ref:b,style:{pointerEvents:P?w?"auto":"none":void 0,...e.style},onFocusCapture:ce(e.onFocusCapture,N.onFocusCapture),onBlurCapture:ce(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:ce(e.onPointerDownCapture,S.onPointerDownCapture)})});Xn.displayName=yv;var Cv="DismissableLayerBranch",Sv=d.forwardRef((e,t)=>{const r=d.useContext(iu),n=d.useRef(null),o=ke(t,n);return d.useEffect(()=>{const s=n.current;if(s)return r.branches.add(s),()=>{r.branches.delete(s)}},[r.branches]),c.jsx(be.div,{...e,ref:o})});Sv.displayName=Cv;function Nv(e,t=globalThis?.document){const r=vt(e),n=d.useRef(!1),o=d.useRef(()=>{});return d.useEffect(()=>{const s=a=>{if(a.target&&!n.current){let l=function(){au(Pv,r,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function qv(e,t=globalThis?.document){const r=vt(e),n=d.useRef(!1);return d.useEffect(()=>{const o=s=>{s.target&&!n.current&&au(wv,r,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function Va(){const e=new CustomEvent(Es);document.dispatchEvent(e)}function au(e,t,r,{discrete:n}){const o=r.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?bv(o,s):o.dispatchEvent(s)}var jo=0;function lu(){d.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??za()),document.body.insertAdjacentElement("beforeend",e[1]??za()),jo++,()=>{jo===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),jo--}},[])}function za(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Ao="focusScope.autoFocusOnMount",_o="focusScope.autoFocusOnUnmount",Ha={bubbles:!1,cancelable:!0},kv="FocusScope",fi=d.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...i}=e,[a,l]=d.useState(null),u=vt(o),f=vt(s),h=d.useRef(null),v=ke(t,p=>l(p)),m=d.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;d.useEffect(()=>{if(n){let p=function(P){if(m.paused||!a)return;const w=P.target;a.contains(w)?h.current=w:Rt(h.current,{select:!0})},x=function(P){if(m.paused||!a)return;const w=P.relatedTarget;w!==null&&(a.contains(w)||Rt(h.current,{select:!0}))},y=function(P){if(document.activeElement===document.body)for(const S of P)S.removedNodes.length>0&&Rt(a)};document.addEventListener("focusin",p),document.addEventListener("focusout",x);const g=new MutationObserver(y);return a&&g.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",x),g.disconnect()}}},[n,a,m.paused]),d.useEffect(()=>{if(a){Ga.add(m);const p=document.activeElement;if(!a.contains(p)){const y=new CustomEvent(Ao,Ha);a.addEventListener(Ao,u),a.dispatchEvent(y),y.defaultPrevented||(Ev(Tv(cu(a)),{select:!0}),document.activeElement===p&&Rt(a))}return()=>{a.removeEventListener(Ao,u),setTimeout(()=>{const y=new CustomEvent(_o,Ha);a.addEventListener(_o,f),a.dispatchEvent(y),y.defaultPrevented||Rt(p??document.body,{select:!0}),a.removeEventListener(_o,f),Ga.remove(m)},0)}}},[a,u,f,m]);const b=d.useCallback(p=>{if(!r&&!n||m.paused)return;const x=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,y=document.activeElement;if(x&&y){const g=p.currentTarget,[P,w]=Rv(g);P&&w?!p.shiftKey&&y===w?(p.preventDefault(),r&&Rt(P,{select:!0})):p.shiftKey&&y===P&&(p.preventDefault(),r&&Rt(w,{select:!0})):y===g&&p.preventDefault()}},[r,n,m.paused]);return c.jsx(be.div,{tabIndex:-1,...i,ref:v,onKeyDown:b})});fi.displayName=kv;function Ev(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(Rt(n,{select:t}),document.activeElement!==r)return}function Rv(e){const t=cu(e),r=Wa(t,e),n=Wa(t.reverse(),e);return[r,n]}function cu(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Wa(e,t){for(const r of e)if(!jv(r,{upTo:t}))return r}function jv(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Av(e){return e instanceof HTMLInputElement&&"select"in e}function Rt(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Av(e)&&t&&e.select()}}var Ga=_v();function _v(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=Ka(e,t),e.unshift(t)},remove(t){e=Ka(e,t),e[0]?.resume()}}}function Ka(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function Tv(e){return e.filter(t=>t.tagName!=="A")}var Le=globalThis?.document?d.useLayoutEffect:()=>{},Iv=d[" useId ".trim().toString()]||(()=>{}),Ov=0;function er(e){const[t,r]=d.useState(Iv());return Le(()=>{r(n=>n??String(Ov++))},[e]),e||(t?`radix-${t}`:"")}const Mv=["top","right","bottom","left"],Tt=Math.min,We=Math.max,Mn=Math.round,dn=Math.floor,ut=e=>({x:e,y:e}),Lv={left:"right",right:"left",bottom:"top",top:"bottom"};function Rs(e,t,r){return We(e,Tt(t,r))}function gt(e,t){return typeof e=="function"?e(t):e}function bt(e){return e.split("-")[0]}function xr(e){return e.split("-")[1]}function hi(e){return e==="x"?"y":"x"}function mi(e){return e==="y"?"height":"width"}function lt(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function pi(e){return hi(lt(e))}function Dv(e,t,r){r===void 0&&(r=!1);const n=xr(e),o=pi(e),s=mi(o);let i=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=Ln(i)),[i,Ln(i)]}function Bv(e){const t=Ln(e);return[js(e),t,js(t)]}function js(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Ua=["left","right"],Ya=["right","left"],Fv=["top","bottom"],$v=["bottom","top"];function Vv(e,t,r){switch(e){case"top":case"bottom":return r?t?Ya:Ua:t?Ua:Ya;case"left":case"right":return t?Fv:$v;default:return[]}}function zv(e,t,r,n){const o=xr(e);let s=Vv(bt(e),r==="start",n);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(js)))),s}function Ln(e){const t=bt(e);return Lv[t]+e.slice(t.length)}function Hv(e){return{top:0,right:0,bottom:0,left:0,...e}}function uu(e){return typeof e!="number"?Hv(e):{top:e,right:e,bottom:e,left:e}}function Dn(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function Xa(e,t,r){let{reference:n,floating:o}=e;const s=lt(t),i=pi(t),a=mi(i),l=bt(t),u=s==="y",f=n.x+n.width/2-o.width/2,h=n.y+n.height/2-o.height/2,v=n[a]/2-o[a]/2;let m;switch(l){case"top":m={x:f,y:n.y-o.height};break;case"bottom":m={x:f,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:h};break;case"left":m={x:n.x-o.width,y:h};break;default:m={x:n.x,y:n.y}}switch(xr(t)){case"start":m[i]-=v*(r&&u?-1:1);break;case"end":m[i]+=v*(r&&u?-1:1);break}return m}async function Wv(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:s,rects:i,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:v=!1,padding:m=0}=gt(t,e),b=uu(m),x=a[v?h==="floating"?"reference":"floating":h],y=Dn(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(x)))==null||r?x:x.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:f,strategy:l})),g=h==="floating"?{x:n,y:o,width:i.floating.width,height:i.floating.height}:i.reference,P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),w=await(s.isElement==null?void 0:s.isElement(P))?await(s.getScale==null?void 0:s.getScale(P))||{x:1,y:1}:{x:1,y:1},S=Dn(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:P,strategy:l}):g);return{top:(y.top-S.top+b.top)/w.y,bottom:(S.bottom-y.bottom+b.bottom)/w.y,left:(y.left-S.left+b.left)/w.x,right:(S.right-y.right+b.right)/w.x}}const Gv=50,Kv=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:s=[],platform:i}=r,a=i.detectOverflow?i:{...i,detectOverflow:Wv},l=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:h}=Xa(u,n,l),v=n,m=0;const b={};for(let p=0;p<s.length;p++){const x=s[p];if(!x)continue;const{name:y,fn:g}=x,{x:P,y:w,data:S,reset:N}=await g({x:f,y:h,initialPlacement:n,placement:v,strategy:o,middlewareData:b,rects:u,platform:a,elements:{reference:e,floating:t}});f=P??f,h=w??h,b[y]={...b[y],...S},N&&m<Gv&&(m++,typeof N=="object"&&(N.placement&&(v=N.placement),N.rects&&(u=N.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):N.rects),{x:f,y:h}=Xa(u,v,l)),p=-1)}return{x:f,y:h,placement:v,strategy:o,middlewareData:b}},Uv=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:s,platform:i,elements:a,middlewareData:l}=t,{element:u,padding:f=0}=gt(e,t)||{};if(u==null)return{};const h=uu(f),v={x:r,y:n},m=pi(o),b=mi(m),p=await i.getDimensions(u),x=m==="y",y=x?"top":"left",g=x?"bottom":"right",P=x?"clientHeight":"clientWidth",w=s.reference[b]+s.reference[m]-v[m]-s.floating[b],S=v[m]-s.reference[m],N=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let C=N?N[P]:0;(!C||!await(i.isElement==null?void 0:i.isElement(N)))&&(C=a.floating[P]||s.floating[b]);const q=w/2-S/2,k=C/2-p[b]/2-1,A=Tt(h[y],k),E=Tt(h[g],k),R=A,_=C-p[b]-E,I=C/2-p[b]/2+q,O=Rs(R,I,_),T=!l.arrow&&xr(o)!=null&&I!==O&&s.reference[b]/2-(I<R?A:E)-p[b]/2<0,$=T?I<R?I-R:I-_:0;return{[m]:v[m]+$,data:{[m]:O,centerOffset:I-O-$,...T&&{alignmentOffset:$}},reset:T}}}),Yv=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:v,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:p=!0,...x}=gt(e,t);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const y=bt(o),g=lt(a),P=bt(a)===a,w=await(l.isRTL==null?void 0:l.isRTL(u.floating)),S=v||(P||!p?[Ln(a)]:Bv(a)),N=b!=="none";!v&&N&&S.push(...zv(a,p,b,w));const C=[a,...S],q=await l.detectOverflow(t,x),k=[];let A=((n=s.flip)==null?void 0:n.overflows)||[];if(f&&k.push(q[y]),h){const I=Dv(o,i,w);k.push(q[I[0]],q[I[1]])}if(A=[...A,{placement:o,overflows:k}],!k.every(I=>I<=0)){var E,R;const I=(((E=s.flip)==null?void 0:E.index)||0)+1,O=C[I];if(O&&(!(h==="alignment"?g!==lt(O):!1)||A.every(B=>lt(B.placement)===g?B.overflows[0]>0:!0)))return{data:{index:I,overflows:A},reset:{placement:O}};let T=(R=A.filter($=>$.overflows[0]<=0).sort(($,B)=>$.overflows[1]-B.overflows[1])[0])==null?void 0:R.placement;if(!T)switch(m){case"bestFit":{var _;const $=(_=A.filter(B=>{if(N){const U=lt(B.placement);return U===g||U==="y"}return!0}).map(B=>[B.placement,B.overflows.filter(U=>U>0).reduce((U,L)=>U+L,0)]).sort((B,U)=>B[1]-U[1])[0])==null?void 0:_[0];$&&(T=$);break}case"initialPlacement":T=a;break}if(o!==T)return{reset:{placement:T}}}return{}}}};function Ja(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Qa(e){return Mv.some(t=>e[t]>=0)}const Xv=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r,platform:n}=t,{strategy:o="referenceHidden",...s}=gt(e,t);switch(o){case"referenceHidden":{const i=await n.detectOverflow(t,{...s,elementContext:"reference"}),a=Ja(i,r.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Qa(a)}}}case"escaped":{const i=await n.detectOverflow(t,{...s,altBoundary:!0}),a=Ja(i,r.floating);return{data:{escapedOffsets:a,escaped:Qa(a)}}}default:return{}}}}},du=new Set(["left","top"]);async function Jv(e,t){const{placement:r,platform:n,elements:o}=e,s=await(n.isRTL==null?void 0:n.isRTL(o.floating)),i=bt(r),a=xr(r),l=lt(r)==="y",u=du.has(i)?-1:1,f=s&&l?-1:1,h=gt(t,e);let{mainAxis:v,crossAxis:m,alignmentAxis:b}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&typeof b=="number"&&(m=a==="end"?b*-1:b),l?{x:m*f,y:v*u}:{x:v*u,y:m*f}}const Qv=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:s,placement:i,middlewareData:a}=t,l=await Jv(t,e);return i===((r=a.offset)==null?void 0:r.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:{...l,placement:i}}}}},Zv=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o,platform:s}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:y=>{let{x:g,y:P}=y;return{x:g,y:P}}},...u}=gt(e,t),f={x:r,y:n},h=await s.detectOverflow(t,u),v=lt(bt(o)),m=hi(v);let b=f[m],p=f[v];if(i){const y=m==="y"?"top":"left",g=m==="y"?"bottom":"right",P=b+h[y],w=b-h[g];b=Rs(P,b,w)}if(a){const y=v==="y"?"top":"left",g=v==="y"?"bottom":"right",P=p+h[y],w=p-h[g];p=Rs(P,p,w)}const x=l.fn({...t,[m]:b,[v]:p});return{...x,data:{x:x.x-r,y:x.y-n,enabled:{[m]:i,[v]:a}}}}}},eg=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:s,middlewareData:i}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=gt(e,t),f={x:r,y:n},h=lt(o),v=hi(h);let m=f[v],b=f[h];const p=gt(a,t),x=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(l){const P=v==="y"?"height":"width",w=s.reference[v]-s.floating[P]+x.mainAxis,S=s.reference[v]+s.reference[P]-x.mainAxis;m<w?m=w:m>S&&(m=S)}if(u){var y,g;const P=v==="y"?"width":"height",w=du.has(bt(o)),S=s.reference[h]-s.floating[P]+(w&&((y=i.offset)==null?void 0:y[h])||0)+(w?0:x.crossAxis),N=s.reference[h]+s.reference[P]+(w?0:((g=i.offset)==null?void 0:g[h])||0)-(w?x.crossAxis:0);b<S?b=S:b>N&&(b=N)}return{[v]:m,[h]:b}}}},tg=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:o,rects:s,platform:i,elements:a}=t,{apply:l=()=>{},...u}=gt(e,t),f=await i.detectOverflow(t,u),h=bt(o),v=xr(o),m=lt(o)==="y",{width:b,height:p}=s.floating;let x,y;h==="top"||h==="bottom"?(x=h,y=v===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(y=h,x=v==="end"?"top":"bottom");const g=p-f.top-f.bottom,P=b-f.left-f.right,w=Tt(p-f[x],g),S=Tt(b-f[y],P),N=!t.middlewareData.shift;let C=w,q=S;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(q=P),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(C=g),N&&!v){const A=We(f.left,0),E=We(f.right,0),R=We(f.top,0),_=We(f.bottom,0);m?q=b-2*(A!==0||E!==0?A+E:We(f.left,f.right)):C=p-2*(R!==0||_!==0?R+_:We(f.top,f.bottom))}await l({...t,availableWidth:q,availableHeight:C});const k=await i.getDimensions(a.floating);return b!==k.width||p!==k.height?{reset:{rects:!0}}:{}}}};function Jn(){return typeof window<"u"}function yr(e){return fu(e)?(e.nodeName||"").toLowerCase():"#document"}function Ke(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function dt(e){var t;return(t=(fu(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function fu(e){return Jn()?e instanceof Node||e instanceof Ke(e).Node:!1}function Ze(e){return Jn()?e instanceof Element||e instanceof Ke(e).Element:!1}function yt(e){return Jn()?e instanceof HTMLElement||e instanceof Ke(e).HTMLElement:!1}function Za(e){return!Jn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ke(e).ShadowRoot}function Jr(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=et(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&o!=="inline"&&o!=="contents"}function rg(e){return/^(table|td|th)$/.test(yr(e))}function Qn(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const ng=/transform|translate|scale|rotate|perspective|filter/,og=/paint|layout|strict|content/,Ht=e=>!!e&&e!=="none";let To;function vi(e){const t=Ze(e)?et(e):e;return Ht(t.transform)||Ht(t.translate)||Ht(t.scale)||Ht(t.rotate)||Ht(t.perspective)||!gi()&&(Ht(t.backdropFilter)||Ht(t.filter))||ng.test(t.willChange||"")||og.test(t.contain||"")}function sg(e){let t=It(e);for(;yt(t)&&!hr(t);){if(vi(t))return t;if(Qn(t))return null;t=It(t)}return null}function gi(){return To==null&&(To=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),To}function hr(e){return/^(html|body|#document)$/.test(yr(e))}function et(e){return Ke(e).getComputedStyle(e)}function Zn(e){return Ze(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function It(e){if(yr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Za(e)&&e.host||dt(e);return Za(t)?t.host:t}function hu(e){const t=It(e);return hr(t)?e.ownerDocument?e.ownerDocument.body:e.body:yt(t)&&Jr(t)?t:hu(t)}function $r(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=hu(e),s=o===((n=e.ownerDocument)==null?void 0:n.body),i=Ke(o);if(s){const a=As(i);return t.concat(i,i.visualViewport||[],Jr(o)?o:[],a&&r?$r(a):[])}else return t.concat(o,$r(o,[],r))}function As(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function mu(e){const t=et(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=yt(e),s=o?e.offsetWidth:r,i=o?e.offsetHeight:n,a=Mn(r)!==s||Mn(n)!==i;return a&&(r=s,n=i),{width:r,height:n,$:a}}function bi(e){return Ze(e)?e:e.contextElement}function ur(e){const t=bi(e);if(!yt(t))return ut(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:s}=mu(t);let i=(s?Mn(r.width):r.width)/n,a=(s?Mn(r.height):r.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const ig=ut(0);function pu(e){const t=Ke(e);return!gi()||!t.visualViewport?ig:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ag(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Ke(e)?!1:t}function Yt(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),s=bi(e);let i=ut(1);t&&(n?Ze(n)&&(i=ur(n)):i=ur(e));const a=ag(s,r,n)?pu(s):ut(0);let l=(o.left+a.x)/i.x,u=(o.top+a.y)/i.y,f=o.width/i.x,h=o.height/i.y;if(s){const v=Ke(s),m=n&&Ze(n)?Ke(n):n;let b=v,p=As(b);for(;p&&n&&m!==b;){const x=ur(p),y=p.getBoundingClientRect(),g=et(p),P=y.left+(p.clientLeft+parseFloat(g.paddingLeft))*x.x,w=y.top+(p.clientTop+parseFloat(g.paddingTop))*x.y;l*=x.x,u*=x.y,f*=x.x,h*=x.y,l+=P,u+=w,b=Ke(p),p=As(b)}}return Dn({width:f,height:h,x:l,y:u})}function eo(e,t){const r=Zn(e).scrollLeft;return t?t.left+r:Yt(dt(e)).left+r}function vu(e,t){const r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-eo(e,r),o=r.top+t.scrollTop;return{x:n,y:o}}function lg(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const s=o==="fixed",i=dt(n),a=t?Qn(t.floating):!1;if(n===i||a&&s)return r;let l={scrollLeft:0,scrollTop:0},u=ut(1);const f=ut(0),h=yt(n);if((h||!h&&!s)&&((yr(n)!=="body"||Jr(i))&&(l=Zn(n)),h)){const m=Yt(n);u=ur(n),f.x=m.x+n.clientLeft,f.y=m.y+n.clientTop}const v=i&&!h&&!s?vu(i,l):ut(0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-l.scrollLeft*u.x+f.x+v.x,y:r.y*u.y-l.scrollTop*u.y+f.y+v.y}}function cg(e){return Array.from(e.getClientRects())}function ug(e){const t=dt(e),r=Zn(e),n=e.ownerDocument.body,o=We(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=We(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let i=-r.scrollLeft+eo(e);const a=-r.scrollTop;return et(n).direction==="rtl"&&(i+=We(t.clientWidth,n.clientWidth)-o),{width:o,height:s,x:i,y:a}}const el=25;function dg(e,t){const r=Ke(e),n=dt(e),o=r.visualViewport;let s=n.clientWidth,i=n.clientHeight,a=0,l=0;if(o){s=o.width,i=o.height;const f=gi();(!f||f&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}const u=eo(n);if(u<=0){const f=n.ownerDocument,h=f.body,v=getComputedStyle(h),m=f.compatMode==="CSS1Compat"&&parseFloat(v.marginLeft)+parseFloat(v.marginRight)||0,b=Math.abs(n.clientWidth-h.clientWidth-m);b<=el&&(s-=b)}else u<=el&&(s+=u);return{width:s,height:i,x:a,y:l}}function fg(e,t){const r=Yt(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,s=yt(e)?ur(e):ut(1),i=e.clientWidth*s.x,a=e.clientHeight*s.y,l=o*s.x,u=n*s.y;return{width:i,height:a,x:l,y:u}}function tl(e,t,r){let n;if(t==="viewport")n=dg(e,r);else if(t==="document")n=ug(dt(e));else if(Ze(t))n=fg(t,r);else{const o=pu(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Dn(n)}function gu(e,t){const r=It(e);return r===t||!Ze(r)||hr(r)?!1:et(r).position==="fixed"||gu(r,t)}function hg(e,t){const r=t.get(e);if(r)return r;let n=$r(e,[],!1).filter(a=>Ze(a)&&yr(a)!=="body"),o=null;const s=et(e).position==="fixed";let i=s?It(e):e;for(;Ze(i)&&!hr(i);){const a=et(i),l=vi(i);!l&&a.position==="fixed"&&(o=null),(s?!l&&!o:!l&&a.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||Jr(i)&&!l&&gu(e,i))?n=n.filter(f=>f!==i):o=a,i=It(i)}return t.set(e,n),n}function mg(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const i=[...r==="clippingAncestors"?Qn(t)?[]:hg(t,this._c):[].concat(r),n],a=tl(t,i[0],o);let l=a.top,u=a.right,f=a.bottom,h=a.left;for(let v=1;v<i.length;v++){const m=tl(t,i[v],o);l=We(m.top,l),u=Tt(m.right,u),f=Tt(m.bottom,f),h=We(m.left,h)}return{width:u-h,height:f-l,x:h,y:l}}function pg(e){const{width:t,height:r}=mu(e);return{width:t,height:r}}function vg(e,t,r){const n=yt(t),o=dt(t),s=r==="fixed",i=Yt(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=ut(0);function u(){l.x=eo(o)}if(n||!n&&!s)if((yr(t)!=="body"||Jr(o))&&(a=Zn(t)),n){const m=Yt(t,!0,s,t);l.x=m.x+t.clientLeft,l.y=m.y+t.clientTop}else o&&u();s&&!n&&o&&u();const f=o&&!n&&!s?vu(o,a):ut(0),h=i.left+a.scrollLeft-l.x-f.x,v=i.top+a.scrollTop-l.y-f.y;return{x:h,y:v,width:i.width,height:i.height}}function Io(e){return et(e).position==="static"}function rl(e,t){if(!yt(e)||et(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return dt(e)===r&&(r=r.ownerDocument.body),r}function bu(e,t){const r=Ke(e);if(Qn(e))return r;if(!yt(e)){let o=It(e);for(;o&&!hr(o);){if(Ze(o)&&!Io(o))return o;o=It(o)}return r}let n=rl(e,t);for(;n&&rg(n)&&Io(n);)n=rl(n,t);return n&&hr(n)&&Io(n)&&!vi(n)?r:n||sg(e)||r}const gg=async function(e){const t=this.getOffsetParent||bu,r=this.getDimensions,n=await r(e.floating);return{reference:vg(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function bg(e){return et(e).direction==="rtl"}const xg={convertOffsetParentRelativeRectToViewportRelativeRect:lg,getDocumentElement:dt,getClippingRect:mg,getOffsetParent:bu,getElementRects:gg,getClientRects:cg,getDimensions:pg,getScale:ur,isElement:Ze,isRTL:bg};function xu(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function yg(e,t){let r=null,n;const o=dt(e);function s(){var a;clearTimeout(n),(a=r)==null||a.disconnect(),r=null}function i(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const u=e.getBoundingClientRect(),{left:f,top:h,width:v,height:m}=u;if(a||t(),!v||!m)return;const b=dn(h),p=dn(o.clientWidth-(f+v)),x=dn(o.clientHeight-(h+m)),y=dn(f),P={rootMargin:-b+"px "+-p+"px "+-x+"px "+-y+"px",threshold:We(0,Tt(1,l))||1};let w=!0;function S(N){const C=N[0].intersectionRatio;if(C!==l){if(!w)return i();C?i(!1,C):n=setTimeout(()=>{i(!1,1e-7)},1e3)}C===1&&!xu(u,e.getBoundingClientRect())&&i(),w=!1}try{r=new IntersectionObserver(S,{...P,root:o.ownerDocument})}catch{r=new IntersectionObserver(S,P)}r.observe(e)}return i(!0),s}function Pg(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,u=bi(e),f=o||s?[...u?$r(u):[],...t?$r(t):[]]:[];f.forEach(y=>{o&&y.addEventListener("scroll",r,{passive:!0}),s&&y.addEventListener("resize",r)});const h=u&&a?yg(u,r):null;let v=-1,m=null;i&&(m=new ResizeObserver(y=>{let[g]=y;g&&g.target===u&&m&&t&&(m.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var P;(P=m)==null||P.observe(t)})),r()}),u&&!l&&m.observe(u),t&&m.observe(t));let b,p=l?Yt(e):null;l&&x();function x(){const y=Yt(e);p&&!xu(p,y)&&r(),p=y,b=requestAnimationFrame(x)}return r(),()=>{var y;f.forEach(g=>{o&&g.removeEventListener("scroll",r),s&&g.removeEventListener("resize",r)}),h?.(),(y=m)==null||y.disconnect(),m=null,l&&cancelAnimationFrame(b)}}const wg=Qv,Cg=Zv,Sg=Yv,Ng=tg,qg=Xv,nl=Uv,kg=eg,Eg=(e,t,r)=>{const n=new Map,o={platform:xg,...r},s={...o.platform,_c:n};return Kv(e,t,{...o,platform:s})};var Rg=typeof document<"u",jg=function(){},kn=Rg?je.useLayoutEffect:jg;function Bn(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(!Bn(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){const s=o[n];if(!(s==="_owner"&&e.$$typeof)&&!Bn(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function yu(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ol(e,t){const r=yu(e);return Math.round(t*r)/r}function Oo(e){const t=d.useRef(e);return kn(()=>{t.current=e}),t}function Ag(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:s,floating:i}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[f,h]=d.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[v,m]=d.useState(n);Bn(v,n)||m(n);const[b,p]=d.useState(null),[x,y]=d.useState(null),g=d.useCallback(B=>{B!==N.current&&(N.current=B,p(B))},[]),P=d.useCallback(B=>{B!==C.current&&(C.current=B,y(B))},[]),w=s||b,S=i||x,N=d.useRef(null),C=d.useRef(null),q=d.useRef(f),k=l!=null,A=Oo(l),E=Oo(o),R=Oo(u),_=d.useCallback(()=>{if(!N.current||!C.current)return;const B={placement:t,strategy:r,middleware:v};E.current&&(B.platform=E.current),Eg(N.current,C.current,B).then(U=>{const L={...U,isPositioned:R.current!==!1};I.current&&!Bn(q.current,L)&&(q.current=L,Gr.flushSync(()=>{h(L)}))})},[v,t,r,E,R]);kn(()=>{u===!1&&q.current.isPositioned&&(q.current.isPositioned=!1,h(B=>({...B,isPositioned:!1})))},[u]);const I=d.useRef(!1);kn(()=>(I.current=!0,()=>{I.current=!1}),[]),kn(()=>{if(w&&(N.current=w),S&&(C.current=S),w&&S){if(A.current)return A.current(w,S,_);_()}},[w,S,_,A,k]);const O=d.useMemo(()=>({reference:N,floating:C,setReference:g,setFloating:P}),[g,P]),T=d.useMemo(()=>({reference:w,floating:S}),[w,S]),$=d.useMemo(()=>{const B={position:r,left:0,top:0};if(!T.floating)return B;const U=ol(T.floating,f.x),L=ol(T.floating,f.y);return a?{...B,transform:"translate("+U+"px, "+L+"px)",...yu(T.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:U,top:L}},[r,a,T.floating,f.x,f.y]);return d.useMemo(()=>({...f,update:_,refs:O,elements:T,floatingStyles:$}),[f,_,O,T,$])}const _g=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:n,padding:o}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?nl({element:n.current,padding:o}).fn(r):{}:n?nl({element:n,padding:o}).fn(r):{}}}},Tg=(e,t)=>{const r=wg(e);return{name:r.name,fn:r.fn,options:[e,t]}},Ig=(e,t)=>{const r=Cg(e);return{name:r.name,fn:r.fn,options:[e,t]}},Og=(e,t)=>({fn:kg(e).fn,options:[e,t]}),Mg=(e,t)=>{const r=Sg(e);return{name:r.name,fn:r.fn,options:[e,t]}},Lg=(e,t)=>{const r=Ng(e);return{name:r.name,fn:r.fn,options:[e,t]}},Dg=(e,t)=>{const r=qg(e);return{name:r.name,fn:r.fn,options:[e,t]}},Bg=(e,t)=>{const r=_g(e);return{name:r.name,fn:r.fn,options:[e,t]}};var Fg="Arrow",Pu=d.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...s}=e;return c.jsx(be.svg,{...s,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:c.jsx("polygon",{points:"0,0 30,0 15,10"})})});Pu.displayName=Fg;var $g=Pu;function to(e){const[t,r]=d.useState(void 0);return Le(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let i,a;if("borderBoxSize"in s){const l=s.borderBoxSize,u=Array.isArray(l)?l[0]:l;i=u.inlineSize,a=u.blockSize}else i=e.offsetWidth,a=e.offsetHeight;r({width:i,height:a})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}var xi="Popper",[wu,Pr]=tt(xi),[Vg,Cu]=wu(xi),Su=e=>{const{__scopePopper:t,children:r}=e,[n,o]=d.useState(null);return c.jsx(Vg,{scope:t,anchor:n,onAnchorChange:o,children:r})};Su.displayName=xi;var Nu="PopperAnchor",qu=d.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,s=Cu(Nu,r),i=d.useRef(null),a=ke(t,i),l=d.useRef(null);return d.useEffect(()=>{const u=l.current;l.current=n?.current||i.current,u!==l.current&&s.onAnchorChange(l.current)}),n?null:c.jsx(be.div,{...o,ref:a})});qu.displayName=Nu;var yi="PopperContent",[zg,Hg]=wu(yi),ku=d.forwardRef((e,t)=>{const{__scopePopper:r,side:n="bottom",sideOffset:o=0,align:s="center",alignOffset:i=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:f=0,sticky:h="partial",hideWhenDetached:v=!1,updatePositionStrategy:m="optimized",onPlaced:b,...p}=e,x=Cu(yi,r),[y,g]=d.useState(null),P=ke(t,D=>g(D)),[w,S]=d.useState(null),N=to(w),C=N?.width??0,q=N?.height??0,k=n+(s!=="center"?"-"+s:""),A=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},E=Array.isArray(u)?u:[u],R=E.length>0,_={padding:A,boundary:E.filter(Gg),altBoundary:R},{refs:I,floatingStyles:O,placement:T,isPositioned:$,middlewareData:B}=Ag({strategy:"fixed",placement:k,whileElementsMounted:(...D)=>Pg(...D,{animationFrame:m==="always"}),elements:{reference:x.anchor},middleware:[Tg({mainAxis:o+q,alignmentAxis:i}),l&&Ig({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?Og():void 0,..._}),l&&Mg({..._}),Lg({..._,apply:({elements:D,rects:Q,availableWidth:z,availableHeight:K})=>{const{width:W,height:Z}=Q.reference,ae=D.floating.style;ae.setProperty("--radix-popper-available-width",`${z}px`),ae.setProperty("--radix-popper-available-height",`${K}px`),ae.setProperty("--radix-popper-anchor-width",`${W}px`),ae.setProperty("--radix-popper-anchor-height",`${Z}px`)}}),w&&Bg({element:w,padding:a}),Kg({arrowWidth:C,arrowHeight:q}),v&&Dg({strategy:"referenceHidden",..._})]}),[U,L]=ju(T),G=vt(b);Le(()=>{$&&G?.()},[$,G]);const me=B.arrow?.x,te=B.arrow?.y,J=B.arrow?.centerOffset!==0,[H,Y]=d.useState();return Le(()=>{y&&Y(window.getComputedStyle(y).zIndex)},[y]),c.jsx("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{...O,transform:$?O.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:H,"--radix-popper-transform-origin":[B.transformOrigin?.x,B.transformOrigin?.y].join(" "),...B.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:c.jsx(zg,{scope:r,placedSide:U,onArrowChange:S,arrowX:me,arrowY:te,shouldHideArrow:J,children:c.jsx(be.div,{"data-side":U,"data-align":L,...p,ref:P,style:{...p.style,animation:$?void 0:"none"}})})})});ku.displayName=yi;var Eu="PopperArrow",Wg={top:"bottom",right:"left",bottom:"top",left:"right"},Ru=d.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,s=Hg(Eu,n),i=Wg[s.placedSide];return c.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:c.jsx($g,{...o,ref:r,style:{...o.style,display:"block"}})})});Ru.displayName=Eu;function Gg(e){return e!==null}var Kg=e=>({name:"transformOrigin",options:e,fn(t){const{placement:r,rects:n,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[u,f]=ju(r),h={start:"0%",center:"50%",end:"100%"}[f],v=(o.arrow?.x??0)+a/2,m=(o.arrow?.y??0)+l/2;let b="",p="";return u==="bottom"?(b=i?h:`${v}px`,p=`${-l}px`):u==="top"?(b=i?h:`${v}px`,p=`${n.floating.height+l}px`):u==="right"?(b=`${-l}px`,p=i?h:`${m}px`):u==="left"&&(b=`${n.floating.width+l}px`,p=i?h:`${m}px`),{data:{x:b,y:p}}}});function ju(e){const[t,r="center"]=e.split("-");return[t,r]}var Pi=Su,ro=qu,wi=ku,Ci=Ru,Ug="Portal",no=d.forwardRef((e,t)=>{const{container:r,...n}=e,[o,s]=d.useState(!1);Le(()=>s(!0),[]);const i=r||o&&globalThis?.document?.body;return i?yc.createPortal(c.jsx(be.div,{...n,ref:t}),i):null});no.displayName=Ug;function Yg(e,t){return d.useReducer((r,n)=>t[r][n]??r,e)}var Dt=e=>{const{present:t,children:r}=e,n=Xg(t),o=typeof r=="function"?r({present:n.isPresent}):d.Children.only(r),s=ke(n.ref,Jg(o));return typeof r=="function"||n.isPresent?d.cloneElement(o,{ref:s}):null};Dt.displayName="Presence";function Xg(e){const[t,r]=d.useState(),n=d.useRef(null),o=d.useRef(e),s=d.useRef("none"),i=e?"mounted":"unmounted",[a,l]=Yg(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return d.useEffect(()=>{const u=fn(n.current);s.current=a==="mounted"?u:"none"},[a]),Le(()=>{const u=n.current,f=o.current;if(f!==e){const v=s.current,m=fn(u);e?l("MOUNT"):m==="none"||u?.display==="none"?l("UNMOUNT"):l(f&&v!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Le(()=>{if(t){let u;const f=t.ownerDocument.defaultView??window,h=m=>{const p=fn(n.current).includes(CSS.escape(m.animationName));if(m.target===t&&p&&(l("ANIMATION_END"),!o.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",u=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},v=m=>{m.target===t&&(s.current=fn(n.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{f.clearTimeout(u),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:d.useCallback(u=>{n.current=u?getComputedStyle(u):null,r(u)},[])}}function fn(e){return e?.animationName||"none"}function Jg(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Qg=d[" useInsertionEffect ".trim().toString()]||Le;function xt({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){const[o,s,i]=Zg({defaultProp:t,onChange:r}),a=e!==void 0,l=a?e:o;{const f=d.useRef(e!==void 0);d.useEffect(()=>{const h=f.current;h!==a&&console.warn(`${n} is changing from ${h?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),f.current=a},[a,n])}const u=d.useCallback(f=>{if(a){const h=eb(f)?f(e):f;h!==e&&i.current?.(h)}else s(f)},[a,e,s,i]);return[l,u]}function Zg({defaultProp:e,onChange:t}){const[r,n]=d.useState(e),o=d.useRef(r),s=d.useRef(t);return Qg(()=>{s.current=t},[t]),d.useEffect(()=>{o.current!==r&&(s.current?.(r),o.current=r)},[r,o]),[r,n,s]}function eb(e){return typeof e=="function"}var tb=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},sr=new WeakMap,hn=new WeakMap,mn={},Mo=0,Au=function(e){return e&&(e.host||Au(e.parentNode))},rb=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Au(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},nb=function(e,t,r,n){var o=rb(t,Array.isArray(e)?e:[e]);mn[r]||(mn[r]=new WeakMap);var s=mn[r],i=[],a=new Set,l=new Set(o),u=function(h){!h||a.has(h)||(a.add(h),u(h.parentNode))};o.forEach(u);var f=function(h){!h||l.has(h)||Array.prototype.forEach.call(h.children,function(v){if(a.has(v))f(v);else try{var m=v.getAttribute(n),b=m!==null&&m!=="false",p=(sr.get(v)||0)+1,x=(s.get(v)||0)+1;sr.set(v,p),s.set(v,x),i.push(v),p===1&&b&&hn.set(v,!0),x===1&&v.setAttribute(r,"true"),b||v.setAttribute(n,"true")}catch(y){console.error("aria-hidden: cannot operate on ",v,y)}})};return f(t),a.clear(),Mo++,function(){i.forEach(function(h){var v=sr.get(h)-1,m=s.get(h)-1;sr.set(h,v),s.set(h,m),v||(hn.has(h)||h.removeAttribute(n),hn.delete(h)),m||h.removeAttribute(r)}),Mo--,Mo||(sr=new WeakMap,sr=new WeakMap,hn=new WeakMap,mn={})}},_u=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=tb(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live], script"))),nb(n,o,r,"aria-hidden")):function(){return null}},at=function(){return at=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},at.apply(this,arguments)};function Tu(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function ob(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,s;n<o;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return e.concat(s||Array.prototype.slice.call(t))}var En="right-scroll-bar-position",Rn="width-before-scroll-bar",sb="with-scroll-bars-hidden",ib="--removed-body-scroll-bar-size";function Lo(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function ab(e,t){var r=je.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}var lb=typeof window<"u"?d.useLayoutEffect:d.useEffect,sl=new WeakMap;function cb(e,t){var r=ab(null,function(n){return e.forEach(function(o){return Lo(o,n)})});return lb(function(){var n=sl.get(r);if(n){var o=new Set(n),s=new Set(e),i=r.current;o.forEach(function(a){s.has(a)||Lo(a,null)}),s.forEach(function(a){o.has(a)||Lo(a,i)})}sl.set(r,e)},[e]),r}function ub(e){return e}function db(e,t){t===void 0&&(t=ub);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(s){var i=t(s,n);return r.push(i),function(){r=r.filter(function(a){return a!==i})}},assignSyncMedium:function(s){for(n=!0;r.length;){var i=r;r=[],i.forEach(s)}r={push:function(a){return s(a)},filter:function(){return r}}},assignMedium:function(s){n=!0;var i=[];if(r.length){var a=r;r=[],a.forEach(s),i=r}var l=function(){var f=i;i=[],f.forEach(s)},u=function(){return Promise.resolve().then(l)};u(),r={push:function(f){i.push(f),u()},filter:function(f){return i=i.filter(f),r}}}};return o}function fb(e){e===void 0&&(e={});var t=db(null);return t.options=at({async:!0,ssr:!1},e),t}var Iu=function(e){var t=e.sideCar,r=Tu(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return d.createElement(n,at({},r))};Iu.isSideCarExport=!0;function hb(e,t){return e.useMedium(t),Iu}var Ou=fb(),Do=function(){},oo=d.forwardRef(function(e,t){var r=d.useRef(null),n=d.useState({onScrollCapture:Do,onWheelCapture:Do,onTouchMoveCapture:Do}),o=n[0],s=n[1],i=e.forwardProps,a=e.children,l=e.className,u=e.removeScrollBar,f=e.enabled,h=e.shards,v=e.sideCar,m=e.noRelative,b=e.noIsolation,p=e.inert,x=e.allowPinchZoom,y=e.as,g=y===void 0?"div":y,P=e.gapMode,w=Tu(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=v,N=cb([r,t]),C=at(at({},w),o);return d.createElement(d.Fragment,null,f&&d.createElement(S,{sideCar:Ou,removeScrollBar:u,shards:h,noRelative:m,noIsolation:b,inert:p,setCallbacks:s,allowPinchZoom:!!x,lockRef:r,gapMode:P}),i?d.cloneElement(d.Children.only(a),at(at({},C),{ref:N})):d.createElement(g,at({},C,{className:l,ref:N}),a))});oo.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};oo.classNames={fullWidth:Rn,zeroRight:En};var mb=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function pb(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=mb();return t&&e.setAttribute("nonce",t),e}function vb(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function gb(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var bb=function(){var e=0,t=null;return{add:function(r){e==0&&(t=pb())&&(vb(t,r),gb(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},xb=function(){var e=bb();return function(t,r){d.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Mu=function(){var e=xb(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},yb={left:0,top:0,right:0,gap:0},Bo=function(e){return parseInt(e||"",10)||0},Pb=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Bo(r),Bo(n),Bo(o)]},wb=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return yb;var t=Pb(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},Cb=Mu(),dr="data-scroll-locked",Sb=function(e,t,r,n){var o=e.left,s=e.top,i=e.right,a=e.gap;return r===void 0&&(r="margin"),`
|
|
2
|
-
.`.concat(
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),je=require("react"),Tc=require("react-dom");function Ac(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const u=Ac(je),Ur=Ac(Tc);function _c(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=_c(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Ic(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=_c(e))&&(n&&(n+=" "),n+=t);return n}const qa=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,ka=Ic,Oc=(e,t)=>r=>{var n;if(t?.variants==null)return ka(e,r?.class,r?.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(d=>{const f=r?.[d],h=s?.[d];if(f===null)return null;const v=qa(f)||qa(h);return o[d][v]}),a=r&&Object.entries(r).reduce((d,f)=>{let[h,v]=f;return v===void 0||(d[h]=v),d},{}),l=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((d,f)=>{let{class:h,className:v,...m}=f;return Object.entries(m).every(b=>{let[p,x]=b;return Array.isArray(x)?x.includes({...s,...a}[p]):{...s,...a}[p]===x})?[...d,h,v]:d},[]);return ka(e,i,l,r?.class,r?.className)},Mt={xs:"rounded-[2px]",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"};function bm(e){return typeof e=="string"&&Object.prototype.hasOwnProperty.call(Mt,e)}function Zt(e){return e===void 0?{}:typeof e=="number"?{roundedStyle:{borderRadius:`${e}px`}}:bm(e)?{roundedPreset:e}:{roundedStyle:{borderRadius:e}}}const xr={none:"shadow-none",xs:"shadow-[0_1px_2px_rgba(15,23,42,0.08)]",sm:"shadow-sm",md:"shadow-md",lg:"shadow-lg",xl:"shadow-xl",inner:"shadow-inner"};function xm(e){return typeof e=="string"&&Object.prototype.hasOwnProperty.call(xr,e)}function Yr(e){return e===void 0?{}:xm(e)?{shadowPreset:e}:{shadowStyle:{boxShadow:e}}}const Mc=Oc("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{dark:"bg-black/90 text-primary-foreground hover:bg-black",primary:"bg-blue-600 text-primary-foreground hover:bg-blue-600/90",secondary:"bg-cyan-600 text-primary-foreground hover:bg-cyan-600/90",minor:"bg-gray-200 text-secondary-foreground hover:bg-gray-300/90",success:"bg-green-600 text-primary-foreground hover:bg-green-600/90",warning:"bg-yellow-600 text-primary-foreground hover:bg-yellow-600/90",danger:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-solid border-blue-600 bg-background text-blue-600 hover:text-blue-600/80 hover:border-blue-600/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-blue-600 underline-offset-4 hover:underline hover:text-blue-600/90",text:"text-foreground"},size:{xs:"h-6 text-[10px] px-2",sm:"h-7 text-xs px-3",md:"h-8 text-sm px-4",lg:"h-9 text-lg px-8",xl:"h-10 text-lg px-10",icon:"h-8 w-8"},rounded:Mt,shadow:xr,bounce:{true:"transition-all ease-out active:-translate-y-[10%] active:scale-98"},splash:{true:"active:opacity-90"}},defaultVariants:{variant:"primary",size:"md",bounce:!1,splash:!1}}),ym=(e,t)=>{const r=new Array(e.length+t.length);for(let n=0;n<e.length;n++)r[n]=e[n];for(let n=0;n<t.length;n++)r[e.length+n]=t[n];return r},wm=(e,t)=>({classGroupId:e,validator:t}),Lc=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),Ln="-",Ea=[],Pm="arbitrary..",Cm=e=>{const t=Nm(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return Sm(i);const a=i.split(Ln),l=a[0]===""&&a.length>1?1:0;return Dc(a,l,t)},getConflictingClassGroupIds:(i,a)=>{if(a){const l=n[i],d=r[i];return l?d?ym(d,l):l:d||Ea}return r[i]||Ea}}},Dc=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const o=e[t],s=r.nextPart.get(o);if(s){const d=Dc(e,t+1,s);if(d)return d}const i=r.validators;if(i===null)return;const a=t===0?e.join(Ln):e.slice(t).join(Ln),l=i.length;for(let d=0;d<l;d++){const f=i[d];if(f.validator(a))return f.classGroupId}},Sm=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?Pm+n:void 0})(),Nm=e=>{const{theme:t,classGroups:r}=e;return qm(r,t)},qm=(e,t)=>{const r=Lc();for(const n in e){const o=e[n];ni(o,r,n,t)}return r},ni=(e,t,r,n)=>{const o=e.length;for(let s=0;s<o;s++){const i=e[s];km(i,t,r,n)}},km=(e,t,r,n)=>{if(typeof e=="string"){Em(e,t,r);return}if(typeof e=="function"){Rm(e,t,r,n);return}jm(e,t,r,n)},Em=(e,t,r)=>{const n=e===""?t:Bc(t,e);n.classGroupId=r},Rm=(e,t,r,n)=>{if(Tm(e)){ni(e(n),t,r,n);return}t.validators===null&&(t.validators=[]),t.validators.push(wm(r,e))},jm=(e,t,r,n)=>{const o=Object.entries(e),s=o.length;for(let i=0;i<s;i++){const[a,l]=o[i];ni(l,Bc(t,a),r,n)}},Bc=(e,t)=>{let r=e;const n=t.split(Ln),o=n.length;for(let s=0;s<o;s++){const i=n[s];let a=r.nextPart.get(i);a||(a=Lc(),r.nextPart.set(i,a)),r=a}return r},Tm=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Am=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null);const o=(s,i)=>{r[s]=i,t++,t>e&&(t=0,n=r,r=Object.create(null))};return{get(s){let i=r[s];if(i!==void 0)return i;if((i=n[s])!==void 0)return o(s,i),i},set(s,i){s in r?r[s]=i:o(s,i)}}},Rs="!",Ra=":",_m=[],ja=(e,t,r,n,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:o}),Im=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=o=>{const s=[];let i=0,a=0,l=0,d;const f=o.length;for(let p=0;p<f;p++){const x=o[p];if(i===0&&a===0){if(x===Ra){s.push(o.slice(l,p)),l=p+1;continue}if(x==="/"){d=p;continue}}x==="["?i++:x==="]"?i--:x==="("?a++:x===")"&&a--}const h=s.length===0?o:o.slice(l);let v=h,m=!1;h.endsWith(Rs)?(v=h.slice(0,-1),m=!0):h.startsWith(Rs)&&(v=h.slice(1),m=!0);const b=d&&d>l?d-l:void 0;return ja(s,m,v,b)};if(t){const o=t+Ra,s=n;n=i=>i.startsWith(o)?s(i.slice(o.length)):ja(_m,!1,i,void 0,!0)}if(r){const o=n;n=s=>r({className:s,parseClassName:o})}return n},Om=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((r,n)=>{t.set(r,1e6+n)}),r=>{const n=[];let o=[];for(let s=0;s<r.length;s++){const i=r[s],a=i[0]==="[",l=t.has(i);a||l?(o.length>0&&(o.sort(),n.push(...o),o=[]),n.push(i)):o.push(i)}return o.length>0&&(o.sort(),n.push(...o)),n}},Mm=e=>({cache:Am(e.cacheSize),parseClassName:Im(e),sortModifiers:Om(e),...Cm(e)}),Lm=/\s+/,Dm=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:s}=t,i=[],a=e.trim().split(Lm);let l="";for(let d=a.length-1;d>=0;d-=1){const f=a[d],{isExternal:h,modifiers:v,hasImportantModifier:m,baseClassName:b,maybePostfixModifierPosition:p}=r(f);if(h){l=f+(l.length>0?" "+l:l);continue}let x=!!p,y=n(x?b.substring(0,p):b);if(!y){if(!x){l=f+(l.length>0?" "+l:l);continue}if(y=n(b),!y){l=f+(l.length>0?" "+l:l);continue}x=!1}const g=v.length===0?"":v.length===1?v[0]:s(v).join(":"),w=m?g+Rs:g,P=w+y;if(i.indexOf(P)>-1)continue;i.push(P);const C=o(y,x);for(let N=0;N<C.length;++N){const q=C[N];i.push(w+q)}l=f+(l.length>0?" "+l:l)}return l},Bm=(...e)=>{let t=0,r,n,o="";for(;t<e.length;)(r=e[t++])&&(n=Fc(r))&&(o&&(o+=" "),o+=n);return o},Fc=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Fc(e[n]))&&(r&&(r+=" "),r+=t);return r},Fm=(e,...t)=>{let r,n,o,s;const i=l=>{const d=t.reduce((f,h)=>h(f),e());return r=Mm(d),n=r.cache.get,o=r.cache.set,s=a,a(l)},a=l=>{const d=n(l);if(d)return d;const f=Dm(l,r);return o(l,f),f};return s=i,(...l)=>s(Bm(...l))},$m=[],Me=e=>{const t=r=>r[e]||$m;return t.isThemeGetter=!0,t},$c=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Vc=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Vm=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,zm=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Hm=/\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$/,Wm=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Gm=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Km=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,qt=e=>Vm.test(e),ge=e=>!!e&&!Number.isNaN(Number(e)),kt=e=>!!e&&Number.isInteger(Number(e)),To=e=>e.endsWith("%")&&ge(e.slice(0,-1)),pt=e=>zm.test(e),zc=()=>!0,Um=e=>Hm.test(e)&&!Wm.test(e),oi=()=>!1,Ym=e=>Gm.test(e),Xm=e=>Km.test(e),Jm=e=>!ee(e)&&!ne(e),Qm=e=>Lt(e,Gc,oi),ee=e=>$c.test(e),Ht=e=>Lt(e,Kc,Um),Ta=e=>Lt(e,ip,ge),Zm=e=>Lt(e,Yc,zc),ep=e=>Lt(e,Uc,oi),Aa=e=>Lt(e,Hc,oi),tp=e=>Lt(e,Wc,Xm),cn=e=>Lt(e,Xc,Ym),ne=e=>Vc.test(e),kr=e=>er(e,Kc),rp=e=>er(e,Uc),_a=e=>er(e,Hc),np=e=>er(e,Gc),op=e=>er(e,Wc),un=e=>er(e,Xc,!0),sp=e=>er(e,Yc,!0),Lt=(e,t,r)=>{const n=$c.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},er=(e,t,r=!1)=>{const n=Vc.exec(e);return n?n[1]?t(n[1]):r:!1},Hc=e=>e==="position"||e==="percentage",Wc=e=>e==="image"||e==="url",Gc=e=>e==="length"||e==="size"||e==="bg-size",Kc=e=>e==="length",ip=e=>e==="number",Uc=e=>e==="family-name",Yc=e=>e==="number"||e==="weight",Xc=e=>e==="shadow",ap=()=>{const e=Me("color"),t=Me("font"),r=Me("text"),n=Me("font-weight"),o=Me("tracking"),s=Me("leading"),i=Me("breakpoint"),a=Me("container"),l=Me("spacing"),d=Me("radius"),f=Me("shadow"),h=Me("inset-shadow"),v=Me("text-shadow"),m=Me("drop-shadow"),b=Me("blur"),p=Me("perspective"),x=Me("aspect"),y=Me("ease"),g=Me("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],C=()=>[...P(),ne,ee],N=()=>["auto","hidden","clip","visible","scroll"],q=()=>["auto","contain","none"],S=()=>[ne,ee,l],k=()=>[qt,"full","auto",...S()],T=()=>[kt,"none","subgrid",ne,ee],E=()=>["auto",{span:["full",kt,ne,ee]},kt,ne,ee],R=()=>[kt,"auto",ne,ee],A=()=>["auto","min","max","fr",ne,ee],_=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],O=()=>["start","end","center","stretch","center-safe","end-safe"],I=()=>["auto",...S()],$=()=>[qt,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...S()],M=()=>[qt,"screen","full","dvw","lvw","svw","min","max","fit",...S()],U=()=>[qt,"screen","full","lh","dvh","lvh","svh","min","max","fit",...S()],D=()=>[e,ne,ee],G=()=>[...P(),_a,Aa,{position:[ne,ee]}],me=()=>["no-repeat",{repeat:["","x","y","space","round"]}],te=()=>["auto","cover","contain",np,Qm,{size:[ne,ee]}],J=()=>[To,kr,Ht],H=()=>["","none","full",d,ne,ee],Y=()=>["",ge,kr,Ht],B=()=>["solid","dashed","dotted","double"],Q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],z=()=>[ge,To,_a,Aa],K=()=>["","none",b,ne,ee],W=()=>["none",ge,ne,ee],Z=()=>["none",ge,ne,ee],ae=()=>[ge,ne,ee],ue=()=>[qt,"full",...S()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[pt],breakpoint:[pt],color:[zc],container:[pt],"drop-shadow":[pt],ease:["in","out","in-out"],font:[Jm],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[pt],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[pt],shadow:[pt],spacing:["px",ge],text:[pt],"text-shadow":[pt],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",qt,ee,ne,x]}],container:["container"],columns:[{columns:[ge,ee,ne,a]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"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:C()}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:q()}],"overscroll-x":[{"overscroll-x":q()}],"overscroll-y":[{"overscroll-y":q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{"inset-s":k(),start:k()}],end:[{"inset-e":k(),end:k()}],"inset-bs":[{"inset-bs":k()}],"inset-be":[{"inset-be":k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[kt,"auto",ne,ee]}],basis:[{basis:[qt,"full","auto",a,...S()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ge,qt,"auto","initial","none",ee]}],grow:[{grow:["",ge,ne,ee]}],shrink:[{shrink:["",ge,ne,ee]}],order:[{order:[kt,"first","last","none",ne,ee]}],"grid-cols":[{"grid-cols":T()}],"col-start-end":[{col:E()}],"col-start":[{"col-start":R()}],"col-end":[{"col-end":R()}],"grid-rows":[{"grid-rows":T()}],"row-start-end":[{row:E()}],"row-start":[{"row-start":R()}],"row-end":[{"row-end":R()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":A()}],"auto-rows":[{"auto-rows":A()}],gap:[{gap:S()}],"gap-x":[{"gap-x":S()}],"gap-y":[{"gap-y":S()}],"justify-content":[{justify:[..._(),"normal"]}],"justify-items":[{"justify-items":[...O(),"normal"]}],"justify-self":[{"justify-self":["auto",...O()]}],"align-content":[{content:["normal",..._()]}],"align-items":[{items:[...O(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...O(),{baseline:["","last"]}]}],"place-content":[{"place-content":_()}],"place-items":[{"place-items":[...O(),"baseline"]}],"place-self":[{"place-self":["auto",...O()]}],p:[{p:S()}],px:[{px:S()}],py:[{py:S()}],ps:[{ps:S()}],pe:[{pe:S()}],pbs:[{pbs:S()}],pbe:[{pbe:S()}],pt:[{pt:S()}],pr:[{pr:S()}],pb:[{pb:S()}],pl:[{pl:S()}],m:[{m:I()}],mx:[{mx:I()}],my:[{my:I()}],ms:[{ms:I()}],me:[{me:I()}],mbs:[{mbs:I()}],mbe:[{mbe:I()}],mt:[{mt:I()}],mr:[{mr:I()}],mb:[{mb:I()}],ml:[{ml:I()}],"space-x":[{"space-x":S()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":S()}],"space-y-reverse":["space-y-reverse"],size:[{size:$()}],"inline-size":[{inline:["auto",...M()]}],"min-inline-size":[{"min-inline":["auto",...M()]}],"max-inline-size":[{"max-inline":["none",...M()]}],"block-size":[{block:["auto",...U()]}],"min-block-size":[{"min-block":["auto",...U()]}],"max-block-size":[{"max-block":["none",...U()]}],w:[{w:[a,"screen",...$()]}],"min-w":[{"min-w":[a,"screen","none",...$()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...$()]}],h:[{h:["screen","lh",...$()]}],"min-h":[{"min-h":["screen","lh","none",...$()]}],"max-h":[{"max-h":["screen","lh",...$()]}],"font-size":[{text:["base",r,kr,Ht]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,sp,Zm]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",To,ee]}],"font-family":[{font:[rp,ep,t]}],"font-features":[{"font-features":[ee]}],"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:[o,ne,ee]}],"line-clamp":[{"line-clamp":[ge,"none",ne,Ta]}],leading:[{leading:[s,...S()]}],"list-image":[{"list-image":["none",ne,ee]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ne,ee]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:D()}],"text-color":[{text:D()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:[ge,"from-font","auto",ne,Ht]}],"text-decoration-color":[{decoration:D()}],"underline-offset":[{"underline-offset":[ge,"auto",ne,ee]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:S()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ne,ee]}],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",ne,ee]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:G()}],"bg-repeat":[{bg:me()}],"bg-size":[{bg:te()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},kt,ne,ee],radial:["",ne,ee],conic:[kt,ne,ee]},op,tp]}],"bg-color":[{bg:D()}],"gradient-from-pos":[{from:J()}],"gradient-via-pos":[{via:J()}],"gradient-to-pos":[{to:J()}],"gradient-from":[{from:D()}],"gradient-via":[{via:D()}],"gradient-to":[{to:D()}],rounded:[{rounded:H()}],"rounded-s":[{"rounded-s":H()}],"rounded-e":[{"rounded-e":H()}],"rounded-t":[{"rounded-t":H()}],"rounded-r":[{"rounded-r":H()}],"rounded-b":[{"rounded-b":H()}],"rounded-l":[{"rounded-l":H()}],"rounded-ss":[{"rounded-ss":H()}],"rounded-se":[{"rounded-se":H()}],"rounded-ee":[{"rounded-ee":H()}],"rounded-es":[{"rounded-es":H()}],"rounded-tl":[{"rounded-tl":H()}],"rounded-tr":[{"rounded-tr":H()}],"rounded-br":[{"rounded-br":H()}],"rounded-bl":[{"rounded-bl":H()}],"border-w":[{border:Y()}],"border-w-x":[{"border-x":Y()}],"border-w-y":[{"border-y":Y()}],"border-w-s":[{"border-s":Y()}],"border-w-e":[{"border-e":Y()}],"border-w-bs":[{"border-bs":Y()}],"border-w-be":[{"border-be":Y()}],"border-w-t":[{"border-t":Y()}],"border-w-r":[{"border-r":Y()}],"border-w-b":[{"border-b":Y()}],"border-w-l":[{"border-l":Y()}],"divide-x":[{"divide-x":Y()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Y()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...B(),"hidden","none"]}],"divide-style":[{divide:[...B(),"hidden","none"]}],"border-color":[{border:D()}],"border-color-x":[{"border-x":D()}],"border-color-y":[{"border-y":D()}],"border-color-s":[{"border-s":D()}],"border-color-e":[{"border-e":D()}],"border-color-bs":[{"border-bs":D()}],"border-color-be":[{"border-be":D()}],"border-color-t":[{"border-t":D()}],"border-color-r":[{"border-r":D()}],"border-color-b":[{"border-b":D()}],"border-color-l":[{"border-l":D()}],"divide-color":[{divide:D()}],"outline-style":[{outline:[...B(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ge,ne,ee]}],"outline-w":[{outline:["",ge,kr,Ht]}],"outline-color":[{outline:D()}],shadow:[{shadow:["","none",f,un,cn]}],"shadow-color":[{shadow:D()}],"inset-shadow":[{"inset-shadow":["none",h,un,cn]}],"inset-shadow-color":[{"inset-shadow":D()}],"ring-w":[{ring:Y()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:D()}],"ring-offset-w":[{"ring-offset":[ge,Ht]}],"ring-offset-color":[{"ring-offset":D()}],"inset-ring-w":[{"inset-ring":Y()}],"inset-ring-color":[{"inset-ring":D()}],"text-shadow":[{"text-shadow":["none",v,un,cn]}],"text-shadow-color":[{"text-shadow":D()}],opacity:[{opacity:[ge,ne,ee]}],"mix-blend":[{"mix-blend":[...Q(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Q()}],"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":[ge]}],"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":D()}],"mask-image-linear-to-color":[{"mask-linear-to":D()}],"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":D()}],"mask-image-t-to-color":[{"mask-t-to":D()}],"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":D()}],"mask-image-r-to-color":[{"mask-r-to":D()}],"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":D()}],"mask-image-b-to-color":[{"mask-b-to":D()}],"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":D()}],"mask-image-l-to-color":[{"mask-l-to":D()}],"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":D()}],"mask-image-x-to-color":[{"mask-x-to":D()}],"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":D()}],"mask-image-y-to-color":[{"mask-y-to":D()}],"mask-image-radial":[{"mask-radial":[ne,ee]}],"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":D()}],"mask-image-radial-to-color":[{"mask-radial-to":D()}],"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":P()}],"mask-image-conic-pos":[{"mask-conic":[ge]}],"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":D()}],"mask-image-conic-to-color":[{"mask-conic-to":D()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:G()}],"mask-repeat":[{mask:me()}],"mask-size":[{mask:te()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ne,ee]}],filter:[{filter:["","none",ne,ee]}],blur:[{blur:K()}],brightness:[{brightness:[ge,ne,ee]}],contrast:[{contrast:[ge,ne,ee]}],"drop-shadow":[{"drop-shadow":["","none",m,un,cn]}],"drop-shadow-color":[{"drop-shadow":D()}],grayscale:[{grayscale:["",ge,ne,ee]}],"hue-rotate":[{"hue-rotate":[ge,ne,ee]}],invert:[{invert:["",ge,ne,ee]}],saturate:[{saturate:[ge,ne,ee]}],sepia:[{sepia:["",ge,ne,ee]}],"backdrop-filter":[{"backdrop-filter":["","none",ne,ee]}],"backdrop-blur":[{"backdrop-blur":K()}],"backdrop-brightness":[{"backdrop-brightness":[ge,ne,ee]}],"backdrop-contrast":[{"backdrop-contrast":[ge,ne,ee]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ge,ne,ee]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ge,ne,ee]}],"backdrop-invert":[{"backdrop-invert":["",ge,ne,ee]}],"backdrop-opacity":[{"backdrop-opacity":[ge,ne,ee]}],"backdrop-saturate":[{"backdrop-saturate":[ge,ne,ee]}],"backdrop-sepia":[{"backdrop-sepia":["",ge,ne,ee]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":S()}],"border-spacing-x":[{"border-spacing-x":S()}],"border-spacing-y":[{"border-spacing-y":S()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ne,ee]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ge,"initial",ne,ee]}],ease:[{ease:["linear","initial",y,ne,ee]}],delay:[{delay:[ge,ne,ee]}],animate:[{animate:["none",g,ne,ee]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[p,ne,ee]}],"perspective-origin":[{"perspective-origin":C()}],rotate:[{rotate:W()}],"rotate-x":[{"rotate-x":W()}],"rotate-y":[{"rotate-y":W()}],"rotate-z":[{"rotate-z":W()}],scale:[{scale:Z()}],"scale-x":[{"scale-x":Z()}],"scale-y":[{"scale-y":Z()}],"scale-z":[{"scale-z":Z()}],"scale-3d":["scale-3d"],skew:[{skew:ae()}],"skew-x":[{"skew-x":ae()}],"skew-y":[{"skew-y":ae()}],transform:[{transform:[ne,ee,"","none","gpu","cpu"]}],"transform-origin":[{origin:C()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ue()}],"translate-x":[{"translate-x":ue()}],"translate-y":[{"translate-y":ue()}],"translate-z":[{"translate-z":ue()}],"translate-none":["translate-none"],accent:[{accent:D()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:D()}],"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",ne,ee]}],"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":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mbs":[{"scroll-mbs":S()}],"scroll-mbe":[{"scroll-mbe":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pbs":[{"scroll-pbs":S()}],"scroll-pbe":[{"scroll-pbe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"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",ne,ee]}],fill:[{fill:["none",...D()]}],"stroke-w":[{stroke:[ge,kr,Ht,Ta]}],stroke:[{stroke:["none",...D()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-bs","border-w-be","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-bs","border-color-be","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-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]}},lp=Fm(ap);class Ut{static instance;constructor(){}static getInstance(){return Ut.instance||(Ut.instance=new Ut),Ut.instance}getRootFontSize(){if(typeof document>"u")return 16;const t=parseFloat(getComputedStyle(document.documentElement).fontSize);return isNaN(t)?16:t}parseValue(t){const r=t.match(/^(-?\d+(?:\.\d+)?)([a-z%]*)$/i);if(!r)throw new Error(`Invalid CSS value: ${t}`);const n=parseFloat(r[1]),o=r[2].toLowerCase()||"";return{value:n,unit:o}}convertToPx(t,r={}){if(typeof t=="number")return t;const n=String(t).trim();if(!n)return 0;if(n.endsWith("px"))return parseFloat(n);const{value:o,unit:s}=this.parseValue(n);switch(s){case"rem":return o*(r.fontSizeBase||this.getRootFontSize());case"em":if(!r.contextElement)throw new Error("contextElement is required for em unit conversion");const i=parseFloat(getComputedStyle(r.contextElement.parentElement||document.documentElement).fontSize);return o*i;case"%":if(!r.parentSize)throw new Error("parentSize is required for percentage conversion");const a=r.parentSize.width||100;return o/100*a;case"vw":const l=r.viewportWidth||(typeof window<"u"?window.innerWidth:1920);return o/100*l;case"vh":const d=r.viewportHeight||(typeof window<"u"?window.innerHeight:1080);return o/100*d;case"vmin":const f=r.viewportWidth||window.innerWidth,h=r.viewportHeight||window.innerHeight,v=Math.min(f,h);return o/100*v;case"vmax":const m=r.viewportWidth||window.innerWidth,b=r.viewportHeight||window.innerHeight,p=Math.max(m,b);return o/100*p;case"cm":return o*37.795;case"mm":return o*3.7795;case"in":return o*96;case"pt":return o*1.3333;case"pc":return o*16;case"":return o;default:throw new Error(`Unsupported unit: ${s}`)}}convertMultipleToPx(t,r){const n={};for(const[o,s]of Object.entries(t))try{n[o]=this.convertToPx(s,r)}catch(i){console.warn(`Failed to convert ${o}: ${s}`,i),n[o]=typeof s=="number"?s:0}return n}}function j(...e){return lp(Ic(e))}const cp={},js=u.createContext(cp);function up({theme:e,children:t}){const r=u.useContext(js),n=u.useMemo(()=>({...r,...e}),[r,e]);return c.jsx(js.Provider,{value:n,children:t})}function se(){return u.useContext(js)}function dp(e){return e}function fp(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function hp(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var mp=(function(){function e(r){var n=this;this._insertTag=function(o){var s;n.tags.length===0?n.insertionPoint?s=n.insertionPoint.nextSibling:n.prepend?s=n.container.firstChild:s=n.before:s=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,s),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(hp(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=fp(o);try{s.insertRule(n,s.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var o;return(o=n.parentNode)==null?void 0:o.removeChild(n)}),this.tags=[],this.ctr=0},e})(),Fe="-ms-",Dn="-moz-",Ne="-webkit-",Jc="comm",si="rule",ii="decl",pp="@import",Qc="@keyframes",vp="@layer",gp=Math.abs,Qn=String.fromCharCode,bp=Object.assign;function xp(e,t){return Be(e,0)^45?(((t<<2^Be(e,0))<<2^Be(e,1))<<2^Be(e,2))<<2^Be(e,3):0}function Zc(e){return e.trim()}function yp(e,t){return(e=t.exec(e))?e[0]:e}function qe(e,t,r){return e.replace(t,r)}function Ts(e,t){return e.indexOf(t)}function Be(e,t){return e.charCodeAt(t)|0}function Fr(e,t,r){return e.slice(t,r)}function at(e){return e.length}function ai(e){return e.length}function dn(e,t){return t.push(e),e}function wp(e,t){return e.map(t).join("")}var Zn=1,mr=1,eu=0,ze=0,Oe=0,yr="";function eo(e,t,r,n,o,s,i){return{value:e,root:t,parent:r,type:n,props:o,children:s,line:Zn,column:mr,length:i,return:""}}function Er(e,t){return bp(eo("",null,null,"",null,null,0),e,{length:-e.length},t)}function Pp(){return Oe}function Cp(){return Oe=ze>0?Be(yr,--ze):0,mr--,Oe===10&&(mr=1,Zn--),Oe}function Ke(){return Oe=ze<eu?Be(yr,ze++):0,mr++,Oe===10&&(mr=1,Zn++),Oe}function ut(){return Be(yr,ze)}function qn(){return ze}function Xr(e,t){return Fr(yr,e,t)}function $r(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function tu(e){return Zn=mr=1,eu=at(yr=e),ze=0,[]}function ru(e){return yr="",e}function kn(e){return Zc(Xr(ze-1,As(e===91?e+2:e===40?e+1:e)))}function Sp(e){for(;(Oe=ut())&&Oe<33;)Ke();return $r(e)>2||$r(Oe)>3?"":" "}function Np(e,t){for(;--t&&Ke()&&!(Oe<48||Oe>102||Oe>57&&Oe<65||Oe>70&&Oe<97););return Xr(e,qn()+(t<6&&ut()==32&&Ke()==32))}function As(e){for(;Ke();)switch(Oe){case e:return ze;case 34:case 39:e!==34&&e!==39&&As(Oe);break;case 40:e===41&&As(e);break;case 92:Ke();break}return ze}function qp(e,t){for(;Ke()&&e+Oe!==57;)if(e+Oe===84&&ut()===47)break;return"/*"+Xr(t,ze-1)+"*"+Qn(e===47?e:Ke())}function kp(e){for(;!$r(ut());)Ke();return Xr(e,ze)}function Ep(e){return ru(En("",null,null,null,[""],e=tu(e),0,[0],e))}function En(e,t,r,n,o,s,i,a,l){for(var d=0,f=0,h=i,v=0,m=0,b=0,p=1,x=1,y=1,g=0,w="",P=o,C=s,N=n,q=w;x;)switch(b=g,g=Ke()){case 40:if(b!=108&&Be(q,h-1)==58){Ts(q+=qe(kn(g),"&","&\f"),"&\f")!=-1&&(y=-1);break}case 34:case 39:case 91:q+=kn(g);break;case 9:case 10:case 13:case 32:q+=Sp(b);break;case 92:q+=Np(qn()-1,7);continue;case 47:switch(ut()){case 42:case 47:dn(Rp(qp(Ke(),qn()),t,r),l);break;default:q+="/"}break;case 123*p:a[d++]=at(q)*y;case 125*p:case 59:case 0:switch(g){case 0:case 125:x=0;case 59+f:y==-1&&(q=qe(q,/\f/g,"")),m>0&&at(q)-h&&dn(m>32?Oa(q+";",n,r,h-1):Oa(qe(q," ","")+";",n,r,h-2),l);break;case 59:q+=";";default:if(dn(N=Ia(q,t,r,d,f,o,a,w,P=[],C=[],h),s),g===123)if(f===0)En(q,t,N,N,P,s,h,a,C);else switch(v===99&&Be(q,3)===110?100:v){case 100:case 108:case 109:case 115:En(e,N,N,n&&dn(Ia(e,N,N,0,0,o,a,w,o,P=[],h),C),o,C,h,a,n?P:C);break;default:En(q,N,N,N,[""],C,0,a,C)}}d=f=m=0,p=y=1,w=q="",h=i;break;case 58:h=1+at(q),m=b;default:if(p<1){if(g==123)--p;else if(g==125&&p++==0&&Cp()==125)continue}switch(q+=Qn(g),g*p){case 38:y=f>0?1:(q+="\f",-1);break;case 44:a[d++]=(at(q)-1)*y,y=1;break;case 64:ut()===45&&(q+=kn(Ke())),v=ut(),f=h=at(w=q+=kp(qn())),g++;break;case 45:b===45&&at(q)==2&&(p=0)}}return s}function Ia(e,t,r,n,o,s,i,a,l,d,f){for(var h=o-1,v=o===0?s:[""],m=ai(v),b=0,p=0,x=0;b<n;++b)for(var y=0,g=Fr(e,h+1,h=gp(p=i[b])),w=e;y<m;++y)(w=Zc(p>0?v[y]+" "+g:qe(g,/&\f/g,v[y])))&&(l[x++]=w);return eo(e,t,r,o===0?si:a,l,d,f)}function Rp(e,t,r){return eo(e,t,r,Jc,Qn(Pp()),Fr(e,2,-2),0)}function Oa(e,t,r,n){return eo(e,t,r,ii,Fr(e,0,n),Fr(e,n+1,-1),n)}function dr(e,t){for(var r="",n=ai(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function jp(e,t,r,n){switch(e.type){case vp:if(e.children.length)break;case pp:case ii:return e.return=e.return||e.value;case Jc:return"";case Qc:return e.return=e.value+"{"+dr(e.children,n)+"}";case si:e.value=e.props.join(",")}return at(r=dr(e.children,n))?e.return=e.value+"{"+r+"}":""}function Tp(e){var t=ai(e);return function(r,n,o,s){for(var i="",a=0;a<t;a++)i+=e[a](r,n,o,s)||"";return i}}function Ap(e){return function(t){t.root||(t=t.return)&&e(t)}}function _p(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Ip=function(t,r,n){for(var o=0,s=0;o=s,s=ut(),o===38&&s===12&&(r[n]=1),!$r(s);)Ke();return Xr(t,ze)},Op=function(t,r){var n=-1,o=44;do switch($r(o)){case 0:o===38&&ut()===12&&(r[n]=1),t[n]+=Ip(ze-1,r,n);break;case 2:t[n]+=kn(o);break;case 4:if(o===44){t[++n]=ut()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Qn(o)}while(o=Ke());return t},Mp=function(t,r){return ru(Op(tu(t),r))},Ma=new WeakMap,Lp=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Ma.get(n))&&!o){Ma.set(t,!0);for(var s=[],i=Mp(r,s),a=n.props,l=0,d=0;l<i.length;l++)for(var f=0;f<a.length;f++,d++)t.props[d]=s[l]?i[l].replace(/&\f/g,a[f]):a[f]+" "+i[l]}}},Dp=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function nu(e,t){switch(xp(e,t)){case 5103:return Ne+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ne+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ne+e+Dn+e+Fe+e+e;case 6828:case 4268:return Ne+e+Fe+e+e;case 6165:return Ne+e+Fe+"flex-"+e+e;case 5187:return Ne+e+qe(e,/(\w+).+(:[^]+)/,Ne+"box-$1$2"+Fe+"flex-$1$2")+e;case 5443:return Ne+e+Fe+"flex-item-"+qe(e,/flex-|-self/,"")+e;case 4675:return Ne+e+Fe+"flex-line-pack"+qe(e,/align-content|flex-|-self/,"")+e;case 5548:return Ne+e+Fe+qe(e,"shrink","negative")+e;case 5292:return Ne+e+Fe+qe(e,"basis","preferred-size")+e;case 6060:return Ne+"box-"+qe(e,"-grow","")+Ne+e+Fe+qe(e,"grow","positive")+e;case 4554:return Ne+qe(e,/([^-])(transform)/g,"$1"+Ne+"$2")+e;case 6187:return qe(qe(qe(e,/(zoom-|grab)/,Ne+"$1"),/(image-set)/,Ne+"$1"),e,"")+e;case 5495:case 3959:return qe(e,/(image-set\([^]*)/,Ne+"$1$`$1");case 4968:return qe(qe(e,/(.+:)(flex-)?(.*)/,Ne+"box-pack:$3"+Fe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ne+e+e;case 4095:case 3583:case 4068:case 2532:return qe(e,/(.+)-inline(.+)/,Ne+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(at(e)-1-t>6)switch(Be(e,t+1)){case 109:if(Be(e,t+4)!==45)break;case 102:return qe(e,/(.+:)(.+)-([^]+)/,"$1"+Ne+"$2-$3$1"+Dn+(Be(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ts(e,"stretch")?nu(qe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Be(e,t+1)!==115)break;case 6444:switch(Be(e,at(e)-3-(~Ts(e,"!important")&&10))){case 107:return qe(e,":",":"+Ne)+e;case 101:return qe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ne+(Be(e,14)===45?"inline-":"")+"box$3$1"+Ne+"$2$3$1"+Fe+"$2box$3")+e}break;case 5936:switch(Be(e,t+11)){case 114:return Ne+e+Fe+qe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ne+e+Fe+qe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ne+e+Fe+qe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ne+e+Fe+e+e}return e}var Bp=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case ii:t.return=nu(t.value,t.length);break;case Qc:return dr([Er(t,{value:qe(t.value,"@","@"+Ne)})],o);case si:if(t.length)return wp(t.props,function(s){switch(yp(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return dr([Er(t,{props:[qe(s,/:(read-\w+)/,":"+Dn+"$1")]})],o);case"::placeholder":return dr([Er(t,{props:[qe(s,/:(plac\w+)/,":"+Ne+"input-$1")]}),Er(t,{props:[qe(s,/:(plac\w+)/,":"+Dn+"$1")]}),Er(t,{props:[qe(s,/:(plac\w+)/,Fe+"input-$1")]})],o)}return""})}},Fp=[Bp],$p=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(p){var x=p.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var o=t.stylisPlugins||Fp,s={},i,a=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(p){for(var x=p.getAttribute("data-emotion").split(" "),y=1;y<x.length;y++)s[x[y]]=!0;a.push(p)});var l,d=[Lp,Dp];{var f,h=[jp,Ap(function(p){f.insert(p)})],v=Tp(d.concat(o,h)),m=function(x){return dr(Ep(x),v)};l=function(x,y,g,w){f=g,m(x?x+"{"+y.styles+"}":y.styles),w&&(b.inserted[y.name]=!0)}}var b={key:r,sheet:new mp({key:r,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:l};return b.sheet.hydrate(a),b};function Vp(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var zp={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Hp=/[A-Z]|^ms/g,Wp=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ou=function(t){return t.charCodeAt(1)===45},La=function(t){return t!=null&&typeof t!="boolean"},Ao=_p(function(e){return ou(e)?e:e.replace(Hp,"-$&").toLowerCase()}),Da=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Wp,function(n,o,s){return Tt={name:o,styles:s,next:Tt},o})}return zp[t]!==1&&!ou(t)&&typeof r=="number"&&r!==0?r+"px":r};function Bn(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var o=r;if(o.anim===1)return Tt={name:o.name,styles:o.styles,next:Tt},o.name;var s=r;if(s.styles!==void 0){var i=s.next;if(i!==void 0)for(;i!==void 0;)Tt={name:i.name,styles:i.styles,next:Tt},i=i.next;var a=s.styles+";";return a}return Gp(e,t,r)}}var l=r;if(t==null)return l;var d=t[l];return d!==void 0?d:l}function Gp(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Bn(e,t,r[o])+";";else for(var s in r){var i=r[s];if(typeof i!="object"){var a=i;t!=null&&t[a]!==void 0?n+=s+"{"+t[a]+"}":La(a)&&(n+=Ao(s)+":"+Da(s,a)+";")}else if(Array.isArray(i)&&typeof i[0]=="string"&&(t==null||t[i[0]]===void 0))for(var l=0;l<i.length;l++)La(i[l])&&(n+=Ao(s)+":"+Da(s,i[l])+";");else{var d=Bn(e,t,i);switch(s){case"animation":case"animationName":{n+=Ao(s)+":"+d+";";break}default:n+=s+"{"+d+"}"}}}return n}var Ba=/label:\s*([^\s;{]+)\s*(;|$)/g,Tt;function _o(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";Tt=void 0;var s=e[0];if(s==null||s.raw===void 0)n=!1,o+=Bn(r,t,s);else{var i=s;o+=i[0]}for(var a=1;a<e.length;a++)if(o+=Bn(r,t,e[a]),n){var l=s;o+=l[a]}Ba.lastIndex=0;for(var d="",f;(f=Ba.exec(o))!==null;)d+="-"+f[1];var h=Vp(o)+d;return{name:h,styles:o,next:Tt}}function su(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(n+=o+" ")}),n}var Kp=function(t,r,n){var o=t.key+"-"+r.name;t.registered[o]===void 0&&(t.registered[o]=r.styles)},Up=function(t,r,n){Kp(t,r);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var s=r;do t.insert(r===s?"."+o:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function Fa(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function $a(e,t,r){var n=[],o=su(e,n,r);return n.length<2?r:o+t(n)}var Yp=function(t){var r=$p(t);r.sheet.speedy=function(a){this.isSpeedy=a},r.compat=!0;var n=function(){for(var l=arguments.length,d=new Array(l),f=0;f<l;f++)d[f]=arguments[f];var h=_o(d,r.registered,void 0);return Up(r,h),r.key+"-"+h.name},o=function(){for(var l=arguments.length,d=new Array(l),f=0;f<l;f++)d[f]=arguments[f];var h=_o(d,r.registered),v="animation-"+h.name;return Fa(r,{name:h.name,styles:"@keyframes "+v+"{"+h.styles+"}"}),v},s=function(){for(var l=arguments.length,d=new Array(l),f=0;f<l;f++)d[f]=arguments[f];var h=_o(d,r.registered);Fa(r,h)},i=function(){for(var l=arguments.length,d=new Array(l),f=0;f<l;f++)d[f]=arguments[f];return $a(r.registered,n,Xp(d))};return{css:n,cx:i,injectGlobal:s,keyframes:o,hydrate:function(l){l.forEach(function(d){r.inserted[d]=!0})},flush:function(){r.registered={},r.inserted={},r.sheet.flush()},sheet:r.sheet,cache:r,getRegisteredStyles:su.bind(null,r.registered),merge:$a.bind(null,r.registered,n)}},Xp=function e(t){for(var r="",n=0;n<t.length;n++){var o=t[n];if(o!=null){var s=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))s=e(o);else{s="";for(var i in o)o[i]&&i&&(s&&(s+=" "),s+=i)}break}default:s=o}s&&(r&&(r+=" "),r+=s)}}return r},Jp=Yp({key:"css"}),Qp=Jp.css;function Zp(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function _s(e,t,r){if(e){if(typeof e=="function"){_s(e(t),t,r);return}if(Array.isArray(e)){for(const n of e)_s(n,t,r);return}Zp(e)&&r.push(e)}}function ev(e,t){return!(t==null||typeof t=="object"||Array.isArray(t)||e.startsWith("@")||e.includes("&")||e.includes(":")||e.includes(" ")||e.includes(">")||e.includes("+")||e.includes("~")||e.includes("[")||e.includes(".")||e.includes("#"))}function tv(e){const t={};for(const[r,n]of Object.entries(e))ev(r,n)&&(t[r]=n);return t}function X(e,t){const r=[];if(_s(e,t,r),!r.length)return{sxClassName:void 0,sxInlineStyle:void 0};const n=Qp(r),o=r.reduce((s,i)=>({...s,...tv(i)}),{});return{sxClassName:n,sxInlineStyle:o}}function L(...e){const t=e.reduce((r,n)=>n?{...r,...n}:r,{});return Object.keys(t).length?t:void 0}function Jr(e){const{component:t,variant:r,size:n,rounded:o,shadow:s,bounce:i,splash:a,sx:l,style:d,className:f,class:h,...v}=e,m=t??"button",{roundedPreset:b,roundedStyle:p}=Zt(o),{shadowPreset:x,shadowStyle:y}=Yr(s),g=se(),{sxClassName:w,sxInlineStyle:P}=X(l,g);return c.jsx(m,{className:j(Mc({variant:r,size:n,rounded:b,shadow:x,bounce:i,splash:a}),w,f,h),style:L(d,p,y,P),...v})}Jr.displayName="Button";const Io={xs:"h-8 w-8 text-xs",sm:"h-10 w-10 text-sm",md:"h-12 w-12 text-base",lg:"h-14 w-14 text-lg",xl:"h-16 w-16 text-xl"};function rv(e){if(e===void 0)return{sizeClassName:Io.md};if(typeof e=="string"&&e in Io)return{sizeClassName:Io[e]};const t=typeof e=="number"?`${e}px`:e;return{sizeStyle:{width:t,height:t}}}function Fn(e){const{component:t,size:r="md",position:n="fixed",left:o,top:s,right:i=16,bottom:a=16,zIndex:l=10,rounded:d="full",className:f,style:h,...v}=e,{sizeClassName:m,sizeStyle:b}=rv(r),p={...v,component:t,size:"icon",rounded:d,className:j("shrink-0 overflow-hidden p-0",m,f),style:L({position:n,left:o,top:s,right:i,bottom:a,zIndex:l},b,h)};return c.jsx(Jr,{...p})}Fn.displayName="GhostButton";const iu="__LDKJ_GHOST_BUTTON_GROUP_ITEM__";function li(e){return null}li.displayName="GhostButtonGroup.Item";li[iu]=!0;function nv(e){return!!(e&&typeof e=="function"&&e[iu]===!0)}function ov(e){return typeof e=="number"?`${e}px`:e}function Va(e,t){return e.includes(t)}function sv(e){const t=[],r=[];return u.Children.forEach(e,n=>{if(u.isValidElement(n)&&nv(n.type)){r.push(n);return}t.push(n)}),{triggerChildren:t,itemChildren:r}}function iv(e,t){switch(e){case"down":return{position:"absolute",top:`calc(100% + ${t})`,right:0,display:"flex",flexDirection:"column",alignItems:"flex-end",gap:t};case"left":return{position:"absolute",right:`calc(100% + ${t})`,top:0,display:"flex",flexDirection:"row-reverse",alignItems:"center",gap:t};case"right":return{position:"absolute",left:`calc(100% + ${t})`,top:0,display:"flex",flexDirection:"row",alignItems:"center",gap:t};default:return{position:"absolute",bottom:`calc(100% + ${t})`,right:0,display:"flex",flexDirection:"column-reverse",alignItems:"flex-end",gap:t}}}function av(e){switch(e){case"down":return"translateY(-16px) scale(0.78)";case"left":return"translateX(16px) scale(0.78)";case"right":return"translateX(-16px) scale(0.78)";default:return"translateY(16px) scale(0.78)"}}function lv(e,t,r,n){const o=t==="open",s=r*85,i=Math.max(n-r-1,0)*65;return{opacity:o?1:0,transform:o?"translate3d(0, 0, 0) scale(1)":av(e),transitionProperty:"opacity, transform",transitionDuration:o?"380ms":"260ms",transitionTimingFunction:o?"cubic-bezier(0.16, 1, 0.3, 1)":"cubic-bezier(0.4, 0, 1, 1)",transitionDelay:`${o?s:i}ms`,willChange:"opacity, transform"}}function cv(e){const{trigger:t="click",direction:r="up",gap:n=12,items:o,children:s,position:i="fixed",left:a,top:l,right:d=16,bottom:f=16,zIndex:h=10,onClick:v,...m}=e,b=Array.isArray(t)?t:[t],p=ov(n),{triggerChildren:x,itemChildren:y}=sv(s),g=[...o??[],...y.map(I=>({...I.props,key:I.key??void 0}))],[w,P]=u.useState(!1),[C,N]=u.useState("closed"),q=u.useRef(null),S=u.useRef(null),k=x.length>0?c.jsx(c.Fragment,{children:x}):void 0,T=Va(b,"hover"),E=Va(b,"click"),R=Math.max(g.length-1,0)*65,A=C!=="closed";u.useEffect(()=>{if(w){if(C==="open"||C==="preparing")return;N("preparing");return}if(C==="closed"||C==="exiting")return;N("exiting");const I=window.setTimeout(()=>{N("closed")},R);return()=>window.clearTimeout(I)},[R,C,w]),u.useLayoutEffect(()=>{if(C!=="preparing")return;S.current?.offsetHeight;const I=window.requestAnimationFrame(()=>{N($=>$==="preparing"?"open":$)});return()=>window.cancelAnimationFrame(I)},[C]),u.useEffect(()=>{if(!w||!E)return;const I=M=>{const U=M.target;U instanceof Node&&(q.current?.contains(U)||P(!1))},$=M=>{M.key==="Escape"&&P(!1)};return document.addEventListener("pointerdown",I),document.addEventListener("keydown",$),()=>{document.removeEventListener("pointerdown",I),document.removeEventListener("keydown",$)}},[w,E]);const O={...m,position:"static",right:void 0,bottom:void 0,left:void 0,top:void 0,zIndex:h,onClick:I=>{E&&P($=>!$),v?.(I)},"aria-expanded":w,"aria-haspopup":"menu",children:k};return c.jsx("div",{ref:q,className:j("inline-flex w-fit"),style:{position:i,left:a,top:l,right:d,bottom:f,zIndex:h},onMouseEnter:T?()=>P(!0):void 0,onMouseLeave:T?()=>P(!1):void 0,children:c.jsxs("div",{className:j("relative inline-flex w-fit"),children:[A&&g.length>0?c.jsx("div",{ref:S,style:{...iv(r,p),pointerEvents:C==="open"?"auto":"none"},children:g.map((I,$)=>{const{itemKey:M,onClick:U,...D}=I;return c.jsx("div",{style:lv(r,C,$,g.length),children:c.jsx(Fn,{position:"static",...D,onClick:G=>{U?.(G),P(!1)}})},M??I.key??$)})}):null,c.jsx(Fn,{...O})]})})}const au=Object.assign(cv,{Item:li});au.displayName="GhostButtonGroup";const ci={account_balance:{outlined:()=>Promise.resolve().then(()=>require("./icons/account_balance-CUtdZSEP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/account_balance-DgmFjt_z.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/account_balance-DeohA2h8.cjs"))},account_box:{outlined:()=>Promise.resolve().then(()=>require("./icons/account_box-ByaMMQqG.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/account_box-D7sM1NTh.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/account_box-ajw070dx.cjs"))},account_circle:{outlined:()=>Promise.resolve().then(()=>require("./icons/account_circle-o5PrByrE.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/account_circle-C5KLCF80.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/account_circle-BMRVTtpY.cjs"))},add:{outlined:()=>Promise.resolve().then(()=>require("./icons/add-BzODBN57.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/add-Bj-fRqEw.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/add-Dpbpem6v.cjs"))},add_circle:{outlined:()=>Promise.resolve().then(()=>require("./icons/add_circle-BEfQaNTw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/add_circle-Pz6hbZr2.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/add_circle-Bs6fLIPH.cjs"))},admin_panel_settings:{outlined:()=>Promise.resolve().then(()=>require("./icons/admin_panel_settings-BbSsx_KB.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/admin_panel_settings-Cq6cV6Iq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/admin_panel_settings-DcqNfgoM.cjs"))},air:{outlined:()=>Promise.resolve().then(()=>require("./icons/air-BF03LOQ-.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/air-i_rK7JxO.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/air-OSLzaxxp.cjs"))},alarm:{outlined:()=>Promise.resolve().then(()=>require("./icons/alarm-CCYlrdau.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/alarm-DeO1fh0q.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/alarm-BxyCb1Qv.cjs"))},apps:{outlined:()=>Promise.resolve().then(()=>require("./icons/apps-fIilHLYB.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/apps-BdFHXOsp.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/apps-C9ltbSUJ.cjs"))},archive:{outlined:()=>Promise.resolve().then(()=>require("./icons/archive-7V65cuRY.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/archive-er16TWXw.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/archive-Ckz6yJQF.cjs"))},arrow_back:{outlined:()=>Promise.resolve().then(()=>require("./icons/arrow_back-XdtHQyqo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/arrow_back-DaOcsNP6.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/arrow_back-g66EkDwT.cjs"))},arrow_downward:{outlined:()=>Promise.resolve().then(()=>require("./icons/arrow_downward-BBbhvRa_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/arrow_downward-CYCI-w3L.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/arrow_downward-DkW9HR00.cjs"))},arrow_forward:{outlined:()=>Promise.resolve().then(()=>require("./icons/arrow_forward-NKtJV9mD.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/arrow_forward-B54VLaZC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/arrow_forward-hLdyTARF.cjs"))},arrow_upward:{outlined:()=>Promise.resolve().then(()=>require("./icons/arrow_upward-GAIOJvM7.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/arrow_upward-BtxjFwlX.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/arrow_upward-CBdxpNSC.cjs"))},article:{outlined:()=>Promise.resolve().then(()=>require("./icons/article-B6nzs-qa.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/article-CGpbLCcR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/article-CDZ6_tTi.cjs"))},attach_file:{outlined:()=>Promise.resolve().then(()=>require("./icons/attach_file-DyFViTnA.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/attach_file-RLWNGDyR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/attach_file-CNA3xvqM.cjs"))},attach_money:{outlined:()=>Promise.resolve().then(()=>require("./icons/attach_money-DQPXCGZk.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/attach_money-CfNoy99Y.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/attach_money-JvxHPUl2.cjs"))},backspace:{outlined:()=>Promise.resolve().then(()=>require("./icons/backspace-JswWFvx7.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/backspace-DDu6Afit.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/backspace-pPWKZ2Y2.cjs"))},badge:{outlined:()=>Promise.resolve().then(()=>require("./icons/badge-Cc8lmWgw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/badge-Btf6MXDZ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/badge-BXrUAN1m.cjs"))},block:{outlined:()=>Promise.resolve().then(()=>require("./icons/block-ByxkMrvC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/block-C8EIO6vB.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/block-D7pQpqds.cjs"))},bolt:{outlined:()=>Promise.resolve().then(()=>require("./icons/bolt-CUZki2JV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/bolt-A-Z_tqr9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/bolt-BKR3IpJG.cjs"))},book:{outlined:()=>Promise.resolve().then(()=>require("./icons/book-B_vtXpwq.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/book-BvIH3Qcj.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/book-s5W9WL4N.cjs"))},bookmark:{outlined:()=>Promise.resolve().then(()=>require("./icons/bookmark-BJdOWq2Y.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/bookmark-BOsIEQfb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/bookmark-CY6PuZ4w.cjs"))},bookmarks:{outlined:()=>Promise.resolve().then(()=>require("./icons/bookmarks-CBfrFEQH.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/bookmarks-C1k5ldLa.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/bookmarks-DbGfzxJk.cjs"))},brush:{outlined:()=>Promise.resolve().then(()=>require("./icons/brush-DqhWkOyP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/brush-CWCZYG4N.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/brush-oeiVL9Xk.cjs"))},bug_report:{outlined:()=>Promise.resolve().then(()=>require("./icons/bug_report-Dgg4ML7C.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/bug_report-DqBzy5Wd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/bug_report-FgdRro3E.cjs"))},build:{outlined:()=>Promise.resolve().then(()=>require("./icons/build-DzKk0FwR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/build-Bg6u0xY0.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/build-fQP-NxA6.cjs"))},calendar_month:{outlined:()=>Promise.resolve().then(()=>require("./icons/calendar_month-BuGnlxNv.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/calendar_month-CWa__6wz.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/calendar_month-BX-upKoW.cjs"))},calendar_today:{outlined:()=>Promise.resolve().then(()=>require("./icons/calendar_today-dvqmK8Mt.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/calendar_today-BXLVEJdq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/calendar_today-CPs1WBvs.cjs"))},call:{outlined:()=>Promise.resolve().then(()=>require("./icons/call-ay175YDV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/call-ftvfgcxN.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/call-wKD6ISPV.cjs"))},call_end:{outlined:()=>Promise.resolve().then(()=>require("./icons/call_end-DwGpra_h.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/call_end-Bx5pJnkm.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/call_end-WoQXHoTY.cjs"))},call_made:{outlined:()=>Promise.resolve().then(()=>require("./icons/call_made-BKy-0N_5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/call_made-1di_yrkH.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/call_made-nzO_qhRa.cjs"))},call_received:{outlined:()=>Promise.resolve().then(()=>require("./icons/call_received-DiGMt09V.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/call_received-kDCUptdw.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/call_received-svsjpWZB.cjs"))},campaign:{outlined:()=>Promise.resolve().then(()=>require("./icons/campaign-CO4rU-NI.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/campaign-C7gu21Yl.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/campaign-Ci9P9bD0.cjs"))},cancel:{outlined:()=>Promise.resolve().then(()=>require("./icons/cancel-syDzrIhz.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/cancel-Be4ComkT.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/cancel-BswRxQQC.cjs"))},category:{outlined:()=>Promise.resolve().then(()=>require("./icons/category-DLWu2IoJ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/category-lpNWuhQx.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/category-CnrWZz9Q.cjs"))},chat:{outlined:()=>Promise.resolve().then(()=>require("./icons/chat-DThyMw25.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/chat-DVBtcmFJ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/chat-BIjxgeKo.cjs"))},chat_bubble:{outlined:()=>Promise.resolve().then(()=>require("./icons/chat_bubble-B7awcvGP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/chat_bubble-CPB6ZiCC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/chat_bubble-mZGoeI3I.cjs"))},check:{outlined:()=>Promise.resolve().then(()=>require("./icons/check-C4gcqg9A.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/check-CDtP9Bf4.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/check-BQ20Asfd.cjs"))},check_box:{outlined:()=>Promise.resolve().then(()=>require("./icons/check_box-cXMcUfzz.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/check_box-yboW6saa.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/check_box-DD0D5gpB.cjs"))},check_box_outline_blank:{outlined:()=>Promise.resolve().then(()=>require("./icons/check_box_outline_blank-CIKY0Ccw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/check_box_outline_blank-B0K7VEOf.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/check_box_outline_blank-DPZa0VCl.cjs"))},check_circle:{outlined:()=>Promise.resolve().then(()=>require("./icons/check_circle-DTQ1d7Oc.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/check_circle-BVUl3Gb5.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/check_circle-BYYx6u5r.cjs"))},chevron_left:{outlined:()=>Promise.resolve().then(()=>require("./icons/chevron_left-Yec8UECM.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/chevron_left-DE3pHCnM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/chevron_left-BPHI54rl.cjs"))},chevron_right:{outlined:()=>Promise.resolve().then(()=>require("./icons/chevron_right-BkGOM5fi.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/chevron_right-CFTu2vbL.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/chevron_right-DpzjvNsP.cjs"))},child_care:{outlined:()=>Promise.resolve().then(()=>require("./icons/child_care-nZB2N3YA.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/child_care-CIQ9k-f9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/child_care-CB79ivb8.cjs"))},circle:{outlined:()=>Promise.resolve().then(()=>require("./icons/circle-DS_HMXBR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/circle-BPX6153P.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/circle-D8ImCYQn.cjs"))},close:{outlined:()=>Promise.resolve().then(()=>require("./icons/close-C71jnCsP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/close-DAORXT73.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/close-08-8sBl_.cjs"))},cloud:{outlined:()=>Promise.resolve().then(()=>require("./icons/cloud-aGhF0P8X.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/cloud-DoSYW56S.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/cloud-CWTEjqrC.cjs"))},cloud_download:{outlined:()=>Promise.resolve().then(()=>require("./icons/cloud_download-Cr0f1A7w.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/cloud_download-BSgA6nE3.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/cloud_download-B46UbXM2.cjs"))},cloud_upload:{outlined:()=>Promise.resolve().then(()=>require("./icons/cloud_upload-CEBNsRxa.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/cloud_upload-BxrCa7P9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/cloud_upload-C8JjVx81.cjs"))},code:{outlined:()=>Promise.resolve().then(()=>require("./icons/code-6RkiCXwP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/code-DuM9qskR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/code-oJW84q_m.cjs"))},comment:{outlined:()=>Promise.resolve().then(()=>require("./icons/comment-O_bHBTmR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/comment-jfrDsQcR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/comment-D2ad_q2m.cjs"))},compare:{outlined:()=>Promise.resolve().then(()=>require("./icons/compare-CUzBU-28.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/compare-DdMgRs9f.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/compare-DFR9iUjQ.cjs"))},contacts:{outlined:()=>Promise.resolve().then(()=>require("./icons/contacts-4hDX5byG.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/contacts-Cb5xhSPR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/contacts-GfLHJBAS.cjs"))},content_copy:{outlined:()=>Promise.resolve().then(()=>require("./icons/content_copy-Dm6tlywE.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/content_copy-CDA8g8Ce.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/content_copy-B295-Nv3.cjs"))},content_paste:{outlined:()=>Promise.resolve().then(()=>require("./icons/content_paste-CoehqCUw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/content_paste-D0OJlLhs.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/content_paste-CAAddckI.cjs"))},copyright:{outlined:()=>Promise.resolve().then(()=>require("./icons/copyright-CmWUWze4.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/copyright-B4gtWEWc.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/copyright-sqUhIT0W.cjs"))},credit_card:{outlined:()=>Promise.resolve().then(()=>require("./icons/credit_card-B_DF2PK1.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/credit_card-Ch3__Lys.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/credit_card-_iyk8SdT.cjs"))},credit_score:{outlined:()=>Promise.resolve().then(()=>require("./icons/credit_score-BTAUUWvv.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/credit_score-RCK9vD6_.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/credit_score-BUo_aYKm.cjs"))},crop:{outlined:()=>Promise.resolve().then(()=>require("./icons/crop-GyzEL4nJ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/crop-CLGpqAKW.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/crop-Ck5Oq93S.cjs"))},dangerous:{outlined:()=>Promise.resolve().then(()=>require("./icons/dangerous-BHX_WAG0.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/dangerous-VVnFWj0T.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/dangerous-CyWhR8GS.cjs"))},dark_mode:{outlined:()=>Promise.resolve().then(()=>require("./icons/dark_mode-CVQYfD9N.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/dark_mode-Cna-h-8z.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/dark_mode-BApz1m5T.cjs"))},dashboard:{outlined:()=>Promise.resolve().then(()=>require("./icons/dashboard-y4JXkAlZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/dashboard-yvpXQGFe.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/dashboard-qxOP92mW.cjs"))},data_usage:{outlined:()=>Promise.resolve().then(()=>require("./icons/data_usage-BFgNM46G.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/data_usage-DF86vx6L.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/data_usage-B69lbac5.cjs"))},delete:{outlined:()=>Promise.resolve().then(()=>require("./icons/delete-C0t5Pp8-.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/delete-CEMqbUF0.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/delete-xENv8YmX.cjs"))},delete_forever:{outlined:()=>Promise.resolve().then(()=>require("./icons/delete_forever-BE5StSao.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/delete_forever-DwtLSgzF.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/delete_forever-B8PUopIK.cjs"))},density_medium:{outlined:()=>Promise.resolve().then(()=>require("./icons/density_medium-BFy-8lbn.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/density_medium-Bze5BcMr.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/density_medium-BoavJs4H.cjs"))},description:{outlined:()=>Promise.resolve().then(()=>require("./icons/description-SQPUh5qC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/description-CxGEPSh9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/description-CMHCszzJ.cjs"))},desktop_windows:{outlined:()=>Promise.resolve().then(()=>require("./icons/desktop_windows-DOHf23Xr.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/desktop_windows-rsIMFxNM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/desktop_windows-ft9l6Jnn.cjs"))},devices:{outlined:()=>Promise.resolve().then(()=>require("./icons/devices-D1QkNOdg.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/devices-Cs6AyB_p.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/devices-CZuDnQ7B.cjs"))},directions:{outlined:()=>Promise.resolve().then(()=>require("./icons/directions-CV3aYvJw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/directions-Cq30pjX9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/directions-BYfIHQ8Z.cjs"))},directions_bus:{outlined:()=>Promise.resolve().then(()=>require("./icons/directions_bus-CznPtArU.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/directions_bus-ChCQ0VJv.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/directions_bus-2Bu4yiHM.cjs"))},directions_car:{outlined:()=>Promise.resolve().then(()=>require("./icons/directions_car-DIRBYtBd.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/directions_car-Ty3h4aoe.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/directions_car-dxAiBgAE.cjs"))},dns:{outlined:()=>Promise.resolve().then(()=>require("./icons/dns-BrL6vlto.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/dns-DQC01d17.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/dns-BxMrX-Qx.cjs"))},download:{outlined:()=>Promise.resolve().then(()=>require("./icons/download-BfEc7ftL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/download-oQO1wMDQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/download-BbGaNWaF.cjs"))},download_done:{outlined:()=>Promise.resolve().then(()=>require("./icons/download_done-BF_KMt21.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/download_done-mY_IvV91.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/download_done-QJO7z-t7.cjs"))},drag_handle:{outlined:()=>Promise.resolve().then(()=>require("./icons/drag_handle-B85eeiSW.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/drag_handle-CZy0Muds.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/drag_handle-DIHjJaP4.cjs"))},drive_file_move:{outlined:()=>Promise.resolve().then(()=>require("./icons/drive_file_move-CyquxnGI.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/drive_file_move-B7Ib41Bg.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/drive_file_move-BzZBDz_T.cjs"))},eco:{outlined:()=>Promise.resolve().then(()=>require("./icons/eco-BQpR7DfB.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/eco-BfhARi85.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/eco-Dti-gVb_.cjs"))},edit:{outlined:()=>Promise.resolve().then(()=>require("./icons/edit-ChFc7I7P.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/edit-BeJgtsta.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/edit-T1-rErag.cjs"))},edit_attributes:{outlined:()=>Promise.resolve().then(()=>require("./icons/edit_attributes-6JWFwGzl.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/edit_attributes-B1Ctn3RI.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/edit_attributes-BFsYoU1-.cjs"))},edit_note:{outlined:()=>Promise.resolve().then(()=>require("./icons/edit_note-Da_iOdrc.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/edit_note-rScMJnJT.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/edit_note--rw8SVa_.cjs"))},eject:{outlined:()=>Promise.resolve().then(()=>require("./icons/eject-C_8lRJPy.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/eject-DTQWDrIz.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/eject-CtLNSegr.cjs"))},elderly:{outlined:()=>Promise.resolve().then(()=>require("./icons/elderly-Ceh2P7r-.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/elderly-CcU85K06.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/elderly-DAtLwTFA.cjs"))},engineering:{outlined:()=>Promise.resolve().then(()=>require("./icons/engineering-BkYJD_Or.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/engineering-1o10EfNE.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/engineering-JuMPs6Y3.cjs"))},equalizer:{outlined:()=>Promise.resolve().then(()=>require("./icons/equalizer-efzGc3fN.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/equalizer-DJkAwv6t.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/equalizer-CBRz_t0n.cjs"))},error:{outlined:()=>Promise.resolve().then(()=>require("./icons/error-DhIFJDit.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/error-DzScQD-0.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/error-BSxnVrjF.cjs"))},event:{outlined:()=>Promise.resolve().then(()=>require("./icons/event-CLOpMWNS.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/event-BO8hSbhH.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/event-C0zGLwjQ.cjs"))},event_available:{outlined:()=>Promise.resolve().then(()=>require("./icons/event_available-D39f0o2z.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/event_available-DwjeOvX9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/event_available-DMl5IYfi.cjs"))},event_busy:{outlined:()=>Promise.resolve().then(()=>require("./icons/event_busy-DLhs3cqk.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/event_busy-CO5GomJ1.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/event_busy-BsbAdBc3.cjs"))},exit_to_app:{outlined:()=>Promise.resolve().then(()=>require("./icons/exit_to_app-4ELlyKP5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/exit_to_app-Bp3DQYOi.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/exit_to_app-BPsYFa6S.cjs"))},expand:{outlined:()=>Promise.resolve().then(()=>require("./icons/expand-BoSPrbcp.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/expand-CADHXT-_.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/expand-Dy3_OGRo.cjs"))},explore:{outlined:()=>Promise.resolve().then(()=>require("./icons/explore-CiiSPHhR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/explore-DAuehy4i.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/explore-CWVUOfFd.cjs"))},explore_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/explore_off-BR_xU7jX.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/explore_off-Bsy6PdBD.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/explore_off-C8Pin35x.cjs"))},extension:{outlined:()=>Promise.resolve().then(()=>require("./icons/extension-Bg6YhsUZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/extension-B2Ud25CS.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/extension-Cj_PMbmr.cjs"))},face:{outlined:()=>Promise.resolve().then(()=>require("./icons/face-B0mI3FAR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/face-Dx3-uvsR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/face-nfbmNSRn.cjs"))},fast_forward:{outlined:()=>Promise.resolve().then(()=>require("./icons/fast_forward-cSegXWFV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fast_forward-B0y9Ca2u.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fast_forward-BMw4eJA1.cjs"))},fast_rewind:{outlined:()=>Promise.resolve().then(()=>require("./icons/fast_rewind-ClQr4UqL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fast_rewind-BErJGjyk.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fast_rewind-CmURbjb8.cjs"))},favorite:{outlined:()=>Promise.resolve().then(()=>require("./icons/favorite-C7ps1Maq.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/favorite-3J46b-ep.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/favorite-LUIfqiQF.cjs"))},feedback:{outlined:()=>Promise.resolve().then(()=>require("./icons/feedback-B_jbalMc.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/feedback-DpFRhEHp.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/feedback-BaEOlZmy.cjs"))},file_copy:{outlined:()=>Promise.resolve().then(()=>require("./icons/file_copy-CTIQJQ-Q.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/file_copy-BryVfjLP.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/file_copy-D7W7B9tN.cjs"))},filter_list:{outlined:()=>Promise.resolve().then(()=>require("./icons/filter_list-DpBj6Yx1.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/filter_list-B8Txqh_n.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/filter_list-CH0lPLm2.cjs"))},find_in_page:{outlined:()=>Promise.resolve().then(()=>require("./icons/find_in_page-BnUd7Adl.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/find_in_page-d1tGoTfD.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/find_in_page-CZWej5L8.cjs"))},find_replace:{outlined:()=>Promise.resolve().then(()=>require("./icons/find_replace-COPwtD3A.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/find_replace-B_KZ8iLe.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/find_replace-BVX_mdI2.cjs"))},fingerprint:{outlined:()=>Promise.resolve().then(()=>require("./icons/fingerprint-s6Wvd5xY.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fingerprint-BwdcEXJy.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fingerprint-Cjs10wLp.cjs"))},first_page:{outlined:()=>Promise.resolve().then(()=>require("./icons/first_page-LyKNPAwN.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/first_page-CFfNXxJa.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/first_page-BNf1p3Bb.cjs"))},fit_screen:{outlined:()=>Promise.resolve().then(()=>require("./icons/fit_screen-DgeLJfZy.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fit_screen-B9tJEMV5.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fit_screen-NF0JPdOh.cjs"))},fitness_center:{outlined:()=>Promise.resolve().then(()=>require("./icons/fitness_center-DOb_SqRR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fitness_center-BhjkYdCs.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fitness_center-wLAD2vZ_.cjs"))},flag:{outlined:()=>Promise.resolve().then(()=>require("./icons/flag-E-VIxwkr.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/flag-LD2jAYeI.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/flag-DZqg40eh.cjs"))},flare:{outlined:()=>Promise.resolve().then(()=>require("./icons/flare-DZBDF8BR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/flare-DZL3slPE.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/flare-BPXjy3gS.cjs"))},flash_on:{outlined:()=>Promise.resolve().then(()=>require("./icons/flash_on-DIcsCTnL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/flash_on-B6CuALXr.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/flash_on-BotDglNP.cjs"))},flight:{outlined:()=>Promise.resolve().then(()=>require("./icons/flight-BNYPJg6b.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/flight-BLrZxPop.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/flight-CMxTfrzT.cjs"))},flip:{outlined:()=>Promise.resolve().then(()=>require("./icons/flip-BAlqTIVF.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/flip-Bz6vLJ-d.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/flip-Cqg-_005.cjs"))},folder:{outlined:()=>Promise.resolve().then(()=>require("./icons/folder-DBjcNXNU.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/folder-CEMBequd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/folder-DuEc_ds7.cjs"))},folder_open:{outlined:()=>Promise.resolve().then(()=>require("./icons/folder_open-B7M1GBAB.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/folder_open-BCePqSqz.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/folder_open-B_oOp3kv.cjs"))},folder_shared:{outlined:()=>Promise.resolve().then(()=>require("./icons/folder_shared-BesFvcRa.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/folder_shared-Cy2npeFh.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/folder_shared-DgpExGUb.cjs"))},forum:{outlined:()=>Promise.resolve().then(()=>require("./icons/forum-ClIUKbam.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/forum-C0U0c7lC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/forum-W9gwVTdH.cjs"))},fullscreen:{outlined:()=>Promise.resolve().then(()=>require("./icons/fullscreen-CeXAg0Rs.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fullscreen-BbuB8GJ1.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fullscreen-DzeaQMMi.cjs"))},fullscreen_exit:{outlined:()=>Promise.resolve().then(()=>require("./icons/fullscreen_exit-Dv_5bvVl.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fullscreen_exit-BQAdlG7F.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fullscreen_exit-BdILU2wy.cjs"))},gavel:{outlined:()=>Promise.resolve().then(()=>require("./icons/gavel-D-OTl_bj.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/gavel-F-uuY7jq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/gavel-DwIL5r9o.cjs"))},gesture:{outlined:()=>Promise.resolve().then(()=>require("./icons/gesture-DeCjZ4OV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/gesture-V_2x4_gC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/gesture-CDVjysbx.cjs"))},gif:{outlined:()=>Promise.resolve().then(()=>require("./icons/gif-Cdgf5jLT.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/gif-BjNPP4Fi.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/gif-Dbqa6Qt9.cjs"))},grid_view:{outlined:()=>Promise.resolve().then(()=>require("./icons/grid_view-ClltetuJ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/grid_view-DaRUrgXH.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/grid_view-B68F0xHI.cjs"))},group:{outlined:()=>Promise.resolve().then(()=>require("./icons/group-B8IYS99v.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/group-BPq1UB-p.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/group-_x6YgwIQ.cjs"))},group_add:{outlined:()=>Promise.resolve().then(()=>require("./icons/group_add-DRT53nn9.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/group_add-yGgEMHEW.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/group_add-BM5MTU4c.cjs"))},groups:{outlined:()=>Promise.resolve().then(()=>require("./icons/groups-C108XU4y.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/groups-BnGg38nU.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/groups-xhrjwIB0.cjs"))},handyman:{outlined:()=>Promise.resolve().then(()=>require("./icons/handyman-xpAdwmnn.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/handyman-jhYg_Ni9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/handyman-4agk8mvK.cjs"))},headphones:{outlined:()=>Promise.resolve().then(()=>require("./icons/headphones-ByLMZlNY.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/headphones-CFD4aFp7.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/headphones-Co40H2aF.cjs"))},healing:{outlined:()=>Promise.resolve().then(()=>require("./icons/healing-aaFdWh5W.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/healing-BDkkXt9q.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/healing-B-0A2nAU.cjs"))},help:{outlined:()=>Promise.resolve().then(()=>require("./icons/help-OaQroamO.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/help-C3CEzn4A.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/help-Ctda3jdI.cjs"))},highlight:{outlined:()=>Promise.resolve().then(()=>require("./icons/highlight-6N9Q1nCv.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/highlight-2e5dcG25.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/highlight-B06WsyLv.cjs"))},history:{outlined:()=>Promise.resolve().then(()=>require("./icons/history-BOV-9TKh.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/history-CU_ehRzx.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/history-BUB_tYea.cjs"))},history_toggle_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/history_toggle_off-Bhya520A.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/history_toggle_off-DnRUn4bN.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/history_toggle_off-gyY-rgoJ.cjs"))},home:{outlined:()=>Promise.resolve().then(()=>require("./icons/home-Dokhawqy.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/home-BTOD_204.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/home-r_TUIXCB.cjs"))},home_work:{outlined:()=>Promise.resolve().then(()=>require("./icons/home_work-CG_ldX6X.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/home_work-B964c0gI.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/home_work-RpG7pfN8.cjs"))},hotel:{outlined:()=>Promise.resolve().then(()=>require("./icons/hotel-bfy2VvG_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/hotel-DPvGMpsA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/hotel-CPtCcGqG.cjs"))},hourglass_empty:{outlined:()=>Promise.resolve().then(()=>require("./icons/hourglass_empty-B5l-KyA_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/hourglass_empty-Dj67ruJJ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/hourglass_empty-w_LZI7ql.cjs"))},http:{outlined:()=>Promise.resolve().then(()=>require("./icons/http-CkQzvLY8.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/http-D1K3W8nC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/http-fS1e0mTs.cjs"))},image:{outlined:()=>Promise.resolve().then(()=>require("./icons/image-CQ1rcY-m.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/image-m4vdlOrM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/image-Epxcfqar.cjs"))},image_search:{outlined:()=>Promise.resolve().then(()=>require("./icons/image_search-DFdtq1ol.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/image_search-Df6Ng67p.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/image_search-QPrlvCTB.cjs"))},important_devices:{outlined:()=>Promise.resolve().then(()=>require("./icons/important_devices-BQm7YX8s.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/important_devices-CEL-eNng.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/important_devices-CaP-knAj.cjs"))},inbox:{outlined:()=>Promise.resolve().then(()=>require("./icons/inbox-Bf8a9r3C.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/inbox-DlEuYH_M.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/inbox-CbKEEwtR.cjs"))},info:{outlined:()=>Promise.resolve().then(()=>require("./icons/info-B7YBEpiO.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/info-D76Irr5N.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/info-DnsOX_R2.cjs"))},input:{outlined:()=>Promise.resolve().then(()=>require("./icons/input-BledoS7j.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/input-CiaLhaBv.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/input-DFmBoxLr.cjs"))},inventory:{outlined:()=>Promise.resolve().then(()=>require("./icons/inventory-D3F1c0G4.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/inventory-C6l6OEEh.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/inventory-BWwO-xah.cjs"))},key:{outlined:()=>Promise.resolve().then(()=>require("./icons/key-Cd1LQA96.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/key-BapDxdJR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/key-WmFDui-T.cjs"))},keyboard:{outlined:()=>Promise.resolve().then(()=>require("./icons/keyboard-9kPP_fZo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/keyboard-Bncd-r2h.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/keyboard-DEtvWaW3.cjs"))},label:{outlined:()=>Promise.resolve().then(()=>require("./icons/label-Csjt3SVM.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/label-Cm8auEWA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/label-D4Z8lgx6.cjs"))},language:{outlined:()=>Promise.resolve().then(()=>require("./icons/language-Dnk6WN_j.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/language-DUV1M-65.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/language-CxIJ1SrJ.cjs"))},last_page:{outlined:()=>Promise.resolve().then(()=>require("./icons/last_page-oTIYzPFL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/last_page-CjRlRrpV.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/last_page-Cbb3HacN.cjs"))},layers:{outlined:()=>Promise.resolve().then(()=>require("./icons/layers-RHUoY1x9.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/layers-NrOiyn4B.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/layers-Blmdyx3T.cjs"))},light_mode:{outlined:()=>Promise.resolve().then(()=>require("./icons/light_mode-Bo8UvOO0.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/light_mode-C3ZmUjzM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/light_mode-C3vqv6r9.cjs"))},line_style:{outlined:()=>Promise.resolve().then(()=>require("./icons/line_style-hKwpJThN.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/line_style-ChfgY8Fz.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/line_style-DlXCE4Um.cjs"))},link:{outlined:()=>Promise.resolve().then(()=>require("./icons/link-SqQvG2aS.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/link-BFqEzcuh.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/link-BEt8Rdrk.cjs"))},list:{outlined:()=>Promise.resolve().then(()=>require("./icons/list-B3bGHUAB.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/list-ExRMWvY6.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/list-D0u18QaB.cjs"))},live_help:{outlined:()=>Promise.resolve().then(()=>require("./icons/live_help-cSkLrDFh.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/live_help-B1k0yUF9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/live_help-B9sVajvu.cjs"))},local_cafe:{outlined:()=>Promise.resolve().then(()=>require("./icons/local_cafe-BbLYHQ5G.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/local_cafe-gSN4KJIQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/local_cafe-BRwE0wVl.cjs"))},local_hospital:{outlined:()=>Promise.resolve().then(()=>require("./icons/local_hospital-CeMxQ9XC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/local_hospital-BQxIobVR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/local_hospital-MPVU96Sw.cjs"))},local_taxi:{outlined:()=>Promise.resolve().then(()=>require("./icons/local_taxi-CVCg6SLk.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/local_taxi-DYWVyvAC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/local_taxi-BvyxG2_8.cjs"))},location_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/location_off-TLyox8Gw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/location_off-BwRgLKKl.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/location_off-BQw1qzX6.cjs"))},location_on:{outlined:()=>Promise.resolve().then(()=>require("./icons/location_on-zlbjO2nd.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/location_on-C_Q78KW6.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/location_on-B-4p1Vaw.cjs"))},lock:{outlined:()=>Promise.resolve().then(()=>require("./icons/lock-BczdF5aF.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/lock-DoMqxNht.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/lock-CMBDoG1m.cjs"))},lock_open:{outlined:()=>Promise.resolve().then(()=>require("./icons/lock_open-DNBPlz0I.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/lock_open-CbcCQPoq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/lock_open-BsfuU82J.cjs"))},lock_reset:{outlined:()=>Promise.resolve().then(()=>require("./icons/lock_reset-1_dRLFAg.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/lock_reset-BFi8YBZd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/lock_reset-xNTFVkP0.cjs"))},login:{outlined:()=>Promise.resolve().then(()=>require("./icons/login-BjZiShoE.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/login-6YNL4CrP.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/login-Bogn9TQm.cjs"))},logout:{outlined:()=>Promise.resolve().then(()=>require("./icons/logout-Bphd-i1_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/logout-9MBXaMSb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/logout-BKRH1LQ7.cjs"))},mail:{outlined:()=>Promise.resolve().then(()=>require("./icons/mail-stTZgOxR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/mail-zslK5Vp0.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/mail-SRkbZHDV.cjs"))},map:{outlined:()=>Promise.resolve().then(()=>require("./icons/map-DlCPxLI4.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/map-BN0czcmT.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/map-OHAPN5Jm.cjs"))},mark_email_read:{outlined:()=>Promise.resolve().then(()=>require("./icons/mark_email_read-4O476T7R.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/mark_email_read-B5tjuBKg.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/mark_email_read-C6yfr2fW.cjs"))},mark_email_unread:{outlined:()=>Promise.resolve().then(()=>require("./icons/mark_email_unread-BbgVYB4S.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/mark_email_unread-CS1ID0rU.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/mark_email_unread-BzBlwfDW.cjs"))},maximize:{outlined:()=>Promise.resolve().then(()=>require("./icons/maximize-BfsEZe_5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/maximize-yncMJ3Gg.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/maximize-D_c72Iyc.cjs"))},medication:{outlined:()=>Promise.resolve().then(()=>require("./icons/medication-BP-gJNIW.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/medication-B7oNWWhQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/medication-BXpvVQlG.cjs"))},menu:{outlined:()=>Promise.resolve().then(()=>require("./icons/menu-BSH9Euis.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/menu-BI_0LYcg.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/menu-CyUV3J9k.cjs"))},mic:{outlined:()=>Promise.resolve().then(()=>require("./icons/mic-Bv7uyEhL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/mic-OWlr0FyC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/mic-DeY1JMNU.cjs"))},mic_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/mic_off-CrExlNjs.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/mic_off-3AQHolNv.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/mic_off-O3medmXx.cjs"))},minimize:{outlined:()=>Promise.resolve().then(()=>require("./icons/minimize-C1fwEdxW.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/minimize-b3mKEIDM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/minimize-CLS-Wwu4.cjs"))},model_training:{outlined:()=>Promise.resolve().then(()=>require("./icons/model_training-CRZqBwX8.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/model_training-BHnB1pq-.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/model_training-2hXP1oSx.cjs"))},monitor:{outlined:()=>Promise.resolve().then(()=>require("./icons/monitor-DEOzv1-v.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/monitor-DmiG1_9A.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/monitor-Do46ojnJ.cjs"))},more_horiz:{outlined:()=>Promise.resolve().then(()=>require("./icons/more_horiz-bZKXAcx0.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/more_horiz-Deil--Zw.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/more_horiz-Dbz8LvVB.cjs"))},more_time:{outlined:()=>Promise.resolve().then(()=>require("./icons/more_time-B1Wd5UFZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/more_time-urwzlhvb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/more_time-ChxdyGP_.cjs"))},more_vert:{outlined:()=>Promise.resolve().then(()=>require("./icons/more_vert-DzTrnUGw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/more_vert-CXi9yj-5.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/more_vert-DxblSDI5.cjs"))},mouse:{outlined:()=>Promise.resolve().then(()=>require("./icons/mouse-QimsmAoo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/mouse-Bng6mJ1A.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/mouse-DS8yvLR1.cjs"))},move_to_inbox:{outlined:()=>Promise.resolve().then(()=>require("./icons/move_to_inbox-D-SzwKRi.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/move_to_inbox-DMwv-LwU.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/move_to_inbox-DB49LSzj.cjs"))},multiline_chart:{outlined:()=>Promise.resolve().then(()=>require("./icons/multiline_chart-VNajFYIu.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/multiline_chart-qmqudGJS.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/multiline_chart-BZ9pI0M2.cjs"))},my_location:{outlined:()=>Promise.resolve().then(()=>require("./icons/my_location-CafgIPzY.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/my_location-B_2xIJ1h.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/my_location-BQB_Gvjn.cjs"))},navigation:{outlined:()=>Promise.resolve().then(()=>require("./icons/navigation-XOBWaNoc.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/navigation-DD6e0gFe.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/navigation-D-EmSudm.cjs"))},near_me:{outlined:()=>Promise.resolve().then(()=>require("./icons/near_me-CDCjz9gt.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/near_me-BPE_ZuMr.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/near_me-BxAslSGA.cjs"))},network_check:{outlined:()=>Promise.resolve().then(()=>require("./icons/network_check-DXQawqFw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/network_check-Dl7EGQcb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/network_check-BJIqHDfq.cjs"))},note_add:{outlined:()=>Promise.resolve().then(()=>require("./icons/note_add-CgDyCezx.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/note_add-DreTnzy7.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/note_add-B16Z0iko.cjs"))},notifications:{outlined:()=>Promise.resolve().then(()=>require("./icons/notifications-C6p9X5iK.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/notifications-C4Njhrf3.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/notifications-CqrgBGCg.cjs"))},notifications_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/notifications_off-Bl-UXNgJ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/notifications_off-C0bFn1n-.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/notifications_off-DnZ8QXub.cjs"))},opacity:{outlined:()=>Promise.resolve().then(()=>require("./icons/opacity-Dk-JXILr.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/opacity-D6RIb2vv.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/opacity-B_AyGGS_.cjs"))},open_in_browser:{outlined:()=>Promise.resolve().then(()=>require("./icons/open_in_browser-Dmn-cfK-.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/open_in_browser-DCPx7gky.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/open_in_browser-DqsvTNrn.cjs"))},open_in_new:{outlined:()=>Promise.resolve().then(()=>require("./icons/open_in_new-BgJKZU-J.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/open_in_new-DZPCJOy7.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/open_in_new-CcEf-zNH.cjs"))},open_with:{outlined:()=>Promise.resolve().then(()=>require("./icons/open_with-Bzj5vgs6.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/open_with-CmFOFdkm.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/open_with-B70xaICx.cjs"))},outbox:{outlined:()=>Promise.resolve().then(()=>require("./icons/outbox-C6aOzPpg.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/outbox-Cx7uYTOf.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/outbox-Csu_1kyH.cjs"))},outgoing_mail:{outlined:()=>Promise.resolve().then(()=>require("./icons/outgoing_mail-2-xW6AF5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/outgoing_mail-CtAbnTjW.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/outgoing_mail-CX9s8C5z.cjs"))},pageview:{outlined:()=>Promise.resolve().then(()=>require("./icons/pageview-DqQxqFE_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/pageview-D1Aft6zN.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/pageview-CoOkhigk.cjs"))},paid:{outlined:()=>Promise.resolve().then(()=>require("./icons/paid-C5cn2aLs.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/paid-BzDeYvj7.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/paid-BIkLZCcs.cjs"))},palette:{outlined:()=>Promise.resolve().then(()=>require("./icons/palette-BEmPRIMw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/palette-CEI5mXi2.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/palette-BWAIjdCq.cjs"))},pan_tool:{outlined:()=>Promise.resolve().then(()=>require("./icons/pan_tool-DchJK0me.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/pan_tool-DuCXAwU5.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/pan_tool-LLeyUAKx.cjs"))},park:{outlined:()=>Promise.resolve().then(()=>require("./icons/park-BVe-doeU.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/park-BUDETE5h.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/park-B2KYNHGS.cjs"))},pause:{outlined:()=>Promise.resolve().then(()=>require("./icons/pause-DQrYrJPf.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/pause-CbypNdPU.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/pause-DrZm3789.cjs"))},pending:{outlined:()=>Promise.resolve().then(()=>require("./icons/pending-6ag0S0mB.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/pending-BrSKvjSV.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/pending-LfKlYmk3.cjs"))},percent:{outlined:()=>Promise.resolve().then(()=>require("./icons/percent-CQHhbCUm.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/percent-DQRJ81Y0.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/percent-DjuRihso.cjs"))},perm_camera_mic:{outlined:()=>Promise.resolve().then(()=>require("./icons/perm_camera_mic-Cbddp4vZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/perm_camera_mic-CuBPtZxF.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/perm_camera_mic-Dkpwkkuq.cjs"))},perm_contact_calendar:{outlined:()=>Promise.resolve().then(()=>require("./icons/perm_contact_calendar-DMec4ouz.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/perm_contact_calendar-DhFwc7VW.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/perm_contact_calendar-CspwVmEi.cjs"))},perm_media:{outlined:()=>Promise.resolve().then(()=>require("./icons/perm_media-C57M9qmo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/perm_media-CF1u7gFa.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/perm_media-Bxr4BAS1.cjs"))},perm_phone_msg:{outlined:()=>Promise.resolve().then(()=>require("./icons/perm_phone_msg-D9X0Elcs.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/perm_phone_msg-9zA1SKcG.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/perm_phone_msg-BzVSR3nS.cjs"))},perm_scan_wifi:{outlined:()=>Promise.resolve().then(()=>require("./icons/perm_scan_wifi-DD7R0Ypv.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/perm_scan_wifi-B9jQZzda.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/perm_scan_wifi-DoiutF9N.cjs"))},person:{outlined:()=>Promise.resolve().then(()=>require("./icons/person-B3n5wNYw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/person-BjdTw5Wf.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/person-CxBPAQjZ.cjs"))},person_add:{outlined:()=>Promise.resolve().then(()=>require("./icons/person_add-SOetVGrq.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/person_add-CAlpNX8L.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/person_add-C5HiyjEy.cjs"))},person_remove:{outlined:()=>Promise.resolve().then(()=>require("./icons/person_remove-K5AIu4l3.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/person_remove-FQ1FDMyB.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/person_remove-Ckm7S1Ul.cjs"))},pets:{outlined:()=>Promise.resolve().then(()=>require("./icons/pets-CX3R8F-o.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/pets-Ce5ySqSZ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/pets-DFqhatXG.cjs"))},photo:{outlined:()=>Promise.resolve().then(()=>require("./icons/photo-oBUWZNmV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/photo-DCL0v_al.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/photo-Cu44xCeI.cjs"))},photo_camera:{outlined:()=>Promise.resolve().then(()=>require("./icons/photo_camera-DhFf5sZ5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/photo_camera-Nyrh3DOY.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/photo_camera-C9AkrxeA.cjs"))},pin:{outlined:()=>Promise.resolve().then(()=>require("./icons/pin-D4ao9i6g.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/pin-DthuKQB3.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/pin-CRwDdDV2.cjs"))},play_arrow:{outlined:()=>Promise.resolve().then(()=>require("./icons/play_arrow-H863JTh7.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/play_arrow-CZk84Zqk.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/play_arrow-B53QlyDM.cjs"))},play_circle:{outlined:()=>Promise.resolve().then(()=>require("./icons/play_circle-CTzQVR4K.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/play_circle-yQAtsYsn.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/play_circle-wkjsDqRz.cjs"))},playlist_add:{outlined:()=>Promise.resolve().then(()=>require("./icons/playlist_add-Snr_stSN.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/playlist_add-GuvkSYpw.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/playlist_add-D2Xb6_NK.cjs"))},polymer:{outlined:()=>Promise.resolve().then(()=>require("./icons/polymer-C2BZyzKC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/polymer-DqwlaYna.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/polymer-DG6N5gon.cjs"))},power:{outlined:()=>Promise.resolve().then(()=>require("./icons/power-Bt8Geig2.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/power-DZ3DE2BU.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/power-pXyGp9-1.cjs"))},power_settings_new:{outlined:()=>Promise.resolve().then(()=>require("./icons/power_settings_new-DD5cuSDo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/power_settings_new-C5QoEPOu.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/power_settings_new-CKm1IAbg.cjs"))},preview:{outlined:()=>Promise.resolve().then(()=>require("./icons/preview-DWVX-cQO.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/preview-BfsIL0b0.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/preview-DoBR4W2d.cjs"))},print:{outlined:()=>Promise.resolve().then(()=>require("./icons/print-BhcfRgxE.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/print-CkOGeK2-.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/print-DEoedWv2.cjs"))},print_disabled:{outlined:()=>Promise.resolve().then(()=>require("./icons/print_disabled-Cfm8Rmrg.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/print_disabled-BX0aI1MB.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/print_disabled-DXRq3rRK.cjs"))},privacy_tip:{outlined:()=>Promise.resolve().then(()=>require("./icons/privacy_tip-Ds1UUYsC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/privacy_tip-THEl8fOD.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/privacy_tip-BMaqVFkP.cjs"))},public:{outlined:()=>Promise.resolve().then(()=>require("./icons/public-DsMIgunV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/public-BpCg8FcW.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/public-CUqXfp2P.cjs"))},publish:{outlined:()=>Promise.resolve().then(()=>require("./icons/publish-aEOseQ0B.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/publish-CsV_amwU.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/publish-Dvx4su5p.cjs"))},radio:{outlined:()=>Promise.resolve().then(()=>require("./icons/radio-Bk8_Qjwv.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/radio-B2Ef_9iW.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/radio-CwtfSqPE.cjs"))},rate_review:{outlined:()=>Promise.resolve().then(()=>require("./icons/rate_review-B-T0Zspx.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/rate_review-B2oMwaV-.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/rate_review-DPXxfHCb.cjs"))},receipt:{outlined:()=>Promise.resolve().then(()=>require("./icons/receipt-C2nj4DVK.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/receipt-twmBLiMB.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/receipt-Bp12qtmR.cjs"))},receipt_long:{outlined:()=>Promise.resolve().then(()=>require("./icons/receipt_long-92b6OZd3.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/receipt_long-CAmLm05y.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/receipt_long-BwMqM1SJ.cjs"))},recent_actors:{outlined:()=>Promise.resolve().then(()=>require("./icons/recent_actors-DD_SIS2p.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/recent_actors-tqgiO4nq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/recent_actors-BmkR1ajB.cjs"))},recommend:{outlined:()=>Promise.resolve().then(()=>require("./icons/recommend-DtKYWilu.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/recommend-Aw4CXDaO.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/recommend-CDHFINVu.cjs"))},record_voice_over:{outlined:()=>Promise.resolve().then(()=>require("./icons/record_voice_over-Dd1PPwQW.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/record_voice_over-CCuO1fha.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/record_voice_over-CfOde1To.cjs"))},redeem:{outlined:()=>Promise.resolve().then(()=>require("./icons/redeem-CeEXJTxS.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/redeem-CtvDEAWe.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/redeem-zus0PT_N.cjs"))},redo:{outlined:()=>Promise.resolve().then(()=>require("./icons/redo-DwiLjx8_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/redo-CB6KXpep.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/redo-AXNo-2i6.cjs"))},refresh:{outlined:()=>Promise.resolve().then(()=>require("./icons/refresh-B34c1S8h.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/refresh-C_BBk9XA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/refresh-DX9L5WGR.cjs"))},remove:{outlined:()=>Promise.resolve().then(()=>require("./icons/remove-BpH5DaU-.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/remove-ChmlIHbM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/remove-D1owTeuN.cjs"))},reply:{outlined:()=>Promise.resolve().then(()=>require("./icons/reply-Cm9qKf6z.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/reply-Df4SE_cq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/reply-CUp6bBiu.cjs"))},reply_all:{outlined:()=>Promise.resolve().then(()=>require("./icons/reply_all-CIm2mYxA.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/reply_all-Cu6bFwEY.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/reply_all-C1hqo2qO.cjs"))},report:{outlined:()=>Promise.resolve().then(()=>require("./icons/report-3zsKRuLn.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/report-Dmag693H.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/report-DCRNNTzs.cjs"))},restart_alt:{outlined:()=>Promise.resolve().then(()=>require("./icons/restart_alt-CffSc23A.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/restart_alt-CnJZzuua.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/restart_alt-Nz67oCa0.cjs"))},restaurant:{outlined:()=>Promise.resolve().then(()=>require("./icons/restaurant-BKqlwxRF.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/restaurant-CQoatClQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/restaurant-sK6evuVB.cjs"))},restore_from_trash:{outlined:()=>Promise.resolve().then(()=>require("./icons/restore_from_trash-DqcC-1Lu.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/restore_from_trash-DOFWLtoA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/restore_from_trash-DpHGuo0S.cjs"))},rotate_left:{outlined:()=>Promise.resolve().then(()=>require("./icons/rotate_left-Ck4VMi6n.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/rotate_left-RKvDCGa_.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/rotate_left-C0-WUVsw.cjs"))},rotate_right:{outlined:()=>Promise.resolve().then(()=>require("./icons/rotate_right-i9bMrMe5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/rotate_right-D1pzuEHb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/rotate_right-8WHx_SuN.cjs"))},rule:{outlined:()=>Promise.resolve().then(()=>require("./icons/rule-GIRrcXbP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/rule-DTjiYiZq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/rule-PbcB9lZP.cjs"))},save:{outlined:()=>Promise.resolve().then(()=>require("./icons/save-fkqiyMK8.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/save-5IddfMjQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/save-CCF5PyEM.cjs"))},save_as:{outlined:()=>Promise.resolve().then(()=>require("./icons/save_as-BRWg38-i.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/save_as-Bxt_2D67.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/save_as-Cv4exkLT.cjs"))},schedule:{outlined:()=>Promise.resolve().then(()=>require("./icons/schedule-DSheAoDO.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/schedule-DZ99H6m4.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/schedule-DEux9M-N.cjs"))},schedule_send:{outlined:()=>Promise.resolve().then(()=>require("./icons/schedule_send-Do__Ry6u.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/schedule_send-Cp3iC0Oh.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/schedule_send-Ci1iGXRR.cjs"))},school:{outlined:()=>Promise.resolve().then(()=>require("./icons/school-DjIfocA8.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/school-DIBNfqBw.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/school-UiU6b6fz.cjs"))},science:{outlined:()=>Promise.resolve().then(()=>require("./icons/science-DU8HpI5E.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/science-DduXLiLr.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/science-CPQsO82_.cjs"))},search:{outlined:()=>Promise.resolve().then(()=>require("./icons/search-B1H9b_cm.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/search-BryYopV4.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/search-ChtQjHCV.cjs"))},search_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/search_off-hK10qV9w.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/search_off-Ez3W0MtB.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/search_off-DKJlviq9.cjs"))},security:{outlined:()=>Promise.resolve().then(()=>require("./icons/security-CK8VfFnF.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/security-BieeAIQK.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/security-3FTT4sJq.cjs"))},select_all:{outlined:()=>Promise.resolve().then(()=>require("./icons/select_all-wO38Mugl.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/select_all-DkGq4MLr.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/select_all-CNzVtIaX.cjs"))},send:{outlined:()=>Promise.resolve().then(()=>require("./icons/send-CE0t-BeF.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/send-CSyvk2Uu.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/send-Da_IOaWi.cjs"))},send_and_archive:{outlined:()=>Promise.resolve().then(()=>require("./icons/send_and_archive-CIHEjPqZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/send_and_archive-x4Bd1yNd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/send_and_archive-BeBX1v9Y.cjs"))},settings:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings-Iczs8jeR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings-CMP5MFnV.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings-CLZ2Gtbf.cjs"))},settings_applications:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_applications-9HE_9rY_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_applications-BZAjwB0l.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_applications-BXuvrP6q.cjs"))},settings_backup_restore:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_backup_restore-D9TSfliZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_backup_restore-CuanjFW6.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_backup_restore-CyPIojJj.cjs"))},settings_bluetooth:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_bluetooth-DaGzD19J.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_bluetooth-xy6HQVpn.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_bluetooth-Cr6IHVRB.cjs"))},settings_brightness:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_brightness-bpZFSJhk.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_brightness-BkiTw384.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_brightness-DPr5MK-L.cjs"))},settings_ethernet:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_ethernet-CNSkOlVN.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_ethernet-BKUalwzq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_ethernet-BiUPH4Zl.cjs"))},settings_input_component:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_input_component-By5nACBS.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_input_component-BdohaMlR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_input_component-DlJfBGIJ.cjs"))},settings_input_hdmi:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_input_hdmi-C6AUSBbu.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_input_hdmi-CJf8K5vP.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_input_hdmi-B6RpJzAH.cjs"))},settings_input_svideo:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_input_svideo-DE-cJJ19.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_input_svideo-GoJKdcLM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_input_svideo-GdfkseMO.cjs"))},settings_overscan:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_overscan-t2ziBpx0.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_overscan-DjxVyh_p.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_overscan-CzZdrVff.cjs"))},settings_phone:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_phone-DSs4IMu3.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_phone-CdllR2_U.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_phone-DMkUqrcI.cjs"))},settings_power:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_power-Sy2yCFJ9.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_power-C0haok1N.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_power-DCmvdxnX.cjs"))},settings_remote:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_remote-BgSfe6Rf.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_remote-BkeWwusa.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_remote-BjJR-PZA.cjs"))},settings_voice:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_voice-CJKvIhG_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_voice-DKlyDHlF.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_voice-D5Vxz3H6.cjs"))},share:{outlined:()=>Promise.resolve().then(()=>require("./icons/share-4OI6GdPA.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/share-BUQun2WH.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/share-D3x5n12j.cjs"))},shield:{outlined:()=>Promise.resolve().then(()=>require("./icons/shield-BiW3E-iG.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shield-BeTHVkub.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shield-8LQV6fwO.cjs"))},shop:{outlined:()=>Promise.resolve().then(()=>require("./icons/shop-CQAvlAIJ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shop-CKc3vFoP.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shop-CvzOHG8i.cjs"))},shop_two:{outlined:()=>Promise.resolve().then(()=>require("./icons/shop_two-DxlMpmpg.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shop_two-B1EZi_d3.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shop_two-DAWsfPhY.cjs"))},shopping_bag:{outlined:()=>Promise.resolve().then(()=>require("./icons/shopping_bag-BLYLRVEo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shopping_bag-pW2CC5Wm.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shopping_bag-CsPqDtJv.cjs"))},shopping_cart:{outlined:()=>Promise.resolve().then(()=>require("./icons/shopping_cart-DnonQkQH.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shopping_cart-D-FNTU2X.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shopping_cart-Xj77jFuX.cjs"))},shopping_cart_checkout:{outlined:()=>Promise.resolve().then(()=>require("./icons/shopping_cart_checkout-X3I3ndRQ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shopping_cart_checkout-Ba3gAZZx.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shopping_cart_checkout-Biv5QNse.cjs"))},shuffle:{outlined:()=>Promise.resolve().then(()=>require("./icons/shuffle-DgSPEo4a.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shuffle-CJ1EAml3.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shuffle-_2AFO10D.cjs"))},signal_cellular_4_bar:{outlined:()=>Promise.resolve().then(()=>require("./icons/signal_cellular_4_bar-B2EfVIOU.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/signal_cellular_4_bar-BnGmWjbd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/signal_cellular_4_bar-tyWOuTIO.cjs"))},signal_wifi_4_bar:{outlined:()=>Promise.resolve().then(()=>require("./icons/signal_wifi_4_bar-BqhjBPKf.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/signal_wifi_4_bar-ACBg79Cd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/signal_wifi_4_bar-BI0IoDFE.cjs"))},sim_card:{outlined:()=>Promise.resolve().then(()=>require("./icons/sim_card-COkNXOTt.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/sim_card-CIcMNdr5.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/sim_card-BPL0trEZ.cjs"))},skip_next:{outlined:()=>Promise.resolve().then(()=>require("./icons/skip_next-CTaln24G.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/skip_next-BjR_Ru_X.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/skip_next-BS3qv6JB.cjs"))},skip_previous:{outlined:()=>Promise.resolve().then(()=>require("./icons/skip_previous-C3jUnkqV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/skip_previous-DupTvcKV.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/skip_previous-BKQnmbUY.cjs"))},smart_display:{outlined:()=>Promise.resolve().then(()=>require("./icons/smart_display-CGq_kFKP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/smart_display-CvQj8hVk.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/smart_display-BOW5QUcA.cjs"))},sms:{outlined:()=>Promise.resolve().then(()=>require("./icons/sms-Ch9Dn8Lm.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/sms-BujJufM4.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/sms-C0XjdHC5.cjs"))},speaker:{outlined:()=>Promise.resolve().then(()=>require("./icons/speaker-CV63iKYE.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/speaker-DsfaZMR_.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/speaker-B2MvjZAN.cjs"))},speed:{outlined:()=>Promise.resolve().then(()=>require("./icons/speed-D7NBKqG3.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/speed-CXhRyCN3.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/speed-Dj7IJmxS.cjs"))},spellcheck:{outlined:()=>Promise.resolve().then(()=>require("./icons/spellcheck-bravLujp.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/spellcheck-BF_frwVA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/spellcheck-bkyb6Y8s.cjs"))},splitscreen:{outlined:()=>Promise.resolve().then(()=>require("./icons/splitscreen-CWRxhPyh.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/splitscreen-BugC3AHX.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/splitscreen-CuTL4vMq.cjs"))},star:{outlined:()=>Promise.resolve().then(()=>require("./icons/star-71poZceL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/star-CdAMIKli.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/star-cWZAor5m.cjs"))},star_half:{outlined:()=>Promise.resolve().then(()=>require("./icons/star_half-BwQ25Xpr.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/star_half-D21K-e2D.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/star_half-BWK8UDKr.cjs"))},stars:{outlined:()=>Promise.resolve().then(()=>require("./icons/stars--dAqSWaT.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/stars-NYu-DZz9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/stars-Cyp7CBgv.cjs"))},stop:{outlined:()=>Promise.resolve().then(()=>require("./icons/stop-uwTugAuv.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/stop-CBeB_vzv.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/stop-BWqpBB4v.cjs"))},storage:{outlined:()=>Promise.resolve().then(()=>require("./icons/storage-CJ6k6H61.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/storage-YUkbXrS_.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/storage-zovKy4GK.cjs"))},store:{outlined:()=>Promise.resolve().then(()=>require("./icons/store-AytgGtla.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/store-CLKS8y8z.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/store-b7oiYjaT.cjs"))},storefront:{outlined:()=>Promise.resolve().then(()=>require("./icons/storefront-maPZQS5d.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/storefront-p8WcwK8a.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/storefront-C1xlNf7m.cjs"))},subtitles:{outlined:()=>Promise.resolve().then(()=>require("./icons/subtitles-CJ0WZ11D.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/subtitles-CweVpu7E.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/subtitles-DiEORnGT.cjs"))},support:{outlined:()=>Promise.resolve().then(()=>require("./icons/support-DZV0BDoT.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/support-DOeVw2Ol.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/support-C8IHRu3M.cjs"))},swap_horiz:{outlined:()=>Promise.resolve().then(()=>require("./icons/swap_horiz-CIHagp-O.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/swap_horiz-gBiaDATS.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/swap_horiz-DXxPNDOa.cjs"))},swap_vert:{outlined:()=>Promise.resolve().then(()=>require("./icons/swap_vert-CgI4ty66.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/swap_vert-CYo6e2hN.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/swap_vert-BIRQdp6w.cjs"))},swipe:{outlined:()=>Promise.resolve().then(()=>require("./icons/swipe-DNULZvdC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/swipe-CBmB5bVK.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/swipe-BEkT-xey.cjs"))},switch_access_shortcut:{outlined:()=>Promise.resolve().then(()=>require("./icons/switch_access_shortcut-q_7AaUE5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/switch_access_shortcut-4NHu-GzX.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/switch_access_shortcut-DlIlneXr.cjs"))},sync:{outlined:()=>Promise.resolve().then(()=>require("./icons/sync-c0eh9srx.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/sync-B8eDMIHY.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/sync-Bb15b-LY.cjs"))},tab:{outlined:()=>Promise.resolve().then(()=>require("./icons/tab-Br904I-x.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/tab-DoWIBjMF.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/tab-DcX5jSYD.cjs"))},tab_unselected:{outlined:()=>Promise.resolve().then(()=>require("./icons/tab_unselected-h_5qNQAy.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/tab_unselected-Jryi6UG7.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/tab_unselected-BnB9OpTQ.cjs"))},table_rows:{outlined:()=>Promise.resolve().then(()=>require("./icons/table_rows-DhopWxQ4.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/table_rows-CD8mGsGH.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/table_rows-DBST5uR7.cjs"))},tablet:{outlined:()=>Promise.resolve().then(()=>require("./icons/tablet-BPyP2a60.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/tablet-BObXzgDp.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/tablet-DEJSebWQ.cjs"))},tag:{outlined:()=>Promise.resolve().then(()=>require("./icons/tag-BKHmPW7O.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/tag-bOLfzkCK.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/tag-DeeBL365.cjs"))},task:{outlined:()=>Promise.resolve().then(()=>require("./icons/task-B9X6QTUq.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/task-DrKSPxAM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/task-CaXkBV5s.cjs"))},task_alt:{outlined:()=>Promise.resolve().then(()=>require("./icons/task_alt-DmM9U1Ld.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/task_alt-DuVPr61c.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/task_alt-BWpiiOPB.cjs"))},terminal:{outlined:()=>Promise.resolve().then(()=>require("./icons/terminal-Cq96EmHZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/terminal-9rECHy3F.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/terminal-UFxOCVAJ.cjs"))},text_fields:{outlined:()=>Promise.resolve().then(()=>require("./icons/text_fields-srTO6UAQ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/text_fields-MBNGOwpE.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/text_fields-31b2r-eh.cjs"))},thumb_down:{outlined:()=>Promise.resolve().then(()=>require("./icons/thumb_down-C-ZYO8aS.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/thumb_down-CXKcFuVv.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/thumb_down-B1EnDy9g.cjs"))},thumb_up:{outlined:()=>Promise.resolve().then(()=>require("./icons/thumb_up-CMK43jwc.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/thumb_up-BjnPL-vY.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/thumb_up-BJldcoTn.cjs"))},timeline:{outlined:()=>Promise.resolve().then(()=>require("./icons/timeline-BorNHWXs.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/timeline-DHqVljjl.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/timeline-DLlL3HNg.cjs"))},timer:{outlined:()=>Promise.resolve().then(()=>require("./icons/timer-C05SAUqw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/timer-CYZn5P7p.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/timer-B82U_DX8.cjs"))},toc:{outlined:()=>Promise.resolve().then(()=>require("./icons/toc-DhGghZ9I.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/toc-C84pl4PR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/toc-BtcPEvk6.cjs"))},today:{outlined:()=>Promise.resolve().then(()=>require("./icons/today-DzGPx-JC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/today-BkPPR4dh.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/today-BdVLVtYY.cjs"))},toggle_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/toggle_off-BDbSL0R3.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/toggle_off-BDH4j7_B.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/toggle_off-BKJ1oYkM.cjs"))},toggle_on:{outlined:()=>Promise.resolve().then(()=>require("./icons/toggle_on-Dl1NcDmP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/toggle_on-DURt0a-K.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/toggle_on-BcgFWI69.cjs"))},touch_app:{outlined:()=>Promise.resolve().then(()=>require("./icons/touch_app-BjCIP79F.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/touch_app-DYx-e9w1.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/touch_app-DMIySKht.cjs"))},tour:{outlined:()=>Promise.resolve().then(()=>require("./icons/tour-Cvtl9j2v.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/tour-D_mBWC4A.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/tour-DrIKd0iZ.cjs"))},track_changes:{outlined:()=>Promise.resolve().then(()=>require("./icons/track_changes-CrWcjG7M.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/track_changes-CmftMM7i.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/track_changes-2gWHhzk3.cjs"))},train:{outlined:()=>Promise.resolve().then(()=>require("./icons/train-bPZxRsaq.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/train-xbz9XQhb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/train-pWcRhKXA.cjs"))},translate:{outlined:()=>Promise.resolve().then(()=>require("./icons/translate-CYXRRxeY.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/translate-WCc3CLqx.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/translate-CPdtUGGD.cjs"))},trending_down:{outlined:()=>Promise.resolve().then(()=>require("./icons/trending_down-ImDCa4Jh.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/trending_down-DIbaV34v.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/trending_down-dZnaOW1J.cjs"))},trending_flat:{outlined:()=>Promise.resolve().then(()=>require("./icons/trending_flat-C1svR9KS.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/trending_flat-Br_PXO04.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/trending_flat-C4esyAhD.cjs"))},trending_up:{outlined:()=>Promise.resolve().then(()=>require("./icons/trending_up-Bgw7w8PT.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/trending_up-fksGS-GY.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/trending_up-DPd7c_Dq.cjs"))},troubleshoot:{outlined:()=>Promise.resolve().then(()=>require("./icons/troubleshoot-K7Bl_YaC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/troubleshoot-DI-EgiZK.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/troubleshoot-CZMhLPJh.cjs"))},unarchive:{outlined:()=>Promise.resolve().then(()=>require("./icons/unarchive-CO882sl0.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/unarchive-DyUoj8om.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/unarchive-D4LtLEle.cjs"))},undo:{outlined:()=>Promise.resolve().then(()=>require("./icons/undo-iQLEL8Zi.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/undo-CIwSY9GL.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/undo-C9xs6NjO.cjs"))},unfold_less:{outlined:()=>Promise.resolve().then(()=>require("./icons/unfold_less-LC-ftUfz.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/unfold_less-DxekXqvM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/unfold_less-BKOJLQlU.cjs"))},unfold_more:{outlined:()=>Promise.resolve().then(()=>require("./icons/unfold_more-BVL_GIHl.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/unfold_more-DIl3gTo7.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/unfold_more-Dlh3P3cv.cjs"))},update:{outlined:()=>Promise.resolve().then(()=>require("./icons/update-0Vhu6gl3.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/update-a1H2RXCn.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/update-BDOxUBTg.cjs"))},upgrade:{outlined:()=>Promise.resolve().then(()=>require("./icons/upgrade-CqKqDz1C.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/upgrade-x2gsVQIM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/upgrade-CdJyAFoI.cjs"))},upload:{outlined:()=>Promise.resolve().then(()=>require("./icons/upload-CMBoE1MT.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/upload-CfYL9Zr2.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/upload-BDW8-FNY.cjs"))},vaccines:{outlined:()=>Promise.resolve().then(()=>require("./icons/vaccines-C4f-r8y5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/vaccines-Dak3ypH-.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/vaccines-BgYSLR9w.cjs"))},verified:{outlined:()=>Promise.resolve().then(()=>require("./icons/verified-BPpdTMbw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/verified-BR7xxAQA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/verified-C1_3O9Pq.cjs"))},verified_user:{outlined:()=>Promise.resolve().then(()=>require("./icons/verified_user-B4cpofdT.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/verified_user-CHiaKWJQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/verified_user-LzxM0Ixt.cjs"))},view_agenda:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_agenda-wmPKBjy1.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_agenda-ChVSNVuJ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_agenda-BcCbU_Cx.cjs"))},view_array:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_array-4eH_Y-9C.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_array-u_DfgvOJ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_array-CtftT6bB.cjs"))},view_carousel:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_carousel-cKrqJhoI.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_carousel--ToJf94l.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_carousel-CjxIXwuR.cjs"))},view_column:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_column-CI58na9m.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_column-CGO0_VaN.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_column-CZfddZfP.cjs"))},view_day:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_day-BKQpPz70.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_day-BL7dG_71.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_day-D03WAaG1.cjs"))},view_headline:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_headline-bvoWlfSZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_headline-CEiHaTUb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_headline-zUGYSGF4.cjs"))},view_list:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_list-Cn16jlm_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_list-COkcexHQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_list-q6O6UQ8s.cjs"))},view_module:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_module-fdzeD45B.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_module-BIq8D_VI.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_module-Dugq4U2N.cjs"))},view_stream:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_stream-DY09WFyh.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_stream-Bok3MI-A.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_stream-BprhnLvm.cjs"))},view_week:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_week-BwVY-Gzo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_week-BIG9oES2.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_week-CVSaj-eg.cjs"))},visibility:{outlined:()=>Promise.resolve().then(()=>require("./icons/visibility-CcM0M7Ae.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/visibility-B_skKXCn.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/visibility-Du_QtShp.cjs"))},visibility_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/visibility_off-77O8Ixn_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/visibility_off-CQkbf0sH.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/visibility_off-DDSAECSN.cjs"))},voice_chat:{outlined:()=>Promise.resolve().then(()=>require("./icons/voice_chat-B2m86WSN.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/voice_chat-DA-inGEr.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/voice_chat-N9lzzPD3.cjs"))},volume_down:{outlined:()=>Promise.resolve().then(()=>require("./icons/volume_down-X8Fdb5GL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/volume_down-ormtJ6rA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/volume_down-xq98sRni.cjs"))},volume_mute:{outlined:()=>Promise.resolve().then(()=>require("./icons/volume_mute-Dg1Sad52.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/volume_mute-2JEExPCA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/volume_mute-BmLOt1AC.cjs"))},volume_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/volume_off-yubxzc3X.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/volume_off-BgpeewH8.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/volume_off-BrkBzaCw.cjs"))},volume_up:{outlined:()=>Promise.resolve().then(()=>require("./icons/volume_up-bP-cavNY.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/volume_up-DYrt4pXz.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/volume_up-CP5jPUnv.cjs"))},vpn_key:{outlined:()=>Promise.resolve().then(()=>require("./icons/vpn_key-DLw31EM4.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/vpn_key-DYrLYI7L.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/vpn_key-DepwbifQ.cjs"))},vpn_lock:{outlined:()=>Promise.resolve().then(()=>require("./icons/vpn_lock-CArd8FFH.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/vpn_lock-4HGysBa8.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/vpn_lock-DoxQ56X_.cjs"))},wallet:{outlined:()=>Promise.resolve().then(()=>require("./icons/wallet-D6d5LH8m.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/wallet-CGvvbyGf.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/wallet-D6lc8i2O.cjs"))},warning:{outlined:()=>Promise.resolve().then(()=>require("./icons/warning-3MXqZXik.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/warning-iht20xAd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/warning-BDqDQ0zE.cjs"))},watch:{outlined:()=>Promise.resolve().then(()=>require("./icons/watch-Dxwts4x_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/watch-C5XLco8t.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/watch-kEhspwOG.cjs"))},widgets:{outlined:()=>Promise.resolve().then(()=>require("./icons/widgets-DwrJqxGF.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/widgets-BXJ2Q2Ej.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/widgets-obimkiev.cjs"))},wifi:{outlined:()=>Promise.resolve().then(()=>require("./icons/wifi-DrroKwB8.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/wifi-2DytN2nN.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/wifi-BkLgmjTL.cjs"))},wifi_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/wifi_off-BaJM5EaE.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/wifi_off-Sfa-62fD.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/wifi_off-Dc0PhObG.cjs"))},work:{outlined:()=>Promise.resolve().then(()=>require("./icons/work-QooH-JpG.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/work-Do6SwFLt.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/work-D3tksTSD.cjs"))},zoom_in:{outlined:()=>Promise.resolve().then(()=>require("./icons/zoom_in-3A4joxuV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/zoom_in-DL9SEBJs.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/zoom_in-i6DpZCMO.cjs"))},zoom_out:{outlined:()=>Promise.resolve().then(()=>require("./icons/zoom_out-DGmKh370.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/zoom_out-DyYWanOO.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/zoom_out-CKPGeJDN.cjs"))}};console.log(Object.keys(ci));const At={};function lu(e){return{...e}}function uv(e){Object.assign(At,lu(e))}function dv(e){const t=lu(e);Object.keys(At).forEach(r=>{delete At[r]}),Object.assign(At,t)}function fv(){Object.keys(At).forEach(e=>{delete At[e]})}function hv(){const e=Object.keys(At),t=Object.keys(ci);return Array.from(new Set([...e,...t]))}function za(e){const{title:t,...r}=e;return c.jsx("svg",{viewBox:"0 0 24 24","aria-hidden":t?void 0:!0,role:t?"img":void 0,...r,children:t?c.jsx("title",{children:t}):null})}function mv(e,t){const r=At[e]??ci[e]??null;return r?t==="rounded"?r.rounded??r.outlined:t==="sharp"?r.sharp??r.outlined:r.outlined:null}function pv(e,t){return u.lazy(async()=>{const r=mv(e,t);if(!r)return{default:za};try{return{default:(await r()).default}}catch{return{default:za}}})}function Le(e){const{name:t,svg:r,src:n,variant:o="outlined",useColorAsFill:s=!1,size:i=24,color:a="currentColor",className:l,title:d}=e,f=u.useMemo(()=>pv(t??"",o),[t,o]),h=s?a:"currentColor";return r?c.jsx(r,{width:i,height:i,fill:h,color:a,className:l,title:d,focusable:"false","aria-hidden":d?void 0:!0}):n?c.jsx("img",{src:n,alt:d??"","aria-hidden":d?void 0:!0,className:l,style:{display:"inline-block",width:i,height:i}}):c.jsx(u.Suspense,{fallback:c.jsx("span",{"aria-hidden":"true",className:l,style:{display:"inline-block",width:i,height:i}}),children:c.jsx(f,{width:i,height:i,fill:h,color:a,className:l,title:d,focusable:"false","aria-hidden":d?void 0:!0})})}Le.displayName="Icon";let cu=null;function Ha(e){cu=e}function vv(){return cu}const gv=200,bv={info:{icon:"info",iconColor:"#6b7280",role:"status",live:"polite"},success:{icon:"check_circle",iconColor:"#16a34a",role:"status",live:"polite"},warn:{icon:"warning",iconColor:"#d97706",role:"alert",live:"assertive"},error:{icon:"error",iconColor:"#dc2626",role:"alert",live:"assertive"}},uu=u.createContext(null);let Wa=0;function xv(){return Wa+=1,`ldkj-toast-${Date.now()}-${Wa}`}function yv(e,t){return e.filter(r=>r.id!==t)}function wv(e){const t=new Map;for(const r of e){const n=t.get(r.placement);n?n.push(r):t.set(r.placement,[r])}return t}function du(e){const{children:t,placement:r="top",duration:n=3e3,queueLimit:o=5,reverse:s=!1}=e,[i,a]=u.useState([]),l=u.useRef(new Map),d=u.useRef(new Map),f=u.useCallback(g=>{const w=l.current.get(g);w!==void 0&&(window.clearTimeout(w),l.current.delete(g));const P=d.current.get(g);P!==void 0&&(window.clearTimeout(P),d.current.delete(g))},[]),h=u.useCallback(g=>{f(g),a(w=>yv(w,g))},[f]),v=u.useCallback(g=>{f(g),a(P=>P.map(C=>C.id===g&&!C.leaving?{...C,leaving:!0}:C));const w=window.setTimeout(()=>{h(g)},gv);d.current.set(g,w)},[f,h]),m=u.useCallback(()=>{a(g=>(g.forEach(w=>f(w.id)),[]))},[f]),b=u.useCallback(g=>{const w=g.duration??n,P=g.id??xv(),C={id:P,message:g.message,type:g.type??"info",placement:g.placement??r,closable:g.closable??!0,icon:g.icon,iconColor:g.iconColor,leaving:!1};a(q=>{const S=[...q,C];if(S.length<=o)return S;const k=S.length-o;return S.slice(0,k).forEach(E=>f(E.id)),S.slice(k)});const N=window.setTimeout(()=>{v(P)},Math.max(w,0));return l.current.set(P,N),P},[f,v,n,r,o]);u.useEffect(()=>()=>{l.current.forEach(g=>window.clearTimeout(g)),d.current.forEach(g=>window.clearTimeout(g)),l.current.clear(),d.current.clear()},[]);const p=u.useMemo(()=>({push:b,dismiss:v,clear:m}),[m,v,b]);u.useEffect(()=>(Ha(p),()=>Ha(null)),[p]);const x=u.useMemo(()=>wv(i),[i]),y=Array.from(x.keys());return c.jsxs(uu.Provider,{value:p,children:[t,y.map(g=>{const w=x.get(g)??[],P=s?[...w].reverse():w;return c.jsx("div",{className:j("ldkj-toast-viewport",`ldkj-toast-viewport-${g}`),"aria-hidden":P.length===0,children:P.map(C=>{const N=bv[C.type],q=C.iconColor??N.iconColor;return c.jsxs("div",{className:j("ldkj-toast-item",C.leaving?"ldkj-toast-leave":"ldkj-toast-appear"),role:N.role,"aria-live":N.live,"aria-atomic":"true",children:[typeof C.icon=="string"?c.jsx(Le,{name:C.icon,color:q,size:20,className:"ldkj-toast-icon",title:`${C.type} icon`}):C.icon?.svg||C.icon?.src?c.jsx(Le,{svg:C.icon.svg,src:C.icon.src,color:q,size:20,className:"ldkj-toast-icon",title:`${C.type} icon`}):c.jsx(Le,{name:N.icon,color:q,size:20,className:"ldkj-toast-icon",title:`${C.type} icon`}),c.jsx("div",{className:"ldkj-toast-message",children:C.message}),C.closable?c.jsx("button",{type:"button",className:"ldkj-toast-close","aria-label":"关闭提示",onClick:()=>v(C.id),children:c.jsx(Le,{name:"close",size:16,className:"ldkj-toast-close-icon"})}):null]},C.id)})},g)})]})}du.displayName="ToastProvider";function Pv(){const e=u.useContext(uu);if(!e)throw new Error("useToast 必须在 ToastProvider 内使用。");const t=u.useCallback((i,a)=>e.push({message:i,...a}),[e]),r=u.useCallback((i,a)=>e.push({type:"info",message:i,...a}),[e]),n=u.useCallback((i,a)=>e.push({type:"success",message:i,...a}),[e]),o=u.useCallback((i,a)=>e.push({type:"warn",message:i,...a}),[e]),s=u.useCallback((i,a)=>e.push({type:"error",message:i,...a}),[e]);return u.useMemo(()=>({show:t,info:r,success:n,warn:o,error:s,dismiss:e.dismiss,clear:e.clear}),[e.clear,e.dismiss,s,r,t,n,o])}const Rn={placement:"top",duration:3e3,closable:!0};let Ga=!1;const Xe={...Rn};function fu(e){return{placement:e?.placement??Xe.placement,duration:e?.duration??Xe.duration,id:e?.id,closable:e?.closable??Xe.closable,icon:e?.icon,iconColor:e?.iconColor}}function jn(){const e=vv();return e||(Ga||(Ga=!0,console.warn("toast 调用失败:请先在应用根节点挂载 ToastProvider。")),null)}function fn(e,t,r){const n=jn();return n?n.push({type:e,message:t,...fu(r)}):""}const Cv={show(e,t){const r=jn();return r?r.push({type:"info",message:typeof e=="string"?e:String(e),...fu(t)}):""},info(e,t){return fn("info",e,t)},success(e,t){return fn("success",e,t)},warn(e,t){return fn("warn",e,t)},error(e,t){return fn("error",e,t)},dismiss(e){const t=jn();t&&t.dismiss(e)},clear(){const e=jn();e&&e.clear()},config(e){Xe.placement=e.placement??Xe.placement,Xe.duration=e.duration??Xe.duration,Xe.closable=e.closable??Xe.closable},resetConfig(){Xe.placement=Rn.placement,Xe.duration=Rn.duration,Xe.closable=Rn.closable}};function Ka(e){if(e!=null)return typeof e=="boolean"?e?"blur(5px)":void 0:typeof e=="number"?`blur(${e}px)`:`blur(${e})`}function ui(e){const{open:t=!1,destroyOnClose:r=!1,closeOnMaskClick:n=!1,scrollable:o=!1,alpha:s=.5,blur:i,x:a="50%",y:l="50%",translateX:d="-50%",translateY:f="-50%",onClose:h,onOpen:v,className:m,class:b,style:p,sx:x,contentClassName:y,contentClass:g,contentStyle:w,contentSx:P,children:C,...N}=e,q=se(),{sxClassName:S,sxInlineStyle:k}=X(x,q),{sxClassName:T,sxInlineStyle:E}=X(P,q),R=u.useRef(!1);return u.useEffect(()=>{if(R.current){t?v?.():h?.();return}R.current=!0},[t,h,v]),u.useEffect(()=>{if(!t||o)return;const A=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=A}},[t,o]),!t&&r?null:c.jsx("div",{hidden:!t,className:j("fixed inset-0 z-[9999]",S,m,b),style:L({backgroundColor:`rgba(0, 0, 0, ${s})`,backdropFilter:Ka(i),WebkitBackdropFilter:Ka(i)},p,k),onTouchStart:A=>{o||(A.preventDefault(),A.stopPropagation())},onClick:()=>{n&&h?.()},...N,children:c.jsx("div",{className:j("absolute",T,y,g),style:L({left:a,top:l,transform:`translate(${d}, ${f})`},w,E),onClick:A=>{A.stopPropagation()},children:C})})}ui.displayName="Modal";const hu=u.createContext(null),mu=u.createContext(null);function Qr(e){const t=u.useContext(hu);if(!t)throw new Error(`${e} 必须在 <Dialog> 内使用`);return t}function Dt(e){const t=se();return X(e,t)}function Sv(e){const{open:t,defaultOpen:r=!1,onOpenChange:n}=e,o=t!==void 0,[s,i]=u.useState(r),a=o?t:s,l=u.useCallback(d=>{o||i(d),n?.(d)},[o,n]);return[a,l]}const Nv=e=>{const{open:t,defaultOpen:r,onOpenChange:n,modal:o=!0,lockScroll:s=!0,destroyOnClose:i=!1,closeOnMaskClick:a=!0,scrollable:l=!1,children:d}=e,[f,h]=Sv({open:t,defaultOpen:r,onOpenChange:n}),v=u.useMemo(()=>({open:f,setOpen:h,modal:o,lockScroll:s,destroyOnClose:i,closeOnMaskClick:a,scrollable:l}),[a,i,s,o,f,l,h]);return c.jsx(hu.Provider,{value:v,children:d})},di=u.forwardRef((e,t)=>{const{setOpen:r}=Qr("DialogTrigger"),{asChild:n,asChildWrapper:o="span",className:s,class:i,sx:a,style:l,children:d,onClick:f,...h}=e,{sxClassName:v,sxInlineStyle:m}=Dt(a),b=p=>{f?.(p),!p.defaultPrevented&&r(!0)};return n?c.jsx(o,{ref:t,className:j("inline-flex w-fit",v,s,i),style:L(l,m),onClick:b,...h,children:d}):c.jsx("button",{ref:t,type:"button",className:j(v,s,i),style:L(l,m),onClick:b,...h,children:d})});di.displayName="DialogTrigger";const fi=u.forwardRef((e,t)=>{const{setOpen:r}=Qr("DialogClose"),{asChild:n,asChildWrapper:o="span",className:s,class:i,sx:a,style:l,children:d,onClick:f,...h}=e,{sxClassName:v,sxInlineStyle:m}=Dt(a),b=p=>{f?.(p),!p.defaultPrevented&&r(!1)};return n?c.jsx(o,{ref:t,className:j("inline-flex w-fit",v,s,i),style:L(l,m),onClick:b,...h,children:d}):c.jsx("button",{ref:t,type:"button",className:j(v,s,i),style:L(l,m),onClick:b,...h,children:d})});fi.displayName="DialogClose";const pu=e=>{const{children:t,container:r}=e;if(typeof document>"u")return null;const n=r??document.body;return n?Ur.createPortal(t,n):null},hi=u.forwardRef((e,t)=>{const{open:r,destroyOnClose:n,closeOnMaskClick:o,setOpen:s}=Qr("DialogOverlay"),{className:i,class:a,sx:l,style:d,blur:f=!0,onClick:h,...v}=e,{sxClassName:m,sxInlineStyle:b}=Dt(l);return!r&&n?null:c.jsx("div",{ref:t,hidden:!r,"data-state":r?"open":"closed",className:j("fixed inset-0 z-50 bg-black/50",f?"backdrop-blur-[1px]":null,"data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",m,i,a),style:L(d,b),onClick:p=>{h?.(p),!p.defaultPrevented&&o&&s(!1)},...v})});hi.displayName="DialogOverlay";const mi=u.forwardRef((e,t)=>{const r=Qr("DialogContent"),{children:n,className:o,class:s,sx:i,style:a,showClose:l=!0,overlayClassName:d,overlaySx:f,overlayBlur:h=!0,onEscapeKeyDown:v,onPointerDownOutside:m,onOpenAutoFocus:b,onCloseAutoFocus:p,...x}=e,{sxClassName:y,sxInlineStyle:g}=Dt(i),w=u.useRef(null),P=u.useRef(r.open);u.useImperativeHandle(t,()=>w.current),u.useEffect(()=>{const S=P.current;if(!S&&r.open){const k=new Event("openAutoFocus",{cancelable:!0});b?.(k),k.defaultPrevented||w.current?.focus()}if(S&&!r.open){const k=new Event("closeAutoFocus",{cancelable:!0});p?.(k)}P.current=r.open},[r.open,p,b]),u.useEffect(()=>{if(!r.open)return;const S=k=>{k.key==="Escape"&&(v?.(k),!k.defaultPrevented&&r.setOpen(!1))};return window.addEventListener("keydown",S),()=>{window.removeEventListener("keydown",S)}},[r,v]);const C=r.lockScroll&&r.modal,N=r.scrollable||!C,q=r.modal&&r.closeOnMaskClick;return c.jsx(ui,{open:r.open,destroyOnClose:r.destroyOnClose,closeOnMaskClick:q,scrollable:N,blur:h?1:!1,className:j("z-50","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",d),sx:f,onClose:()=>{const S=new PointerEvent("pointerdown",{bubbles:!0,cancelable:!0});m?.(S),S.defaultPrevented||r.setOpen(!1)},contentClassName:"z-50 w-[calc(100%-2rem)] max-w-lg",contentSx:void 0,x:"50%",y:"50%",translateX:"-50%",translateY:"-50%",children:c.jsx("div",{ref:w,role:"dialog","aria-modal":(!!r.modal).toString(),tabIndex:-1,"data-state":r.open?"open":"closed",className:j("relative grid gap-4 rounded-lg border border-slate-200 bg-white p-6 text-slate-950 shadow-xl outline-none","duration-200","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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%]","data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",y,o,s),style:L(a,g),...x,children:c.jsx(mu.Provider,{value:{showClose:l},children:n})})})});mi.displayName="DialogContent";const pi=u.forwardRef((e,t)=>{const r=Qr("DialogHeader"),o=u.useContext(mu)?.showClose??!1,{className:s,class:i,sx:a,style:l,children:d,...f}=e,{sxClassName:h,sxInlineStyle:v}=Dt(a);return c.jsxs("div",{ref:t,className:j("flex items-start justify-between gap-3",h,s,i),style:L(l,v),...f,children:[c.jsx("div",{className:"flex min-w-0 flex-1 flex-col gap-1.5 text-center sm:text-left",children:d}),o?c.jsx("button",{type:"button",className:j("inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-md","text-slate-500 transition-colors hover:bg-slate-100 hover:text-slate-900","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2","disabled:pointer-events-none"),"aria-label":"关闭弹窗",onClick:()=>r.setOpen(!1),children:c.jsx(Le,{name:"close",size:16})}):null]})});pi.displayName="DialogHeader";const vi=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=Dt(o);return c.jsx("div",{ref:t,className:j("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",a,r,n),style:L(s,l),...i})});vi.displayName="DialogFooter";const gi=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=Dt(o);return c.jsx("h2",{ref:t,className:j("m-0 text-lg font-semibold leading-6 text-slate-950",a,r,n),style:L({margin:0,borderTop:0,paddingTop:0,letterSpacing:0,fontSize:"1.125rem",fontWeight:600,lineHeight:"1.5rem"},s,l),...i})});gi.displayName="DialogTitle";const bi=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=Dt(o);return c.jsx("p",{ref:t,className:j("m-0 text-sm leading-5 text-slate-600",a,r,n),style:L({margin:0,fontSize:"0.875rem",lineHeight:"1.25rem"},s,l),...i})});bi.displayName="DialogDescription";const qv=Object.assign(Nv,{Trigger:di,Portal:pu,Close:fi,Overlay:hi,Content:mi,Header:pi,Footer:vi,Title:gi,Description:bi});function ce(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),r===!1||!o.defaultPrevented)return t?.(o)}}function Ua(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function xi(...e){return t=>{let r=!1;const n=e.map(o=>{const s=Ua(o,t);return!r&&typeof s=="function"&&(r=!0),s});if(r)return()=>{for(let o=0;o<n.length;o++){const s=n[o];typeof s=="function"?s():Ua(e[o],null)}}}}function ke(...e){return u.useCallback(xi(...e),e)}function rt(e,t=[]){let r=[];function n(s,i){const a=u.createContext(i),l=r.length;r=[...r,i];const d=h=>{const{scope:v,children:m,...b}=h,p=v?.[e]?.[l]||a,x=u.useMemo(()=>b,Object.values(b));return c.jsx(p.Provider,{value:x,children:m})};d.displayName=s+"Provider";function f(h,v){const m=v?.[e]?.[l]||a,b=u.useContext(m);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${h}\` must be used within \`${s}\``)}return[d,f]}const o=()=>{const s=r.map(i=>u.createContext(i));return function(a){const l=a?.[e]||s;return u.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[n,kv(o,...t)]}function kv(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=n.reduce((a,{useScope:l,scopeName:d})=>{const h=l(s)[`__scope${d}`];return{...a,...h}},{});return u.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function Vr(e){const t=Ev(e),r=u.forwardRef((n,o)=>{const{children:s,...i}=n,a=u.Children.toArray(s),l=a.find(jv);if(l){const d=l.props.children,f=a.map(h=>h===l?u.Children.count(d)>1?u.Children.only(null):u.isValidElement(d)?d.props.children:null:h);return c.jsx(t,{...i,ref:o,children:u.isValidElement(d)?u.cloneElement(d,void 0,f):null})}return c.jsx(t,{...i,ref:o,children:s})});return r.displayName=`${e}.Slot`,r}function Ev(e){const t=u.forwardRef((r,n)=>{const{children:o,...s}=r;if(u.isValidElement(o)){const i=Av(o),a=Tv(s,o.props);return o.type!==u.Fragment&&(a.ref=n?xi(n,i):i),u.cloneElement(o,a)}return u.Children.count(o)>1?u.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var vu=Symbol("radix.slottable");function Rv(e){const t=({children:r})=>c.jsx(c.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=vu,t}function jv(e){return u.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===vu}function Tv(e,t){const r={...t};for(const n in t){const o=e[n],s=t[n];/^on[A-Z]/.test(n)?o&&s?r[n]=(...a)=>{const l=s(...a);return o(...a),l}:o&&(r[n]=o):n==="style"?r[n]={...o,...s}:n==="className"&&(r[n]=[o,s].filter(Boolean).join(" "))}return{...e,...r}}function Av(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var _v=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],be=_v.reduce((e,t)=>{const r=Vr(`Primitive.${t}`),n=u.forwardRef((o,s)=>{const{asChild:i,...a}=o,l=i?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(l,{...a,ref:s})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Iv(e,t){e&&Ur.flushSync(()=>e.dispatchEvent(t))}function gt(e){const t=u.useRef(e);return u.useEffect(()=>{t.current=e}),u.useMemo(()=>(...r)=>t.current?.(...r),[])}function Ov(e,t=globalThis?.document){const r=gt(e);u.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}var Mv="DismissableLayer",Is="dismissableLayer.update",Lv="dismissableLayer.pointerDownOutside",Dv="dismissableLayer.focusOutside",Ya,gu=u.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),to=u.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:a,...l}=e,d=u.useContext(gu),[f,h]=u.useState(null),v=f?.ownerDocument??globalThis?.document,[,m]=u.useState({}),b=ke(t,q=>h(q)),p=Array.from(d.layers),[x]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),y=p.indexOf(x),g=f?p.indexOf(f):-1,w=d.layersWithOutsidePointerEventsDisabled.size>0,P=g>=y,C=$v(q=>{const S=q.target,k=[...d.branches].some(T=>T.contains(S));!P||k||(o?.(q),i?.(q),q.defaultPrevented||a?.())},v),N=Vv(q=>{const S=q.target;[...d.branches].some(T=>T.contains(S))||(s?.(q),i?.(q),q.defaultPrevented||a?.())},v);return Ov(q=>{g===d.layers.size-1&&(n?.(q),!q.defaultPrevented&&a&&(q.preventDefault(),a()))},v),u.useEffect(()=>{if(f)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Ya=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),Xa(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=Ya)}},[f,v,r,d]),u.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),Xa())},[f,d]),u.useEffect(()=>{const q=()=>m({});return document.addEventListener(Is,q),()=>document.removeEventListener(Is,q)},[]),c.jsx(be.div,{...l,ref:b,style:{pointerEvents:w?P?"auto":"none":void 0,...e.style},onFocusCapture:ce(e.onFocusCapture,N.onFocusCapture),onBlurCapture:ce(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:ce(e.onPointerDownCapture,C.onPointerDownCapture)})});to.displayName=Mv;var Bv="DismissableLayerBranch",Fv=u.forwardRef((e,t)=>{const r=u.useContext(gu),n=u.useRef(null),o=ke(t,n);return u.useEffect(()=>{const s=n.current;if(s)return r.branches.add(s),()=>{r.branches.delete(s)}},[r.branches]),c.jsx(be.div,{...e,ref:o})});Fv.displayName=Bv;function $v(e,t=globalThis?.document){const r=gt(e),n=u.useRef(!1),o=u.useRef(()=>{});return u.useEffect(()=>{const s=a=>{if(a.target&&!n.current){let l=function(){bu(Lv,r,d,{discrete:!0})};const d={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function Vv(e,t=globalThis?.document){const r=gt(e),n=u.useRef(!1);return u.useEffect(()=>{const o=s=>{s.target&&!n.current&&bu(Dv,r,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function Xa(){const e=new CustomEvent(Is);document.dispatchEvent(e)}function bu(e,t,r,{discrete:n}){const o=r.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?Iv(o,s):o.dispatchEvent(s)}var Oo=0;function xu(){u.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Ja()),document.body.insertAdjacentElement("beforeend",e[1]??Ja()),Oo++,()=>{Oo===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Oo--}},[])}function Ja(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Mo="focusScope.autoFocusOnMount",Lo="focusScope.autoFocusOnUnmount",Qa={bubbles:!1,cancelable:!0},zv="FocusScope",yi=u.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...i}=e,[a,l]=u.useState(null),d=gt(o),f=gt(s),h=u.useRef(null),v=ke(t,p=>l(p)),m=u.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;u.useEffect(()=>{if(n){let p=function(w){if(m.paused||!a)return;const P=w.target;a.contains(P)?h.current=P:jt(h.current,{select:!0})},x=function(w){if(m.paused||!a)return;const P=w.relatedTarget;P!==null&&(a.contains(P)||jt(h.current,{select:!0}))},y=function(w){if(document.activeElement===document.body)for(const C of w)C.removedNodes.length>0&&jt(a)};document.addEventListener("focusin",p),document.addEventListener("focusout",x);const g=new MutationObserver(y);return a&&g.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",x),g.disconnect()}}},[n,a,m.paused]),u.useEffect(()=>{if(a){el.add(m);const p=document.activeElement;if(!a.contains(p)){const y=new CustomEvent(Mo,Qa);a.addEventListener(Mo,d),a.dispatchEvent(y),y.defaultPrevented||(Hv(Yv(yu(a)),{select:!0}),document.activeElement===p&&jt(a))}return()=>{a.removeEventListener(Mo,d),setTimeout(()=>{const y=new CustomEvent(Lo,Qa);a.addEventListener(Lo,f),a.dispatchEvent(y),y.defaultPrevented||jt(p??document.body,{select:!0}),a.removeEventListener(Lo,f),el.remove(m)},0)}}},[a,d,f,m]);const b=u.useCallback(p=>{if(!r&&!n||m.paused)return;const x=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,y=document.activeElement;if(x&&y){const g=p.currentTarget,[w,P]=Wv(g);w&&P?!p.shiftKey&&y===P?(p.preventDefault(),r&&jt(w,{select:!0})):p.shiftKey&&y===w&&(p.preventDefault(),r&&jt(P,{select:!0})):y===g&&p.preventDefault()}},[r,n,m.paused]);return c.jsx(be.div,{tabIndex:-1,...i,ref:v,onKeyDown:b})});yi.displayName=zv;function Hv(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(jt(n,{select:t}),document.activeElement!==r)return}function Wv(e){const t=yu(e),r=Za(t,e),n=Za(t.reverse(),e);return[r,n]}function yu(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function Za(e,t){for(const r of e)if(!Gv(r,{upTo:t}))return r}function Gv(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Kv(e){return e instanceof HTMLInputElement&&"select"in e}function jt(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Kv(e)&&t&&e.select()}}var el=Uv();function Uv(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=tl(e,t),e.unshift(t)},remove(t){e=tl(e,t),e[0]?.resume()}}}function tl(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function Yv(e){return e.filter(t=>t.tagName!=="A")}var De=globalThis?.document?u.useLayoutEffect:()=>{},Xv=u[" useId ".trim().toString()]||(()=>{}),Jv=0;function tr(e){const[t,r]=u.useState(Xv());return De(()=>{r(n=>n??String(Jv++))},[e]),e||(t?`radix-${t}`:"")}const Qv=["top","right","bottom","left"],It=Math.min,Ge=Math.max,$n=Math.round,hn=Math.floor,dt=e=>({x:e,y:e}),Zv={left:"right",right:"left",bottom:"top",top:"bottom"};function Os(e,t,r){return Ge(e,It(t,r))}function bt(e,t){return typeof e=="function"?e(t):e}function xt(e){return e.split("-")[0]}function wr(e){return e.split("-")[1]}function wi(e){return e==="x"?"y":"x"}function Pi(e){return e==="y"?"height":"width"}function ct(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Ci(e){return wi(ct(e))}function eg(e,t,r){r===void 0&&(r=!1);const n=wr(e),o=Ci(e),s=Pi(o);let i=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=Vn(i)),[i,Vn(i)]}function tg(e){const t=Vn(e);return[Ms(e),t,Ms(t)]}function Ms(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const rl=["left","right"],nl=["right","left"],rg=["top","bottom"],ng=["bottom","top"];function og(e,t,r){switch(e){case"top":case"bottom":return r?t?nl:rl:t?rl:nl;case"left":case"right":return t?rg:ng;default:return[]}}function sg(e,t,r,n){const o=wr(e);let s=og(xt(e),r==="start",n);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(Ms)))),s}function Vn(e){const t=xt(e);return Zv[t]+e.slice(t.length)}function ig(e){return{top:0,right:0,bottom:0,left:0,...e}}function wu(e){return typeof e!="number"?ig(e):{top:e,right:e,bottom:e,left:e}}function zn(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function ol(e,t,r){let{reference:n,floating:o}=e;const s=ct(t),i=Ci(t),a=Pi(i),l=xt(t),d=s==="y",f=n.x+n.width/2-o.width/2,h=n.y+n.height/2-o.height/2,v=n[a]/2-o[a]/2;let m;switch(l){case"top":m={x:f,y:n.y-o.height};break;case"bottom":m={x:f,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:h};break;case"left":m={x:n.x-o.width,y:h};break;default:m={x:n.x,y:n.y}}switch(wr(t)){case"start":m[i]-=v*(r&&d?-1:1);break;case"end":m[i]+=v*(r&&d?-1:1);break}return m}async function ag(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:s,rects:i,elements:a,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:v=!1,padding:m=0}=bt(t,e),b=wu(m),x=a[v?h==="floating"?"reference":"floating":h],y=zn(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(x)))==null||r?x:x.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:d,rootBoundary:f,strategy:l})),g=h==="floating"?{x:n,y:o,width:i.floating.width,height:i.floating.height}:i.reference,w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),P=await(s.isElement==null?void 0:s.isElement(w))?await(s.getScale==null?void 0:s.getScale(w))||{x:1,y:1}:{x:1,y:1},C=zn(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:w,strategy:l}):g);return{top:(y.top-C.top+b.top)/P.y,bottom:(C.bottom-y.bottom+b.bottom)/P.y,left:(y.left-C.left+b.left)/P.x,right:(C.right-y.right+b.right)/P.x}}const lg=50,cg=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:s=[],platform:i}=r,a=i.detectOverflow?i:{...i,detectOverflow:ag},l=await(i.isRTL==null?void 0:i.isRTL(t));let d=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:h}=ol(d,n,l),v=n,m=0;const b={};for(let p=0;p<s.length;p++){const x=s[p];if(!x)continue;const{name:y,fn:g}=x,{x:w,y:P,data:C,reset:N}=await g({x:f,y:h,initialPlacement:n,placement:v,strategy:o,middlewareData:b,rects:d,platform:a,elements:{reference:e,floating:t}});f=w??f,h=P??h,b[y]={...b[y],...C},N&&m<lg&&(m++,typeof N=="object"&&(N.placement&&(v=N.placement),N.rects&&(d=N.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):N.rects),{x:f,y:h}=ol(d,v,l)),p=-1)}return{x:f,y:h,placement:v,strategy:o,middlewareData:b}},ug=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:s,platform:i,elements:a,middlewareData:l}=t,{element:d,padding:f=0}=bt(e,t)||{};if(d==null)return{};const h=wu(f),v={x:r,y:n},m=Ci(o),b=Pi(m),p=await i.getDimensions(d),x=m==="y",y=x?"top":"left",g=x?"bottom":"right",w=x?"clientHeight":"clientWidth",P=s.reference[b]+s.reference[m]-v[m]-s.floating[b],C=v[m]-s.reference[m],N=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d));let q=N?N[w]:0;(!q||!await(i.isElement==null?void 0:i.isElement(N)))&&(q=a.floating[w]||s.floating[b]);const S=P/2-C/2,k=q/2-p[b]/2-1,T=It(h[y],k),E=It(h[g],k),R=T,A=q-p[b]-E,_=q/2-p[b]/2+S,O=Os(R,_,A),I=!l.arrow&&wr(o)!=null&&_!==O&&s.reference[b]/2-(_<R?T:E)-p[b]/2<0,$=I?_<R?_-R:_-A:0;return{[m]:v[m]+$,data:{[m]:O,centerOffset:_-O-$,...I&&{alignmentOffset:$}},reset:I}}}),dg=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:l,elements:d}=t,{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:v,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:p=!0,...x}=bt(e,t);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const y=xt(o),g=ct(a),w=xt(a)===a,P=await(l.isRTL==null?void 0:l.isRTL(d.floating)),C=v||(w||!p?[Vn(a)]:tg(a)),N=b!=="none";!v&&N&&C.push(...sg(a,p,b,P));const q=[a,...C],S=await l.detectOverflow(t,x),k=[];let T=((n=s.flip)==null?void 0:n.overflows)||[];if(f&&k.push(S[y]),h){const _=eg(o,i,P);k.push(S[_[0]],S[_[1]])}if(T=[...T,{placement:o,overflows:k}],!k.every(_=>_<=0)){var E,R;const _=(((E=s.flip)==null?void 0:E.index)||0)+1,O=q[_];if(O&&(!(h==="alignment"?g!==ct(O):!1)||T.every(M=>ct(M.placement)===g?M.overflows[0]>0:!0)))return{data:{index:_,overflows:T},reset:{placement:O}};let I=(R=T.filter($=>$.overflows[0]<=0).sort(($,M)=>$.overflows[1]-M.overflows[1])[0])==null?void 0:R.placement;if(!I)switch(m){case"bestFit":{var A;const $=(A=T.filter(M=>{if(N){const U=ct(M.placement);return U===g||U==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(U=>U>0).reduce((U,D)=>U+D,0)]).sort((M,U)=>M[1]-U[1])[0])==null?void 0:A[0];$&&(I=$);break}case"initialPlacement":I=a;break}if(o!==I)return{reset:{placement:I}}}return{}}}};function sl(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function il(e){return Qv.some(t=>e[t]>=0)}const fg=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r,platform:n}=t,{strategy:o="referenceHidden",...s}=bt(e,t);switch(o){case"referenceHidden":{const i=await n.detectOverflow(t,{...s,elementContext:"reference"}),a=sl(i,r.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:il(a)}}}case"escaped":{const i=await n.detectOverflow(t,{...s,altBoundary:!0}),a=sl(i,r.floating);return{data:{escapedOffsets:a,escaped:il(a)}}}default:return{}}}}},Pu=new Set(["left","top"]);async function hg(e,t){const{placement:r,platform:n,elements:o}=e,s=await(n.isRTL==null?void 0:n.isRTL(o.floating)),i=xt(r),a=wr(r),l=ct(r)==="y",d=Pu.has(i)?-1:1,f=s&&l?-1:1,h=bt(t,e);let{mainAxis:v,crossAxis:m,alignmentAxis:b}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&typeof b=="number"&&(m=a==="end"?b*-1:b),l?{x:m*f,y:v*d}:{x:v*d,y:m*f}}const mg=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:s,placement:i,middlewareData:a}=t,l=await hg(t,e);return i===((r=a.offset)==null?void 0:r.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:{...l,placement:i}}}}},pg=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o,platform:s}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:y=>{let{x:g,y:w}=y;return{x:g,y:w}}},...d}=bt(e,t),f={x:r,y:n},h=await s.detectOverflow(t,d),v=ct(xt(o)),m=wi(v);let b=f[m],p=f[v];if(i){const y=m==="y"?"top":"left",g=m==="y"?"bottom":"right",w=b+h[y],P=b-h[g];b=Os(w,b,P)}if(a){const y=v==="y"?"top":"left",g=v==="y"?"bottom":"right",w=p+h[y],P=p-h[g];p=Os(w,p,P)}const x=l.fn({...t,[m]:b,[v]:p});return{...x,data:{x:x.x-r,y:x.y-n,enabled:{[m]:i,[v]:a}}}}}},vg=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:s,middlewareData:i}=t,{offset:a=0,mainAxis:l=!0,crossAxis:d=!0}=bt(e,t),f={x:r,y:n},h=ct(o),v=wi(h);let m=f[v],b=f[h];const p=bt(a,t),x=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(l){const w=v==="y"?"height":"width",P=s.reference[v]-s.floating[w]+x.mainAxis,C=s.reference[v]+s.reference[w]-x.mainAxis;m<P?m=P:m>C&&(m=C)}if(d){var y,g;const w=v==="y"?"width":"height",P=Pu.has(xt(o)),C=s.reference[h]-s.floating[w]+(P&&((y=i.offset)==null?void 0:y[h])||0)+(P?0:x.crossAxis),N=s.reference[h]+s.reference[w]+(P?0:((g=i.offset)==null?void 0:g[h])||0)-(P?x.crossAxis:0);b<C?b=C:b>N&&(b=N)}return{[v]:m,[h]:b}}}},gg=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:o,rects:s,platform:i,elements:a}=t,{apply:l=()=>{},...d}=bt(e,t),f=await i.detectOverflow(t,d),h=xt(o),v=wr(o),m=ct(o)==="y",{width:b,height:p}=s.floating;let x,y;h==="top"||h==="bottom"?(x=h,y=v===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(y=h,x=v==="end"?"top":"bottom");const g=p-f.top-f.bottom,w=b-f.left-f.right,P=It(p-f[x],g),C=It(b-f[y],w),N=!t.middlewareData.shift;let q=P,S=C;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(S=w),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(q=g),N&&!v){const T=Ge(f.left,0),E=Ge(f.right,0),R=Ge(f.top,0),A=Ge(f.bottom,0);m?S=b-2*(T!==0||E!==0?T+E:Ge(f.left,f.right)):q=p-2*(R!==0||A!==0?R+A:Ge(f.top,f.bottom))}await l({...t,availableWidth:S,availableHeight:q});const k=await i.getDimensions(a.floating);return b!==k.width||p!==k.height?{reset:{rects:!0}}:{}}}};function ro(){return typeof window<"u"}function Pr(e){return Cu(e)?(e.nodeName||"").toLowerCase():"#document"}function Ue(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ft(e){var t;return(t=(Cu(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Cu(e){return ro()?e instanceof Node||e instanceof Ue(e).Node:!1}function et(e){return ro()?e instanceof Element||e instanceof Ue(e).Element:!1}function wt(e){return ro()?e instanceof HTMLElement||e instanceof Ue(e).HTMLElement:!1}function al(e){return!ro()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ue(e).ShadowRoot}function Zr(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=tt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&o!=="inline"&&o!=="contents"}function bg(e){return/^(table|td|th)$/.test(Pr(e))}function no(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const xg=/transform|translate|scale|rotate|perspective|filter/,yg=/paint|layout|strict|content/,Wt=e=>!!e&&e!=="none";let Do;function Si(e){const t=et(e)?tt(e):e;return Wt(t.transform)||Wt(t.translate)||Wt(t.scale)||Wt(t.rotate)||Wt(t.perspective)||!Ni()&&(Wt(t.backdropFilter)||Wt(t.filter))||xg.test(t.willChange||"")||yg.test(t.contain||"")}function wg(e){let t=Ot(e);for(;wt(t)&&!pr(t);){if(Si(t))return t;if(no(t))return null;t=Ot(t)}return null}function Ni(){return Do==null&&(Do=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Do}function pr(e){return/^(html|body|#document)$/.test(Pr(e))}function tt(e){return Ue(e).getComputedStyle(e)}function oo(e){return et(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ot(e){if(Pr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||al(e)&&e.host||ft(e);return al(t)?t.host:t}function Su(e){const t=Ot(e);return pr(t)?e.ownerDocument?e.ownerDocument.body:e.body:wt(t)&&Zr(t)?t:Su(t)}function zr(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=Su(e),s=o===((n=e.ownerDocument)==null?void 0:n.body),i=Ue(o);if(s){const a=Ls(i);return t.concat(i,i.visualViewport||[],Zr(o)?o:[],a&&r?zr(a):[])}else return t.concat(o,zr(o,[],r))}function Ls(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Nu(e){const t=tt(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=wt(e),s=o?e.offsetWidth:r,i=o?e.offsetHeight:n,a=$n(r)!==s||$n(n)!==i;return a&&(r=s,n=i),{width:r,height:n,$:a}}function qi(e){return et(e)?e:e.contextElement}function fr(e){const t=qi(e);if(!wt(t))return dt(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:s}=Nu(t);let i=(s?$n(r.width):r.width)/n,a=(s?$n(r.height):r.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const Pg=dt(0);function qu(e){const t=Ue(e);return!Ni()||!t.visualViewport?Pg:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Cg(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Ue(e)?!1:t}function Xt(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),s=qi(e);let i=dt(1);t&&(n?et(n)&&(i=fr(n)):i=fr(e));const a=Cg(s,r,n)?qu(s):dt(0);let l=(o.left+a.x)/i.x,d=(o.top+a.y)/i.y,f=o.width/i.x,h=o.height/i.y;if(s){const v=Ue(s),m=n&&et(n)?Ue(n):n;let b=v,p=Ls(b);for(;p&&n&&m!==b;){const x=fr(p),y=p.getBoundingClientRect(),g=tt(p),w=y.left+(p.clientLeft+parseFloat(g.paddingLeft))*x.x,P=y.top+(p.clientTop+parseFloat(g.paddingTop))*x.y;l*=x.x,d*=x.y,f*=x.x,h*=x.y,l+=w,d+=P,b=Ue(p),p=Ls(b)}}return zn({width:f,height:h,x:l,y:d})}function so(e,t){const r=oo(e).scrollLeft;return t?t.left+r:Xt(ft(e)).left+r}function ku(e,t){const r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-so(e,r),o=r.top+t.scrollTop;return{x:n,y:o}}function Sg(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const s=o==="fixed",i=ft(n),a=t?no(t.floating):!1;if(n===i||a&&s)return r;let l={scrollLeft:0,scrollTop:0},d=dt(1);const f=dt(0),h=wt(n);if((h||!h&&!s)&&((Pr(n)!=="body"||Zr(i))&&(l=oo(n)),h)){const m=Xt(n);d=fr(n),f.x=m.x+n.clientLeft,f.y=m.y+n.clientTop}const v=i&&!h&&!s?ku(i,l):dt(0);return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-l.scrollLeft*d.x+f.x+v.x,y:r.y*d.y-l.scrollTop*d.y+f.y+v.y}}function Ng(e){return Array.from(e.getClientRects())}function qg(e){const t=ft(e),r=oo(e),n=e.ownerDocument.body,o=Ge(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=Ge(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let i=-r.scrollLeft+so(e);const a=-r.scrollTop;return tt(n).direction==="rtl"&&(i+=Ge(t.clientWidth,n.clientWidth)-o),{width:o,height:s,x:i,y:a}}const ll=25;function kg(e,t){const r=Ue(e),n=ft(e),o=r.visualViewport;let s=n.clientWidth,i=n.clientHeight,a=0,l=0;if(o){s=o.width,i=o.height;const f=Ni();(!f||f&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}const d=so(n);if(d<=0){const f=n.ownerDocument,h=f.body,v=getComputedStyle(h),m=f.compatMode==="CSS1Compat"&&parseFloat(v.marginLeft)+parseFloat(v.marginRight)||0,b=Math.abs(n.clientWidth-h.clientWidth-m);b<=ll&&(s-=b)}else d<=ll&&(s+=d);return{width:s,height:i,x:a,y:l}}function Eg(e,t){const r=Xt(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,s=wt(e)?fr(e):dt(1),i=e.clientWidth*s.x,a=e.clientHeight*s.y,l=o*s.x,d=n*s.y;return{width:i,height:a,x:l,y:d}}function cl(e,t,r){let n;if(t==="viewport")n=kg(e,r);else if(t==="document")n=qg(ft(e));else if(et(t))n=Eg(t,r);else{const o=qu(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return zn(n)}function Eu(e,t){const r=Ot(e);return r===t||!et(r)||pr(r)?!1:tt(r).position==="fixed"||Eu(r,t)}function Rg(e,t){const r=t.get(e);if(r)return r;let n=zr(e,[],!1).filter(a=>et(a)&&Pr(a)!=="body"),o=null;const s=tt(e).position==="fixed";let i=s?Ot(e):e;for(;et(i)&&!pr(i);){const a=tt(i),l=Si(i);!l&&a.position==="fixed"&&(o=null),(s?!l&&!o:!l&&a.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||Zr(i)&&!l&&Eu(e,i))?n=n.filter(f=>f!==i):o=a,i=Ot(i)}return t.set(e,n),n}function jg(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const i=[...r==="clippingAncestors"?no(t)?[]:Rg(t,this._c):[].concat(r),n],a=cl(t,i[0],o);let l=a.top,d=a.right,f=a.bottom,h=a.left;for(let v=1;v<i.length;v++){const m=cl(t,i[v],o);l=Ge(m.top,l),d=It(m.right,d),f=It(m.bottom,f),h=Ge(m.left,h)}return{width:d-h,height:f-l,x:h,y:l}}function Tg(e){const{width:t,height:r}=Nu(e);return{width:t,height:r}}function Ag(e,t,r){const n=wt(t),o=ft(t),s=r==="fixed",i=Xt(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=dt(0);function d(){l.x=so(o)}if(n||!n&&!s)if((Pr(t)!=="body"||Zr(o))&&(a=oo(t)),n){const m=Xt(t,!0,s,t);l.x=m.x+t.clientLeft,l.y=m.y+t.clientTop}else o&&d();s&&!n&&o&&d();const f=o&&!n&&!s?ku(o,a):dt(0),h=i.left+a.scrollLeft-l.x-f.x,v=i.top+a.scrollTop-l.y-f.y;return{x:h,y:v,width:i.width,height:i.height}}function Bo(e){return tt(e).position==="static"}function ul(e,t){if(!wt(e)||tt(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return ft(e)===r&&(r=r.ownerDocument.body),r}function Ru(e,t){const r=Ue(e);if(no(e))return r;if(!wt(e)){let o=Ot(e);for(;o&&!pr(o);){if(et(o)&&!Bo(o))return o;o=Ot(o)}return r}let n=ul(e,t);for(;n&&bg(n)&&Bo(n);)n=ul(n,t);return n&&pr(n)&&Bo(n)&&!Si(n)?r:n||wg(e)||r}const _g=async function(e){const t=this.getOffsetParent||Ru,r=this.getDimensions,n=await r(e.floating);return{reference:Ag(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Ig(e){return tt(e).direction==="rtl"}const Og={convertOffsetParentRelativeRectToViewportRelativeRect:Sg,getDocumentElement:ft,getClippingRect:jg,getOffsetParent:Ru,getElementRects:_g,getClientRects:Ng,getDimensions:Tg,getScale:fr,isElement:et,isRTL:Ig};function ju(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Mg(e,t){let r=null,n;const o=ft(e);function s(){var a;clearTimeout(n),(a=r)==null||a.disconnect(),r=null}function i(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const d=e.getBoundingClientRect(),{left:f,top:h,width:v,height:m}=d;if(a||t(),!v||!m)return;const b=hn(h),p=hn(o.clientWidth-(f+v)),x=hn(o.clientHeight-(h+m)),y=hn(f),w={rootMargin:-b+"px "+-p+"px "+-x+"px "+-y+"px",threshold:Ge(0,It(1,l))||1};let P=!0;function C(N){const q=N[0].intersectionRatio;if(q!==l){if(!P)return i();q?i(!1,q):n=setTimeout(()=>{i(!1,1e-7)},1e3)}q===1&&!ju(d,e.getBoundingClientRect())&&i(),P=!1}try{r=new IntersectionObserver(C,{...w,root:o.ownerDocument})}catch{r=new IntersectionObserver(C,w)}r.observe(e)}return i(!0),s}function Lg(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,d=qi(e),f=o||s?[...d?zr(d):[],...t?zr(t):[]]:[];f.forEach(y=>{o&&y.addEventListener("scroll",r,{passive:!0}),s&&y.addEventListener("resize",r)});const h=d&&a?Mg(d,r):null;let v=-1,m=null;i&&(m=new ResizeObserver(y=>{let[g]=y;g&&g.target===d&&m&&t&&(m.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var w;(w=m)==null||w.observe(t)})),r()}),d&&!l&&m.observe(d),t&&m.observe(t));let b,p=l?Xt(e):null;l&&x();function x(){const y=Xt(e);p&&!ju(p,y)&&r(),p=y,b=requestAnimationFrame(x)}return r(),()=>{var y;f.forEach(g=>{o&&g.removeEventListener("scroll",r),s&&g.removeEventListener("resize",r)}),h?.(),(y=m)==null||y.disconnect(),m=null,l&&cancelAnimationFrame(b)}}const Dg=mg,Bg=pg,Fg=dg,$g=gg,Vg=fg,dl=ug,zg=vg,Hg=(e,t,r)=>{const n=new Map,o={platform:Og,...r},s={...o.platform,_c:n};return cg(e,t,{...o,platform:s})};var Wg=typeof document<"u",Gg=function(){},Tn=Wg?je.useLayoutEffect:Gg;function Hn(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(!Hn(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){const s=o[n];if(!(s==="_owner"&&e.$$typeof)&&!Hn(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function Tu(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function fl(e,t){const r=Tu(e);return Math.round(t*r)/r}function Fo(e){const t=u.useRef(e);return Tn(()=>{t.current=e}),t}function Kg(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:s,floating:i}={},transform:a=!0,whileElementsMounted:l,open:d}=e,[f,h]=u.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[v,m]=u.useState(n);Hn(v,n)||m(n);const[b,p]=u.useState(null),[x,y]=u.useState(null),g=u.useCallback(M=>{M!==N.current&&(N.current=M,p(M))},[]),w=u.useCallback(M=>{M!==q.current&&(q.current=M,y(M))},[]),P=s||b,C=i||x,N=u.useRef(null),q=u.useRef(null),S=u.useRef(f),k=l!=null,T=Fo(l),E=Fo(o),R=Fo(d),A=u.useCallback(()=>{if(!N.current||!q.current)return;const M={placement:t,strategy:r,middleware:v};E.current&&(M.platform=E.current),Hg(N.current,q.current,M).then(U=>{const D={...U,isPositioned:R.current!==!1};_.current&&!Hn(S.current,D)&&(S.current=D,Ur.flushSync(()=>{h(D)}))})},[v,t,r,E,R]);Tn(()=>{d===!1&&S.current.isPositioned&&(S.current.isPositioned=!1,h(M=>({...M,isPositioned:!1})))},[d]);const _=u.useRef(!1);Tn(()=>(_.current=!0,()=>{_.current=!1}),[]),Tn(()=>{if(P&&(N.current=P),C&&(q.current=C),P&&C){if(T.current)return T.current(P,C,A);A()}},[P,C,A,T,k]);const O=u.useMemo(()=>({reference:N,floating:q,setReference:g,setFloating:w}),[g,w]),I=u.useMemo(()=>({reference:P,floating:C}),[P,C]),$=u.useMemo(()=>{const M={position:r,left:0,top:0};if(!I.floating)return M;const U=fl(I.floating,f.x),D=fl(I.floating,f.y);return a?{...M,transform:"translate("+U+"px, "+D+"px)",...Tu(I.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:U,top:D}},[r,a,I.floating,f.x,f.y]);return u.useMemo(()=>({...f,update:A,refs:O,elements:I,floatingStyles:$}),[f,A,O,I,$])}const Ug=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:n,padding:o}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?dl({element:n.current,padding:o}).fn(r):{}:n?dl({element:n,padding:o}).fn(r):{}}}},Yg=(e,t)=>{const r=Dg(e);return{name:r.name,fn:r.fn,options:[e,t]}},Xg=(e,t)=>{const r=Bg(e);return{name:r.name,fn:r.fn,options:[e,t]}},Jg=(e,t)=>({fn:zg(e).fn,options:[e,t]}),Qg=(e,t)=>{const r=Fg(e);return{name:r.name,fn:r.fn,options:[e,t]}},Zg=(e,t)=>{const r=$g(e);return{name:r.name,fn:r.fn,options:[e,t]}},eb=(e,t)=>{const r=Vg(e);return{name:r.name,fn:r.fn,options:[e,t]}},tb=(e,t)=>{const r=Ug(e);return{name:r.name,fn:r.fn,options:[e,t]}};var rb="Arrow",Au=u.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...s}=e;return c.jsx(be.svg,{...s,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:c.jsx("polygon",{points:"0,0 30,0 15,10"})})});Au.displayName=rb;var nb=Au;function io(e){const[t,r]=u.useState(void 0);return De(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let i,a;if("borderBoxSize"in s){const l=s.borderBoxSize,d=Array.isArray(l)?l[0]:l;i=d.inlineSize,a=d.blockSize}else i=e.offsetWidth,a=e.offsetHeight;r({width:i,height:a})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}var ki="Popper",[_u,Cr]=rt(ki),[ob,Iu]=_u(ki),Ou=e=>{const{__scopePopper:t,children:r}=e,[n,o]=u.useState(null);return c.jsx(ob,{scope:t,anchor:n,onAnchorChange:o,children:r})};Ou.displayName=ki;var Mu="PopperAnchor",Lu=u.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,s=Iu(Mu,r),i=u.useRef(null),a=ke(t,i),l=u.useRef(null);return u.useEffect(()=>{const d=l.current;l.current=n?.current||i.current,d!==l.current&&s.onAnchorChange(l.current)}),n?null:c.jsx(be.div,{...o,ref:a})});Lu.displayName=Mu;var Ei="PopperContent",[sb,ib]=_u(Ei),Du=u.forwardRef((e,t)=>{const{__scopePopper:r,side:n="bottom",sideOffset:o=0,align:s="center",alignOffset:i=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:d=[],collisionPadding:f=0,sticky:h="partial",hideWhenDetached:v=!1,updatePositionStrategy:m="optimized",onPlaced:b,...p}=e,x=Iu(Ei,r),[y,g]=u.useState(null),w=ke(t,B=>g(B)),[P,C]=u.useState(null),N=io(P),q=N?.width??0,S=N?.height??0,k=n+(s!=="center"?"-"+s:""),T=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},E=Array.isArray(d)?d:[d],R=E.length>0,A={padding:T,boundary:E.filter(lb),altBoundary:R},{refs:_,floatingStyles:O,placement:I,isPositioned:$,middlewareData:M}=Kg({strategy:"fixed",placement:k,whileElementsMounted:(...B)=>Lg(...B,{animationFrame:m==="always"}),elements:{reference:x.anchor},middleware:[Yg({mainAxis:o+S,alignmentAxis:i}),l&&Xg({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?Jg():void 0,...A}),l&&Qg({...A}),Zg({...A,apply:({elements:B,rects:Q,availableWidth:z,availableHeight:K})=>{const{width:W,height:Z}=Q.reference,ae=B.floating.style;ae.setProperty("--radix-popper-available-width",`${z}px`),ae.setProperty("--radix-popper-available-height",`${K}px`),ae.setProperty("--radix-popper-anchor-width",`${W}px`),ae.setProperty("--radix-popper-anchor-height",`${Z}px`)}}),P&&tb({element:P,padding:a}),cb({arrowWidth:q,arrowHeight:S}),v&&eb({strategy:"referenceHidden",...A})]}),[U,D]=$u(I),G=gt(b);De(()=>{$&&G?.()},[$,G]);const me=M.arrow?.x,te=M.arrow?.y,J=M.arrow?.centerOffset!==0,[H,Y]=u.useState();return De(()=>{y&&Y(window.getComputedStyle(y).zIndex)},[y]),c.jsx("div",{ref:_.setFloating,"data-radix-popper-content-wrapper":"",style:{...O,transform:$?O.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:H,"--radix-popper-transform-origin":[M.transformOrigin?.x,M.transformOrigin?.y].join(" "),...M.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:c.jsx(sb,{scope:r,placedSide:U,onArrowChange:C,arrowX:me,arrowY:te,shouldHideArrow:J,children:c.jsx(be.div,{"data-side":U,"data-align":D,...p,ref:w,style:{...p.style,animation:$?void 0:"none"}})})})});Du.displayName=Ei;var Bu="PopperArrow",ab={top:"bottom",right:"left",bottom:"top",left:"right"},Fu=u.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,s=ib(Bu,n),i=ab[s.placedSide];return c.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:c.jsx(nb,{...o,ref:r,style:{...o.style,display:"block"}})})});Fu.displayName=Bu;function lb(e){return e!==null}var cb=e=>({name:"transformOrigin",options:e,fn(t){const{placement:r,rects:n,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[d,f]=$u(r),h={start:"0%",center:"50%",end:"100%"}[f],v=(o.arrow?.x??0)+a/2,m=(o.arrow?.y??0)+l/2;let b="",p="";return d==="bottom"?(b=i?h:`${v}px`,p=`${-l}px`):d==="top"?(b=i?h:`${v}px`,p=`${n.floating.height+l}px`):d==="right"?(b=`${-l}px`,p=i?h:`${m}px`):d==="left"&&(b=`${n.floating.width+l}px`,p=i?h:`${m}px`),{data:{x:b,y:p}}}});function $u(e){const[t,r="center"]=e.split("-");return[t,r]}var Ri=Ou,ao=Lu,ji=Du,Ti=Fu,ub="Portal",lo=u.forwardRef((e,t)=>{const{container:r,...n}=e,[o,s]=u.useState(!1);De(()=>s(!0),[]);const i=r||o&&globalThis?.document?.body;return i?Tc.createPortal(c.jsx(be.div,{...n,ref:t}),i):null});lo.displayName=ub;function db(e,t){return u.useReducer((r,n)=>t[r][n]??r,e)}var Bt=e=>{const{present:t,children:r}=e,n=fb(t),o=typeof r=="function"?r({present:n.isPresent}):u.Children.only(r),s=ke(n.ref,hb(o));return typeof r=="function"||n.isPresent?u.cloneElement(o,{ref:s}):null};Bt.displayName="Presence";function fb(e){const[t,r]=u.useState(),n=u.useRef(null),o=u.useRef(e),s=u.useRef("none"),i=e?"mounted":"unmounted",[a,l]=db(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return u.useEffect(()=>{const d=mn(n.current);s.current=a==="mounted"?d:"none"},[a]),De(()=>{const d=n.current,f=o.current;if(f!==e){const v=s.current,m=mn(d);e?l("MOUNT"):m==="none"||d?.display==="none"?l("UNMOUNT"):l(f&&v!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),De(()=>{if(t){let d;const f=t.ownerDocument.defaultView??window,h=m=>{const p=mn(n.current).includes(CSS.escape(m.animationName));if(m.target===t&&p&&(l("ANIMATION_END"),!o.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",d=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},v=m=>{m.target===t&&(s.current=mn(n.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{f.clearTimeout(d),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:u.useCallback(d=>{n.current=d?getComputedStyle(d):null,r(d)},[])}}function mn(e){return e?.animationName||"none"}function hb(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var mb=u[" useInsertionEffect ".trim().toString()]||De;function yt({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){const[o,s,i]=pb({defaultProp:t,onChange:r}),a=e!==void 0,l=a?e:o;{const f=u.useRef(e!==void 0);u.useEffect(()=>{const h=f.current;h!==a&&console.warn(`${n} is changing from ${h?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),f.current=a},[a,n])}const d=u.useCallback(f=>{if(a){const h=vb(f)?f(e):f;h!==e&&i.current?.(h)}else s(f)},[a,e,s,i]);return[l,d]}function pb({defaultProp:e,onChange:t}){const[r,n]=u.useState(e),o=u.useRef(r),s=u.useRef(t);return mb(()=>{s.current=t},[t]),u.useEffect(()=>{o.current!==r&&(s.current?.(r),o.current=r)},[r,o]),[r,n,s]}function vb(e){return typeof e=="function"}var gb=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ir=new WeakMap,pn=new WeakMap,vn={},$o=0,Vu=function(e){return e&&(e.host||Vu(e.parentNode))},bb=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Vu(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},xb=function(e,t,r,n){var o=bb(t,Array.isArray(e)?e:[e]);vn[r]||(vn[r]=new WeakMap);var s=vn[r],i=[],a=new Set,l=new Set(o),d=function(h){!h||a.has(h)||(a.add(h),d(h.parentNode))};o.forEach(d);var f=function(h){!h||l.has(h)||Array.prototype.forEach.call(h.children,function(v){if(a.has(v))f(v);else try{var m=v.getAttribute(n),b=m!==null&&m!=="false",p=(ir.get(v)||0)+1,x=(s.get(v)||0)+1;ir.set(v,p),s.set(v,x),i.push(v),p===1&&b&&pn.set(v,!0),x===1&&v.setAttribute(r,"true"),b||v.setAttribute(n,"true")}catch(y){console.error("aria-hidden: cannot operate on ",v,y)}})};return f(t),a.clear(),$o++,function(){i.forEach(function(h){var v=ir.get(h)-1,m=s.get(h)-1;ir.set(h,v),s.set(h,m),v||(pn.has(h)||h.removeAttribute(n),pn.delete(h)),m||h.removeAttribute(r)}),$o--,$o||(ir=new WeakMap,ir=new WeakMap,pn=new WeakMap,vn={})}},zu=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=gb(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live], script"))),xb(n,o,r,"aria-hidden")):function(){return null}},lt=function(){return lt=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},lt.apply(this,arguments)};function Hu(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function yb(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,s;n<o;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return e.concat(s||Array.prototype.slice.call(t))}var An="right-scroll-bar-position",_n="width-before-scroll-bar",wb="with-scroll-bars-hidden",Pb="--removed-body-scroll-bar-size";function Vo(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Cb(e,t){var r=je.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}var Sb=typeof window<"u"?u.useLayoutEffect:u.useEffect,hl=new WeakMap;function Nb(e,t){var r=Cb(null,function(n){return e.forEach(function(o){return Vo(o,n)})});return Sb(function(){var n=hl.get(r);if(n){var o=new Set(n),s=new Set(e),i=r.current;o.forEach(function(a){s.has(a)||Vo(a,null)}),s.forEach(function(a){o.has(a)||Vo(a,i)})}hl.set(r,e)},[e]),r}function qb(e){return e}function kb(e,t){t===void 0&&(t=qb);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(s){var i=t(s,n);return r.push(i),function(){r=r.filter(function(a){return a!==i})}},assignSyncMedium:function(s){for(n=!0;r.length;){var i=r;r=[],i.forEach(s)}r={push:function(a){return s(a)},filter:function(){return r}}},assignMedium:function(s){n=!0;var i=[];if(r.length){var a=r;r=[],a.forEach(s),i=r}var l=function(){var f=i;i=[],f.forEach(s)},d=function(){return Promise.resolve().then(l)};d(),r={push:function(f){i.push(f),d()},filter:function(f){return i=i.filter(f),r}}}};return o}function Eb(e){e===void 0&&(e={});var t=kb(null);return t.options=lt({async:!0,ssr:!1},e),t}var Wu=function(e){var t=e.sideCar,r=Hu(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return u.createElement(n,lt({},r))};Wu.isSideCarExport=!0;function Rb(e,t){return e.useMedium(t),Wu}var Gu=Eb(),zo=function(){},co=u.forwardRef(function(e,t){var r=u.useRef(null),n=u.useState({onScrollCapture:zo,onWheelCapture:zo,onTouchMoveCapture:zo}),o=n[0],s=n[1],i=e.forwardProps,a=e.children,l=e.className,d=e.removeScrollBar,f=e.enabled,h=e.shards,v=e.sideCar,m=e.noRelative,b=e.noIsolation,p=e.inert,x=e.allowPinchZoom,y=e.as,g=y===void 0?"div":y,w=e.gapMode,P=Hu(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=v,N=Nb([r,t]),q=lt(lt({},P),o);return u.createElement(u.Fragment,null,f&&u.createElement(C,{sideCar:Gu,removeScrollBar:d,shards:h,noRelative:m,noIsolation:b,inert:p,setCallbacks:s,allowPinchZoom:!!x,lockRef:r,gapMode:w}),i?u.cloneElement(u.Children.only(a),lt(lt({},q),{ref:N})):u.createElement(g,lt({},q,{className:l,ref:N}),a))});co.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};co.classNames={fullWidth:_n,zeroRight:An};var jb=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Tb(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=jb();return t&&e.setAttribute("nonce",t),e}function Ab(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function _b(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Ib=function(){var e=0,t=null;return{add:function(r){e==0&&(t=Tb())&&(Ab(t,r),_b(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Ob=function(){var e=Ib();return function(t,r){u.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Ku=function(){var e=Ob(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},Mb={left:0,top:0,right:0,gap:0},Ho=function(e){return parseInt(e||"",10)||0},Lb=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Ho(r),Ho(n),Ho(o)]},Db=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Mb;var t=Lb(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},Bb=Ku(),hr="data-scroll-locked",Fb=function(e,t,r,n){var o=e.left,s=e.top,i=e.right,a=e.gap;return r===void 0&&(r="margin"),`
|
|
2
|
+
.`.concat(wb,` {
|
|
3
3
|
overflow: hidden `).concat(n,`;
|
|
4
4
|
padding-right: `).concat(a,"px ").concat(n,`;
|
|
5
5
|
}
|
|
6
|
-
body[`).concat(
|
|
6
|
+
body[`).concat(hr,`] {
|
|
7
7
|
overflow: hidden `).concat(n,`;
|
|
8
8
|
overscroll-behavior: contain;
|
|
9
9
|
`).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&`
|
|
@@ -16,33 +16,33 @@
|
|
|
16
16
|
`),r==="padding"&&"padding-right: ".concat(a,"px ").concat(n,";")].filter(Boolean).join(""),`
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
.`).concat(
|
|
19
|
+
.`).concat(An,` {
|
|
20
20
|
right: `).concat(a,"px ").concat(n,`;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.`).concat(
|
|
23
|
+
.`).concat(_n,` {
|
|
24
24
|
margin-right: `).concat(a,"px ").concat(n,`;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.`).concat(
|
|
27
|
+
.`).concat(An," .").concat(An,` {
|
|
28
28
|
right: 0 `).concat(n,`;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.`).concat(
|
|
31
|
+
.`).concat(_n," .").concat(_n,` {
|
|
32
32
|
margin-right: 0 `).concat(n,`;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
body[`).concat(
|
|
36
|
-
`).concat(
|
|
35
|
+
body[`).concat(hr,`] {
|
|
36
|
+
`).concat(Pb,": ").concat(a,`px;
|
|
37
37
|
}
|
|
38
|
-
`)},
|
|
38
|
+
`)},ml=function(){var e=parseInt(document.body.getAttribute(hr)||"0",10);return isFinite(e)?e:0},$b=function(){u.useEffect(function(){return document.body.setAttribute(hr,(ml()+1).toString()),function(){var e=ml()-1;e<=0?document.body.removeAttribute(hr):document.body.setAttribute(hr,e.toString())}},[])},Vb=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n;$b();var s=u.useMemo(function(){return Db(o)},[o]);return u.createElement(Bb,{styles:Fb(s,!t,o,r?"":"!important")})},Ds=!1;if(typeof window<"u")try{var gn=Object.defineProperty({},"passive",{get:function(){return Ds=!0,!0}});window.addEventListener("test",gn,gn),window.removeEventListener("test",gn,gn)}catch{Ds=!1}var ar=Ds?{passive:!1}:!1,zb=function(e){return e.tagName==="TEXTAREA"},Uu=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!zb(e)&&r[t]==="visible")},Hb=function(e){return Uu(e,"overflowY")},Wb=function(e){return Uu(e,"overflowX")},pl=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var o=Yu(e,n);if(o){var s=Xu(e,n),i=s[1],a=s[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},Gb=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},Kb=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},Yu=function(e,t){return e==="v"?Hb(t):Wb(t)},Xu=function(e,t){return e==="v"?Gb(t):Kb(t)},Ub=function(e,t){return e==="h"&&t==="rtl"?-1:1},Yb=function(e,t,r,n,o){var s=Ub(e,window.getComputedStyle(t).direction),i=s*n,a=r.target,l=t.contains(a),d=!1,f=i>0,h=0,v=0;do{if(!a)break;var m=Xu(e,a),b=m[0],p=m[1],x=m[2],y=p-x-s*b;(b||y)&&Yu(e,a)&&(h+=y,v+=b);var g=a.parentNode;a=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(f&&Math.abs(h)<1||!f&&Math.abs(v)<1)&&(d=!0),d},bn=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},vl=function(e){return[e.deltaX,e.deltaY]},gl=function(e){return e&&"current"in e?e.current:e},Xb=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Jb=function(e){return`
|
|
39
39
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
40
40
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
41
|
-
`)},Mb=0,ar=[];function Lb(e){var t=d.useRef([]),r=d.useRef([0,0]),n=d.useRef(),o=d.useState(Mb++)[0],s=d.useState(Mu)[0],i=d.useRef(e);d.useEffect(function(){i.current=e},[e]),d.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var p=ob([e.lockRef.current],(e.shards||[]).map(cl),!0).filter(Boolean);return p.forEach(function(x){return x.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),p.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=d.useCallback(function(p,x){if("touches"in p&&p.touches.length===2||p.type==="wheel"&&p.ctrlKey)return!i.current.allowPinchZoom;var y=vn(p),g=r.current,P="deltaX"in p?p.deltaX:g[0]-y[0],w="deltaY"in p?p.deltaY:g[1]-y[1],S,N=p.target,C=Math.abs(P)>Math.abs(w)?"h":"v";if("touches"in p&&C==="h"&&N.type==="range")return!1;var q=window.getSelection(),k=q&&q.anchorNode,A=k?k===N||k.contains(N):!1;if(A)return!1;var E=al(C,N);if(!E)return!0;if(E?S=C:(S=C==="v"?"h":"v",E=al(C,N)),!E)return!1;if(!n.current&&"changedTouches"in p&&(P||w)&&(n.current=S),!S)return!0;var R=n.current||S;return Tb(R,x,p,R==="h"?P:w)},[]),l=d.useCallback(function(p){var x=p;if(!(!ar.length||ar[ar.length-1]!==s)){var y="deltaY"in x?ll(x):vn(x),g=t.current.filter(function(S){return S.name===x.type&&(S.target===x.target||x.target===S.shadowParent)&&Ib(S.delta,y)})[0];if(g&&g.should){x.cancelable&&x.preventDefault();return}if(!g){var P=(i.current.shards||[]).map(cl).filter(Boolean).filter(function(S){return S.contains(x.target)}),w=P.length>0?a(x,P[0]):!i.current.noIsolation;w&&x.cancelable&&x.preventDefault()}}},[]),u=d.useCallback(function(p,x,y,g){var P={name:p,delta:x,target:y,should:g,shadowParent:Db(y)};t.current.push(P),setTimeout(function(){t.current=t.current.filter(function(w){return w!==P})},1)},[]),f=d.useCallback(function(p){r.current=vn(p),n.current=void 0},[]),h=d.useCallback(function(p){u(p.type,ll(p),p.target,a(p,e.lockRef.current))},[]),v=d.useCallback(function(p){u(p.type,vn(p),p.target,a(p,e.lockRef.current))},[]);d.useEffect(function(){return ar.push(s),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:v}),document.addEventListener("wheel",l,ir),document.addEventListener("touchmove",l,ir),document.addEventListener("touchstart",f,ir),function(){ar=ar.filter(function(p){return p!==s}),document.removeEventListener("wheel",l,ir),document.removeEventListener("touchmove",l,ir),document.removeEventListener("touchstart",f,ir)}},[]);var m=e.removeScrollBar,b=e.inert;return d.createElement(d.Fragment,null,b?d.createElement(s,{styles:Ob(o)}):null,m?d.createElement(qb,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Db(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Bb=hb(Ou,Lb);var Si=d.forwardRef(function(e,t){return d.createElement(oo,at({},e,{ref:t,sideCar:Bb}))});Si.classNames=oo.classNames;var so="Popover",[Fu]=tt(so,[Pr]),Qr=Pr(),[Fb,Bt]=Fu(so),$u=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:s,modal:i=!1}=e,a=Qr(t),l=d.useRef(null),[u,f]=d.useState(!1),[h,v]=xt({prop:n,defaultProp:o??!1,onChange:s,caller:so});return c.jsx(Pi,{...a,children:c.jsx(Fb,{scope:t,contentId:er(),triggerRef:l,open:h,onOpenChange:v,onOpenToggle:d.useCallback(()=>v(m=>!m),[v]),hasCustomAnchor:u,onCustomAnchorAdd:d.useCallback(()=>f(!0),[]),onCustomAnchorRemove:d.useCallback(()=>f(!1),[]),modal:i,children:r})})};$u.displayName=so;var Vu="PopoverAnchor",zu=d.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Bt(Vu,r),s=Qr(r),{onCustomAnchorAdd:i,onCustomAnchorRemove:a}=o;return d.useEffect(()=>(i(),()=>a()),[i,a]),c.jsx(ro,{...s,...n,ref:t})});zu.displayName=Vu;var Hu="PopoverTrigger",Wu=d.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Bt(Hu,r),s=Qr(r),i=ke(t,o.triggerRef),a=c.jsx(be.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Ju(o.open),...n,ref:i,onClick:ce(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?a:c.jsx(ro,{asChild:!0,...s,children:a})});Wu.displayName=Hu;var Ni="PopoverPortal",[$b,Vb]=Fu(Ni,{forceMount:void 0}),Gu=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,s=Bt(Ni,t);return c.jsx($b,{scope:t,forceMount:r,children:c.jsx(Dt,{present:r||s.open,children:c.jsx(no,{asChild:!0,container:o,children:n})})})};Gu.displayName=Ni;var mr="PopoverContent",Ku=d.forwardRef((e,t)=>{const r=Vb(mr,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,s=Bt(mr,e.__scopePopover);return c.jsx(Dt,{present:n||s.open,children:s.modal?c.jsx(Hb,{...o,ref:t}):c.jsx(Wb,{...o,ref:t})})});Ku.displayName=mr;var zb=Fr("PopoverContent.RemoveScroll"),Hb=d.forwardRef((e,t)=>{const r=Bt(mr,e.__scopePopover),n=d.useRef(null),o=ke(t,n),s=d.useRef(!1);return d.useEffect(()=>{const i=n.current;if(i)return _u(i)},[]),c.jsx(Si,{as:zb,allowPinchZoom:!0,children:c.jsx(Uu,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ce(e.onCloseAutoFocus,i=>{i.preventDefault(),s.current||r.triggerRef.current?.focus()}),onPointerDownOutside:ce(e.onPointerDownOutside,i=>{const a=i.detail.originalEvent,l=a.button===0&&a.ctrlKey===!0,u=a.button===2||l;s.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:ce(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})})}),Wb=d.forwardRef((e,t)=>{const r=Bt(mr,e.__scopePopover),n=d.useRef(!1),o=d.useRef(!1);return c.jsx(Uu,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{e.onCloseAutoFocus?.(s),s.defaultPrevented||(n.current||r.triggerRef.current?.focus(),s.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:s=>{e.onInteractOutside?.(s),s.defaultPrevented||(n.current=!0,s.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const i=s.target;r.triggerRef.current?.contains(i)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&o.current&&s.preventDefault()}})}),Uu=d.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:s,disableOutsidePointerEvents:i,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:f,...h}=e,v=Bt(mr,r),m=Qr(r);return lu(),c.jsx(fi,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:s,children:c.jsx(Xn,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:f,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>v.onOpenChange(!1),children:c.jsx(wi,{"data-state":Ju(v.open),role:"dialog",id:v.contentId,...m,...h,ref:t,style:{...h.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),Yu="PopoverClose",Xu=d.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Bt(Yu,r);return c.jsx(be.button,{type:"button",...n,ref:t,onClick:ce(e.onClick,()=>o.onOpenChange(!1))})});Xu.displayName=Yu;var Gb="PopoverArrow",Kb=d.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Qr(r);return c.jsx(Ci,{...o,...n,ref:t})});Kb.displayName=Gb;function Ju(e){return e?"open":"closed"}var Ub=$u,Yb=zu,Ts=Wu,Xb=Gu,Jb=Ku,Is=Xu;function Qb(e){if(e!==void 0)return{width:typeof e=="number"?`${e}px`:e}}function Qu(e){const t=se();return X(e,t)}const Zu=Ub,qi=d.forwardRef((e,t)=>{const{asChild:r,asChildWrapper:n="span",children:o,className:s,class:i,sx:a,style:l,...u}=e,{sxClassName:f,sxInlineStyle:h}=Qu(a),v=j(f,s,i),m=M(l,h);return r?c.jsx(Ts,{asChild:!0,...u,children:c.jsx(n,{ref:t,className:j("inline-flex w-fit",v),style:m,children:o})}):c.jsx(Ts,{ref:t,className:v,style:m,...u,children:o})});qi.displayName=Ts.displayName;const Zb=Yb,ed=d.forwardRef((e,t)=>{const{asChild:r,asChildWrapper:n="span",children:o,className:s,class:i,sx:a,style:l,...u}=e,{sxClassName:f,sxInlineStyle:h}=Qu(a),v=j(f,s,i),m=M(l,h);return r?c.jsx(Is,{asChild:!0,...u,children:c.jsx(n,{ref:t,className:j("inline-flex w-fit",v),style:m,children:o})}):c.jsx(Is,{ref:t,className:v,style:m,...u,children:o})});ed.displayName=Is.displayName;const ki=d.forwardRef((e,t)=>{const{align:r="center",sideOffset:n=6,width:o=288,rounded:s="lg",shadow:i="md",sx:a,style:l,className:u,class:f,...h}=e,v=se(),{roundedPreset:m,roundedStyle:b}=Qt(s),{shadowPreset:p,shadowStyle:x}=Kr(i),{sxClassName:y,sxInlineStyle:g}=X(a,v);return c.jsx(Xb,{children:c.jsx(Jb,{ref:t,align:r,sideOffset:n,className:j("z-50 border border-gray-200 bg-white p-4 text-sm text-gray-900 outline-none","origin-[--radix-popover-content-transform-origin]","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]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",m&&Ot[m],p&&gr[p],y,u,f),style:M(l,Qb(o),b,x,g),...h})})});ki.displayName="PopoverContent";var td=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),ex="VisuallyHidden",rd=d.forwardRef((e,t)=>c.jsx(be.span,{...e,ref:t,style:{...td,...e.style}}));rd.displayName=ex;var tx=rd,[io]=tt("Tooltip",[Pr]),ao=Pr(),nd="TooltipProvider",rx=700,Os="tooltip.open",[nx,Ei]=io(nd),od=e=>{const{__scopeTooltip:t,delayDuration:r=rx,skipDelayDuration:n=300,disableHoverableContent:o=!1,children:s}=e,i=d.useRef(!0),a=d.useRef(!1),l=d.useRef(0);return d.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),c.jsx(nx,{scope:t,isOpenDelayedRef:i,delayDuration:r,onOpen:d.useCallback(()=>{window.clearTimeout(l.current),i.current=!1},[]),onClose:d.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>i.current=!0,n)},[n]),isPointerInTransitRef:a,onPointerInTransitChange:d.useCallback(u=>{a.current=u},[]),disableHoverableContent:o,children:s})};od.displayName=nd;var Vr="Tooltip",[ox,Zr]=io(Vr),sd=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o,onOpenChange:s,disableHoverableContent:i,delayDuration:a}=e,l=Ei(Vr,e.__scopeTooltip),u=ao(t),[f,h]=d.useState(null),v=er(),m=d.useRef(0),b=i??l.disableHoverableContent,p=a??l.delayDuration,x=d.useRef(!1),[y,g]=xt({prop:n,defaultProp:o??!1,onChange:C=>{C?(l.onOpen(),document.dispatchEvent(new CustomEvent(Os))):l.onClose(),s?.(C)},caller:Vr}),P=d.useMemo(()=>y?x.current?"delayed-open":"instant-open":"closed",[y]),w=d.useCallback(()=>{window.clearTimeout(m.current),m.current=0,x.current=!1,g(!0)},[g]),S=d.useCallback(()=>{window.clearTimeout(m.current),m.current=0,g(!1)},[g]),N=d.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{x.current=!0,g(!0),m.current=0},p)},[p,g]);return d.useEffect(()=>()=>{m.current&&(window.clearTimeout(m.current),m.current=0)},[]),c.jsx(Pi,{...u,children:c.jsx(ox,{scope:t,contentId:v,open:y,stateAttribute:P,trigger:f,onTriggerChange:h,onTriggerEnter:d.useCallback(()=>{l.isOpenDelayedRef.current?N():w()},[l.isOpenDelayedRef,N,w]),onTriggerLeave:d.useCallback(()=>{b?S():(window.clearTimeout(m.current),m.current=0)},[S,b]),onOpen:w,onClose:S,disableHoverableContent:b,children:r})})};sd.displayName=Vr;var Ms="TooltipTrigger",id=d.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=Zr(Ms,r),s=Ei(Ms,r),i=ao(r),a=d.useRef(null),l=ke(t,a,o.onTriggerChange),u=d.useRef(!1),f=d.useRef(!1),h=d.useCallback(()=>u.current=!1,[]);return d.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),c.jsx(ro,{asChild:!0,...i,children:c.jsx(be.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...n,ref:l,onPointerMove:ce(e.onPointerMove,v=>{v.pointerType!=="touch"&&!f.current&&!s.isPointerInTransitRef.current&&(o.onTriggerEnter(),f.current=!0)}),onPointerLeave:ce(e.onPointerLeave,()=>{o.onTriggerLeave(),f.current=!1}),onPointerDown:ce(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:ce(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:ce(e.onBlur,o.onClose),onClick:ce(e.onClick,o.onClose)})})});id.displayName=Ms;var Ri="TooltipPortal",[sx,ix]=io(Ri,{forceMount:void 0}),ad=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:o}=e,s=Zr(Ri,t);return c.jsx(sx,{scope:t,forceMount:r,children:c.jsx(Dt,{present:r||s.open,children:c.jsx(no,{asChild:!0,container:o,children:n})})})};ad.displayName=Ri;var pr="TooltipContent",ld=d.forwardRef((e,t)=>{const r=ix(pr,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...s}=e,i=Zr(pr,e.__scopeTooltip);return c.jsx(Dt,{present:n||i.open,children:i.disableHoverableContent?c.jsx(cd,{side:o,...s,ref:t}):c.jsx(ax,{side:o,...s,ref:t})})}),ax=d.forwardRef((e,t)=>{const r=Zr(pr,e.__scopeTooltip),n=Ei(pr,e.__scopeTooltip),o=d.useRef(null),s=ke(t,o),[i,a]=d.useState(null),{trigger:l,onClose:u}=r,f=o.current,{onPointerInTransitChange:h}=n,v=d.useCallback(()=>{a(null),h(!1)},[h]),m=d.useCallback((b,p)=>{const x=b.currentTarget,y={x:b.clientX,y:b.clientY},g=dx(y,x.getBoundingClientRect()),P=fx(y,g),w=hx(p.getBoundingClientRect()),S=px([...P,...w]);a(S),h(!0)},[h]);return d.useEffect(()=>()=>v(),[v]),d.useEffect(()=>{if(l&&f){const b=x=>m(x,f),p=x=>m(x,l);return l.addEventListener("pointerleave",b),f.addEventListener("pointerleave",p),()=>{l.removeEventListener("pointerleave",b),f.removeEventListener("pointerleave",p)}}},[l,f,m,v]),d.useEffect(()=>{if(i){const b=p=>{const x=p.target,y={x:p.clientX,y:p.clientY},g=l?.contains(x)||f?.contains(x),P=!mx(y,i);g?v():P&&(v(),u())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[l,f,i,u,v]),c.jsx(cd,{...e,ref:s})}),[lx,cx]=io(Vr,{isInside:!1}),ux=hv("TooltipContent"),cd=d.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:i,...a}=e,l=Zr(pr,r),u=ao(r),{onClose:f}=l;return d.useEffect(()=>(document.addEventListener(Os,f),()=>document.removeEventListener(Os,f)),[f]),d.useEffect(()=>{if(l.trigger){const h=v=>{v.target?.contains(l.trigger)&&f()};return window.addEventListener("scroll",h,{capture:!0}),()=>window.removeEventListener("scroll",h,{capture:!0})}},[l.trigger,f]),c.jsx(Xn,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:h=>h.preventDefault(),onDismiss:f,children:c.jsxs(wi,{"data-state":l.stateAttribute,...u,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[c.jsx(ux,{children:n}),c.jsx(lx,{scope:r,isInside:!0,children:c.jsx(tx,{id:l.contentId,role:"tooltip",children:o||n})})]})})});ld.displayName=pr;var ud="TooltipArrow",dd=d.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=ao(r);return cx(ud,r).isInside?null:c.jsx(Ci,{...o,...n,ref:t})});dd.displayName=ud;function dx(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(r,n,o,s)){case s:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function fx(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return n}function hx(e){const{top:t,right:r,bottom:n,left:o}=e;return[{x:o,y:t},{x:r,y:t},{x:r,y:n},{x:o,y:n}]}function mx(e,t){const{x:r,y:n}=e;let o=!1;for(let s=0,i=t.length-1;s<t.length;i=s++){const a=t[s],l=t[i],u=a.x,f=a.y,h=l.x,v=l.y;f>n!=v>n&&r<(h-u)*(n-f)/(v-f)+u&&(o=!o)}return o}function px(e){const t=e.slice();return t.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),vx(t)}function vx(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const o=e[n];for(;t.length>=2;){const s=t[t.length-1],i=t[t.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))t.pop();else break}t.push(o)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const o=e[n];for(;r.length>=2;){const s=r[r.length-1],i=r[r.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))r.pop();else break}r.push(o)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var gx=od,bx=sd,Ls=id,xx=ad,fd=ld,hd=dd;const yx={dark:"border-gray-900 bg-gray-950 text-white",light:"border-gray-200 bg-white text-gray-900",primary:"border-blue-600 bg-blue-600 text-white"},Px={dark:"fill-gray-950",light:"fill-white",primary:"fill-blue-600"},wx=({delayDuration:e=0,...t})=>c.jsx(gx,{delayDuration:e,...t}),Cx=bx,Sx=xx,md=d.forwardRef((e,t)=>{const{asChild:r,asChildWrapper:n="span",children:o,className:s,class:i,sx:a,style:l,...u}=e,f=se(),{sxClassName:h,sxInlineStyle:v}=X(a,f),m=j(h,s,i),b=M(l,v);return r?c.jsx(Ls,{asChild:!0,...u,children:c.jsx(n,{ref:t,className:j("inline-flex w-fit",m),style:b,children:o})}):c.jsx(Ls,{ref:t,className:m,style:b,...u,children:o})});md.displayName=Ls.displayName;const ji=d.forwardRef((e,t)=>{const{tone:r="dark",className:n,class:o,sx:s,style:i,...a}=e,l=se(),{sxClassName:u,sxInlineStyle:f}=X(s,l);return c.jsx(hd,{ref:t,className:j(Px[r],u,n,o),style:M(i,f),...a})});ji.displayName=hd.displayName;const pd=d.forwardRef((e,t)=>{const{tone:r="dark",arrow:n=!1,sideOffset:o=6,className:s,class:i,sx:a,style:l,children:u,...f}=e,h=se(),{sxClassName:v,sxInlineStyle:m}=X(a,h);return c.jsxs(fd,{ref:t,sideOffset:o,className:j("z-50 max-w-xs rounded-md border px-3 py-1.5 text-sm leading-5 shadow-md outline-none","origin-[--radix-tooltip-content-transform-origin]","animate-in fade-in-0 zoom-in-95","data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",yx[r],v,s,i),style:M(l,m),...f,children:[u,n?c.jsx(ji,{tone:r}):null]})});pd.displayName=fd.displayName;const Nx={info(e){return _r.info(e)},success(e){return _r.success(e)},warn(e){return _r.warn(e)},error(e){return _r.error(e)}};function vd(e){const{size:t=18,className:r,class:n,style:o,...s}=e;return c.jsx("span",{className:j("inline-block animate-spin rounded-full border-2 border-slate-200 border-t-blue-600",r,n),style:{width:t,height:t,...o},...s})}function qx({text:e="加载中..."}){return c.jsxs("div",{className:"inline-flex items-center gap-2 text-slate-600",children:[c.jsx(vd,{}),c.jsx("span",{children:e})]})}function kx(e){const{open:t,title:r,width:n=360,className:o,class:s,children:i,onOpenChange:a}=e;return t?c.jsxs("div",{className:"fixed inset-0 z-50",children:[c.jsx("div",{className:"absolute inset-0 bg-black/45",onClick:()=>a?.(!1)}),c.jsxs("div",{className:j("absolute right-0 top-0 h-full bg-white p-4 shadow-xl",o,s),style:{width:n},children:[r?c.jsx("div",{className:"mb-3 text-base font-medium",children:r}):null,i]})]}):null}const Ex={info:"border-blue-200 bg-blue-50 text-blue-800",success:"border-emerald-200 bg-emerald-50 text-emerald-800",warning:"border-amber-200 bg-amber-50 text-amber-800",error:"border-rose-200 bg-rose-50 text-rose-800"};function Rx(e){const{className:t,class:r,variant:n="info",title:o,description:s,children:i,...a}=e;return c.jsxs("div",{className:j("rounded-md border p-3",Ex[n],t,r),...a,children:[o?c.jsx("div",{className:"font-medium",children:o}):null,s?c.jsx("div",{className:"mt-1 text-sm",children:s}):i]})}function jx(e){const{value:t=0,max:r=100,showInfo:n=!1,className:o,class:s,...i}=e,a=Math.max(0,Math.min(100,t/r*100));return c.jsxs("div",{className:j("w-full",o,s),...i,children:[c.jsx("div",{className:"h-2 w-full overflow-hidden rounded-full bg-slate-200",children:c.jsx("div",{className:"h-full bg-blue-600 transition-all",style:{width:`${a}%`}})}),n?c.jsxs("div",{className:"mt-1 text-xs text-slate-500",children:[Math.round(a),"%"]}):null]})}function lo(e){const t=d.useRef({value:e,previous:e});return d.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var co="Checkbox",[Ax]=tt(co),[_x,Ai]=Ax(co);function Tx(e){const{__scopeCheckbox:t,checked:r,children:n,defaultChecked:o,disabled:s,form:i,name:a,onCheckedChange:l,required:u,value:f="on",internal_do_not_use_render:h}=e,[v,m]=xt({prop:r,defaultProp:o??!1,onChange:l,caller:co}),[b,p]=d.useState(null),[x,y]=d.useState(null),g=d.useRef(!1),P=b?!!i||!!b.closest("form"):!0,w={checked:v,disabled:s,setChecked:m,control:b,setControl:p,name:a,form:i,value:f,hasConsumerStoppedPropagationRef:g,required:u,defaultChecked:_t(o)?!1:o,isFormControl:P,bubbleInput:x,setBubbleInput:y};return c.jsx(_x,{scope:t,...w,children:Ix(h)?h(w):n})}var gd="CheckboxTrigger",bd=d.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:r,...n},o)=>{const{control:s,value:i,disabled:a,checked:l,required:u,setControl:f,setChecked:h,hasConsumerStoppedPropagationRef:v,isFormControl:m,bubbleInput:b}=Ai(gd,e),p=ke(o,f),x=d.useRef(l);return d.useEffect(()=>{const y=s?.form;if(y){const g=()=>h(x.current);return y.addEventListener("reset",g),()=>y.removeEventListener("reset",g)}},[s,h]),c.jsx(be.button,{type:"button",role:"checkbox","aria-checked":_t(l)?"mixed":l,"aria-required":u,"data-state":Sd(l),"data-disabled":a?"":void 0,disabled:a,value:i,...n,ref:p,onKeyDown:ce(t,y=>{y.key==="Enter"&&y.preventDefault()}),onClick:ce(r,y=>{h(g=>_t(g)?!0:!g),b&&m&&(v.current=y.isPropagationStopped(),v.current||y.stopPropagation())})})});bd.displayName=gd;var xd=d.forwardRef((e,t)=>{const{__scopeCheckbox:r,name:n,checked:o,defaultChecked:s,required:i,disabled:a,value:l,onCheckedChange:u,form:f,...h}=e;return c.jsx(Tx,{__scopeCheckbox:r,checked:o,defaultChecked:s,disabled:a,required:i,onCheckedChange:u,name:n,form:f,value:l,internal_do_not_use_render:({isFormControl:v})=>c.jsxs(c.Fragment,{children:[c.jsx(bd,{...h,ref:t,__scopeCheckbox:r}),v&&c.jsx(Cd,{__scopeCheckbox:r})]})})});xd.displayName=co;var yd="CheckboxIndicator",Pd=d.forwardRef((e,t)=>{const{__scopeCheckbox:r,forceMount:n,...o}=e,s=Ai(yd,r);return c.jsx(Dt,{present:n||_t(s.checked)||s.checked===!0,children:c.jsx(be.span,{"data-state":Sd(s.checked),"data-disabled":s.disabled?"":void 0,...o,ref:t,style:{pointerEvents:"none",...e.style}})})});Pd.displayName=yd;var wd="CheckboxBubbleInput",Cd=d.forwardRef(({__scopeCheckbox:e,...t},r)=>{const{control:n,hasConsumerStoppedPropagationRef:o,checked:s,defaultChecked:i,required:a,disabled:l,name:u,value:f,form:h,bubbleInput:v,setBubbleInput:m}=Ai(wd,e),b=ke(r,m),p=lo(s),x=to(n);d.useEffect(()=>{const g=v;if(!g)return;const P=window.HTMLInputElement.prototype,S=Object.getOwnPropertyDescriptor(P,"checked").set,N=!o.current;if(p!==s&&S){const C=new Event("click",{bubbles:N});g.indeterminate=_t(s),S.call(g,_t(s)?!1:s),g.dispatchEvent(C)}},[v,p,s,o]);const y=d.useRef(_t(s)?!1:s);return c.jsx(be.input,{type:"checkbox","aria-hidden":!0,defaultChecked:i??y.current,required:a,disabled:l,name:u,value:f,form:h,...t,tabIndex:-1,ref:b,style:{...t.style,...x,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});Cd.displayName=wd;function Ix(e){return typeof e=="function"}function _t(e){return e==="indeterminate"}function Sd(e){return _t(e)?"indeterminate":e?"checked":"unchecked"}const Nd=d.createContext(null);function Ox(e){return d.createElement(Nd.Provider,{value:e.value},e.children)}function Mx(){return d.useContext(Nd)}const Lx=()=>c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",className:"checkbox-check h-3 w-3",fill:"none",children:c.jsx("path",{d:"M3.5 8.5L6.5 11.5L12.5 4.5",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round"})}),Dx=()=>c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",className:"checkbox-minus h-3 w-3",fill:"none",children:c.jsx("path",{d:"M4 8H12",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round"})}),en=d.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,children:i,checked:a,disabled:l,name:u,onCheckedChange:f,value:h,...v}=e,m=se(),{sxClassName:b,sxInlineStyle:p}=X(o,m),x=Mx(),y=typeof h=="string"?h:void 0,g=!!(x&&y!==void 0),P=a??(g?x?.selectedValues.has(y):void 0),w=l||(g?x?.disabled:!1),S=u??(g?x?.name:void 0);return c.jsx(xd,{ref:t,checked:P,disabled:w,name:S,onCheckedChange:N=>{f?.(N),g&&a===void 0&&x?.toggleValue(y,N===!0)},value:h,className:j("peer inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-[4px] border border-solid border-slate-300 bg-white text-white transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50","data-[state=checked]:border-blue-600 data-[state=checked]:bg-blue-600","data-[state=indeterminate]:border-blue-600 data-[state=indeterminate]:bg-blue-600",b,r,n),style:M(s,p),...v,children:i??c.jsxs(Pd,{className:j("inline-flex h-4 w-4 items-center justify-center text-current","[&[data-state=checked]_.checkbox-minus]:hidden","[&[data-state=indeterminate]_.checkbox-check]:hidden"),children:[c.jsx(Lx,{}),c.jsx(Dx,{})]})})});en.displayName="Checkbox";var Bx=Symbol.for("react.lazy"),Fn=d[" use ".trim().toString()];function Fx(e){return typeof e=="object"&&e!==null&&"then"in e}function qd(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Bx&&"_payload"in e&&Fx(e._payload)}function $x(e){const t=Vx(e),r=d.forwardRef((n,o)=>{let{children:s,...i}=n;qd(s)&&typeof Fn=="function"&&(s=Fn(s._payload));const a=d.Children.toArray(s),l=a.find(Hx);if(l){const u=l.props.children,f=a.map(h=>h===l?d.Children.count(u)>1?d.Children.only(null):d.isValidElement(u)?u.props.children:null:h);return c.jsx(t,{...i,ref:o,children:d.isValidElement(u)?d.cloneElement(u,void 0,f):null})}return c.jsx(t,{...i,ref:o,children:s})});return r.displayName=`${e}.Slot`,r}function Vx(e){const t=d.forwardRef((r,n)=>{let{children:o,...s}=r;if(qd(o)&&typeof Fn=="function"&&(o=Fn(o._payload)),d.isValidElement(o)){const i=Gx(o),a=Wx(s,o.props);return o.type!==d.Fragment&&(a.ref=n?di(n,i):i),d.cloneElement(o,a)}return d.Children.count(o)>1?d.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var zx=Symbol("radix.slottable");function Hx(e){return d.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===zx}function Wx(e,t){const r={...t};for(const n in t){const o=e[n],s=t[n];/^on[A-Z]/.test(n)?o&&s?r[n]=(...a)=>{const l=s(...a);return o(...a),l}:o&&(r[n]=o):n==="style"?r[n]={...o,...s}:n==="className"&&(r[n]=[o,s].filter(Boolean).join(" "))}return{...e,...r}}function Gx(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Kx=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],uo=Kx.reduce((e,t)=>{const r=$x(`Primitive.${t}`),n=d.forwardRef((o,s)=>{const{asChild:i,...a}=o,l=i?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(l,{...a,ref:s})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),Ux="Label",kd=d.forwardRef((e,t)=>c.jsx(uo.label,{...e,ref:t,onMouseDown:r=>{r.target.closest("button, input, select, textarea")||(e.onMouseDown?.(r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));kd.displayName=Ux;var Ds=kd;function Yx(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function Xx(e){return e==="center"?"center":e==="right"?"flex-end":"flex-start"}const fo=d.forwardRef((e,t)=>{const{children:r,className:n,class:o,colon:s,containerClass:i,containerClassName:a,containerStyle:l,containerSx:u,label:f,labelAlign:h="left",labelWidth:v,position:m="left",required:b=!1,sx:p,style:x,...y}=e,g=se(),{sxClassName:P,sxInlineStyle:w}=X(p,g),{sxClassName:S,sxInlineStyle:N}=X(u,g),C=M({width:Yx(v),justifyContent:Xx(h)},x,w),q=j("inline-flex gap-1 text-sm font-medium leading-5 text-slate-700","peer-disabled:cursor-not-allowed peer-disabled:opacity-70",P,n,o);return f===void 0?c.jsx(Ds,{ref:t,className:q,style:C,...y,children:r}):c.jsxs("div",{className:j("flex w-fit",m==="top"?"flex-col items-start gap-1.5":"flex-row items-center gap-2",S,a,i),style:M(l,N),children:[c.jsxs(Ds,{ref:t,className:q,style:C,...y,children:[b?c.jsx("span",{className:"text-red-500 font-serif",children:"*"}):null,c.jsx("span",{children:f}),s===!0?":":s??null]}),r]})});fo.displayName="Label";const ul={xs:"gap-1",sm:"gap-2",md:"gap-3",lg:"gap-4"};function Jx(e){return e===void 0?{className:ul.md}:e==="xs"||e==="sm"||e==="md"||e==="lg"?{className:ul[e]}:{style:{gap:typeof e=="number"?`${e}px`:e}}}function Qx(e,t){if(e.type==="single"){const r=e.value??t[0];return r===void 0?[]:[r]}return e.value??t}function Zx(e){return e.type==="single"?e.defaultValue===void 0?[]:[e.defaultValue]:e.defaultValue??[]}function Ed(e){const{className:t,class:r,children:n,direction:o="vertical",disabled:s=!1,gap:i="md",name:a,options:l,sx:u,style:f,type:h,value:v,defaultValue:m,onChange:b,...p}=e,x=se(),{sxClassName:y,sxInlineStyle:g}=X(u,x),P=Jx(i),[w,S]=d.useState(()=>Zx(e)),N=Qx(e,w),C=new Set(N);function q(E){if(e.value===void 0&&S(E),e.type==="single"){e.onChange?.(E[0]);return}e.onChange?.(E)}function k(E,R){if(e.type==="single"){q(R?[E]:[]);return}const _=new Set(N);R?_.add(E):_.delete(E),q(Array.from(_))}const A=d.useMemo(()=>({disabled:s,name:a,selectedValues:C,toggleValue:k}),[s,a,C]);return c.jsx("div",{role:"group",className:j("flex",o==="horizontal"?"flex-row flex-wrap":"flex-col",P.className,y,t,r),style:M(f,P.style,g),...p,children:c.jsxs(Ox,{value:A,children:[l?.map(E=>{const R=s||E.disabled,_=C.has(E.value);return c.jsxs(fo,{className:j("inline-flex items-start gap-2 text-sm leading-5 text-slate-700",R&&"cursor-not-allowed text-slate-400",!R&&"cursor-pointer",E.className),children:[c.jsx(en,{...E.checkboxProps,name:a,value:E.value,checked:_,disabled:R,onCheckedChange:I=>k(E.value,I===!0)}),c.jsxs("span",{className:"grid gap-0.5",children:[c.jsx("span",{children:E.label}),E.description?c.jsx("span",{className:"text-xs text-slate-500",children:E.description}):null]})]},E.value)}),n]})})}Ed.displayName="CheckboxGroup";const ho=d.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,type:i="text",...a}=e,l=se(),{sxClassName:u,sxInlineStyle:f}=X(o,l);return c.jsx("input",{ref:t,type:i,className:j("flex h-9 w-full rounded-md border border-solid border-slate-300 bg-white px-3 py-2 text-sm text-slate-900 shadow-sm transition-colors","file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-slate-700","placeholder:text-slate-400","focus-visible:border-blue-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30","disabled:cursor-not-allowed disabled:bg-slate-50 disabled:text-slate-500 disabled:opacity-70",u,r,n),style:M(s,f),...a})});ho.displayName="Input";function ey(e={}){const{defaultValue:t="",formatOnBlur:r,onValueChange:n,value:o}=e,s=o!==void 0,[i,a]=d.useState(t),l=s?o:i,u=d.useCallback((m,b)=>{s||a(m),n?.(m,{...b,valueAsString:m})},[s,n]),f=d.useCallback(m=>{u(m,{reason:"set",valueAsString:m})},[u]),h=d.useCallback(m=>{u(m.currentTarget.value,{event:m,reason:"input",valueAsString:m.currentTarget.value})},[u]);return{inputProps:{onBlur:d.useCallback(m=>{if(!r)return;const b=r(m.currentTarget.value);m.currentTarget.value=b,u(b,{event:m,reason:"commit",valueAsString:b})},[u,r]),onChange:h,value:l},setValue:f,value:l}}function $n(e){if(e.trim()==="")return null;const t=Number(e);return Number.isFinite(t)?t:null}function dl(e){if(!Number.isFinite(e))return 0;const[,t=""]=String(e).split(".");return t.length}function ty(e,t,r){if(!Number.isFinite(r)||!r||r<=0)return e;const n=Number.isFinite(t)?t??0:0,o=Math.max(dl(n),dl(r)),s=n+Math.round((e-n)/r)*r;return Number(s.toFixed(Math.min(o+2,12)))}function ry(e,t){return Number.isFinite(t)?e.toFixed(Math.max(0,Math.floor(t??0))):String(e)}function ny(e,t){const r=$n(e);if(r===null)return{value:null,valueAsString:""};if(!t.clampOnBlur)return{value:r,valueAsString:e};let n=r;Number.isFinite(t.min)&&(n=Math.max(t.min??n,n)),Number.isFinite(t.max)&&(n=Math.min(t.max??n,n)),n=ty(n,t.min,t.step),Number.isFinite(t.min)&&(n=Math.max(t.min??n,n)),Number.isFinite(t.max)&&(n=Math.min(t.max??n,n));const o=ry(n,t.precision);return{value:n,valueAsString:o}}function Fo(e){return e==null?"":String(e)}function oy(e={}){const{defaultValue:t="",onValueChange:r,...n}=e,[o,s]=d.useState(()=>Fo(t)),[i,a]=d.useState(()=>$n(Fo(t))),l=d.useCallback(h=>{const v=Fo(h);s(v),a($n(v))},[]),u=d.useCallback(h=>{s(h.currentTarget.value)},[]),f=d.useCallback((h,v)=>{a(h),v.reason==="commit"&&s(v.valueAsString),r?.(h,v)},[r]);return{inputProps:{...n,onChange:u,onValueChange:f,value:o},numberValue:i,setValue:l,value:o}}const Rd=d.forwardRef((e,t)=>{const{clampOnBlur:r=!1,max:n,min:o,onBlur:s,onChange:i,onValueChange:a,precision:l,step:u,...f}=e,h=m=>{i?.(m),a?.($n(m.currentTarget.value),{event:m,reason:"input",valueAsString:m.currentTarget.value})},v=m=>{if(r&&!e.disabled&&!e.readOnly){const b=ny(m.currentTarget.value,{clampOnBlur:r,max:n,min:o,precision:l,step:u});m.currentTarget.value=b.valueAsString,a?.(b.value,{event:m,reason:"commit",valueAsString:b.valueAsString})}s?.(m)};return c.jsx(ho,{...f,ref:t,type:"number",inputMode:"decimal",min:o,max:n,step:u,onBlur:v,onChange:h})});Rd.displayName="InputNumber";const sy={numeric:/^[0-9]$/,alphabetic:/^[A-Za-z]$/,alphanumeric:/^[A-Za-z0-9]$/},iy={numeric:"[0-9]*",alphabetic:"[A-Za-z]*",alphanumeric:"[A-Za-z0-9]*"},ay={sm:"h-8 w-8 text-sm",md:"h-10 w-10 text-base",lg:"h-12 w-12 text-lg"},ly={outline:"rounded-md border border-slate-300 bg-white text-slate-900",filled:"rounded-md border border-slate-100 bg-slate-100 text-slate-900",underline:"border-0 border-b border-slate-300 bg-transparent text-slate-900"};function cy(e){return Number.isFinite(e)?Math.max(1,Math.floor(e??6)):6}function uy(e,t){const r=t?typeof t=="string"?new RegExp(t):t:sy[e];return n=>(r.lastIndex=0,r.test(n))}function dy(e,t,r){return Array.from(e).filter(r).slice(0,t).join("")}function fy(e,t){return typeof t=="string"?t:t instanceof RegExp?t.source:iy[e]}const jd=d.forwardRef((e,t)=>{const{value:r,defaultValue:n="",length:o=6,disabled:s,readOnly:i,className:a,class:l,inputClassName:u,slotClassName:f,onChange:h,onComplete:v,type:m="numeric",pattern:b,pasteTransformer:p,mask:x=!1,placeholder:y="",autoFocus:g=!0,oneTimeCode:P=!0,size:w="md",variant:S="outline",invalid:N=!1,separator:C,style:q,sx:k,inputMode:A,autoComplete:E,onBlur:R,onFocus:_,onKeyDown:I,onPaste:O,"aria-label":T,...$}=e,B=se(),{sxClassName:U,sxInlineStyle:L}=X(k,B),G=cy(o),me=d.useMemo(()=>uy(m,b),[b,m]),te=d.useCallback(re=>dy(re,G,me),[G,me]),J=r!==void 0,[H,Y]=d.useState(()=>te(n)),D=te(J?r??"":H),Q=d.useRef(null),z=d.useRef(D),K=d.useRef(null),[W,Z]=d.useState(!1),ae=Array.from(D),ue=Math.min(ae.length,G-1),pe=Array.from(y)[0]??"",ve=typeof x=="string"?x:"•";d.useImperativeHandle(t,()=>Q.current),d.useEffect(()=>{z.current=D},[D]),d.useEffect(()=>{J||Y(re=>te(re))},[J,te]);const ie=d.useCallback(()=>{const re=Q.current;if(!re)return;const he=re.value.length;try{re.setSelectionRange(he,he)}catch{}},[]),ye=d.useCallback(re=>{const he=te(re),Re=z.current;z.current=he,J||Y(he),he!==Re&&h?.(he),he.length===G?K.current!==he&&(K.current=he,v?.(he)):K.current=null,window.requestAnimationFrame(ie)},[J,ie,te,h,v,G]),Se=d.useCallback(()=>{s||(Q.current?.focus(),window.requestAnimationFrame(ie))},[s,ie]);d.useEffect(()=>{if(!g||s)return;const re=Q.current,he=re?.ownerDocument;!re||!he||he.activeElement!==he.body||(re.focus(),ie())},[g,s,ie]);const Ie=re=>{ye(re.target.value)},oe=re=>{Z(!0),_?.(re),window.requestAnimationFrame(ie)},Pe=re=>{Z(!1),R?.(re)},Ee=re=>{if(I?.(re),!re.defaultPrevented){if(re.key==="Backspace"||re.key==="Delete"){re.preventDefault(),!i&&z.current.length>0&&ye(z.current.slice(0,-1));return}(re.key==="ArrowLeft"||re.key==="ArrowRight"||re.key==="Home"||re.key==="End")&&(re.preventDefault(),ie())}},de=re=>{if(O?.(re),re.defaultPrevented||i)return;re.preventDefault();const he=re.clipboardData.getData("text"),Re=p?p(he):he;ye(`${z.current}${Re}`)},_e=re=>{s||(re.preventDefault(),Se())},fe=re=>re>=G-1?null:typeof C=="function"?C(re):C;return c.jsx("div",{className:j("inline-flex flex-col gap-2",U,a,l),style:M(q,L),"data-disabled":s?"":void 0,"data-readonly":i?"":void 0,"data-complete":D.length===G?"":void 0,children:c.jsxs("div",{className:"relative inline-flex items-center gap-2",onMouseDown:_e,children:[c.jsx("input",{...$,ref:Q,type:"text",value:D,disabled:s,readOnly:i,maxLength:G,inputMode:A??(m==="numeric"?"numeric":"text"),autoComplete:P?"one-time-code":E,pattern:fy(m,b),"aria-label":T??"一次性验证码","aria-invalid":N||$["aria-invalid"]?!0:void 0,className:j("absolute inset-0 z-10 h-full w-full cursor-text border-0 bg-transparent p-0 text-transparent opacity-0 outline-none","disabled:cursor-not-allowed",u),onChange:Ie,onFocus:oe,onBlur:Pe,onKeyDown:Ee,onPaste:de}),Array.from({length:G}).map((re,he)=>{const Re=ae[he]??"",Te=Re.length>0,Ue=W&&!s&&he===ue,$e=Te?x?ve:Re:pe,rt=fe(he);return c.jsxs(d.Fragment,{children:[c.jsx("span",{"aria-hidden":"true",className:j("inline-flex shrink-0 select-none items-center justify-center font-semibold transition-colors",ay[w],ly[S],!Te&&"font-normal text-slate-400",Ue&&"border-blue-500 ring-2 ring-blue-500/30",N&&"border-red-500 text-red-600",Ue&&N&&"ring-red-500/25",s&&"cursor-not-allowed bg-slate-50 text-slate-400 opacity-70",i&&!s&&"bg-slate-50",f),"data-active":Ue?"":void 0,"data-filled":Te?"":void 0,children:$e}),rt?c.jsx("span",{"aria-hidden":"true",className:"select-none text-sm text-slate-400",children:rt}):null]},he)})]})})});jd.displayName="InputOPT";function fl(e){return e==null?"":String(e)}function hy(e){return typeof e=="string"||typeof e=="number"?String(e):""}function my(e,t){const r=t.trim().toLowerCase();return r?[e.value,e.textValue,hy(e.label),...e.keywords??[]].filter(Boolean).join(" ").toLowerCase().includes(r):!0}function hl(e,t,r){if(!e.length)return-1;let n=t;for(let o=0;o<e.length;o+=1)if(n=(n+r+e.length)%e.length,!e[n]?.disabled)return n;return-1}function py(e,t){const r=window.HTMLInputElement.prototype;Object.getOwnPropertyDescriptor(r,"value")?.set?.call(e,t),e.dispatchEvent(new Event("input",{bubbles:!0}))}function vy(e,t){if(e){if(typeof e=="function"){e(t);return}e.current=t}}function gy(...e){return d.useCallback(t=>{for(const r of e)vy(r,t)},e)}const Ad=d.forwardRef((e,t)=>{const{autoComplete:r="off",class:n,className:o,defaultValue:s,disabled:i,dropdownClassName:a,dropdownStyle:l,dropdownSx:u,emptyText:f="暂无匹配结果",filterOption:h=my,onBlur:v,onChange:m,onFocus:b,onKeyDown:p,onOptionSelect:x,onValueChange:y,openOnFocus:g=!0,optionClassName:P,optionStyle:w,optionSx:S,options:N=[],readOnly:C,renderOption:q,rootClassName:k,rootStyle:A,rootSx:E,value:R,..._}=e,I=se(),O=d.useRef(null),T=d.useRef(null),$=d.useRef(null),B=d.useId(),[U,L]=d.useState(()=>fl(s)),[G,me]=d.useState(!1),[te,J]=d.useState(-1),H=R!==void 0,Y=H?fl(R):U,D=!i&&!C,Q=X(E,I),z=X(u,I),K=X(S,I),W=gy(O,t),Z=d.useMemo(()=>h===!1?N:N.filter(oe=>h(oe,Y)),[h,Y,N]),ae=G&&D&&(Z.length>0||f!==null),ue=te>=0?Z[te]:void 0,pe=ae&&ue?`${B}-option-${te}`:void 0;d.useEffect(()=>{if(!G)return;const oe=Pe=>{const Ee=Pe.target;Ee instanceof Node&&T.current&&!T.current.contains(Ee)&&(me(!1),J(-1))};return document.addEventListener("pointerdown",oe),()=>{document.removeEventListener("pointerdown",oe)}},[G]),d.useEffect(()=>{te>=Z.length&&J(-1)},[te,Z.length]);const ve=(oe,Pe)=>{oe.disabled||($.current=oe,H||L(oe.value),O.current&&py(O.current,oe.value),me(!1),J(-1),x?.(oe,Pe),O.current?.focus(),window.setTimeout(()=>{$.current===oe&&($.current=null)},0))},ie=oe=>{const Pe=oe.currentTarget.value,Ee=$.current;$.current=null,H||L(Pe),D&&me(!Ee),J(-1),m?.(oe),y?.(Pe,{event:oe,option:Ee??void 0,reason:Ee?"select":"input"})},ye=oe=>{D&&g&&me(!0),b?.(oe)},Se=oe=>{const Pe=oe.relatedTarget;if(Pe instanceof Node&&T.current?.contains(Pe)){v?.(oe);return}me(!1),J(-1),v?.(oe)},Ie=oe=>{if(!D){p?.(oe);return}oe.key==="ArrowDown"?(oe.preventDefault(),me(!0),J(Pe=>hl(Z,Pe<0?-1:Pe,1))):oe.key==="ArrowUp"?(oe.preventDefault(),me(!0),J(Pe=>hl(Z,Pe<0?Z.length:Pe,-1))):oe.key==="Enter"&&G&&ue?(oe.preventDefault(),ve(ue,oe)):(oe.key==="Escape"||oe.key==="Tab")&&(me(!1),J(-1)),p?.(oe)};return c.jsxs("div",{ref:T,className:j("relative w-full",Q.sxClassName,k),style:M(A,Q.sxInlineStyle),children:[c.jsx(ho,{..._,ref:W,autoComplete:r,class:n,className:o,disabled:i,readOnly:C,role:"combobox","aria-autocomplete":"list","aria-controls":ae?B:void 0,"aria-expanded":ae,"aria-activedescendant":pe,value:Y,onBlur:Se,onChange:ie,onFocus:ye,onKeyDown:Ie}),ae?c.jsx("div",{id:B,role:"listbox",className:j("absolute left-0 top-full z-50 mt-1 max-h-64 w-full overflow-y-auto rounded-md border border-solid border-slate-200 bg-white p-1 text-slate-900 shadow-lg","animate-in fade-in-0 zoom-in-95",z.sxClassName,a),style:M(l,z.sxInlineStyle),children:Z.length>0?Z.map((oe,Pe)=>{const Ee=te===Pe,de=oe.value===Y,_e=!!oe.disabled;return c.jsx("div",{id:`${B}-option-${Pe}`,role:"option","aria-disabled":_e||void 0,"aria-selected":de,className:j("grid cursor-default select-none gap-0.5 rounded-sm px-2 py-1.5 text-sm leading-5 outline-none transition-colors",Ee&&"bg-blue-50 text-blue-700",de&&!Ee&&"bg-slate-50 text-slate-900",_e?"pointer-events-none text-slate-400 opacity-70":"text-slate-700",K.sxClassName,P),style:M(w,K.sxInlineStyle),onMouseDown:fe=>fe.preventDefault(),onMouseEnter:()=>{_e||J(Pe)},onClick:fe=>ve(oe,fe),children:q?q(oe,{active:Ee,disabled:_e,inputValue:Y,selected:de}):c.jsxs(c.Fragment,{children:[c.jsx("span",{className:"truncate font-medium",children:oe.label}),oe.description?c.jsx("span",{className:"truncate text-xs text-slate-500",children:oe.description}):null]})},`${oe.value}-${Pe}`)}):c.jsx("div",{className:"px-2 py-2 text-sm text-slate-500",children:f})}):null]})});Ad.displayName="AutoComplete";function _d(e){const t=e+"CollectionProvider",[r,n]=tt(t),[o,s]=r(t,{collectionRef:{current:null},itemMap:new Map}),i=p=>{const{scope:x,children:y}=p,g=je.useRef(null),P=je.useRef(new Map).current;return c.jsx(o,{scope:x,itemMap:P,collectionRef:g,children:y})};i.displayName=t;const a=e+"CollectionSlot",l=Fr(a),u=je.forwardRef((p,x)=>{const{scope:y,children:g}=p,P=s(a,y),w=ke(x,P.collectionRef);return c.jsx(l,{ref:w,children:g})});u.displayName=a;const f=e+"CollectionItemSlot",h="data-radix-collection-item",v=Fr(f),m=je.forwardRef((p,x)=>{const{scope:y,children:g,...P}=p,w=je.useRef(null),S=ke(x,w),N=s(f,y);return je.useEffect(()=>(N.itemMap.set(w,{ref:w,...P}),()=>{N.itemMap.delete(w)})),c.jsx(v,{[h]:"",ref:S,children:g})});m.displayName=f;function b(p){const x=s(e+"CollectionConsumer",p);return je.useCallback(()=>{const g=x.collectionRef.current;if(!g)return[];const P=Array.from(g.querySelectorAll(`[${h}]`));return Array.from(x.itemMap.values()).sort((N,C)=>P.indexOf(N.ref.current)-P.indexOf(C.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:i,Slot:u,ItemSlot:m},b,n]}var by=d.createContext(void 0);function mo(e){const t=d.useContext(by);return e||t||"ltr"}var $o="rovingFocusGroup.onEntryFocus",xy={bubbles:!1,cancelable:!0},tn="RovingFocusGroup",[Bs,Td,yy]=_d(tn),[Py,po]=tt(tn,[yy]),[wy,Cy]=Py(tn),Id=d.forwardRef((e,t)=>c.jsx(Bs.Provider,{scope:e.__scopeRovingFocusGroup,children:c.jsx(Bs.Slot,{scope:e.__scopeRovingFocusGroup,children:c.jsx(Sy,{...e,ref:t})})}));Id.displayName=tn;var Sy=d.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:s,currentTabStopId:i,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:l,onEntryFocus:u,preventScrollOnEntryFocus:f=!1,...h}=e,v=d.useRef(null),m=ke(t,v),b=mo(s),[p,x]=xt({prop:i,defaultProp:a??null,onChange:l,caller:tn}),[y,g]=d.useState(!1),P=vt(u),w=Td(r),S=d.useRef(!1),[N,C]=d.useState(0);return d.useEffect(()=>{const q=v.current;if(q)return q.addEventListener($o,P),()=>q.removeEventListener($o,P)},[P]),c.jsx(wy,{scope:r,orientation:n,dir:b,loop:o,currentTabStopId:p,onItemFocus:d.useCallback(q=>x(q),[x]),onItemShiftTab:d.useCallback(()=>g(!0),[]),onFocusableItemAdd:d.useCallback(()=>C(q=>q+1),[]),onFocusableItemRemove:d.useCallback(()=>C(q=>q-1),[]),children:c.jsx(be.div,{tabIndex:y||N===0?-1:0,"data-orientation":n,...h,ref:m,style:{outline:"none",...e.style},onMouseDown:ce(e.onMouseDown,()=>{S.current=!0}),onFocus:ce(e.onFocus,q=>{const k=!S.current;if(q.target===q.currentTarget&&k&&!y){const A=new CustomEvent($o,xy);if(q.currentTarget.dispatchEvent(A),!A.defaultPrevented){const E=w().filter(T=>T.focusable),R=E.find(T=>T.active),_=E.find(T=>T.id===p),O=[R,_,...E].filter(Boolean).map(T=>T.ref.current);Ld(O,f)}}S.current=!1}),onBlur:ce(e.onBlur,()=>g(!1))})})}),Od="RovingFocusGroupItem",Md=d.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:s,children:i,...a}=e,l=er(),u=s||l,f=Cy(Od,r),h=f.currentTabStopId===u,v=Td(r),{onFocusableItemAdd:m,onFocusableItemRemove:b,currentTabStopId:p}=f;return d.useEffect(()=>{if(n)return m(),()=>b()},[n,m,b]),c.jsx(Bs.ItemSlot,{scope:r,id:u,focusable:n,active:o,children:c.jsx(be.span,{tabIndex:h?0:-1,"data-orientation":f.orientation,...a,ref:t,onMouseDown:ce(e.onMouseDown,x=>{n?f.onItemFocus(u):x.preventDefault()}),onFocus:ce(e.onFocus,()=>f.onItemFocus(u)),onKeyDown:ce(e.onKeyDown,x=>{if(x.key==="Tab"&&x.shiftKey){f.onItemShiftTab();return}if(x.target!==x.currentTarget)return;const y=ky(x,f.orientation,f.dir);if(y!==void 0){if(x.metaKey||x.ctrlKey||x.altKey||x.shiftKey)return;x.preventDefault();let P=v().filter(w=>w.focusable).map(w=>w.ref.current);if(y==="last")P.reverse();else if(y==="prev"||y==="next"){y==="prev"&&P.reverse();const w=P.indexOf(x.currentTarget);P=f.loop?Ey(P,w+1):P.slice(w+1)}setTimeout(()=>Ld(P))}}),children:typeof i=="function"?i({isCurrentTabStop:h,hasTabStop:p!=null}):i})})});Md.displayName=Od;var Ny={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function qy(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function ky(e,t,r){const n=qy(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return Ny[n]}function Ld(e,t=!1){const r=document.activeElement;for(const n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function Ey(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var Dd=Id,Bd=Md,_i="Radio",[Ry,Fd]=tt(_i),[jy,Ay]=Ry(_i),$d=d.forwardRef((e,t)=>{const{__scopeRadio:r,name:n,checked:o=!1,required:s,disabled:i,value:a="on",onCheck:l,form:u,...f}=e,[h,v]=d.useState(null),m=ke(t,x=>v(x)),b=d.useRef(!1),p=h?u||!!h.closest("form"):!0;return c.jsxs(jy,{scope:r,checked:o,disabled:i,children:[c.jsx(be.button,{type:"button",role:"radio","aria-checked":o,"data-state":Wd(o),"data-disabled":i?"":void 0,disabled:i,value:a,...f,ref:m,onClick:ce(e.onClick,x=>{o||l?.(),p&&(b.current=x.isPropagationStopped(),b.current||x.stopPropagation())})}),p&&c.jsx(Hd,{control:h,bubbles:!b.current,name:n,value:a,checked:o,required:s,disabled:i,form:u,style:{transform:"translateX(-100%)"}})]})});$d.displayName=_i;var Vd="RadioIndicator",zd=d.forwardRef((e,t)=>{const{__scopeRadio:r,forceMount:n,...o}=e,s=Ay(Vd,r);return c.jsx(Dt,{present:n||s.checked,children:c.jsx(be.span,{"data-state":Wd(s.checked),"data-disabled":s.disabled?"":void 0,...o,ref:t})})});zd.displayName=Vd;var _y="RadioBubbleInput",Hd=d.forwardRef(({__scopeRadio:e,control:t,checked:r,bubbles:n=!0,...o},s)=>{const i=d.useRef(null),a=ke(i,s),l=lo(r),u=to(t);return d.useEffect(()=>{const f=i.current;if(!f)return;const h=window.HTMLInputElement.prototype,m=Object.getOwnPropertyDescriptor(h,"checked").set;if(l!==r&&m){const b=new Event("click",{bubbles:n});m.call(f,r),f.dispatchEvent(b)}},[l,r,n]),c.jsx(be.input,{type:"radio","aria-hidden":!0,defaultChecked:r,...o,tabIndex:-1,ref:a,style:{...o.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});Hd.displayName=_y;function Wd(e){return e?"checked":"unchecked"}var Ty=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],vo="RadioGroup",[Iy]=tt(vo,[po,Fd]),Gd=po(),Kd=Fd(),[Oy,My]=Iy(vo),Ud=d.forwardRef((e,t)=>{const{__scopeRadioGroup:r,name:n,defaultValue:o,value:s,required:i=!1,disabled:a=!1,orientation:l,dir:u,loop:f=!0,onValueChange:h,...v}=e,m=Gd(r),b=mo(u),[p,x]=xt({prop:s,defaultProp:o??null,onChange:h,caller:vo});return c.jsx(Oy,{scope:r,name:n,required:i,disabled:a,value:p,onValueChange:x,children:c.jsx(Dd,{asChild:!0,...m,orientation:l,dir:b,loop:f,children:c.jsx(be.div,{role:"radiogroup","aria-required":i,"aria-orientation":l,"data-disabled":a?"":void 0,dir:b,...v,ref:t})})})});Ud.displayName=vo;var Yd="RadioGroupItem",Xd=d.forwardRef((e,t)=>{const{__scopeRadioGroup:r,disabled:n,...o}=e,s=My(Yd,r),i=s.disabled||n,a=Gd(r),l=Kd(r),u=d.useRef(null),f=ke(t,u),h=s.value===o.value,v=d.useRef(!1);return d.useEffect(()=>{const m=p=>{Ty.includes(p.key)&&(v.current=!0)},b=()=>v.current=!1;return document.addEventListener("keydown",m),document.addEventListener("keyup",b),()=>{document.removeEventListener("keydown",m),document.removeEventListener("keyup",b)}},[]),c.jsx(Bd,{asChild:!0,...a,focusable:!i,active:h,children:c.jsx($d,{disabled:i,required:s.required,checked:h,...l,...o,name:s.name,ref:f,onCheck:()=>s.onValueChange(o.value),onKeyDown:ce(m=>{m.key==="Enter"&&m.preventDefault()}),onFocus:ce(o.onFocus,()=>{v.current&&u.current?.click()})})})});Xd.displayName=Yd;var Ly="RadioGroupIndicator",Jd=d.forwardRef((e,t)=>{const{__scopeRadioGroup:r,...n}=e,o=Kd(r);return c.jsx(zd,{...o,...n,ref:t})});Jd.displayName=Ly;var Dy=Ud,By=Xd,Fy=Jd;const Ti=d.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,children:i,...a}=e,l=se(),{sxClassName:u,sxInlineStyle:f}=X(o,l);return c.jsx(By,{ref:t,className:j("inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full border border-solid border-slate-300 bg-white text-blue-600 transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50","data-[state=checked]:border-blue-600",u,r,n),style:M(s,f),...a,children:i??c.jsx(Fy,{className:"inline-flex h-4 w-4 items-center justify-center",children:c.jsx("span",{className:"h-2 w-2 rounded-full bg-current"})})})});Ti.displayName="Radio";const ml={xs:"gap-1",sm:"gap-2",md:"gap-3",lg:"gap-4"};function $y(e){return e===void 0?{className:ml.md}:e==="xs"||e==="sm"||e==="md"||e==="lg"?{className:ml[e]}:{style:{gap:typeof e=="number"?`${e}px`:e}}}const Qd=d.forwardRef((e,t)=>{const{className:r,class:n,children:o,direction:s="vertical",disabled:i=!1,gap:a="md",options:l,sx:u,style:f,...h}=e,v=se(),{sxClassName:m,sxInlineStyle:b}=X(u,v),p=$y(a);return c.jsxs(Dy,{ref:t,disabled:i,className:j("flex",s==="horizontal"?"flex-row flex-wrap":"flex-col",p.className,m,r,n),style:M(f,p.style,b),...h,children:[l?.map(x=>{const y=i||x.disabled;return c.jsxs(fo,{className:j("inline-flex items-start gap-2 text-sm leading-5 text-slate-700",y&&"cursor-not-allowed text-slate-400",!y&&"cursor-pointer",x.className),children:[c.jsx(Ti,{...x.radioProps,value:x.value,disabled:y}),c.jsxs("span",{className:"grid gap-0.5",children:[c.jsx("span",{children:x.label}),x.description?c.jsx("span",{className:"text-xs text-slate-500",children:x.description}):null]})]},x.value)}),o]})});Qd.displayName="RadioGroup";const Vy={sm:"h-8 w-8",md:"h-9 w-9",lg:"h-10 w-10"},zy={sm:"h-4 w-4",md:"h-[18px] w-[18px]",lg:"h-5 w-5"};function Vo(e,t){return Number.isFinite(e)?Math.max(0,Math.min(t,Math.round(e))):0}function Hy(e){return c.jsx("svg",{viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",...e,children:c.jsx("path",{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z",fill:"currentColor"})})}function Wy(e){const{fill:t,size:r,active:n,preview:o,disabled:s,tabIndex:i,onClick:a,onFocus:l,onKeyDown:u,onMouseEnter:f,setRef:h,label:v,character:m}=e,b=m??c.jsx(Hy,{className:zy[r]});return c.jsx("button",{ref:h,type:"button",role:"radio","aria-checked":n,"aria-label":v,disabled:s,tabIndex:i,onClick:a,onFocus:l,onKeyDown:u,onMouseEnter:f,className:j("group relative inline-flex items-center justify-center rounded-full outline-none transition","focus-visible:ring-2 focus-visible:ring-blue-500/35 focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50",Vy[r],o?"scale-[1.03]":"scale-100"),children:c.jsxs("span",{"aria-hidden":"true",className:j("relative inline-flex items-center justify-center transition-colors",o?"text-amber-300":"text-amber-400"),children:[c.jsx("span",{className:"text-slate-300",children:b}),c.jsx("span",{className:"absolute inset-0 overflow-hidden",style:{width:`${t}%`},children:c.jsx("span",{className:"text-current",children:b})})]})})}const Zd=d.forwardRef((e,t)=>{const{value:r,defaultValue:n=0,count:o=5,allowClear:s=!0,borderless:i=!1,disabled:a=!1,readOnly:l=!1,name:u,onChange:f,onHoverChange:h,size:v="md",character:m,className:b,class:p,style:x,sx:y,onMouseLeave:g,onKeyDown:P,...w}=e,S=se(),{sxClassName:N,sxInlineStyle:C}=X(y,S),q=r!==void 0,k=Math.max(1,Math.floor(o||1)),[A,E]=d.useState(()=>Vo(n,k)),[R,_]=d.useState(null),I=d.useRef([]),O=Vo(q?r??0:A,k),T=R??O,$=d.useId(),B=d.useCallback(te=>{if(a||l)return;const J=Vo(te,k),H=s&&J===O?0:J;q||E(H),f?.(H)},[s,O,a,q,f,l,k]),U=d.useCallback(()=>{_(null),h?.(null)},[h]),L=d.useCallback(te=>{I.current[te]?.focus()},[]),G=te=>{U(),g?.(te)},me=(te,J)=>{if(P?.(te),te.defaultPrevented||a||l||te.key!=="ArrowRight"&&te.key!=="ArrowUp"&&te.key!=="ArrowLeft"&&te.key!=="ArrowDown"&&te.key!=="Home"&&te.key!=="End")return;if(te.preventDefault(),te.key==="Home"){U(),L(0),B(0);return}if(te.key==="End"){U(),L(k-1),B(k);return}const Y=te.key==="ArrowRight"||te.key==="ArrowUp"?1:-1,D=Math.max(0,Math.min(k-1,J+Y));U(),L(D),B(D+1)};return c.jsxs("div",{...w,ref:t,role:"radiogroup","aria-label":w["aria-label"]??"评分","aria-readonly":l||void 0,"data-disabled":a?"":void 0,"data-borderless":i?"":void 0,"data-readonly":l?"":void 0,"data-size":v,className:j("inline-flex w-fit items-center gap-1 rounded-full px-2 py-1 transition-colors",i?"border-0 bg-transparent shadow-none":"border border-slate-200 bg-white shadow-sm",!i&&!a?"hover:border-slate-300":void 0,N,b,p),style:M(x,C),onMouseLeave:G,children:[u?c.jsx("input",{type:"hidden",name:u,value:String(O)}):null,Array.from({length:k}).map((te,J)=>{const H=J+1,Y=Math.max(0,Math.min(1,T-J))*100,D=O===H,Q=R!==null;return c.jsx(Wy,{fill:Y,size:v,active:D,preview:Q&&H<=T,disabled:a||l,tabIndex:O===0?J===0?0:-1:D?0:-1,label:`选择 ${H} 星`,character:m,setRef:z=>{I.current[J]=z},onClick:()=>{U(),B(H)},onFocus:()=>{a||l||U()},onKeyDown:z=>me(z,J),onMouseEnter:()=>{a||l||(_(H),h?.(H))}},`${$}-${H}`)})]})});Zd.displayName="Rate";function zo(e){const t=se();return X(e,t)}function pl(e){const{value:t,defaultValue:r,onChange:n}=e,[o,s]=d.useState(r),i=t!==void 0,a=i?t:o,l=d.useCallback(u=>{i||s(u),n?.(u)},[i,n]);return[a,l]}function gn(e){return Array.isArray(e)?e.filter(t=>t!==""):[]}function Gy(e){return Array.isArray(e)?e:[]}function wr(e,t){return e?.[t]??t}function Ky(e,t){const r=wr(t,"value");return typeof e[r]=="string"?e[r]:e.value}function Uy(e,t){const r=wr(t,"label");return e[r]??e.label??e.value??""}function Yy(e,t){const r=wr(t,"children");return Gy(e[r])}function Xy(e,t){const r=wr(t,"disabled");return!!(e[r]??e.disabled)}function Jy(e,t){const r=wr(t,"isLeaf"),n=e[r];return typeof n=="boolean"?n:e.isLeaf}function Qy(e,t){const r=wr(t,"loading");return!!(e[r]??e.loading)}function ef(e,t){const r=Ky(e,t);if(typeof r!="string"||r.length===0)return null;const n=Yy(e,t),o=Jy(e,t),s=typeof o=="boolean"?o:n.length===0;return{option:e,value:r,label:Uy(e,t),children:n,disabled:Xy(e,t),isLeaf:s,loading:Qy(e,t)}}function Fs(e,t){const r=[];for(const n of e){const o=ef(n,t);o&&r.push(o)}return r}function Ho(e,t,r){const n=[],o=[];let s=e;for(const i of t){const a=Fs(s,r).find(l=>l.value===i);if(!a)break;n.push(a),o.push(a.label),s=a.children}return{matched:n,labels:o,path:n.map(i=>i.value)}}function Zy(e,t,r){const n=[];let o=e;n.push(Fs(o,r));for(const s of t){const i=Fs(o,r).find(a=>a.value===s);if(!i||(o=i.children,o.length===0))break;n.push(o.map(a=>ef(a,r)).filter(a=>!!a))}return n}function Wo(e,t){return t.every((r,n)=>e[n]===r)}function e0(e,t){return c.jsx(c.Fragment,{children:e.map((r,n)=>c.jsxs(d.Fragment,{children:[n>0?c.jsx("span",{className:"mx-1 text-slate-400",children:t}):null,c.jsx("span",{className:"min-w-0 truncate",children:r})]},n))})}function t0(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M4 6L8 10L12 6",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function r0(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M6 4L10 8L6 12",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function n0(e){return c.jsxs("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:[c.jsx("path",{d:"M4.5 4.5L11.5 11.5",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"}),c.jsx("path",{d:"M11.5 4.5L4.5 11.5",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"})]})}function Go(){return c.jsx("span",{className:"inline-block h-3.5 w-3.5 animate-spin rounded-full border-2 border-slate-300 border-t-blue-600","aria-hidden":"true"})}const tf=d.forwardRef((e,t)=>{const{options:r=[],value:n,defaultValue:o=[],onValueChange:s,onOpenChange:i,open:a,defaultOpen:l=!1,placeholder:u="请选择",separator:f="/",displayRender:h,renderOption:v,fieldNames:m,changeOnSelect:b=!1,expandTrigger:p="click",clearable:x=!1,contentWidth:y="auto",maxPanelHeight:g=336,side:P="bottom",align:w="start",sideOffset:S=8,contentClassName:N,contentClass:C,contentStyle:q,contentSx:k,class:A,sx:E,readOnly:R=!1,required:_,loadData:I,optionClassName:O,optionClass:T,optionStyle:$,optionSx:B,className:U,style:L,disabled:G=!1,name:me,id:te,autoFocus:J,onClick:H,onFocus:Y,onBlur:D,onKeyDown:Q,...z}=e,[K,W]=pl({value:n===void 0?void 0:gn(n),defaultValue:gn(o),onChange:V=>{}}),[Z,ae]=pl({value:a,defaultValue:l,onChange:i}),[ue,pe]=d.useState(()=>gn(o)),[ve,ie]=d.useState(null),ye=d.useRef(null),Se=d.useRef(!0),Ie=d.useRef(Z),{sxClassName:oe,sxInlineStyle:Pe}=zo(E),{sxClassName:Ee,sxInlineStyle:de}=zo(k),{sxClassName:_e,sxInlineStyle:fe}=zo(B);d.useEffect(()=>()=>{Se.current=!1},[]),d.useEffect(()=>{Z&&!Ie.current&&pe(K),Ie.current=Z},[Z,K]);const re=d.useMemo(()=>Ho(r,K,m),[m,r,K]),he=re.matched.map(V=>V.option),Re=Z?ue:K,Te=d.useMemo(()=>Ho(r,Re,m),[Re,m,r]),Ue=d.useMemo(()=>Zy(r,Re,m),[Re,m,r]),$e=d.useMemo(()=>{const V=Te.matched[Te.matched.length-1];return!Z||!V?!1:V.children.length===0&&!V.isLeaf},[Te.matched,Z]),rt=d.useMemo(()=>re.labels.length>0?h?h(re.labels,he):e0(re.labels,f):u,[h,u,he,re.labels,f]),wt=n!==void 0,nt=d.useCallback((V,le)=>{const xe=gn(V),Ce=Ho(r,xe,m);wt||W(xe),s?.(xe,{...le,path:Ce.path,options:Ce.matched.map(Ae=>Ae.option),labels:Ce.labels})},[m,wt,s,r,W]),ft=d.useCallback(V=>{G||R||(wt||W([]),pe([]),s?.([],{reason:"clear",path:[],options:[],labels:[],event:V}))},[G,wt,s,R,W]),ot=d.useRef(I);d.useEffect(()=>{ot.current=I},[I]);const or=d.useCallback(async(V,le,xe)=>{if(G||R||V.disabled)return;const Ce=V.children.length>0,Ae=Ce||!V.isLeaf&&!!ot.current,ze=le.join("");if(Ae&&!Ce&&ot.current){ie(ze);try{await ot.current([V.option],{option:V.option,path:le,options:r})}finally{Se.current&&ie(Xe=>Xe===ze?null:Xe)}}if(b||!Ae){nt(le,{reason:"select",option:V.option,event:xe}),ae(!1);return}pe(le),ae(!0)},[b,nt,G,r,R,ae]),ht=d.useCallback(V=>{G||(pe(V),ae(!0))},[G,ae]);d.useImperativeHandle(t,()=>({focus:()=>ye.current?.focus(),blur:()=>ye.current?.blur(),open:()=>ht(K),close:()=>ae(!1),clear:()=>ft(),getValue:()=>K.slice()}),[ft,ht,K,ae]);const F=ve!==null;return c.jsxs("div",{className:"relative inline-flex w-full items-stretch",children:[c.jsxs(Zu,{open:Z,onOpenChange:ae,children:[c.jsx(qi,{asChild:!0,children:c.jsxs("button",{ref:ye,id:te,type:"button",className:j("flex h-9 w-full min-w-0 items-center gap-2 rounded-md border border-solid border-slate-300 bg-white px-3 text-left text-sm text-slate-900 shadow-sm transition-colors","focus-visible:border-blue-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30","disabled:cursor-not-allowed disabled:bg-slate-50 disabled:text-slate-500 disabled:opacity-70",R&&"cursor-default",x&&K.length>0&&!G&&!R?"pr-16":"pr-9",oe,U,A),style:M(L,Pe),autoFocus:J,disabled:G,"aria-haspopup":"dialog","aria-expanded":Z,"aria-disabled":G||void 0,"aria-readonly":R||void 0,onClick:V=>{H?.(V)},onFocus:Y,onBlur:D,onKeyDown:V=>{Q?.(V),!G&&((V.key==="ArrowDown"||V.key==="Enter")&&(V.preventDefault(),ae(!0)),V.key==="Escape"&&(V.preventDefault(),ae(!1)))},...z,children:[c.jsx("span",{className:j("min-w-0 flex-1 truncate",re.labels.length===0&&"text-slate-400"),children:rt}),c.jsx(t0,{className:"absolute right-3 h-4 w-4 text-slate-500"})]})}),x&&K.length>0&&!G&&!R?c.jsx("button",{type:"button",className:"absolute right-8 top-1/2 z-10 -translate-y-1/2 rounded p-1 text-slate-400 transition-colors hover:text-slate-600 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30","aria-label":"清除选择",onMouseDown:V=>V.preventDefault(),onClick:V=>{V.preventDefault(),V.stopPropagation(),ft(V)},children:c.jsx(n0,{className:"h-3.5 w-3.5"})}):null,c.jsx(ki,{side:P,align:w,sideOffset:S,width:y,className:j("overflow-hidden p-0",Ee,N,C),style:M(q,de),role:"dialog","aria-label":"级联选择",children:c.jsxs("div",{className:"flex min-w-[320px] overflow-hidden bg-white",style:{maxHeight:typeof g=="number"?`${g}px`:g},children:[Ue.map((V,le)=>{const xe=Re.slice(0,le);return V.length===0?c.jsx("div",{className:"flex min-w-44 items-center justify-center border-r border-slate-200 px-4 py-6 text-sm text-slate-400 last:border-r-0",children:F&&le===Ue.length-1?c.jsxs("span",{className:"inline-flex items-center gap-2",children:[c.jsx(Go,{}),"加载中"]}):"暂无可选项"},`empty-${le}`):c.jsx("div",{className:j("min-w-48 border-r border-slate-200 last:border-r-0",le>0&&"bg-slate-50/40"),children:c.jsx("div",{className:"max-h-full overflow-y-auto p-1",children:V.map(Ce=>{const Ae=[...xe,Ce.value],ze=K.length===Ae.length&&Wo(K,Ae),Xe=Wo(Re,Ae)||Wo(Ae,Re),Ct=ve===Ae.join("")||Ce.loading,St=Ce.children.length>0||!Ce.isLeaf&&!!ot.current&&!Ct,rm={active:Xe,checked:ze,disabled:Ce.disabled,hasChildren:St,isLeaf:Ce.isLeaf,level:le,loading:Ct,path:Ae,selected:ze};return c.jsxs("button",{type:"button",className:j("flex min-h-10 w-full items-center gap-2 rounded-md px-3 py-2 text-left text-sm text-slate-700 transition-colors","hover:bg-blue-50 hover:text-blue-700 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30",ze&&"bg-blue-50 text-blue-700",Xe&&!ze&&"bg-slate-100 text-slate-900",Ce.disabled&&"cursor-not-allowed text-slate-400 opacity-70 hover:bg-transparent hover:text-slate-400",_e,O,T),style:M($,fe),disabled:G||R||Ce.disabled,onMouseEnter:()=>{p==="hover"&&!Ce.disabled&&St&&(pe(Ae),ae(!0))},onClick:ga=>{ga.preventDefault(),or(Ce,Ae,ga)},children:[c.jsx("span",{className:"min-w-0 flex-1 truncate",children:v?v(Ce.option,rm):Ce.label}),Ct?c.jsx(Go,{}):St?c.jsx(r0,{className:"h-4 w-4 shrink-0 text-slate-400"}):null]},Ae.join(""))})})},`column-${le}`)}),$e?c.jsx("div",{className:"flex min-w-44 items-center justify-center border-l border-slate-200 px-4 py-6 text-sm text-slate-400",children:F?c.jsxs("span",{className:"inline-flex items-center gap-2",children:[c.jsx(Go,{}),"加载中"]}):"请继续选择"}):null]})})]}),me?c.jsx("input",{type:"hidden",name:me,required:_,value:K.length>0?JSON.stringify(K):""}):null]})});tf.displayName="Cascader";function o0(e){return Array.isArray(e)?Number(e[0]??0):Number(e??0)}function vl(e,t){const r=Number(e);return Number.isFinite(r)?r:t}function gl(e,t){return e===void 0?t:typeof e=="number"?`${e}px`:e}const s0={solid:{"--ldkj-slider-fill":"rgb(37 99 235)","--ldkj-slider-fill-end":"rgb(37 99 235)","--ldkj-slider-focus-ring":"rgb(37 99 235 / 0.2)","--ldkj-slider-thumb":"rgb(37 99 235)","--ldkj-slider-thumb-ring":"rgb(37 99 235 / 0.18)","--ldkj-slider-track":"rgb(226 232 240)","--ldkj-slider-track-shadow":"inset 0 1px 2px rgba(15,23,42,0.1)","--ldkj-slider-thumb-shadow":"0 0 0 3px var(--ldkj-slider-thumb-ring), 0 4px 12px -2px rgba(0,0,0,0.12)","--ldkj-slider-thumb-shadow-hover":"0 0 0 5px var(--ldkj-slider-thumb-ring), 0 6px 20px -4px rgba(0,0,0,0.16)"},gradient:{"--ldkj-slider-fill":"rgb(6 182 212)","--ldkj-slider-fill-end":"rgb(37 99 235)","--ldkj-slider-focus-ring":"rgb(14 165 233 / 0.22)","--ldkj-slider-thumb":"linear-gradient(145deg, rgb(34 211 238) 0%, rgb(37 99 235) 72%, rgb(30 64 175) 100%)","--ldkj-slider-thumb-ring":"rgb(14 165 233 / 0.16)","--ldkj-slider-track":"rgb(226 232 240)","--ldkj-slider-track-shadow":"inset 0 1px 2px rgba(15,23,42,0.16)","--ldkj-slider-thumb-shadow":"0 0 0 5px var(--ldkj-slider-thumb-ring), 0 10px 24px -10px rgba(14,116,144,0.9)","--ldkj-slider-thumb-shadow-hover":"0 0 0 7px var(--ldkj-slider-thumb-ring), 0 14px 28px -12px rgba(14,116,144,0.95)"}};function rf(e){const{className:t,class:r,defaultValue:n,max:o,min:s,style:i,sx:a,thumbSize:l,trackSize:u,value:f,variant:h="solid",onValueChange:v,...m}=e,b=se(),{sxClassName:p,sxInlineStyle:x}=X(a,b),y=f!==void 0,[g,P]=d.useState(()=>o0(n)),w=y?f:g,S=vl(s,0),N=vl(o,100),C=Number.isFinite(w)?w:S,q=N>S?(C-S)/(N-S)*100:0,k=Math.max(0,Math.min(100,q)),A=E=>{const R=Number(E.currentTarget.value);y||P(R),v?.(R)};return c.jsx("input",{...m,type:"range",...y?{value:f}:{defaultValue:n},min:s,max:o,onChange:A,className:j("h-[var(--ldkj-slider-track-size)] w-full cursor-pointer appearance-none rounded-full border border-white/70 bg-transparent align-middle","accent-[var(--ldkj-slider-fill-end)] shadow-[var(--ldkj-slider-track-shadow),0_1px_0_rgba(255,255,255,0.88)]","transition-[filter,opacity,box-shadow] duration-200 ease-out hover:brightness-105","focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-[var(--ldkj-slider-focus-ring)] focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-55 disabled:grayscale","[&::-webkit-slider-thumb]:h-[var(--ldkj-slider-thumb-size)] [&::-webkit-slider-thumb]:w-[var(--ldkj-slider-thumb-size)] [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:border-[3px] [&::-webkit-slider-thumb]:border-white [&::-webkit-slider-thumb]:[background:var(--ldkj-slider-thumb)] [&::-webkit-slider-thumb]:shadow-[var(--ldkj-slider-thumb-shadow),inset_0_1px_0_rgba(255,255,255,0.55)] [&::-webkit-slider-thumb]:transition-[transform,box-shadow,filter] [&::-webkit-slider-thumb]:duration-200 [&::-webkit-slider-thumb]:ease-out","hover:[&::-webkit-slider-thumb]:scale-110 hover:[&::-webkit-slider-thumb]:shadow-[var(--ldkj-slider-thumb-shadow-hover),inset_0_1px_0_rgba(255,255,255,0.65)] active:[&::-webkit-slider-thumb]:scale-95","[&::-moz-range-thumb]:h-[var(--ldkj-slider-thumb-size)] [&::-moz-range-thumb]:w-[var(--ldkj-slider-thumb-size)] [&::-moz-range-thumb]:appearance-none [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:border-[3px] [&::-moz-range-thumb]:border-white [&::-moz-range-thumb]:[background:var(--ldkj-slider-thumb)] [&::-moz-range-thumb]:shadow-[var(--ldkj-slider-thumb-shadow),inset_0_1px_0_rgba(255,255,255,0.55)] [&::-moz-range-thumb]:transition-[transform,box-shadow,filter] [&::-moz-range-thumb]:duration-200 [&::-moz-range-thumb]:ease-out","hover:[&::-moz-range-thumb]:scale-110 hover:[&::-moz-range-thumb]:shadow-[var(--ldkj-slider-thumb-shadow-hover),inset_0_1px_0_rgba(255,255,255,0.65)] active:[&::-moz-range-thumb]:scale-95","[&::-moz-range-track]:h-[var(--ldkj-slider-track-size)] [&::-moz-range-track]:rounded-full [&::-moz-range-track]:bg-transparent",p,t,r),style:M({...s0[h],"--ldkj-slider-thumb-size":gl(l,"1.05rem"),"--ldkj-slider-track-size":gl(u,"0.4rem"),"--ldkj-slider-percent":`${k}%`,background:"linear-gradient(90deg, var(--ldkj-slider-fill) 0%, var(--ldkj-slider-fill-end) var(--ldkj-slider-percent), transparent var(--ldkj-slider-percent), transparent 100%), linear-gradient(180deg, rgba(255,255,255,0.86), rgba(148,163,184,0.22)), var(--ldkj-slider-track)"},i,x)})}rf.displayName="Slider";function i0({children:e}){return c.jsx("span",{className:"text-rose-500",children:e??"*"})}const go=d.createContext(null);function zr(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function He(e){return Array.isArray(e)?e.map(t=>He(t)):zr(e)?Object.fromEntries(Object.entries(e).map(([t,r])=>[t,He(r)])):e}function rn(e){return typeof e=="string"||typeof e=="number"?[e]:Array.from(e)}function Je(e){return JSON.stringify(rn(e))}function a0(e){return rn(e).join(".")}function Wt(e,t){let r=e;for(const n of rn(t)){if(r==null)return;r=r[n]}return r}function Tr(e,t,r){const n=rn(t);if(n.length===0)return e;const o=(s,i)=>{const a=n[i],l=i===n.length-1,u=Array.isArray(s)?[...s]:zr(s)?{...s}:typeof a=="number"?[]:{};return u[a]=l?r:o(u[a],i+1),u};return o(e,0)}function l0(e,t){const r=rn(t);if(r.length===0)return e;const n=(o,s)=>{if(!Array.isArray(o)&&!zr(o))return o;const i=r[s],a=Array.isArray(o)?[...o]:{...o};return s===r.length-1?(delete a[i],a):(a[i]=n(a[i],s+1),a)};return n(e,0)}function c0(e,t){return Tr({},e,t)}function u0(e,t){const r=(n,o)=>{if(zr(n)&&zr(o)){const s={...n};for(const[i,a]of Object.entries(o))s[i]=r(s[i],a);return s}return He(o)};return r(e,t)}function bl(){return{errors:[],touched:!1,validating:!1}}function d0(e){return e==null||e===""||Array.isArray(e)&&e.length===0}function f0(e){return e===void 0?[]:Array.isArray(e)?e:[e]}function h0(e,t,r){if(!e)return!0;const n=f0(t??r);return n.length===0||n.includes(e)}function m0(e,t){return d.isValidElement(e)?e:typeof e=="string"||typeof e=="number"?String(e):e instanceof Error?e.message:t}function p0(e){let t=He({}),r=He(t),n={},o=0;const s=new Set,i=new Map,a=new Map,l=()=>{for(const g of s)g()},u=g=>a.get(Je(g))??bl(),f=(g,P)=>{const w=Je(g);a.set(w,{...u(g),...P})},h=()=>Array.from(i.values()).map(g=>({name:g.name,value:Wt(t,g.name),...u(g.name)})),v=g=>{n.onFieldsChange?.(g,h())},m=async(g,P)=>{const w=g.rules.filter(N=>h0(P.trigger,N.validateTrigger,g.validateTrigger));if(w.length===0)return[];P.validateOnly||(f(g.name,{validating:!0}),l());const S=[];for(const N of w){const C=Wt(t,g.name),q=N.transform?N.transform(C):C,k=N.message??"该字段为必填项";if(N.required&&d0(q)){if(S.push(k),g.validateFirst)break;continue}if(N.validator){try{const A=await N.validator(q,He(t),y);A===!1?S.push(k):A!==void 0&&A!==!0&&S.push(A)}catch(A){S.push(m0(A,k))}if(g.validateFirst&&S.length>0)break}}return!P.validateOnly&&P.id===o&&(f(g.name,{errors:S,validating:!1}),v([{name:g.name,value:Wt(t,g.name),...u(g.name),errors:S,validating:!1}]),l()),S},b=async(g,P={})=>{const w=++o,S=g?.map(Je),N=Array.from(i.values()).filter(k=>S?S.includes(Je(k.name)):!0),q=(await Promise.all(N.map(async k=>({field:k,errors:await m(k,{id:w,trigger:P.trigger,validateOnly:P.validateOnly})})))).filter(k=>k.errors.length>0).map(k=>({errors:k.errors,name:k.field.name}));if(q.length>0)throw{errorFields:q,outOfDate:w!==o,values:He(t)};return He(t)},p=(g,P)=>{const w=Je(g);for(const S of i.values())(Je(S.name)===w||S.dependencies.some(C=>Je(C)===w))&&b([S.name],{trigger:P}).catch(()=>{})},x=(g,P,w={})=>{t=Tr(t,g,P),w.touched&&f(g,{touched:!0});const S={name:g,value:P,...u(g)};w.source!=="external"&&(n.onValuesChange?.(c0(g,P),He(t)),v([S])),l(),w.trigger&&p(g,w.trigger)},y={getFieldValue:g=>Wt(t,g),getFieldsValue:g=>g?g.reduce((P,w)=>Tr(P,w,Wt(t,w)),{}):He(t),getFieldError:g=>u(g).errors,getFieldsError:g=>(g??Array.from(i.values()).map(w=>w.name)).map(w=>({errors:u(w).errors,name:w})),getFieldMeta:g=>u(g),isFieldTouched:g=>u(g).touched,isFieldsTouched:g=>(g??Array.from(i.values()).map(w=>w.name)).some(w=>u(w).touched),setFieldValue:(g,P)=>x(g,P,{source:"external"}),setFieldsValue:g=>{t=u0(t,g),l()},setFields:g=>{for(const P of g)"value"in P&&(t=Tr(t,P.name,P.value)),f(P.name,{errors:P.errors??u(P.name).errors,touched:P.touched??u(P.name).touched,validating:P.validating??u(P.name).validating});v(g),l()},resetFields:g=>{const P=g??Array.from(i.values()).map(w=>w.name);if(!g)t=He(r),a.clear();else for(const w of P)t=Tr(t,w,Wt(r,w)),a.delete(Je(w));v(P.map(w=>({name:w,value:Wt(t,w),...u(w)}))),l()},validateFields:g=>b(g),submit:async()=>{try{const g=await b(void 0);n.onFinish?.(g)}catch(g){n.onFinishFailed?.(g)}},subscribe:g=>(s.add(g),()=>s.delete(g)),__INTERNAL__:{getStoreSnapshot:()=>t,getMetaSnapshot:g=>u(g),setCallbacks:g=>{n=g},setInitialValues:(g,P)=>{r=He(g??{}),P&&(t=He(r))},registerField:g=>{const P=Je(g.name);return i.set(P,g),a.has(P)||a.set(P,bl()),w=>{i.delete(P),w?.preserve===!1&&(t=l0(t,g.name),a.delete(P),l())}},setFieldValue:x,validateFields:b}};return y}function Ii(e){const t=d.useRef(null);return t.current||(t.current=e??p0()),[e??t.current]}function Oi(){const e=d.useContext(go);if(!e)throw new Error("Form hooks must be used inside a Form or receive a form instance.");return e}function bo(e,t){const r=d.useContext(go),n=t??r;if(!n)throw new Error("useFormValue must be used inside a Form or receive a form instance.");return d.useSyncExternalStore(n.subscribe,()=>e===void 0?n.__INTERNAL__.getStoreSnapshot():n.getFieldValue(e),()=>e===void 0?n.__INTERNAL__.getStoreSnapshot():n.getFieldValue(e))}function nf(e,t){return bo(e,t)}function v0(e,t){const r=d.useContext(go),n=t??r;if(!n)throw new Error("useFormFieldMeta must be used inside a Form or receive a form instance.");return d.useSyncExternalStore(n.subscribe,()=>n.__INTERNAL__.getMetaSnapshot(e),()=>n.__INTERNAL__.getMetaSnapshot(e))}const Lr={emptyValue:"",trigger:"onChange",valuePropName:"value"},xl={AutoComplete:{emptyValue:"",trigger:"onValueChange",valuePropName:"value"},Cascader:{emptyValue:[],trigger:"onValueChange",valuePropName:"value"},Checkbox:{emptyValue:!1,trigger:"onCheckedChange",valuePropName:"checked"},CheckboxGroup:{emptyValue:[],trigger:"onChange",valuePropName:"value"},Input:Lr,InputNumber:Lr,InputOPT:Lr,RadioGroup:{trigger:"onValueChange",valuePropName:"value"},Rate:{emptyValue:0,trigger:"onChange",valuePropName:"value"},Select:{trigger:"onValueChange",valuePropName:"value"},Slider:{emptyValue:0,trigger:"onValueChange",valuePropName:"value"},Switch:{emptyValue:!1,trigger:"onCheckedChange",valuePropName:"checked"},Uploader:{emptyValue:null,skipValueProp:!0,trigger:"onChange",valuePropName:"value"}};function g0(e){const t=e.type;return t.displayName??t.name??t.render?.displayName??t.render?.name}function b0(e){if(!e)return Lr;const t=g0(e);return t&&xl[t]?xl[t]:Lr}function x0(e,t){const[r]=t;if(r&&typeof r=="object"&&"target"in r&&r.target){const n=r.target;return e==="checked"?n.checked:n.value}return r}function y0(e){return e===void 0?[]:Array.isArray(e)?[...e]:[e]}function P0(e,t,r){return e!==void 0?e:r==="checked"?!1:t.emptyValue}function yl(e,t){return(...r)=>{e?.(...r),t(...r)}}function w0(e){const{className:t,class:r,form:n,initialValues:o,nativeSubmit:s=!1,onFieldsChange:i,onFinish:a,onFinishFailed:l,onReset:u,onSubmit:f,onValuesChange:h,style:v,sx:m,...b}=e,[p]=Ii(n),x=se(),{sxClassName:y,sxInlineStyle:g}=X(m,x),P=d.useRef(!1),w=!s&&(n!==void 0||a!==void 0||l!==void 0||h!==void 0||i!==void 0);p.__INTERNAL__.setCallbacks({onFieldsChange:i,onFinish:a,onFinishFailed:l,onValuesChange:h}),p.__INTERNAL__.setInitialValues(o,!P.current),P.current=!0;const S=C=>{f?.(C),!(C.defaultPrevented||!w)&&(C.preventDefault(),p.submit())},N=C=>{u?.(C),!(C.defaultPrevented||!w)&&p.resetFields()};return c.jsx(go.Provider,{value:p,children:c.jsx("form",{className:j("space-y-4",y,t,r),style:M(v,g),onReset:N,onSubmit:S,...b})})}function Mi(e){const{children:t,className:r,class:n,controlClassName:o,controlStyle:s,dependencies:i=[],extra:a,getValueFromEvent:l,getValueProps:u,help:f,initialValue:h,label:v,labelClassName:m,labelStyle:b,name:p,noStyle:x=!1,preserve:y=!0,required:g,rules:P=[],sx:w,style:S,trigger:N,validateFirst:C=!1,validateStatus:q,validateTrigger:k="onChange",valuePropName:A,...E}=e,R=Oi(),_=se(),{sxClassName:I,sxInlineStyle:O}=X(w,_),T=bo(void 0,R),$=p===void 0?void 0:Je(p),B=p===void 0?void 0:R.getFieldValue(p),U=v0(p??"__FORM_ITEM__",R),L=d.isValidElement(t)&&typeof t.type!="string"?t:null,G=b0(L),me=A??G.valuePropName,te=N??G.trigger,J=P.some(ue=>ue.required),H=d.useMemo(()=>g&&!J?[{required:!0},...P]:P,[J,g,P]),Y=d.useMemo(()=>JSON.stringify(i.map(Je)),[i]),D=d.useRef(H);D.current=H,d.useEffect(()=>{if(p===void 0)return;h!==void 0&&R.getFieldValue(p)===void 0&&R.__INTERNAL__.setFieldValue(p,h,{source:"external"});const ue=R.__INTERNAL__.registerField({dependencies:i,name:p,rules:D.current,validateFirst:C,validateTrigger:k});return()=>ue({preserve:y})},[Y,R,h,p,$,y,C,k]);const Q={form:R,meta:U,value:B,values:T},z=()=>{if(typeof t=="function")return t(Q);if(!L||p===void 0)return t;const ue=L.props,pe=u?u(B):G.skipValueProp?{}:{[me]:P0(B,G,me)};ue.name===void 0&&(pe.name=a0(p)),pe[te]=yl(ue[te],(...ve)=>{const ie=l?l(...ve):x0(me,ve);R.__INTERNAL__.setFieldValue(p,ie,{source:"internal",touched:!0,trigger:te})});for(const ve of y0(k))ve!==te&&(pe[ve]=yl(pe[ve]??ue[ve],()=>{R.__INTERNAL__.validateFields([p],{trigger:ve}).catch(()=>{})}));return d.cloneElement(L,pe)},K=U.errors,W=f??K[0],Z=q??(U.validating?"validating":K.length>0?"error":void 0),ae=c.jsxs(c.Fragment,{children:[v!==void 0?c.jsxs("div",{className:j("text-sm font-medium leading-5 text-slate-700",m),style:b,children:[v,g||J?c.jsx("span",{className:"ml-1 text-red-500","aria-hidden":"true",children:"*"}):null]}):null,c.jsx("div",{className:o,style:s,children:z()}),W!==void 0?c.jsx("div",{className:j("text-xs leading-5",Z==="error"?"text-red-600":"text-slate-500"),"aria-live":Z==="error"?"polite":void 0,role:Z==="error"?"alert":void 0,children:W}):null,a!==void 0?c.jsx("div",{className:"text-xs leading-5 text-slate-500",children:a}):null]});return x?ae:c.jsx("div",{className:j("space-y-2",Z==="error"&&"[&_input]:border-red-500",I,r,n),style:M(S,O),...E,children:ae})}Mi.displayName="FormItem";const of=Object.assign(w0,{Item:Mi,useForm:Ii,useFormInstance:Oi,useFormValue:bo,useFormWatch:nf});of.displayName="Form";function C0(e){const{accept:t,multiple:r=!1,name:n,disabled:o=!1,onChange:s}=e,i=d.useRef(null);return c.jsxs("div",{className:"inline-flex items-center gap-3",children:[c.jsx("input",{ref:i,hidden:!0,type:"file",accept:t,multiple:r,name:n,disabled:o,onChange:a=>s?.(a.target.files)}),c.jsx(Yr,{type:"button",disabled:o,onClick:()=>i.current?.click(),children:"选择文件"})]})}function Pl(e,[t,r]){return Math.min(r,Math.max(t,e))}var S0=[" ","Enter","ArrowUp","ArrowDown"],N0=[" ","Enter"],Xt="Select",[xo,yo,q0]=_d(Xt),[Cr]=tt(Xt,[q0,Pr]),Po=Pr(),[k0,Ft]=Cr(Xt),[E0,R0]=Cr(Xt),sf=e=>{const{__scopeSelect:t,children:r,open:n,defaultOpen:o,onOpenChange:s,value:i,defaultValue:a,onValueChange:l,dir:u,name:f,autoComplete:h,disabled:v,required:m,form:b}=e,p=Po(t),[x,y]=d.useState(null),[g,P]=d.useState(null),[w,S]=d.useState(!1),N=mo(u),[C,q]=xt({prop:n,defaultProp:o??!1,onChange:s,caller:Xt}),[k,A]=xt({prop:i,defaultProp:a,onChange:l,caller:Xt}),E=d.useRef(null),R=x?b||!!x.closest("form"):!0,[_,I]=d.useState(new Set),O=Array.from(_).map(T=>T.props.value).join(";");return c.jsx(Pi,{...p,children:c.jsxs(k0,{required:m,scope:t,trigger:x,onTriggerChange:y,valueNode:g,onValueNodeChange:P,valueNodeHasChildren:w,onValueNodeHasChildrenChange:S,contentId:er(),value:k,onValueChange:A,open:C,onOpenChange:q,dir:N,triggerPointerDownPosRef:E,disabled:v,children:[c.jsx(xo.Provider,{scope:t,children:c.jsx(E0,{scope:e.__scopeSelect,onNativeOptionAdd:d.useCallback(T=>{I($=>new Set($).add(T))},[]),onNativeOptionRemove:d.useCallback(T=>{I($=>{const B=new Set($);return B.delete(T),B})},[]),children:r})}),R?c.jsxs(Af,{"aria-hidden":!0,required:m,tabIndex:-1,name:f,autoComplete:h,value:k,onChange:T=>A(T.target.value),disabled:v,form:b,children:[k===void 0?c.jsx("option",{value:""}):null,Array.from(_)]},O):null]})})};sf.displayName=Xt;var af="SelectTrigger",lf=d.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...o}=e,s=Po(r),i=Ft(af,r),a=i.disabled||n,l=ke(t,i.onTriggerChange),u=yo(r),f=d.useRef("touch"),[h,v,m]=Tf(p=>{const x=u().filter(P=>!P.disabled),y=x.find(P=>P.value===i.value),g=If(x,p,y);g!==void 0&&i.onValueChange(g.value)}),b=p=>{a||(i.onOpenChange(!0),m()),p&&(i.triggerPointerDownPosRef.current={x:Math.round(p.pageX),y:Math.round(p.pageY)})};return c.jsx(ro,{asChild:!0,...s,children:c.jsx(be.button,{type:"button",role:"combobox","aria-controls":i.contentId,"aria-expanded":i.open,"aria-required":i.required,"aria-autocomplete":"none",dir:i.dir,"data-state":i.open?"open":"closed",disabled:a,"data-disabled":a?"":void 0,"data-placeholder":_f(i.value)?"":void 0,...o,ref:l,onClick:ce(o.onClick,p=>{p.currentTarget.focus(),f.current!=="mouse"&&b(p)}),onPointerDown:ce(o.onPointerDown,p=>{f.current=p.pointerType;const x=p.target;x.hasPointerCapture(p.pointerId)&&x.releasePointerCapture(p.pointerId),p.button===0&&p.ctrlKey===!1&&p.pointerType==="mouse"&&(b(p),p.preventDefault())}),onKeyDown:ce(o.onKeyDown,p=>{const x=h.current!=="";!(p.ctrlKey||p.altKey||p.metaKey)&&p.key.length===1&&v(p.key),!(x&&p.key===" ")&&S0.includes(p.key)&&(b(),p.preventDefault())})})})});lf.displayName=af;var cf="SelectValue",uf=d.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,children:s,placeholder:i="",...a}=e,l=Ft(cf,r),{onValueNodeHasChildrenChange:u}=l,f=s!==void 0,h=ke(t,l.onValueNodeChange);return Le(()=>{u(f)},[u,f]),c.jsx(be.span,{...a,ref:h,style:{pointerEvents:"none"},children:_f(l.value)?c.jsx(c.Fragment,{children:i}):s})});uf.displayName=cf;var j0="SelectIcon",df=d.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...o}=e;return c.jsx(be.span,{"aria-hidden":!0,...o,ref:t,children:n||"▼"})});df.displayName=j0;var A0="SelectPortal",ff=e=>c.jsx(no,{asChild:!0,...e});ff.displayName=A0;var Jt="SelectContent",hf=d.forwardRef((e,t)=>{const r=Ft(Jt,e.__scopeSelect),[n,o]=d.useState();if(Le(()=>{o(new DocumentFragment)},[]),!r.open){const s=n;return s?Gr.createPortal(c.jsx(mf,{scope:e.__scopeSelect,children:c.jsx(xo.Slot,{scope:e.__scopeSelect,children:c.jsx("div",{children:e.children})})}),s):null}return c.jsx(pf,{...e,ref:t})});hf.displayName=Jt;var Qe=10,[mf,$t]=Cr(Jt),_0="SelectContentImpl",T0=Fr("SelectContent.RemoveScroll"),pf=d.forwardRef((e,t)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:s,onPointerDownOutside:i,side:a,sideOffset:l,align:u,alignOffset:f,arrowPadding:h,collisionBoundary:v,collisionPadding:m,sticky:b,hideWhenDetached:p,avoidCollisions:x,...y}=e,g=Ft(Jt,r),[P,w]=d.useState(null),[S,N]=d.useState(null),C=ke(t,D=>w(D)),[q,k]=d.useState(null),[A,E]=d.useState(null),R=yo(r),[_,I]=d.useState(!1),O=d.useRef(!1);d.useEffect(()=>{if(P)return _u(P)},[P]),lu();const T=d.useCallback(D=>{const[Q,...z]=R().map(Z=>Z.ref.current),[K]=z.slice(-1),W=document.activeElement;for(const Z of D)if(Z===W||(Z?.scrollIntoView({block:"nearest"}),Z===Q&&S&&(S.scrollTop=0),Z===K&&S&&(S.scrollTop=S.scrollHeight),Z?.focus(),document.activeElement!==W))return},[R,S]),$=d.useCallback(()=>T([q,P]),[T,q,P]);d.useEffect(()=>{_&&$()},[_,$]);const{onOpenChange:B,triggerPointerDownPosRef:U}=g;d.useEffect(()=>{if(P){let D={x:0,y:0};const Q=K=>{D={x:Math.abs(Math.round(K.pageX)-(U.current?.x??0)),y:Math.abs(Math.round(K.pageY)-(U.current?.y??0))}},z=K=>{D.x<=10&&D.y<=10?K.preventDefault():P.contains(K.target)||B(!1),document.removeEventListener("pointermove",Q),U.current=null};return U.current!==null&&(document.addEventListener("pointermove",Q),document.addEventListener("pointerup",z,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Q),document.removeEventListener("pointerup",z,{capture:!0})}}},[P,B,U]),d.useEffect(()=>{const D=()=>B(!1);return window.addEventListener("blur",D),window.addEventListener("resize",D),()=>{window.removeEventListener("blur",D),window.removeEventListener("resize",D)}},[B]);const[L,G]=Tf(D=>{const Q=R().filter(W=>!W.disabled),z=Q.find(W=>W.ref.current===document.activeElement),K=If(Q,D,z);K&&setTimeout(()=>K.ref.current.focus())}),me=d.useCallback((D,Q,z)=>{const K=!O.current&&!z;(g.value!==void 0&&g.value===Q||K)&&(k(D),K&&(O.current=!0))},[g.value]),te=d.useCallback(()=>P?.focus(),[P]),J=d.useCallback((D,Q,z)=>{const K=!O.current&&!z;(g.value!==void 0&&g.value===Q||K)&&E(D)},[g.value]),H=n==="popper"?$s:vf,Y=H===$s?{side:a,sideOffset:l,align:u,alignOffset:f,arrowPadding:h,collisionBoundary:v,collisionPadding:m,sticky:b,hideWhenDetached:p,avoidCollisions:x}:{};return c.jsx(mf,{scope:r,content:P,viewport:S,onViewportChange:N,itemRefCallback:me,selectedItem:q,onItemLeave:te,itemTextRefCallback:J,focusSelectedItem:$,selectedItemText:A,position:n,isPositioned:_,searchRef:L,children:c.jsx(Si,{as:T0,allowPinchZoom:!0,children:c.jsx(fi,{asChild:!0,trapped:g.open,onMountAutoFocus:D=>{D.preventDefault()},onUnmountAutoFocus:ce(o,D=>{g.trigger?.focus({preventScroll:!0}),D.preventDefault()}),children:c.jsx(Xn,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:D=>D.preventDefault(),onDismiss:()=>g.onOpenChange(!1),children:c.jsx(H,{role:"listbox",id:g.contentId,"data-state":g.open?"open":"closed",dir:g.dir,onContextMenu:D=>D.preventDefault(),...y,...Y,onPlaced:()=>I(!0),ref:C,style:{display:"flex",flexDirection:"column",outline:"none",...y.style},onKeyDown:ce(y.onKeyDown,D=>{const Q=D.ctrlKey||D.altKey||D.metaKey;if(D.key==="Tab"&&D.preventDefault(),!Q&&D.key.length===1&&G(D.key),["ArrowUp","ArrowDown","Home","End"].includes(D.key)){let K=R().filter(W=>!W.disabled).map(W=>W.ref.current);if(["ArrowUp","End"].includes(D.key)&&(K=K.slice().reverse()),["ArrowUp","ArrowDown"].includes(D.key)){const W=D.target,Z=K.indexOf(W);K=K.slice(Z+1)}setTimeout(()=>T(K)),D.preventDefault()}})})})})})})});pf.displayName=_0;var I0="SelectItemAlignedPosition",vf=d.forwardRef((e,t)=>{const{__scopeSelect:r,onPlaced:n,...o}=e,s=Ft(Jt,r),i=$t(Jt,r),[a,l]=d.useState(null),[u,f]=d.useState(null),h=ke(t,C=>f(C)),v=yo(r),m=d.useRef(!1),b=d.useRef(!0),{viewport:p,selectedItem:x,selectedItemText:y,focusSelectedItem:g}=i,P=d.useCallback(()=>{if(s.trigger&&s.valueNode&&a&&u&&p&&x&&y){const C=s.trigger.getBoundingClientRect(),q=u.getBoundingClientRect(),k=s.valueNode.getBoundingClientRect(),A=y.getBoundingClientRect();if(s.dir!=="rtl"){const W=A.left-q.left,Z=k.left-W,ae=C.left-Z,ue=C.width+ae,pe=Math.max(ue,q.width),ve=window.innerWidth-Qe,ie=Pl(Z,[Qe,Math.max(Qe,ve-pe)]);a.style.minWidth=ue+"px",a.style.left=ie+"px"}else{const W=q.right-A.right,Z=window.innerWidth-k.right-W,ae=window.innerWidth-C.right-Z,ue=C.width+ae,pe=Math.max(ue,q.width),ve=window.innerWidth-Qe,ie=Pl(Z,[Qe,Math.max(Qe,ve-pe)]);a.style.minWidth=ue+"px",a.style.right=ie+"px"}const E=v(),R=window.innerHeight-Qe*2,_=p.scrollHeight,I=window.getComputedStyle(u),O=parseInt(I.borderTopWidth,10),T=parseInt(I.paddingTop,10),$=parseInt(I.borderBottomWidth,10),B=parseInt(I.paddingBottom,10),U=O+T+_+B+$,L=Math.min(x.offsetHeight*5,U),G=window.getComputedStyle(p),me=parseInt(G.paddingTop,10),te=parseInt(G.paddingBottom,10),J=C.top+C.height/2-Qe,H=R-J,Y=x.offsetHeight/2,D=x.offsetTop+Y,Q=O+T+D,z=U-Q;if(Q<=J){const W=E.length>0&&x===E[E.length-1].ref.current;a.style.bottom="0px";const Z=u.clientHeight-p.offsetTop-p.offsetHeight,ae=Math.max(H,Y+(W?te:0)+Z+$),ue=Q+ae;a.style.height=ue+"px"}else{const W=E.length>0&&x===E[0].ref.current;a.style.top="0px";const ae=Math.max(J,O+p.offsetTop+(W?me:0)+Y)+z;a.style.height=ae+"px",p.scrollTop=Q-J+p.offsetTop}a.style.margin=`${Qe}px 0`,a.style.minHeight=L+"px",a.style.maxHeight=R+"px",n?.(),requestAnimationFrame(()=>m.current=!0)}},[v,s.trigger,s.valueNode,a,u,p,x,y,s.dir,n]);Le(()=>P(),[P]);const[w,S]=d.useState();Le(()=>{u&&S(window.getComputedStyle(u).zIndex)},[u]);const N=d.useCallback(C=>{C&&b.current===!0&&(P(),g?.(),b.current=!1)},[P,g]);return c.jsx(M0,{scope:r,contentWrapper:a,shouldExpandOnScrollRef:m,onScrollButtonChange:N,children:c.jsx("div",{ref:l,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:w},children:c.jsx(be.div,{...o,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});vf.displayName=I0;var O0="SelectPopperPosition",$s=d.forwardRef((e,t)=>{const{__scopeSelect:r,align:n="start",collisionPadding:o=Qe,...s}=e,i=Po(r);return c.jsx(wi,{...i,...s,ref:t,align:n,collisionPadding:o,style:{boxSizing:"border-box",...s.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});$s.displayName=O0;var[M0,Li]=Cr(Jt,{}),Vs="SelectViewport",gf=d.forwardRef((e,t)=>{const{__scopeSelect:r,nonce:n,...o}=e,s=$t(Vs,r),i=Li(Vs,r),a=ke(t,s.onViewportChange),l=d.useRef(0);return c.jsxs(c.Fragment,{children:[c.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:n}),c.jsx(xo.Slot,{scope:r,children:c.jsx(be.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:a,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:ce(o.onScroll,u=>{const f=u.currentTarget,{contentWrapper:h,shouldExpandOnScrollRef:v}=i;if(v?.current&&h){const m=Math.abs(l.current-f.scrollTop);if(m>0){const b=window.innerHeight-Qe*2,p=parseFloat(h.style.minHeight),x=parseFloat(h.style.height),y=Math.max(p,x);if(y<b){const g=y+m,P=Math.min(b,g),w=g-P;h.style.height=P+"px",h.style.bottom==="0px"&&(f.scrollTop=w>0?w:0,h.style.justifyContent="flex-end")}}}l.current=f.scrollTop})})})]})});gf.displayName=Vs;var bf="SelectGroup",[L0,D0]=Cr(bf),xf=d.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=er();return c.jsx(L0,{scope:r,id:o,children:c.jsx(be.div,{role:"group","aria-labelledby":o,...n,ref:t})})});xf.displayName=bf;var yf="SelectLabel",Pf=d.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=D0(yf,r);return c.jsx(be.div,{id:o.id,...n,ref:t})});Pf.displayName=yf;var Vn="SelectItem",[B0,wf]=Cr(Vn),Cf=d.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:s,...i}=e,a=Ft(Vn,r),l=$t(Vn,r),u=a.value===n,[f,h]=d.useState(s??""),[v,m]=d.useState(!1),b=ke(t,g=>l.itemRefCallback?.(g,n,o)),p=er(),x=d.useRef("touch"),y=()=>{o||(a.onValueChange(n),a.onOpenChange(!1))};if(n==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return c.jsx(B0,{scope:r,value:n,disabled:o,textId:p,isSelected:u,onItemTextChange:d.useCallback(g=>{h(P=>P||(g?.textContent??"").trim())},[]),children:c.jsx(xo.ItemSlot,{scope:r,value:n,disabled:o,textValue:f,children:c.jsx(be.div,{role:"option","aria-labelledby":p,"data-highlighted":v?"":void 0,"aria-selected":u&&v,"data-state":u?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...i,ref:b,onFocus:ce(i.onFocus,()=>m(!0)),onBlur:ce(i.onBlur,()=>m(!1)),onClick:ce(i.onClick,()=>{x.current!=="mouse"&&y()}),onPointerUp:ce(i.onPointerUp,()=>{x.current==="mouse"&&y()}),onPointerDown:ce(i.onPointerDown,g=>{x.current=g.pointerType}),onPointerMove:ce(i.onPointerMove,g=>{x.current=g.pointerType,o?l.onItemLeave?.():x.current==="mouse"&&g.currentTarget.focus({preventScroll:!0})}),onPointerLeave:ce(i.onPointerLeave,g=>{g.currentTarget===document.activeElement&&l.onItemLeave?.()}),onKeyDown:ce(i.onKeyDown,g=>{l.searchRef?.current!==""&&g.key===" "||(N0.includes(g.key)&&y(),g.key===" "&&g.preventDefault())})})})})});Cf.displayName=Vn;var Ir="SelectItemText",Sf=d.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,...s}=e,i=Ft(Ir,r),a=$t(Ir,r),l=wf(Ir,r),u=R0(Ir,r),[f,h]=d.useState(null),v=ke(t,y=>h(y),l.onItemTextChange,y=>a.itemTextRefCallback?.(y,l.value,l.disabled)),m=f?.textContent,b=d.useMemo(()=>c.jsx("option",{value:l.value,disabled:l.disabled,children:m},l.value),[l.disabled,l.value,m]),{onNativeOptionAdd:p,onNativeOptionRemove:x}=u;return Le(()=>(p(b),()=>x(b)),[p,x,b]),c.jsxs(c.Fragment,{children:[c.jsx(be.span,{id:l.textId,...s,ref:v}),l.isSelected&&i.valueNode&&!i.valueNodeHasChildren?Gr.createPortal(s.children,i.valueNode):null]})});Sf.displayName=Ir;var Nf="SelectItemIndicator",qf=d.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return wf(Nf,r).isSelected?c.jsx(be.span,{"aria-hidden":!0,...n,ref:t}):null});qf.displayName=Nf;var zs="SelectScrollUpButton",kf=d.forwardRef((e,t)=>{const r=$t(zs,e.__scopeSelect),n=Li(zs,e.__scopeSelect),[o,s]=d.useState(!1),i=ke(t,n.onScrollButtonChange);return Le(()=>{if(r.viewport&&r.isPositioned){let a=function(){const u=l.scrollTop>0;s(u)};const l=r.viewport;return a(),l.addEventListener("scroll",a),()=>l.removeEventListener("scroll",a)}},[r.viewport,r.isPositioned]),o?c.jsx(Rf,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:l}=r;a&&l&&(a.scrollTop=a.scrollTop-l.offsetHeight)}}):null});kf.displayName=zs;var Hs="SelectScrollDownButton",Ef=d.forwardRef((e,t)=>{const r=$t(Hs,e.__scopeSelect),n=Li(Hs,e.__scopeSelect),[o,s]=d.useState(!1),i=ke(t,n.onScrollButtonChange);return Le(()=>{if(r.viewport&&r.isPositioned){let a=function(){const u=l.scrollHeight-l.clientHeight,f=Math.ceil(l.scrollTop)<u;s(f)};const l=r.viewport;return a(),l.addEventListener("scroll",a),()=>l.removeEventListener("scroll",a)}},[r.viewport,r.isPositioned]),o?c.jsx(Rf,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:l}=r;a&&l&&(a.scrollTop=a.scrollTop+l.offsetHeight)}}):null});Ef.displayName=Hs;var Rf=d.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=e,s=$t("SelectScrollButton",r),i=d.useRef(null),a=yo(r),l=d.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return d.useEffect(()=>()=>l(),[l]),Le(()=>{a().find(f=>f.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[a]),c.jsx(be.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:ce(o.onPointerDown,()=>{i.current===null&&(i.current=window.setInterval(n,50))}),onPointerMove:ce(o.onPointerMove,()=>{s.onItemLeave?.(),i.current===null&&(i.current=window.setInterval(n,50))}),onPointerLeave:ce(o.onPointerLeave,()=>{l()})})}),F0="SelectSeparator",jf=d.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return c.jsx(be.div,{"aria-hidden":!0,...n,ref:t})});jf.displayName=F0;var Ws="SelectArrow",$0=d.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=Po(r),s=Ft(Ws,r),i=$t(Ws,r);return s.open&&i.position==="popper"?c.jsx(Ci,{...o,...n,ref:t}):null});$0.displayName=Ws;var V0="SelectBubbleInput",Af=d.forwardRef(({__scopeSelect:e,value:t,...r},n)=>{const o=d.useRef(null),s=ke(n,o),i=lo(t);return d.useEffect(()=>{const a=o.current;if(!a)return;const l=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(l,"value").set;if(i!==t&&f){const h=new Event("change",{bubbles:!0});f.call(a,t),a.dispatchEvent(h)}},[i,t]),c.jsx(be.select,{...r,style:{...td,...r.style},ref:s,defaultValue:t})});Af.displayName=V0;function _f(e){return e===""||e===void 0}function Tf(e){const t=vt(e),r=d.useRef(""),n=d.useRef(0),o=d.useCallback(i=>{const a=r.current+i;t(a),(function l(u){r.current=u,window.clearTimeout(n.current),u!==""&&(n.current=window.setTimeout(()=>l(""),1e3))})(a)},[t]),s=d.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return d.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,s]}function If(e,t,r){const o=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,s=r?e.indexOf(r):-1;let i=z0(e,Math.max(s,0));o.length===1&&(i=i.filter(u=>u!==r));const l=i.find(u=>u.textValue.toLowerCase().startsWith(o.toLowerCase()));return l!==r?l:void 0}function z0(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var H0=sf,W0=lf,G0=uf,K0=df,U0=ff,Y0=hf,X0=gf,J0=xf,Q0=Pf,Z0=Cf,eP=Sf,tP=qf,rP=kf,nP=Ef,oP=jf;const wl="data-scroll-locked",Of=d.createContext({lockScroll:!1});function sP(e,t){(typeof window>"u"?d.useEffect:d.useLayoutEffect)(e,t)}function Cl(){return document.querySelector('[role="listbox"][data-state="open"][data-ldkj-select-lock-scroll="false"]')!==null}function iP(e){sP(()=>{if(!e||typeof document>"u")return;const t=document.body,r=()=>{Cl()&&t.removeAttribute(wl)},n=a=>{Cl()&&a.stopImmediatePropagation()},o=typeof MutationObserver>"u"?null:new MutationObserver(r),s={passive:!1},i=window.setTimeout(r,0);return o?.observe(t,{attributes:!0,attributeFilter:[wl]}),document.addEventListener("wheel",n,s),document.addEventListener("touchmove",n,s),r(),()=>{window.clearTimeout(i),o?.disconnect(),document.removeEventListener("wheel",n),document.removeEventListener("touchmove",n)}},[e])}function Mf(e){const{lockScroll:t=!1,...r}=e;return iP(!t),c.jsx(Of.Provider,{value:{lockScroll:t},children:c.jsx(H0,{...r})})}Mf.displayName="Select";const Lf=J0,aP=G0;function lP(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M3.5 8.5L6.5 11.5L12.5 4.5",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round"})})}function Df(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M4 6L8 10L12 6",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function cP(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M4 10L8 6L12 10",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function tr(e){const t=se();return X(e,t)}const Bf=d.forwardRef((e,t)=>{const{className:r,class:n,children:o,sx:s,style:i,...a}=e,{sxClassName:l,sxInlineStyle:u}=tr(s);return c.jsxs(W0,{ref:t,className:j("flex h-9 w-full items-center justify-between gap-2 rounded-md border border-solid border-slate-300 bg-white px-3 py-2 text-sm text-slate-900 shadow-sm transition-colors","placeholder:text-slate-400 data-[placeholder]:text-slate-400","focus-visible:border-blue-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30","disabled:cursor-not-allowed disabled:bg-slate-50 disabled:text-slate-500 disabled:opacity-70","[&>span]:min-w-0 [&>span]:truncate",l,r,n),style:M(i,u),...a,children:[o,c.jsx(K0,{asChild:!0,children:c.jsx(Df,{className:"h-4 w-4 shrink-0 text-slate-500"})})]})});Bf.displayName="SelectTrigger";const Di=d.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=tr(o);return c.jsx(rP,{ref:t,className:j("flex cursor-default items-center justify-center py-1 text-slate-500",a,r,n),style:M(s,l),...i,children:c.jsx(cP,{className:"h-4 w-4"})})});Di.displayName="SelectScrollUpButton";const Bi=d.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=tr(o);return c.jsx(nP,{ref:t,className:j("flex cursor-default items-center justify-center py-1 text-slate-500",a,r,n),style:M(s,l),...i,children:c.jsx(Df,{className:"h-4 w-4"})})});Bi.displayName="SelectScrollDownButton";const Ff=d.forwardRef((e,t)=>{const{className:r,class:n,children:o,position:s="popper",sx:i,style:a,...l}=e,{sxClassName:u,sxInlineStyle:f}=tr(i),{lockScroll:h}=d.useContext(Of);return c.jsx(U0,{children:c.jsxs(Y0,{ref:t,className:j("relative z-50 max-h-[var(--radix-select-content-available-height)] min-w-32 overflow-hidden rounded-md border border-solid border-slate-200 bg-white text-slate-900 shadow-lg","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]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","origin-[var(--radix-select-content-transform-origin)]",s==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",u,r,n),style:M(a,f),position:s,"data-ldkj-select-lock-scroll":h?"true":"false",...l,children:[c.jsx(Di,{}),c.jsx(X0,{className:j("p-1",s==="popper"&&"w-full min-w-[var(--radix-select-trigger-width)]"),children:o}),c.jsx(Bi,{})]})})});Ff.displayName="SelectContent";const Fi=d.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=tr(o);return c.jsx(Q0,{ref:t,className:j("px-2 py-1.5 text-xs font-medium text-slate-500",a,r,n),style:M(s,l),...i})});Fi.displayName="SelectLabel";const zn=d.forwardRef((e,t)=>{const{className:r,class:n,children:o,sx:s,style:i,...a}=e,{sxClassName:l,sxInlineStyle:u}=tr(s);return c.jsxs(Z0,{ref:t,className:j("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm leading-5 text-slate-700 outline-none transition-colors","focus:bg-blue-50 focus:text-blue-700","data-[disabled]:pointer-events-none data-[disabled]:text-slate-400 data-[disabled]:opacity-70",l,r,n),style:M(i,u),...a,children:[c.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center text-blue-600",children:c.jsx(tP,{children:c.jsx(lP,{className:"h-4 w-4"})})}),c.jsx(eP,{children:o})]})});zn.displayName="SelectItem";const $i=d.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=tr(o);return c.jsx(oP,{ref:t,className:j("-mx-1 my-1 h-px bg-slate-200",a,r,n),style:M(s,l),...i})});$i.displayName="SelectSeparator";function uP(e){return"options"in e}function dP(e){const{options:t,itemProps:r,labelProps:n,separatorProps:o}=e;return c.jsx(c.Fragment,{children:t.map((s,i)=>uP(s)?c.jsxs(Lf,{children:[s.label?c.jsx(Fi,{...n,children:s.label}):null,s.options.map(a=>c.jsx(zn,{...r,value:a.value,disabled:a.disabled,textValue:a.textValue,className:j(r?.className,a.className),class:j(r?.class,a.class),style:M(r?.style,a.style),sx:[r?.sx,a.sx],children:a.label},a.value)),s.separator?c.jsx($i,{...o}):null]},`group-${i}`):c.jsx(zn,{...r,value:s.value,disabled:s.disabled,textValue:s.textValue,className:j(r?.className,s.className),class:j(r?.class,s.class),style:M(r?.style,s.style),sx:[r?.sx,s.sx],children:s.label},s.value))})}var wo="Switch",[fP]=tt(wo),[hP,mP]=fP(wo),$f=d.forwardRef((e,t)=>{const{__scopeSwitch:r,name:n,checked:o,defaultChecked:s,required:i,disabled:a,value:l="on",onCheckedChange:u,form:f,...h}=e,[v,m]=d.useState(null),b=ke(t,P=>m(P)),p=d.useRef(!1),x=v?f||!!v.closest("form"):!0,[y,g]=xt({prop:o,defaultProp:s??!1,onChange:u,caller:wo});return c.jsxs(hP,{scope:r,checked:y,disabled:a,children:[c.jsx(be.button,{type:"button",role:"switch","aria-checked":y,"aria-required":i,"data-state":Wf(y),"data-disabled":a?"":void 0,disabled:a,value:l,...h,ref:b,onClick:ce(e.onClick,P=>{g(w=>!w),x&&(p.current=P.isPropagationStopped(),p.current||P.stopPropagation())})}),x&&c.jsx(Hf,{control:v,bubbles:!p.current,name:n,value:l,checked:y,required:i,disabled:a,form:f,style:{transform:"translateX(-100%)"}})]})});$f.displayName=wo;var Vf="SwitchThumb",zf=d.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,o=mP(Vf,r);return c.jsx(be.span,{"data-state":Wf(o.checked),"data-disabled":o.disabled?"":void 0,...n,ref:t})});zf.displayName=Vf;var pP="SwitchBubbleInput",Hf=d.forwardRef(({__scopeSwitch:e,control:t,checked:r,bubbles:n=!0,...o},s)=>{const i=d.useRef(null),a=ke(i,s),l=lo(r),u=to(t);return d.useEffect(()=>{const f=i.current;if(!f)return;const h=window.HTMLInputElement.prototype,m=Object.getOwnPropertyDescriptor(h,"checked").set;if(l!==r&&m){const b=new Event("click",{bubbles:n});m.call(f,r),f.dispatchEvent(b)}},[l,r,n]),c.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...o,tabIndex:-1,ref:a,style:{...o.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});Hf.displayName=pP;function Wf(e){return e?"checked":"unchecked"}var vP=$f,gP=zf;const bP={sm:"h-5 w-9",md:"h-6 w-11",lg:"h-7 w-[52px]"},xP={sm:"h-4 w-4 data-[state=checked]:translate-x-4",md:"h-5 w-5 data-[state=checked]:translate-x-5",lg:"h-6 w-6 data-[state=checked]:translate-x-6"},Gf=d.forwardRef((e,t)=>{const{className:r,class:n,containerClass:o,containerClassName:s,containerStyle:i,containerSx:a,description:l,disabled:u,id:f,label:h,labelPosition:v="right",size:m="md",style:b,sx:p,"aria-describedby":x,...y}=e,g=se(),{sxClassName:P,sxInlineStyle:w}=X(p,g),{sxClassName:S,sxInlineStyle:N}=X(a,g),C=d.useId(),q=f??`ldkj-switch-${C}`,k=l===void 0?void 0:`${q}-description`,A=[x,k].filter(Boolean).join(" ")||void 0,E=c.jsx(vP,{ref:t,id:q,disabled:u,"aria-describedby":A,className:j("peer inline-flex shrink-0 cursor-pointer items-center rounded-full border border-transparent bg-slate-300 p-0.5 transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50","data-[state=checked]:bg-blue-600 data-[state=unchecked]:bg-slate-300",bP[m],P,r,n),style:M(b,w),...y,children:c.jsx(gP,{className:j("pointer-events-none block rounded-full bg-white shadow-sm ring-0 transition-transform","data-[state=unchecked]:translate-x-0",xP[m])})});if(h===void 0&&l===void 0)return E;const R=c.jsxs("span",{className:"flex min-w-0 flex-col gap-0.5",children:[h!==void 0?c.jsx(Ds,{htmlFor:q,className:j("text-sm font-medium leading-5 text-slate-700",u?"cursor-not-allowed opacity-60":"cursor-pointer"),children:h}):null,l!==void 0?c.jsx("span",{id:k,className:"text-xs leading-5 text-slate-500",children:l}):null]});return c.jsxs("div",{className:j("inline-flex w-fit items-center gap-3",u?"cursor-not-allowed":void 0,S,s,o),style:M(i,N),children:[v==="left"?R:null,E,v==="right"?R:null]})});Gf.displayName="Switch";function Hn(e){const{value:t,defaultValue:r,onChange:n}=e,[o,s]=d.useState(r),i=t!==void 0,a=i?t:o,l=d.useCallback(u=>{i||s(u),n?.(u)},[i,n]);return[a,l,i]}function Kf(e){const t=se();return X(e,t)}function yP(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function Gs(e){return e==="center"?"justify-center text-center":e==="right"?"justify-end text-right":"justify-start text-left"}function PP(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M4 6L8 10L12 6",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function wP(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M6 4L10 8L6 12",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function CP(e){return c.jsxs("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:[c.jsx("path",{d:"M4.5 4.5L11.5 11.5",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"}),c.jsx("path",{d:"M11.5 4.5L4.5 11.5",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"})]})}function Sl(){return c.jsx("span",{className:"inline-block h-3.5 w-3.5 animate-spin rounded-full border-2 border-slate-300 border-t-blue-600","aria-hidden":"true"})}function Uf(e){const{open:t,title:r,cancelText:n="取消",confirmText:o="确定",confirmDisabled:s=!1,maxHeight:i="76vh",children:a,className:l,class:u,style:f,sx:h,onCancel:v,onConfirm:m,onOpenChange:b}=e,{sxClassName:p,sxInlineStyle:x}=Kf(h);if(d.useEffect(()=>{if(!t||typeof document>"u")return;const g=document.body.style.overflow;document.body.style.overflow="hidden";const P=w=>{w.key==="Escape"&&(v?.(),b?.(!1))};return document.addEventListener("keydown",P),()=>{document.body.style.overflow=g,document.removeEventListener("keydown",P)}},[v,b,t]),!t)return null;const y=()=>{v?.(),b?.(!1)};return c.jsxs("div",{className:"fixed inset-0 z-50",children:[c.jsx("button",{type:"button","aria-label":"关闭选择面板",className:"absolute inset-0 h-full w-full cursor-default border-0 bg-black/45 p-0",onClick:y}),c.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":typeof r=="string"?r:"移动端选择面板",className:j("absolute bottom-0 left-0 right-0 flex max-h-[76vh] flex-col overflow-hidden rounded-t-xl bg-white shadow-2xl",p,l,u),style:M({maxHeight:yP(i)},f,x),children:[c.jsxs("div",{className:"flex min-h-12 shrink-0 items-center gap-3 border-b border-slate-200 px-4",children:[r?c.jsx("div",{className:"min-w-0 flex-1 truncate text-left text-sm font-medium text-slate-900",children:r}):c.jsx("div",{className:"min-w-0 flex-1"}),c.jsxs("div",{className:"flex shrink-0 items-center justify-end gap-2",children:[c.jsx("button",{type:"button",className:"rounded-md bg-blue-50 px-3 py-1.5 text-sm font-medium text-blue-600 transition-colors hover:bg-blue-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30",onClick:y,children:n}),c.jsx("button",{type:"button",className:"rounded-md bg-blue-600 px-3 py-1.5 text-sm font-medium text-white transition-colors hover:bg-blue-700 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30 disabled:cursor-not-allowed disabled:bg-blue-200",disabled:s,onClick:m,children:o})]})]}),a]})]})}const Vi=d.forwardRef((e,t)=>{const{open:r=!1,clearable:n=!1,hasValue:o=!1,placeholder:s="请选择",display:i,className:a,class:l,style:u,sx:f,disabled:h,readOnly:v,onClear:m,...b}=e,{sxClassName:p,sxInlineStyle:x}=Kf(f);return c.jsxs("span",{className:"relative inline-flex w-full items-stretch",children:[c.jsxs("button",{ref:t,type:"button",className:j("flex h-10 w-full min-w-0 items-center gap-2 rounded-md border border-solid border-slate-300 bg-white px-3 text-left text-sm text-slate-900 shadow-sm transition-colors","focus-visible:border-blue-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30","disabled:cursor-not-allowed disabled:bg-slate-50 disabled:text-slate-500 disabled:opacity-70",v&&"cursor-default",n&&o&&!h&&!v?"pr-16":"pr-9",p,a,l),style:M(u,x),disabled:h,"aria-haspopup":"dialog","aria-expanded":r,"aria-disabled":h||void 0,"aria-readonly":v||void 0,...b,children:[c.jsx("span",{className:j("min-w-0 flex-1 truncate",!o&&"text-slate-400"),children:o?i:s}),c.jsx(PP,{className:"absolute right-3 h-4 w-4 text-slate-500"})]}),n&&o&&!h&&!v?c.jsx("button",{type:"button",className:"absolute right-8 top-1/2 z-10 -translate-y-1/2 rounded p-1 text-slate-400 transition-colors hover:text-slate-600 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30","aria-label":"清除选择",onMouseDown:y=>y.preventDefault(),onClick:y=>{y.preventDefault(),y.stopPropagation(),m?.(y)},children:c.jsx(CP,{className:"h-3.5 w-3.5"})}):null]})});Vi.displayName="MobileTrigger";function Yf(e){return"options"in e}function SP(e){return e.map(t=>Yf(t)?{type:"group",label:t.label,options:t.options,separator:t.separator}:{type:"plain",option:t})}function NP(e){const t=[];for(const r of e)Yf(r)?t.push(...r.options):t.push(r);return t}const Xf=d.forwardRef((e,t)=>{const{options:r=[],value:n,defaultValue:o="",onValueChange:s,open:i,defaultOpen:a=!1,onOpenChange:l,placeholder:u="请选择",title:f="请选择",cancelText:h,confirmText:v,clearable:m=!1,readOnly:b=!1,required:p,align:x="left",displayRender:y,renderOption:g,drawerClassName:P,drawerClass:w,drawerStyle:S,drawerSx:N,maxDrawerHeight:C,optionClassName:q,optionClass:k,optionStyle:A,optionSx:E,className:R,class:_,style:I,sx:O,disabled:T=!1,name:$,id:B,autoFocus:U,onClick:L,onFocus:G,onBlur:me,onKeyDown:te,...J}=e,[H,Y,D]=Hn({value:n,defaultValue:o}),[Q,z]=Hn({value:i,defaultValue:a,onChange:l}),[K,W]=d.useState(H),Z=d.useRef(null),ae=se(),ue=d.useMemo(()=>NP(r),[r]),pe=d.useMemo(()=>SP(r),[r]),ve=d.useMemo(()=>ue.find(de=>de.value===H),[ue,H]),ie=d.useMemo(()=>ue.find(de=>de.value===K),[ue,K]),ye=H!==""&&!!ve,Se=ye?y?.(ve)??ve?.label:u;d.useEffect(()=>{Q&&W(H)},[Q,H]);const Ie=d.useCallback((de,_e)=>{D||Y(de),s?.(de,_e)},[s,Y,D]),oe=d.useCallback(de=>{T||b||(W(""),Ie("",{reason:"clear",event:de}))},[Ie,T,b]),Pe=d.useCallback(()=>{if(T||b){z(!1);return}if(!ie){z(!1);return}Ie(ie.value,{reason:"select",option:ie}),z(!1)},[Ie,T,ie,b,z]),Ee=d.useCallback(()=>{T||z(!0)},[T,z]);return d.useImperativeHandle(t,()=>({focus:()=>Z.current?.focus(),blur:()=>Z.current?.blur(),open:Ee,close:()=>z(!1),clear:()=>oe(),getValue:()=>H}),[oe,Ee,H,z]),c.jsxs(c.Fragment,{children:[c.jsx(Vi,{ref:Z,id:B,open:Q,clearable:m,hasValue:ye,placeholder:u,display:Se,className:R,class:_,style:I,sx:O,disabled:T,readOnly:b,autoFocus:U,onClear:oe,onClick:de=>{L?.(de),Ee()},onFocus:G,onBlur:me,onKeyDown:de=>{te?.(de),!T&&((de.key==="ArrowDown"||de.key==="Enter")&&(de.preventDefault(),Ee()),de.key==="Escape"&&(de.preventDefault(),z(!1)))},...J}),c.jsx(Uf,{open:Q,title:f,cancelText:h,confirmText:v,confirmDisabled:!ie||!!ie.disabled,maxHeight:C,className:P,class:w,style:S,sx:N,onCancel:()=>W(H),onConfirm:Pe,onOpenChange:z,children:c.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto px-4 py-2",children:pe.length===0?c.jsx("div",{className:"flex min-h-32 items-center justify-center text-sm text-slate-400",children:"暂无可选项"}):c.jsx("div",{className:"grid gap-1",children:pe.map((de,_e)=>{if(de.type==="plain"){const fe=de.option,re=K===fe.value,he={active:re,checked:re,disabled:!!fe.disabled},Re=X([E,fe.sx],ae);return c.jsx("button",{type:"button",className:j("flex min-h-10 w-full items-center rounded-md px-3 py-2 text-sm transition-colors",Gs(x),re?"bg-blue-600 text-white":"text-slate-800 hover:bg-blue-50 hover:text-blue-700",fe.disabled&&"cursor-not-allowed bg-transparent text-slate-400 opacity-70 hover:bg-transparent hover:text-slate-400",Re.sxClassName,q,k,fe.className,fe.class),style:M(A,Re.sxInlineStyle,fe.style),disabled:T||b||fe.disabled,onClick:Te=>{Te.preventDefault(),W(fe.value)},children:c.jsx("span",{className:"min-w-0 truncate",children:g?g(fe,he):fe.label})},fe.value)}return c.jsxs("div",{className:j(de.separator&&_e>0&&"border-t border-slate-200 pt-2"),children:[de.label?c.jsx("div",{className:"px-3 py-2 text-xs font-medium text-slate-500",children:de.label}):null,c.jsx("div",{className:"grid gap-1",children:de.options.map(fe=>{const re=K===fe.value,he={active:re,checked:re,disabled:!!fe.disabled},Re=X([E,fe.sx],ae);return c.jsx("button",{type:"button",className:j("flex min-h-10 w-full items-center rounded-md px-3 py-2 text-sm transition-colors",Gs(x),re?"bg-blue-600 text-white":"text-slate-800 hover:bg-blue-50 hover:text-blue-700",fe.disabled&&"cursor-not-allowed bg-transparent text-slate-400 opacity-70 hover:bg-transparent hover:text-slate-400",Re.sxClassName,q,k,fe.className,fe.class),style:M(A,Re.sxInlineStyle,fe.style),disabled:T||b||fe.disabled,onClick:Te=>{Te.preventDefault(),W(fe.value)},children:c.jsx("span",{className:"min-w-0 truncate",children:g?g(fe,he):fe.label})},fe.value)})})]},`group-${_e}`)})})})}),$?c.jsx("input",{type:"hidden",name:$,required:p,value:H}):null]})});Xf.displayName="MobileSelect";function kr(e){return Array.isArray(e)?e.filter(t=>t!==""):[]}function qP(e){return Array.isArray(e)?e:[]}function Sr(e,t){return e?.[t]??t}function kP(e,t){const r=Sr(t,"value");return typeof e[r]=="string"?e[r]:e.value}function EP(e,t){const r=Sr(t,"label");return e[r]??e.label??e.value??""}function RP(e,t){const r=Sr(t,"children");return qP(e[r])}function jP(e,t){const r=Sr(t,"disabled");return!!(e[r]??e.disabled)}function AP(e,t){const r=Sr(t,"isLeaf"),n=e[r];return typeof n=="boolean"?n:e.isLeaf}function _P(e,t){const r=Sr(t,"loading");return!!(e[r]??e.loading)}function TP(e,t){const r=kP(e,t);if(typeof r!="string"||r.length===0)return null;const n=RP(e,t),o=AP(e,t),s=typeof o=="boolean"?o:n.length===0;return{option:e,value:r,label:EP(e,t),children:n,disabled:jP(e,t),isLeaf:s,loading:_P(e,t)}}function jn(e,t){const r=[];for(const n of e){const o=TP(n,t);o&&r.push(o)}return r}function bn(e,t,r){const n=[],o=[];let s=e;for(const i of t){const a=jn(s,r).find(l=>l.value===i);if(!a)break;n.push(a),o.push(a.label),s=a.children}return{matched:n,labels:o,path:n.map(i=>i.value)}}function IP(e,t,r){const n=[jn(e,r)];let o=e;for(const s of t){const i=jn(o,r).find(a=>a.value===s);if(!i||i.children.length===0)break;o=i.children,n.push(jn(o,r))}return n}function Ko(e,t){return t.every((r,n)=>e[n]===r)}function OP(e,t){return c.jsx(c.Fragment,{children:e.map((r,n)=>c.jsxs(d.Fragment,{children:[n>0?c.jsx("span",{className:"mx-1 text-slate-400",children:t}):null,c.jsx("span",{className:"min-w-0 truncate",children:r})]},n))})}function MP(e){return`第${e+1}级`}const Jf=d.forwardRef((e,t)=>{const{options:r=[],value:n,defaultValue:o=[],onValueChange:s,open:i,defaultOpen:a=!1,onOpenChange:l,placeholder:u="请选择",title:f="请选择",cancelText:h,confirmText:v,separator:m="/",displayRender:b,renderOption:p,fieldNames:x,changeOnSelect:y=!1,clearable:g=!1,readOnly:P=!1,required:w,loadData:S,align:N="left",levelLabels:C,drawerClassName:q,drawerClass:k,drawerStyle:A,drawerSx:E,maxDrawerHeight:R,optionClassName:_,optionClass:I,optionStyle:O,optionSx:T,className:$,class:B,style:U,sx:L,disabled:G=!1,name:me,id:te,autoFocus:J,onClick:H,onFocus:Y,onBlur:D,onKeyDown:Q,...z}=e,K=n===void 0?void 0:kr(n),[W,Z,ae]=Hn({value:K,defaultValue:kr(o)}),[ue,pe]=Hn({value:i,defaultValue:a,onChange:l}),[ve,ie]=d.useState(()=>kr(o)),[ye,Se]=d.useState(0),[Ie,oe]=d.useState(null),Pe=d.useRef(null),Ee=d.useRef(!0),de=d.useRef(S),_e=se();d.useEffect(()=>()=>{Ee.current=!1},[]),d.useEffect(()=>{de.current=S},[S]),d.useEffect(()=>{if(ue){const F=kr(W);ie(F),Se(Math.max(F.length-1,0))}},[ue,W]);const fe=d.useMemo(()=>bn(r,W,x),[x,r,W]),re=fe.matched.map(F=>F.option),he=d.useMemo(()=>bn(r,ve,x),[x,r,ve]),Re=d.useMemo(()=>IP(r,ve,x),[x,r,ve]),Te=Math.min(ye,Math.max(Re.length-1,0)),Ue=Re[Te]??[],$e=he.matched[he.matched.length-1],rt=he.path.length===0||!!$e?.disabled||!y&&!!$e&&!$e?.isLeaf&&($e?.children.length??0)>0,wt=d.useMemo(()=>fe.labels.length>0?b?b(fe.labels,re):OP(fe.labels,m):u,[b,u,re,fe.labels,m]),nt=d.useCallback((F,V)=>{const le=bn(r,kr(F),x);ae||Z(le.path),s?.(le.path,{...V,path:le.path,options:le.matched.map(xe=>xe.option),labels:le.labels})},[x,s,r,Z,ae]),ft=d.useCallback(F=>{G||P||(ie([]),Se(0),nt([],{reason:"clear",event:F}))},[nt,G,P]),ot=d.useCallback(()=>{if(G||P){pe(!1);return}rt||(nt(he.path,{reason:"select",option:$e?.option}),pe(!1))},[nt,rt,G,$e?.option,he.path,P,pe]),or=d.useCallback(async(F,V,le)=>{if(G||P||F.disabled)return;const xe=[...ve.slice(0,V),F.value],Ce=F.children.length>0,Ae=!F.isLeaf&&!Ce&&!!de.current,ze=Ce||Ae,Xe=xe.join("");if(ie(xe),Se(ze?V+1:V),Ae&&de.current){const Ct=bn(r,xe,x);oe(Xe);try{await de.current(Ct.matched.map(St=>St.option),{option:F.option,path:xe,options:r})}finally{Ee.current&&oe(St=>St===Xe?null:St)}}y&&!ze&&le.currentTarget.focus()},[y,G,x,r,ve,P]),ht=d.useCallback(()=>{G||pe(!0)},[G,pe]);return d.useImperativeHandle(t,()=>({focus:()=>Pe.current?.focus(),blur:()=>Pe.current?.blur(),open:ht,close:()=>pe(!1),clear:()=>ft(),getValue:()=>W.slice()}),[ft,ht,W,pe]),c.jsxs(c.Fragment,{children:[c.jsx(Vi,{ref:Pe,id:te,open:ue,clearable:g,hasValue:fe.path.length>0,placeholder:u,display:wt,className:$,class:B,style:U,sx:L,disabled:G,readOnly:P,autoFocus:J,onClear:ft,onClick:F=>{H?.(F),ht()},onFocus:Y,onBlur:D,onKeyDown:F=>{Q?.(F),!G&&((F.key==="ArrowDown"||F.key==="Enter")&&(F.preventDefault(),ht()),F.key==="Escape"&&(F.preventDefault(),pe(!1)))},...z}),c.jsx(Uf,{open:ue,title:f,cancelText:h,confirmText:v,confirmDisabled:rt,maxHeight:R,className:q,class:k,style:A,sx:E,onCancel:()=>{ie(W),Se(Math.max(W.length-1,0))},onConfirm:ot,onOpenChange:pe,children:c.jsxs("div",{className:"flex min-h-0 flex-1 flex-col",children:[c.jsx("div",{className:"flex shrink-0 border-b border-slate-200 px-4",children:Re.map((F,V)=>{const le=Te===V,xe=he.labels[V]??MP(V),Ce=C?.[V]??xe;return c.jsxs("button",{type:"button",className:j("relative min-h-10 min-w-12 px-3 text-sm text-slate-700 transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30",le&&"font-medium text-blue-600"),onClick:()=>Se(V),children:[Ce,le?c.jsx("span",{className:"absolute bottom-0 left-3 right-3 h-0.5 rounded-full bg-blue-600"}):null]},`level-${V}`)})}),c.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto px-4 py-2",children:Ue.length===0?c.jsx("div",{className:"flex min-h-32 items-center justify-center text-sm text-slate-400",children:Ie?c.jsxs("span",{className:"inline-flex items-center gap-2",children:[c.jsx(Sl,{}),"加载中"]}):"暂无可选项"}):c.jsx("div",{className:"grid gap-1",children:Ue.map(F=>{const V=[...ve.slice(0,Te),F.value],le=he.path.length===V.length&&Ko(he.path,V),xe=Ko(he.path,V)||Ko(V,he.path),Ce=Ie===V.join("")||F.loading,Ae=F.children.length>0||!F.isLeaf&&!!de.current&&!Ce,ze={active:xe,checked:le,disabled:F.disabled,hasChildren:Ae,isLeaf:F.isLeaf,level:Te,loading:Ce,path:V,selected:le},Xe=X([T,F.option.sx],_e);return c.jsxs("button",{type:"button",className:j("flex min-h-10 w-full items-center gap-2 rounded-md px-3 py-2 text-sm transition-colors",Gs(N),le?"bg-blue-600 text-white":"text-slate-800 hover:bg-blue-50 hover:text-blue-700",xe&&!le&&"bg-slate-100 text-slate-900",F.disabled&&"cursor-not-allowed bg-transparent text-slate-400 opacity-70 hover:bg-transparent hover:text-slate-400",Xe.sxClassName,_,I,F.option.className,F.option.class),style:M(O,Xe.sxInlineStyle,F.option.style),disabled:G||P||F.disabled,onClick:Ct=>{Ct.preventDefault(),or(F,Te,Ct)},children:[c.jsx("span",{className:"min-w-0 flex-1 truncate",children:p?p(F.option,ze):F.label}),Ce?c.jsx(Sl,{}):Ae?c.jsx(wP,{className:j("h-4 w-4 shrink-0",le?"text-white":"text-slate-400")}):null]},V.join(""))})})})]})}),me?c.jsx("input",{type:"hidden",name:me,required:w,value:W.length>0?JSON.stringify(W):""}):null]})});Jf.displayName="MobileCascader";function LP(e,t=500){const r=je.useRef(null),n=je.useCallback(()=>{r.current=setTimeout(e,t)},[e,t]),o=je.useCallback(()=>{r.current&&clearTimeout(r.current)},[]);return{onMouseDown:n,onMouseUp:o,onMouseLeave:o,onTouchStart:n,onTouchEnd:o}}function DP(){return c.jsx("span",{className:"h-6 w-6 animate-spin rounded-full border-2 border-blue-200 border-t-blue-600","aria-hidden":"true"})}function we(e){const{component:t,sx:r,rounded:n,shadow:o,onLongPress:s,longPressDelay:i=500,style:a,className:l,class:u,loading:f=!1,loadingContent:h,modal:v=!1,modalContent:m,onModalMaskClick:b,children:p,...x}=e,y=t??"div",g=se(),{roundedPreset:P,roundedStyle:w}=Qt(n),{shadowPreset:S,shadowStyle:N}=Kr(o),C=LP(()=>{s?.()},i),{sxClassName:q,sxInlineStyle:k}=X(r,g),E=(f||v)&&a?.position===void 0?{position:"relative"}:void 0;return c.jsxs(y,{className:j(P&&Ot[P],S&&gr[S],q,l,u),style:M(a,w,N,E,k),"aria-busy":f||void 0,...s?C:void 0,...x,children:[p,f?c.jsx("div",{className:"box-loading-mask absolute inset-0 z-10 flex items-center justify-center bg-white/65","aria-hidden":"true",children:h??c.jsx(DP,{})}):null,v?c.jsx("div",{className:"box-modal-mask absolute inset-0 z-20 flex items-center justify-center bg-black/45 p-4",onClick:b,children:c.jsx("div",{className:"box-modal-content max-w-full rounded-lg bg-white p-4 shadow-lg",onClick:R=>R.stopPropagation(),children:m})}):null]})}we.displayName="Box";const Nl={outlined:"border border-gray-200 bg-white",elevated:"border border-transparent bg-white",filled:"border border-gray-100 bg-gray-50",ghost:"border border-transparent bg-transparent shadow-none"},ql={elevated:"md"},BP={none:"p-0",sm:"p-3",md:"p-4",lg:"p-6"};function Or(e){return e!=null}function FP(e){let t=!1;return d.Children.forEach(e,r=>{d.isValidElement(r)&&$P(r.type)&&(t=!0)}),t}function $P(e){return e===Qf||e===Zf||e===eh||e===th||e===rh||e===nh||e===oh}function xn(e,t){return e===!0||e===t}function Uo(e){return BP[e]}function kl(e,t){return Or(e)?e:t}function El(e,t){return e??t}const Qf=e=>c.jsx(we,{...e,"data-card-slot":"header"}),Zf=e=>c.jsx(we,{...e,"data-card-slot":"content"}),eh=e=>c.jsx(we,{...e,"data-card-slot":"footer"}),th=e=>c.jsx(we,{...e,"data-card-slot":"left"}),rh=e=>c.jsx(we,{...e,"data-card-slot":"right"}),nh=e=>c.jsx(we,{...e,"data-card-slot":"start"}),oh=e=>c.jsx(we,{...e,"data-card-slot":"end"});function VP(e){const{variant:t="outlined",padding:r="md",divided:n=!0,hoverable:o=!1,selected:s=!1,disabled:i=!1,header:a,footer:l,left:u,right:f,start:h,end:v,contentLoading:m=!1,headerProps:b,footerProps:p,leftProps:x,rightProps:y,startProps:g,endProps:P,contentProps:w,children:S,className:N,style:C,rounded:q="lg",shadow:k,onClick:A,...E}=e,R=kl(u,h),_=kl(f,v),I=El(x,g),O=El(y,P),T=FP(S),{className:$,style:B,loading:U,...L}=w??{};return T?c.jsx(we,{rounded:q,shadow:k??ql[t],className:j("card flex overflow-hidden",Nl[t],o&&!i&&"transition hover:-translate-y-0.5 hover:shadow-lg",s&&"border-blue-500 ring-2 ring-blue-100",i&&"pointer-events-none opacity-50",N),style:M(C,{flexDirection:"row"}),"aria-disabled":i||void 0,onClick:i?void 0:A,...E,children:S}):c.jsxs(we,{rounded:q,shadow:k??ql[t],className:j("card flex overflow-hidden",Nl[t],o&&!i&&"transition hover:-translate-y-0.5 hover:shadow-lg",s&&"border-blue-500 ring-2 ring-blue-100",i&&"pointer-events-none opacity-50",N),style:M(C,{flexDirection:"row"}),"aria-disabled":i||void 0,onClick:i?void 0:A,...E,children:[Or(R)?c.jsx(we,{...I,className:j("card-left shrink-0",xn(n,"x")&&"border-r border-gray-100",I?.className),children:R}):null,c.jsxs(we,{className:"card-main flex min-w-0 flex-1 flex-col",children:[Or(a)?c.jsx(we,{...b,className:j("card-header",Uo(r),xn(n,"y")&&"border-b border-gray-100",b?.className),children:a}):null,c.jsx(we,{...L,className:j("card-content min-w-0 flex-1",Uo(r),$),style:B,loading:m||U,children:S}),Or(l)?c.jsx(we,{...p,className:j("card-footer",Uo(r),xn(n,"y")&&"border-t border-gray-100",p?.className),children:l}):null]}),Or(_)?c.jsx(we,{...O,className:j("card-right shrink-0",xn(n,"x")&&"border-l border-gray-100",O?.className),children:_}):null]})}const Pt=Object.assign(VP,{Header:Qf,Content:Zf,Footer:eh,Left:th,Right:rh,Start:nh,End:oh});Pt.displayName="Card";Pt.Header.displayName="Card.Header";Pt.Content.displayName="Card.Content";Pt.Footer.displayName="Card.Footer";Pt.Left.displayName="Card.Left";Pt.Right.displayName="Card.Right";Pt.Start.displayName="Card.Start";Pt.End.displayName="Card.End";function zP(e,t=[]){let r=[];function n(s,i){const a=d.createContext(i);a.displayName=s+"Context";const l=r.length;r=[...r,i];const u=h=>{const{scope:v,children:m,...b}=h,p=v?.[e]?.[l]||a,x=d.useMemo(()=>b,Object.values(b));return c.jsx(p.Provider,{value:x,children:m})};u.displayName=s+"Provider";function f(h,v){const m=v?.[e]?.[l]||a,b=d.useContext(m);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${h}\` must be used within \`${s}\``)}return[u,f]}const o=()=>{const s=r.map(i=>d.createContext(i));return function(a){const l=a?.[e]||s;return d.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[n,HP(o,...t)]}function HP(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=n.reduce((a,{useScope:l,scopeName:u})=>{const h=l(s)[`__scope${u}`];return{...a,...h}},{});return d.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function WP(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var yn={exports:{}},Yo={};var Rl;function GP(){if(Rl)return Yo;Rl=1;var e=je;function t(h,v){return h===v&&(h!==0||1/h===1/v)||h!==h&&v!==v}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,o=e.useEffect,s=e.useLayoutEffect,i=e.useDebugValue;function a(h,v){var m=v(),b=n({inst:{value:m,getSnapshot:v}}),p=b[0].inst,x=b[1];return s(function(){p.value=m,p.getSnapshot=v,l(p)&&x({inst:p})},[h,m,v]),o(function(){return l(p)&&x({inst:p}),h(function(){l(p)&&x({inst:p})})},[h]),i(m),m}function l(h){var v=h.getSnapshot;h=h.value;try{var m=v();return!r(h,m)}catch{return!0}}function u(h,v){return v()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:a;return Yo.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:f,Yo}var Xo={};var jl;function KP(){return jl||(jl=1,process.env.NODE_ENV!=="production"&&(function(){function e(m,b){return m===b&&(m!==0||1/m===1/b)||m!==m&&b!==b}function t(m,b){f||o.startTransition===void 0||(f=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var p=b();if(!h){var x=b();s(p,x)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),h=!0)}x=i({inst:{value:p,getSnapshot:b}});var y=x[0].inst,g=x[1];return l(function(){y.value=p,y.getSnapshot=b,r(y)&&g({inst:y})},[m,p,b]),a(function(){return r(y)&&g({inst:y}),m(function(){r(y)&&g({inst:y})})},[m]),u(p),p}function r(m){var b=m.getSnapshot;m=m.value;try{var p=b();return!s(m,p)}catch{return!0}}function n(m,b){return b()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var o=je,s=typeof Object.is=="function"?Object.is:e,i=o.useState,a=o.useEffect,l=o.useLayoutEffect,u=o.useDebugValue,f=!1,h=!1,v=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:t;Xo.useSyncExternalStore=o.useSyncExternalStore!==void 0?o.useSyncExternalStore:v,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Xo}var Al;function UP(){return Al||(Al=1,process.env.NODE_ENV==="production"?yn.exports=GP():yn.exports=KP()),yn.exports}var YP=UP();function XP(){return YP.useSyncExternalStore(JP,()=>!0,()=>!1)}function JP(){return()=>{}}var zi="Avatar",[QP]=zP(zi),[ZP,sh]=QP(zi),ih=d.forwardRef((e,t)=>{const{__scopeAvatar:r,...n}=e,[o,s]=d.useState("idle");return c.jsx(ZP,{scope:r,imageLoadingStatus:o,onImageLoadingStatusChange:s,children:c.jsx(uo.span,{...n,ref:t})})});ih.displayName=zi;var ah="AvatarImage",lh=d.forwardRef((e,t)=>{const{__scopeAvatar:r,src:n,onLoadingStatusChange:o=()=>{},...s}=e,i=sh(ah,r),a=ew(n,s),l=vt(u=>{o(u),i.onImageLoadingStatusChange(u)});return Le(()=>{a!=="idle"&&l(a)},[a,l]),a==="loaded"?c.jsx(uo.img,{...s,ref:t,src:n}):null});lh.displayName=ah;var ch="AvatarFallback",uh=d.forwardRef((e,t)=>{const{__scopeAvatar:r,delayMs:n,...o}=e,s=sh(ch,r),[i,a]=d.useState(n===void 0);return d.useEffect(()=>{if(n!==void 0){const l=window.setTimeout(()=>a(!0),n);return()=>window.clearTimeout(l)}},[n]),i&&s.imageLoadingStatus!=="loaded"?c.jsx(uo.span,{...o,ref:t}):null});uh.displayName=ch;function _l(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function ew(e,{referrerPolicy:t,crossOrigin:r}){const n=XP(),o=d.useRef(null),s=n?(o.current||(o.current=new window.Image),o.current):null,[i,a]=d.useState(()=>_l(s,e));return Le(()=>{a(_l(s,e))},[s,e]),Le(()=>{const l=h=>()=>{a(h)};if(!s)return;const u=l("loaded"),f=l("error");return s.addEventListener("load",u),s.addEventListener("error",f),t&&(s.referrerPolicy=t),typeof r=="string"&&(s.crossOrigin=r),()=>{s.removeEventListener("load",u),s.removeEventListener("error",f)}},[s,r,t]),i}var tw=ih,rw=lh,nw=uh;const dh={xs:"h-6 w-6 text-[10px]",sm:"h-8 w-8 text-xs",md:"h-10 w-10 text-sm",lg:"h-12 w-12 text-base",xl:"h-16 w-16 text-lg"};function ow(e){if(e!==void 0){if(typeof e=="number")return`${e}px`;if(!(typeof e=="string"&&e in dh))return e}}const fh=d.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,size:i="md",rounded:a="full",shadow:l,...u}=e,f=se(),{sxClassName:h,sxInlineStyle:v}=X(o,f),{roundedPreset:m,roundedStyle:b}=Qt(a),{shadowPreset:p,shadowStyle:x}=Kr(l),y=ow(i);return c.jsx(tw,{ref:t,className:j("avatar relative inline-flex shrink-0 select-none items-center justify-center overflow-hidden bg-slate-100 text-slate-700",typeof i=="string"?dh[i]:null,m?Ot[m]:null,p?gr[p]:null,h,r,n),style:M(s,b,x,y?{width:y,height:y}:void 0,v),...u})}),Hi=d.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,a=se(),{sxClassName:l,sxInlineStyle:u}=X(o,a);return c.jsx(rw,{ref:t,className:j("avatar-image h-full w-full object-cover",l,r,n),style:M(s,u),...i})}),Wi=d.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,a=se(),{sxClassName:l,sxInlineStyle:u}=X(o,a);return c.jsx(nw,{ref:t,className:j("avatar-fallback flex h-full w-full items-center justify-center bg-slate-100 font-medium text-slate-600",l,r,n),style:M(s,u),...i})}),hh=Object.assign(fh,{Image:Hi,Fallback:Wi});fh.displayName="Avatar";Hi.displayName="Avatar.Image";Wi.displayName="Avatar.Fallback";hh.displayName="Avatar";const mh=Sc("inline-flex items-center justify-center whitespace-nowrap rounded border border-transparent font-medium transition-colors duration-150",{variants:{variant:{primary:"",success:"",warning:"",danger:"",minor:"",dark:"",light:"",text:""},outline:{true:"",false:""},size:{xs:"px-2 py-0.5 text-[10px]",sm:"px-2.5 py-0.5 text-xs",md:"px-2.5 py-1 text-xs",lg:"px-3 py-1 text-sm",xl:"px-3.5 py-1.5 text-sm"},rounded:Ot,shadow:gr},compoundVariants:[{variant:"primary",outline:!1,className:"bg-blue-600 text-white"},{variant:"primary",outline:!0,className:"border-blue-600 text-blue-600"},{variant:"success",outline:!1,className:"bg-green-600 text-white"},{variant:"success",outline:!0,className:"border-green-600 text-green-600"},{variant:"warning",outline:!1,className:"bg-yellow-500 text-white"},{variant:"warning",outline:!0,className:"border-yellow-500 text-yellow-600"},{variant:"danger",outline:!1,className:"bg-red-600 text-white"},{variant:"danger",outline:!0,className:"border-red-600 text-red-600"},{variant:"minor",outline:!1,className:"bg-gray-200 text-gray-700"},{variant:"minor",outline:!0,className:"border-gray-300 text-gray-600"},{variant:"dark",outline:!1,className:"bg-black/90 text-white"},{variant:"dark",outline:!0,className:"border-black/90 text-black/90"},{variant:"light",outline:!1,className:"bg-white text-gray-900"},{variant:"light",outline:!0,className:"border-white text-white"},{variant:"text",outline:!1,className:"bg-gray-100 text-gray-600"},{variant:"text",outline:!0,className:"border-gray-300 text-gray-500"}],defaultVariants:{variant:"primary",outline:!1,size:"md"}});function ph(e){const{component:t,variant:r,outline:n,size:o,rounded:s,shadow:i,sx:a,style:l,className:u,class:f,...h}=e,v=t??"span",{roundedPreset:m,roundedStyle:b}=Qt(s),{shadowPreset:p,shadowStyle:x}=Kr(i),y=se(),{sxClassName:g,sxInlineStyle:P}=X(a,y);return c.jsx(v,{className:j(mh({variant:r,outline:n,size:o,rounded:m,shadow:p}),g,u,f),style:M(l,b,x,P),...h})}ph.displayName="Chip";const Tl={neutral:"bg-slate-200 text-slate-700",primary:"bg-blue-600 text-white",success:"bg-emerald-600 text-white",warning:"bg-amber-200 text-amber-700",danger:"bg-red-600 text-white"},sw={neutral:"bg-slate-100 text-slate-700",primary:"bg-blue-100 text-blue-700",success:"bg-emerald-100 text-emerald-700",warning:"bg-amber-100 text-amber-700",danger:"bg-red-100 text-red-700"};function iw(e){const{className:t,class:r,sx:n,style:o,badgeContent:s,children:i,dot:a=!1,light:l=!1,showZero:u=!1,max:f=99,variant:h="neutral",...v}=e,m=se(),{sxClassName:b,sxInlineStyle:p}=X(n,m),x=typeof s=="number"?s:null,y=x===0&&!u,g=x!==null?x>f?`${f}+`:String(x):s,P=a?Tl[h]:l?sw[h]:Tl[h];return c.jsxs("span",{className:j("relative inline-flex",t,r),style:M(o,p),...v,children:[i,!y&&(a||g!==void 0)?c.jsx("span",{className:j("absolute -right-2 -top-2 inline-flex items-center justify-center rounded-full px-1 text-[10px] font-medium leading-4",P,a?"h-2 min-w-2 p-0":"min-w-4 h-4",b),children:a?null:g}):null]})}function aw(e){const{className:t,class:r,sx:n,style:o,bordered:s=!1,...i}=e,a=se(),{sxClassName:l,sxInlineStyle:u}=X(n,a);return c.jsx("ul",{className:j("m-0 list-none p-0",s&&"divide-y rounded-md border border-slate-200",l,t,r),style:M(o,u),...i})}function lw(e){const{description:t="暂无数据",image:r,children:n,className:o,class:s,...i}=e;return c.jsxs(we,{...i,className:j("flex flex-col items-center justify-center gap-2 py-10 text-slate-500",o,s),children:[r??c.jsx("div",{className:"text-4xl",children:"◻"}),c.jsx("div",{className:"text-sm",children:t}),n]})}function Il(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function cw(e){if(e!==void 0)return typeof e=="number"?String(e):e}function Er(e,t,r){return Math.min(r,Math.max(t,e))}function uw(e,t){if(e.startsWith("data:")||e.startsWith("blob:")||e.includes("ldkj_retry="))return null;const r=e.match(/^([^?#]+)(\?[^#]*)?(#.*)?$/);if(!r)return null;const n=r[1],o=r[2]??"",s=r[3]??"",i=n.replace(/\.(png|jpe?g|webp|avif)$/i,`.${t}`);return i===n?null:`${i}${o}${s}`}function dw(e){return Array.from(new Set(e.filter(t=>Number.isFinite(t)&&t>0)))}function fw(e,t){const{width:r,height:n,crop:o}=t;if(!o||r===void 0||n===void 0||e.startsWith("data:")||e.startsWith("blob:")||e.includes("x-oss-process=")||e.includes("ldkj_retry="))return e;const s=`x-oss-process=image/resize,m_fill,w_${r},h_${n}`;return`${e}${e.includes("?")?"&":"?"}${s}`}const vh=d.forwardRef(function(t,r){const{className:n,class:o,sx:s,style:i,fallback:a,fallbackSrc:l,loadingFallback:u,fit:f,position:h,aspectRatio:v,placeholder:m,blurDataURL:b,retry:p=0,retryDelay:x=800,onLoadingChange:y,loader:g,quality:P,format:w,crop:S=!1,alt:N,src:C,width:q,height:k,sizes:A,loading:E,decoding:R,onLoad:_,onError:I,sources:O,formats:T,responsiveWidths:$,preview:B=!1,children:U,...L}=t,G=se(),{sxClassName:me,sxInlineStyle:te}=X(s,G),[J,H]=d.useState(C?"loading":"idle"),[Y,D]=d.useState(C),[Q,z]=d.useState(!1),[K,W]=d.useState(1),[Z,ae]=d.useState({x:0,y:0}),[ue,pe]=d.useState(!1),ve=d.useRef(0),ie=d.useRef(null),ye=d.useRef(null),Se=d.useRef(null),Ie=d.useRef(null);d.useEffect(()=>{ve.current=0,D(C),H(C?"loading":"idle"),z(!1),W(1),ae({x:0,y:0}),pe(!1)},[C]),d.useEffect(()=>{y?.(J==="loading")},[y,J]),d.useEffect(()=>{process.env.NODE_ENV!=="production"&&N===void 0&&console.warn('Image missing alt prop. Use alt text or alt="" for decorative images.')},[N]),d.useEffect(()=>()=>{ie.current&&clearTimeout(ie.current)},[]),d.useEffect(()=>{if(!Q)return;Ie.current=document.activeElement,Se.current?.focus();const F=le=>{if(le.key==="Escape"){z(!1),W(1),ae({x:0,y:0}),pe(!1);return}if(le.key==="+"||le.key==="="){W(xe=>Er(Number((xe+.2).toFixed(2)),1,4));return}if(le.key==="-"||le.key==="_"){W(xe=>Er(Number((xe-.2).toFixed(2)),1,4));return}le.key==="0"&&(W(1),ae({x:0,y:0}))},V=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",F),()=>{document.body.style.overflow=V,window.removeEventListener("keydown",F),Ie.current?.focus?.()}},[Q]),d.useEffect(()=>{if(!Q||!ue)return;const F=le=>{const xe=ye.current;if(!xe)return;const Ce=le.clientX-xe.x,Ae=le.clientY-xe.y;ae({x:xe.offsetX+Ce,y:xe.offsetY+Ae})},V=()=>{pe(!1),ye.current=null};return window.addEventListener("mousemove",F),window.addEventListener("mouseup",V),()=>{window.removeEventListener("mousemove",F),window.removeEventListener("mouseup",V)}},[Q,ue]);const oe=typeof q=="number"?q:void 0,Pe=typeof k=="number"?k:void 0,Ee=d.useMemo(()=>{const F=$??[],V=oe?[...F,oe]:F;return dw(V).sort((le,xe)=>le-xe)},[$,oe]),de=d.useCallback((F,V,le)=>g?g(F,{width:le??oe,height:Pe,quality:P,format:V??w,crop:S}):fw(F,{width:le??oe,height:Pe,crop:S}),[g,oe,Pe,P,w,S]),_e=Y&&de(Y),fe=d.useMemo(()=>{if(!Y||!T?.length)return[];const F=[];for(const V of T){const le=uw(Y,V);if(!le)continue;if(g&&Ee.length){const Ce=Ee.map(Ae=>`${de(le,V,Ae)} ${Ae}w`).join(", ");F.push({type:`image/${V}`,srcSet:Ce,sizes:A});continue}const xe=de(le,V);!xe||xe===_e||F.push({type:`image/${V}`,srcSet:xe,sizes:A})}return F},[Y,T,de,_e,A,g,Ee]),re=d.useMemo(()=>!g||!Y||!Ee.length?null:{srcSet:Ee.map(V=>`${de(Y,w,V)} ${V}w`).join(", "),sizes:A},[g,Y,Ee,de,w,A]),he=d.useMemo(()=>{const V=[...O??[]];return fe.length&&V.push(...fe),re&&V.push(re),V},[O,fe,re]),Re=J==="loading"&&u,Te=J==="loading"&&m==="blur"&&!!b,Ue=J==="error"&&a,$e=B&&J==="loaded"&&!!_e&&!Ue,rt={status:J,loading:J==="loading",error:J==="error",loaded:J==="loaded",previewOpen:Q,src:_e??void 0},wt=M({width:Il(q),height:v?void 0:Il(k),aspectRatio:cw(v),backgroundImage:Te?`url(${b})`:void 0,backgroundSize:Te?"cover":void 0,backgroundPosition:Te?"center":void 0},i,te),nt={width:"100%",height:v||k!==void 0?"100%":"auto",objectFit:f,objectPosition:h,opacity:Te?0:void 0,transition:Te?"opacity 180ms ease":void 0,cursor:$e?"zoom-in":void 0},ft={transform:`translate(${Z.x}px, ${Z.y}px) scale(${K})`,transition:ue?void 0:"transform 120ms ease",cursor:K>1?ue?"grabbing":"grab":"zoom-in",transformOrigin:"center center"},ot=F=>{if(ve.current<p&&Y){ve.current+=1,ie.current=setTimeout(()=>{const V=Y.includes("?")?"&":"?";D(`${Y}${V}ldkj_retry=${ve.current}`),H("loading")},x),I?.(F);return}if(l&&Y!==l){D(l),H("loading"),I?.(F);return}H("error"),I?.(F)},or=d.useCallback(()=>{z(!1),W(1),ae({x:0,y:0}),pe(!1)},[]),ht=F=>{F.preventDefault(),F.stopPropagation();const V=F.deltaY<0?.2:-.2;W(le=>Er(Number((le+V).toFixed(2)),1,4))};return c.jsxs(c.Fragment,{children:[c.jsxs("span",{className:j("relative inline-block max-w-full overflow-hidden align-middle",me,n,o),style:wt,children:[Ue?a:he.length?c.jsxs("picture",{children:[he.map((F,V)=>c.jsx("source",{media:F.media,srcSet:F.srcSet,type:F.type,sizes:F.sizes},`${F.type??"source"}-${V}`)),c.jsx("img",{ref:r,alt:N,src:_e,width:q,height:k,sizes:A,loading:E??"lazy",decoding:R??"async",onLoad:F=>{H("loaded"),_?.(F)},onError:ot,onClick:()=>{$e&&(z(!0),W(1),ae({x:0,y:0}))},className:"block max-w-full",style:nt,...L})]}):c.jsx("img",{ref:r,alt:N,src:_e,width:q,height:k,sizes:A,loading:E??"lazy",decoding:R??"async",onLoad:F=>{H("loaded"),_?.(F)},onError:ot,onClick:()=>{$e&&(z(!0),W(1),ae({x:0,y:0}))},className:"block max-w-full",style:nt,...L}),Re?c.jsx("span",{className:"absolute inset-0 flex items-center justify-center",children:u}):null,U?c.jsx("span",{className:"pointer-events-none absolute inset-0",children:U(rt)}):null]}),Q&&_e?c.jsxs("span",{className:"fixed inset-0 z-[1200] flex items-center justify-center bg-black/80 p-6",role:"dialog","aria-modal":"true","aria-label":"Image preview",onClick:or,onWheel:ht,children:[c.jsx("img",{src:_e,alt:N,className:"max-h-[88vh] max-w-[92vw] select-none rounded-md object-contain shadow-2xl",style:ft,onClick:F=>F.stopPropagation(),onMouseDown:F=>{K<=1||(F.preventDefault(),F.stopPropagation(),ye.current={x:F.clientX,y:F.clientY,offsetX:Z.x,offsetY:Z.y},pe(!0))}}),c.jsxs("span",{className:"absolute right-5 top-5 flex items-center gap-2",children:[c.jsx("button",{type:"button",className:"rounded-md bg-white/90 px-2.5 py-1.5 text-xs font-medium text-slate-800 hover:bg-white",onClick:F=>{F.stopPropagation(),W(V=>Er(V-.2,1,4))},children:"-"}),c.jsx("button",{type:"button",className:"rounded-md bg-white/90 px-2.5 py-1.5 text-xs font-medium text-slate-800 hover:bg-white",onClick:F=>{F.stopPropagation(),W(V=>Er(V+.2,1,4))},children:"+"}),c.jsx("button",{type:"button",className:"rounded-md bg-white/90 px-2.5 py-1.5 text-xs font-medium text-slate-800 hover:bg-white",onClick:F=>{F.stopPropagation(),W(1),ae({x:0,y:0})},children:"重置"}),c.jsx("button",{ref:Se,type:"button",className:"rounded-md bg-white/90 px-3 py-1.5 text-xs font-medium text-slate-800 hover:bg-white","aria-label":"Close preview",onClick:F=>{F.stopPropagation(),or()},children:"关闭"})]})]}):null]})});vh.displayName="Image";var lr={},Jo,Ol;function hw(){return Ol||(Ol=1,Jo=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),Jo}var Qo={},kt={},Ml;function rr(){if(Ml)return kt;Ml=1;let e;const t=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return kt.getSymbolSize=function(n){if(!n)throw new Error('"version" cannot be null or undefined');if(n<1||n>40)throw new Error('"version" should be in range from 1 to 40');return n*4+17},kt.getSymbolTotalCodewords=function(n){return t[n]},kt.getBCHDigit=function(r){let n=0;for(;r!==0;)n++,r>>>=1;return n},kt.setToSJISFunction=function(n){if(typeof n!="function")throw new Error('"toSJISFunc" is not a valid function.');e=n},kt.isKanjiModeEnabled=function(){return typeof e<"u"},kt.toSJIS=function(n){return e(n)},kt}var Zo={},Ll;function Gi(){return Ll||(Ll=1,(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+r)}}e.isValid=function(n){return n&&typeof n.bit<"u"&&n.bit>=0&&n.bit<4},e.from=function(n,o){if(e.isValid(n))return n;try{return t(n)}catch{return o}}})(Zo)),Zo}var es,Dl;function mw(){if(Dl)return es;Dl=1;function e(){this.buffer=[],this.length=0}return e.prototype={get:function(t){const r=Math.floor(t/8);return(this.buffer[r]>>>7-t%8&1)===1},put:function(t,r){for(let n=0;n<r;n++)this.putBit((t>>>r-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const r=Math.floor(this.length/8);this.buffer.length<=r&&this.buffer.push(0),t&&(this.buffer[r]|=128>>>this.length%8),this.length++}},es=e,es}var ts,Bl;function pw(){if(Bl)return ts;Bl=1;function e(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}return e.prototype.set=function(t,r,n,o){const s=t*this.size+r;this.data[s]=n,o&&(this.reservedBit[s]=!0)},e.prototype.get=function(t,r){return this.data[t*this.size+r]},e.prototype.xor=function(t,r,n){this.data[t*this.size+r]^=n},e.prototype.isReserved=function(t,r){return this.reservedBit[t*this.size+r]},ts=e,ts}var rs={},Fl;function vw(){return Fl||(Fl=1,(function(e){const t=rr().getSymbolSize;e.getRowColCoords=function(n){if(n===1)return[];const o=Math.floor(n/7)+2,s=t(n),i=s===145?26:Math.ceil((s-13)/(2*o-2))*2,a=[s-7];for(let l=1;l<o-1;l++)a[l]=a[l-1]-i;return a.push(6),a.reverse()},e.getPositions=function(n){const o=[],s=e.getRowColCoords(n),i=s.length;for(let a=0;a<i;a++)for(let l=0;l<i;l++)a===0&&l===0||a===0&&l===i-1||a===i-1&&l===0||o.push([s[a],s[l]]);return o}})(rs)),rs}var ns={},$l;function gw(){if($l)return ns;$l=1;const e=rr().getSymbolSize,t=7;return ns.getPositions=function(n){const o=e(n);return[[0,0],[o-t,0],[0,o-t]]},ns}var os={},Vl;function bw(){return Vl||(Vl=1,(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(o){return o!=null&&o!==""&&!isNaN(o)&&o>=0&&o<=7},e.from=function(o){return e.isValid(o)?parseInt(o,10):void 0},e.getPenaltyN1=function(o){const s=o.size;let i=0,a=0,l=0,u=null,f=null;for(let h=0;h<s;h++){a=l=0,u=f=null;for(let v=0;v<s;v++){let m=o.get(h,v);m===u?a++:(a>=5&&(i+=t.N1+(a-5)),u=m,a=1),m=o.get(v,h),m===f?l++:(l>=5&&(i+=t.N1+(l-5)),f=m,l=1)}a>=5&&(i+=t.N1+(a-5)),l>=5&&(i+=t.N1+(l-5))}return i},e.getPenaltyN2=function(o){const s=o.size;let i=0;for(let a=0;a<s-1;a++)for(let l=0;l<s-1;l++){const u=o.get(a,l)+o.get(a,l+1)+o.get(a+1,l)+o.get(a+1,l+1);(u===4||u===0)&&i++}return i*t.N2},e.getPenaltyN3=function(o){const s=o.size;let i=0,a=0,l=0;for(let u=0;u<s;u++){a=l=0;for(let f=0;f<s;f++)a=a<<1&2047|o.get(u,f),f>=10&&(a===1488||a===93)&&i++,l=l<<1&2047|o.get(f,u),f>=10&&(l===1488||l===93)&&i++}return i*t.N3},e.getPenaltyN4=function(o){let s=0;const i=o.data.length;for(let l=0;l<i;l++)s+=o.data[l];return Math.abs(Math.ceil(s*100/i/5)-10)*t.N4};function r(n,o,s){switch(n){case e.Patterns.PATTERN000:return(o+s)%2===0;case e.Patterns.PATTERN001:return o%2===0;case e.Patterns.PATTERN010:return s%3===0;case e.Patterns.PATTERN011:return(o+s)%3===0;case e.Patterns.PATTERN100:return(Math.floor(o/2)+Math.floor(s/3))%2===0;case e.Patterns.PATTERN101:return o*s%2+o*s%3===0;case e.Patterns.PATTERN110:return(o*s%2+o*s%3)%2===0;case e.Patterns.PATTERN111:return(o*s%3+(o+s)%2)%2===0;default:throw new Error("bad maskPattern:"+n)}}e.applyMask=function(o,s){const i=s.size;for(let a=0;a<i;a++)for(let l=0;l<i;l++)s.isReserved(l,a)||s.xor(l,a,r(o,l,a))},e.getBestMask=function(o,s){const i=Object.keys(e.Patterns).length;let a=0,l=1/0;for(let u=0;u<i;u++){s(u),e.applyMask(u,o);const f=e.getPenaltyN1(o)+e.getPenaltyN2(o)+e.getPenaltyN3(o)+e.getPenaltyN4(o);e.applyMask(u,o),f<l&&(l=f,a=u)}return a}})(os)),os}var Pn={},zl;function gh(){if(zl)return Pn;zl=1;const e=Gi(),t=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],r=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return Pn.getBlocksCount=function(o,s){switch(s){case e.L:return t[(o-1)*4+0];case e.M:return t[(o-1)*4+1];case e.Q:return t[(o-1)*4+2];case e.H:return t[(o-1)*4+3];default:return}},Pn.getTotalCodewordsCount=function(o,s){switch(s){case e.L:return r[(o-1)*4+0];case e.M:return r[(o-1)*4+1];case e.Q:return r[(o-1)*4+2];case e.H:return r[(o-1)*4+3];default:return}},Pn}var ss={},Rr={},Hl;function xw(){if(Hl)return Rr;Hl=1;const e=new Uint8Array(512),t=new Uint8Array(256);return(function(){let n=1;for(let o=0;o<255;o++)e[o]=n,t[n]=o,n<<=1,n&256&&(n^=285);for(let o=255;o<512;o++)e[o]=e[o-255]})(),Rr.log=function(n){if(n<1)throw new Error("log("+n+")");return t[n]},Rr.exp=function(n){return e[n]},Rr.mul=function(n,o){return n===0||o===0?0:e[t[n]+t[o]]},Rr}var Wl;function yw(){return Wl||(Wl=1,(function(e){const t=xw();e.mul=function(n,o){const s=new Uint8Array(n.length+o.length-1);for(let i=0;i<n.length;i++)for(let a=0;a<o.length;a++)s[i+a]^=t.mul(n[i],o[a]);return s},e.mod=function(n,o){let s=new Uint8Array(n);for(;s.length-o.length>=0;){const i=s[0];for(let l=0;l<o.length;l++)s[l]^=t.mul(o[l],i);let a=0;for(;a<s.length&&s[a]===0;)a++;s=s.slice(a)}return s},e.generateECPolynomial=function(n){let o=new Uint8Array([1]);for(let s=0;s<n;s++)o=e.mul(o,new Uint8Array([1,t.exp(s)]));return o}})(ss)),ss}var is,Gl;function Pw(){if(Gl)return is;Gl=1;const e=yw();function t(r){this.genPoly=void 0,this.degree=r,this.degree&&this.initialize(this.degree)}return t.prototype.initialize=function(n){this.degree=n,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(n){if(!this.genPoly)throw new Error("Encoder not initialized");const o=new Uint8Array(n.length+this.degree);o.set(n);const s=e.mod(o,this.genPoly),i=this.degree-s.length;if(i>0){const a=new Uint8Array(this.degree);return a.set(s,i),a}return s},is=t,is}var as={},ls={},cs={},Kl;function bh(){return Kl||(Kl=1,cs.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),cs}var st={},Ul;function xh(){if(Ul)return st;Ul=1;const e="[0-9]+",t="[A-Z $%*+\\-./:]+";let r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";r=r.replace(/u/g,"\\u");const n="(?:(?![A-Z0-9 $%*+\\-./:]|"+r+`)(?:.|[\r
|
|
42
|
-
]))+`;
|
|
43
|
-
Make sure your charset is UTF-8`);s=(s>>>8&255)*192+(s&255),n.put(s,13)}},
|
|
44
|
-
Suggested mode is: `+t.toString(
|
|
41
|
+
`)},Qb=0,lr=[];function Zb(e){var t=u.useRef([]),r=u.useRef([0,0]),n=u.useRef(),o=u.useState(Qb++)[0],s=u.useState(Ku)[0],i=u.useRef(e);u.useEffect(function(){i.current=e},[e]),u.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var p=yb([e.lockRef.current],(e.shards||[]).map(gl),!0).filter(Boolean);return p.forEach(function(x){return x.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),p.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=u.useCallback(function(p,x){if("touches"in p&&p.touches.length===2||p.type==="wheel"&&p.ctrlKey)return!i.current.allowPinchZoom;var y=bn(p),g=r.current,w="deltaX"in p?p.deltaX:g[0]-y[0],P="deltaY"in p?p.deltaY:g[1]-y[1],C,N=p.target,q=Math.abs(w)>Math.abs(P)?"h":"v";if("touches"in p&&q==="h"&&N.type==="range")return!1;var S=window.getSelection(),k=S&&S.anchorNode,T=k?k===N||k.contains(N):!1;if(T)return!1;var E=pl(q,N);if(!E)return!0;if(E?C=q:(C=q==="v"?"h":"v",E=pl(q,N)),!E)return!1;if(!n.current&&"changedTouches"in p&&(w||P)&&(n.current=C),!C)return!0;var R=n.current||C;return Yb(R,x,p,R==="h"?w:P)},[]),l=u.useCallback(function(p){var x=p;if(!(!lr.length||lr[lr.length-1]!==s)){var y="deltaY"in x?vl(x):bn(x),g=t.current.filter(function(C){return C.name===x.type&&(C.target===x.target||x.target===C.shadowParent)&&Xb(C.delta,y)})[0];if(g&&g.should){x.cancelable&&x.preventDefault();return}if(!g){var w=(i.current.shards||[]).map(gl).filter(Boolean).filter(function(C){return C.contains(x.target)}),P=w.length>0?a(x,w[0]):!i.current.noIsolation;P&&x.cancelable&&x.preventDefault()}}},[]),d=u.useCallback(function(p,x,y,g){var w={name:p,delta:x,target:y,should:g,shadowParent:ex(y)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(P){return P!==w})},1)},[]),f=u.useCallback(function(p){r.current=bn(p),n.current=void 0},[]),h=u.useCallback(function(p){d(p.type,vl(p),p.target,a(p,e.lockRef.current))},[]),v=u.useCallback(function(p){d(p.type,bn(p),p.target,a(p,e.lockRef.current))},[]);u.useEffect(function(){return lr.push(s),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:v}),document.addEventListener("wheel",l,ar),document.addEventListener("touchmove",l,ar),document.addEventListener("touchstart",f,ar),function(){lr=lr.filter(function(p){return p!==s}),document.removeEventListener("wheel",l,ar),document.removeEventListener("touchmove",l,ar),document.removeEventListener("touchstart",f,ar)}},[]);var m=e.removeScrollBar,b=e.inert;return u.createElement(u.Fragment,null,b?u.createElement(s,{styles:Jb(o)}):null,m?u.createElement(Vb,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function ex(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const tx=Rb(Gu,Zb);var Ai=u.forwardRef(function(e,t){return u.createElement(co,lt({},e,{ref:t,sideCar:tx}))});Ai.classNames=co.classNames;var uo="Popover",[Ju]=rt(uo,[Cr]),en=Cr(),[rx,Ft]=Ju(uo),Qu=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:s,modal:i=!1}=e,a=en(t),l=u.useRef(null),[d,f]=u.useState(!1),[h,v]=yt({prop:n,defaultProp:o??!1,onChange:s,caller:uo});return c.jsx(Ri,{...a,children:c.jsx(rx,{scope:t,contentId:tr(),triggerRef:l,open:h,onOpenChange:v,onOpenToggle:u.useCallback(()=>v(m=>!m),[v]),hasCustomAnchor:d,onCustomAnchorAdd:u.useCallback(()=>f(!0),[]),onCustomAnchorRemove:u.useCallback(()=>f(!1),[]),modal:i,children:r})})};Qu.displayName=uo;var Zu="PopoverAnchor",ed=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Ft(Zu,r),s=en(r),{onCustomAnchorAdd:i,onCustomAnchorRemove:a}=o;return u.useEffect(()=>(i(),()=>a()),[i,a]),c.jsx(ao,{...s,...n,ref:t})});ed.displayName=Zu;var td="PopoverTrigger",rd=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Ft(td,r),s=en(r),i=ke(t,o.triggerRef),a=c.jsx(be.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":ld(o.open),...n,ref:i,onClick:ce(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?a:c.jsx(ao,{asChild:!0,...s,children:a})});rd.displayName=td;var _i="PopoverPortal",[nx,ox]=Ju(_i,{forceMount:void 0}),nd=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,s=Ft(_i,t);return c.jsx(nx,{scope:t,forceMount:r,children:c.jsx(Bt,{present:r||s.open,children:c.jsx(lo,{asChild:!0,container:o,children:n})})})};nd.displayName=_i;var vr="PopoverContent",od=u.forwardRef((e,t)=>{const r=ox(vr,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,s=Ft(vr,e.__scopePopover);return c.jsx(Bt,{present:n||s.open,children:s.modal?c.jsx(ix,{...o,ref:t}):c.jsx(ax,{...o,ref:t})})});od.displayName=vr;var sx=Vr("PopoverContent.RemoveScroll"),ix=u.forwardRef((e,t)=>{const r=Ft(vr,e.__scopePopover),n=u.useRef(null),o=ke(t,n),s=u.useRef(!1);return u.useEffect(()=>{const i=n.current;if(i)return zu(i)},[]),c.jsx(Ai,{as:sx,allowPinchZoom:!0,children:c.jsx(sd,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ce(e.onCloseAutoFocus,i=>{i.preventDefault(),s.current||r.triggerRef.current?.focus()}),onPointerDownOutside:ce(e.onPointerDownOutside,i=>{const a=i.detail.originalEvent,l=a.button===0&&a.ctrlKey===!0,d=a.button===2||l;s.current=d},{checkForDefaultPrevented:!1}),onFocusOutside:ce(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})})}),ax=u.forwardRef((e,t)=>{const r=Ft(vr,e.__scopePopover),n=u.useRef(!1),o=u.useRef(!1);return c.jsx(sd,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{e.onCloseAutoFocus?.(s),s.defaultPrevented||(n.current||r.triggerRef.current?.focus(),s.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:s=>{e.onInteractOutside?.(s),s.defaultPrevented||(n.current=!0,s.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const i=s.target;r.triggerRef.current?.contains(i)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&o.current&&s.preventDefault()}})}),sd=u.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:s,disableOutsidePointerEvents:i,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:d,onInteractOutside:f,...h}=e,v=Ft(vr,r),m=en(r);return xu(),c.jsx(yi,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:s,children:c.jsx(to,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:f,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:d,onDismiss:()=>v.onOpenChange(!1),children:c.jsx(ji,{"data-state":ld(v.open),role:"dialog",id:v.contentId,...m,...h,ref:t,style:{...h.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),id="PopoverClose",ad=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Ft(id,r);return c.jsx(be.button,{type:"button",...n,ref:t,onClick:ce(e.onClick,()=>o.onOpenChange(!1))})});ad.displayName=id;var lx="PopoverArrow",cx=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=en(r);return c.jsx(Ti,{...o,...n,ref:t})});cx.displayName=lx;function ld(e){return e?"open":"closed"}var ux=Qu,dx=ed,Bs=rd,fx=nd,hx=od,Fs=ad;function mx(e){if(e!==void 0)return{width:typeof e=="number"?`${e}px`:e}}function cd(e){const t=se();return X(e,t)}const ud=ux,Ii=u.forwardRef((e,t)=>{const{asChild:r,asChildWrapper:n="span",children:o,className:s,class:i,sx:a,style:l,...d}=e,{sxClassName:f,sxInlineStyle:h}=cd(a),v=j(f,s,i),m=L(l,h);return r?c.jsx(Bs,{asChild:!0,...d,children:c.jsx(n,{ref:t,className:j("inline-flex w-fit",v),style:m,children:o})}):c.jsx(Bs,{ref:t,className:v,style:m,...d,children:o})});Ii.displayName=Bs.displayName;const px=dx,dd=u.forwardRef((e,t)=>{const{asChild:r,asChildWrapper:n="span",children:o,className:s,class:i,sx:a,style:l,...d}=e,{sxClassName:f,sxInlineStyle:h}=cd(a),v=j(f,s,i),m=L(l,h);return r?c.jsx(Fs,{asChild:!0,...d,children:c.jsx(n,{ref:t,className:j("inline-flex w-fit",v),style:m,children:o})}):c.jsx(Fs,{ref:t,className:v,style:m,...d,children:o})});dd.displayName=Fs.displayName;const Oi=u.forwardRef((e,t)=>{const{align:r="center",sideOffset:n=6,width:o=288,rounded:s="lg",shadow:i="md",sx:a,style:l,className:d,class:f,...h}=e,v=se(),{roundedPreset:m,roundedStyle:b}=Zt(s),{shadowPreset:p,shadowStyle:x}=Yr(i),{sxClassName:y,sxInlineStyle:g}=X(a,v);return c.jsx(fx,{children:c.jsx(hx,{ref:t,align:r,sideOffset:n,className:j("z-50 border border-gray-200 bg-white p-4 text-sm text-gray-900 outline-none","origin-[--radix-popover-content-transform-origin]","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]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",m&&Mt[m],p&&xr[p],y,d,f),style:L(l,mx(o),b,x,g),...h})})});Oi.displayName="PopoverContent";var fd=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),vx="VisuallyHidden",hd=u.forwardRef((e,t)=>c.jsx(be.span,{...e,ref:t,style:{...fd,...e.style}}));hd.displayName=vx;var gx=hd,[fo]=rt("Tooltip",[Cr]),ho=Cr(),md="TooltipProvider",bx=700,$s="tooltip.open",[xx,Mi]=fo(md),pd=e=>{const{__scopeTooltip:t,delayDuration:r=bx,skipDelayDuration:n=300,disableHoverableContent:o=!1,children:s}=e,i=u.useRef(!0),a=u.useRef(!1),l=u.useRef(0);return u.useEffect(()=>{const d=l.current;return()=>window.clearTimeout(d)},[]),c.jsx(xx,{scope:t,isOpenDelayedRef:i,delayDuration:r,onOpen:u.useCallback(()=>{window.clearTimeout(l.current),i.current=!1},[]),onClose:u.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>i.current=!0,n)},[n]),isPointerInTransitRef:a,onPointerInTransitChange:u.useCallback(d=>{a.current=d},[]),disableHoverableContent:o,children:s})};pd.displayName=md;var Hr="Tooltip",[yx,tn]=fo(Hr),vd=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o,onOpenChange:s,disableHoverableContent:i,delayDuration:a}=e,l=Mi(Hr,e.__scopeTooltip),d=ho(t),[f,h]=u.useState(null),v=tr(),m=u.useRef(0),b=i??l.disableHoverableContent,p=a??l.delayDuration,x=u.useRef(!1),[y,g]=yt({prop:n,defaultProp:o??!1,onChange:q=>{q?(l.onOpen(),document.dispatchEvent(new CustomEvent($s))):l.onClose(),s?.(q)},caller:Hr}),w=u.useMemo(()=>y?x.current?"delayed-open":"instant-open":"closed",[y]),P=u.useCallback(()=>{window.clearTimeout(m.current),m.current=0,x.current=!1,g(!0)},[g]),C=u.useCallback(()=>{window.clearTimeout(m.current),m.current=0,g(!1)},[g]),N=u.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{x.current=!0,g(!0),m.current=0},p)},[p,g]);return u.useEffect(()=>()=>{m.current&&(window.clearTimeout(m.current),m.current=0)},[]),c.jsx(Ri,{...d,children:c.jsx(yx,{scope:t,contentId:v,open:y,stateAttribute:w,trigger:f,onTriggerChange:h,onTriggerEnter:u.useCallback(()=>{l.isOpenDelayedRef.current?N():P()},[l.isOpenDelayedRef,N,P]),onTriggerLeave:u.useCallback(()=>{b?C():(window.clearTimeout(m.current),m.current=0)},[C,b]),onOpen:P,onClose:C,disableHoverableContent:b,children:r})})};vd.displayName=Hr;var Vs="TooltipTrigger",gd=u.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=tn(Vs,r),s=Mi(Vs,r),i=ho(r),a=u.useRef(null),l=ke(t,a,o.onTriggerChange),d=u.useRef(!1),f=u.useRef(!1),h=u.useCallback(()=>d.current=!1,[]);return u.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),c.jsx(ao,{asChild:!0,...i,children:c.jsx(be.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...n,ref:l,onPointerMove:ce(e.onPointerMove,v=>{v.pointerType!=="touch"&&!f.current&&!s.isPointerInTransitRef.current&&(o.onTriggerEnter(),f.current=!0)}),onPointerLeave:ce(e.onPointerLeave,()=>{o.onTriggerLeave(),f.current=!1}),onPointerDown:ce(e.onPointerDown,()=>{o.open&&o.onClose(),d.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:ce(e.onFocus,()=>{d.current||o.onOpen()}),onBlur:ce(e.onBlur,o.onClose),onClick:ce(e.onClick,o.onClose)})})});gd.displayName=Vs;var Li="TooltipPortal",[wx,Px]=fo(Li,{forceMount:void 0}),bd=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:o}=e,s=tn(Li,t);return c.jsx(wx,{scope:t,forceMount:r,children:c.jsx(Bt,{present:r||s.open,children:c.jsx(lo,{asChild:!0,container:o,children:n})})})};bd.displayName=Li;var gr="TooltipContent",xd=u.forwardRef((e,t)=>{const r=Px(gr,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...s}=e,i=tn(gr,e.__scopeTooltip);return c.jsx(Bt,{present:n||i.open,children:i.disableHoverableContent?c.jsx(yd,{side:o,...s,ref:t}):c.jsx(Cx,{side:o,...s,ref:t})})}),Cx=u.forwardRef((e,t)=>{const r=tn(gr,e.__scopeTooltip),n=Mi(gr,e.__scopeTooltip),o=u.useRef(null),s=ke(t,o),[i,a]=u.useState(null),{trigger:l,onClose:d}=r,f=o.current,{onPointerInTransitChange:h}=n,v=u.useCallback(()=>{a(null),h(!1)},[h]),m=u.useCallback((b,p)=>{const x=b.currentTarget,y={x:b.clientX,y:b.clientY},g=kx(y,x.getBoundingClientRect()),w=Ex(y,g),P=Rx(p.getBoundingClientRect()),C=Tx([...w,...P]);a(C),h(!0)},[h]);return u.useEffect(()=>()=>v(),[v]),u.useEffect(()=>{if(l&&f){const b=x=>m(x,f),p=x=>m(x,l);return l.addEventListener("pointerleave",b),f.addEventListener("pointerleave",p),()=>{l.removeEventListener("pointerleave",b),f.removeEventListener("pointerleave",p)}}},[l,f,m,v]),u.useEffect(()=>{if(i){const b=p=>{const x=p.target,y={x:p.clientX,y:p.clientY},g=l?.contains(x)||f?.contains(x),w=!jx(y,i);g?v():w&&(v(),d())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[l,f,i,d,v]),c.jsx(yd,{...e,ref:s})}),[Sx,Nx]=fo(Hr,{isInside:!1}),qx=Rv("TooltipContent"),yd=u.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:i,...a}=e,l=tn(gr,r),d=ho(r),{onClose:f}=l;return u.useEffect(()=>(document.addEventListener($s,f),()=>document.removeEventListener($s,f)),[f]),u.useEffect(()=>{if(l.trigger){const h=v=>{v.target?.contains(l.trigger)&&f()};return window.addEventListener("scroll",h,{capture:!0}),()=>window.removeEventListener("scroll",h,{capture:!0})}},[l.trigger,f]),c.jsx(to,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:h=>h.preventDefault(),onDismiss:f,children:c.jsxs(ji,{"data-state":l.stateAttribute,...d,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[c.jsx(qx,{children:n}),c.jsx(Sx,{scope:r,isInside:!0,children:c.jsx(gx,{id:l.contentId,role:"tooltip",children:o||n})})]})})});xd.displayName=gr;var wd="TooltipArrow",Pd=u.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=ho(r);return Nx(wd,r).isInside?null:c.jsx(Ti,{...o,...n,ref:t})});Pd.displayName=wd;function kx(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(r,n,o,s)){case s:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function Ex(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return n}function Rx(e){const{top:t,right:r,bottom:n,left:o}=e;return[{x:o,y:t},{x:r,y:t},{x:r,y:n},{x:o,y:n}]}function jx(e,t){const{x:r,y:n}=e;let o=!1;for(let s=0,i=t.length-1;s<t.length;i=s++){const a=t[s],l=t[i],d=a.x,f=a.y,h=l.x,v=l.y;f>n!=v>n&&r<(h-d)*(n-f)/(v-f)+d&&(o=!o)}return o}function Tx(e){const t=e.slice();return t.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),Ax(t)}function Ax(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const o=e[n];for(;t.length>=2;){const s=t[t.length-1],i=t[t.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))t.pop();else break}t.push(o)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const o=e[n];for(;r.length>=2;){const s=r[r.length-1],i=r[r.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))r.pop();else break}r.push(o)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var _x=pd,Ix=vd,zs=gd,Ox=bd,Cd=xd,Sd=Pd;const Mx={dark:"border-gray-900 bg-gray-950 text-white",light:"border-gray-200 bg-white text-gray-900",primary:"border-blue-600 bg-blue-600 text-white"},Lx={dark:"fill-gray-950",light:"fill-white",primary:"fill-blue-600"},Dx=({delayDuration:e=0,...t})=>c.jsx(_x,{delayDuration:e,...t}),Bx=Ix,Fx=Ox,Nd=u.forwardRef((e,t)=>{const{asChild:r,asChildWrapper:n="span",children:o,className:s,class:i,sx:a,style:l,...d}=e,f=se(),{sxClassName:h,sxInlineStyle:v}=X(a,f),m=j(h,s,i),b=L(l,v);return r?c.jsx(zs,{asChild:!0,...d,children:c.jsx(n,{ref:t,className:j("inline-flex w-fit",m),style:b,children:o})}):c.jsx(zs,{ref:t,className:m,style:b,...d,children:o})});Nd.displayName=zs.displayName;const Di=u.forwardRef((e,t)=>{const{tone:r="dark",className:n,class:o,sx:s,style:i,...a}=e,l=se(),{sxClassName:d,sxInlineStyle:f}=X(s,l);return c.jsx(Sd,{ref:t,className:j(Lx[r],d,n,o),style:L(i,f),...a})});Di.displayName=Sd.displayName;const qd=u.forwardRef((e,t)=>{const{tone:r="dark",arrow:n=!1,sideOffset:o=6,className:s,class:i,sx:a,style:l,children:d,...f}=e,h=se(),{sxClassName:v,sxInlineStyle:m}=X(a,h);return c.jsxs(Cd,{ref:t,sideOffset:o,className:j("z-50 max-w-xs rounded-md border px-3 py-1.5 text-sm leading-5 shadow-md outline-none","origin-[--radix-tooltip-content-transform-origin]","animate-in fade-in-0 zoom-in-95","data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",Mx[r],v,s,i),style:L(l,m),...f,children:[d,n?c.jsx(Di,{tone:r}):null]})});qd.displayName=Cd.displayName;let kd=null;function bl(e){kd=e}function $x(){return kd}const Ir={placement:"rightTop",duration:4500,closable:!0,offset:24},$e={...Ir};let xl=!1;function Hs(e){return{...e,placement:e.placement??$e.placement,duration:e.duration??$e.duration,closable:e.closable??$e.closable,offset:e.offset??$e.offset}}function In(){const e=$x();return e||(xl||(xl=!0,console.warn("notification 调用失败:请先在应用根节点挂载 NotificationProvider。")),null)}function Vx(e,t){return typeof t=="string"?{...Hs({message:t}),type:e}:{...Hs(t),type:e}}function xn(e,t){const r=In();return r?r.push(Vx(e,t)):""}const zx={open(e){const t=In();return t?t.push(Hs(e)):""},info(e){return xn("info",e)},success(e){return xn("success",e)},warn(e){return xn("warn",e)},error(e){return xn("error",e)},dismiss(e){const t=In();t&&t.dismiss(e)},clear(){const e=In();e&&e.clear()},config(e){$e.placement=e.placement??$e.placement,$e.duration=e.duration??$e.duration,$e.closable=e.closable??$e.closable,$e.offset=e.offset??$e.offset},resetConfig(){$e.placement=Ir.placement,$e.duration=Ir.duration,$e.closable=Ir.closable,$e.offset=Ir.offset}},Hx=200,ur=24,Ed={info:{icon:"info",iconColor:"#2563eb",role:"status",live:"polite"},success:{icon:"check_circle",iconColor:"#16a34a",role:"status",live:"polite"},warn:{icon:"warning",iconColor:"#d97706",role:"alert",live:"assertive"},error:{icon:"error",iconColor:"#dc2626",role:"alert",live:"assertive"}},Rd=u.createContext(null);let yl=0;function Wx(){return yl+=1,`ldkj-notification-${Date.now()}-${yl}`}function Gx(e,t){const r=t??ur,n=typeof r=="number"?{top:r,right:r,bottom:r,left:r}:{top:r.top??ur,right:r.right??ur,bottom:r.bottom??ur,left:r.left??ur};return e===void 0?n:typeof e=="number"?{top:e,right:e,bottom:e,left:e}:{top:e.top??n.top,right:e.right??n.right,bottom:e.bottom??n.bottom,left:e.left??n.left}}function Ws(e,t){return`${e}:${t.top}:${t.right}:${t.bottom}:${t.left}`}function Kx(e){const t=new Map;for(const r of e){const n=Ws(r.placement,r.offset),o=t.get(n);o?o.push(r):t.set(n,[r])}return t}function Wo(e){return e!=null&&e!==!1}function Ux(e,t){if(e==="center")return{top:"50%",left:"50%",transform:"translate(-50%, -50%)"};const r={};return e.includes("Top")&&(r.top=t.top),e.includes("Bottom")&&(r.bottom=t.bottom),e.includes("right")&&(r.right=t.right),e.includes("left")&&(r.left=t.left),r}function Yx(e){const t=Ed[e.type],r=e.iconColor??t.iconColor;return typeof e.icon=="string"?c.jsx(Le,{name:e.icon,color:r,size:22,className:"ldkj-notification-icon",title:`${e.type} icon`}):e.icon?.svg||e.icon?.src?c.jsx(Le,{svg:e.icon.svg,src:e.icon.src,color:r,size:22,className:"ldkj-notification-icon",title:`${e.type} icon`}):c.jsx(Le,{name:t.icon,color:r,size:22,className:"ldkj-notification-icon",title:`${e.type} icon`})}function jd(e){const{children:t,placement:r="rightTop",duration:n=4500,queueLimit:o=5,offset:s=ur,closable:i=!0}=e,[a,l]=u.useState([]),d=u.useRef(new Map),f=u.useRef(new Map),h=u.useRef(new Set),v=u.useCallback(C=>{const N=d.current.get(C);N!==void 0&&(window.clearTimeout(N),d.current.delete(C));const q=f.current.get(C);q!==void 0&&(window.clearTimeout(q),f.current.delete(C))},[]),m=u.useCallback(C=>{h.current.has(C.id)||(h.current.add(C.id),C.onClose?.())},[]),b=u.useCallback(C=>{l(N=>{const q=N.find(S=>S.id===C);return q?(v(C),m(q),N.filter(S=>S.id!==C)):N})},[v,m]),p=u.useCallback(C=>{v(C),l(q=>q.map(S=>S.id===C&&!S.leaving?{...S,leaving:!0}:S));const N=window.setTimeout(()=>{b(C)},Hx);f.current.set(C,N)},[v,b]),x=u.useCallback(()=>{l(C=>(C.forEach(N=>{v(N.id),m(N)}),[]))},[v,m]),y=u.useCallback(C=>{const N=C.id??Wx();h.current.delete(N),v(N);const q=C.placement??r,S=Gx(C.offset,s),k={id:N,type:C.type??"info",message:C.message,description:C.description,content:C.content,actions:C.actions,placement:q,offset:S,closable:C.closable??i,icon:C.icon,iconColor:C.iconColor,onClose:C.onClose,leaving:!1},T=Ws(q,S);l(R=>{const _=[...R.filter(M=>M.id!==N),k],O=_.filter(M=>Ws(M.placement,M.offset)===T);if(O.length<=o)return _;const I=O.length-o,$=new Set(O.slice(0,I).map(M=>M.id));return O.slice(0,I).forEach(M=>{v(M.id),m(M)}),_.filter(M=>!$.has(M.id))});const E=C.duration??n;if(E>0){const R=window.setTimeout(()=>{p(N)},E);d.current.set(N,R)}return N},[v,i,p,n,m,s,r,o]);u.useEffect(()=>()=>{d.current.forEach(C=>window.clearTimeout(C)),f.current.forEach(C=>window.clearTimeout(C)),d.current.clear(),f.current.clear()},[]);const g=u.useMemo(()=>({push:y,dismiss:p,clear:x}),[x,p,y]);u.useEffect(()=>(bl(g),()=>bl(null)),[g]);const w=u.useMemo(()=>Kx(a),[a]),P=Array.from(w.entries());return c.jsxs(Rd.Provider,{value:g,children:[t,P.map(([C,N])=>{const q=N[0];return q?c.jsx("div",{className:j("ldkj-notification-viewport",`ldkj-notification-viewport-${q.placement}`),style:Ux(q.placement,q.offset),"aria-hidden":N.length===0,children:N.map(S=>{const k=Ed[S.type];return c.jsxs("div",{className:j("ldkj-notification-card",`ldkj-notification-card-${S.type}`,S.leaving?"ldkj-notification-leave":"ldkj-notification-appear"),role:k.role,"aria-live":k.live,"aria-atomic":"true",children:[c.jsx("div",{className:"ldkj-notification-icon-wrap",children:Yx(S)}),c.jsxs("div",{className:"ldkj-notification-main",children:[c.jsx("div",{className:"ldkj-notification-title",children:S.message}),Wo(S.description)?c.jsx("div",{className:"ldkj-notification-description",children:S.description}):null,Wo(S.content)?c.jsx("div",{className:"ldkj-notification-content",children:S.content}):null,Wo(S.actions)?c.jsx("div",{className:"ldkj-notification-actions",children:S.actions}):null]}),S.closable?c.jsx("button",{type:"button",className:"ldkj-notification-close","aria-label":"关闭通知",onClick:()=>p(S.id),children:c.jsx(Le,{name:"close",size:16,className:"ldkj-notification-close-icon"})}):null]},S.id)})},C):null})]})}jd.displayName="NotificationProvider";function Xx(){const e=u.useContext(Rd);if(!e)throw new Error("useNotification 必须在 NotificationProvider 内使用。");const t=u.useCallback(i=>e.push(i),[e]),r=u.useCallback(i=>e.push(yn("info",i)),[e]),n=u.useCallback(i=>e.push(yn("success",i)),[e]),o=u.useCallback(i=>e.push(yn("warn",i)),[e]),s=u.useCallback(i=>e.push(yn("error",i)),[e]);return u.useMemo(()=>({open:t,info:r,success:n,warn:o,error:s,dismiss:e.dismiss,clear:e.clear}),[e.clear,e.dismiss,s,r,t,n,o])}function yn(e,t){return typeof t=="string"?{type:e,message:t}:{...t,type:e}}function Td(e){const{size:t=18,className:r,class:n,style:o,...s}=e;return c.jsx("span",{className:j("inline-block animate-spin rounded-full border-2 border-slate-200 border-t-blue-600",r,n),style:{width:t,height:t,...o},...s})}function Jx({text:e="加载中..."}){return c.jsxs("div",{className:"inline-flex items-center gap-2 text-slate-600",children:[c.jsx(Td,{}),c.jsx("span",{children:e})]})}function Qx(e){const{open:t,title:r,width:n=360,className:o,class:s,children:i,onOpenChange:a}=e;return t?c.jsxs("div",{className:"fixed inset-0 z-50",children:[c.jsx("div",{className:"absolute inset-0 bg-black/45",onClick:()=>a?.(!1)}),c.jsxs("div",{className:j("absolute right-0 top-0 h-full bg-white p-4 shadow-xl",o,s),style:{width:n},children:[r?c.jsx("div",{className:"mb-3 text-base font-medium",children:r}):null,i]})]}):null}const Zx={info:"border-blue-200 bg-blue-50 text-blue-800",success:"border-emerald-200 bg-emerald-50 text-emerald-800",warning:"border-amber-200 bg-amber-50 text-amber-800",error:"border-rose-200 bg-rose-50 text-rose-800"};function ey(e){const{className:t,class:r,variant:n="info",title:o,description:s,children:i,...a}=e;return c.jsxs("div",{className:j("rounded-md border p-3",Zx[n],t,r),...a,children:[o?c.jsx("div",{className:"font-medium",children:o}):null,s?c.jsx("div",{className:"mt-1 text-sm",children:s}):i]})}function ty(e){const{value:t=0,max:r=100,showInfo:n=!1,className:o,class:s,...i}=e,a=Math.max(0,Math.min(100,t/r*100));return c.jsxs("div",{className:j("w-full",o,s),...i,children:[c.jsx("div",{className:"h-2 w-full overflow-hidden rounded-full bg-slate-200",children:c.jsx("div",{className:"h-full bg-blue-600 transition-all",style:{width:`${a}%`}})}),n?c.jsxs("div",{className:"mt-1 text-xs text-slate-500",children:[Math.round(a),"%"]}):null]})}function mo(e){const t=u.useRef({value:e,previous:e});return u.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var po="Checkbox",[ry]=rt(po),[ny,Bi]=ry(po);function oy(e){const{__scopeCheckbox:t,checked:r,children:n,defaultChecked:o,disabled:s,form:i,name:a,onCheckedChange:l,required:d,value:f="on",internal_do_not_use_render:h}=e,[v,m]=yt({prop:r,defaultProp:o??!1,onChange:l,caller:po}),[b,p]=u.useState(null),[x,y]=u.useState(null),g=u.useRef(!1),w=b?!!i||!!b.closest("form"):!0,P={checked:v,disabled:s,setChecked:m,control:b,setControl:p,name:a,form:i,value:f,hasConsumerStoppedPropagationRef:g,required:d,defaultChecked:_t(o)?!1:o,isFormControl:w,bubbleInput:x,setBubbleInput:y};return c.jsx(ny,{scope:t,...P,children:sy(h)?h(P):n})}var Ad="CheckboxTrigger",_d=u.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:r,...n},o)=>{const{control:s,value:i,disabled:a,checked:l,required:d,setControl:f,setChecked:h,hasConsumerStoppedPropagationRef:v,isFormControl:m,bubbleInput:b}=Bi(Ad,e),p=ke(o,f),x=u.useRef(l);return u.useEffect(()=>{const y=s?.form;if(y){const g=()=>h(x.current);return y.addEventListener("reset",g),()=>y.removeEventListener("reset",g)}},[s,h]),c.jsx(be.button,{type:"button",role:"checkbox","aria-checked":_t(l)?"mixed":l,"aria-required":d,"data-state":Bd(l),"data-disabled":a?"":void 0,disabled:a,value:i,...n,ref:p,onKeyDown:ce(t,y=>{y.key==="Enter"&&y.preventDefault()}),onClick:ce(r,y=>{h(g=>_t(g)?!0:!g),b&&m&&(v.current=y.isPropagationStopped(),v.current||y.stopPropagation())})})});_d.displayName=Ad;var Id=u.forwardRef((e,t)=>{const{__scopeCheckbox:r,name:n,checked:o,defaultChecked:s,required:i,disabled:a,value:l,onCheckedChange:d,form:f,...h}=e;return c.jsx(oy,{__scopeCheckbox:r,checked:o,defaultChecked:s,disabled:a,required:i,onCheckedChange:d,name:n,form:f,value:l,internal_do_not_use_render:({isFormControl:v})=>c.jsxs(c.Fragment,{children:[c.jsx(_d,{...h,ref:t,__scopeCheckbox:r}),v&&c.jsx(Dd,{__scopeCheckbox:r})]})})});Id.displayName=po;var Od="CheckboxIndicator",Md=u.forwardRef((e,t)=>{const{__scopeCheckbox:r,forceMount:n,...o}=e,s=Bi(Od,r);return c.jsx(Bt,{present:n||_t(s.checked)||s.checked===!0,children:c.jsx(be.span,{"data-state":Bd(s.checked),"data-disabled":s.disabled?"":void 0,...o,ref:t,style:{pointerEvents:"none",...e.style}})})});Md.displayName=Od;var Ld="CheckboxBubbleInput",Dd=u.forwardRef(({__scopeCheckbox:e,...t},r)=>{const{control:n,hasConsumerStoppedPropagationRef:o,checked:s,defaultChecked:i,required:a,disabled:l,name:d,value:f,form:h,bubbleInput:v,setBubbleInput:m}=Bi(Ld,e),b=ke(r,m),p=mo(s),x=io(n);u.useEffect(()=>{const g=v;if(!g)return;const w=window.HTMLInputElement.prototype,C=Object.getOwnPropertyDescriptor(w,"checked").set,N=!o.current;if(p!==s&&C){const q=new Event("click",{bubbles:N});g.indeterminate=_t(s),C.call(g,_t(s)?!1:s),g.dispatchEvent(q)}},[v,p,s,o]);const y=u.useRef(_t(s)?!1:s);return c.jsx(be.input,{type:"checkbox","aria-hidden":!0,defaultChecked:i??y.current,required:a,disabled:l,name:d,value:f,form:h,...t,tabIndex:-1,ref:b,style:{...t.style,...x,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});Dd.displayName=Ld;function sy(e){return typeof e=="function"}function _t(e){return e==="indeterminate"}function Bd(e){return _t(e)?"indeterminate":e?"checked":"unchecked"}const Fd=u.createContext(null);function iy(e){return u.createElement(Fd.Provider,{value:e.value},e.children)}function ay(){return u.useContext(Fd)}const ly=()=>c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",className:"checkbox-check h-3 w-3",fill:"none",children:c.jsx("path",{d:"M3.5 8.5L6.5 11.5L12.5 4.5",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round"})}),cy=()=>c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",className:"checkbox-minus h-3 w-3",fill:"none",children:c.jsx("path",{d:"M4 8H12",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round"})}),rn=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,children:i,checked:a,disabled:l,name:d,onCheckedChange:f,value:h,...v}=e,m=se(),{sxClassName:b,sxInlineStyle:p}=X(o,m),x=ay(),y=typeof h=="string"?h:void 0,g=!!(x&&y!==void 0),w=a??(g?x?.selectedValues.has(y):void 0),P=l||(g?x?.disabled:!1),C=d??(g?x?.name:void 0);return c.jsx(Id,{ref:t,checked:w,disabled:P,name:C,onCheckedChange:N=>{f?.(N),g&&a===void 0&&x?.toggleValue(y,N===!0)},value:h,className:j("peer inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-[4px] border border-solid border-slate-300 bg-white text-white transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50","data-[state=checked]:border-blue-600 data-[state=checked]:bg-blue-600","data-[state=indeterminate]:border-blue-600 data-[state=indeterminate]:bg-blue-600",b,r,n),style:L(s,p),...v,children:i??c.jsxs(Md,{className:j("inline-flex h-4 w-4 items-center justify-center text-current","[&[data-state=checked]_.checkbox-minus]:hidden","[&[data-state=indeterminate]_.checkbox-check]:hidden"),children:[c.jsx(ly,{}),c.jsx(cy,{})]})})});rn.displayName="Checkbox";var uy=Symbol.for("react.lazy"),Wn=u[" use ".trim().toString()];function dy(e){return typeof e=="object"&&e!==null&&"then"in e}function $d(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===uy&&"_payload"in e&&dy(e._payload)}function fy(e){const t=hy(e),r=u.forwardRef((n,o)=>{let{children:s,...i}=n;$d(s)&&typeof Wn=="function"&&(s=Wn(s._payload));const a=u.Children.toArray(s),l=a.find(py);if(l){const d=l.props.children,f=a.map(h=>h===l?u.Children.count(d)>1?u.Children.only(null):u.isValidElement(d)?d.props.children:null:h);return c.jsx(t,{...i,ref:o,children:u.isValidElement(d)?u.cloneElement(d,void 0,f):null})}return c.jsx(t,{...i,ref:o,children:s})});return r.displayName=`${e}.Slot`,r}function hy(e){const t=u.forwardRef((r,n)=>{let{children:o,...s}=r;if($d(o)&&typeof Wn=="function"&&(o=Wn(o._payload)),u.isValidElement(o)){const i=gy(o),a=vy(s,o.props);return o.type!==u.Fragment&&(a.ref=n?xi(n,i):i),u.cloneElement(o,a)}return u.Children.count(o)>1?u.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var my=Symbol("radix.slottable");function py(e){return u.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===my}function vy(e,t){const r={...t};for(const n in t){const o=e[n],s=t[n];/^on[A-Z]/.test(n)?o&&s?r[n]=(...a)=>{const l=s(...a);return o(...a),l}:o&&(r[n]=o):n==="style"?r[n]={...o,...s}:n==="className"&&(r[n]=[o,s].filter(Boolean).join(" "))}return{...e,...r}}function gy(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var by=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],vo=by.reduce((e,t)=>{const r=fy(`Primitive.${t}`),n=u.forwardRef((o,s)=>{const{asChild:i,...a}=o,l=i?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(l,{...a,ref:s})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),xy="Label",Vd=u.forwardRef((e,t)=>c.jsx(vo.label,{...e,ref:t,onMouseDown:r=>{r.target.closest("button, input, select, textarea")||(e.onMouseDown?.(r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));Vd.displayName=xy;var Gs=Vd;function yy(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function wy(e){return e==="center"?"center":e==="right"?"flex-end":"flex-start"}const go=u.forwardRef((e,t)=>{const{children:r,className:n,class:o,colon:s,containerClass:i,containerClassName:a,containerStyle:l,containerSx:d,label:f,labelAlign:h="left",labelWidth:v,position:m="left",required:b=!1,sx:p,style:x,...y}=e,g=se(),{sxClassName:w,sxInlineStyle:P}=X(p,g),{sxClassName:C,sxInlineStyle:N}=X(d,g),q=L({width:yy(v),justifyContent:wy(h)},x,P),S=j("inline-flex gap-1 text-sm font-medium leading-5 text-slate-700","peer-disabled:cursor-not-allowed peer-disabled:opacity-70",w,n,o);return f===void 0?c.jsx(Gs,{ref:t,className:S,style:q,...y,children:r}):c.jsxs("div",{className:j("flex w-fit",m==="top"?"flex-col items-start gap-1.5":"flex-row items-center gap-2",C,a,i),style:L(l,N),children:[c.jsxs(Gs,{ref:t,className:S,style:q,...y,children:[b?c.jsx("span",{className:"text-red-500 font-serif",children:"*"}):null,c.jsx("span",{children:f}),s===!0?":":s??null]}),r]})});go.displayName="Label";const wl={xs:"gap-1",sm:"gap-2",md:"gap-3",lg:"gap-4"};function Py(e){return e===void 0?{className:wl.md}:e==="xs"||e==="sm"||e==="md"||e==="lg"?{className:wl[e]}:{style:{gap:typeof e=="number"?`${e}px`:e}}}function Cy(e,t){if(e.type==="single"){const r=e.value??t[0];return r===void 0?[]:[r]}return e.value??t}function Sy(e){return e.type==="single"?e.defaultValue===void 0?[]:[e.defaultValue]:e.defaultValue??[]}function zd(e){const{className:t,class:r,children:n,direction:o="vertical",disabled:s=!1,gap:i="md",name:a,options:l,sx:d,style:f,type:h,value:v,defaultValue:m,onChange:b,...p}=e,x=se(),{sxClassName:y,sxInlineStyle:g}=X(d,x),w=Py(i),[P,C]=u.useState(()=>Sy(e)),N=Cy(e,P),q=new Set(N);function S(E){if(e.value===void 0&&C(E),e.type==="single"){e.onChange?.(E[0]);return}e.onChange?.(E)}function k(E,R){if(e.type==="single"){S(R?[E]:[]);return}const A=new Set(N);R?A.add(E):A.delete(E),S(Array.from(A))}const T=u.useMemo(()=>({disabled:s,name:a,selectedValues:q,toggleValue:k}),[s,a,q]);return c.jsx("div",{role:"group",className:j("flex",o==="horizontal"?"flex-row flex-wrap":"flex-col",w.className,y,t,r),style:L(f,w.style,g),...p,children:c.jsxs(iy,{value:T,children:[l?.map(E=>{const R=s||E.disabled,A=q.has(E.value);return c.jsxs(go,{className:j("inline-flex items-start gap-2 text-sm leading-5 text-slate-700",R&&"cursor-not-allowed text-slate-400",!R&&"cursor-pointer",E.className),children:[c.jsx(rn,{...E.checkboxProps,name:a,value:E.value,checked:A,disabled:R,onCheckedChange:_=>k(E.value,_===!0)}),c.jsxs("span",{className:"grid gap-0.5",children:[c.jsx("span",{children:E.label}),E.description?c.jsx("span",{className:"text-xs text-slate-500",children:E.description}):null]})]},E.value)}),n]})})}zd.displayName="CheckboxGroup";const bo=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,type:i="text",...a}=e,l=se(),{sxClassName:d,sxInlineStyle:f}=X(o,l);return c.jsx("input",{ref:t,type:i,className:j("flex h-9 w-full rounded-md border border-solid border-slate-300 bg-white px-3 py-2 text-sm text-slate-900 shadow-sm transition-colors","file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-slate-700","placeholder:text-slate-400","focus-visible:border-blue-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30","disabled:cursor-not-allowed disabled:bg-slate-50 disabled:text-slate-500 disabled:opacity-70",d,r,n),style:L(s,f),...a})});bo.displayName="Input";function Ny(e={}){const{defaultValue:t="",formatOnBlur:r,onValueChange:n,value:o}=e,s=o!==void 0,[i,a]=u.useState(t),l=s?o:i,d=u.useCallback((m,b)=>{s||a(m),n?.(m,{...b,valueAsString:m})},[s,n]),f=u.useCallback(m=>{d(m,{reason:"set",valueAsString:m})},[d]),h=u.useCallback(m=>{d(m.currentTarget.value,{event:m,reason:"input",valueAsString:m.currentTarget.value})},[d]);return{inputProps:{onBlur:u.useCallback(m=>{if(!r)return;const b=r(m.currentTarget.value);m.currentTarget.value=b,d(b,{event:m,reason:"commit",valueAsString:b})},[d,r]),onChange:h,value:l},setValue:f,value:l}}function Gn(e){if(e.trim()==="")return null;const t=Number(e);return Number.isFinite(t)?t:null}function Pl(e){if(!Number.isFinite(e))return 0;const[,t=""]=String(e).split(".");return t.length}function qy(e,t,r){if(!Number.isFinite(r)||!r||r<=0)return e;const n=Number.isFinite(t)?t??0:0,o=Math.max(Pl(n),Pl(r)),s=n+Math.round((e-n)/r)*r;return Number(s.toFixed(Math.min(o+2,12)))}function ky(e,t){return Number.isFinite(t)?e.toFixed(Math.max(0,Math.floor(t??0))):String(e)}function Ey(e,t){const r=Gn(e);if(r===null)return{value:null,valueAsString:""};if(!t.clampOnBlur)return{value:r,valueAsString:e};let n=r;Number.isFinite(t.min)&&(n=Math.max(t.min??n,n)),Number.isFinite(t.max)&&(n=Math.min(t.max??n,n)),n=qy(n,t.min,t.step),Number.isFinite(t.min)&&(n=Math.max(t.min??n,n)),Number.isFinite(t.max)&&(n=Math.min(t.max??n,n));const o=ky(n,t.precision);return{value:n,valueAsString:o}}function Go(e){return e==null?"":String(e)}function Ry(e={}){const{defaultValue:t="",onValueChange:r,...n}=e,[o,s]=u.useState(()=>Go(t)),[i,a]=u.useState(()=>Gn(Go(t))),l=u.useCallback(h=>{const v=Go(h);s(v),a(Gn(v))},[]),d=u.useCallback(h=>{s(h.currentTarget.value)},[]),f=u.useCallback((h,v)=>{a(h),v.reason==="commit"&&s(v.valueAsString),r?.(h,v)},[r]);return{inputProps:{...n,onChange:d,onValueChange:f,value:o},numberValue:i,setValue:l,value:o}}const Hd=u.forwardRef((e,t)=>{const{clampOnBlur:r=!1,max:n,min:o,onBlur:s,onChange:i,onValueChange:a,precision:l,step:d,...f}=e,h=m=>{i?.(m),a?.(Gn(m.currentTarget.value),{event:m,reason:"input",valueAsString:m.currentTarget.value})},v=m=>{if(r&&!e.disabled&&!e.readOnly){const b=Ey(m.currentTarget.value,{clampOnBlur:r,max:n,min:o,precision:l,step:d});m.currentTarget.value=b.valueAsString,a?.(b.value,{event:m,reason:"commit",valueAsString:b.valueAsString})}s?.(m)};return c.jsx(bo,{...f,ref:t,type:"number",inputMode:"decimal",min:o,max:n,step:d,onBlur:v,onChange:h})});Hd.displayName="InputNumber";const jy={numeric:/^[0-9]$/,alphabetic:/^[A-Za-z]$/,alphanumeric:/^[A-Za-z0-9]$/},Ty={numeric:"[0-9]*",alphabetic:"[A-Za-z]*",alphanumeric:"[A-Za-z0-9]*"},Ay={sm:"h-8 w-8 text-sm",md:"h-10 w-10 text-base",lg:"h-12 w-12 text-lg"},_y={outline:"rounded-md border border-slate-300 bg-white text-slate-900",filled:"rounded-md border border-slate-100 bg-slate-100 text-slate-900",underline:"border-0 border-b border-slate-300 bg-transparent text-slate-900"};function Iy(e){return Number.isFinite(e)?Math.max(1,Math.floor(e??6)):6}function Oy(e,t){const r=t?typeof t=="string"?new RegExp(t):t:jy[e];return n=>(r.lastIndex=0,r.test(n))}function My(e,t,r){return Array.from(e).filter(r).slice(0,t).join("")}function Ly(e,t){return typeof t=="string"?t:t instanceof RegExp?t.source:Ty[e]}const Wd=u.forwardRef((e,t)=>{const{value:r,defaultValue:n="",length:o=6,disabled:s,readOnly:i,className:a,class:l,inputClassName:d,slotClassName:f,onChange:h,onComplete:v,type:m="numeric",pattern:b,pasteTransformer:p,mask:x=!1,placeholder:y="",autoFocus:g=!0,oneTimeCode:w=!0,size:P="md",variant:C="outline",invalid:N=!1,separator:q,style:S,sx:k,inputMode:T,autoComplete:E,onBlur:R,onFocus:A,onKeyDown:_,onPaste:O,"aria-label":I,...$}=e,M=se(),{sxClassName:U,sxInlineStyle:D}=X(k,M),G=Iy(o),me=u.useMemo(()=>Oy(m,b),[b,m]),te=u.useCallback(re=>My(re,G,me),[G,me]),J=r!==void 0,[H,Y]=u.useState(()=>te(n)),B=te(J?r??"":H),Q=u.useRef(null),z=u.useRef(B),K=u.useRef(null),[W,Z]=u.useState(!1),ae=Array.from(B),ue=Math.min(ae.length,G-1),pe=Array.from(y)[0]??"",ve=typeof x=="string"?x:"•";u.useImperativeHandle(t,()=>Q.current),u.useEffect(()=>{z.current=B},[B]),u.useEffect(()=>{J||Y(re=>te(re))},[J,te]);const ie=u.useCallback(()=>{const re=Q.current;if(!re)return;const he=re.value.length;try{re.setSelectionRange(he,he)}catch{}},[]),ye=u.useCallback(re=>{const he=te(re),Re=z.current;z.current=he,J||Y(he),he!==Re&&h?.(he),he.length===G?K.current!==he&&(K.current=he,v?.(he)):K.current=null,window.requestAnimationFrame(ie)},[J,ie,te,h,v,G]),Se=u.useCallback(()=>{s||(Q.current?.focus(),window.requestAnimationFrame(ie))},[s,ie]);u.useEffect(()=>{if(!g||s)return;const re=Q.current,he=re?.ownerDocument;!re||!he||he.activeElement!==he.body||(re.focus(),ie())},[g,s,ie]);const Ie=re=>{ye(re.target.value)},oe=re=>{Z(!0),A?.(re),window.requestAnimationFrame(ie)},we=re=>{Z(!1),R?.(re)},Ee=re=>{if(_?.(re),!re.defaultPrevented){if(re.key==="Backspace"||re.key==="Delete"){re.preventDefault(),!i&&z.current.length>0&&ye(z.current.slice(0,-1));return}(re.key==="ArrowLeft"||re.key==="ArrowRight"||re.key==="Home"||re.key==="End")&&(re.preventDefault(),ie())}},de=re=>{if(O?.(re),re.defaultPrevented||i)return;re.preventDefault();const he=re.clipboardData.getData("text"),Re=p?p(he):he;ye(`${z.current}${Re}`)},Ae=re=>{s||(re.preventDefault(),Se())},fe=re=>re>=G-1?null:typeof q=="function"?q(re):q;return c.jsx("div",{className:j("inline-flex flex-col gap-2",U,a,l),style:L(S,D),"data-disabled":s?"":void 0,"data-readonly":i?"":void 0,"data-complete":B.length===G?"":void 0,children:c.jsxs("div",{className:"relative inline-flex items-center gap-2",onMouseDown:Ae,children:[c.jsx("input",{...$,ref:Q,type:"text",value:B,disabled:s,readOnly:i,maxLength:G,inputMode:T??(m==="numeric"?"numeric":"text"),autoComplete:w?"one-time-code":E,pattern:Ly(m,b),"aria-label":I??"一次性验证码","aria-invalid":N||$["aria-invalid"]?!0:void 0,className:j("absolute inset-0 z-10 h-full w-full cursor-text border-0 bg-transparent p-0 text-transparent opacity-0 outline-none","disabled:cursor-not-allowed",d),onChange:Ie,onFocus:oe,onBlur:we,onKeyDown:Ee,onPaste:de}),Array.from({length:G}).map((re,he)=>{const Re=ae[he]??"",_e=Re.length>0,Ye=W&&!s&&he===ue,Ve=_e?x?ve:Re:pe,nt=fe(he);return c.jsxs(u.Fragment,{children:[c.jsx("span",{"aria-hidden":"true",className:j("inline-flex shrink-0 select-none items-center justify-center font-semibold transition-colors",Ay[P],_y[C],!_e&&"font-normal text-slate-400",Ye&&"border-blue-500 ring-2 ring-blue-500/30",N&&"border-red-500 text-red-600",Ye&&N&&"ring-red-500/25",s&&"cursor-not-allowed bg-slate-50 text-slate-400 opacity-70",i&&!s&&"bg-slate-50",f),"data-active":Ye?"":void 0,"data-filled":_e?"":void 0,children:Ve}),nt?c.jsx("span",{"aria-hidden":"true",className:"select-none text-sm text-slate-400",children:nt}):null]},he)})]})})});Wd.displayName="InputOPT";function Cl(e){return e==null?"":String(e)}function Dy(e){return typeof e=="string"||typeof e=="number"?String(e):""}function By(e,t){const r=t.trim().toLowerCase();return r?[e.value,e.textValue,Dy(e.label),...e.keywords??[]].filter(Boolean).join(" ").toLowerCase().includes(r):!0}function Sl(e,t,r){if(!e.length)return-1;let n=t;for(let o=0;o<e.length;o+=1)if(n=(n+r+e.length)%e.length,!e[n]?.disabled)return n;return-1}function Fy(e,t){const r=window.HTMLInputElement.prototype;Object.getOwnPropertyDescriptor(r,"value")?.set?.call(e,t),e.dispatchEvent(new Event("input",{bubbles:!0}))}function $y(e,t){if(e){if(typeof e=="function"){e(t);return}e.current=t}}function Vy(...e){return u.useCallback(t=>{for(const r of e)$y(r,t)},e)}const Gd=u.forwardRef((e,t)=>{const{autoComplete:r="off",class:n,className:o,defaultValue:s,disabled:i,dropdownClassName:a,dropdownStyle:l,dropdownSx:d,emptyText:f="暂无匹配结果",filterOption:h=By,onBlur:v,onChange:m,onFocus:b,onKeyDown:p,onOptionSelect:x,onValueChange:y,openOnFocus:g=!0,optionClassName:w,optionStyle:P,optionSx:C,options:N=[],readOnly:q,renderOption:S,rootClassName:k,rootStyle:T,rootSx:E,value:R,...A}=e,_=se(),O=u.useRef(null),I=u.useRef(null),$=u.useRef(null),M=u.useId(),[U,D]=u.useState(()=>Cl(s)),[G,me]=u.useState(!1),[te,J]=u.useState(-1),H=R!==void 0,Y=H?Cl(R):U,B=!i&&!q,Q=X(E,_),z=X(d,_),K=X(C,_),W=Vy(O,t),Z=u.useMemo(()=>h===!1?N:N.filter(oe=>h(oe,Y)),[h,Y,N]),ae=G&&B&&(Z.length>0||f!==null),ue=te>=0?Z[te]:void 0,pe=ae&&ue?`${M}-option-${te}`:void 0;u.useEffect(()=>{if(!G)return;const oe=we=>{const Ee=we.target;Ee instanceof Node&&I.current&&!I.current.contains(Ee)&&(me(!1),J(-1))};return document.addEventListener("pointerdown",oe),()=>{document.removeEventListener("pointerdown",oe)}},[G]),u.useEffect(()=>{te>=Z.length&&J(-1)},[te,Z.length]);const ve=(oe,we)=>{oe.disabled||($.current=oe,H||D(oe.value),O.current&&Fy(O.current,oe.value),me(!1),J(-1),x?.(oe,we),O.current?.focus(),window.setTimeout(()=>{$.current===oe&&($.current=null)},0))},ie=oe=>{const we=oe.currentTarget.value,Ee=$.current;$.current=null,H||D(we),B&&me(!Ee),J(-1),m?.(oe),y?.(we,{event:oe,option:Ee??void 0,reason:Ee?"select":"input"})},ye=oe=>{B&&g&&me(!0),b?.(oe)},Se=oe=>{const we=oe.relatedTarget;if(we instanceof Node&&I.current?.contains(we)){v?.(oe);return}me(!1),J(-1),v?.(oe)},Ie=oe=>{if(!B){p?.(oe);return}oe.key==="ArrowDown"?(oe.preventDefault(),me(!0),J(we=>Sl(Z,we<0?-1:we,1))):oe.key==="ArrowUp"?(oe.preventDefault(),me(!0),J(we=>Sl(Z,we<0?Z.length:we,-1))):oe.key==="Enter"&&G&&ue?(oe.preventDefault(),ve(ue,oe)):(oe.key==="Escape"||oe.key==="Tab")&&(me(!1),J(-1)),p?.(oe)};return c.jsxs("div",{ref:I,className:j("relative w-full",Q.sxClassName,k),style:L(T,Q.sxInlineStyle),children:[c.jsx(bo,{...A,ref:W,autoComplete:r,class:n,className:o,disabled:i,readOnly:q,role:"combobox","aria-autocomplete":"list","aria-controls":ae?M:void 0,"aria-expanded":ae,"aria-activedescendant":pe,value:Y,onBlur:Se,onChange:ie,onFocus:ye,onKeyDown:Ie}),ae?c.jsx("div",{id:M,role:"listbox",className:j("absolute left-0 top-full z-50 mt-1 max-h-64 w-full overflow-y-auto rounded-md border border-solid border-slate-200 bg-white p-1 text-slate-900 shadow-lg","animate-in fade-in-0 zoom-in-95",z.sxClassName,a),style:L(l,z.sxInlineStyle),children:Z.length>0?Z.map((oe,we)=>{const Ee=te===we,de=oe.value===Y,Ae=!!oe.disabled;return c.jsx("div",{id:`${M}-option-${we}`,role:"option","aria-disabled":Ae||void 0,"aria-selected":de,className:j("grid cursor-default select-none gap-0.5 rounded-sm px-2 py-1.5 text-sm leading-5 outline-none transition-colors",Ee&&"bg-blue-50 text-blue-700",de&&!Ee&&"bg-slate-50 text-slate-900",Ae?"pointer-events-none text-slate-400 opacity-70":"text-slate-700",K.sxClassName,w),style:L(P,K.sxInlineStyle),onMouseDown:fe=>fe.preventDefault(),onMouseEnter:()=>{Ae||J(we)},onClick:fe=>ve(oe,fe),children:S?S(oe,{active:Ee,disabled:Ae,inputValue:Y,selected:de}):c.jsxs(c.Fragment,{children:[c.jsx("span",{className:"truncate font-medium",children:oe.label}),oe.description?c.jsx("span",{className:"truncate text-xs text-slate-500",children:oe.description}):null]})},`${oe.value}-${we}`)}):c.jsx("div",{className:"px-2 py-2 text-sm text-slate-500",children:f})}):null]})});Gd.displayName="AutoComplete";function Kd(e){const t=e+"CollectionProvider",[r,n]=rt(t),[o,s]=r(t,{collectionRef:{current:null},itemMap:new Map}),i=p=>{const{scope:x,children:y}=p,g=je.useRef(null),w=je.useRef(new Map).current;return c.jsx(o,{scope:x,itemMap:w,collectionRef:g,children:y})};i.displayName=t;const a=e+"CollectionSlot",l=Vr(a),d=je.forwardRef((p,x)=>{const{scope:y,children:g}=p,w=s(a,y),P=ke(x,w.collectionRef);return c.jsx(l,{ref:P,children:g})});d.displayName=a;const f=e+"CollectionItemSlot",h="data-radix-collection-item",v=Vr(f),m=je.forwardRef((p,x)=>{const{scope:y,children:g,...w}=p,P=je.useRef(null),C=ke(x,P),N=s(f,y);return je.useEffect(()=>(N.itemMap.set(P,{ref:P,...w}),()=>{N.itemMap.delete(P)})),c.jsx(v,{[h]:"",ref:C,children:g})});m.displayName=f;function b(p){const x=s(e+"CollectionConsumer",p);return je.useCallback(()=>{const g=x.collectionRef.current;if(!g)return[];const w=Array.from(g.querySelectorAll(`[${h}]`));return Array.from(x.itemMap.values()).sort((N,q)=>w.indexOf(N.ref.current)-w.indexOf(q.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:i,Slot:d,ItemSlot:m},b,n]}var zy=u.createContext(void 0);function xo(e){const t=u.useContext(zy);return e||t||"ltr"}var Ko="rovingFocusGroup.onEntryFocus",Hy={bubbles:!1,cancelable:!0},nn="RovingFocusGroup",[Ks,Ud,Wy]=Kd(nn),[Gy,yo]=rt(nn,[Wy]),[Ky,Uy]=Gy(nn),Yd=u.forwardRef((e,t)=>c.jsx(Ks.Provider,{scope:e.__scopeRovingFocusGroup,children:c.jsx(Ks.Slot,{scope:e.__scopeRovingFocusGroup,children:c.jsx(Yy,{...e,ref:t})})}));Yd.displayName=nn;var Yy=u.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:s,currentTabStopId:i,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:l,onEntryFocus:d,preventScrollOnEntryFocus:f=!1,...h}=e,v=u.useRef(null),m=ke(t,v),b=xo(s),[p,x]=yt({prop:i,defaultProp:a??null,onChange:l,caller:nn}),[y,g]=u.useState(!1),w=gt(d),P=Ud(r),C=u.useRef(!1),[N,q]=u.useState(0);return u.useEffect(()=>{const S=v.current;if(S)return S.addEventListener(Ko,w),()=>S.removeEventListener(Ko,w)},[w]),c.jsx(Ky,{scope:r,orientation:n,dir:b,loop:o,currentTabStopId:p,onItemFocus:u.useCallback(S=>x(S),[x]),onItemShiftTab:u.useCallback(()=>g(!0),[]),onFocusableItemAdd:u.useCallback(()=>q(S=>S+1),[]),onFocusableItemRemove:u.useCallback(()=>q(S=>S-1),[]),children:c.jsx(be.div,{tabIndex:y||N===0?-1:0,"data-orientation":n,...h,ref:m,style:{outline:"none",...e.style},onMouseDown:ce(e.onMouseDown,()=>{C.current=!0}),onFocus:ce(e.onFocus,S=>{const k=!C.current;if(S.target===S.currentTarget&&k&&!y){const T=new CustomEvent(Ko,Hy);if(S.currentTarget.dispatchEvent(T),!T.defaultPrevented){const E=P().filter(I=>I.focusable),R=E.find(I=>I.active),A=E.find(I=>I.id===p),O=[R,A,...E].filter(Boolean).map(I=>I.ref.current);Qd(O,f)}}C.current=!1}),onBlur:ce(e.onBlur,()=>g(!1))})})}),Xd="RovingFocusGroupItem",Jd=u.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:s,children:i,...a}=e,l=tr(),d=s||l,f=Uy(Xd,r),h=f.currentTabStopId===d,v=Ud(r),{onFocusableItemAdd:m,onFocusableItemRemove:b,currentTabStopId:p}=f;return u.useEffect(()=>{if(n)return m(),()=>b()},[n,m,b]),c.jsx(Ks.ItemSlot,{scope:r,id:d,focusable:n,active:o,children:c.jsx(be.span,{tabIndex:h?0:-1,"data-orientation":f.orientation,...a,ref:t,onMouseDown:ce(e.onMouseDown,x=>{n?f.onItemFocus(d):x.preventDefault()}),onFocus:ce(e.onFocus,()=>f.onItemFocus(d)),onKeyDown:ce(e.onKeyDown,x=>{if(x.key==="Tab"&&x.shiftKey){f.onItemShiftTab();return}if(x.target!==x.currentTarget)return;const y=Qy(x,f.orientation,f.dir);if(y!==void 0){if(x.metaKey||x.ctrlKey||x.altKey||x.shiftKey)return;x.preventDefault();let w=v().filter(P=>P.focusable).map(P=>P.ref.current);if(y==="last")w.reverse();else if(y==="prev"||y==="next"){y==="prev"&&w.reverse();const P=w.indexOf(x.currentTarget);w=f.loop?Zy(w,P+1):w.slice(P+1)}setTimeout(()=>Qd(w))}}),children:typeof i=="function"?i({isCurrentTabStop:h,hasTabStop:p!=null}):i})})});Jd.displayName=Xd;var Xy={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Jy(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Qy(e,t,r){const n=Jy(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return Xy[n]}function Qd(e,t=!1){const r=document.activeElement;for(const n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function Zy(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var Zd=Yd,ef=Jd,Fi="Radio",[e0,tf]=rt(Fi),[t0,r0]=e0(Fi),rf=u.forwardRef((e,t)=>{const{__scopeRadio:r,name:n,checked:o=!1,required:s,disabled:i,value:a="on",onCheck:l,form:d,...f}=e,[h,v]=u.useState(null),m=ke(t,x=>v(x)),b=u.useRef(!1),p=h?d||!!h.closest("form"):!0;return c.jsxs(t0,{scope:r,checked:o,disabled:i,children:[c.jsx(be.button,{type:"button",role:"radio","aria-checked":o,"data-state":af(o),"data-disabled":i?"":void 0,disabled:i,value:a,...f,ref:m,onClick:ce(e.onClick,x=>{o||l?.(),p&&(b.current=x.isPropagationStopped(),b.current||x.stopPropagation())})}),p&&c.jsx(sf,{control:h,bubbles:!b.current,name:n,value:a,checked:o,required:s,disabled:i,form:d,style:{transform:"translateX(-100%)"}})]})});rf.displayName=Fi;var nf="RadioIndicator",of=u.forwardRef((e,t)=>{const{__scopeRadio:r,forceMount:n,...o}=e,s=r0(nf,r);return c.jsx(Bt,{present:n||s.checked,children:c.jsx(be.span,{"data-state":af(s.checked),"data-disabled":s.disabled?"":void 0,...o,ref:t})})});of.displayName=nf;var n0="RadioBubbleInput",sf=u.forwardRef(({__scopeRadio:e,control:t,checked:r,bubbles:n=!0,...o},s)=>{const i=u.useRef(null),a=ke(i,s),l=mo(r),d=io(t);return u.useEffect(()=>{const f=i.current;if(!f)return;const h=window.HTMLInputElement.prototype,m=Object.getOwnPropertyDescriptor(h,"checked").set;if(l!==r&&m){const b=new Event("click",{bubbles:n});m.call(f,r),f.dispatchEvent(b)}},[l,r,n]),c.jsx(be.input,{type:"radio","aria-hidden":!0,defaultChecked:r,...o,tabIndex:-1,ref:a,style:{...o.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});sf.displayName=n0;function af(e){return e?"checked":"unchecked"}var o0=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],wo="RadioGroup",[s0]=rt(wo,[yo,tf]),lf=yo(),cf=tf(),[i0,a0]=s0(wo),uf=u.forwardRef((e,t)=>{const{__scopeRadioGroup:r,name:n,defaultValue:o,value:s,required:i=!1,disabled:a=!1,orientation:l,dir:d,loop:f=!0,onValueChange:h,...v}=e,m=lf(r),b=xo(d),[p,x]=yt({prop:s,defaultProp:o??null,onChange:h,caller:wo});return c.jsx(i0,{scope:r,name:n,required:i,disabled:a,value:p,onValueChange:x,children:c.jsx(Zd,{asChild:!0,...m,orientation:l,dir:b,loop:f,children:c.jsx(be.div,{role:"radiogroup","aria-required":i,"aria-orientation":l,"data-disabled":a?"":void 0,dir:b,...v,ref:t})})})});uf.displayName=wo;var df="RadioGroupItem",ff=u.forwardRef((e,t)=>{const{__scopeRadioGroup:r,disabled:n,...o}=e,s=a0(df,r),i=s.disabled||n,a=lf(r),l=cf(r),d=u.useRef(null),f=ke(t,d),h=s.value===o.value,v=u.useRef(!1);return u.useEffect(()=>{const m=p=>{o0.includes(p.key)&&(v.current=!0)},b=()=>v.current=!1;return document.addEventListener("keydown",m),document.addEventListener("keyup",b),()=>{document.removeEventListener("keydown",m),document.removeEventListener("keyup",b)}},[]),c.jsx(ef,{asChild:!0,...a,focusable:!i,active:h,children:c.jsx(rf,{disabled:i,required:s.required,checked:h,...l,...o,name:s.name,ref:f,onCheck:()=>s.onValueChange(o.value),onKeyDown:ce(m=>{m.key==="Enter"&&m.preventDefault()}),onFocus:ce(o.onFocus,()=>{v.current&&d.current?.click()})})})});ff.displayName=df;var l0="RadioGroupIndicator",hf=u.forwardRef((e,t)=>{const{__scopeRadioGroup:r,...n}=e,o=cf(r);return c.jsx(of,{...o,...n,ref:t})});hf.displayName=l0;var c0=uf,u0=ff,d0=hf;const $i=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,children:i,...a}=e,l=se(),{sxClassName:d,sxInlineStyle:f}=X(o,l);return c.jsx(u0,{ref:t,className:j("inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full border border-solid border-slate-300 bg-white text-blue-600 transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50","data-[state=checked]:border-blue-600",d,r,n),style:L(s,f),...a,children:i??c.jsx(d0,{className:"inline-flex h-4 w-4 items-center justify-center",children:c.jsx("span",{className:"h-2 w-2 rounded-full bg-current"})})})});$i.displayName="Radio";const Nl={xs:"gap-1",sm:"gap-2",md:"gap-3",lg:"gap-4"};function f0(e){return e===void 0?{className:Nl.md}:e==="xs"||e==="sm"||e==="md"||e==="lg"?{className:Nl[e]}:{style:{gap:typeof e=="number"?`${e}px`:e}}}const mf=u.forwardRef((e,t)=>{const{className:r,class:n,children:o,direction:s="vertical",disabled:i=!1,gap:a="md",options:l,sx:d,style:f,...h}=e,v=se(),{sxClassName:m,sxInlineStyle:b}=X(d,v),p=f0(a);return c.jsxs(c0,{ref:t,disabled:i,className:j("flex",s==="horizontal"?"flex-row flex-wrap":"flex-col",p.className,m,r,n),style:L(f,p.style,b),...h,children:[l?.map(x=>{const y=i||x.disabled;return c.jsxs(go,{className:j("inline-flex items-start gap-2 text-sm leading-5 text-slate-700",y&&"cursor-not-allowed text-slate-400",!y&&"cursor-pointer",x.className),children:[c.jsx($i,{...x.radioProps,value:x.value,disabled:y}),c.jsxs("span",{className:"grid gap-0.5",children:[c.jsx("span",{children:x.label}),x.description?c.jsx("span",{className:"text-xs text-slate-500",children:x.description}):null]})]},x.value)}),o]})});mf.displayName="RadioGroup";const h0={sm:"h-8 w-8",md:"h-9 w-9",lg:"h-10 w-10"},m0={sm:"h-4 w-4",md:"h-[18px] w-[18px]",lg:"h-5 w-5"};function Uo(e,t){return Number.isFinite(e)?Math.max(0,Math.min(t,Math.round(e))):0}function p0(e){return c.jsx("svg",{viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",...e,children:c.jsx("path",{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z",fill:"currentColor"})})}function v0(e){const{fill:t,size:r,active:n,preview:o,disabled:s,tabIndex:i,onClick:a,onFocus:l,onKeyDown:d,onMouseEnter:f,setRef:h,label:v,character:m}=e,b=m??c.jsx(p0,{className:m0[r]});return c.jsx("button",{ref:h,type:"button",role:"radio","aria-checked":n,"aria-label":v,disabled:s,tabIndex:i,onClick:a,onFocus:l,onKeyDown:d,onMouseEnter:f,className:j("group relative inline-flex items-center justify-center rounded-full outline-none transition","focus-visible:ring-2 focus-visible:ring-blue-500/35 focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50",h0[r],o?"scale-[1.03]":"scale-100"),children:c.jsxs("span",{"aria-hidden":"true",className:j("relative inline-flex items-center justify-center transition-colors",o?"text-amber-300":"text-amber-400"),children:[c.jsx("span",{className:"text-slate-300",children:b}),c.jsx("span",{className:"absolute inset-0 overflow-hidden",style:{width:`${t}%`},children:c.jsx("span",{className:"text-current",children:b})})]})})}const pf=u.forwardRef((e,t)=>{const{value:r,defaultValue:n=0,count:o=5,allowClear:s=!0,borderless:i=!1,disabled:a=!1,readOnly:l=!1,name:d,onChange:f,onHoverChange:h,size:v="md",character:m,className:b,class:p,style:x,sx:y,onMouseLeave:g,onKeyDown:w,...P}=e,C=se(),{sxClassName:N,sxInlineStyle:q}=X(y,C),S=r!==void 0,k=Math.max(1,Math.floor(o||1)),[T,E]=u.useState(()=>Uo(n,k)),[R,A]=u.useState(null),_=u.useRef([]),O=Uo(S?r??0:T,k),I=R??O,$=u.useId(),M=u.useCallback(te=>{if(a||l)return;const J=Uo(te,k),H=s&&J===O?0:J;S||E(H),f?.(H)},[s,O,a,S,f,l,k]),U=u.useCallback(()=>{A(null),h?.(null)},[h]),D=u.useCallback(te=>{_.current[te]?.focus()},[]),G=te=>{U(),g?.(te)},me=(te,J)=>{if(w?.(te),te.defaultPrevented||a||l||te.key!=="ArrowRight"&&te.key!=="ArrowUp"&&te.key!=="ArrowLeft"&&te.key!=="ArrowDown"&&te.key!=="Home"&&te.key!=="End")return;if(te.preventDefault(),te.key==="Home"){U(),D(0),M(0);return}if(te.key==="End"){U(),D(k-1),M(k);return}const Y=te.key==="ArrowRight"||te.key==="ArrowUp"?1:-1,B=Math.max(0,Math.min(k-1,J+Y));U(),D(B),M(B+1)};return c.jsxs("div",{...P,ref:t,role:"radiogroup","aria-label":P["aria-label"]??"评分","aria-readonly":l||void 0,"data-disabled":a?"":void 0,"data-borderless":i?"":void 0,"data-readonly":l?"":void 0,"data-size":v,className:j("inline-flex w-fit items-center gap-1 rounded-full px-2 py-1 transition-colors",i?"border-0 bg-transparent shadow-none":"border border-slate-200 bg-white shadow-sm",!i&&!a?"hover:border-slate-300":void 0,N,b,p),style:L(x,q),onMouseLeave:G,children:[d?c.jsx("input",{type:"hidden",name:d,value:String(O)}):null,Array.from({length:k}).map((te,J)=>{const H=J+1,Y=Math.max(0,Math.min(1,I-J))*100,B=O===H,Q=R!==null;return c.jsx(v0,{fill:Y,size:v,active:B,preview:Q&&H<=I,disabled:a||l,tabIndex:O===0?J===0?0:-1:B?0:-1,label:`选择 ${H} 星`,character:m,setRef:z=>{_.current[J]=z},onClick:()=>{U(),M(H)},onFocus:()=>{a||l||U()},onKeyDown:z=>me(z,J),onMouseEnter:()=>{a||l||(A(H),h?.(H))}},`${$}-${H}`)})]})});pf.displayName="Rate";function Yo(e){const t=se();return X(e,t)}function ql(e){const{value:t,defaultValue:r,onChange:n}=e,[o,s]=u.useState(r),i=t!==void 0,a=i?t:o,l=u.useCallback(d=>{i||s(d),n?.(d)},[i,n]);return[a,l]}function wn(e){return Array.isArray(e)?e.filter(t=>t!==""):[]}function g0(e){return Array.isArray(e)?e:[]}function Sr(e,t){return e?.[t]??t}function b0(e,t){const r=Sr(t,"value");return typeof e[r]=="string"?e[r]:e.value}function x0(e,t){const r=Sr(t,"label");return e[r]??e.label??e.value??""}function y0(e,t){const r=Sr(t,"children");return g0(e[r])}function w0(e,t){const r=Sr(t,"disabled");return!!(e[r]??e.disabled)}function P0(e,t){const r=Sr(t,"isLeaf"),n=e[r];return typeof n=="boolean"?n:e.isLeaf}function C0(e,t){const r=Sr(t,"loading");return!!(e[r]??e.loading)}function vf(e,t){const r=b0(e,t);if(typeof r!="string"||r.length===0)return null;const n=y0(e,t),o=P0(e,t),s=typeof o=="boolean"?o:n.length===0;return{option:e,value:r,label:x0(e,t),children:n,disabled:w0(e,t),isLeaf:s,loading:C0(e,t)}}function Us(e,t){const r=[];for(const n of e){const o=vf(n,t);o&&r.push(o)}return r}function Xo(e,t,r){const n=[],o=[];let s=e;for(const i of t){const a=Us(s,r).find(l=>l.value===i);if(!a)break;n.push(a),o.push(a.label),s=a.children}return{matched:n,labels:o,path:n.map(i=>i.value)}}function S0(e,t,r){const n=[];let o=e;n.push(Us(o,r));for(const s of t){const i=Us(o,r).find(a=>a.value===s);if(!i||(o=i.children,o.length===0))break;n.push(o.map(a=>vf(a,r)).filter(a=>!!a))}return n}function Jo(e,t){return t.every((r,n)=>e[n]===r)}function N0(e,t){return c.jsx(c.Fragment,{children:e.map((r,n)=>c.jsxs(u.Fragment,{children:[n>0?c.jsx("span",{className:"mx-1 text-slate-400",children:t}):null,c.jsx("span",{className:"min-w-0 truncate",children:r})]},n))})}function q0(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M4 6L8 10L12 6",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function k0(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M6 4L10 8L6 12",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function E0(e){return c.jsxs("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:[c.jsx("path",{d:"M4.5 4.5L11.5 11.5",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"}),c.jsx("path",{d:"M11.5 4.5L4.5 11.5",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"})]})}function Qo(){return c.jsx("span",{className:"inline-block h-3.5 w-3.5 animate-spin rounded-full border-2 border-slate-300 border-t-blue-600","aria-hidden":"true"})}const gf=u.forwardRef((e,t)=>{const{options:r=[],value:n,defaultValue:o=[],onValueChange:s,onOpenChange:i,open:a,defaultOpen:l=!1,placeholder:d="请选择",separator:f="/",displayRender:h,renderOption:v,fieldNames:m,changeOnSelect:b=!1,expandTrigger:p="click",clearable:x=!1,contentWidth:y="auto",maxPanelHeight:g=336,side:w="bottom",align:P="start",sideOffset:C=8,contentClassName:N,contentClass:q,contentStyle:S,contentSx:k,class:T,sx:E,readOnly:R=!1,required:A,loadData:_,optionClassName:O,optionClass:I,optionStyle:$,optionSx:M,className:U,style:D,disabled:G=!1,name:me,id:te,autoFocus:J,onClick:H,onFocus:Y,onBlur:B,onKeyDown:Q,...z}=e,[K,W]=ql({value:n===void 0?void 0:wn(n),defaultValue:wn(o),onChange:V=>{}}),[Z,ae]=ql({value:a,defaultValue:l,onChange:i}),[ue,pe]=u.useState(()=>wn(o)),[ve,ie]=u.useState(null),ye=u.useRef(null),Se=u.useRef(!0),Ie=u.useRef(Z),{sxClassName:oe,sxInlineStyle:we}=Yo(E),{sxClassName:Ee,sxInlineStyle:de}=Yo(k),{sxClassName:Ae,sxInlineStyle:fe}=Yo(M);u.useEffect(()=>()=>{Se.current=!1},[]),u.useEffect(()=>{Z&&!Ie.current&&pe(K),Ie.current=Z},[Z,K]);const re=u.useMemo(()=>Xo(r,K,m),[m,r,K]),he=re.matched.map(V=>V.option),Re=Z?ue:K,_e=u.useMemo(()=>Xo(r,Re,m),[Re,m,r]),Ye=u.useMemo(()=>S0(r,Re,m),[Re,m,r]),Ve=u.useMemo(()=>{const V=_e.matched[_e.matched.length-1];return!Z||!V?!1:V.children.length===0&&!V.isLeaf},[_e.matched,Z]),nt=u.useMemo(()=>re.labels.length>0?h?h(re.labels,he):N0(re.labels,f):d,[h,d,he,re.labels,f]),Ct=n!==void 0,ot=u.useCallback((V,le)=>{const xe=wn(V),Ce=Xo(r,xe,m);Ct||W(xe),s?.(xe,{...le,path:Ce.path,options:Ce.matched.map(Te=>Te.option),labels:Ce.labels})},[m,Ct,s,r,W]),ht=u.useCallback(V=>{G||R||(Ct||W([]),pe([]),s?.([],{reason:"clear",path:[],options:[],labels:[],event:V}))},[G,Ct,s,R,W]),st=u.useRef(_);u.useEffect(()=>{st.current=_},[_]);const sr=u.useCallback(async(V,le,xe)=>{if(G||R||V.disabled)return;const Ce=V.children.length>0,Te=Ce||!V.isLeaf&&!!st.current,He=le.join("");if(Te&&!Ce&&st.current){ie(He);try{await st.current([V.option],{option:V.option,path:le,options:r})}finally{Se.current&&ie(Je=>Je===He?null:Je)}}if(b||!Te){ot(le,{reason:"select",option:V.option,event:xe}),ae(!1);return}pe(le),ae(!0)},[b,ot,G,r,R,ae]),mt=u.useCallback(V=>{G||(pe(V),ae(!0))},[G,ae]);u.useImperativeHandle(t,()=>({focus:()=>ye.current?.focus(),blur:()=>ye.current?.blur(),open:()=>mt(K),close:()=>ae(!1),clear:()=>ht(),getValue:()=>K.slice()}),[ht,mt,K,ae]);const F=ve!==null;return c.jsxs("div",{className:"relative inline-flex w-full items-stretch",children:[c.jsxs(ud,{open:Z,onOpenChange:ae,children:[c.jsx(Ii,{asChild:!0,children:c.jsxs("button",{ref:ye,id:te,type:"button",className:j("flex h-9 w-full min-w-0 items-center gap-2 rounded-md border border-solid border-slate-300 bg-white px-3 text-left text-sm text-slate-900 shadow-sm transition-colors","focus-visible:border-blue-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30","disabled:cursor-not-allowed disabled:bg-slate-50 disabled:text-slate-500 disabled:opacity-70",R&&"cursor-default",x&&K.length>0&&!G&&!R?"pr-16":"pr-9",oe,U,T),style:L(D,we),autoFocus:J,disabled:G,"aria-haspopup":"dialog","aria-expanded":Z,"aria-disabled":G||void 0,"aria-readonly":R||void 0,onClick:V=>{H?.(V)},onFocus:Y,onBlur:B,onKeyDown:V=>{Q?.(V),!G&&((V.key==="ArrowDown"||V.key==="Enter")&&(V.preventDefault(),ae(!0)),V.key==="Escape"&&(V.preventDefault(),ae(!1)))},...z,children:[c.jsx("span",{className:j("min-w-0 flex-1 truncate",re.labels.length===0&&"text-slate-400"),children:nt}),c.jsx(q0,{className:"absolute right-3 h-4 w-4 text-slate-500"})]})}),x&&K.length>0&&!G&&!R?c.jsx("button",{type:"button",className:"absolute right-8 top-1/2 z-10 -translate-y-1/2 rounded p-1 text-slate-400 transition-colors hover:text-slate-600 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30","aria-label":"清除选择",onMouseDown:V=>V.preventDefault(),onClick:V=>{V.preventDefault(),V.stopPropagation(),ht(V)},children:c.jsx(E0,{className:"h-3.5 w-3.5"})}):null,c.jsx(Oi,{side:w,align:P,sideOffset:C,width:y,className:j("overflow-hidden p-0",Ee,N,q),style:L(S,de),role:"dialog","aria-label":"级联选择",children:c.jsxs("div",{className:"flex min-w-[320px] overflow-hidden bg-white",style:{maxHeight:typeof g=="number"?`${g}px`:g},children:[Ye.map((V,le)=>{const xe=Re.slice(0,le);return V.length===0?c.jsx("div",{className:"flex min-w-44 items-center justify-center border-r border-slate-200 px-4 py-6 text-sm text-slate-400 last:border-r-0",children:F&&le===Ye.length-1?c.jsxs("span",{className:"inline-flex items-center gap-2",children:[c.jsx(Qo,{}),"加载中"]}):"暂无可选项"},`empty-${le}`):c.jsx("div",{className:j("min-w-48 border-r border-slate-200 last:border-r-0",le>0&&"bg-slate-50/40"),children:c.jsx("div",{className:"max-h-full overflow-y-auto p-1",children:V.map(Ce=>{const Te=[...xe,Ce.value],He=K.length===Te.length&&Jo(K,Te),Je=Jo(Re,Te)||Jo(Te,Re),St=ve===Te.join("")||Ce.loading,Nt=Ce.children.length>0||!Ce.isLeaf&&!!st.current&&!St,gm={active:Je,checked:He,disabled:Ce.disabled,hasChildren:Nt,isLeaf:Ce.isLeaf,level:le,loading:St,path:Te,selected:He};return c.jsxs("button",{type:"button",className:j("flex min-h-10 w-full items-center gap-2 rounded-md px-3 py-2 text-left text-sm text-slate-700 transition-colors","hover:bg-blue-50 hover:text-blue-700 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30",He&&"bg-blue-50 text-blue-700",Je&&!He&&"bg-slate-100 text-slate-900",Ce.disabled&&"cursor-not-allowed text-slate-400 opacity-70 hover:bg-transparent hover:text-slate-400",Ae,O,I),style:L($,fe),disabled:G||R||Ce.disabled,onMouseEnter:()=>{p==="hover"&&!Ce.disabled&&Nt&&(pe(Te),ae(!0))},onClick:Na=>{Na.preventDefault(),sr(Ce,Te,Na)},children:[c.jsx("span",{className:"min-w-0 flex-1 truncate",children:v?v(Ce.option,gm):Ce.label}),St?c.jsx(Qo,{}):Nt?c.jsx(k0,{className:"h-4 w-4 shrink-0 text-slate-400"}):null]},Te.join(""))})})},`column-${le}`)}),Ve?c.jsx("div",{className:"flex min-w-44 items-center justify-center border-l border-slate-200 px-4 py-6 text-sm text-slate-400",children:F?c.jsxs("span",{className:"inline-flex items-center gap-2",children:[c.jsx(Qo,{}),"加载中"]}):"请继续选择"}):null]})})]}),me?c.jsx("input",{type:"hidden",name:me,required:A,value:K.length>0?JSON.stringify(K):""}):null]})});gf.displayName="Cascader";function R0(e){return Array.isArray(e)?Number(e[0]??0):Number(e??0)}function kl(e,t){const r=Number(e);return Number.isFinite(r)?r:t}function El(e,t){return e===void 0?t:typeof e=="number"?`${e}px`:e}const j0={solid:{"--ldkj-slider-fill":"rgb(37 99 235)","--ldkj-slider-fill-end":"rgb(37 99 235)","--ldkj-slider-focus-ring":"rgb(37 99 235 / 0.2)","--ldkj-slider-thumb":"rgb(37 99 235)","--ldkj-slider-thumb-ring":"rgb(37 99 235 / 0.18)","--ldkj-slider-track":"rgb(226 232 240)","--ldkj-slider-track-shadow":"inset 0 1px 2px rgba(15,23,42,0.1)","--ldkj-slider-thumb-shadow":"0 0 0 3px var(--ldkj-slider-thumb-ring), 0 4px 12px -2px rgba(0,0,0,0.12)","--ldkj-slider-thumb-shadow-hover":"0 0 0 5px var(--ldkj-slider-thumb-ring), 0 6px 20px -4px rgba(0,0,0,0.16)"},gradient:{"--ldkj-slider-fill":"rgb(6 182 212)","--ldkj-slider-fill-end":"rgb(37 99 235)","--ldkj-slider-focus-ring":"rgb(14 165 233 / 0.22)","--ldkj-slider-thumb":"linear-gradient(145deg, rgb(34 211 238) 0%, rgb(37 99 235) 72%, rgb(30 64 175) 100%)","--ldkj-slider-thumb-ring":"rgb(14 165 233 / 0.16)","--ldkj-slider-track":"rgb(226 232 240)","--ldkj-slider-track-shadow":"inset 0 1px 2px rgba(15,23,42,0.16)","--ldkj-slider-thumb-shadow":"0 0 0 5px var(--ldkj-slider-thumb-ring), 0 10px 24px -10px rgba(14,116,144,0.9)","--ldkj-slider-thumb-shadow-hover":"0 0 0 7px var(--ldkj-slider-thumb-ring), 0 14px 28px -12px rgba(14,116,144,0.95)"}};function bf(e){const{className:t,class:r,defaultValue:n,max:o,min:s,style:i,sx:a,thumbSize:l,trackSize:d,value:f,variant:h="solid",onValueChange:v,...m}=e,b=se(),{sxClassName:p,sxInlineStyle:x}=X(a,b),y=f!==void 0,[g,w]=u.useState(()=>R0(n)),P=y?f:g,C=kl(s,0),N=kl(o,100),q=Number.isFinite(P)?P:C,S=N>C?(q-C)/(N-C)*100:0,k=Math.max(0,Math.min(100,S)),T=E=>{const R=Number(E.currentTarget.value);y||w(R),v?.(R)};return c.jsx("input",{...m,type:"range",...y?{value:f}:{defaultValue:n},min:s,max:o,onChange:T,className:j("h-[var(--ldkj-slider-track-size)] w-full cursor-pointer appearance-none rounded-full border border-white/70 bg-transparent align-middle","accent-[var(--ldkj-slider-fill-end)] shadow-[var(--ldkj-slider-track-shadow),0_1px_0_rgba(255,255,255,0.88)]","transition-[filter,opacity,box-shadow] duration-200 ease-out hover:brightness-105","focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-[var(--ldkj-slider-focus-ring)] focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-55 disabled:grayscale","[&::-webkit-slider-thumb]:h-[var(--ldkj-slider-thumb-size)] [&::-webkit-slider-thumb]:w-[var(--ldkj-slider-thumb-size)] [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:border-[3px] [&::-webkit-slider-thumb]:border-white [&::-webkit-slider-thumb]:[background:var(--ldkj-slider-thumb)] [&::-webkit-slider-thumb]:shadow-[var(--ldkj-slider-thumb-shadow),inset_0_1px_0_rgba(255,255,255,0.55)] [&::-webkit-slider-thumb]:transition-[transform,box-shadow,filter] [&::-webkit-slider-thumb]:duration-200 [&::-webkit-slider-thumb]:ease-out","hover:[&::-webkit-slider-thumb]:scale-110 hover:[&::-webkit-slider-thumb]:shadow-[var(--ldkj-slider-thumb-shadow-hover),inset_0_1px_0_rgba(255,255,255,0.65)] active:[&::-webkit-slider-thumb]:scale-95","[&::-moz-range-thumb]:h-[var(--ldkj-slider-thumb-size)] [&::-moz-range-thumb]:w-[var(--ldkj-slider-thumb-size)] [&::-moz-range-thumb]:appearance-none [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:border-[3px] [&::-moz-range-thumb]:border-white [&::-moz-range-thumb]:[background:var(--ldkj-slider-thumb)] [&::-moz-range-thumb]:shadow-[var(--ldkj-slider-thumb-shadow),inset_0_1px_0_rgba(255,255,255,0.55)] [&::-moz-range-thumb]:transition-[transform,box-shadow,filter] [&::-moz-range-thumb]:duration-200 [&::-moz-range-thumb]:ease-out","hover:[&::-moz-range-thumb]:scale-110 hover:[&::-moz-range-thumb]:shadow-[var(--ldkj-slider-thumb-shadow-hover),inset_0_1px_0_rgba(255,255,255,0.65)] active:[&::-moz-range-thumb]:scale-95","[&::-moz-range-track]:h-[var(--ldkj-slider-track-size)] [&::-moz-range-track]:rounded-full [&::-moz-range-track]:bg-transparent",p,t,r),style:L({...j0[h],"--ldkj-slider-thumb-size":El(l,"1.05rem"),"--ldkj-slider-track-size":El(d,"0.4rem"),"--ldkj-slider-percent":`${k}%`,background:"linear-gradient(90deg, var(--ldkj-slider-fill) 0%, var(--ldkj-slider-fill-end) var(--ldkj-slider-percent), transparent var(--ldkj-slider-percent), transparent 100%), linear-gradient(180deg, rgba(255,255,255,0.86), rgba(148,163,184,0.22)), var(--ldkj-slider-track)"},i,x)})}bf.displayName="Slider";function T0({children:e}){return c.jsx("span",{className:"text-rose-500",children:e??"*"})}const Po=u.createContext(null);function Wr(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function We(e){return Array.isArray(e)?e.map(t=>We(t)):Wr(e)?Object.fromEntries(Object.entries(e).map(([t,r])=>[t,We(r)])):e}function on(e){return typeof e=="string"||typeof e=="number"?[e]:Array.from(e)}function Qe(e){return JSON.stringify(on(e))}function A0(e){return on(e).join(".")}function Gt(e,t){let r=e;for(const n of on(t)){if(r==null)return;r=r[n]}return r}function Or(e,t,r){const n=on(t);if(n.length===0)return e;const o=(s,i)=>{const a=n[i],l=i===n.length-1,d=Array.isArray(s)?[...s]:Wr(s)?{...s}:typeof a=="number"?[]:{};return d[a]=l?r:o(d[a],i+1),d};return o(e,0)}function _0(e,t){const r=on(t);if(r.length===0)return e;const n=(o,s)=>{if(!Array.isArray(o)&&!Wr(o))return o;const i=r[s],a=Array.isArray(o)?[...o]:{...o};return s===r.length-1?(delete a[i],a):(a[i]=n(a[i],s+1),a)};return n(e,0)}function I0(e,t){return Or({},e,t)}function O0(e,t){const r=(n,o)=>{if(Wr(n)&&Wr(o)){const s={...n};for(const[i,a]of Object.entries(o))s[i]=r(s[i],a);return s}return We(o)};return r(e,t)}function Rl(){return{errors:[],touched:!1,validating:!1}}function M0(e){return e==null||e===""||Array.isArray(e)&&e.length===0}function L0(e){return e===void 0?[]:Array.isArray(e)?e:[e]}function D0(e,t,r){if(!e)return!0;const n=L0(t??r);return n.length===0||n.includes(e)}function B0(e,t){return u.isValidElement(e)?e:typeof e=="string"||typeof e=="number"?String(e):e instanceof Error?e.message:t}function F0(e){let t=We({}),r=We(t),n={},o=0;const s=new Set,i=new Map,a=new Map,l=()=>{for(const g of s)g()},d=g=>a.get(Qe(g))??Rl(),f=(g,w)=>{const P=Qe(g);a.set(P,{...d(g),...w})},h=()=>Array.from(i.values()).map(g=>({name:g.name,value:Gt(t,g.name),...d(g.name)})),v=g=>{n.onFieldsChange?.(g,h())},m=async(g,w)=>{const P=g.rules.filter(N=>D0(w.trigger,N.validateTrigger,g.validateTrigger));if(P.length===0)return[];w.validateOnly||(f(g.name,{validating:!0}),l());const C=[];for(const N of P){const q=Gt(t,g.name),S=N.transform?N.transform(q):q,k=N.message??"该字段为必填项";if(N.required&&M0(S)){if(C.push(k),g.validateFirst)break;continue}if(N.validator){try{const T=await N.validator(S,We(t),y);T===!1?C.push(k):T!==void 0&&T!==!0&&C.push(T)}catch(T){C.push(B0(T,k))}if(g.validateFirst&&C.length>0)break}}return!w.validateOnly&&w.id===o&&(f(g.name,{errors:C,validating:!1}),v([{name:g.name,value:Gt(t,g.name),...d(g.name),errors:C,validating:!1}]),l()),C},b=async(g,w={})=>{const P=++o,C=g?.map(Qe),N=Array.from(i.values()).filter(k=>C?C.includes(Qe(k.name)):!0),S=(await Promise.all(N.map(async k=>({field:k,errors:await m(k,{id:P,trigger:w.trigger,validateOnly:w.validateOnly})})))).filter(k=>k.errors.length>0).map(k=>({errors:k.errors,name:k.field.name}));if(S.length>0)throw{errorFields:S,outOfDate:P!==o,values:We(t)};return We(t)},p=(g,w)=>{const P=Qe(g);for(const C of i.values())(Qe(C.name)===P||C.dependencies.some(q=>Qe(q)===P))&&b([C.name],{trigger:w}).catch(()=>{})},x=(g,w,P={})=>{t=Or(t,g,w),P.touched&&f(g,{touched:!0});const C={name:g,value:w,...d(g)};P.source!=="external"&&(n.onValuesChange?.(I0(g,w),We(t)),v([C])),l(),P.trigger&&p(g,P.trigger)},y={getFieldValue:g=>Gt(t,g),getFieldsValue:g=>g?g.reduce((w,P)=>Or(w,P,Gt(t,P)),{}):We(t),getFieldError:g=>d(g).errors,getFieldsError:g=>(g??Array.from(i.values()).map(P=>P.name)).map(P=>({errors:d(P).errors,name:P})),getFieldMeta:g=>d(g),isFieldTouched:g=>d(g).touched,isFieldsTouched:g=>(g??Array.from(i.values()).map(P=>P.name)).some(P=>d(P).touched),setFieldValue:(g,w)=>x(g,w,{source:"external"}),setFieldsValue:g=>{t=O0(t,g),l()},setFields:g=>{for(const w of g)"value"in w&&(t=Or(t,w.name,w.value)),f(w.name,{errors:w.errors??d(w.name).errors,touched:w.touched??d(w.name).touched,validating:w.validating??d(w.name).validating});v(g),l()},resetFields:g=>{const w=g??Array.from(i.values()).map(P=>P.name);if(!g)t=We(r),a.clear();else for(const P of w)t=Or(t,P,Gt(r,P)),a.delete(Qe(P));v(w.map(P=>({name:P,value:Gt(t,P),...d(P)}))),l()},validateFields:g=>b(g),submit:async()=>{try{const g=await b(void 0);n.onFinish?.(g)}catch(g){n.onFinishFailed?.(g)}},subscribe:g=>(s.add(g),()=>s.delete(g)),__INTERNAL__:{getStoreSnapshot:()=>t,getMetaSnapshot:g=>d(g),setCallbacks:g=>{n=g},setInitialValues:(g,w)=>{r=We(g??{}),w&&(t=We(r))},registerField:g=>{const w=Qe(g.name);return i.set(w,g),a.has(w)||a.set(w,Rl()),P=>{i.delete(w),P?.preserve===!1&&(t=_0(t,g.name),a.delete(w),l())}},setFieldValue:x,validateFields:b}};return y}function Vi(e){const t=u.useRef(null);return t.current||(t.current=e??F0()),[e??t.current]}function zi(){const e=u.useContext(Po);if(!e)throw new Error("Form hooks must be used inside a Form or receive a form instance.");return e}function Co(e,t){const r=u.useContext(Po),n=t??r;if(!n)throw new Error("useFormValue must be used inside a Form or receive a form instance.");return u.useSyncExternalStore(n.subscribe,()=>e===void 0?n.__INTERNAL__.getStoreSnapshot():n.getFieldValue(e),()=>e===void 0?n.__INTERNAL__.getStoreSnapshot():n.getFieldValue(e))}function xf(e,t){return Co(e,t)}function $0(e,t){const r=u.useContext(Po),n=t??r;if(!n)throw new Error("useFormFieldMeta must be used inside a Form or receive a form instance.");return u.useSyncExternalStore(n.subscribe,()=>n.__INTERNAL__.getMetaSnapshot(e),()=>n.__INTERNAL__.getMetaSnapshot(e))}const Br={emptyValue:"",trigger:"onChange",valuePropName:"value"},jl={AutoComplete:{emptyValue:"",trigger:"onValueChange",valuePropName:"value"},Cascader:{emptyValue:[],trigger:"onValueChange",valuePropName:"value"},Checkbox:{emptyValue:!1,trigger:"onCheckedChange",valuePropName:"checked"},CheckboxGroup:{emptyValue:[],trigger:"onChange",valuePropName:"value"},Input:Br,InputNumber:Br,InputOPT:Br,RadioGroup:{trigger:"onValueChange",valuePropName:"value"},Rate:{emptyValue:0,trigger:"onChange",valuePropName:"value"},Select:{trigger:"onValueChange",valuePropName:"value"},Slider:{emptyValue:0,trigger:"onValueChange",valuePropName:"value"},Switch:{emptyValue:!1,trigger:"onCheckedChange",valuePropName:"checked"},Uploader:{emptyValue:null,skipValueProp:!0,trigger:"onChange",valuePropName:"value"}};function V0(e){const t=e.type;return t.displayName??t.name??t.render?.displayName??t.render?.name}function z0(e){if(!e)return Br;const t=V0(e);return t&&jl[t]?jl[t]:Br}function H0(e,t){const[r]=t;if(r&&typeof r=="object"&&"target"in r&&r.target){const n=r.target;return e==="checked"?n.checked:n.value}return r}function W0(e){return e===void 0?[]:Array.isArray(e)?[...e]:[e]}function G0(e,t,r){return e!==void 0?e:r==="checked"?!1:t.emptyValue}function Tl(e,t){return(...r)=>{e?.(...r),t(...r)}}function K0(e){const{className:t,class:r,form:n,initialValues:o,nativeSubmit:s=!1,onFieldsChange:i,onFinish:a,onFinishFailed:l,onReset:d,onSubmit:f,onValuesChange:h,style:v,sx:m,...b}=e,[p]=Vi(n),x=se(),{sxClassName:y,sxInlineStyle:g}=X(m,x),w=u.useRef(!1),P=!s&&(n!==void 0||a!==void 0||l!==void 0||h!==void 0||i!==void 0);p.__INTERNAL__.setCallbacks({onFieldsChange:i,onFinish:a,onFinishFailed:l,onValuesChange:h}),p.__INTERNAL__.setInitialValues(o,!w.current),w.current=!0;const C=q=>{f?.(q),!(q.defaultPrevented||!P)&&(q.preventDefault(),p.submit())},N=q=>{d?.(q),!(q.defaultPrevented||!P)&&p.resetFields()};return c.jsx(Po.Provider,{value:p,children:c.jsx("form",{className:j("space-y-4",y,t,r),style:L(v,g),onReset:N,onSubmit:C,...b})})}function Hi(e){const{children:t,className:r,class:n,controlClassName:o,controlStyle:s,dependencies:i=[],extra:a,getValueFromEvent:l,getValueProps:d,help:f,initialValue:h,label:v,labelClassName:m,labelStyle:b,name:p,noStyle:x=!1,preserve:y=!0,required:g,rules:w=[],sx:P,style:C,trigger:N,validateFirst:q=!1,validateStatus:S,validateTrigger:k="onChange",valuePropName:T,...E}=e,R=zi(),A=se(),{sxClassName:_,sxInlineStyle:O}=X(P,A),I=Co(void 0,R),$=p===void 0?void 0:Qe(p),M=p===void 0?void 0:R.getFieldValue(p),U=$0(p??"__FORM_ITEM__",R),D=u.isValidElement(t)&&typeof t.type!="string"?t:null,G=z0(D),me=T??G.valuePropName,te=N??G.trigger,J=w.some(ue=>ue.required),H=u.useMemo(()=>g&&!J?[{required:!0},...w]:w,[J,g,w]),Y=u.useMemo(()=>JSON.stringify(i.map(Qe)),[i]),B=u.useRef(H);B.current=H,u.useEffect(()=>{if(p===void 0)return;h!==void 0&&R.getFieldValue(p)===void 0&&R.__INTERNAL__.setFieldValue(p,h,{source:"external"});const ue=R.__INTERNAL__.registerField({dependencies:i,name:p,rules:B.current,validateFirst:q,validateTrigger:k});return()=>ue({preserve:y})},[Y,R,h,p,$,y,q,k]);const Q={form:R,meta:U,value:M,values:I},z=()=>{if(typeof t=="function")return t(Q);if(!D||p===void 0)return t;const ue=D.props,pe=d?d(M):G.skipValueProp?{}:{[me]:G0(M,G,me)};ue.name===void 0&&(pe.name=A0(p)),pe[te]=Tl(ue[te],(...ve)=>{const ie=l?l(...ve):H0(me,ve);R.__INTERNAL__.setFieldValue(p,ie,{source:"internal",touched:!0,trigger:te})});for(const ve of W0(k))ve!==te&&(pe[ve]=Tl(pe[ve]??ue[ve],()=>{R.__INTERNAL__.validateFields([p],{trigger:ve}).catch(()=>{})}));return u.cloneElement(D,pe)},K=U.errors,W=f??K[0],Z=S??(U.validating?"validating":K.length>0?"error":void 0),ae=c.jsxs(c.Fragment,{children:[v!==void 0?c.jsxs("div",{className:j("text-sm font-medium leading-5 text-slate-700",m),style:b,children:[v,g||J?c.jsx("span",{className:"ml-1 text-red-500","aria-hidden":"true",children:"*"}):null]}):null,c.jsx("div",{className:o,style:s,children:z()}),W!==void 0?c.jsx("div",{className:j("text-xs leading-5",Z==="error"?"text-red-600":"text-slate-500"),"aria-live":Z==="error"?"polite":void 0,role:Z==="error"?"alert":void 0,children:W}):null,a!==void 0?c.jsx("div",{className:"text-xs leading-5 text-slate-500",children:a}):null]});return x?ae:c.jsx("div",{className:j("space-y-2",Z==="error"&&"[&_input]:border-red-500",_,r,n),style:L(C,O),...E,children:ae})}Hi.displayName="FormItem";const yf=Object.assign(K0,{Item:Hi,useForm:Vi,useFormInstance:zi,useFormValue:Co,useFormWatch:xf});yf.displayName="Form";function U0(e){const{accept:t,multiple:r=!1,name:n,disabled:o=!1,onChange:s}=e,i=u.useRef(null);return c.jsxs("div",{className:"inline-flex items-center gap-3",children:[c.jsx("input",{ref:i,hidden:!0,type:"file",accept:t,multiple:r,name:n,disabled:o,onChange:a=>s?.(a.target.files)}),c.jsx(Jr,{type:"button",disabled:o,onClick:()=>i.current?.click(),children:"选择文件"})]})}function Al(e,[t,r]){return Math.min(r,Math.max(t,e))}var Y0=[" ","Enter","ArrowUp","ArrowDown"],X0=[" ","Enter"],Jt="Select",[So,No,J0]=Kd(Jt),[Nr]=rt(Jt,[J0,Cr]),qo=Cr(),[Q0,$t]=Nr(Jt),[Z0,ew]=Nr(Jt),wf=e=>{const{__scopeSelect:t,children:r,open:n,defaultOpen:o,onOpenChange:s,value:i,defaultValue:a,onValueChange:l,dir:d,name:f,autoComplete:h,disabled:v,required:m,form:b}=e,p=qo(t),[x,y]=u.useState(null),[g,w]=u.useState(null),[P,C]=u.useState(!1),N=xo(d),[q,S]=yt({prop:n,defaultProp:o??!1,onChange:s,caller:Jt}),[k,T]=yt({prop:i,defaultProp:a,onChange:l,caller:Jt}),E=u.useRef(null),R=x?b||!!x.closest("form"):!0,[A,_]=u.useState(new Set),O=Array.from(A).map(I=>I.props.value).join(";");return c.jsx(Ri,{...p,children:c.jsxs(Q0,{required:m,scope:t,trigger:x,onTriggerChange:y,valueNode:g,onValueNodeChange:w,valueNodeHasChildren:P,onValueNodeHasChildrenChange:C,contentId:tr(),value:k,onValueChange:T,open:q,onOpenChange:S,dir:N,triggerPointerDownPosRef:E,disabled:v,children:[c.jsx(So.Provider,{scope:t,children:c.jsx(Z0,{scope:e.__scopeSelect,onNativeOptionAdd:u.useCallback(I=>{_($=>new Set($).add(I))},[]),onNativeOptionRemove:u.useCallback(I=>{_($=>{const M=new Set($);return M.delete(I),M})},[]),children:r})}),R?c.jsxs(Gf,{"aria-hidden":!0,required:m,tabIndex:-1,name:f,autoComplete:h,value:k,onChange:I=>T(I.target.value),disabled:v,form:b,children:[k===void 0?c.jsx("option",{value:""}):null,Array.from(A)]},O):null]})})};wf.displayName=Jt;var Pf="SelectTrigger",Cf=u.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...o}=e,s=qo(r),i=$t(Pf,r),a=i.disabled||n,l=ke(t,i.onTriggerChange),d=No(r),f=u.useRef("touch"),[h,v,m]=Uf(p=>{const x=d().filter(w=>!w.disabled),y=x.find(w=>w.value===i.value),g=Yf(x,p,y);g!==void 0&&i.onValueChange(g.value)}),b=p=>{a||(i.onOpenChange(!0),m()),p&&(i.triggerPointerDownPosRef.current={x:Math.round(p.pageX),y:Math.round(p.pageY)})};return c.jsx(ao,{asChild:!0,...s,children:c.jsx(be.button,{type:"button",role:"combobox","aria-controls":i.contentId,"aria-expanded":i.open,"aria-required":i.required,"aria-autocomplete":"none",dir:i.dir,"data-state":i.open?"open":"closed",disabled:a,"data-disabled":a?"":void 0,"data-placeholder":Kf(i.value)?"":void 0,...o,ref:l,onClick:ce(o.onClick,p=>{p.currentTarget.focus(),f.current!=="mouse"&&b(p)}),onPointerDown:ce(o.onPointerDown,p=>{f.current=p.pointerType;const x=p.target;x.hasPointerCapture(p.pointerId)&&x.releasePointerCapture(p.pointerId),p.button===0&&p.ctrlKey===!1&&p.pointerType==="mouse"&&(b(p),p.preventDefault())}),onKeyDown:ce(o.onKeyDown,p=>{const x=h.current!=="";!(p.ctrlKey||p.altKey||p.metaKey)&&p.key.length===1&&v(p.key),!(x&&p.key===" ")&&Y0.includes(p.key)&&(b(),p.preventDefault())})})})});Cf.displayName=Pf;var Sf="SelectValue",Nf=u.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,children:s,placeholder:i="",...a}=e,l=$t(Sf,r),{onValueNodeHasChildrenChange:d}=l,f=s!==void 0,h=ke(t,l.onValueNodeChange);return De(()=>{d(f)},[d,f]),c.jsx(be.span,{...a,ref:h,style:{pointerEvents:"none"},children:Kf(l.value)?c.jsx(c.Fragment,{children:i}):s})});Nf.displayName=Sf;var tw="SelectIcon",qf=u.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...o}=e;return c.jsx(be.span,{"aria-hidden":!0,...o,ref:t,children:n||"▼"})});qf.displayName=tw;var rw="SelectPortal",kf=e=>c.jsx(lo,{asChild:!0,...e});kf.displayName=rw;var Qt="SelectContent",Ef=u.forwardRef((e,t)=>{const r=$t(Qt,e.__scopeSelect),[n,o]=u.useState();if(De(()=>{o(new DocumentFragment)},[]),!r.open){const s=n;return s?Ur.createPortal(c.jsx(Rf,{scope:e.__scopeSelect,children:c.jsx(So.Slot,{scope:e.__scopeSelect,children:c.jsx("div",{children:e.children})})}),s):null}return c.jsx(jf,{...e,ref:t})});Ef.displayName=Qt;var Ze=10,[Rf,Vt]=Nr(Qt),nw="SelectContentImpl",ow=Vr("SelectContent.RemoveScroll"),jf=u.forwardRef((e,t)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:s,onPointerDownOutside:i,side:a,sideOffset:l,align:d,alignOffset:f,arrowPadding:h,collisionBoundary:v,collisionPadding:m,sticky:b,hideWhenDetached:p,avoidCollisions:x,...y}=e,g=$t(Qt,r),[w,P]=u.useState(null),[C,N]=u.useState(null),q=ke(t,B=>P(B)),[S,k]=u.useState(null),[T,E]=u.useState(null),R=No(r),[A,_]=u.useState(!1),O=u.useRef(!1);u.useEffect(()=>{if(w)return zu(w)},[w]),xu();const I=u.useCallback(B=>{const[Q,...z]=R().map(Z=>Z.ref.current),[K]=z.slice(-1),W=document.activeElement;for(const Z of B)if(Z===W||(Z?.scrollIntoView({block:"nearest"}),Z===Q&&C&&(C.scrollTop=0),Z===K&&C&&(C.scrollTop=C.scrollHeight),Z?.focus(),document.activeElement!==W))return},[R,C]),$=u.useCallback(()=>I([S,w]),[I,S,w]);u.useEffect(()=>{A&&$()},[A,$]);const{onOpenChange:M,triggerPointerDownPosRef:U}=g;u.useEffect(()=>{if(w){let B={x:0,y:0};const Q=K=>{B={x:Math.abs(Math.round(K.pageX)-(U.current?.x??0)),y:Math.abs(Math.round(K.pageY)-(U.current?.y??0))}},z=K=>{B.x<=10&&B.y<=10?K.preventDefault():w.contains(K.target)||M(!1),document.removeEventListener("pointermove",Q),U.current=null};return U.current!==null&&(document.addEventListener("pointermove",Q),document.addEventListener("pointerup",z,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Q),document.removeEventListener("pointerup",z,{capture:!0})}}},[w,M,U]),u.useEffect(()=>{const B=()=>M(!1);return window.addEventListener("blur",B),window.addEventListener("resize",B),()=>{window.removeEventListener("blur",B),window.removeEventListener("resize",B)}},[M]);const[D,G]=Uf(B=>{const Q=R().filter(W=>!W.disabled),z=Q.find(W=>W.ref.current===document.activeElement),K=Yf(Q,B,z);K&&setTimeout(()=>K.ref.current.focus())}),me=u.useCallback((B,Q,z)=>{const K=!O.current&&!z;(g.value!==void 0&&g.value===Q||K)&&(k(B),K&&(O.current=!0))},[g.value]),te=u.useCallback(()=>w?.focus(),[w]),J=u.useCallback((B,Q,z)=>{const K=!O.current&&!z;(g.value!==void 0&&g.value===Q||K)&&E(B)},[g.value]),H=n==="popper"?Ys:Tf,Y=H===Ys?{side:a,sideOffset:l,align:d,alignOffset:f,arrowPadding:h,collisionBoundary:v,collisionPadding:m,sticky:b,hideWhenDetached:p,avoidCollisions:x}:{};return c.jsx(Rf,{scope:r,content:w,viewport:C,onViewportChange:N,itemRefCallback:me,selectedItem:S,onItemLeave:te,itemTextRefCallback:J,focusSelectedItem:$,selectedItemText:T,position:n,isPositioned:A,searchRef:D,children:c.jsx(Ai,{as:ow,allowPinchZoom:!0,children:c.jsx(yi,{asChild:!0,trapped:g.open,onMountAutoFocus:B=>{B.preventDefault()},onUnmountAutoFocus:ce(o,B=>{g.trigger?.focus({preventScroll:!0}),B.preventDefault()}),children:c.jsx(to,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:B=>B.preventDefault(),onDismiss:()=>g.onOpenChange(!1),children:c.jsx(H,{role:"listbox",id:g.contentId,"data-state":g.open?"open":"closed",dir:g.dir,onContextMenu:B=>B.preventDefault(),...y,...Y,onPlaced:()=>_(!0),ref:q,style:{display:"flex",flexDirection:"column",outline:"none",...y.style},onKeyDown:ce(y.onKeyDown,B=>{const Q=B.ctrlKey||B.altKey||B.metaKey;if(B.key==="Tab"&&B.preventDefault(),!Q&&B.key.length===1&&G(B.key),["ArrowUp","ArrowDown","Home","End"].includes(B.key)){let K=R().filter(W=>!W.disabled).map(W=>W.ref.current);if(["ArrowUp","End"].includes(B.key)&&(K=K.slice().reverse()),["ArrowUp","ArrowDown"].includes(B.key)){const W=B.target,Z=K.indexOf(W);K=K.slice(Z+1)}setTimeout(()=>I(K)),B.preventDefault()}})})})})})})});jf.displayName=nw;var sw="SelectItemAlignedPosition",Tf=u.forwardRef((e,t)=>{const{__scopeSelect:r,onPlaced:n,...o}=e,s=$t(Qt,r),i=Vt(Qt,r),[a,l]=u.useState(null),[d,f]=u.useState(null),h=ke(t,q=>f(q)),v=No(r),m=u.useRef(!1),b=u.useRef(!0),{viewport:p,selectedItem:x,selectedItemText:y,focusSelectedItem:g}=i,w=u.useCallback(()=>{if(s.trigger&&s.valueNode&&a&&d&&p&&x&&y){const q=s.trigger.getBoundingClientRect(),S=d.getBoundingClientRect(),k=s.valueNode.getBoundingClientRect(),T=y.getBoundingClientRect();if(s.dir!=="rtl"){const W=T.left-S.left,Z=k.left-W,ae=q.left-Z,ue=q.width+ae,pe=Math.max(ue,S.width),ve=window.innerWidth-Ze,ie=Al(Z,[Ze,Math.max(Ze,ve-pe)]);a.style.minWidth=ue+"px",a.style.left=ie+"px"}else{const W=S.right-T.right,Z=window.innerWidth-k.right-W,ae=window.innerWidth-q.right-Z,ue=q.width+ae,pe=Math.max(ue,S.width),ve=window.innerWidth-Ze,ie=Al(Z,[Ze,Math.max(Ze,ve-pe)]);a.style.minWidth=ue+"px",a.style.right=ie+"px"}const E=v(),R=window.innerHeight-Ze*2,A=p.scrollHeight,_=window.getComputedStyle(d),O=parseInt(_.borderTopWidth,10),I=parseInt(_.paddingTop,10),$=parseInt(_.borderBottomWidth,10),M=parseInt(_.paddingBottom,10),U=O+I+A+M+$,D=Math.min(x.offsetHeight*5,U),G=window.getComputedStyle(p),me=parseInt(G.paddingTop,10),te=parseInt(G.paddingBottom,10),J=q.top+q.height/2-Ze,H=R-J,Y=x.offsetHeight/2,B=x.offsetTop+Y,Q=O+I+B,z=U-Q;if(Q<=J){const W=E.length>0&&x===E[E.length-1].ref.current;a.style.bottom="0px";const Z=d.clientHeight-p.offsetTop-p.offsetHeight,ae=Math.max(H,Y+(W?te:0)+Z+$),ue=Q+ae;a.style.height=ue+"px"}else{const W=E.length>0&&x===E[0].ref.current;a.style.top="0px";const ae=Math.max(J,O+p.offsetTop+(W?me:0)+Y)+z;a.style.height=ae+"px",p.scrollTop=Q-J+p.offsetTop}a.style.margin=`${Ze}px 0`,a.style.minHeight=D+"px",a.style.maxHeight=R+"px",n?.(),requestAnimationFrame(()=>m.current=!0)}},[v,s.trigger,s.valueNode,a,d,p,x,y,s.dir,n]);De(()=>w(),[w]);const[P,C]=u.useState();De(()=>{d&&C(window.getComputedStyle(d).zIndex)},[d]);const N=u.useCallback(q=>{q&&b.current===!0&&(w(),g?.(),b.current=!1)},[w,g]);return c.jsx(aw,{scope:r,contentWrapper:a,shouldExpandOnScrollRef:m,onScrollButtonChange:N,children:c.jsx("div",{ref:l,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:P},children:c.jsx(be.div,{...o,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});Tf.displayName=sw;var iw="SelectPopperPosition",Ys=u.forwardRef((e,t)=>{const{__scopeSelect:r,align:n="start",collisionPadding:o=Ze,...s}=e,i=qo(r);return c.jsx(ji,{...i,...s,ref:t,align:n,collisionPadding:o,style:{boxSizing:"border-box",...s.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Ys.displayName=iw;var[aw,Wi]=Nr(Qt,{}),Xs="SelectViewport",Af=u.forwardRef((e,t)=>{const{__scopeSelect:r,nonce:n,...o}=e,s=Vt(Xs,r),i=Wi(Xs,r),a=ke(t,s.onViewportChange),l=u.useRef(0);return c.jsxs(c.Fragment,{children:[c.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:n}),c.jsx(So.Slot,{scope:r,children:c.jsx(be.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:a,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:ce(o.onScroll,d=>{const f=d.currentTarget,{contentWrapper:h,shouldExpandOnScrollRef:v}=i;if(v?.current&&h){const m=Math.abs(l.current-f.scrollTop);if(m>0){const b=window.innerHeight-Ze*2,p=parseFloat(h.style.minHeight),x=parseFloat(h.style.height),y=Math.max(p,x);if(y<b){const g=y+m,w=Math.min(b,g),P=g-w;h.style.height=w+"px",h.style.bottom==="0px"&&(f.scrollTop=P>0?P:0,h.style.justifyContent="flex-end")}}}l.current=f.scrollTop})})})]})});Af.displayName=Xs;var _f="SelectGroup",[lw,cw]=Nr(_f),If=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=tr();return c.jsx(lw,{scope:r,id:o,children:c.jsx(be.div,{role:"group","aria-labelledby":o,...n,ref:t})})});If.displayName=_f;var Of="SelectLabel",Mf=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=cw(Of,r);return c.jsx(be.div,{id:o.id,...n,ref:t})});Mf.displayName=Of;var Kn="SelectItem",[uw,Lf]=Nr(Kn),Df=u.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:s,...i}=e,a=$t(Kn,r),l=Vt(Kn,r),d=a.value===n,[f,h]=u.useState(s??""),[v,m]=u.useState(!1),b=ke(t,g=>l.itemRefCallback?.(g,n,o)),p=tr(),x=u.useRef("touch"),y=()=>{o||(a.onValueChange(n),a.onOpenChange(!1))};if(n==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return c.jsx(uw,{scope:r,value:n,disabled:o,textId:p,isSelected:d,onItemTextChange:u.useCallback(g=>{h(w=>w||(g?.textContent??"").trim())},[]),children:c.jsx(So.ItemSlot,{scope:r,value:n,disabled:o,textValue:f,children:c.jsx(be.div,{role:"option","aria-labelledby":p,"data-highlighted":v?"":void 0,"aria-selected":d&&v,"data-state":d?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...i,ref:b,onFocus:ce(i.onFocus,()=>m(!0)),onBlur:ce(i.onBlur,()=>m(!1)),onClick:ce(i.onClick,()=>{x.current!=="mouse"&&y()}),onPointerUp:ce(i.onPointerUp,()=>{x.current==="mouse"&&y()}),onPointerDown:ce(i.onPointerDown,g=>{x.current=g.pointerType}),onPointerMove:ce(i.onPointerMove,g=>{x.current=g.pointerType,o?l.onItemLeave?.():x.current==="mouse"&&g.currentTarget.focus({preventScroll:!0})}),onPointerLeave:ce(i.onPointerLeave,g=>{g.currentTarget===document.activeElement&&l.onItemLeave?.()}),onKeyDown:ce(i.onKeyDown,g=>{l.searchRef?.current!==""&&g.key===" "||(X0.includes(g.key)&&y(),g.key===" "&&g.preventDefault())})})})})});Df.displayName=Kn;var Mr="SelectItemText",Bf=u.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,...s}=e,i=$t(Mr,r),a=Vt(Mr,r),l=Lf(Mr,r),d=ew(Mr,r),[f,h]=u.useState(null),v=ke(t,y=>h(y),l.onItemTextChange,y=>a.itemTextRefCallback?.(y,l.value,l.disabled)),m=f?.textContent,b=u.useMemo(()=>c.jsx("option",{value:l.value,disabled:l.disabled,children:m},l.value),[l.disabled,l.value,m]),{onNativeOptionAdd:p,onNativeOptionRemove:x}=d;return De(()=>(p(b),()=>x(b)),[p,x,b]),c.jsxs(c.Fragment,{children:[c.jsx(be.span,{id:l.textId,...s,ref:v}),l.isSelected&&i.valueNode&&!i.valueNodeHasChildren?Ur.createPortal(s.children,i.valueNode):null]})});Bf.displayName=Mr;var Ff="SelectItemIndicator",$f=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return Lf(Ff,r).isSelected?c.jsx(be.span,{"aria-hidden":!0,...n,ref:t}):null});$f.displayName=Ff;var Js="SelectScrollUpButton",Vf=u.forwardRef((e,t)=>{const r=Vt(Js,e.__scopeSelect),n=Wi(Js,e.__scopeSelect),[o,s]=u.useState(!1),i=ke(t,n.onScrollButtonChange);return De(()=>{if(r.viewport&&r.isPositioned){let a=function(){const d=l.scrollTop>0;s(d)};const l=r.viewport;return a(),l.addEventListener("scroll",a),()=>l.removeEventListener("scroll",a)}},[r.viewport,r.isPositioned]),o?c.jsx(Hf,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:l}=r;a&&l&&(a.scrollTop=a.scrollTop-l.offsetHeight)}}):null});Vf.displayName=Js;var Qs="SelectScrollDownButton",zf=u.forwardRef((e,t)=>{const r=Vt(Qs,e.__scopeSelect),n=Wi(Qs,e.__scopeSelect),[o,s]=u.useState(!1),i=ke(t,n.onScrollButtonChange);return De(()=>{if(r.viewport&&r.isPositioned){let a=function(){const d=l.scrollHeight-l.clientHeight,f=Math.ceil(l.scrollTop)<d;s(f)};const l=r.viewport;return a(),l.addEventListener("scroll",a),()=>l.removeEventListener("scroll",a)}},[r.viewport,r.isPositioned]),o?c.jsx(Hf,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:l}=r;a&&l&&(a.scrollTop=a.scrollTop+l.offsetHeight)}}):null});zf.displayName=Qs;var Hf=u.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=e,s=Vt("SelectScrollButton",r),i=u.useRef(null),a=No(r),l=u.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return u.useEffect(()=>()=>l(),[l]),De(()=>{a().find(f=>f.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[a]),c.jsx(be.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:ce(o.onPointerDown,()=>{i.current===null&&(i.current=window.setInterval(n,50))}),onPointerMove:ce(o.onPointerMove,()=>{s.onItemLeave?.(),i.current===null&&(i.current=window.setInterval(n,50))}),onPointerLeave:ce(o.onPointerLeave,()=>{l()})})}),dw="SelectSeparator",Wf=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return c.jsx(be.div,{"aria-hidden":!0,...n,ref:t})});Wf.displayName=dw;var Zs="SelectArrow",fw=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=qo(r),s=$t(Zs,r),i=Vt(Zs,r);return s.open&&i.position==="popper"?c.jsx(Ti,{...o,...n,ref:t}):null});fw.displayName=Zs;var hw="SelectBubbleInput",Gf=u.forwardRef(({__scopeSelect:e,value:t,...r},n)=>{const o=u.useRef(null),s=ke(n,o),i=mo(t);return u.useEffect(()=>{const a=o.current;if(!a)return;const l=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(l,"value").set;if(i!==t&&f){const h=new Event("change",{bubbles:!0});f.call(a,t),a.dispatchEvent(h)}},[i,t]),c.jsx(be.select,{...r,style:{...fd,...r.style},ref:s,defaultValue:t})});Gf.displayName=hw;function Kf(e){return e===""||e===void 0}function Uf(e){const t=gt(e),r=u.useRef(""),n=u.useRef(0),o=u.useCallback(i=>{const a=r.current+i;t(a),(function l(d){r.current=d,window.clearTimeout(n.current),d!==""&&(n.current=window.setTimeout(()=>l(""),1e3))})(a)},[t]),s=u.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return u.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,s]}function Yf(e,t,r){const o=t.length>1&&Array.from(t).every(d=>d===t[0])?t[0]:t,s=r?e.indexOf(r):-1;let i=mw(e,Math.max(s,0));o.length===1&&(i=i.filter(d=>d!==r));const l=i.find(d=>d.textValue.toLowerCase().startsWith(o.toLowerCase()));return l!==r?l:void 0}function mw(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var pw=wf,vw=Cf,gw=Nf,bw=qf,xw=kf,yw=Ef,ww=Af,Pw=If,Cw=Mf,Sw=Df,Nw=Bf,qw=$f,kw=Vf,Ew=zf,Rw=Wf;const _l="data-scroll-locked",Xf=u.createContext({lockScroll:!1});function jw(e,t){(typeof window>"u"?u.useEffect:u.useLayoutEffect)(e,t)}function Il(){return document.querySelector('[role="listbox"][data-state="open"][data-ldkj-select-lock-scroll="false"]')!==null}function Tw(e){jw(()=>{if(!e||typeof document>"u")return;const t=document.body,r=()=>{Il()&&t.removeAttribute(_l)},n=a=>{Il()&&a.stopImmediatePropagation()},o=typeof MutationObserver>"u"?null:new MutationObserver(r),s={passive:!1},i=window.setTimeout(r,0);return o?.observe(t,{attributes:!0,attributeFilter:[_l]}),document.addEventListener("wheel",n,s),document.addEventListener("touchmove",n,s),r(),()=>{window.clearTimeout(i),o?.disconnect(),document.removeEventListener("wheel",n),document.removeEventListener("touchmove",n)}},[e])}function Jf(e){const{lockScroll:t=!1,...r}=e;return Tw(!t),c.jsx(Xf.Provider,{value:{lockScroll:t},children:c.jsx(pw,{...r})})}Jf.displayName="Select";const Qf=Pw,Aw=gw;function _w(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M3.5 8.5L6.5 11.5L12.5 4.5",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round"})})}function Zf(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M4 6L8 10L12 6",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function Iw(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M4 10L8 6L12 10",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function rr(e){const t=se();return X(e,t)}const eh=u.forwardRef((e,t)=>{const{className:r,class:n,children:o,sx:s,style:i,...a}=e,{sxClassName:l,sxInlineStyle:d}=rr(s);return c.jsxs(vw,{ref:t,className:j("flex h-9 w-full items-center justify-between gap-2 rounded-md border border-solid border-slate-300 bg-white px-3 py-2 text-sm text-slate-900 shadow-sm transition-colors","placeholder:text-slate-400 data-[placeholder]:text-slate-400","focus-visible:border-blue-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30","disabled:cursor-not-allowed disabled:bg-slate-50 disabled:text-slate-500 disabled:opacity-70","[&>span]:min-w-0 [&>span]:truncate",l,r,n),style:L(i,d),...a,children:[o,c.jsx(bw,{asChild:!0,children:c.jsx(Zf,{className:"h-4 w-4 shrink-0 text-slate-500"})})]})});eh.displayName="SelectTrigger";const Gi=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=rr(o);return c.jsx(kw,{ref:t,className:j("flex cursor-default items-center justify-center py-1 text-slate-500",a,r,n),style:L(s,l),...i,children:c.jsx(Iw,{className:"h-4 w-4"})})});Gi.displayName="SelectScrollUpButton";const Ki=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=rr(o);return c.jsx(Ew,{ref:t,className:j("flex cursor-default items-center justify-center py-1 text-slate-500",a,r,n),style:L(s,l),...i,children:c.jsx(Zf,{className:"h-4 w-4"})})});Ki.displayName="SelectScrollDownButton";const th=u.forwardRef((e,t)=>{const{className:r,class:n,children:o,position:s="popper",sx:i,style:a,...l}=e,{sxClassName:d,sxInlineStyle:f}=rr(i),{lockScroll:h}=u.useContext(Xf);return c.jsx(xw,{children:c.jsxs(yw,{ref:t,className:j("relative z-50 max-h-[var(--radix-select-content-available-height)] min-w-32 overflow-hidden rounded-md border border-solid border-slate-200 bg-white text-slate-900 shadow-lg","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]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","origin-[var(--radix-select-content-transform-origin)]",s==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",d,r,n),style:L(a,f),position:s,"data-ldkj-select-lock-scroll":h?"true":"false",...l,children:[c.jsx(Gi,{}),c.jsx(ww,{className:j("p-1",s==="popper"&&"w-full min-w-[var(--radix-select-trigger-width)]"),children:o}),c.jsx(Ki,{})]})})});th.displayName="SelectContent";const Ui=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=rr(o);return c.jsx(Cw,{ref:t,className:j("px-2 py-1.5 text-xs font-medium text-slate-500",a,r,n),style:L(s,l),...i})});Ui.displayName="SelectLabel";const Un=u.forwardRef((e,t)=>{const{className:r,class:n,children:o,sx:s,style:i,...a}=e,{sxClassName:l,sxInlineStyle:d}=rr(s);return c.jsxs(Sw,{ref:t,className:j("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm leading-5 text-slate-700 outline-none transition-colors","focus:bg-blue-50 focus:text-blue-700","data-[disabled]:pointer-events-none data-[disabled]:text-slate-400 data-[disabled]:opacity-70",l,r,n),style:L(i,d),...a,children:[c.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center text-blue-600",children:c.jsx(qw,{children:c.jsx(_w,{className:"h-4 w-4"})})}),c.jsx(Nw,{children:o})]})});Un.displayName="SelectItem";const Yi=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=rr(o);return c.jsx(Rw,{ref:t,className:j("-mx-1 my-1 h-px bg-slate-200",a,r,n),style:L(s,l),...i})});Yi.displayName="SelectSeparator";function Ow(e){return"options"in e}function Mw(e){const{options:t,itemProps:r,labelProps:n,separatorProps:o}=e;return c.jsx(c.Fragment,{children:t.map((s,i)=>Ow(s)?c.jsxs(Qf,{children:[s.label?c.jsx(Ui,{...n,children:s.label}):null,s.options.map(a=>c.jsx(Un,{...r,value:a.value,disabled:a.disabled,textValue:a.textValue,className:j(r?.className,a.className),class:j(r?.class,a.class),style:L(r?.style,a.style),sx:[r?.sx,a.sx],children:a.label},a.value)),s.separator?c.jsx(Yi,{...o}):null]},`group-${i}`):c.jsx(Un,{...r,value:s.value,disabled:s.disabled,textValue:s.textValue,className:j(r?.className,s.className),class:j(r?.class,s.class),style:L(r?.style,s.style),sx:[r?.sx,s.sx],children:s.label},s.value))})}var ko="Switch",[Lw]=rt(ko),[Dw,Bw]=Lw(ko),rh=u.forwardRef((e,t)=>{const{__scopeSwitch:r,name:n,checked:o,defaultChecked:s,required:i,disabled:a,value:l="on",onCheckedChange:d,form:f,...h}=e,[v,m]=u.useState(null),b=ke(t,w=>m(w)),p=u.useRef(!1),x=v?f||!!v.closest("form"):!0,[y,g]=yt({prop:o,defaultProp:s??!1,onChange:d,caller:ko});return c.jsxs(Dw,{scope:r,checked:y,disabled:a,children:[c.jsx(be.button,{type:"button",role:"switch","aria-checked":y,"aria-required":i,"data-state":ih(y),"data-disabled":a?"":void 0,disabled:a,value:l,...h,ref:b,onClick:ce(e.onClick,w=>{g(P=>!P),x&&(p.current=w.isPropagationStopped(),p.current||w.stopPropagation())})}),x&&c.jsx(sh,{control:v,bubbles:!p.current,name:n,value:l,checked:y,required:i,disabled:a,form:f,style:{transform:"translateX(-100%)"}})]})});rh.displayName=ko;var nh="SwitchThumb",oh=u.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,o=Bw(nh,r);return c.jsx(be.span,{"data-state":ih(o.checked),"data-disabled":o.disabled?"":void 0,...n,ref:t})});oh.displayName=nh;var Fw="SwitchBubbleInput",sh=u.forwardRef(({__scopeSwitch:e,control:t,checked:r,bubbles:n=!0,...o},s)=>{const i=u.useRef(null),a=ke(i,s),l=mo(r),d=io(t);return u.useEffect(()=>{const f=i.current;if(!f)return;const h=window.HTMLInputElement.prototype,m=Object.getOwnPropertyDescriptor(h,"checked").set;if(l!==r&&m){const b=new Event("click",{bubbles:n});m.call(f,r),f.dispatchEvent(b)}},[l,r,n]),c.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...o,tabIndex:-1,ref:a,style:{...o.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});sh.displayName=Fw;function ih(e){return e?"checked":"unchecked"}var $w=rh,Vw=oh;const zw={sm:"h-5 w-9",md:"h-6 w-11",lg:"h-7 w-[52px]"},Hw={sm:"h-4 w-4 data-[state=checked]:translate-x-4",md:"h-5 w-5 data-[state=checked]:translate-x-5",lg:"h-6 w-6 data-[state=checked]:translate-x-6"},ah=u.forwardRef((e,t)=>{const{className:r,class:n,containerClass:o,containerClassName:s,containerStyle:i,containerSx:a,description:l,disabled:d,id:f,label:h,labelPosition:v="right",size:m="md",style:b,sx:p,"aria-describedby":x,...y}=e,g=se(),{sxClassName:w,sxInlineStyle:P}=X(p,g),{sxClassName:C,sxInlineStyle:N}=X(a,g),q=u.useId(),S=f??`ldkj-switch-${q}`,k=l===void 0?void 0:`${S}-description`,T=[x,k].filter(Boolean).join(" ")||void 0,E=c.jsx($w,{ref:t,id:S,disabled:d,"aria-describedby":T,className:j("peer inline-flex shrink-0 cursor-pointer items-center rounded-full border border-transparent bg-slate-300 p-0.5 transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50","data-[state=checked]:bg-blue-600 data-[state=unchecked]:bg-slate-300",zw[m],w,r,n),style:L(b,P),...y,children:c.jsx(Vw,{className:j("pointer-events-none block rounded-full bg-white shadow-sm ring-0 transition-transform","data-[state=unchecked]:translate-x-0",Hw[m])})});if(h===void 0&&l===void 0)return E;const R=c.jsxs("span",{className:"flex min-w-0 flex-col gap-0.5",children:[h!==void 0?c.jsx(Gs,{htmlFor:S,className:j("text-sm font-medium leading-5 text-slate-700",d?"cursor-not-allowed opacity-60":"cursor-pointer"),children:h}):null,l!==void 0?c.jsx("span",{id:k,className:"text-xs leading-5 text-slate-500",children:l}):null]});return c.jsxs("div",{className:j("inline-flex w-fit items-center gap-3",d?"cursor-not-allowed":void 0,C,s,o),style:L(i,N),children:[v==="left"?R:null,E,v==="right"?R:null]})});ah.displayName="Switch";function Yn(e){const{value:t,defaultValue:r,onChange:n}=e,[o,s]=u.useState(r),i=t!==void 0,a=i?t:o,l=u.useCallback(d=>{i||s(d),n?.(d)},[i,n]);return[a,l,i]}function lh(e){const t=se();return X(e,t)}function Ww(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function ei(e){return e==="center"?"justify-center text-center":e==="right"?"justify-end text-right":"justify-start text-left"}function Gw(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M4 6L8 10L12 6",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function Kw(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M6 4L10 8L6 12",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function Uw(e){return c.jsxs("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:[c.jsx("path",{d:"M4.5 4.5L11.5 11.5",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"}),c.jsx("path",{d:"M11.5 4.5L4.5 11.5",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"})]})}function Ol(){return c.jsx("span",{className:"inline-block h-3.5 w-3.5 animate-spin rounded-full border-2 border-slate-300 border-t-blue-600","aria-hidden":"true"})}function ch(e){const{open:t,title:r,cancelText:n="取消",confirmText:o="确定",confirmDisabled:s=!1,maxHeight:i="76vh",children:a,className:l,class:d,style:f,sx:h,onCancel:v,onConfirm:m,onOpenChange:b}=e,{sxClassName:p,sxInlineStyle:x}=lh(h);if(u.useEffect(()=>{if(!t||typeof document>"u")return;const g=document.body.style.overflow;document.body.style.overflow="hidden";const w=P=>{P.key==="Escape"&&(v?.(),b?.(!1))};return document.addEventListener("keydown",w),()=>{document.body.style.overflow=g,document.removeEventListener("keydown",w)}},[v,b,t]),!t)return null;const y=()=>{v?.(),b?.(!1)};return c.jsxs("div",{className:"fixed inset-0 z-50",children:[c.jsx("button",{type:"button","aria-label":"关闭选择面板",className:"absolute inset-0 h-full w-full cursor-default border-0 bg-black/45 p-0",onClick:y}),c.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":typeof r=="string"?r:"移动端选择面板",className:j("absolute bottom-0 left-0 right-0 flex max-h-[76vh] flex-col overflow-hidden rounded-t-xl bg-white shadow-2xl",p,l,d),style:L({maxHeight:Ww(i)},f,x),children:[c.jsxs("div",{className:"flex min-h-12 shrink-0 items-center gap-3 border-b border-slate-200 px-4",children:[r?c.jsx("div",{className:"min-w-0 flex-1 truncate text-left text-sm font-medium text-slate-900",children:r}):c.jsx("div",{className:"min-w-0 flex-1"}),c.jsxs("div",{className:"flex shrink-0 items-center justify-end gap-2",children:[c.jsx("button",{type:"button",className:"rounded-md bg-blue-50 px-3 py-1.5 text-sm font-medium text-blue-600 transition-colors hover:bg-blue-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30",onClick:y,children:n}),c.jsx("button",{type:"button",className:"rounded-md bg-blue-600 px-3 py-1.5 text-sm font-medium text-white transition-colors hover:bg-blue-700 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30 disabled:cursor-not-allowed disabled:bg-blue-200",disabled:s,onClick:m,children:o})]})]}),a]})]})}const Xi=u.forwardRef((e,t)=>{const{open:r=!1,clearable:n=!1,hasValue:o=!1,placeholder:s="请选择",display:i,className:a,class:l,style:d,sx:f,disabled:h,readOnly:v,onClear:m,...b}=e,{sxClassName:p,sxInlineStyle:x}=lh(f);return c.jsxs("span",{className:"relative inline-flex w-full items-stretch",children:[c.jsxs("button",{ref:t,type:"button",className:j("flex h-10 w-full min-w-0 items-center gap-2 rounded-md border border-solid border-slate-300 bg-white px-3 text-left text-sm text-slate-900 shadow-sm transition-colors","focus-visible:border-blue-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30","disabled:cursor-not-allowed disabled:bg-slate-50 disabled:text-slate-500 disabled:opacity-70",v&&"cursor-default",n&&o&&!h&&!v?"pr-16":"pr-9",p,a,l),style:L(d,x),disabled:h,"aria-haspopup":"dialog","aria-expanded":r,"aria-disabled":h||void 0,"aria-readonly":v||void 0,...b,children:[c.jsx("span",{className:j("min-w-0 flex-1 truncate",!o&&"text-slate-400"),children:o?i:s}),c.jsx(Gw,{className:"absolute right-3 h-4 w-4 text-slate-500"})]}),n&&o&&!h&&!v?c.jsx("button",{type:"button",className:"absolute right-8 top-1/2 z-10 -translate-y-1/2 rounded p-1 text-slate-400 transition-colors hover:text-slate-600 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30","aria-label":"清除选择",onMouseDown:y=>y.preventDefault(),onClick:y=>{y.preventDefault(),y.stopPropagation(),m?.(y)},children:c.jsx(Uw,{className:"h-3.5 w-3.5"})}):null]})});Xi.displayName="MobileTrigger";function uh(e){return"options"in e}function Yw(e){return e.map(t=>uh(t)?{type:"group",label:t.label,options:t.options,separator:t.separator}:{type:"plain",option:t})}function Xw(e){const t=[];for(const r of e)uh(r)?t.push(...r.options):t.push(r);return t}const dh=u.forwardRef((e,t)=>{const{options:r=[],value:n,defaultValue:o="",onValueChange:s,open:i,defaultOpen:a=!1,onOpenChange:l,placeholder:d="请选择",title:f="请选择",cancelText:h,confirmText:v,clearable:m=!1,readOnly:b=!1,required:p,align:x="left",displayRender:y,renderOption:g,drawerClassName:w,drawerClass:P,drawerStyle:C,drawerSx:N,maxDrawerHeight:q,optionClassName:S,optionClass:k,optionStyle:T,optionSx:E,className:R,class:A,style:_,sx:O,disabled:I=!1,name:$,id:M,autoFocus:U,onClick:D,onFocus:G,onBlur:me,onKeyDown:te,...J}=e,[H,Y,B]=Yn({value:n,defaultValue:o}),[Q,z]=Yn({value:i,defaultValue:a,onChange:l}),[K,W]=u.useState(H),Z=u.useRef(null),ae=se(),ue=u.useMemo(()=>Xw(r),[r]),pe=u.useMemo(()=>Yw(r),[r]),ve=u.useMemo(()=>ue.find(de=>de.value===H),[ue,H]),ie=u.useMemo(()=>ue.find(de=>de.value===K),[ue,K]),ye=H!==""&&!!ve,Se=ye?y?.(ve)??ve?.label:d;u.useEffect(()=>{Q&&W(H)},[Q,H]);const Ie=u.useCallback((de,Ae)=>{B||Y(de),s?.(de,Ae)},[s,Y,B]),oe=u.useCallback(de=>{I||b||(W(""),Ie("",{reason:"clear",event:de}))},[Ie,I,b]),we=u.useCallback(()=>{if(I||b){z(!1);return}if(!ie){z(!1);return}Ie(ie.value,{reason:"select",option:ie}),z(!1)},[Ie,I,ie,b,z]),Ee=u.useCallback(()=>{I||z(!0)},[I,z]);return u.useImperativeHandle(t,()=>({focus:()=>Z.current?.focus(),blur:()=>Z.current?.blur(),open:Ee,close:()=>z(!1),clear:()=>oe(),getValue:()=>H}),[oe,Ee,H,z]),c.jsxs(c.Fragment,{children:[c.jsx(Xi,{ref:Z,id:M,open:Q,clearable:m,hasValue:ye,placeholder:d,display:Se,className:R,class:A,style:_,sx:O,disabled:I,readOnly:b,autoFocus:U,onClear:oe,onClick:de=>{D?.(de),Ee()},onFocus:G,onBlur:me,onKeyDown:de=>{te?.(de),!I&&((de.key==="ArrowDown"||de.key==="Enter")&&(de.preventDefault(),Ee()),de.key==="Escape"&&(de.preventDefault(),z(!1)))},...J}),c.jsx(ch,{open:Q,title:f,cancelText:h,confirmText:v,confirmDisabled:!ie||!!ie.disabled,maxHeight:q,className:w,class:P,style:C,sx:N,onCancel:()=>W(H),onConfirm:we,onOpenChange:z,children:c.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto px-4 py-2",children:pe.length===0?c.jsx("div",{className:"flex min-h-32 items-center justify-center text-sm text-slate-400",children:"暂无可选项"}):c.jsx("div",{className:"grid gap-1",children:pe.map((de,Ae)=>{if(de.type==="plain"){const fe=de.option,re=K===fe.value,he={active:re,checked:re,disabled:!!fe.disabled},Re=X([E,fe.sx],ae);return c.jsx("button",{type:"button",className:j("flex min-h-10 w-full items-center rounded-md px-3 py-2 text-sm transition-colors",ei(x),re?"bg-blue-600 text-white":"text-slate-800 hover:bg-blue-50 hover:text-blue-700",fe.disabled&&"cursor-not-allowed bg-transparent text-slate-400 opacity-70 hover:bg-transparent hover:text-slate-400",Re.sxClassName,S,k,fe.className,fe.class),style:L(T,Re.sxInlineStyle,fe.style),disabled:I||b||fe.disabled,onClick:_e=>{_e.preventDefault(),W(fe.value)},children:c.jsx("span",{className:"min-w-0 truncate",children:g?g(fe,he):fe.label})},fe.value)}return c.jsxs("div",{className:j(de.separator&&Ae>0&&"border-t border-slate-200 pt-2"),children:[de.label?c.jsx("div",{className:"px-3 py-2 text-xs font-medium text-slate-500",children:de.label}):null,c.jsx("div",{className:"grid gap-1",children:de.options.map(fe=>{const re=K===fe.value,he={active:re,checked:re,disabled:!!fe.disabled},Re=X([E,fe.sx],ae);return c.jsx("button",{type:"button",className:j("flex min-h-10 w-full items-center rounded-md px-3 py-2 text-sm transition-colors",ei(x),re?"bg-blue-600 text-white":"text-slate-800 hover:bg-blue-50 hover:text-blue-700",fe.disabled&&"cursor-not-allowed bg-transparent text-slate-400 opacity-70 hover:bg-transparent hover:text-slate-400",Re.sxClassName,S,k,fe.className,fe.class),style:L(T,Re.sxInlineStyle,fe.style),disabled:I||b||fe.disabled,onClick:_e=>{_e.preventDefault(),W(fe.value)},children:c.jsx("span",{className:"min-w-0 truncate",children:g?g(fe,he):fe.label})},fe.value)})})]},`group-${Ae}`)})})})}),$?c.jsx("input",{type:"hidden",name:$,required:p,value:H}):null]})});dh.displayName="MobileSelect";function Rr(e){return Array.isArray(e)?e.filter(t=>t!==""):[]}function Jw(e){return Array.isArray(e)?e:[]}function qr(e,t){return e?.[t]??t}function Qw(e,t){const r=qr(t,"value");return typeof e[r]=="string"?e[r]:e.value}function Zw(e,t){const r=qr(t,"label");return e[r]??e.label??e.value??""}function eP(e,t){const r=qr(t,"children");return Jw(e[r])}function tP(e,t){const r=qr(t,"disabled");return!!(e[r]??e.disabled)}function rP(e,t){const r=qr(t,"isLeaf"),n=e[r];return typeof n=="boolean"?n:e.isLeaf}function nP(e,t){const r=qr(t,"loading");return!!(e[r]??e.loading)}function oP(e,t){const r=Qw(e,t);if(typeof r!="string"||r.length===0)return null;const n=eP(e,t),o=rP(e,t),s=typeof o=="boolean"?o:n.length===0;return{option:e,value:r,label:Zw(e,t),children:n,disabled:tP(e,t),isLeaf:s,loading:nP(e,t)}}function On(e,t){const r=[];for(const n of e){const o=oP(n,t);o&&r.push(o)}return r}function Pn(e,t,r){const n=[],o=[];let s=e;for(const i of t){const a=On(s,r).find(l=>l.value===i);if(!a)break;n.push(a),o.push(a.label),s=a.children}return{matched:n,labels:o,path:n.map(i=>i.value)}}function sP(e,t,r){const n=[On(e,r)];let o=e;for(const s of t){const i=On(o,r).find(a=>a.value===s);if(!i||i.children.length===0)break;o=i.children,n.push(On(o,r))}return n}function Zo(e,t){return t.every((r,n)=>e[n]===r)}function iP(e,t){return c.jsx(c.Fragment,{children:e.map((r,n)=>c.jsxs(u.Fragment,{children:[n>0?c.jsx("span",{className:"mx-1 text-slate-400",children:t}):null,c.jsx("span",{className:"min-w-0 truncate",children:r})]},n))})}function aP(e){return`第${e+1}级`}const fh=u.forwardRef((e,t)=>{const{options:r=[],value:n,defaultValue:o=[],onValueChange:s,open:i,defaultOpen:a=!1,onOpenChange:l,placeholder:d="请选择",title:f="请选择",cancelText:h,confirmText:v,separator:m="/",displayRender:b,renderOption:p,fieldNames:x,changeOnSelect:y=!1,clearable:g=!1,readOnly:w=!1,required:P,loadData:C,align:N="left",levelLabels:q,drawerClassName:S,drawerClass:k,drawerStyle:T,drawerSx:E,maxDrawerHeight:R,optionClassName:A,optionClass:_,optionStyle:O,optionSx:I,className:$,class:M,style:U,sx:D,disabled:G=!1,name:me,id:te,autoFocus:J,onClick:H,onFocus:Y,onBlur:B,onKeyDown:Q,...z}=e,K=n===void 0?void 0:Rr(n),[W,Z,ae]=Yn({value:K,defaultValue:Rr(o)}),[ue,pe]=Yn({value:i,defaultValue:a,onChange:l}),[ve,ie]=u.useState(()=>Rr(o)),[ye,Se]=u.useState(0),[Ie,oe]=u.useState(null),we=u.useRef(null),Ee=u.useRef(!0),de=u.useRef(C),Ae=se();u.useEffect(()=>()=>{Ee.current=!1},[]),u.useEffect(()=>{de.current=C},[C]),u.useEffect(()=>{if(ue){const F=Rr(W);ie(F),Se(Math.max(F.length-1,0))}},[ue,W]);const fe=u.useMemo(()=>Pn(r,W,x),[x,r,W]),re=fe.matched.map(F=>F.option),he=u.useMemo(()=>Pn(r,ve,x),[x,r,ve]),Re=u.useMemo(()=>sP(r,ve,x),[x,r,ve]),_e=Math.min(ye,Math.max(Re.length-1,0)),Ye=Re[_e]??[],Ve=he.matched[he.matched.length-1],nt=he.path.length===0||!!Ve?.disabled||!y&&!!Ve&&!Ve?.isLeaf&&(Ve?.children.length??0)>0,Ct=u.useMemo(()=>fe.labels.length>0?b?b(fe.labels,re):iP(fe.labels,m):d,[b,d,re,fe.labels,m]),ot=u.useCallback((F,V)=>{const le=Pn(r,Rr(F),x);ae||Z(le.path),s?.(le.path,{...V,path:le.path,options:le.matched.map(xe=>xe.option),labels:le.labels})},[x,s,r,Z,ae]),ht=u.useCallback(F=>{G||w||(ie([]),Se(0),ot([],{reason:"clear",event:F}))},[ot,G,w]),st=u.useCallback(()=>{if(G||w){pe(!1);return}nt||(ot(he.path,{reason:"select",option:Ve?.option}),pe(!1))},[ot,nt,G,Ve?.option,he.path,w,pe]),sr=u.useCallback(async(F,V,le)=>{if(G||w||F.disabled)return;const xe=[...ve.slice(0,V),F.value],Ce=F.children.length>0,Te=!F.isLeaf&&!Ce&&!!de.current,He=Ce||Te,Je=xe.join("");if(ie(xe),Se(He?V+1:V),Te&&de.current){const St=Pn(r,xe,x);oe(Je);try{await de.current(St.matched.map(Nt=>Nt.option),{option:F.option,path:xe,options:r})}finally{Ee.current&&oe(Nt=>Nt===Je?null:Nt)}}y&&!He&&le.currentTarget.focus()},[y,G,x,r,ve,w]),mt=u.useCallback(()=>{G||pe(!0)},[G,pe]);return u.useImperativeHandle(t,()=>({focus:()=>we.current?.focus(),blur:()=>we.current?.blur(),open:mt,close:()=>pe(!1),clear:()=>ht(),getValue:()=>W.slice()}),[ht,mt,W,pe]),c.jsxs(c.Fragment,{children:[c.jsx(Xi,{ref:we,id:te,open:ue,clearable:g,hasValue:fe.path.length>0,placeholder:d,display:Ct,className:$,class:M,style:U,sx:D,disabled:G,readOnly:w,autoFocus:J,onClear:ht,onClick:F=>{H?.(F),mt()},onFocus:Y,onBlur:B,onKeyDown:F=>{Q?.(F),!G&&((F.key==="ArrowDown"||F.key==="Enter")&&(F.preventDefault(),mt()),F.key==="Escape"&&(F.preventDefault(),pe(!1)))},...z}),c.jsx(ch,{open:ue,title:f,cancelText:h,confirmText:v,confirmDisabled:nt,maxHeight:R,className:S,class:k,style:T,sx:E,onCancel:()=>{ie(W),Se(Math.max(W.length-1,0))},onConfirm:st,onOpenChange:pe,children:c.jsxs("div",{className:"flex min-h-0 flex-1 flex-col",children:[c.jsx("div",{className:"flex shrink-0 border-b border-slate-200 px-4",children:Re.map((F,V)=>{const le=_e===V,xe=he.labels[V]??aP(V),Ce=q?.[V]??xe;return c.jsxs("button",{type:"button",className:j("relative min-h-10 min-w-12 px-3 text-sm text-slate-700 transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30",le&&"font-medium text-blue-600"),onClick:()=>Se(V),children:[Ce,le?c.jsx("span",{className:"absolute bottom-0 left-3 right-3 h-0.5 rounded-full bg-blue-600"}):null]},`level-${V}`)})}),c.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto px-4 py-2",children:Ye.length===0?c.jsx("div",{className:"flex min-h-32 items-center justify-center text-sm text-slate-400",children:Ie?c.jsxs("span",{className:"inline-flex items-center gap-2",children:[c.jsx(Ol,{}),"加载中"]}):"暂无可选项"}):c.jsx("div",{className:"grid gap-1",children:Ye.map(F=>{const V=[...ve.slice(0,_e),F.value],le=he.path.length===V.length&&Zo(he.path,V),xe=Zo(he.path,V)||Zo(V,he.path),Ce=Ie===V.join("")||F.loading,Te=F.children.length>0||!F.isLeaf&&!!de.current&&!Ce,He={active:xe,checked:le,disabled:F.disabled,hasChildren:Te,isLeaf:F.isLeaf,level:_e,loading:Ce,path:V,selected:le},Je=X([I,F.option.sx],Ae);return c.jsxs("button",{type:"button",className:j("flex min-h-10 w-full items-center gap-2 rounded-md px-3 py-2 text-sm transition-colors",ei(N),le?"bg-blue-600 text-white":"text-slate-800 hover:bg-blue-50 hover:text-blue-700",xe&&!le&&"bg-slate-100 text-slate-900",F.disabled&&"cursor-not-allowed bg-transparent text-slate-400 opacity-70 hover:bg-transparent hover:text-slate-400",Je.sxClassName,A,_,F.option.className,F.option.class),style:L(O,Je.sxInlineStyle,F.option.style),disabled:G||w||F.disabled,onClick:St=>{St.preventDefault(),sr(F,_e,St)},children:[c.jsx("span",{className:"min-w-0 flex-1 truncate",children:p?p(F.option,He):F.label}),Ce?c.jsx(Ol,{}):Te?c.jsx(Kw,{className:j("h-4 w-4 shrink-0",le?"text-white":"text-slate-400")}):null]},V.join(""))})})})]})}),me?c.jsx("input",{type:"hidden",name:me,required:P,value:W.length>0?JSON.stringify(W):""}):null]})});fh.displayName="MobileCascader";function lP(e,t=500){const r=je.useRef(null),n=je.useCallback(()=>{r.current=setTimeout(e,t)},[e,t]),o=je.useCallback(()=>{r.current&&clearTimeout(r.current)},[]);return{onMouseDown:n,onMouseUp:o,onMouseLeave:o,onTouchStart:n,onTouchEnd:o}}function cP(){return c.jsx("span",{className:"h-6 w-6 animate-spin rounded-full border-2 border-blue-200 border-t-blue-600","aria-hidden":"true"})}function Pe(e){const{component:t,sx:r,rounded:n,shadow:o,onLongPress:s,longPressDelay:i=500,style:a,className:l,class:d,loading:f=!1,loadingContent:h,modal:v=!1,modalContent:m,onModalMaskClick:b,children:p,...x}=e,y=t??"div",g=se(),{roundedPreset:w,roundedStyle:P}=Zt(n),{shadowPreset:C,shadowStyle:N}=Yr(o),q=lP(()=>{s?.()},i),{sxClassName:S,sxInlineStyle:k}=X(r,g),E=(f||v)&&a?.position===void 0?{position:"relative"}:void 0;return c.jsxs(y,{className:j(w&&Mt[w],C&&xr[C],S,l,d),style:L(a,P,N,E,k),"aria-busy":f||void 0,...s?q:void 0,...x,children:[p,f?c.jsx("div",{className:"box-loading-mask absolute inset-0 z-10 flex items-center justify-center bg-white/65","aria-hidden":"true",children:h??c.jsx(cP,{})}):null,v?c.jsx("div",{className:"box-modal-mask absolute inset-0 z-20 flex items-center justify-center bg-black/45 p-4",onClick:b,children:c.jsx("div",{className:"box-modal-content max-w-full rounded-lg bg-white p-4 shadow-lg",onClick:R=>R.stopPropagation(),children:m})}):null]})}Pe.displayName="Box";const Ml={outlined:"border border-gray-200 bg-white",elevated:"border border-transparent bg-white",filled:"border border-gray-100 bg-gray-50",ghost:"border border-transparent bg-transparent shadow-none"},Ll={elevated:"md"},uP={none:"p-0",sm:"p-3",md:"p-4",lg:"p-6"};function Lr(e){return e!=null}function dP(e){let t=!1;return u.Children.forEach(e,r=>{u.isValidElement(r)&&fP(r.type)&&(t=!0)}),t}function fP(e){return e===hh||e===mh||e===ph||e===vh||e===gh||e===bh||e===xh}function Cn(e,t){return e===!0||e===t}function es(e){return uP[e]}function Dl(e,t){return Lr(e)?e:t}function Bl(e,t){return e??t}const hh=e=>c.jsx(Pe,{...e,"data-card-slot":"header"}),mh=e=>c.jsx(Pe,{...e,"data-card-slot":"content"}),ph=e=>c.jsx(Pe,{...e,"data-card-slot":"footer"}),vh=e=>c.jsx(Pe,{...e,"data-card-slot":"left"}),gh=e=>c.jsx(Pe,{...e,"data-card-slot":"right"}),bh=e=>c.jsx(Pe,{...e,"data-card-slot":"start"}),xh=e=>c.jsx(Pe,{...e,"data-card-slot":"end"});function hP(e){const{variant:t="outlined",padding:r="md",divided:n=!0,hoverable:o=!1,selected:s=!1,disabled:i=!1,header:a,footer:l,left:d,right:f,start:h,end:v,contentLoading:m=!1,headerProps:b,footerProps:p,leftProps:x,rightProps:y,startProps:g,endProps:w,contentProps:P,children:C,className:N,style:q,rounded:S="lg",shadow:k,onClick:T,...E}=e,R=Dl(d,h),A=Dl(f,v),_=Bl(x,g),O=Bl(y,w),I=dP(C),{className:$,style:M,loading:U,...D}=P??{};return I?c.jsx(Pe,{rounded:S,shadow:k??Ll[t],className:j("card flex overflow-hidden",Ml[t],o&&!i&&"transition hover:-translate-y-0.5 hover:shadow-lg",s&&"border-blue-500 ring-2 ring-blue-100",i&&"pointer-events-none opacity-50",N),style:L(q,{flexDirection:"row"}),"aria-disabled":i||void 0,onClick:i?void 0:T,...E,children:C}):c.jsxs(Pe,{rounded:S,shadow:k??Ll[t],className:j("card flex overflow-hidden",Ml[t],o&&!i&&"transition hover:-translate-y-0.5 hover:shadow-lg",s&&"border-blue-500 ring-2 ring-blue-100",i&&"pointer-events-none opacity-50",N),style:L(q,{flexDirection:"row"}),"aria-disabled":i||void 0,onClick:i?void 0:T,...E,children:[Lr(R)?c.jsx(Pe,{..._,className:j("card-left shrink-0",Cn(n,"x")&&"border-r border-gray-100",_?.className),children:R}):null,c.jsxs(Pe,{className:"card-main flex min-w-0 flex-1 flex-col",children:[Lr(a)?c.jsx(Pe,{...b,className:j("card-header",es(r),Cn(n,"y")&&"border-b border-gray-100",b?.className),children:a}):null,c.jsx(Pe,{...D,className:j("card-content min-w-0 flex-1",es(r),$),style:M,loading:m||U,children:C}),Lr(l)?c.jsx(Pe,{...p,className:j("card-footer",es(r),Cn(n,"y")&&"border-t border-gray-100",p?.className),children:l}):null]}),Lr(A)?c.jsx(Pe,{...O,className:j("card-right shrink-0",Cn(n,"x")&&"border-l border-gray-100",O?.className),children:A}):null]})}const Pt=Object.assign(hP,{Header:hh,Content:mh,Footer:ph,Left:vh,Right:gh,Start:bh,End:xh});Pt.displayName="Card";Pt.Header.displayName="Card.Header";Pt.Content.displayName="Card.Content";Pt.Footer.displayName="Card.Footer";Pt.Left.displayName="Card.Left";Pt.Right.displayName="Card.Right";Pt.Start.displayName="Card.Start";Pt.End.displayName="Card.End";function mP(e,t=[]){let r=[];function n(s,i){const a=u.createContext(i);a.displayName=s+"Context";const l=r.length;r=[...r,i];const d=h=>{const{scope:v,children:m,...b}=h,p=v?.[e]?.[l]||a,x=u.useMemo(()=>b,Object.values(b));return c.jsx(p.Provider,{value:x,children:m})};d.displayName=s+"Provider";function f(h,v){const m=v?.[e]?.[l]||a,b=u.useContext(m);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${h}\` must be used within \`${s}\``)}return[d,f]}const o=()=>{const s=r.map(i=>u.createContext(i));return function(a){const l=a?.[e]||s;return u.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[n,pP(o,...t)]}function pP(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=n.reduce((a,{useScope:l,scopeName:d})=>{const h=l(s)[`__scope${d}`];return{...a,...h}},{});return u.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function vP(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Sn={exports:{}},ts={};var Fl;function gP(){if(Fl)return ts;Fl=1;var e=je;function t(h,v){return h===v&&(h!==0||1/h===1/v)||h!==h&&v!==v}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,o=e.useEffect,s=e.useLayoutEffect,i=e.useDebugValue;function a(h,v){var m=v(),b=n({inst:{value:m,getSnapshot:v}}),p=b[0].inst,x=b[1];return s(function(){p.value=m,p.getSnapshot=v,l(p)&&x({inst:p})},[h,m,v]),o(function(){return l(p)&&x({inst:p}),h(function(){l(p)&&x({inst:p})})},[h]),i(m),m}function l(h){var v=h.getSnapshot;h=h.value;try{var m=v();return!r(h,m)}catch{return!0}}function d(h,v){return v()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?d:a;return ts.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:f,ts}var rs={};var $l;function bP(){return $l||($l=1,process.env.NODE_ENV!=="production"&&(function(){function e(m,b){return m===b&&(m!==0||1/m===1/b)||m!==m&&b!==b}function t(m,b){f||o.startTransition===void 0||(f=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var p=b();if(!h){var x=b();s(p,x)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),h=!0)}x=i({inst:{value:p,getSnapshot:b}});var y=x[0].inst,g=x[1];return l(function(){y.value=p,y.getSnapshot=b,r(y)&&g({inst:y})},[m,p,b]),a(function(){return r(y)&&g({inst:y}),m(function(){r(y)&&g({inst:y})})},[m]),d(p),p}function r(m){var b=m.getSnapshot;m=m.value;try{var p=b();return!s(m,p)}catch{return!0}}function n(m,b){return b()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var o=je,s=typeof Object.is=="function"?Object.is:e,i=o.useState,a=o.useEffect,l=o.useLayoutEffect,d=o.useDebugValue,f=!1,h=!1,v=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:t;rs.useSyncExternalStore=o.useSyncExternalStore!==void 0?o.useSyncExternalStore:v,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),rs}var Vl;function xP(){return Vl||(Vl=1,process.env.NODE_ENV==="production"?Sn.exports=gP():Sn.exports=bP()),Sn.exports}var yP=xP();function wP(){return yP.useSyncExternalStore(PP,()=>!0,()=>!1)}function PP(){return()=>{}}var Ji="Avatar",[CP]=mP(Ji),[SP,yh]=CP(Ji),wh=u.forwardRef((e,t)=>{const{__scopeAvatar:r,...n}=e,[o,s]=u.useState("idle");return c.jsx(SP,{scope:r,imageLoadingStatus:o,onImageLoadingStatusChange:s,children:c.jsx(vo.span,{...n,ref:t})})});wh.displayName=Ji;var Ph="AvatarImage",Ch=u.forwardRef((e,t)=>{const{__scopeAvatar:r,src:n,onLoadingStatusChange:o=()=>{},...s}=e,i=yh(Ph,r),a=NP(n,s),l=gt(d=>{o(d),i.onImageLoadingStatusChange(d)});return De(()=>{a!=="idle"&&l(a)},[a,l]),a==="loaded"?c.jsx(vo.img,{...s,ref:t,src:n}):null});Ch.displayName=Ph;var Sh="AvatarFallback",Nh=u.forwardRef((e,t)=>{const{__scopeAvatar:r,delayMs:n,...o}=e,s=yh(Sh,r),[i,a]=u.useState(n===void 0);return u.useEffect(()=>{if(n!==void 0){const l=window.setTimeout(()=>a(!0),n);return()=>window.clearTimeout(l)}},[n]),i&&s.imageLoadingStatus!=="loaded"?c.jsx(vo.span,{...o,ref:t}):null});Nh.displayName=Sh;function zl(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function NP(e,{referrerPolicy:t,crossOrigin:r}){const n=wP(),o=u.useRef(null),s=n?(o.current||(o.current=new window.Image),o.current):null,[i,a]=u.useState(()=>zl(s,e));return De(()=>{a(zl(s,e))},[s,e]),De(()=>{const l=h=>()=>{a(h)};if(!s)return;const d=l("loaded"),f=l("error");return s.addEventListener("load",d),s.addEventListener("error",f),t&&(s.referrerPolicy=t),typeof r=="string"&&(s.crossOrigin=r),()=>{s.removeEventListener("load",d),s.removeEventListener("error",f)}},[s,r,t]),i}var qP=wh,kP=Ch,EP=Nh;const qh={xs:"h-6 w-6 text-[10px]",sm:"h-8 w-8 text-xs",md:"h-10 w-10 text-sm",lg:"h-12 w-12 text-base",xl:"h-16 w-16 text-lg"};function RP(e){if(e!==void 0){if(typeof e=="number")return`${e}px`;if(!(typeof e=="string"&&e in qh))return e}}const kh=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,size:i="md",rounded:a="full",shadow:l,...d}=e,f=se(),{sxClassName:h,sxInlineStyle:v}=X(o,f),{roundedPreset:m,roundedStyle:b}=Zt(a),{shadowPreset:p,shadowStyle:x}=Yr(l),y=RP(i);return c.jsx(qP,{ref:t,className:j("avatar relative inline-flex shrink-0 select-none items-center justify-center overflow-hidden bg-slate-100 text-slate-700",typeof i=="string"?qh[i]:null,m?Mt[m]:null,p?xr[p]:null,h,r,n),style:L(s,b,x,y?{width:y,height:y}:void 0,v),...d})}),Qi=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,a=se(),{sxClassName:l,sxInlineStyle:d}=X(o,a);return c.jsx(kP,{ref:t,className:j("avatar-image h-full w-full object-cover",l,r,n),style:L(s,d),...i})}),Zi=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,a=se(),{sxClassName:l,sxInlineStyle:d}=X(o,a);return c.jsx(EP,{ref:t,className:j("avatar-fallback flex h-full w-full items-center justify-center bg-slate-100 font-medium text-slate-600",l,r,n),style:L(s,d),...i})}),Eh=Object.assign(kh,{Image:Qi,Fallback:Zi});kh.displayName="Avatar";Qi.displayName="Avatar.Image";Zi.displayName="Avatar.Fallback";Eh.displayName="Avatar";const Rh=Oc("inline-flex items-center justify-center whitespace-nowrap rounded border border-transparent font-medium transition-colors duration-150",{variants:{variant:{primary:"",success:"",warning:"",danger:"",minor:"",dark:"",light:"",text:""},outline:{true:"",false:""},size:{xs:"px-2 py-0.5 text-[10px]",sm:"px-2.5 py-0.5 text-xs",md:"px-2.5 py-1 text-xs",lg:"px-3 py-1 text-sm",xl:"px-3.5 py-1.5 text-sm"},rounded:Mt,shadow:xr},compoundVariants:[{variant:"primary",outline:!1,className:"bg-blue-600 text-white"},{variant:"primary",outline:!0,className:"border-blue-600 text-blue-600"},{variant:"success",outline:!1,className:"bg-green-600 text-white"},{variant:"success",outline:!0,className:"border-green-600 text-green-600"},{variant:"warning",outline:!1,className:"bg-yellow-500 text-white"},{variant:"warning",outline:!0,className:"border-yellow-500 text-yellow-600"},{variant:"danger",outline:!1,className:"bg-red-600 text-white"},{variant:"danger",outline:!0,className:"border-red-600 text-red-600"},{variant:"minor",outline:!1,className:"bg-gray-200 text-gray-700"},{variant:"minor",outline:!0,className:"border-gray-300 text-gray-600"},{variant:"dark",outline:!1,className:"bg-black/90 text-white"},{variant:"dark",outline:!0,className:"border-black/90 text-black/90"},{variant:"light",outline:!1,className:"bg-white text-gray-900"},{variant:"light",outline:!0,className:"border-white text-white"},{variant:"text",outline:!1,className:"bg-gray-100 text-gray-600"},{variant:"text",outline:!0,className:"border-gray-300 text-gray-500"}],defaultVariants:{variant:"primary",outline:!1,size:"md"}});function jh(e){const{component:t,variant:r,outline:n,size:o,rounded:s,shadow:i,sx:a,style:l,className:d,class:f,...h}=e,v=t??"span",{roundedPreset:m,roundedStyle:b}=Zt(s),{shadowPreset:p,shadowStyle:x}=Yr(i),y=se(),{sxClassName:g,sxInlineStyle:w}=X(a,y);return c.jsx(v,{className:j(Rh({variant:r,outline:n,size:o,rounded:m,shadow:p}),g,d,f),style:L(l,b,x,w),...h})}jh.displayName="Chip";const Hl={neutral:"bg-slate-200 text-slate-700",primary:"bg-blue-600 text-white",success:"bg-emerald-600 text-white",warning:"bg-amber-200 text-amber-700",danger:"bg-red-600 text-white"},jP={neutral:"bg-slate-100 text-slate-700",primary:"bg-blue-100 text-blue-700",success:"bg-emerald-100 text-emerald-700",warning:"bg-amber-100 text-amber-700",danger:"bg-red-100 text-red-700"};function TP(e){const{className:t,class:r,sx:n,style:o,badgeContent:s,children:i,dot:a=!1,light:l=!1,showZero:d=!1,max:f=99,variant:h="neutral",...v}=e,m=se(),{sxClassName:b,sxInlineStyle:p}=X(n,m),x=typeof s=="number"?s:null,y=x===0&&!d,g=x!==null?x>f?`${f}+`:String(x):s,w=a?Hl[h]:l?jP[h]:Hl[h];return c.jsxs("span",{className:j("relative inline-flex",t,r),style:L(o,p),...v,children:[i,!y&&(a||g!==void 0)?c.jsx("span",{className:j("absolute -right-2 -top-2 inline-flex items-center justify-center rounded-full px-1 text-[10px] font-medium leading-4",w,a?"h-2 min-w-2 p-0":"min-w-4 h-4",b),children:a?null:g}):null]})}function AP(e){const{className:t,class:r,sx:n,style:o,bordered:s=!1,...i}=e,a=se(),{sxClassName:l,sxInlineStyle:d}=X(n,a);return c.jsx("ul",{className:j("m-0 list-none p-0",s&&"divide-y rounded-md border border-slate-200",l,t,r),style:L(o,d),...i})}function _P(e){const{description:t="暂无数据",image:r,children:n,className:o,class:s,...i}=e;return c.jsxs(Pe,{...i,className:j("flex flex-col items-center justify-center gap-2 py-10 text-slate-500",o,s),children:[r??c.jsx("div",{className:"text-4xl",children:"◻"}),c.jsx("div",{className:"text-sm",children:t}),n]})}function Wl(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function IP(e){if(e!==void 0)return typeof e=="number"?String(e):e}function jr(e,t,r){return Math.min(r,Math.max(t,e))}function OP(e,t){if(e.startsWith("data:")||e.startsWith("blob:")||e.includes("ldkj_retry="))return null;const r=e.match(/^([^?#]+)(\?[^#]*)?(#.*)?$/);if(!r)return null;const n=r[1],o=r[2]??"",s=r[3]??"",i=n.replace(/\.(png|jpe?g|webp|avif)$/i,`.${t}`);return i===n?null:`${i}${o}${s}`}function MP(e){return Array.from(new Set(e.filter(t=>Number.isFinite(t)&&t>0)))}function LP(e,t){const{width:r,height:n,crop:o}=t;if(!o||r===void 0||n===void 0||e.startsWith("data:")||e.startsWith("blob:")||e.includes("x-oss-process=")||e.includes("ldkj_retry="))return e;const s=`x-oss-process=image/resize,m_fill,w_${r},h_${n}`;return`${e}${e.includes("?")?"&":"?"}${s}`}const Th=u.forwardRef(function(t,r){const{className:n,class:o,sx:s,style:i,fallback:a,fallbackSrc:l,loadingFallback:d,fit:f,position:h,aspectRatio:v,placeholder:m,blurDataURL:b,retry:p=0,retryDelay:x=800,onLoadingChange:y,loader:g,quality:w,format:P,crop:C=!1,alt:N,src:q,width:S,height:k,sizes:T,loading:E,decoding:R,onLoad:A,onError:_,sources:O,formats:I,responsiveWidths:$,preview:M=!1,children:U,...D}=t,G=se(),{sxClassName:me,sxInlineStyle:te}=X(s,G),[J,H]=u.useState(q?"loading":"idle"),[Y,B]=u.useState(q),[Q,z]=u.useState(!1),[K,W]=u.useState(1),[Z,ae]=u.useState({x:0,y:0}),[ue,pe]=u.useState(!1),ve=u.useRef(0),ie=u.useRef(null),ye=u.useRef(null),Se=u.useRef(null),Ie=u.useRef(null);u.useEffect(()=>{ve.current=0,B(q),H(q?"loading":"idle"),z(!1),W(1),ae({x:0,y:0}),pe(!1)},[q]),u.useEffect(()=>{y?.(J==="loading")},[y,J]),u.useEffect(()=>{process.env.NODE_ENV!=="production"&&N===void 0&&console.warn('Image missing alt prop. Use alt text or alt="" for decorative images.')},[N]),u.useEffect(()=>()=>{ie.current&&clearTimeout(ie.current)},[]),u.useEffect(()=>{if(!Q)return;Ie.current=document.activeElement,Se.current?.focus();const F=le=>{if(le.key==="Escape"){z(!1),W(1),ae({x:0,y:0}),pe(!1);return}if(le.key==="+"||le.key==="="){W(xe=>jr(Number((xe+.2).toFixed(2)),1,4));return}if(le.key==="-"||le.key==="_"){W(xe=>jr(Number((xe-.2).toFixed(2)),1,4));return}le.key==="0"&&(W(1),ae({x:0,y:0}))},V=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",F),()=>{document.body.style.overflow=V,window.removeEventListener("keydown",F),Ie.current?.focus?.()}},[Q]),u.useEffect(()=>{if(!Q||!ue)return;const F=le=>{const xe=ye.current;if(!xe)return;const Ce=le.clientX-xe.x,Te=le.clientY-xe.y;ae({x:xe.offsetX+Ce,y:xe.offsetY+Te})},V=()=>{pe(!1),ye.current=null};return window.addEventListener("mousemove",F),window.addEventListener("mouseup",V),()=>{window.removeEventListener("mousemove",F),window.removeEventListener("mouseup",V)}},[Q,ue]);const oe=typeof S=="number"?S:void 0,we=typeof k=="number"?k:void 0,Ee=u.useMemo(()=>{const F=$??[],V=oe?[...F,oe]:F;return MP(V).sort((le,xe)=>le-xe)},[$,oe]),de=u.useCallback((F,V,le)=>g?g(F,{width:le??oe,height:we,quality:w,format:V??P,crop:C}):LP(F,{width:le??oe,height:we,crop:C}),[g,oe,we,w,P,C]),Ae=Y&&de(Y),fe=u.useMemo(()=>{if(!Y||!I?.length)return[];const F=[];for(const V of I){const le=OP(Y,V);if(!le)continue;if(g&&Ee.length){const Ce=Ee.map(Te=>`${de(le,V,Te)} ${Te}w`).join(", ");F.push({type:`image/${V}`,srcSet:Ce,sizes:T});continue}const xe=de(le,V);!xe||xe===Ae||F.push({type:`image/${V}`,srcSet:xe,sizes:T})}return F},[Y,I,de,Ae,T,g,Ee]),re=u.useMemo(()=>!g||!Y||!Ee.length?null:{srcSet:Ee.map(V=>`${de(Y,P,V)} ${V}w`).join(", "),sizes:T},[g,Y,Ee,de,P,T]),he=u.useMemo(()=>{const V=[...O??[]];return fe.length&&V.push(...fe),re&&V.push(re),V},[O,fe,re]),Re=J==="loading"&&d,_e=J==="loading"&&m==="blur"&&!!b,Ye=J==="error"&&a,Ve=M&&J==="loaded"&&!!Ae&&!Ye,nt={status:J,loading:J==="loading",error:J==="error",loaded:J==="loaded",previewOpen:Q,src:Ae??void 0},Ct=L({width:Wl(S),height:v?void 0:Wl(k),aspectRatio:IP(v),backgroundImage:_e?`url(${b})`:void 0,backgroundSize:_e?"cover":void 0,backgroundPosition:_e?"center":void 0},i,te),ot={width:"100%",height:v||k!==void 0?"100%":"auto",objectFit:f,objectPosition:h,opacity:_e?0:void 0,transition:_e?"opacity 180ms ease":void 0,cursor:Ve?"zoom-in":void 0},ht={transform:`translate(${Z.x}px, ${Z.y}px) scale(${K})`,transition:ue?void 0:"transform 120ms ease",cursor:K>1?ue?"grabbing":"grab":"zoom-in",transformOrigin:"center center"},st=F=>{if(ve.current<p&&Y){ve.current+=1,ie.current=setTimeout(()=>{const V=Y.includes("?")?"&":"?";B(`${Y}${V}ldkj_retry=${ve.current}`),H("loading")},x),_?.(F);return}if(l&&Y!==l){B(l),H("loading"),_?.(F);return}H("error"),_?.(F)},sr=u.useCallback(()=>{z(!1),W(1),ae({x:0,y:0}),pe(!1)},[]),mt=F=>{F.preventDefault(),F.stopPropagation();const V=F.deltaY<0?.2:-.2;W(le=>jr(Number((le+V).toFixed(2)),1,4))};return c.jsxs(c.Fragment,{children:[c.jsxs("span",{className:j("relative inline-block max-w-full overflow-hidden align-middle",me,n,o),style:Ct,children:[Ye?a:he.length?c.jsxs("picture",{children:[he.map((F,V)=>c.jsx("source",{media:F.media,srcSet:F.srcSet,type:F.type,sizes:F.sizes},`${F.type??"source"}-${V}`)),c.jsx("img",{ref:r,alt:N,src:Ae,width:S,height:k,sizes:T,loading:E??"lazy",decoding:R??"async",onLoad:F=>{H("loaded"),A?.(F)},onError:st,onClick:()=>{Ve&&(z(!0),W(1),ae({x:0,y:0}))},className:"block max-w-full",style:ot,...D})]}):c.jsx("img",{ref:r,alt:N,src:Ae,width:S,height:k,sizes:T,loading:E??"lazy",decoding:R??"async",onLoad:F=>{H("loaded"),A?.(F)},onError:st,onClick:()=>{Ve&&(z(!0),W(1),ae({x:0,y:0}))},className:"block max-w-full",style:ot,...D}),Re?c.jsx("span",{className:"absolute inset-0 flex items-center justify-center",children:d}):null,U?c.jsx("span",{className:"pointer-events-none absolute inset-0",children:U(nt)}):null]}),Q&&Ae?c.jsxs("span",{className:"fixed inset-0 z-[1200] flex items-center justify-center bg-black/80 p-6",role:"dialog","aria-modal":"true","aria-label":"Image preview",onClick:sr,onWheel:mt,children:[c.jsx("img",{src:Ae,alt:N,className:"max-h-[88vh] max-w-[92vw] select-none rounded-md object-contain shadow-2xl",style:ht,onClick:F=>F.stopPropagation(),onMouseDown:F=>{K<=1||(F.preventDefault(),F.stopPropagation(),ye.current={x:F.clientX,y:F.clientY,offsetX:Z.x,offsetY:Z.y},pe(!0))}}),c.jsxs("span",{className:"absolute right-5 top-5 flex items-center gap-2",children:[c.jsx("button",{type:"button",className:"rounded-md bg-white/90 px-2.5 py-1.5 text-xs font-medium text-slate-800 hover:bg-white",onClick:F=>{F.stopPropagation(),W(V=>jr(V-.2,1,4))},children:"-"}),c.jsx("button",{type:"button",className:"rounded-md bg-white/90 px-2.5 py-1.5 text-xs font-medium text-slate-800 hover:bg-white",onClick:F=>{F.stopPropagation(),W(V=>jr(V+.2,1,4))},children:"+"}),c.jsx("button",{type:"button",className:"rounded-md bg-white/90 px-2.5 py-1.5 text-xs font-medium text-slate-800 hover:bg-white",onClick:F=>{F.stopPropagation(),W(1),ae({x:0,y:0})},children:"重置"}),c.jsx("button",{ref:Se,type:"button",className:"rounded-md bg-white/90 px-3 py-1.5 text-xs font-medium text-slate-800 hover:bg-white","aria-label":"Close preview",onClick:F=>{F.stopPropagation(),sr()},children:"关闭"})]})]}):null]})});Th.displayName="Image";var cr={},ns,Gl;function DP(){return Gl||(Gl=1,ns=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),ns}var os={},Et={},Kl;function nr(){if(Kl)return Et;Kl=1;let e;const t=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return Et.getSymbolSize=function(n){if(!n)throw new Error('"version" cannot be null or undefined');if(n<1||n>40)throw new Error('"version" should be in range from 1 to 40');return n*4+17},Et.getSymbolTotalCodewords=function(n){return t[n]},Et.getBCHDigit=function(r){let n=0;for(;r!==0;)n++,r>>>=1;return n},Et.setToSJISFunction=function(n){if(typeof n!="function")throw new Error('"toSJISFunc" is not a valid function.');e=n},Et.isKanjiModeEnabled=function(){return typeof e<"u"},Et.toSJIS=function(n){return e(n)},Et}var ss={},Ul;function ea(){return Ul||(Ul=1,(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+r)}}e.isValid=function(n){return n&&typeof n.bit<"u"&&n.bit>=0&&n.bit<4},e.from=function(n,o){if(e.isValid(n))return n;try{return t(n)}catch{return o}}})(ss)),ss}var is,Yl;function BP(){if(Yl)return is;Yl=1;function e(){this.buffer=[],this.length=0}return e.prototype={get:function(t){const r=Math.floor(t/8);return(this.buffer[r]>>>7-t%8&1)===1},put:function(t,r){for(let n=0;n<r;n++)this.putBit((t>>>r-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const r=Math.floor(this.length/8);this.buffer.length<=r&&this.buffer.push(0),t&&(this.buffer[r]|=128>>>this.length%8),this.length++}},is=e,is}var as,Xl;function FP(){if(Xl)return as;Xl=1;function e(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}return e.prototype.set=function(t,r,n,o){const s=t*this.size+r;this.data[s]=n,o&&(this.reservedBit[s]=!0)},e.prototype.get=function(t,r){return this.data[t*this.size+r]},e.prototype.xor=function(t,r,n){this.data[t*this.size+r]^=n},e.prototype.isReserved=function(t,r){return this.reservedBit[t*this.size+r]},as=e,as}var ls={},Jl;function $P(){return Jl||(Jl=1,(function(e){const t=nr().getSymbolSize;e.getRowColCoords=function(n){if(n===1)return[];const o=Math.floor(n/7)+2,s=t(n),i=s===145?26:Math.ceil((s-13)/(2*o-2))*2,a=[s-7];for(let l=1;l<o-1;l++)a[l]=a[l-1]-i;return a.push(6),a.reverse()},e.getPositions=function(n){const o=[],s=e.getRowColCoords(n),i=s.length;for(let a=0;a<i;a++)for(let l=0;l<i;l++)a===0&&l===0||a===0&&l===i-1||a===i-1&&l===0||o.push([s[a],s[l]]);return o}})(ls)),ls}var cs={},Ql;function VP(){if(Ql)return cs;Ql=1;const e=nr().getSymbolSize,t=7;return cs.getPositions=function(n){const o=e(n);return[[0,0],[o-t,0],[0,o-t]]},cs}var us={},Zl;function zP(){return Zl||(Zl=1,(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(o){return o!=null&&o!==""&&!isNaN(o)&&o>=0&&o<=7},e.from=function(o){return e.isValid(o)?parseInt(o,10):void 0},e.getPenaltyN1=function(o){const s=o.size;let i=0,a=0,l=0,d=null,f=null;for(let h=0;h<s;h++){a=l=0,d=f=null;for(let v=0;v<s;v++){let m=o.get(h,v);m===d?a++:(a>=5&&(i+=t.N1+(a-5)),d=m,a=1),m=o.get(v,h),m===f?l++:(l>=5&&(i+=t.N1+(l-5)),f=m,l=1)}a>=5&&(i+=t.N1+(a-5)),l>=5&&(i+=t.N1+(l-5))}return i},e.getPenaltyN2=function(o){const s=o.size;let i=0;for(let a=0;a<s-1;a++)for(let l=0;l<s-1;l++){const d=o.get(a,l)+o.get(a,l+1)+o.get(a+1,l)+o.get(a+1,l+1);(d===4||d===0)&&i++}return i*t.N2},e.getPenaltyN3=function(o){const s=o.size;let i=0,a=0,l=0;for(let d=0;d<s;d++){a=l=0;for(let f=0;f<s;f++)a=a<<1&2047|o.get(d,f),f>=10&&(a===1488||a===93)&&i++,l=l<<1&2047|o.get(f,d),f>=10&&(l===1488||l===93)&&i++}return i*t.N3},e.getPenaltyN4=function(o){let s=0;const i=o.data.length;for(let l=0;l<i;l++)s+=o.data[l];return Math.abs(Math.ceil(s*100/i/5)-10)*t.N4};function r(n,o,s){switch(n){case e.Patterns.PATTERN000:return(o+s)%2===0;case e.Patterns.PATTERN001:return o%2===0;case e.Patterns.PATTERN010:return s%3===0;case e.Patterns.PATTERN011:return(o+s)%3===0;case e.Patterns.PATTERN100:return(Math.floor(o/2)+Math.floor(s/3))%2===0;case e.Patterns.PATTERN101:return o*s%2+o*s%3===0;case e.Patterns.PATTERN110:return(o*s%2+o*s%3)%2===0;case e.Patterns.PATTERN111:return(o*s%3+(o+s)%2)%2===0;default:throw new Error("bad maskPattern:"+n)}}e.applyMask=function(o,s){const i=s.size;for(let a=0;a<i;a++)for(let l=0;l<i;l++)s.isReserved(l,a)||s.xor(l,a,r(o,l,a))},e.getBestMask=function(o,s){const i=Object.keys(e.Patterns).length;let a=0,l=1/0;for(let d=0;d<i;d++){s(d),e.applyMask(d,o);const f=e.getPenaltyN1(o)+e.getPenaltyN2(o)+e.getPenaltyN3(o)+e.getPenaltyN4(o);e.applyMask(d,o),f<l&&(l=f,a=d)}return a}})(us)),us}var Nn={},ec;function Ah(){if(ec)return Nn;ec=1;const e=ea(),t=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],r=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return Nn.getBlocksCount=function(o,s){switch(s){case e.L:return t[(o-1)*4+0];case e.M:return t[(o-1)*4+1];case e.Q:return t[(o-1)*4+2];case e.H:return t[(o-1)*4+3];default:return}},Nn.getTotalCodewordsCount=function(o,s){switch(s){case e.L:return r[(o-1)*4+0];case e.M:return r[(o-1)*4+1];case e.Q:return r[(o-1)*4+2];case e.H:return r[(o-1)*4+3];default:return}},Nn}var ds={},Tr={},tc;function HP(){if(tc)return Tr;tc=1;const e=new Uint8Array(512),t=new Uint8Array(256);return(function(){let n=1;for(let o=0;o<255;o++)e[o]=n,t[n]=o,n<<=1,n&256&&(n^=285);for(let o=255;o<512;o++)e[o]=e[o-255]})(),Tr.log=function(n){if(n<1)throw new Error("log("+n+")");return t[n]},Tr.exp=function(n){return e[n]},Tr.mul=function(n,o){return n===0||o===0?0:e[t[n]+t[o]]},Tr}var rc;function WP(){return rc||(rc=1,(function(e){const t=HP();e.mul=function(n,o){const s=new Uint8Array(n.length+o.length-1);for(let i=0;i<n.length;i++)for(let a=0;a<o.length;a++)s[i+a]^=t.mul(n[i],o[a]);return s},e.mod=function(n,o){let s=new Uint8Array(n);for(;s.length-o.length>=0;){const i=s[0];for(let l=0;l<o.length;l++)s[l]^=t.mul(o[l],i);let a=0;for(;a<s.length&&s[a]===0;)a++;s=s.slice(a)}return s},e.generateECPolynomial=function(n){let o=new Uint8Array([1]);for(let s=0;s<n;s++)o=e.mul(o,new Uint8Array([1,t.exp(s)]));return o}})(ds)),ds}var fs,nc;function GP(){if(nc)return fs;nc=1;const e=WP();function t(r){this.genPoly=void 0,this.degree=r,this.degree&&this.initialize(this.degree)}return t.prototype.initialize=function(n){this.degree=n,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(n){if(!this.genPoly)throw new Error("Encoder not initialized");const o=new Uint8Array(n.length+this.degree);o.set(n);const s=e.mod(o,this.genPoly),i=this.degree-s.length;if(i>0){const a=new Uint8Array(this.degree);return a.set(s,i),a}return s},fs=t,fs}var hs={},ms={},ps={},oc;function _h(){return oc||(oc=1,ps.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),ps}var it={},sc;function Ih(){if(sc)return it;sc=1;const e="[0-9]+",t="[A-Z $%*+\\-./:]+";let r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";r=r.replace(/u/g,"\\u");const n="(?:(?![A-Z0-9 $%*+\\-./:]|"+r+`)(?:.|[\r
|
|
42
|
+
]))+`;it.KANJI=new RegExp(r,"g"),it.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),it.BYTE=new RegExp(n,"g"),it.NUMERIC=new RegExp(e,"g"),it.ALPHANUMERIC=new RegExp(t,"g");const o=new RegExp("^"+r+"$"),s=new RegExp("^"+e+"$"),i=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return it.testKanji=function(l){return o.test(l)},it.testNumeric=function(l){return s.test(l)},it.testAlphanumeric=function(l){return i.test(l)},it}var ic;function or(){return ic||(ic=1,(function(e){const t=_h(),r=Ih();e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(s,i){if(!s.ccBits)throw new Error("Invalid mode: "+s);if(!t.isValid(i))throw new Error("Invalid version: "+i);return i>=1&&i<10?s.ccBits[0]:i<27?s.ccBits[1]:s.ccBits[2]},e.getBestModeForData=function(s){return r.testNumeric(s)?e.NUMERIC:r.testAlphanumeric(s)?e.ALPHANUMERIC:r.testKanji(s)?e.KANJI:e.BYTE},e.toString=function(s){if(s&&s.id)return s.id;throw new Error("Invalid mode")},e.isValid=function(s){return s&&s.bit&&s.ccBits};function n(o){if(typeof o!="string")throw new Error("Param is not a string");switch(o.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+o)}}e.from=function(s,i){if(e.isValid(s))return s;try{return n(s)}catch{return i}}})(ms)),ms}var ac;function KP(){return ac||(ac=1,(function(e){const t=nr(),r=Ah(),n=ea(),o=or(),s=_h(),i=7973,a=t.getBCHDigit(i);function l(v,m,b){for(let p=1;p<=40;p++)if(m<=e.getCapacity(p,b,v))return p}function d(v,m){return o.getCharCountIndicator(v,m)+4}function f(v,m){let b=0;return v.forEach(function(p){const x=d(p.mode,m);b+=x+p.getBitsLength()}),b}function h(v,m){for(let b=1;b<=40;b++)if(f(v,b)<=e.getCapacity(b,m,o.MIXED))return b}e.from=function(m,b){return s.isValid(m)?parseInt(m,10):b},e.getCapacity=function(m,b,p){if(!s.isValid(m))throw new Error("Invalid QR Code version");typeof p>"u"&&(p=o.BYTE);const x=t.getSymbolTotalCodewords(m),y=r.getTotalCodewordsCount(m,b),g=(x-y)*8;if(p===o.MIXED)return g;const w=g-d(p,m);switch(p){case o.NUMERIC:return Math.floor(w/10*3);case o.ALPHANUMERIC:return Math.floor(w/11*2);case o.KANJI:return Math.floor(w/13);case o.BYTE:default:return Math.floor(w/8)}},e.getBestVersionForData=function(m,b){let p;const x=n.from(b,n.M);if(Array.isArray(m)){if(m.length>1)return h(m,x);if(m.length===0)return 1;p=m[0]}else p=m;return l(p.mode,p.getLength(),x)},e.getEncodedBits=function(m){if(!s.isValid(m)||m<7)throw new Error("Invalid QR Code version");let b=m<<12;for(;t.getBCHDigit(b)-a>=0;)b^=i<<t.getBCHDigit(b)-a;return m<<12|b}})(hs)),hs}var vs={},lc;function UP(){if(lc)return vs;lc=1;const e=nr(),t=1335,r=21522,n=e.getBCHDigit(t);return vs.getEncodedBits=function(s,i){const a=s.bit<<3|i;let l=a<<10;for(;e.getBCHDigit(l)-n>=0;)l^=t<<e.getBCHDigit(l)-n;return(a<<10|l)^r},vs}var gs={},bs,cc;function YP(){if(cc)return bs;cc=1;const e=or();function t(r){this.mode=e.NUMERIC,this.data=r.toString()}return t.getBitsLength=function(n){return 10*Math.floor(n/3)+(n%3?n%3*3+1:0)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(n){let o,s,i;for(o=0;o+3<=this.data.length;o+=3)s=this.data.substr(o,3),i=parseInt(s,10),n.put(i,10);const a=this.data.length-o;a>0&&(s=this.data.substr(o),i=parseInt(s,10),n.put(i,a*3+1))},bs=t,bs}var xs,uc;function XP(){if(uc)return xs;uc=1;const e=or(),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function r(n){this.mode=e.ALPHANUMERIC,this.data=n}return r.getBitsLength=function(o){return 11*Math.floor(o/2)+6*(o%2)},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(o){let s;for(s=0;s+2<=this.data.length;s+=2){let i=t.indexOf(this.data[s])*45;i+=t.indexOf(this.data[s+1]),o.put(i,11)}this.data.length%2&&o.put(t.indexOf(this.data[s]),6)},xs=r,xs}var ys,dc;function JP(){if(dc)return ys;dc=1;const e=or();function t(r){this.mode=e.BYTE,typeof r=="string"?this.data=new TextEncoder().encode(r):this.data=new Uint8Array(r)}return t.getBitsLength=function(n){return n*8},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(r){for(let n=0,o=this.data.length;n<o;n++)r.put(this.data[n],8)},ys=t,ys}var ws,fc;function QP(){if(fc)return ws;fc=1;const e=or(),t=nr();function r(n){this.mode=e.KANJI,this.data=n}return r.getBitsLength=function(o){return o*13},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(n){let o;for(o=0;o<this.data.length;o++){let s=t.toSJIS(this.data[o]);if(s>=33088&&s<=40956)s-=33088;else if(s>=57408&&s<=60351)s-=49472;else throw new Error("Invalid SJIS character: "+this.data[o]+`
|
|
43
|
+
Make sure your charset is UTF-8`);s=(s>>>8&255)*192+(s&255),n.put(s,13)}},ws=r,ws}var Ps={exports:{}},hc;function ZP(){return hc||(hc=1,(function(e){var t={single_source_shortest_paths:function(r,n,o){var s={},i={};i[n]=0;var a=t.PriorityQueue.make();a.push(n,0);for(var l,d,f,h,v,m,b,p,x;!a.empty();){l=a.pop(),d=l.value,h=l.cost,v=r[d]||{};for(f in v)v.hasOwnProperty(f)&&(m=v[f],b=h+m,p=i[f],x=typeof i[f]>"u",(x||p>b)&&(i[f]=b,a.push(f,b),s[f]=d))}if(typeof o<"u"&&typeof i[o]>"u"){var y=["Could not find a path from ",n," to ",o,"."].join("");throw new Error(y)}return s},extract_shortest_path_from_predecessor_list:function(r,n){for(var o=[],s=n;s;)o.push(s),r[s],s=r[s];return o.reverse(),o},find_path:function(r,n,o){var s=t.single_source_shortest_paths(r,n,o);return t.extract_shortest_path_from_predecessor_list(s,o)},PriorityQueue:{make:function(r){var n=t.PriorityQueue,o={},s;r=r||{};for(s in n)n.hasOwnProperty(s)&&(o[s]=n[s]);return o.queue=[],o.sorter=r.sorter||n.default_sorter,o},default_sorter:function(r,n){return r.cost-n.cost},push:function(r,n){var o={value:r,cost:n};this.queue.push(o),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(Ps)),Ps.exports}var mc;function eC(){return mc||(mc=1,(function(e){const t=or(),r=YP(),n=XP(),o=JP(),s=QP(),i=Ih(),a=nr(),l=ZP();function d(y){return unescape(encodeURIComponent(y)).length}function f(y,g,w){const P=[];let C;for(;(C=y.exec(w))!==null;)P.push({data:C[0],index:C.index,mode:g,length:C[0].length});return P}function h(y){const g=f(i.NUMERIC,t.NUMERIC,y),w=f(i.ALPHANUMERIC,t.ALPHANUMERIC,y);let P,C;return a.isKanjiModeEnabled()?(P=f(i.BYTE,t.BYTE,y),C=f(i.KANJI,t.KANJI,y)):(P=f(i.BYTE_KANJI,t.BYTE,y),C=[]),g.concat(w,P,C).sort(function(q,S){return q.index-S.index}).map(function(q){return{data:q.data,mode:q.mode,length:q.length}})}function v(y,g){switch(g){case t.NUMERIC:return r.getBitsLength(y);case t.ALPHANUMERIC:return n.getBitsLength(y);case t.KANJI:return s.getBitsLength(y);case t.BYTE:return o.getBitsLength(y)}}function m(y){return y.reduce(function(g,w){const P=g.length-1>=0?g[g.length-1]:null;return P&&P.mode===w.mode?(g[g.length-1].data+=w.data,g):(g.push(w),g)},[])}function b(y){const g=[];for(let w=0;w<y.length;w++){const P=y[w];switch(P.mode){case t.NUMERIC:g.push([P,{data:P.data,mode:t.ALPHANUMERIC,length:P.length},{data:P.data,mode:t.BYTE,length:P.length}]);break;case t.ALPHANUMERIC:g.push([P,{data:P.data,mode:t.BYTE,length:P.length}]);break;case t.KANJI:g.push([P,{data:P.data,mode:t.BYTE,length:d(P.data)}]);break;case t.BYTE:g.push([{data:P.data,mode:t.BYTE,length:d(P.data)}])}}return g}function p(y,g){const w={},P={start:{}};let C=["start"];for(let N=0;N<y.length;N++){const q=y[N],S=[];for(let k=0;k<q.length;k++){const T=q[k],E=""+N+k;S.push(E),w[E]={node:T,lastCount:0},P[E]={};for(let R=0;R<C.length;R++){const A=C[R];w[A]&&w[A].node.mode===T.mode?(P[A][E]=v(w[A].lastCount+T.length,T.mode)-v(w[A].lastCount,T.mode),w[A].lastCount+=T.length):(w[A]&&(w[A].lastCount=T.length),P[A][E]=v(T.length,T.mode)+4+t.getCharCountIndicator(T.mode,g))}}C=S}for(let N=0;N<C.length;N++)P[C[N]].end=0;return{map:P,table:w}}function x(y,g){let w;const P=t.getBestModeForData(y);if(w=t.from(g,P),w!==t.BYTE&&w.bit<P.bit)throw new Error('"'+y+'" cannot be encoded with mode '+t.toString(w)+`.
|
|
44
|
+
Suggested mode is: `+t.toString(P));switch(w===t.KANJI&&!a.isKanjiModeEnabled()&&(w=t.BYTE),w){case t.NUMERIC:return new r(y);case t.ALPHANUMERIC:return new n(y);case t.KANJI:return new s(y);case t.BYTE:return new o(y)}}e.fromArray=function(g){return g.reduce(function(w,P){return typeof P=="string"?w.push(x(P,null)):P.data&&w.push(x(P.data,P.mode)),w},[])},e.fromString=function(g,w){const P=h(g,a.isKanjiModeEnabled()),C=b(P),N=p(C,w),q=l.find_path(N.map,"start","end"),S=[];for(let k=1;k<q.length-1;k++)S.push(N.table[q[k]].node);return e.fromArray(m(S))},e.rawSplit=function(g){return e.fromArray(h(g,a.isKanjiModeEnabled()))}})(gs)),gs}var pc;function tC(){if(pc)return os;pc=1;const e=nr(),t=ea(),r=BP(),n=FP(),o=$P(),s=VP(),i=zP(),a=Ah(),l=GP(),d=KP(),f=UP(),h=or(),v=eC();function m(N,q){const S=N.size,k=s.getPositions(q);for(let T=0;T<k.length;T++){const E=k[T][0],R=k[T][1];for(let A=-1;A<=7;A++)if(!(E+A<=-1||S<=E+A))for(let _=-1;_<=7;_++)R+_<=-1||S<=R+_||(A>=0&&A<=6&&(_===0||_===6)||_>=0&&_<=6&&(A===0||A===6)||A>=2&&A<=4&&_>=2&&_<=4?N.set(E+A,R+_,!0,!0):N.set(E+A,R+_,!1,!0))}}function b(N){const q=N.size;for(let S=8;S<q-8;S++){const k=S%2===0;N.set(S,6,k,!0),N.set(6,S,k,!0)}}function p(N,q){const S=o.getPositions(q);for(let k=0;k<S.length;k++){const T=S[k][0],E=S[k][1];for(let R=-2;R<=2;R++)for(let A=-2;A<=2;A++)R===-2||R===2||A===-2||A===2||R===0&&A===0?N.set(T+R,E+A,!0,!0):N.set(T+R,E+A,!1,!0)}}function x(N,q){const S=N.size,k=d.getEncodedBits(q);let T,E,R;for(let A=0;A<18;A++)T=Math.floor(A/3),E=A%3+S-8-3,R=(k>>A&1)===1,N.set(T,E,R,!0),N.set(E,T,R,!0)}function y(N,q,S){const k=N.size,T=f.getEncodedBits(q,S);let E,R;for(E=0;E<15;E++)R=(T>>E&1)===1,E<6?N.set(E,8,R,!0):E<8?N.set(E+1,8,R,!0):N.set(k-15+E,8,R,!0),E<8?N.set(8,k-E-1,R,!0):E<9?N.set(8,15-E-1+1,R,!0):N.set(8,15-E-1,R,!0);N.set(k-8,8,1,!0)}function g(N,q){const S=N.size;let k=-1,T=S-1,E=7,R=0;for(let A=S-1;A>0;A-=2)for(A===6&&A--;;){for(let _=0;_<2;_++)if(!N.isReserved(T,A-_)){let O=!1;R<q.length&&(O=(q[R]>>>E&1)===1),N.set(T,A-_,O),E--,E===-1&&(R++,E=7)}if(T+=k,T<0||S<=T){T-=k,k=-k;break}}}function w(N,q,S){const k=new r;S.forEach(function(_){k.put(_.mode.bit,4),k.put(_.getLength(),h.getCharCountIndicator(_.mode,N)),_.write(k)});const T=e.getSymbolTotalCodewords(N),E=a.getTotalCodewordsCount(N,q),R=(T-E)*8;for(k.getLengthInBits()+4<=R&&k.put(0,4);k.getLengthInBits()%8!==0;)k.putBit(0);const A=(R-k.getLengthInBits())/8;for(let _=0;_<A;_++)k.put(_%2?17:236,8);return P(k,N,q)}function P(N,q,S){const k=e.getSymbolTotalCodewords(q),T=a.getTotalCodewordsCount(q,S),E=k-T,R=a.getBlocksCount(q,S),A=k%R,_=R-A,O=Math.floor(k/R),I=Math.floor(E/R),$=I+1,M=O-I,U=new l(M);let D=0;const G=new Array(R),me=new Array(R);let te=0;const J=new Uint8Array(N.buffer);for(let z=0;z<R;z++){const K=z<_?I:$;G[z]=J.slice(D,D+K),me[z]=U.encode(G[z]),D+=K,te=Math.max(te,K)}const H=new Uint8Array(k);let Y=0,B,Q;for(B=0;B<te;B++)for(Q=0;Q<R;Q++)B<G[Q].length&&(H[Y++]=G[Q][B]);for(B=0;B<M;B++)for(Q=0;Q<R;Q++)H[Y++]=me[Q][B];return H}function C(N,q,S,k){let T;if(Array.isArray(N))T=v.fromArray(N);else if(typeof N=="string"){let O=q;if(!O){const I=v.rawSplit(N);O=d.getBestVersionForData(I,S)}T=v.fromString(N,O||40)}else throw new Error("Invalid data");const E=d.getBestVersionForData(T,S);if(!E)throw new Error("The amount of data is too big to be stored in a QR Code");if(!q)q=E;else if(q<E)throw new Error(`
|
|
45
45
|
The chosen QR Code version cannot contain this amount of data.
|
|
46
46
|
Minimum version required to store current data is: `+E+`.
|
|
47
|
-
`);const R=
|
|
48
|
-
`;return typeof a=="function"&&a(null,x),x},xs}var lc;function Tw(){if(lc)return lr;lc=1;const e=hw(),t=jw(),r=Aw(),n=_w();function o(s,i,a,l,u){const f=[].slice.call(arguments,1),h=f.length,v=typeof f[h-1]=="function";if(!v&&!e())throw new Error("Callback required as last argument");if(v){if(h<2)throw new Error("Too few arguments provided");h===2?(u=a,a=i,i=l=void 0):h===3&&(i.getContext&&typeof u>"u"?(u=l,l=void 0):(u=l,l=a,a=i,i=void 0))}else{if(h<1)throw new Error("Too few arguments provided");return h===1?(a=i,i=l=void 0):h===2&&!i.getContext&&(l=a,a=i,i=void 0),new Promise(function(m,b){try{const p=t.create(a,l);m(s(p,i,l))}catch(p){b(p)}})}try{const m=t.create(a,l);u(null,s(m,i,l))}catch(m){u(m)}}return lr.create=t.create,lr.toCanvas=o.bind(null,r.render),lr.toDataURL=o.bind(null,r.renderToDataURL),lr.toString=o.bind(null,function(s,i,a){return n.render(s,a)}),lr}var Iw=Tw();const Ki=WP(Iw),Ph=({value:e,useful:t=!0,uselessElem:r,uselessProps:{style:n={},...o}={},foregroundColor:s="#000000",backgroundColor:i="#ffffff",margin:a=4,errorCorrectionLevel:l="medium",size:u=200,fullWidth:f,sx:h,className:v,style:m,...b})=>{const p=je.useRef(null),x=je.useRef(null),y=se(),{sxClassName:g,sxInlineStyle:P}=X(h,y),w=je.useCallback(S=>{const N=p.current;N&&Ki.toCanvas(N,e,{errorCorrectionLevel:l,margin:a,width:S,color:{dark:s,light:i}},C=>{if(C&&console.error(C),!t){const q=N.getContext("2d");q&&(q.globalCompositeOperation="source-over",q.fillStyle="rgba(255, 255, 255, 0.5)",q.fillRect(0,0,N.width,N.height),q.filter="grayscale(100%) opacity(0.5)",q.drawImage(N,0,0))}})},[i,l,s,a,t,e]);return je.useEffect(()=>{const S=x.current;if(!S)return;const N=new ResizeObserver(()=>{const C=Math.min(S.clientWidth,S.clientHeight);w(C)});return N.observe(S),()=>N.disconnect()},[e,t,s,i,a,l,w]),c.jsxs("div",{ref:x,className:j(g,v),style:M(m,{width:f?"100%":u,height:f?"100%":u,display:"flex",aspectRatio:"1",position:"relative"},P),...b,children:[c.jsx("canvas",{ref:p}),!t&&r&&c.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",color:"white",background:"radial-gradient(circle at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0.3) 80%)",opacity:.5,...n},...o,children:r})]})},Ow=e=>e?{width:e,height:e}:{},wh=({size:e=200,fullWidth:t,sx:r,value:n,useful:o=!0,uselessElem:s,uselessProps:{style:i={},...a}={},alt:l,style:u,className:f,foregroundColor:h,backgroundColor:v,margin:m=4,errorCorrectionLevel:b,unload:p,width:x,height:y,...g})=>{const[P,w]=je.useState(""),[S,N]=je.useState(),C=je.useRef(null),q=se(),{sxClassName:k,sxInlineStyle:A}=X(r,q);return je.useEffect(()=>{if(!t)return;const E=C.current;if(!E)return;const R=()=>{N(Math.min(E.clientWidth,E.clientHeight))};R();const _=new ResizeObserver(R);return _.observe(E),()=>_.disconnect()},[t]),je.useEffect(()=>{const E=t?S:x?Kt.getInstance().convertToPx(x):e?Kt.getInstance().convertToPx(e):void 0;Ki.toDataURL(n,{color:{dark:h,light:v},width:E,margin:m,errorCorrectionLevel:b}).then(R=>w(R)).catch(R=>console.error(R))},[v,b,h,m,t,S,x,e,n]),P?c.jsxs("div",{ref:C,style:{width:t?"100%":e,height:t?"100%":e,display:"flex",aspectRatio:"1",position:"relative"},children:[c.jsx("img",{src:P,alt:l??"QR Code",className:j(k,f),style:M({filter:o?"none":"grayscale(100%) opacity(0.5)",transition:"filter 0.2s ease",position:"relative",...t?{width:"100%",height:"100%"}:Ow(e)},u,A),...!t&&{width:x,height:y},...g}),!o&&s&&c.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",color:"white",background:"radial-gradient(circle at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0.3) 80%)",opacity:.5,...i},...a,children:s})]}):c.jsx(c.Fragment,{children:p})};function Mw({canvas:e,...t}){return e?c.jsx(Ph,{...t}):c.jsx(wh,{...t})}const Lw=e=>e?{width:e,height:e}:{},Dw=({size:e,value:t,useful:r=!0,alt:n,style:o,foregroundColor:s,backgroundColor:i,margin:a,errorCorrectionLevel:l,unload:u,...f})=>{const[h,v]=je.useState("");return je.useEffect(()=>{Ki.toDataURL(t,{color:{dark:s,light:i},width:e,margin:a,errorCorrectionLevel:l}).then(m=>v(m)).catch(m=>console.error(m))},[i,l,s,a,e,t]),h?c.jsx("img",{src:h,alt:n??"QR Code",style:{filter:r?"none":"grayscale(100%) opacity(0.5)",transition:"filter 0.2s ease",...Lw(e),...o},...f}):c.jsx(c.Fragment,{children:u})},Ut={sm:"px-3 py-2 text-xs",md:"px-4 py-3 text-sm",lg:"px-5 py-4 text-base"},Bw={outlined:"border border-slate-200 bg-white",filled:"border border-slate-100 bg-slate-50",ghost:"border border-transparent bg-transparent"};function Ch(e){return null}function Sh(e){const{className:t,...r}=e;return c.jsx(we,{component:"thead",className:j("bg-slate-50",t),...r})}function Nh(e){return c.jsx(we,{component:"tbody",...e})}function Wn(e){const{className:t,...r}=e;return c.jsx(we,{component:"tr",className:j("border-b border-slate-100 last:border-b-0",t),...r})}function An(e){const{className:t,style:r,...n}=e;return c.jsx(we,{component:"th",scope:"col",className:j("whitespace-nowrap font-medium text-slate-700",t),style:M({textAlign:"left"},r),...n})}function Mr(e){const{className:t,style:r,...n}=e;return c.jsx(we,{component:"td",className:j("text-slate-700",t),style:M({textAlign:"left"},r),...n})}const ys="ellipsis";function Ps(e,t){return Number.isFinite(e)?Math.min(Math.max(Math.trunc(e),1),t):1}function ws(e,t){const r=Math.max(t-e+1,0);return Array.from({length:r},(n,o)=>e+o)}function Fw(e){const{count:t,page:r,defaultPage:n=1}=e,[o,s]=d.useState(()=>Ps(n,t)),i=r!==void 0,a=Ps(i?r:o,t);return d.useEffect(()=>{i||s(l=>Ps(l,t))},[t,i]),{page:a,setPage:s,isControlled:i}}function $w(e){const{count:t,page:r,siblingCount:n,boundaryCount:o,showPreviousNext:s,disabled:i}=e,a=ws(1,Math.min(o,t)),l=ws(Math.max(t-o+1,o+1),t),u=Math.max(Math.min(r-n,t-o-n*2-1),o+2),f=Math.min(Math.max(r+n,o+n*2+2),l.length>0?l[0]-2:t-1),v=[...a,...u>o+2?[ys]:o+1<t-o?[o+1]:[],...ws(u,f),...f<t-o-1?[ys]:t-o>o?[t-o]:[],...l].map(m=>m===ys?{type:"ellipsis",page:null,selected:!1,disabled:!0}:{type:"page",page:m,selected:m===r,disabled:i});return s?[{type:"previous",page:Math.max(r-1,1),selected:!1,disabled:i||r<=1},...v,{type:"next",page:Math.min(r+1,t),selected:!1,disabled:i||r>=t}]:v}const Ui=({count:e,page:t,defaultPage:r,onPageChange:n,siblingCount:o=1,boundaryCount:s=1,variant:i="filled",showPreviousNext:a=!0,disabled:l=!1,getItemHref:u,renderItem:f,contentProps:h,className:v,class:m,sx:b,style:p,children:x,...y})=>{const g=se(),{sxClassName:P,sxInlineStyle:w}=X(b,g),S=typeof e=="number"&&e>0,{page:N,setPage:C,isControlled:q}=Fw({count:S?e:1,page:t,defaultPage:r}),k=S?$w({count:e,page:N,siblingCount:Math.max(Math.trunc(o),0),boundaryCount:Math.max(Math.trunc(s),0),showPreviousNext:a,disabled:l}):[],A=(E,R,_)=>{if(_){E.preventDefault();return}E.preventDefault(),q||C(R),n?.(E,R)};return c.jsx("nav",{role:"navigation","aria-label":"分页",className:j("mx-auto flex w-full justify-center",P,v,m),style:M(p,w),...y,children:S?c.jsx(Yi,{...h,children:k.map((E,R)=>{const _=`${E.type}-${E.page??R}`,I=E.page===null?void 0:u?.(E.page,E.type)??`#page-${E.page}`,O=E.page===null?void 0:$=>A($,E.page,E.disabled),T={...E,href:I,onClick:O};return f?c.jsx(Gt,{children:f(T)},_):E.type==="ellipsis"?c.jsx(Gt,{children:c.jsx(Qi,{})},_):E.type==="previous"?c.jsx(Gt,{children:c.jsx(Xi,{href:I,variant:i,disabled:E.disabled,onClick:O})},_):E.type==="next"?c.jsx(Gt,{children:c.jsx(Ji,{href:I,variant:i,disabled:E.disabled,onClick:O})},_):c.jsx(Gt,{children:c.jsx(nn,{href:I,variant:i,isActive:E.selected,disabled:E.disabled,onClick:O,children:E.page})},_)})}):x})};Ui.displayName="Pagination";const Yi=d.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(r,i),u={listStyle:"none",margin:0,padding:0};return c.jsx("ul",{ref:s,className:j("m-0 flex list-none flex-row items-center gap-1 p-0",a,e,t),style:M(u,n,l),...o})});Yi.displayName="PaginationContent";const Gt=d.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(r,i);return c.jsx("li",{ref:s,className:j(a,e,t),style:M({listStyle:"none",margin:0},n,l),...o})});Gt.displayName="PaginationItem";function Vw(e,t){return t?e==="filled"?"primary":"outline":"ghost"}const nn=({className:e,class:t,isActive:r,disabled:n,variant:o="outline",size:s="icon",tabIndex:i,...a})=>c.jsx(Yr,{component:"a","aria-current":r?"page":void 0,"aria-disabled":n?!0:void 0,variant:Vw(o,r),size:s,tabIndex:n?-1:i,className:j(n&&"pointer-events-none opacity-50",r&&o==="filled"&&"!text-white hover:!text-white",e,t),...a});nn.displayName="PaginationLink";const Xi=({className:e,children:t,...r})=>c.jsx(nn,{"aria-label":"上一页",size:"md",className:j("gap-1 pl-2.5",e),...r,children:t??c.jsxs(c.Fragment,{children:[c.jsx(Fe,{name:"chevron_left",size:16}),c.jsx("span",{children:"上一页"})]})});Xi.displayName="PaginationPrevious";const Ji=({className:e,children:t,...r})=>c.jsx(nn,{"aria-label":"下一页",size:"md",className:j("gap-1 pr-2.5",e),...r,children:t??c.jsxs(c.Fragment,{children:[c.jsx("span",{children:"下一页"}),c.jsx(Fe,{name:"chevron_right",size:16})]})});Ji.displayName="PaginationNext";const Qi=({className:e,class:t,sx:r,style:n,...o})=>{const s=se(),{sxClassName:i,sxInlineStyle:a}=X(r,s);return c.jsxs("span",{"aria-hidden":!0,className:j("flex h-8 w-8 items-center justify-center",i,e,t),style:M(n,a),...o,children:[c.jsx(Fe,{name:"more_horiz",size:16}),c.jsx("span",{className:"sr-only",children:"更多页码"})]})};Qi.displayName="PaginationEllipsis";function Hr(e){return typeof e=="number"?`${e}px`:e}function zw(e,t){if(t)return e[String(t)]}function Zi(e,t){return e.key!==void 0?e.key:e.dataIndex!==void 0?String(e.dataIndex):t}function cc(e,t,r){if(typeof r=="function")return r(e,t);if(r){const o=e[String(r)];if(typeof o=="string"||typeof o=="number"||typeof o=="bigint")return o}const n=e.key;return typeof n=="string"||typeof n=="number"||typeof n=="bigint"?n:t}function Hw(e){const t=e[0];return t?Object.keys(t).map(r=>({key:r,dataIndex:r,title:r})):[]}function Ww(e){return d.isValidElement(e)&&e.type===Ch}function Gw(e){const t=[],r=[];return d.Children.forEach(e,n=>{if(Ww(n)){t.push(n.props);return}r.push(n)}),{childColumns:t,restChildren:r}}function Kw(e){const{selectedRowKeys:t,defaultSelectedRowKeys:r=[]}=e,[n,o]=d.useState(r),s=t!==void 0;return{selectedKeys:s?t:n,setSelectedKeys:o,isControlled:s}}function Uw(e){const{selectionEnabled:t,size:r,allChecked:n,partiallyChecked:o,selectableKeysLength:s,onToggleCurrentPage:i,indexColumn:a,visibleColumns:l}=e;return c.jsxs(Wn,{className:"border-b border-slate-200",children:[t?c.jsx(An,{className:j(Ut[r],"w-12 text-center"),style:{textAlign:"center"},children:c.jsx(en,{"aria-label":"选择当前页",checked:o?"indeterminate":n,disabled:!s,onCheckedChange:u=>i(u===!0)})}):null,a?c.jsx(An,{className:j(Ut[r],"text-slate-600"),style:{width:Hr(typeof a=="object"?a.width:64),textAlign:"center"},children:typeof a=="object"?a.title??"#":"#"}):null,l.map((u,f)=>c.jsx(An,{sx:u.headerSx,className:j(Ut[r],u.headerClassName),style:{width:Hr(u.width),textAlign:u.headerAlign??u.align??"left"},children:u.title??String(u.dataIndex??"")},Zi(u,f)))]})}function Yw(e){const{bodyProps:t,currentRowMeta:r,selectedSet:n,rowProps:o,size:s,striped:i,hoverable:a,selectionEnabled:l,onToggleRow:u,indexColumn:f,visibleColumns:h,empty:v,tableColumnCount:m}=e,b=r.length>0;return c.jsx(Nh,{...t,children:b?r.map(({record:p,index:x,absoluteIndex:y,key:g,disabled:P})=>{const w=n.has(g),S=typeof o=="function"?o(p,y):o;return c.jsxs(Wn,{...S,"data-selected":w?"":void 0,className:j(i&&x%2===1&&"bg-slate-50/70",a&&"transition-colors hover:bg-blue-50/50",w&&"bg-blue-50",S?.className),children:[l?c.jsx(Mr,{className:j(Ut[s],"w-12 text-center"),style:{textAlign:"center"},children:c.jsx(en,{"aria-label":`选择第 ${y+1} 行`,checked:w,disabled:P,onCheckedChange:N=>u(g,N===!0)})}):null,f?c.jsx(Mr,{className:j(Ut[s],"text-slate-500"),style:{textAlign:"center"},children:y+1}):null,h.map((N,C)=>{const q=zw(p,N.dataIndex);return c.jsx(Mr,{sx:N.sx,className:j(Ut[s],N.className),style:{width:Hr(N.width),textAlign:N.align??"left"},children:N.render?N.render(q,p,y):q},Zi(N,C))})]},g)}):c.jsx(Wn,{children:c.jsx(Mr,{className:j(Ut[s],"text-center text-slate-500"),colSpan:Math.max(m,1),style:{textAlign:"center"},children:v})})})}function Xw(e){const{pageCount:t,currentPage:r,justifyClassName:n,onPageChange:o}=e;return t<=1?null:c.jsx(we,{className:j("flex border-t border-slate-100 p-3",n),children:c.jsx(Ui,{count:t,page:r,onPageChange:o})})}function Jw(e){const{columns:t,dataSource:r=[],rowKey:n="id",size:o="md",variant:s="outlined",striped:i=!1,bordered:a=!1,hoverable:l=!0,stickyHeader:u=!1,loading:f=!1,empty:h="暂无数据",caption:v,indexColumn:m=!1,rowSelection:b,pagination:p,tableProps:x,headProps:y,bodyProps:g,rowProps:P,className:w,children:S,rounded:N="lg",...C}=e,{childColumns:q,restChildren:k}=Gw(S),E=(t??(q.length?q:Hw(r))).filter(ie=>!ie.hidden),R=p===!1?r.length||1:p?.pageSize??(r.length||1),_=p===!1?r.length:p?.total??r.length,I=Math.max(Math.ceil(_/R),1),[O,T]=d.useState(p===!1?1:p?.defaultPage??1),$=p===!1?1:p?.page??O,B=($-1)*R,U=p===!1?r:r.slice(B,B+R),L=!!b,{selectedKeys:G,setSelectedKeys:me,isControlled:te}=Kw({selectedRowKeys:b?.selectedRowKeys,defaultSelectedRowKeys:b?.defaultSelectedRowKeys}),J=U.map((ie,ye)=>{const Se=B+ye,Ie=cc(ie,Se,n),oe=b?.getCheckboxProps?.(ie,Se);return{record:ie,index:ye,absoluteIndex:Se,key:Ie,disabled:!!oe?.disabled}}),H=J.filter(ie=>!ie.disabled).map(ie=>ie.key),Y=new Set(G),D=H.filter(ie=>Y.has(ie)).length,Q=H.length>0&&D===H.length,z=D>0&&!Q,K=p!==!1&&p?.position==="left"?"justify-start":p!==!1&&p?.position==="center"?"justify-center":"justify-end",W=E.length+(L?1:0)+(m?1:0),Z=Hr(typeof m=="object"?m.width:64);function ae(ie){te||me(ie);const ye=new Set(ie);b?.onChange?.(ie,r.filter((Se,Ie)=>ye.has(cc(Se,Ie,n))))}function ue(ie,ye){const Se=new Set(G);ye?Se.add(ie):Se.delete(ie),ae(Array.from(Se))}function pe(ie){const ye=new Set(G);H.forEach(Se=>{ie?ye.add(Se):ye.delete(Se)}),ae(Array.from(ye))}function ve(ie,ye){p!==!1&&p?.page===void 0&&T(ye),p!==!1&&p?.onPageChange?.(ye,R)}return c.jsxs(we,{rounded:N,loading:f,className:j("table-root w-full overflow-hidden",Bw[s],w),...C,children:[c.jsx(we,{className:"table-scroll w-full overflow-x-auto",children:c.jsxs(we,{component:"table",...x,className:j("table w-full table-fixed border-collapse text-left",a&&"[&_td]:border-r [&_td]:border-slate-100 [&_td:last-child]:border-r-0 [&_th]:border-r [&_th]:border-slate-100 [&_th:last-child]:border-r-0",x?.className),style:M({borderCollapse:"collapse",display:"table",tableLayout:"fixed",width:"100%"},x?.style),children:[W>0?c.jsxs("colgroup",{children:[L?c.jsx("col",{style:{width:48}}):null,m?c.jsx("col",{style:{width:Z}}):null,E.map((ie,ye)=>c.jsx("col",{style:{width:Hr(ie.width)}},Zi(ie,ye)))]}):null,v?c.jsx("caption",{className:"px-4 py-3 text-left text-sm text-slate-600",children:v}):null,c.jsx(Sh,{...y,className:j(u&&"sticky top-0 z-10",y?.className),children:c.jsx(Uw,{selectionEnabled:L,size:o,allChecked:Q,partiallyChecked:z,selectableKeysLength:H.length,onToggleCurrentPage:pe,indexColumn:m,visibleColumns:E})}),c.jsx(Yw,{bodyProps:g,currentRowMeta:J,selectedSet:Y,rowProps:P,size:o,striped:i,hoverable:l,selectionEnabled:L,onToggleRow:ue,indexColumn:m,visibleColumns:E,empty:h,tableColumnCount:W})]})}),p!==!1&&I>1?c.jsx(Xw,{pageCount:I,currentPage:$,justifyClassName:K,onPageChange:ve}):null,k]})}const Vt=Object.assign(Jw,{Column:Ch,Head:Sh,Body:Nh,Row:Wn,Cell:Mr,HeaderCell:An});Vt.displayName="Table";Vt.Column.displayName="Table.Column";Vt.Head.displayName="Table.Head";Vt.Body.displayName="Table.Body";Vt.Row.displayName="Table.Row";Vt.Cell.displayName="Table.Cell";Vt.HeaderCell.displayName="Table.HeaderCell";const Qw={text:"origin-left rounded-sm",rect:"",circle:"rounded-full"};function pt(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function Zw(e,t,r){return e==="circle"?{width:pt(t??r??40),height:pt(r??t??40)}:e==="text"?{width:pt(t??"100%"),height:pt(r??"1em")}:{width:pt(t),height:pt(r)}}function eC(e,t,r,n){return r?.[e]!==void 0?r[e]:t>1&&e===t-1?"68%":n??"100%"}function on(e){const{className:t,class:r,sx:n,style:o,rounded:s,width:i,height:a,inline:l=!1,animated:u=!0,variant:f="rect",role:h,...v}=e,m=se(),{roundedPreset:b,roundedStyle:p}=Qt(s??(f==="circle"?"full":f==="rect"?"md":"sm")),{sxClassName:x,sxInlineStyle:y}=X(n,m),g=Zw(f,i,a);return c.jsx("div",{role:h??"status","aria-live":"polite","aria-label":e["aria-label"]??"Loading",className:j("skeleton bg-gray-200",l?"inline-block align-middle":"block",u&&"animate-pulse",Qw[f],b&&Ot[b],x,t,r),style:M(o,g,p,y),...v})}function ea(e){const{rows:t=3,rowHeight:r="0.875rem",gap:n=8,widths:o,width:s,sx:i,style:a,className:l,class:u,rounded:f,animated:h,inline:v=!1,...m}=e,b=se(),{sxClassName:p,sxInlineStyle:x}=X(i,b),y=Math.max(1,Math.floor(t));return c.jsx("div",{className:j("skeleton-text flex-col",v?"inline-flex align-middle":"flex",p,l,u),style:M(a,{gap:pt(n),width:pt(s)},x),...m,children:Array.from({length:y}).map((g,P)=>c.jsx(on,{...m,animated:h,rounded:f,variant:"text",width:eC(P,y,o,s),height:r},P))})}function ta(e){const{size:t=40,...r}=e;return c.jsx(on,{...r,variant:"circle",width:t,height:t})}function qh(e){const{width:t=96,height:r=36,rounded:n="md",...o}=e;return c.jsx(on,{...o,variant:"rect",width:t,height:r,rounded:n})}function kh(e){const{showAvatar:t=!0,rows:r=3,width:n,animated:o=!0,rounded:s="lg",className:i,class:a,style:l,sx:u,...f}=e,h=se(),{roundedPreset:v,roundedStyle:m}=Qt(s),{sxClassName:b,sxInlineStyle:p}=X(u,h);return c.jsx("div",{className:j("skeleton-card border border-gray-200 bg-white p-4",v&&Ot[v],b,i,a),style:M(l,{width:pt(n)},m,p),...f,children:c.jsxs("div",{className:"flex items-start gap-3",children:[t?c.jsx(ta,{animated:o,size:40}):null,c.jsx("div",{className:"min-w-0 flex-1",children:c.jsx(ea,{animated:o,rows:r,widths:["56%","100%","76%"]})})]})})}on.displayName="Skeleton";ea.displayName="SkeletonText";ta.displayName="SkeletonAvatar";qh.displayName="SkeletonButton";kh.displayName="SkeletonCard";const uc={full:"",middle:"px-4",inset:"pl-4"},tC={full:"",middle:"py-4",inset:"pt-4"};function Eh(e){const{vertical:t=!1,variant:r="full",align:n="center",type:o="solid",color:s="text-gray-200",sx:i,children:a,className:l,style:u,...f}=e,h=se(),{sxClassName:v,sxInlineStyle:m}=X(i,h),b=M(u,m);if(t)return c.jsx("div",{role:"separator","aria-orientation":"vertical",className:j("inline-flex min-h-6 self-stretch items-stretch text-gray-200",tC[r],v,l),style:b,...f,children:c.jsx("span",{"aria-hidden":!0,className:j("border-l border-current",s),style:{borderStyle:o}})});const p=a!=null,x=n==="left"?"w-8 flex-none":"flex-1",y=n==="right"?"w-8 flex-none":"flex-1";return p?c.jsxs("div",{role:"separator","aria-orientation":"horizontal",className:j("flex w-full items-center text-gray-200",uc[r],v,l),style:b,...f,children:[c.jsx("span",{"aria-hidden":!0,className:j(x,"border-t border-current",s),style:{borderStyle:o}}),c.jsx("span",{className:"shrink-0 px-3 text-gray-500",children:a}),c.jsx("span",{"aria-hidden":!0,className:j(y,"border-t border-current",s),style:{borderStyle:o}})]}):c.jsx("div",{role:"separator","aria-orientation":"horizontal",className:j("w-full text-gray-200",uc[r],v,l),style:b,...f,children:c.jsx("span",{"aria-hidden":!0,className:j("block w-full border-t border-current",s),style:{borderStyle:o}})})}Eh.displayName="Divider";const dc={xs:"gap-1",sm:"gap-2",md:"gap-3",lg:"gap-4",xl:"gap-6"};function rC(e){return e==="col"?"column":e==="col-reverse"?"column-reverse":e}function nC(e){return typeof e=="boolean"?e?"wrap":"nowrap":e}function fc(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function oC(e){return typeof e=="number"?{gapStyle:`${e}px`}:typeof e=="string"&&e in dc?{gapClass:dc[e]}:{gapStyle:e}}function Rh(e){const{direction:t="row",justify:r,items:n,flex:o,wrap:s="nowrap",gap:i="md",width:a,height:l,sx:u,className:f,style:h,...v}=e,{gapClass:m,gapStyle:b}=oC(i),p={flexDirection:rC(t),justifyContent:r,alignItems:n,flexWrap:nC(s),flex:o,gap:b,width:fc(a),height:fc(l)};return c.jsx(we,{className:j("flex",m,f),style:M(h,p),sx:u,...v})}Rh.displayName="Flex";function hc(e){if(e!==void 0)return typeof e=="number"?`${e*8}px`:e}function sC(e){return!e||Number.isNaN(e)||e<=0?12:e}function iC(e){return typeof e=="boolean"?e?"wrap":"nowrap":e}function aC(e){return e==="grow"?{flexBasis:0,flexGrow:1,maxWidth:"100%"}:{flexBasis:`calc(100% * ${e} / var(--ldkj-grid-columns, 12))`,maxWidth:`calc(100% * ${e} / var(--ldkj-grid-columns, 12))`,flexGrow:0}}function lC(e){return e==="auto"?{marginLeft:"auto"}:{marginLeft:`calc(100% * ${e} / var(--ldkj-grid-columns, 12))`}}function Co(e){const{container:t=!1,size:r,offset:n,columns:o,spacing:s,rowSpacing:i,columnSpacing:a,wrap:l="wrap",direction:u="row",sx:f,className:h,style:v,...m}=e,b=sC(o),p=hc(i??s),x=hc(a??s),y={};return t?(y.display="flex",y.flexWrap=iC(l),y.flexDirection=u,y.rowGap=p,y.columnGap=x,y["--ldkj-grid-columns"]=String(b)):o!==void 0&&(y["--ldkj-grid-columns"]=String(b)),r!==void 0&&Object.assign(y,aC(r)),n!==void 0&&Object.assign(y,lC(n)),c.jsx(we,{className:j("min-w-0",h),style:M(v,y),sx:f,...m})}Co.displayName="Grid";function cC(e,t){return{paddingTop:e==="top"||e==="both"?"env(safe-area-inset-top, 0px)":void 0,paddingBottom:e==="bottom"||e==="both"?"env(safe-area-inset-bottom, 0px)":void 0,paddingLeft:t?"env(safe-area-inset-left, 0px)":void 0,paddingRight:t?"env(safe-area-inset-right, 0px)":void 0}}function So(e){const{component:t,position:r="both",horizontal:n=!1,sx:o,className:s,style:i,children:a,...l}=e,u=cC(r,n);return c.jsx(we,{component:t,className:j("box-border",s),style:M(i,u),sx:o,...l,children:a})}function jh(e){return c.jsx(So,{...e,position:"top"})}function Ah(e){return c.jsx(So,{...e,position:"bottom"})}So.displayName="SafeArea";jh.displayName="SafeAreaTop";Ah.displayName="SafeAreaBottom";const mc={sm:640,md:768,lg:1024,xl:1280},pc={xs:"0.25rem",sm:"0.5rem",md:"0.75rem",lg:"1rem",xl:"1.5rem"},_h=Symbol("ldkj-space-item"),vr=(e=>{const{className:t,class:r,style:n,sx:o,flex:s,grow:i,shrink:a,basis:l,order:u,alignSelf:f,children:h,...v}=e;return c.jsx(we,{className:[t,r].filter(Boolean).join(" "),style:M(n,{flex:s,flexGrow:i,flexShrink:a,flexBasis:l,order:u,alignSelf:f}),sx:o,...v,children:h})});vr.displayName="SpaceItem";vr[_h]=!0;function Th(e){return typeof e!="object"||e===null||Array.isArray(e)?!1:Object.keys(e).some(r=>["xs","sm","md","lg","xl"].includes(r))}function jr(e){if(e!==void 0)return Th(e)?e.xs:e}function Ar(e,t){if(e===void 0||!Th(e))return;const r={};return Object.keys(mc).forEach(n=>{const o=e[n];if(o===void 0)return;const s=mc[n];r[`@media (min-width: ${s}px)`]=t(o)}),Object.keys(r).length?r:void 0}function vc(e){return e==="vertical"?"column":"row"}function gc(e){return e===void 0?"wrap":typeof e=="boolean"?e?"wrap":"nowrap":e}function Et(e){return typeof e=="number"?`${e}px`:e in pc?pc[e]:e}function bc(e){if(e===void 0){const r=Et("md");return{rowGap:r,columnGap:r}}if(Array.isArray(e))return{rowGap:Et(e[0]),columnGap:Et(e[1])};if(typeof e=="object"){if("row"in e||"column"in e)return{rowGap:Et(e.row??"md"),columnGap:Et(e.column??"md")};if("x"in e||"y"in e)return{rowGap:Et(e.y??"md"),columnGap:Et(e.x??"md")}}const t=Et(e);return{rowGap:t,columnGap:t}}function uC(e){return!!e.type?.[_h]}function Ih(e,t,r,n,o){if(d.isValidElement(e)&&uC(e)){const s=[r,e.props.className,e.props.class].filter(Boolean).join(" ");return c.jsx(vr,{...e.props,className:s||void 0,style:M(n,e.props.style),sx:[o,e.props.sx],children:e.props.children},e.key??`space-item-${t}`)}return c.jsx(vr,{className:r,style:n,sx:o,children:e},d.isValidElement(e)?e.key??`space-item-${t}`:`space-item-${t}`)}function dC(e,t,r,n,o){const s=d.Children.toArray(e),i=[];return s.forEach((a,l)=>{i.push(Ih(a,l,r,n,o)),l<s.length-1&&i.push(c.jsx(vr,{"aria-hidden":"true",children:t},`space-split-${l}`))}),i}const ra=e=>{const{direction:t="horizontal",size:r="md",wrap:n=!0,align:o,justify:s,split:i,itemClassName:a,itemStyle:l,itemSx:u,sx:f,children:h,style:v,...m}=e,b=jr(t)??"horizontal",p=jr(r)??"md",x=jr(n)??!0,y=jr(o),g=jr(s),P=bc(p),w={display:"flex",flexDirection:vc(b),flexWrap:gc(x),alignItems:y,justifyContent:g,rowGap:P.rowGap,columnGap:P.columnGap},S=Ar(t,R=>({flexDirection:vc(R)})),N=Ar(r,R=>bc(R)),C=Ar(n,R=>({flexWrap:gc(R)})),q=Ar(o,R=>({alignItems:R})),k=Ar(s,R=>({justifyContent:R})),A=[S,N,C,q,k,f],E=i!=null?dC(h,i,a,l,u):d.Children.toArray(h).map((R,_)=>Ih(R,_,a,l,u));return c.jsx(we,{style:M(v,w),sx:A,...m,children:E})};ra.displayName="Space";ra.Item=vr;const fC={h1:"text-3xl font-semibold leading-tight",h2:"text-2xl font-semibold leading-tight",h3:"text-xl font-semibold leading-snug",body:"text-sm leading-6 text-slate-700",caption:"text-xs leading-5 text-slate-500"};function hC(e){const{component:t,className:r,class:n,sx:o,style:s,variant:i="body",...a}=e,l=t??"p",u=se(),{sxClassName:f,sxInlineStyle:h}=X(o,u);return c.jsx(l,{className:j(fC[i],f,r,n),style:M(s,h),...a})}function mC(e){return e===void 0?{}:Array.isArray(e)?{rowSpacing:e[0],columnSpacing:e[1]}:{spacing:e}}function Oh(e){const{gutter:t=0,align:r,justify:n,wrap:o="wrap",direction:s="row",style:i,...a}=e,l=mC(t);return c.jsx(Co,{container:!0,wrap:o,direction:s,style:M(i,{alignItems:r,justifyContent:n}),...l,...a})}Oh.displayName="Row";function Mh(e){const{span:t,offset:r,flex:n,style:o,...s}=e;return c.jsx(Co,{size:t,offset:r,style:M(o,{flex:n}),...s})}Mh.displayName="Col";const Lh=d.createContext({}),Dh=d.forwardRef(({separator:e,items:t,listProps:r,sx:n,style:o,className:s,class:i,children:a,...l},u)=>{const f=se(),{sxClassName:h,sxInlineStyle:v}=X(n,f),m=Array.isArray(t)&&t.length>0;return c.jsx(Lh.Provider,{value:{separator:e},children:c.jsx("nav",{ref:u,"aria-label":"breadcrumb",className:j(h,s,i),style:M(o,v),...l,children:m?c.jsx(na,{...r,children:t.map((b,p)=>{const{key:x,label:y,href:g,current:P,separator:w,ellipsis:S,itemProps:N,linkProps:C,pageProps:q}=b,k=p===t.length-1,A=P??k;return c.jsxs(d.Fragment,{children:[c.jsx(oa,{...N,children:S?c.jsx(la,{}):A?c.jsx(ia,{...q,children:y}):c.jsx(sa,{href:g,...C,children:y})}),k?null:c.jsx(aa,{children:w})]},x??p)})}):a})})});Dh.displayName="Breadcrumb";const na=d.forwardRef(({sx:e,style:t,className:r,class:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(e,i),u={listStyle:"none",margin:0,padding:0};return c.jsx("ol",{ref:s,className:j("m-0 flex list-none flex-wrap items-center gap-1.5 break-words p-0 text-sm text-muted-foreground sm:gap-2.5",a,r,n),style:M(u,t,l),...o})});na.displayName="BreadcrumbList";const oa=d.forwardRef(({sx:e,style:t,className:r,class:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(e,i),u={margin:0,display:"inline-flex",alignItems:"center"};return c.jsx("li",{ref:s,className:j("inline-flex items-center gap-1.5 leading-none",a,r,n),style:M(u,t,l),...o})});oa.displayName="BreadcrumbItem";const sa=d.forwardRef(({component:e,sx:t,style:r,className:n,class:o,...s},i)=>{const a=e??"a",l=se(),{sxClassName:u,sxInlineStyle:f}=X(t,l);return c.jsx(a,{ref:i,className:j("inline-flex items-center leading-none transition-colors hover:text-foreground",u,n,o),style:M(r,f),...s})});sa.displayName="BreadcrumbLink";const ia=d.forwardRef(({sx:e,style:t,className:r,class:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(e,i);return c.jsx("span",{ref:s,role:"link","aria-disabled":"true","aria-current":"page",className:j("inline-flex items-center font-normal leading-none text-foreground",a,r,n),style:M(t,l),...o})});ia.displayName="BreadcrumbPage";const aa=({children:e,sx:t,style:r,className:n,class:o,...s})=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(t,i),{separator:u}=d.useContext(Lh),f={margin:0,display:"inline-flex",alignItems:"center"};return c.jsx("li",{role:"presentation","aria-hidden":"true",className:j("shrink-0 leading-none [&>svg]:h-3.5 [&>svg]:w-3.5",a,n,o),style:M(f,r,l),...s,children:e??u??c.jsx(Fe,{name:"chevron_right"})})};aa.displayName="BreadcrumbSeparator";const la=({sx:e,style:t,className:r,class:n,...o})=>{const s=se(),{sxClassName:i,sxInlineStyle:a}=X(e,s);return c.jsxs("span",{role:"presentation","aria-hidden":"true",className:j("flex h-9 w-9 items-center justify-center",i,r,n),style:M(t,a),...o,children:[c.jsx(Fe,{name:"more_horiz",className:"h-4 w-4"}),c.jsx("span",{className:"sr-only",children:"More"})]})};la.displayName="BreadcrumbEllipsis";function pC(e,t){if(typeof document>"u"||typeof window>"u")return;const r=document.getElementById(e);if(r){if(t.offset!==0){const n=r.getBoundingClientRect(),o=window.scrollY+n.top-t.offset;window.scrollTo({top:o,behavior:t.behavior});return}r.scrollIntoView({behavior:t.behavior,block:t.block,inline:t.inline})}}function Bh(e){const{id:t,offset:r=0,behavior:n="smooth",block:o="start",inline:s="nearest",onNavigate:i,className:a,class:l,sx:u,style:f}=e,h=se(),{sxClassName:v,sxInlineStyle:m}=X(u,h),b=j("inline-flex w-fit p-0",v,a,l),p=M(f,m),x=()=>{pC(t,{behavior:n,block:o,inline:s,offset:r}),i?.(t)};if(e.hash===!0){const{hash:O,onClick:T,href:$,onNavigate:B,class:U,sx:L,offset:G,behavior:me,block:te,inline:J,...H}=e;return c.jsx("a",{href:$??`#${t}`,className:b,style:p,onClick:Y=>{Y.preventDefault(),x(),T?.(Y)},...H})}const{component:y,onClick:g,onKeyDown:P,hash:w,onNavigate:S,class:N,sx:C,offset:q,behavior:k,block:A,inline:E,...R}=e,_=y??"button",I=_==="button";return c.jsx(_,{className:b,style:p,type:I?"button":void 0,role:I?void 0:"button",tabIndex:I?void 0:0,onClick:O=>{x(),g?.(O)},onKeyDown:O=>{!I&&(O.key==="Enter"||O.key===" ")&&(O.preventDefault(),x()),P?.(O)},...R})}Bh.displayName="Anchor";function vC(){return d.useRef(null)}const ca=d.createContext(null),Wr=d.createContext(0),Ks=d.createContext(null);function Fh(e){const t=d.useContext(ca);if(!t)throw new Error(`${e} must be used within Menu.`);return t}function xc(e){const{value:t,defaultValue:r=[],onChange:n}=e,[o,s]=d.useState(r),i=t!==void 0,a=i?t:o,l=d.useCallback((u,f)=>{i||s(u),n?.(u,{key:f,keys:u})},[i,n]);return[a,l]}function Gn(e){return typeof e=="number"?`${e}px`:e}function gC(e){if(!e)return;const t={};return e.itemText&&(t["--menu-item-text"]=e.itemText),e.itemBackground&&(t["--menu-item-bg"]=e.itemBackground),e.itemHoverText&&(t["--menu-item-hover-text"]=e.itemHoverText),e.itemHoverBackground&&(t["--menu-item-hover-bg"]=e.itemHoverBackground),e.itemSelectedText&&(t["--menu-item-selected-text"]=e.itemSelectedText),e.itemSelectedBackground&&(t["--menu-item-selected-bg"]=e.itemSelectedBackground),e.itemSelectedHoverText&&(t["--menu-item-selected-hover-text"]=e.itemSelectedHoverText),e.itemDisabledText&&(t["--menu-item-disabled-text"]=e.itemDisabledText),Object.keys(t).length?t:void 0}function bC(e,t){return e.key??e.href??t.join("-")}function xC(e){return e.key==="Enter"||e.key===" "}function sn(e){const{className:t,class:r,sx:n,style:o,...s}=e,i=d.useContext(ca),a=se(),{sxClassName:l,sxInlineStyle:u}=X(n,a),f={display:"flex",flexDirection:"column",gap:i?Gn(i.itemGap):void 0,listStyle:"none",margin:0,padding:0};return c.jsx("ul",{className:j("m-0 list-none p-0",l,t,r),style:M(f,o,u),...s})}sn.displayName="Menu.List";function ua(e){const{itemKey:t,label:r,icon:n,iconProps:o,href:s,component:i,disabled:a=!1,selected:l,unselectOnClick:u,onClick:f,onSelect:h,className:v,class:m,sx:b,style:p,children:x,...y}=e,g=Fh("Menu.Item"),P=d.useContext(Wr),w=l??g.selectedKeys.includes(t),S=se(),{sxClassName:N,sxInlineStyle:C}=X(b,S),q=i??(s?"a":"button"),k=q==="button",A=E=>{if(a){E.preventDefault();return}g.selectKey(t,u),h?.(t),f?.(E)};return c.jsx("li",{role:"none",style:{listStyle:"none",margin:0},children:c.jsxs(q,{className:j("flex min-h-10 w-full items-center gap-2 rounded-md px-3 py-2 text-left text-sm leading-5 text-[color:var(--menu-item-text,#334155)] transition-colors hover:bg-[color:var(--menu-item-hover-bg,#f1f5f9)] hover:text-[color:var(--menu-item-hover-text,#0f172a)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",w&&"bg-[color:var(--menu-item-selected-bg,#e0f2fe)] text-[color:var(--menu-item-selected-text,#075985)] hover:bg-[color:var(--menu-item-selected-bg,#e0f2fe)] hover:text-[color:var(--menu-item-selected-hover-text,#075985)]",a&&"cursor-not-allowed text-[color:var(--menu-item-disabled-text,#94a3b8)] opacity-70 hover:bg-transparent",N,v,m),style:M({paddingLeft:`calc(0.75rem + ${P} * ${Gn(g.indent)})`},p,C),href:s,type:k?"button":void 0,role:"menuitem","aria-disabled":a||void 0,"aria-current":w?"page":void 0,"data-menu-item-key":t,"data-selected":w?"":void 0,disabled:k?a:void 0,onClick:A,...y,children:[n?c.jsx(Fe,{name:n,size:18,className:"shrink-0",...o}):null,c.jsx("span",{className:"min-w-0 flex-1 truncate",children:r??x})]})})}ua.displayName="Menu.Item";function da(e){const{itemKey:t,label:r,icon:n,iconProps:o,disabled:s=!1,className:i,class:a,sx:l,style:u,children:f,...h}=e,v=Fh("Menu.Sub"),m=d.useContext(Wr),b=d.useContext(Ks),p=v.openKeys.includes(t),x=se(),{sxClassName:y,sxInlineStyle:g}=X(l,x);return d.useEffect(()=>v.registerSub(t,b),[v,t,b]),c.jsxs("li",{className:j(y,i,a),style:M({display:"flex",flexDirection:"column",gap:Gn(v.itemGap),listStyle:"none",margin:0},u,g),...h,children:[c.jsxs("button",{type:"button",className:j("flex min-h-10 w-full items-center gap-2 rounded-md px-3 py-2 text-left text-sm leading-5 text-[color:var(--menu-item-text,#334155)] transition-colors hover:bg-[color:var(--menu-item-hover-bg,#f1f5f9)] hover:text-[color:var(--menu-item-hover-text,#0f172a)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",p&&"bg-slate-100 text-slate-950",s&&"cursor-not-allowed text-[color:var(--menu-item-disabled-text,#94a3b8)] opacity-70 hover:bg-transparent"),style:{paddingLeft:`calc(0.75rem + ${m} * ${Gn(v.indent)})`},"aria-expanded":p,"aria-disabled":s||void 0,"data-menu-sub-key":t,disabled:s,onClick:()=>{s||v.toggleOpenKey(t)},onKeyDown:P=>{!s&&xC(P)&&(P.preventDefault(),v.toggleOpenKey(t))},children:[n?c.jsx(Fe,{name:n,size:18,className:"shrink-0",...o}):null,c.jsx("span",{className:"min-w-0 flex-1 truncate",children:r}),c.jsx(Fe,{name:"unfold_more",size:18,className:j("shrink-0 transition-transform",p?"rotate-180":"rotate-90")})]}),p?c.jsx(Wr.Provider,{value:m+1,children:c.jsx(Ks.Provider,{value:t,children:c.jsx(sn,{role:"menu","aria-label":typeof r=="string"?r:void 0,children:f})})}):null]})}da.displayName="Menu.Sub";function fa(e){const{label:t,className:r,class:n,sx:o,style:s,children:i,...a}=e,l=d.useContext(Wr),u=se(),{sxClassName:f,sxInlineStyle:h}=X(o,u);return c.jsxs("li",{className:j("py-1",f,r,n),style:M({listStyle:"none",margin:0},s,h),...a,children:[t?c.jsx("div",{className:"px-3 py-2 text-xs font-medium uppercase text-slate-500",style:{paddingLeft:`calc(0.75rem + ${l} * 12px)`},children:t}):null,c.jsx(sn,{role:"group",children:i})]})}fa.displayName="Menu.Group";function Us(e,t=[]){return e.map((r,n)=>{const o=[...t,n],s=bC(r,o);return r.type==="group"?c.jsx(fa,{label:r.label,...r.groupProps,children:r.children?Us(r.children,o):null},s):r.children?.length||r.type==="sub"?c.jsx(da,{itemKey:s,label:r.label,icon:r.icon,iconProps:r.iconProps,disabled:r.disabled,...r.subProps,children:r.children?Us(r.children,o):null},s):c.jsx(ua,{itemKey:s,label:r.label,icon:r.icon,iconProps:r.iconProps,href:r.href,disabled:r.disabled,unselectOnClick:r.unselectOnClick,...r.itemProps},s)})}function $h(e){const{items:t,selectedKeys:r,defaultSelectedKeys:n,onSelectedKeysChange:o,openKeys:s,defaultOpenKeys:i,onOpenKeysChange:a,multiple:l=!1,accordion:u=!1,indent:f=18,itemGap:h=4,itemColors:v,menuRef:m,children:b,listProps:p,className:x,class:y,style:g,component:P,...w}=e,[S,N]=xc({value:r,defaultValue:n,onChange:o}),[C,q]=xc({value:s,defaultValue:i,onChange:a}),k=d.useRef(new Map),A=d.useCallback((O,T)=>(k.current.set(O,T),()=>{k.current.delete(O)}),[]),E=d.useCallback((O,T)=>{const $=l?S.includes(O)?S.filter(B=>B!==O):[...S,O]:S.includes(O)&&T?[]:[O];N($,O)},[l,S,N]),R=d.useCallback((O,T)=>{const $=C;let B=$;if(T){if($.includes(O))return;if(u){const U=k.current.get(O)??null;B=$.filter(L=>k.current.get(L)!==U)}B=[...B,O]}else B=$.filter(U=>U!==O);q(B,O)},[u,C,q]),_=d.useCallback(O=>{R(O,!C.includes(O))},[C,R]);d.useImperativeHandle(m,()=>({select:O=>E(O),unselect:O=>N(S.filter(T=>T!==O),O),open:O=>R(O,!0),close:O=>R(O,!1),toggleOpen:_,getSelectedKeys:()=>S,getOpenKeys:()=>C}),[C,E,S,R,N,_]);const I=d.useMemo(()=>({selectedKeys:S,openKeys:C,multiple:l,accordion:u,indent:f,itemGap:h,selectKey:E,toggleOpenKey:_,registerSub:A}),[u,f,h,l,C,A,E,S,_]);return c.jsx(ca.Provider,{value:I,children:c.jsx(Wr.Provider,{value:0,children:c.jsx(Ks.Provider,{value:null,children:c.jsx(we,{component:P??"nav",className:j("w-64 rounded-lg border border-slate-200 bg-white p-1",x,y),style:M(gC(v),g),"aria-label":"Menu",...w,children:c.jsx(sn,{role:"menu",...p,children:t?Us(t):b})})})})})}$h.displayName="Menu";const yC=Object.assign($h,{Item:ua,Sub:da,Group:fa,List:sn});var No="Tabs",[PC]=tt(No,[po]),Vh=po(),[wC,ha]=PC(No),zh=d.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,onValueChange:o,defaultValue:s,orientation:i="horizontal",dir:a,activationMode:l="automatic",...u}=e,f=mo(a),[h,v]=xt({prop:n,onChange:o,defaultProp:s??"",caller:No});return c.jsx(wC,{scope:r,baseId:er(),value:h,onValueChange:v,orientation:i,dir:f,activationMode:l,children:c.jsx(be.div,{dir:f,"data-orientation":i,...u,ref:t})})});zh.displayName=No;var Hh="TabsList",Wh=d.forwardRef((e,t)=>{const{__scopeTabs:r,loop:n=!0,...o}=e,s=ha(Hh,r),i=Vh(r);return c.jsx(Dd,{asChild:!0,...i,orientation:s.orientation,dir:s.dir,loop:n,children:c.jsx(be.div,{role:"tablist","aria-orientation":s.orientation,...o,ref:t})})});Wh.displayName=Hh;var Gh="TabsTrigger",Kh=d.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...s}=e,i=ha(Gh,r),a=Vh(r),l=Xh(i.baseId,n),u=Jh(i.baseId,n),f=n===i.value;return c.jsx(Bd,{asChild:!0,...a,focusable:!o,active:f,children:c.jsx(be.button,{type:"button",role:"tab","aria-selected":f,"aria-controls":u,"data-state":f?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l,...s,ref:t,onMouseDown:ce(e.onMouseDown,h=>{!o&&h.button===0&&h.ctrlKey===!1?i.onValueChange(n):h.preventDefault()}),onKeyDown:ce(e.onKeyDown,h=>{[" ","Enter"].includes(h.key)&&i.onValueChange(n)}),onFocus:ce(e.onFocus,()=>{const h=i.activationMode!=="manual";!f&&!o&&h&&i.onValueChange(n)})})})});Kh.displayName=Gh;var Uh="TabsContent",Yh=d.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,forceMount:o,children:s,...i}=e,a=ha(Uh,r),l=Xh(a.baseId,n),u=Jh(a.baseId,n),f=n===a.value,h=d.useRef(f);return d.useEffect(()=>{const v=requestAnimationFrame(()=>h.current=!1);return()=>cancelAnimationFrame(v)},[]),c.jsx(Dt,{present:o||f,children:({present:v})=>c.jsx(be.div,{"data-state":f?"active":"inactive","data-orientation":a.orientation,role:"tabpanel","aria-labelledby":l,hidden:!v,id:u,tabIndex:0,...i,ref:t,style:{...e.style,animationDuration:h.current?"0s":void 0},children:v&&s})})});Yh.displayName=Uh;function Xh(e,t){return`${e}-trigger-${t}`}function Jh(e,t){return`${e}-content-${t}`}var CC=zh,Qh=Wh,Zh=Kh,em=Yh;function tm(e){const{items:t,listProps:r,sx:n,style:o,className:s,class:i,children:a,...l}=e,u=se(),{sxClassName:f,sxInlineStyle:h}=X(n,u),v=Array.isArray(t)&&t.length>0;return c.jsx(CC,{className:j("w-full",f,s,i),style:M(o,h),...l,children:v?c.jsxs(c.Fragment,{children:[c.jsx(ma,{...r,children:t.map(m=>c.jsx(pa,{value:m.value,disabled:m.disabled,...m.triggerProps,children:m.label},m.value))}),t.map(m=>c.jsx(va,{value:m.value,...m.contentProps,children:m.content},m.value))]}):a})}tm.displayName="Tabs";const ma=d.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(r,i);return c.jsx(Qh,{ref:s,className:j("inline-flex min-h-10 items-center gap-1 rounded-lg bg-slate-100 p-1 text-slate-600",a,e,t),style:M(n,l),...o})});ma.displayName=Qh.displayName;const pa=d.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(r,i);return c.jsx(Zh,{ref:s,className:j("inline-flex min-h-8 items-center justify-center whitespace-nowrap rounded-md px-3 py-1.5 text-sm font-medium leading-5 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-white data-[state=active]:text-blue-700 data-[state=active]:shadow-sm",a,e,t),style:M(n,l),...o})});pa.displayName=Zh.displayName;const va=d.forwardRef(({className:e,class:t,sx:r,style:n,borderless:o=!1,...s},i)=>{const a=se(),{sxClassName:l,sxInlineStyle:u}=X(r,a);return c.jsx(em,{ref:i,className:j("mt-3 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",!o&&"rounded-lg border border-slate-200 bg-white p-4",l,e,t),style:M(n,u),...s})});va.displayName=em.displayName;exports.Alert=Rx;exports.Anchor=Bh;exports.AutoComplete=Ad;exports.Avatar=hh;exports.AvatarFallback=Wi;exports.AvatarImage=Hi;exports.Badge=iw;exports.Box=we;exports.Breadcrumb=Dh;exports.BreadcrumbEllipsis=la;exports.BreadcrumbItem=oa;exports.BreadcrumbLink=sa;exports.BreadcrumbList=na;exports.BreadcrumbPage=ia;exports.BreadcrumbSeparator=aa;exports.Button=Yr;exports.Card=Pt;exports.Cascader=tf;exports.Checkbox=en;exports.CheckboxGroup=Ed;exports.Chip=ph;exports.Col=Mh;exports.Dialog=uv;exports.DialogClose=oi;exports.DialogContent=ii;exports.DialogDescription=ui;exports.DialogFooter=li;exports.DialogHeader=ai;exports.DialogOverlay=si;exports.DialogPortal=ou;exports.DialogTitle=ci;exports.DialogTrigger=ni;exports.Divider=Eh;exports.Drawer=kx;exports.Empty=lw;exports.Flex=Rh;exports.Form=of;exports.FormItem=Mi;exports.GhostButton=On;exports.GhostButtonGroup=Xc;exports.Grid=Co;exports.Icon=Fe;exports.Image=vh;exports.Input=ho;exports.InputNumber=Rd;exports.InputOPT=jd;exports.Label=fo;exports.List=aw;exports.Loading=qx;exports.Menu=yC;exports.MobileCascader=Jf;exports.MobileSelect=Xf;exports.Modal=ri;exports.Pagination=Ui;exports.PaginationContent=Yi;exports.PaginationEllipsis=Qi;exports.PaginationItem=Gt;exports.PaginationLink=nn;exports.PaginationNext=Ji;exports.PaginationPrevious=Xi;exports.Popover=Zu;exports.PopoverAnchor=Zb;exports.PopoverClose=ed;exports.PopoverContent=ki;exports.PopoverTrigger=qi;exports.Progress=jx;exports.QRCode=Mw;exports.QRCodeBase=Dw;exports.QRCodeCanvas=Ph;exports.QRCodeSizable=wh;exports.Radio=Ti;exports.RadioGroup=Qd;exports.Rate=Zd;exports.Required=i0;exports.Row=Oh;exports.SafeArea=So;exports.SafeAreaBottom=Ah;exports.SafeAreaTop=jh;exports.Select=Mf;exports.SelectContent=Ff;exports.SelectGroup=Lf;exports.SelectItem=zn;exports.SelectItems=dP;exports.SelectLabel=Fi;exports.SelectScrollDownButton=Bi;exports.SelectScrollUpButton=Di;exports.SelectSeparator=$i;exports.SelectTrigger=Bf;exports.SelectValue=aP;exports.Skeleton=on;exports.SkeletonAvatar=ta;exports.SkeletonButton=qh;exports.SkeletonCard=kh;exports.SkeletonText=ea;exports.Slider=rf;exports.Space=ra;exports.Spin=vd;exports.Switch=Gf;exports.SxProvider=Ym;exports.Table=Vt;exports.Tabs=tm;exports.TabsContent=va;exports.TabsList=ma;exports.TabsTrigger=pa;exports.ToastProvider=eu;exports.Tooltip=Cx;exports.TooltipArrow=ji;exports.TooltipContent=pd;exports.TooltipPortal=Sx;exports.TooltipProvider=wx;exports.TooltipTrigger=md;exports.Typography=hC;exports.Uploader=C0;exports.buttonVariants=Nc;exports.chipVariants=mh;exports.createTheme=Xm;exports.getRegisteredIconNames=Qp;exports.mergeSxStyle=M;exports.notification=Nx;exports.registerIconLoaders=Yp;exports.resetIconLoaders=Jp;exports.resolveSx=X;exports.setIconLoaders=Xp;exports.toast=_r;exports.useForm=Ii;exports.useFormInstance=Oi;exports.useFormValue=bo;exports.useFormWatch=nf;exports.useInputNumberState=oy;exports.useInputValue=ey;exports.useMenuRef=vC;exports.useSxTheme=se;exports.useToast=av;
|
|
47
|
+
`);const R=w(q,S,T),A=e.getSymbolSize(q),_=new n(A);return m(_,q),b(_),p(_,q),y(_,S,0),q>=7&&x(_,q),g(_,R),isNaN(k)&&(k=i.getBestMask(_,y.bind(null,_,S))),i.applyMask(k,_),y(_,S,k),{modules:_,version:q,errorCorrectionLevel:S,maskPattern:k,segments:T}}return os.create=function(q,S){if(typeof q>"u"||q==="")throw new Error("No input text");let k=t.M,T,E;return typeof S<"u"&&(k=t.from(S.errorCorrectionLevel,t.M),T=d.from(S.version),E=i.from(S.maskPattern),S.toSJISFunc&&e.setToSJISFunction(S.toSJISFunc)),C(q,T,k,E)},os}var Cs={},Ss={},vc;function Oh(){return vc||(vc=1,(function(e){function t(r){if(typeof r=="number"&&(r=r.toString()),typeof r!="string")throw new Error("Color should be defined as hex string");let n=r.slice().replace("#","").split("");if(n.length<3||n.length===5||n.length>8)throw new Error("Invalid hex color: "+r);(n.length===3||n.length===4)&&(n=Array.prototype.concat.apply([],n.map(function(s){return[s,s]}))),n.length===6&&n.push("F","F");const o=parseInt(n.join(""),16);return{r:o>>24&255,g:o>>16&255,b:o>>8&255,a:o&255,hex:"#"+n.slice(0,6).join("")}}e.getOptions=function(n){n||(n={}),n.color||(n.color={});const o=typeof n.margin>"u"||n.margin===null||n.margin<0?4:n.margin,s=n.width&&n.width>=21?n.width:void 0,i=n.scale||4;return{width:s,scale:s?4:i,margin:o,color:{dark:t(n.color.dark||"#000000ff"),light:t(n.color.light||"#ffffffff")},type:n.type,rendererOpts:n.rendererOpts||{}}},e.getScale=function(n,o){return o.width&&o.width>=n+o.margin*2?o.width/(n+o.margin*2):o.scale},e.getImageWidth=function(n,o){const s=e.getScale(n,o);return Math.floor((n+o.margin*2)*s)},e.qrToImageData=function(n,o,s){const i=o.modules.size,a=o.modules.data,l=e.getScale(i,s),d=Math.floor((i+s.margin*2)*l),f=s.margin*l,h=[s.color.light,s.color.dark];for(let v=0;v<d;v++)for(let m=0;m<d;m++){let b=(v*d+m)*4,p=s.color.light;if(v>=f&&m>=f&&v<d-f&&m<d-f){const x=Math.floor((v-f)/l),y=Math.floor((m-f)/l);p=h[a[x*i+y]?1:0]}n[b++]=p.r,n[b++]=p.g,n[b++]=p.b,n[b]=p.a}}})(Ss)),Ss}var gc;function rC(){return gc||(gc=1,(function(e){const t=Oh();function r(o,s,i){o.clearRect(0,0,s.width,s.height),s.style||(s.style={}),s.height=i,s.width=i,s.style.height=i+"px",s.style.width=i+"px"}function n(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(s,i,a){let l=a,d=i;typeof l>"u"&&(!i||!i.getContext)&&(l=i,i=void 0),i||(d=n()),l=t.getOptions(l);const f=t.getImageWidth(s.modules.size,l),h=d.getContext("2d"),v=h.createImageData(f,f);return t.qrToImageData(v.data,s,l),r(h,d,f),h.putImageData(v,0,0),d},e.renderToDataURL=function(s,i,a){let l=a;typeof l>"u"&&(!i||!i.getContext)&&(l=i,i=void 0),l||(l={});const d=e.render(s,i,l),f=l.type||"image/png",h=l.rendererOpts||{};return d.toDataURL(f,h.quality)}})(Cs)),Cs}var Ns={},bc;function nC(){if(bc)return Ns;bc=1;const e=Oh();function t(o,s){const i=o.a/255,a=s+'="'+o.hex+'"';return i<1?a+" "+s+'-opacity="'+i.toFixed(2).slice(1)+'"':a}function r(o,s,i){let a=o+s;return typeof i<"u"&&(a+=" "+i),a}function n(o,s,i){let a="",l=0,d=!1,f=0;for(let h=0;h<o.length;h++){const v=Math.floor(h%s),m=Math.floor(h/s);!v&&!d&&(d=!0),o[h]?(f++,h>0&&v>0&&o[h-1]||(a+=d?r("M",v+i,.5+m+i):r("m",l,0),l=0,d=!1),v+1<s&&o[h+1]||(a+=r("h",f),f=0)):l++}return a}return Ns.render=function(s,i,a){const l=e.getOptions(i),d=s.modules.size,f=s.modules.data,h=d+l.margin*2,v=l.color.light.a?"<path "+t(l.color.light,"fill")+' d="M0 0h'+h+"v"+h+'H0z"/>':"",m="<path "+t(l.color.dark,"stroke")+' d="'+n(f,d,l.margin)+'"/>',b='viewBox="0 0 '+h+" "+h+'"',x='<svg xmlns="http://www.w3.org/2000/svg" '+(l.width?'width="'+l.width+'" height="'+l.width+'" ':"")+b+' shape-rendering="crispEdges">'+v+m+`</svg>
|
|
48
|
+
`;return typeof a=="function"&&a(null,x),x},Ns}var xc;function oC(){if(xc)return cr;xc=1;const e=DP(),t=tC(),r=rC(),n=nC();function o(s,i,a,l,d){const f=[].slice.call(arguments,1),h=f.length,v=typeof f[h-1]=="function";if(!v&&!e())throw new Error("Callback required as last argument");if(v){if(h<2)throw new Error("Too few arguments provided");h===2?(d=a,a=i,i=l=void 0):h===3&&(i.getContext&&typeof d>"u"?(d=l,l=void 0):(d=l,l=a,a=i,i=void 0))}else{if(h<1)throw new Error("Too few arguments provided");return h===1?(a=i,i=l=void 0):h===2&&!i.getContext&&(l=a,a=i,i=void 0),new Promise(function(m,b){try{const p=t.create(a,l);m(s(p,i,l))}catch(p){b(p)}})}try{const m=t.create(a,l);d(null,s(m,i,l))}catch(m){d(m)}}return cr.create=t.create,cr.toCanvas=o.bind(null,r.render),cr.toDataURL=o.bind(null,r.renderToDataURL),cr.toString=o.bind(null,function(s,i,a){return n.render(s,a)}),cr}var sC=oC();const ta=vP(sC),Mh=({value:e,useful:t=!0,uselessElem:r,uselessProps:{style:n={},...o}={},foregroundColor:s="#000000",backgroundColor:i="#ffffff",margin:a=4,errorCorrectionLevel:l="medium",size:d=200,fullWidth:f,sx:h,className:v,style:m,...b})=>{const p=je.useRef(null),x=je.useRef(null),y=se(),{sxClassName:g,sxInlineStyle:w}=X(h,y),P=je.useCallback(C=>{const N=p.current;N&&ta.toCanvas(N,e,{errorCorrectionLevel:l,margin:a,width:C,color:{dark:s,light:i}},q=>{if(q&&console.error(q),!t){const S=N.getContext("2d");S&&(S.globalCompositeOperation="source-over",S.fillStyle="rgba(255, 255, 255, 0.5)",S.fillRect(0,0,N.width,N.height),S.filter="grayscale(100%) opacity(0.5)",S.drawImage(N,0,0))}})},[i,l,s,a,t,e]);return je.useEffect(()=>{const C=x.current;if(!C)return;const N=new ResizeObserver(()=>{const q=Math.min(C.clientWidth,C.clientHeight);P(q)});return N.observe(C),()=>N.disconnect()},[e,t,s,i,a,l,P]),c.jsxs("div",{ref:x,className:j(g,v),style:L(m,{width:f?"100%":d,height:f?"100%":d,display:"flex",aspectRatio:"1",position:"relative"},w),...b,children:[c.jsx("canvas",{ref:p}),!t&&r&&c.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",color:"white",background:"radial-gradient(circle at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0.3) 80%)",opacity:.5,...n},...o,children:r})]})},iC=e=>e?{width:e,height:e}:{},Lh=({size:e=200,fullWidth:t,sx:r,value:n,useful:o=!0,uselessElem:s,uselessProps:{style:i={},...a}={},alt:l,style:d,className:f,foregroundColor:h,backgroundColor:v,margin:m=4,errorCorrectionLevel:b,unload:p,width:x,height:y,...g})=>{const[w,P]=je.useState(""),[C,N]=je.useState(),q=je.useRef(null),S=se(),{sxClassName:k,sxInlineStyle:T}=X(r,S);return je.useEffect(()=>{if(!t)return;const E=q.current;if(!E)return;const R=()=>{N(Math.min(E.clientWidth,E.clientHeight))};R();const A=new ResizeObserver(R);return A.observe(E),()=>A.disconnect()},[t]),je.useEffect(()=>{const E=t?C:x?Ut.getInstance().convertToPx(x):e?Ut.getInstance().convertToPx(e):void 0;ta.toDataURL(n,{color:{dark:h,light:v},width:E,margin:m,errorCorrectionLevel:b}).then(R=>P(R)).catch(R=>console.error(R))},[v,b,h,m,t,C,x,e,n]),w?c.jsxs("div",{ref:q,style:{width:t?"100%":e,height:t?"100%":e,display:"flex",aspectRatio:"1",position:"relative"},children:[c.jsx("img",{src:w,alt:l??"QR Code",className:j(k,f),style:L({filter:o?"none":"grayscale(100%) opacity(0.5)",transition:"filter 0.2s ease",position:"relative",...t?{width:"100%",height:"100%"}:iC(e)},d,T),...!t&&{width:x,height:y},...g}),!o&&s&&c.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",color:"white",background:"radial-gradient(circle at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0.3) 80%)",opacity:.5,...i},...a,children:s})]}):c.jsx(c.Fragment,{children:p})};function aC({canvas:e,...t}){return e?c.jsx(Mh,{...t}):c.jsx(Lh,{...t})}const lC=e=>e?{width:e,height:e}:{},cC=({size:e,value:t,useful:r=!0,alt:n,style:o,foregroundColor:s,backgroundColor:i,margin:a,errorCorrectionLevel:l,unload:d,...f})=>{const[h,v]=je.useState("");return je.useEffect(()=>{ta.toDataURL(t,{color:{dark:s,light:i},width:e,margin:a,errorCorrectionLevel:l}).then(m=>v(m)).catch(m=>console.error(m))},[i,l,s,a,e,t]),h?c.jsx("img",{src:h,alt:n??"QR Code",style:{filter:r?"none":"grayscale(100%) opacity(0.5)",transition:"filter 0.2s ease",...lC(e),...o},...f}):c.jsx(c.Fragment,{children:d})},Yt={sm:"px-3 py-2 text-xs",md:"px-4 py-3 text-sm",lg:"px-5 py-4 text-base"},uC={outlined:"border border-slate-200 bg-white",filled:"border border-slate-100 bg-slate-50",ghost:"border border-transparent bg-transparent"};function Dh(e){return null}function Bh(e){const{className:t,...r}=e;return c.jsx(Pe,{component:"thead",className:j("bg-slate-50",t),...r})}function Fh(e){return c.jsx(Pe,{component:"tbody",...e})}function Xn(e){const{className:t,...r}=e;return c.jsx(Pe,{component:"tr",className:j("border-b border-slate-100 last:border-b-0",t),...r})}function Mn(e){const{className:t,style:r,...n}=e;return c.jsx(Pe,{component:"th",scope:"col",className:j("whitespace-nowrap font-medium text-slate-700",t),style:L({textAlign:"left"},r),...n})}function Dr(e){const{className:t,style:r,...n}=e;return c.jsx(Pe,{component:"td",className:j("text-slate-700",t),style:L({textAlign:"left"},r),...n})}const qs="ellipsis";function ks(e,t){return Number.isFinite(e)?Math.min(Math.max(Math.trunc(e),1),t):1}function Es(e,t){const r=Math.max(t-e+1,0);return Array.from({length:r},(n,o)=>e+o)}function dC(e){const{count:t,page:r,defaultPage:n=1}=e,[o,s]=u.useState(()=>ks(n,t)),i=r!==void 0,a=ks(i?r:o,t);return u.useEffect(()=>{i||s(l=>ks(l,t))},[t,i]),{page:a,setPage:s,isControlled:i}}function fC(e){const{count:t,page:r,siblingCount:n,boundaryCount:o,showPreviousNext:s,disabled:i}=e,a=Es(1,Math.min(o,t)),l=Es(Math.max(t-o+1,o+1),t),d=Math.max(Math.min(r-n,t-o-n*2-1),o+2),f=Math.min(Math.max(r+n,o+n*2+2),l.length>0?l[0]-2:t-1),v=[...a,...d>o+2?[qs]:o+1<t-o?[o+1]:[],...Es(d,f),...f<t-o-1?[qs]:t-o>o?[t-o]:[],...l].map(m=>m===qs?{type:"ellipsis",page:null,selected:!1,disabled:!0}:{type:"page",page:m,selected:m===r,disabled:i});return s?[{type:"previous",page:Math.max(r-1,1),selected:!1,disabled:i||r<=1},...v,{type:"next",page:Math.min(r+1,t),selected:!1,disabled:i||r>=t}]:v}const ra=({count:e,page:t,defaultPage:r,onPageChange:n,siblingCount:o=1,boundaryCount:s=1,variant:i="filled",showPreviousNext:a=!0,disabled:l=!1,getItemHref:d,renderItem:f,contentProps:h,className:v,class:m,sx:b,style:p,children:x,...y})=>{const g=se(),{sxClassName:w,sxInlineStyle:P}=X(b,g),C=typeof e=="number"&&e>0,{page:N,setPage:q,isControlled:S}=dC({count:C?e:1,page:t,defaultPage:r}),k=C?fC({count:e,page:N,siblingCount:Math.max(Math.trunc(o),0),boundaryCount:Math.max(Math.trunc(s),0),showPreviousNext:a,disabled:l}):[],T=(E,R,A)=>{if(A){E.preventDefault();return}E.preventDefault(),S||q(R),n?.(E,R)};return c.jsx("nav",{role:"navigation","aria-label":"分页",className:j("mx-auto flex w-full justify-center",w,v,m),style:L(p,P),...y,children:C?c.jsx(na,{...h,children:k.map((E,R)=>{const A=`${E.type}-${E.page??R}`,_=E.page===null?void 0:d?.(E.page,E.type)??`#page-${E.page}`,O=E.page===null?void 0:$=>T($,E.page,E.disabled),I={...E,href:_,onClick:O};return f?c.jsx(Kt,{children:f(I)},A):E.type==="ellipsis"?c.jsx(Kt,{children:c.jsx(ia,{})},A):E.type==="previous"?c.jsx(Kt,{children:c.jsx(oa,{href:_,variant:i,disabled:E.disabled,onClick:O})},A):E.type==="next"?c.jsx(Kt,{children:c.jsx(sa,{href:_,variant:i,disabled:E.disabled,onClick:O})},A):c.jsx(Kt,{children:c.jsx(sn,{href:_,variant:i,isActive:E.selected,disabled:E.disabled,onClick:O,children:E.page})},A)})}):x})};ra.displayName="Pagination";const na=u.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(r,i),d={listStyle:"none",margin:0,padding:0};return c.jsx("ul",{ref:s,className:j("m-0 flex list-none flex-row items-center gap-1 p-0",a,e,t),style:L(d,n,l),...o})});na.displayName="PaginationContent";const Kt=u.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(r,i);return c.jsx("li",{ref:s,className:j(a,e,t),style:L({listStyle:"none",margin:0},n,l),...o})});Kt.displayName="PaginationItem";function hC(e,t){return t?e==="filled"?"primary":"outline":"ghost"}const sn=({className:e,class:t,isActive:r,disabled:n,variant:o="outline",size:s="icon",tabIndex:i,...a})=>c.jsx(Jr,{component:"a","aria-current":r?"page":void 0,"aria-disabled":n?!0:void 0,variant:hC(o,r),size:s,tabIndex:n?-1:i,className:j(n&&"pointer-events-none opacity-50",r&&o==="filled"&&"!text-white hover:!text-white",e,t),...a});sn.displayName="PaginationLink";const oa=({className:e,children:t,...r})=>c.jsx(sn,{"aria-label":"上一页",size:"md",className:j("gap-1 pl-2.5",e),...r,children:t??c.jsxs(c.Fragment,{children:[c.jsx(Le,{name:"chevron_left",size:16}),c.jsx("span",{children:"上一页"})]})});oa.displayName="PaginationPrevious";const sa=({className:e,children:t,...r})=>c.jsx(sn,{"aria-label":"下一页",size:"md",className:j("gap-1 pr-2.5",e),...r,children:t??c.jsxs(c.Fragment,{children:[c.jsx("span",{children:"下一页"}),c.jsx(Le,{name:"chevron_right",size:16})]})});sa.displayName="PaginationNext";const ia=({className:e,class:t,sx:r,style:n,...o})=>{const s=se(),{sxClassName:i,sxInlineStyle:a}=X(r,s);return c.jsxs("span",{"aria-hidden":!0,className:j("flex h-8 w-8 items-center justify-center",i,e,t),style:L(n,a),...o,children:[c.jsx(Le,{name:"more_horiz",size:16}),c.jsx("span",{className:"sr-only",children:"更多页码"})]})};ia.displayName="PaginationEllipsis";function Gr(e){return typeof e=="number"?`${e}px`:e}function mC(e,t){if(t)return e[String(t)]}function aa(e,t){return e.key!==void 0?e.key:e.dataIndex!==void 0?String(e.dataIndex):t}function yc(e,t,r){if(typeof r=="function")return r(e,t);if(r){const o=e[String(r)];if(typeof o=="string"||typeof o=="number"||typeof o=="bigint")return o}const n=e.key;return typeof n=="string"||typeof n=="number"||typeof n=="bigint"?n:t}function pC(e){const t=e[0];return t?Object.keys(t).map(r=>({key:r,dataIndex:r,title:r})):[]}function vC(e){return u.isValidElement(e)&&e.type===Dh}function gC(e){const t=[],r=[];return u.Children.forEach(e,n=>{if(vC(n)){t.push(n.props);return}r.push(n)}),{childColumns:t,restChildren:r}}function bC(e){const{selectedRowKeys:t,defaultSelectedRowKeys:r=[]}=e,[n,o]=u.useState(r),s=t!==void 0;return{selectedKeys:s?t:n,setSelectedKeys:o,isControlled:s}}function xC(e){const{selectionEnabled:t,size:r,allChecked:n,partiallyChecked:o,selectableKeysLength:s,onToggleCurrentPage:i,indexColumn:a,visibleColumns:l}=e;return c.jsxs(Xn,{className:"border-b border-slate-200",children:[t?c.jsx(Mn,{className:j(Yt[r],"w-12 text-center"),style:{textAlign:"center"},children:c.jsx(rn,{"aria-label":"选择当前页",checked:o?"indeterminate":n,disabled:!s,onCheckedChange:d=>i(d===!0)})}):null,a?c.jsx(Mn,{className:j(Yt[r],"text-slate-600"),style:{width:Gr(typeof a=="object"?a.width:64),textAlign:"center"},children:typeof a=="object"?a.title??"#":"#"}):null,l.map((d,f)=>c.jsx(Mn,{sx:d.headerSx,className:j(Yt[r],d.headerClassName),style:{width:Gr(d.width),textAlign:d.headerAlign??d.align??"left"},children:d.title??String(d.dataIndex??"")},aa(d,f)))]})}function yC(e){const{bodyProps:t,currentRowMeta:r,selectedSet:n,rowProps:o,size:s,striped:i,hoverable:a,selectionEnabled:l,onToggleRow:d,indexColumn:f,visibleColumns:h,empty:v,tableColumnCount:m}=e,b=r.length>0;return c.jsx(Fh,{...t,children:b?r.map(({record:p,index:x,absoluteIndex:y,key:g,disabled:w})=>{const P=n.has(g),C=typeof o=="function"?o(p,y):o;return c.jsxs(Xn,{...C,"data-selected":P?"":void 0,className:j(i&&x%2===1&&"bg-slate-50/70",a&&"transition-colors hover:bg-blue-50/50",P&&"bg-blue-50",C?.className),children:[l?c.jsx(Dr,{className:j(Yt[s],"w-12 text-center"),style:{textAlign:"center"},children:c.jsx(rn,{"aria-label":`选择第 ${y+1} 行`,checked:P,disabled:w,onCheckedChange:N=>d(g,N===!0)})}):null,f?c.jsx(Dr,{className:j(Yt[s],"text-slate-500"),style:{textAlign:"center"},children:y+1}):null,h.map((N,q)=>{const S=mC(p,N.dataIndex);return c.jsx(Dr,{sx:N.sx,className:j(Yt[s],N.className),style:{width:Gr(N.width),textAlign:N.align??"left"},children:N.render?N.render(S,p,y):S},aa(N,q))})]},g)}):c.jsx(Xn,{children:c.jsx(Dr,{className:j(Yt[s],"text-center text-slate-500"),colSpan:Math.max(m,1),style:{textAlign:"center"},children:v})})})}function wC(e){const{pageCount:t,currentPage:r,justifyClassName:n,onPageChange:o}=e;return t<=1?null:c.jsx(Pe,{className:j("flex border-t border-slate-100 p-3",n),children:c.jsx(ra,{count:t,page:r,onPageChange:o})})}function PC(e){const{columns:t,dataSource:r=[],rowKey:n="id",size:o="md",variant:s="outlined",striped:i=!1,bordered:a=!1,hoverable:l=!0,stickyHeader:d=!1,loading:f=!1,empty:h="暂无数据",caption:v,indexColumn:m=!1,rowSelection:b,pagination:p,tableProps:x,headProps:y,bodyProps:g,rowProps:w,className:P,children:C,rounded:N="lg",...q}=e,{childColumns:S,restChildren:k}=gC(C),E=(t??(S.length?S:pC(r))).filter(ie=>!ie.hidden),R=p===!1?r.length||1:p?.pageSize??(r.length||1),A=p===!1?r.length:p?.total??r.length,_=Math.max(Math.ceil(A/R),1),[O,I]=u.useState(p===!1?1:p?.defaultPage??1),$=p===!1?1:p?.page??O,M=($-1)*R,U=p===!1?r:r.slice(M,M+R),D=!!b,{selectedKeys:G,setSelectedKeys:me,isControlled:te}=bC({selectedRowKeys:b?.selectedRowKeys,defaultSelectedRowKeys:b?.defaultSelectedRowKeys}),J=U.map((ie,ye)=>{const Se=M+ye,Ie=yc(ie,Se,n),oe=b?.getCheckboxProps?.(ie,Se);return{record:ie,index:ye,absoluteIndex:Se,key:Ie,disabled:!!oe?.disabled}}),H=J.filter(ie=>!ie.disabled).map(ie=>ie.key),Y=new Set(G),B=H.filter(ie=>Y.has(ie)).length,Q=H.length>0&&B===H.length,z=B>0&&!Q,K=p!==!1&&p?.position==="left"?"justify-start":p!==!1&&p?.position==="center"?"justify-center":"justify-end",W=E.length+(D?1:0)+(m?1:0),Z=Gr(typeof m=="object"?m.width:64);function ae(ie){te||me(ie);const ye=new Set(ie);b?.onChange?.(ie,r.filter((Se,Ie)=>ye.has(yc(Se,Ie,n))))}function ue(ie,ye){const Se=new Set(G);ye?Se.add(ie):Se.delete(ie),ae(Array.from(Se))}function pe(ie){const ye=new Set(G);H.forEach(Se=>{ie?ye.add(Se):ye.delete(Se)}),ae(Array.from(ye))}function ve(ie,ye){p!==!1&&p?.page===void 0&&I(ye),p!==!1&&p?.onPageChange?.(ye,R)}return c.jsxs(Pe,{rounded:N,loading:f,className:j("table-root w-full overflow-hidden",uC[s],P),...q,children:[c.jsx(Pe,{className:"table-scroll w-full overflow-x-auto",children:c.jsxs(Pe,{component:"table",...x,className:j("table w-full table-fixed border-collapse text-left",a&&"[&_td]:border-r [&_td]:border-slate-100 [&_td:last-child]:border-r-0 [&_th]:border-r [&_th]:border-slate-100 [&_th:last-child]:border-r-0",x?.className),style:L({borderCollapse:"collapse",display:"table",tableLayout:"fixed",width:"100%"},x?.style),children:[W>0?c.jsxs("colgroup",{children:[D?c.jsx("col",{style:{width:48}}):null,m?c.jsx("col",{style:{width:Z}}):null,E.map((ie,ye)=>c.jsx("col",{style:{width:Gr(ie.width)}},aa(ie,ye)))]}):null,v?c.jsx("caption",{className:"px-4 py-3 text-left text-sm text-slate-600",children:v}):null,c.jsx(Bh,{...y,className:j(d&&"sticky top-0 z-10",y?.className),children:c.jsx(xC,{selectionEnabled:D,size:o,allChecked:Q,partiallyChecked:z,selectableKeysLength:H.length,onToggleCurrentPage:pe,indexColumn:m,visibleColumns:E})}),c.jsx(yC,{bodyProps:g,currentRowMeta:J,selectedSet:Y,rowProps:w,size:o,striped:i,hoverable:l,selectionEnabled:D,onToggleRow:ue,indexColumn:m,visibleColumns:E,empty:h,tableColumnCount:W})]})}),p!==!1&&_>1?c.jsx(wC,{pageCount:_,currentPage:$,justifyClassName:K,onPageChange:ve}):null,k]})}const zt=Object.assign(PC,{Column:Dh,Head:Bh,Body:Fh,Row:Xn,Cell:Dr,HeaderCell:Mn});zt.displayName="Table";zt.Column.displayName="Table.Column";zt.Head.displayName="Table.Head";zt.Body.displayName="Table.Body";zt.Row.displayName="Table.Row";zt.Cell.displayName="Table.Cell";zt.HeaderCell.displayName="Table.HeaderCell";const CC={text:"origin-left rounded-sm",rect:"",circle:"rounded-full"};function vt(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function SC(e,t,r){return e==="circle"?{width:vt(t??r??40),height:vt(r??t??40)}:e==="text"?{width:vt(t??"100%"),height:vt(r??"1em")}:{width:vt(t),height:vt(r)}}function NC(e,t,r,n){return r?.[e]!==void 0?r[e]:t>1&&e===t-1?"68%":n??"100%"}function an(e){const{className:t,class:r,sx:n,style:o,rounded:s,width:i,height:a,inline:l=!1,animated:d=!0,variant:f="rect",role:h,...v}=e,m=se(),{roundedPreset:b,roundedStyle:p}=Zt(s??(f==="circle"?"full":f==="rect"?"md":"sm")),{sxClassName:x,sxInlineStyle:y}=X(n,m),g=SC(f,i,a);return c.jsx("div",{role:h??"status","aria-live":"polite","aria-label":e["aria-label"]??"Loading",className:j("skeleton bg-gray-200",l?"inline-block align-middle":"block",d&&"animate-pulse",CC[f],b&&Mt[b],x,t,r),style:L(o,g,p,y),...v})}function la(e){const{rows:t=3,rowHeight:r="0.875rem",gap:n=8,widths:o,width:s,sx:i,style:a,className:l,class:d,rounded:f,animated:h,inline:v=!1,...m}=e,b=se(),{sxClassName:p,sxInlineStyle:x}=X(i,b),y=Math.max(1,Math.floor(t));return c.jsx("div",{className:j("skeleton-text flex-col",v?"inline-flex align-middle":"flex",p,l,d),style:L(a,{gap:vt(n),width:vt(s)},x),...m,children:Array.from({length:y}).map((g,w)=>c.jsx(an,{...m,animated:h,rounded:f,variant:"text",width:NC(w,y,o,s),height:r},w))})}function ca(e){const{size:t=40,...r}=e;return c.jsx(an,{...r,variant:"circle",width:t,height:t})}function $h(e){const{width:t=96,height:r=36,rounded:n="md",...o}=e;return c.jsx(an,{...o,variant:"rect",width:t,height:r,rounded:n})}function Vh(e){const{showAvatar:t=!0,rows:r=3,width:n,animated:o=!0,rounded:s="lg",className:i,class:a,style:l,sx:d,...f}=e,h=se(),{roundedPreset:v,roundedStyle:m}=Zt(s),{sxClassName:b,sxInlineStyle:p}=X(d,h);return c.jsx("div",{className:j("skeleton-card border border-gray-200 bg-white p-4",v&&Mt[v],b,i,a),style:L(l,{width:vt(n)},m,p),...f,children:c.jsxs("div",{className:"flex items-start gap-3",children:[t?c.jsx(ca,{animated:o,size:40}):null,c.jsx("div",{className:"min-w-0 flex-1",children:c.jsx(la,{animated:o,rows:r,widths:["56%","100%","76%"]})})]})})}an.displayName="Skeleton";la.displayName="SkeletonText";ca.displayName="SkeletonAvatar";$h.displayName="SkeletonButton";Vh.displayName="SkeletonCard";const wc={full:"",middle:"px-4",inset:"pl-4"},qC={full:"",middle:"py-4",inset:"pt-4"};function zh(e){const{vertical:t=!1,variant:r="full",align:n="center",type:o="solid",color:s="text-gray-200",sx:i,children:a,className:l,style:d,...f}=e,h=se(),{sxClassName:v,sxInlineStyle:m}=X(i,h),b=L(d,m);if(t)return c.jsx("div",{role:"separator","aria-orientation":"vertical",className:j("inline-flex min-h-6 self-stretch items-stretch text-gray-200",qC[r],v,l),style:b,...f,children:c.jsx("span",{"aria-hidden":!0,className:j("border-l border-current",s),style:{borderStyle:o}})});const p=a!=null,x=n==="left"?"w-8 flex-none":"flex-1",y=n==="right"?"w-8 flex-none":"flex-1";return p?c.jsxs("div",{role:"separator","aria-orientation":"horizontal",className:j("flex w-full items-center text-gray-200",wc[r],v,l),style:b,...f,children:[c.jsx("span",{"aria-hidden":!0,className:j(x,"border-t border-current",s),style:{borderStyle:o}}),c.jsx("span",{className:"shrink-0 px-3 text-gray-500",children:a}),c.jsx("span",{"aria-hidden":!0,className:j(y,"border-t border-current",s),style:{borderStyle:o}})]}):c.jsx("div",{role:"separator","aria-orientation":"horizontal",className:j("w-full text-gray-200",wc[r],v,l),style:b,...f,children:c.jsx("span",{"aria-hidden":!0,className:j("block w-full border-t border-current",s),style:{borderStyle:o}})})}zh.displayName="Divider";const Pc={xs:"gap-1",sm:"gap-2",md:"gap-3",lg:"gap-4",xl:"gap-6"};function kC(e){return e==="col"?"column":e==="col-reverse"?"column-reverse":e}function EC(e){return typeof e=="boolean"?e?"wrap":"nowrap":e}function Cc(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function RC(e){return typeof e=="number"?{gapStyle:`${e}px`}:typeof e=="string"&&e in Pc?{gapClass:Pc[e]}:{gapStyle:e}}function Hh(e){const{direction:t="row",justify:r,items:n,flex:o,wrap:s="nowrap",gap:i="md",width:a,height:l,sx:d,className:f,style:h,...v}=e,{gapClass:m,gapStyle:b}=RC(i),p={flexDirection:kC(t),justifyContent:r,alignItems:n,flexWrap:EC(s),flex:o,gap:b,width:Cc(a),height:Cc(l)};return c.jsx(Pe,{className:j("flex",m,f),style:L(h,p),sx:d,...v})}Hh.displayName="Flex";function Sc(e){if(e!==void 0)return typeof e=="number"?`${e*8}px`:e}function jC(e){return!e||Number.isNaN(e)||e<=0?12:e}function TC(e){return typeof e=="boolean"?e?"wrap":"nowrap":e}function AC(e){return e==="grow"?{flexBasis:0,flexGrow:1,maxWidth:"100%"}:{flexBasis:`calc(100% * ${e} / var(--ldkj-grid-columns, 12))`,maxWidth:`calc(100% * ${e} / var(--ldkj-grid-columns, 12))`,flexGrow:0}}function _C(e){return e==="auto"?{marginLeft:"auto"}:{marginLeft:`calc(100% * ${e} / var(--ldkj-grid-columns, 12))`}}function Eo(e){const{container:t=!1,size:r,offset:n,columns:o,spacing:s,rowSpacing:i,columnSpacing:a,wrap:l="wrap",direction:d="row",sx:f,className:h,style:v,...m}=e,b=jC(o),p=Sc(i??s),x=Sc(a??s),y={};return t?(y.display="flex",y.flexWrap=TC(l),y.flexDirection=d,y.rowGap=p,y.columnGap=x,y["--ldkj-grid-columns"]=String(b)):o!==void 0&&(y["--ldkj-grid-columns"]=String(b)),r!==void 0&&Object.assign(y,AC(r)),n!==void 0&&Object.assign(y,_C(n)),c.jsx(Pe,{className:j("min-w-0",h),style:L(v,y),sx:f,...m})}Eo.displayName="Grid";function IC(e,t){return{paddingTop:e==="top"||e==="both"?"env(safe-area-inset-top, 0px)":void 0,paddingBottom:e==="bottom"||e==="both"?"env(safe-area-inset-bottom, 0px)":void 0,paddingLeft:t?"env(safe-area-inset-left, 0px)":void 0,paddingRight:t?"env(safe-area-inset-right, 0px)":void 0}}function Ro(e){const{component:t,position:r="both",horizontal:n=!1,sx:o,className:s,style:i,children:a,...l}=e,d=IC(r,n);return c.jsx(Pe,{component:t,className:j("box-border",s),style:L(i,d),sx:o,...l,children:a})}function Wh(e){return c.jsx(Ro,{...e,position:"top"})}function Gh(e){return c.jsx(Ro,{...e,position:"bottom"})}Ro.displayName="SafeArea";Wh.displayName="SafeAreaTop";Gh.displayName="SafeAreaBottom";const Nc={sm:640,md:768,lg:1024,xl:1280},qc={xs:"0.25rem",sm:"0.5rem",md:"0.75rem",lg:"1rem",xl:"1.5rem"},Kh=Symbol("ldkj-space-item"),br=(e=>{const{className:t,class:r,style:n,sx:o,flex:s,grow:i,shrink:a,basis:l,order:d,alignSelf:f,children:h,...v}=e;return c.jsx(Pe,{className:[t,r].filter(Boolean).join(" "),style:L(n,{flex:s,flexGrow:i,flexShrink:a,flexBasis:l,order:d,alignSelf:f}),sx:o,...v,children:h})});br.displayName="SpaceItem";br[Kh]=!0;function Uh(e){return typeof e!="object"||e===null||Array.isArray(e)?!1:Object.keys(e).some(r=>["xs","sm","md","lg","xl"].includes(r))}function Ar(e){if(e!==void 0)return Uh(e)?e.xs:e}function _r(e,t){if(e===void 0||!Uh(e))return;const r={};return Object.keys(Nc).forEach(n=>{const o=e[n];if(o===void 0)return;const s=Nc[n];r[`@media (min-width: ${s}px)`]=t(o)}),Object.keys(r).length?r:void 0}function kc(e){return e==="vertical"?"column":"row"}function Ec(e){return e===void 0?"wrap":typeof e=="boolean"?e?"wrap":"nowrap":e}function Rt(e){return typeof e=="number"?`${e}px`:e in qc?qc[e]:e}function Rc(e){if(e===void 0){const r=Rt("md");return{rowGap:r,columnGap:r}}if(Array.isArray(e))return{rowGap:Rt(e[0]),columnGap:Rt(e[1])};if(typeof e=="object"){if("row"in e||"column"in e)return{rowGap:Rt(e.row??"md"),columnGap:Rt(e.column??"md")};if("x"in e||"y"in e)return{rowGap:Rt(e.y??"md"),columnGap:Rt(e.x??"md")}}const t=Rt(e);return{rowGap:t,columnGap:t}}function OC(e){return!!e.type?.[Kh]}function Yh(e,t,r,n,o){if(u.isValidElement(e)&&OC(e)){const s=[r,e.props.className,e.props.class].filter(Boolean).join(" ");return c.jsx(br,{...e.props,className:s||void 0,style:L(n,e.props.style),sx:[o,e.props.sx],children:e.props.children},e.key??`space-item-${t}`)}return c.jsx(br,{className:r,style:n,sx:o,children:e},u.isValidElement(e)?e.key??`space-item-${t}`:`space-item-${t}`)}function MC(e,t,r,n,o){const s=u.Children.toArray(e),i=[];return s.forEach((a,l)=>{i.push(Yh(a,l,r,n,o)),l<s.length-1&&i.push(c.jsx(br,{"aria-hidden":"true",children:t},`space-split-${l}`))}),i}const ua=e=>{const{direction:t="horizontal",size:r="md",wrap:n=!0,align:o,justify:s,split:i,itemClassName:a,itemStyle:l,itemSx:d,sx:f,children:h,style:v,...m}=e,b=Ar(t)??"horizontal",p=Ar(r)??"md",x=Ar(n)??!0,y=Ar(o),g=Ar(s),w=Rc(p),P={display:"flex",flexDirection:kc(b),flexWrap:Ec(x),alignItems:y,justifyContent:g,rowGap:w.rowGap,columnGap:w.columnGap},C=_r(t,R=>({flexDirection:kc(R)})),N=_r(r,R=>Rc(R)),q=_r(n,R=>({flexWrap:Ec(R)})),S=_r(o,R=>({alignItems:R})),k=_r(s,R=>({justifyContent:R})),T=[C,N,q,S,k,f],E=i!=null?MC(h,i,a,l,d):u.Children.toArray(h).map((R,A)=>Yh(R,A,a,l,d));return c.jsx(Pe,{style:L(v,P),sx:T,...m,children:E})};ua.displayName="Space";ua.Item=br;const LC={h1:"text-3xl font-semibold leading-tight",h2:"text-2xl font-semibold leading-tight",h3:"text-xl font-semibold leading-snug",body:"text-sm leading-6 text-slate-700",caption:"text-xs leading-5 text-slate-500"};function DC(e){const{component:t,className:r,class:n,sx:o,style:s,variant:i="body",...a}=e,l=t??"p",d=se(),{sxClassName:f,sxInlineStyle:h}=X(o,d);return c.jsx(l,{className:j(LC[i],f,r,n),style:L(s,h),...a})}function BC(e){return e===void 0?{}:Array.isArray(e)?{rowSpacing:e[0],columnSpacing:e[1]}:{spacing:e}}function Xh(e){const{gutter:t=0,align:r,justify:n,wrap:o="wrap",direction:s="row",style:i,...a}=e,l=BC(t);return c.jsx(Eo,{container:!0,wrap:o,direction:s,style:L(i,{alignItems:r,justifyContent:n}),...l,...a})}Xh.displayName="Row";function Jh(e){const{span:t,offset:r,flex:n,style:o,...s}=e;return c.jsx(Eo,{size:t,offset:r,style:L(o,{flex:n}),...s})}Jh.displayName="Col";const Qh=u.createContext({}),Zh=u.forwardRef(({separator:e,items:t,listProps:r,sx:n,style:o,className:s,class:i,children:a,...l},d)=>{const f=se(),{sxClassName:h,sxInlineStyle:v}=X(n,f),m=Array.isArray(t)&&t.length>0;return c.jsx(Qh.Provider,{value:{separator:e},children:c.jsx("nav",{ref:d,"aria-label":"breadcrumb",className:j(h,s,i),style:L(o,v),...l,children:m?c.jsx(da,{...r,children:t.map((b,p)=>{const{key:x,label:y,href:g,current:w,separator:P,ellipsis:C,itemProps:N,linkProps:q,pageProps:S}=b,k=p===t.length-1,T=w??k;return c.jsxs(u.Fragment,{children:[c.jsx(fa,{...N,children:C?c.jsx(va,{}):T?c.jsx(ma,{...S,children:y}):c.jsx(ha,{href:g,...q,children:y})}),k?null:c.jsx(pa,{children:P})]},x??p)})}):a})})});Zh.displayName="Breadcrumb";const da=u.forwardRef(({sx:e,style:t,className:r,class:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(e,i),d={listStyle:"none",margin:0,padding:0};return c.jsx("ol",{ref:s,className:j("m-0 flex list-none flex-wrap items-center gap-1.5 break-words p-0 text-sm text-muted-foreground sm:gap-2.5",a,r,n),style:L(d,t,l),...o})});da.displayName="BreadcrumbList";const fa=u.forwardRef(({sx:e,style:t,className:r,class:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(e,i),d={margin:0,display:"inline-flex",alignItems:"center"};return c.jsx("li",{ref:s,className:j("inline-flex items-center gap-1.5 leading-none",a,r,n),style:L(d,t,l),...o})});fa.displayName="BreadcrumbItem";const ha=u.forwardRef(({component:e,sx:t,style:r,className:n,class:o,...s},i)=>{const a=e??"a",l=se(),{sxClassName:d,sxInlineStyle:f}=X(t,l);return c.jsx(a,{ref:i,className:j("inline-flex items-center leading-none transition-colors hover:text-foreground",d,n,o),style:L(r,f),...s})});ha.displayName="BreadcrumbLink";const ma=u.forwardRef(({sx:e,style:t,className:r,class:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(e,i);return c.jsx("span",{ref:s,role:"link","aria-disabled":"true","aria-current":"page",className:j("inline-flex items-center font-normal leading-none text-foreground",a,r,n),style:L(t,l),...o})});ma.displayName="BreadcrumbPage";const pa=({children:e,sx:t,style:r,className:n,class:o,...s})=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(t,i),{separator:d}=u.useContext(Qh),f={margin:0,display:"inline-flex",alignItems:"center"};return c.jsx("li",{role:"presentation","aria-hidden":"true",className:j("shrink-0 leading-none [&>svg]:h-3.5 [&>svg]:w-3.5",a,n,o),style:L(f,r,l),...s,children:e??d??c.jsx(Le,{name:"chevron_right"})})};pa.displayName="BreadcrumbSeparator";const va=({sx:e,style:t,className:r,class:n,...o})=>{const s=se(),{sxClassName:i,sxInlineStyle:a}=X(e,s);return c.jsxs("span",{role:"presentation","aria-hidden":"true",className:j("flex h-9 w-9 items-center justify-center",i,r,n),style:L(t,a),...o,children:[c.jsx(Le,{name:"more_horiz",className:"h-4 w-4"}),c.jsx("span",{className:"sr-only",children:"More"})]})};va.displayName="BreadcrumbEllipsis";function FC(e,t){if(typeof document>"u"||typeof window>"u")return;const r=document.getElementById(e);if(r){if(t.offset!==0){const n=r.getBoundingClientRect(),o=window.scrollY+n.top-t.offset;window.scrollTo({top:o,behavior:t.behavior});return}r.scrollIntoView({behavior:t.behavior,block:t.block,inline:t.inline})}}function em(e){const{id:t,offset:r=0,behavior:n="smooth",block:o="start",inline:s="nearest",onNavigate:i,className:a,class:l,sx:d,style:f}=e,h=se(),{sxClassName:v,sxInlineStyle:m}=X(d,h),b=j("inline-flex w-fit p-0",v,a,l),p=L(f,m),x=()=>{FC(t,{behavior:n,block:o,inline:s,offset:r}),i?.(t)};if(e.hash===!0){const{hash:O,onClick:I,href:$,onNavigate:M,class:U,sx:D,offset:G,behavior:me,block:te,inline:J,...H}=e;return c.jsx("a",{href:$??`#${t}`,className:b,style:p,onClick:Y=>{Y.preventDefault(),x(),I?.(Y)},...H})}const{component:y,onClick:g,onKeyDown:w,hash:P,onNavigate:C,class:N,sx:q,offset:S,behavior:k,block:T,inline:E,...R}=e,A=y??"button",_=A==="button";return c.jsx(A,{className:b,style:p,type:_?"button":void 0,role:_?void 0:"button",tabIndex:_?void 0:0,onClick:O=>{x(),g?.(O)},onKeyDown:O=>{!_&&(O.key==="Enter"||O.key===" ")&&(O.preventDefault(),x()),w?.(O)},...R})}em.displayName="Anchor";function $C(){return u.useRef(null)}const ga=u.createContext(null),Kr=u.createContext(0),ti=u.createContext(null);function tm(e){const t=u.useContext(ga);if(!t)throw new Error(`${e} must be used within Menu.`);return t}function jc(e){const{value:t,defaultValue:r=[],onChange:n}=e,[o,s]=u.useState(r),i=t!==void 0,a=i?t:o,l=u.useCallback((d,f)=>{i||s(d),n?.(d,{key:f,keys:d})},[i,n]);return[a,l]}function Jn(e){return typeof e=="number"?`${e}px`:e}function VC(e){if(!e)return;const t={};return e.itemText&&(t["--menu-item-text"]=e.itemText),e.itemBackground&&(t["--menu-item-bg"]=e.itemBackground),e.itemHoverText&&(t["--menu-item-hover-text"]=e.itemHoverText),e.itemHoverBackground&&(t["--menu-item-hover-bg"]=e.itemHoverBackground),e.itemSelectedText&&(t["--menu-item-selected-text"]=e.itemSelectedText),e.itemSelectedBackground&&(t["--menu-item-selected-bg"]=e.itemSelectedBackground),e.itemSelectedHoverText&&(t["--menu-item-selected-hover-text"]=e.itemSelectedHoverText),e.itemDisabledText&&(t["--menu-item-disabled-text"]=e.itemDisabledText),Object.keys(t).length?t:void 0}function zC(e,t){return e.key??e.href??t.join("-")}function HC(e){return e.key==="Enter"||e.key===" "}function ln(e){const{className:t,class:r,sx:n,style:o,...s}=e,i=u.useContext(ga),a=se(),{sxClassName:l,sxInlineStyle:d}=X(n,a),f={display:"flex",flexDirection:"column",gap:i?Jn(i.itemGap):void 0,listStyle:"none",margin:0,padding:0};return c.jsx("ul",{className:j("m-0 list-none p-0",l,t,r),style:L(f,o,d),...s})}ln.displayName="Menu.List";function ba(e){const{itemKey:t,label:r,icon:n,iconProps:o,href:s,component:i,disabled:a=!1,selected:l,unselectOnClick:d,onClick:f,onSelect:h,className:v,class:m,sx:b,style:p,children:x,...y}=e,g=tm("Menu.Item"),w=u.useContext(Kr),P=l??g.selectedKeys.includes(t),C=se(),{sxClassName:N,sxInlineStyle:q}=X(b,C),S=i??(s?"a":"button"),k=S==="button",T=E=>{if(a){E.preventDefault();return}g.selectKey(t,d),h?.(t),f?.(E)};return c.jsx("li",{role:"none",style:{listStyle:"none",margin:0},children:c.jsxs(S,{className:j("flex min-h-10 w-full items-center gap-2 rounded-md px-3 py-2 text-left text-sm leading-5 text-[color:var(--menu-item-text,#334155)] transition-colors hover:bg-[color:var(--menu-item-hover-bg,#f1f5f9)] hover:text-[color:var(--menu-item-hover-text,#0f172a)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",P&&"bg-[color:var(--menu-item-selected-bg,#e0f2fe)] text-[color:var(--menu-item-selected-text,#075985)] hover:bg-[color:var(--menu-item-selected-bg,#e0f2fe)] hover:text-[color:var(--menu-item-selected-hover-text,#075985)]",a&&"cursor-not-allowed text-[color:var(--menu-item-disabled-text,#94a3b8)] opacity-70 hover:bg-transparent",N,v,m),style:L({paddingLeft:`calc(0.75rem + ${w} * ${Jn(g.indent)})`},p,q),href:s,type:k?"button":void 0,role:"menuitem","aria-disabled":a||void 0,"aria-current":P?"page":void 0,"data-menu-item-key":t,"data-selected":P?"":void 0,disabled:k?a:void 0,onClick:T,...y,children:[n?c.jsx(Le,{name:n,size:18,className:"shrink-0",...o}):null,c.jsx("span",{className:"min-w-0 flex-1 truncate",children:r??x})]})})}ba.displayName="Menu.Item";function xa(e){const{itemKey:t,label:r,icon:n,iconProps:o,disabled:s=!1,className:i,class:a,sx:l,style:d,children:f,...h}=e,v=tm("Menu.Sub"),m=u.useContext(Kr),b=u.useContext(ti),p=v.openKeys.includes(t),x=se(),{sxClassName:y,sxInlineStyle:g}=X(l,x);return u.useEffect(()=>v.registerSub(t,b),[v,t,b]),c.jsxs("li",{className:j(y,i,a),style:L({display:"flex",flexDirection:"column",gap:Jn(v.itemGap),listStyle:"none",margin:0},d,g),...h,children:[c.jsxs("button",{type:"button",className:j("flex min-h-10 w-full items-center gap-2 rounded-md px-3 py-2 text-left text-sm leading-5 text-[color:var(--menu-item-text,#334155)] transition-colors hover:bg-[color:var(--menu-item-hover-bg,#f1f5f9)] hover:text-[color:var(--menu-item-hover-text,#0f172a)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",p&&"bg-slate-100 text-slate-950",s&&"cursor-not-allowed text-[color:var(--menu-item-disabled-text,#94a3b8)] opacity-70 hover:bg-transparent"),style:{paddingLeft:`calc(0.75rem + ${m} * ${Jn(v.indent)})`},"aria-expanded":p,"aria-disabled":s||void 0,"data-menu-sub-key":t,disabled:s,onClick:()=>{s||v.toggleOpenKey(t)},onKeyDown:w=>{!s&&HC(w)&&(w.preventDefault(),v.toggleOpenKey(t))},children:[n?c.jsx(Le,{name:n,size:18,className:"shrink-0",...o}):null,c.jsx("span",{className:"min-w-0 flex-1 truncate",children:r}),c.jsx(Le,{name:"unfold_more",size:18,className:j("shrink-0 transition-transform",p?"rotate-180":"rotate-90")})]}),p?c.jsx(Kr.Provider,{value:m+1,children:c.jsx(ti.Provider,{value:t,children:c.jsx(ln,{role:"menu","aria-label":typeof r=="string"?r:void 0,children:f})})}):null]})}xa.displayName="Menu.Sub";function ya(e){const{label:t,className:r,class:n,sx:o,style:s,children:i,...a}=e,l=u.useContext(Kr),d=se(),{sxClassName:f,sxInlineStyle:h}=X(o,d);return c.jsxs("li",{className:j("py-1",f,r,n),style:L({listStyle:"none",margin:0},s,h),...a,children:[t?c.jsx("div",{className:"px-3 py-2 text-xs font-medium uppercase text-slate-500",style:{paddingLeft:`calc(0.75rem + ${l} * 12px)`},children:t}):null,c.jsx(ln,{role:"group",children:i})]})}ya.displayName="Menu.Group";function ri(e,t=[]){return e.map((r,n)=>{const o=[...t,n],s=zC(r,o);return r.type==="group"?c.jsx(ya,{label:r.label,...r.groupProps,children:r.children?ri(r.children,o):null},s):r.children?.length||r.type==="sub"?c.jsx(xa,{itemKey:s,label:r.label,icon:r.icon,iconProps:r.iconProps,disabled:r.disabled,...r.subProps,children:r.children?ri(r.children,o):null},s):c.jsx(ba,{itemKey:s,label:r.label,icon:r.icon,iconProps:r.iconProps,href:r.href,disabled:r.disabled,unselectOnClick:r.unselectOnClick,...r.itemProps},s)})}function rm(e){const{items:t,selectedKeys:r,defaultSelectedKeys:n,onSelectedKeysChange:o,openKeys:s,defaultOpenKeys:i,onOpenKeysChange:a,multiple:l=!1,accordion:d=!1,indent:f=18,itemGap:h=4,itemColors:v,menuRef:m,children:b,listProps:p,className:x,class:y,style:g,component:w,...P}=e,[C,N]=jc({value:r,defaultValue:n,onChange:o}),[q,S]=jc({value:s,defaultValue:i,onChange:a}),k=u.useRef(new Map),T=u.useCallback((O,I)=>(k.current.set(O,I),()=>{k.current.delete(O)}),[]),E=u.useCallback((O,I)=>{const $=l?C.includes(O)?C.filter(M=>M!==O):[...C,O]:C.includes(O)&&I?[]:[O];N($,O)},[l,C,N]),R=u.useCallback((O,I)=>{const $=q;let M=$;if(I){if($.includes(O))return;if(d){const U=k.current.get(O)??null;M=$.filter(D=>k.current.get(D)!==U)}M=[...M,O]}else M=$.filter(U=>U!==O);S(M,O)},[d,q,S]),A=u.useCallback(O=>{R(O,!q.includes(O))},[q,R]);u.useImperativeHandle(m,()=>({select:O=>E(O),unselect:O=>N(C.filter(I=>I!==O),O),open:O=>R(O,!0),close:O=>R(O,!1),toggleOpen:A,getSelectedKeys:()=>C,getOpenKeys:()=>q}),[q,E,C,R,N,A]);const _=u.useMemo(()=>({selectedKeys:C,openKeys:q,multiple:l,accordion:d,indent:f,itemGap:h,selectKey:E,toggleOpenKey:A,registerSub:T}),[d,f,h,l,q,T,E,C,A]);return c.jsx(ga.Provider,{value:_,children:c.jsx(Kr.Provider,{value:0,children:c.jsx(ti.Provider,{value:null,children:c.jsx(Pe,{component:w??"nav",className:j("w-64 rounded-lg border border-slate-200 bg-white p-1",x,y),style:L(VC(v),g),"aria-label":"Menu",...P,children:c.jsx(ln,{role:"menu",...p,children:t?ri(t):b})})})})})}rm.displayName="Menu";const WC=Object.assign(rm,{Item:ba,Sub:xa,Group:ya,List:ln});var jo="Tabs",[GC]=rt(jo,[yo]),nm=yo(),[KC,wa]=GC(jo),om=u.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,onValueChange:o,defaultValue:s,orientation:i="horizontal",dir:a,activationMode:l="automatic",...d}=e,f=xo(a),[h,v]=yt({prop:n,onChange:o,defaultProp:s??"",caller:jo});return c.jsx(KC,{scope:r,baseId:tr(),value:h,onValueChange:v,orientation:i,dir:f,activationMode:l,children:c.jsx(be.div,{dir:f,"data-orientation":i,...d,ref:t})})});om.displayName=jo;var sm="TabsList",im=u.forwardRef((e,t)=>{const{__scopeTabs:r,loop:n=!0,...o}=e,s=wa(sm,r),i=nm(r);return c.jsx(Zd,{asChild:!0,...i,orientation:s.orientation,dir:s.dir,loop:n,children:c.jsx(be.div,{role:"tablist","aria-orientation":s.orientation,...o,ref:t})})});im.displayName=sm;var am="TabsTrigger",lm=u.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...s}=e,i=wa(am,r),a=nm(r),l=dm(i.baseId,n),d=fm(i.baseId,n),f=n===i.value;return c.jsx(ef,{asChild:!0,...a,focusable:!o,active:f,children:c.jsx(be.button,{type:"button",role:"tab","aria-selected":f,"aria-controls":d,"data-state":f?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l,...s,ref:t,onMouseDown:ce(e.onMouseDown,h=>{!o&&h.button===0&&h.ctrlKey===!1?i.onValueChange(n):h.preventDefault()}),onKeyDown:ce(e.onKeyDown,h=>{[" ","Enter"].includes(h.key)&&i.onValueChange(n)}),onFocus:ce(e.onFocus,()=>{const h=i.activationMode!=="manual";!f&&!o&&h&&i.onValueChange(n)})})})});lm.displayName=am;var cm="TabsContent",um=u.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,forceMount:o,children:s,...i}=e,a=wa(cm,r),l=dm(a.baseId,n),d=fm(a.baseId,n),f=n===a.value,h=u.useRef(f);return u.useEffect(()=>{const v=requestAnimationFrame(()=>h.current=!1);return()=>cancelAnimationFrame(v)},[]),c.jsx(Bt,{present:o||f,children:({present:v})=>c.jsx(be.div,{"data-state":f?"active":"inactive","data-orientation":a.orientation,role:"tabpanel","aria-labelledby":l,hidden:!v,id:d,tabIndex:0,...i,ref:t,style:{...e.style,animationDuration:h.current?"0s":void 0},children:v&&s})})});um.displayName=cm;function dm(e,t){return`${e}-trigger-${t}`}function fm(e,t){return`${e}-content-${t}`}var UC=om,hm=im,mm=lm,pm=um;function vm(e){const{items:t,listProps:r,sx:n,style:o,className:s,class:i,children:a,...l}=e,d=se(),{sxClassName:f,sxInlineStyle:h}=X(n,d),v=Array.isArray(t)&&t.length>0;return c.jsx(UC,{className:j("w-full",f,s,i),style:L(o,h),...l,children:v?c.jsxs(c.Fragment,{children:[c.jsx(Pa,{...r,children:t.map(m=>c.jsx(Ca,{value:m.value,disabled:m.disabled,...m.triggerProps,children:m.label},m.value))}),t.map(m=>c.jsx(Sa,{value:m.value,...m.contentProps,children:m.content},m.value))]}):a})}vm.displayName="Tabs";const Pa=u.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(r,i);return c.jsx(hm,{ref:s,className:j("inline-flex min-h-10 items-center gap-1 rounded-lg bg-slate-100 p-1 text-slate-600",a,e,t),style:L(n,l),...o})});Pa.displayName=hm.displayName;const Ca=u.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(r,i);return c.jsx(mm,{ref:s,className:j("inline-flex min-h-8 items-center justify-center whitespace-nowrap rounded-md px-3 py-1.5 text-sm font-medium leading-5 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-white data-[state=active]:text-blue-700 data-[state=active]:shadow-sm",a,e,t),style:L(n,l),...o})});Ca.displayName=mm.displayName;const Sa=u.forwardRef(({className:e,class:t,sx:r,style:n,borderless:o=!1,...s},i)=>{const a=se(),{sxClassName:l,sxInlineStyle:d}=X(r,a);return c.jsx(pm,{ref:i,className:j("mt-3 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",!o&&"rounded-lg border border-slate-200 bg-white p-4",l,e,t),style:L(n,d),...s})});Sa.displayName=pm.displayName;exports.Alert=ey;exports.Anchor=em;exports.AutoComplete=Gd;exports.Avatar=Eh;exports.AvatarFallback=Zi;exports.AvatarImage=Qi;exports.Badge=TP;exports.Box=Pe;exports.Breadcrumb=Zh;exports.BreadcrumbEllipsis=va;exports.BreadcrumbItem=fa;exports.BreadcrumbLink=ha;exports.BreadcrumbList=da;exports.BreadcrumbPage=ma;exports.BreadcrumbSeparator=pa;exports.Button=Jr;exports.Card=Pt;exports.Cascader=gf;exports.Checkbox=rn;exports.CheckboxGroup=zd;exports.Chip=jh;exports.Col=Jh;exports.Dialog=qv;exports.DialogClose=fi;exports.DialogContent=mi;exports.DialogDescription=bi;exports.DialogFooter=vi;exports.DialogHeader=pi;exports.DialogOverlay=hi;exports.DialogPortal=pu;exports.DialogTitle=gi;exports.DialogTrigger=di;exports.Divider=zh;exports.Drawer=Qx;exports.Empty=_P;exports.Flex=Hh;exports.Form=yf;exports.FormItem=Hi;exports.GhostButton=Fn;exports.GhostButtonGroup=au;exports.Grid=Eo;exports.Icon=Le;exports.Image=Th;exports.Input=bo;exports.InputNumber=Hd;exports.InputOPT=Wd;exports.Label=go;exports.List=AP;exports.Loading=Jx;exports.Menu=WC;exports.MobileCascader=fh;exports.MobileSelect=dh;exports.Modal=ui;exports.NotificationProvider=jd;exports.Pagination=ra;exports.PaginationContent=na;exports.PaginationEllipsis=ia;exports.PaginationItem=Kt;exports.PaginationLink=sn;exports.PaginationNext=sa;exports.PaginationPrevious=oa;exports.Popover=ud;exports.PopoverAnchor=px;exports.PopoverClose=dd;exports.PopoverContent=Oi;exports.PopoverTrigger=Ii;exports.Progress=ty;exports.QRCode=aC;exports.QRCodeBase=cC;exports.QRCodeCanvas=Mh;exports.QRCodeSizable=Lh;exports.Radio=$i;exports.RadioGroup=mf;exports.Rate=pf;exports.Required=T0;exports.Row=Xh;exports.SafeArea=Ro;exports.SafeAreaBottom=Gh;exports.SafeAreaTop=Wh;exports.Select=Jf;exports.SelectContent=th;exports.SelectGroup=Qf;exports.SelectItem=Un;exports.SelectItems=Mw;exports.SelectLabel=Ui;exports.SelectScrollDownButton=Ki;exports.SelectScrollUpButton=Gi;exports.SelectSeparator=Yi;exports.SelectTrigger=eh;exports.SelectValue=Aw;exports.Skeleton=an;exports.SkeletonAvatar=ca;exports.SkeletonButton=$h;exports.SkeletonCard=Vh;exports.SkeletonText=la;exports.Slider=bf;exports.Space=ua;exports.Spin=Td;exports.Switch=ah;exports.SxProvider=up;exports.Table=zt;exports.Tabs=vm;exports.TabsContent=Sa;exports.TabsList=Pa;exports.TabsTrigger=Ca;exports.ToastProvider=du;exports.Tooltip=Bx;exports.TooltipArrow=Di;exports.TooltipContent=qd;exports.TooltipPortal=Fx;exports.TooltipProvider=Dx;exports.TooltipTrigger=Nd;exports.Typography=DC;exports.Uploader=U0;exports.buttonVariants=Mc;exports.chipVariants=Rh;exports.createTheme=dp;exports.getRegisteredIconNames=hv;exports.mergeSxStyle=L;exports.notification=zx;exports.registerIconLoaders=uv;exports.resetIconLoaders=fv;exports.resolveSx=X;exports.setIconLoaders=dv;exports.toast=Cv;exports.useForm=Vi;exports.useFormInstance=zi;exports.useFormValue=Co;exports.useFormWatch=xf;exports.useInputNumberState=Ry;exports.useInputValue=Ny;exports.useMenuRef=$C;exports.useNotification=Xx;exports.useSxTheme=se;exports.useToast=Pv;
|