@ldkj/web-ui 0.19.0 → 0.21.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/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"),_c=require("react-dom");function Ic(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=Ic(je),Yr=Ic(_c);function Oc(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=Oc(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Mc(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Oc(e))&&(n&&(n+=" "),n+=t);return n}const ka=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Ea=Mc,Lc=(e,t)=>r=>{var n;if(t?.variants==null)return Ea(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 p=ka(f)||ka(h);return o[d][p]}),a=r&&Object.entries(r).reduce((d,f)=>{let[h,p]=f;return p===void 0||(d[h]=p),d},{}),l=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((d,f)=>{let{class:h,className:p,...m}=f;return Object.entries(m).every(b=>{let[v,x]=b;return Array.isArray(x)?x.includes({...s,...a}[v]):{...s,...a}[v]===x})?[...d,h,p]:d},[]);return Ea(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 ym(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`}}:ym(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 wm(e){return typeof e=="string"&&Object.prototype.hasOwnProperty.call(xr,e)}function Xr(e){return e===void 0?{}:wm(e)?{shadowPreset:e}:{shadowStyle:{boxShadow:e}}}const Dc=Lc("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}}),Pm=(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},Cm=(e,t)=>({classGroupId:e,validator:t}),Bc=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),Dn="-",Ra=[],Sm="arbitrary..",Nm=e=>{const t=km(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return qm(i);const a=i.split(Dn),l=a[0]===""&&a.length>1?1:0;return Fc(a,l,t)},getConflictingClassGroupIds:(i,a)=>{if(a){const l=n[i],d=r[i];return l?d?Pm(d,l):l:d||Ra}return r[i]||Ra}}},Fc=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const o=e[t],s=r.nextPart.get(o);if(s){const d=Fc(e,t+1,s);if(d)return d}const i=r.validators;if(i===null)return;const a=t===0?e.join(Dn):e.slice(t).join(Dn),l=i.length;for(let d=0;d<l;d++){const f=i[d];if(f.validator(a))return f.classGroupId}},qm=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?Sm+n:void 0})(),km=e=>{const{theme:t,classGroups:r}=e;return Em(r,t)},Em=(e,t)=>{const r=Bc();for(const n in e){const o=e[n];oi(o,r,n,t)}return r},oi=(e,t,r,n)=>{const o=e.length;for(let s=0;s<o;s++){const i=e[s];Rm(i,t,r,n)}},Rm=(e,t,r,n)=>{if(typeof e=="string"){jm(e,t,r);return}if(typeof e=="function"){Tm(e,t,r,n);return}Am(e,t,r,n)},jm=(e,t,r)=>{const n=e===""?t:$c(t,e);n.classGroupId=r},Tm=(e,t,r,n)=>{if(_m(e)){oi(e(n),t,r,n);return}t.validators===null&&(t.validators=[]),t.validators.push(Cm(r,e))},Am=(e,t,r,n)=>{const o=Object.entries(e),s=o.length;for(let i=0;i<s;i++){const[a,l]=o[i];oi(l,$c(t,a),r,n)}},$c=(e,t)=>{let r=e;const n=t.split(Dn),o=n.length;for(let s=0;s<o;s++){const i=n[s];let a=r.nextPart.get(i);a||(a=Bc(),r.nextPart.set(i,a)),r=a}return r},_m=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Im=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)}}},js="!",ja=":",Om=[],Ta=(e,t,r,n,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:o}),Mm=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 v=0;v<f;v++){const x=o[v];if(i===0&&a===0){if(x===ja){s.push(o.slice(l,v)),l=v+1;continue}if(x==="/"){d=v;continue}}x==="["?i++:x==="]"?i--:x==="("?a++:x===")"&&a--}const h=s.length===0?o:o.slice(l);let p=h,m=!1;h.endsWith(js)?(p=h.slice(0,-1),m=!0):h.startsWith(js)&&(p=h.slice(1),m=!0);const b=d&&d>l?d-l:void 0;return Ta(s,m,p,b)};if(t){const o=t+ja,s=n;n=i=>i.startsWith(o)?s(i.slice(o.length)):Ta(Om,!1,i,void 0,!0)}if(r){const o=n;n=s=>r({className:s,parseClassName:o})}return n},Lm=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}},Dm=e=>({cache:Im(e.cacheSize),parseClassName:Mm(e),sortModifiers:Lm(e),...Nm(e)}),Bm=/\s+/,Fm=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:s}=t,i=[],a=e.trim().split(Bm);let l="";for(let d=a.length-1;d>=0;d-=1){const f=a[d],{isExternal:h,modifiers:p,hasImportantModifier:m,baseClassName:b,maybePostfixModifierPosition:v}=r(f);if(h){l=f+(l.length>0?" "+l:l);continue}let x=!!v,y=n(x?b.substring(0,v):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=p.length===0?"":p.length===1?p[0]:s(p).join(":"),w=m?g+js:g,P=w+y;if(i.indexOf(P)>-1)continue;i.push(P);const C=o(y,x);for(let S=0;S<C.length;++S){const N=C[S];i.push(w+N)}l=f+(l.length>0?" "+l:l)}return l},$m=(...e)=>{let t=0,r,n,o="";for(;t<e.length;)(r=e[t++])&&(n=Vc(r))&&(o&&(o+=" "),o+=n);return o},Vc=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Vc(e[n]))&&(r&&(r+=" "),r+=t);return r},Vm=(e,...t)=>{let r,n,o,s;const i=l=>{const d=t.reduce((f,h)=>h(f),e());return r=Dm(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=Fm(l,r);return o(l,f),f};return s=i,(...l)=>s($m(...l))},zm=[],Me=e=>{const t=r=>r[e]||zm;return t.isThemeGetter=!0,t},zc=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Hc=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Hm=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Wm=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Gm=/\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$/,Km=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Um=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ym=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,qt=e=>Hm.test(e),ge=e=>!!e&&!Number.isNaN(Number(e)),kt=e=>!!e&&Number.isInteger(Number(e)),Ao=e=>e.endsWith("%")&&ge(e.slice(0,-1)),pt=e=>Wm.test(e),Wc=()=>!0,Xm=e=>Gm.test(e)&&!Km.test(e),si=()=>!1,Jm=e=>Um.test(e),Qm=e=>Ym.test(e),Zm=e=>!ee(e)&&!ne(e),ep=e=>Lt(e,Uc,si),ee=e=>zc.test(e),Ht=e=>Lt(e,Yc,Xm),Aa=e=>Lt(e,lp,ge),tp=e=>Lt(e,Jc,Wc),rp=e=>Lt(e,Xc,si),_a=e=>Lt(e,Gc,si),np=e=>Lt(e,Kc,Qm),un=e=>Lt(e,Qc,Jm),ne=e=>Hc.test(e),kr=e=>er(e,Yc),op=e=>er(e,Xc),Ia=e=>er(e,Gc),sp=e=>er(e,Uc),ip=e=>er(e,Kc),dn=e=>er(e,Qc,!0),ap=e=>er(e,Jc,!0),Lt=(e,t,r)=>{const n=zc.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},er=(e,t,r=!1)=>{const n=Hc.exec(e);return n?n[1]?t(n[1]):r:!1},Gc=e=>e==="position"||e==="percentage",Kc=e=>e==="image"||e==="url",Uc=e=>e==="length"||e==="size"||e==="bg-size",Yc=e=>e==="length",lp=e=>e==="number",Xc=e=>e==="family-name",Jc=e=>e==="number"||e==="weight",Qc=e=>e==="shadow",cp=()=>{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"),p=Me("text-shadow"),m=Me("drop-shadow"),b=Me("blur"),v=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],S=()=>["auto","hidden","clip","visible","scroll"],N=()=>["auto","contain","none"],q=()=>[ne,ee,l],k=()=>[qt,"full","auto",...q()],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",...q()],$=()=>[qt,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...q()],M=()=>[qt,"screen","full","dvw","lvw","svw","min","max","fit",...q()],U=()=>[qt,"screen","full","lh","dvh","lvh","svh","min","max","fit",...q()],D=()=>[e,ne,ee],G=()=>[...P(),Ia,_a,{position:[ne,ee]}],me=()=>["no-repeat",{repeat:["","x","y","space","round"]}],te=()=>["auto","cover","contain",sp,ep,{size:[ne,ee]}],J=()=>[Ao,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,Ao,Ia,_a],K=()=>["","none",b,ne,ee],W=()=>["none",ge,ne,ee],Z=()=>["none",ge,ne,ee],ae=()=>[ge,ne,ee],ue=()=>[qt,"full",...q()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[pt],breakpoint:[pt],color:[Wc],container:[pt],"drop-shadow":[pt],ease:["in","out","in-out"],font:[Zm],"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:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],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,...q()]}],"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:q()}],"gap-x":[{"gap-x":q()}],"gap-y":[{"gap-y":q()}],"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: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: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":q()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":q()}],"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,ap,tp]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ao,ee]}],"font-family":[{font:[op,rp,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,Aa]}],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: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: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"]},kt,ne,ee],radial:["",ne,ee],conic:[kt,ne,ee]},ip,np]}],"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,dn,un]}],"shadow-color":[{shadow:D()}],"inset-shadow":[{"inset-shadow":["none",h,dn,un]}],"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",p,dn,un]}],"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,dn,un]}],"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":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:[v,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":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",...D()]}],"stroke-w":[{stroke:[ge,kr,Ht,Aa]}],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"]}},up=Vm(cp);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,p=Math.min(f,h);return o/100*p;case"vmax":const m=r.viewportWidth||window.innerWidth,b=r.viewportHeight||window.innerHeight,v=Math.max(m,b);return o/100*v;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 up(Mc(e))}const dp={},Ts=u.createContext(dp);function fp({theme:e,children:t}){const r=u.useContext(Ts),n=u.useMemo(()=>({...r,...e}),[r,e]);return c.jsx(Ts.Provider,{value:n,children:t})}function se(){return u.useContext(Ts)}function hp(e){return e}function mp(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 pp(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 vp=(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(pp(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=mp(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-",Bn="-moz-",Ne="-webkit-",Zc="comm",ii="rule",ai="decl",gp="@import",eu="@keyframes",bp="@layer",xp=Math.abs,Zn=String.fromCharCode,yp=Object.assign;function wp(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 tu(e){return e.trim()}function Pp(e,t){return(e=t.exec(e))?e[0]:e}function qe(e,t,r){return e.replace(t,r)}function As(e,t){return e.indexOf(t)}function Be(e,t){return e.charCodeAt(t)|0}function $r(e,t,r){return e.slice(t,r)}function at(e){return e.length}function li(e){return e.length}function fn(e,t){return t.push(e),e}function Cp(e,t){return e.map(t).join("")}var eo=1,mr=1,ru=0,ze=0,Oe=0,yr="";function to(e,t,r,n,o,s,i){return{value:e,root:t,parent:r,type:n,props:o,children:s,line:eo,column:mr,length:i,return:""}}function Er(e,t){return yp(to("",null,null,"",null,null,0),e,{length:-e.length},t)}function Sp(){return Oe}function Np(){return Oe=ze>0?Be(yr,--ze):0,mr--,Oe===10&&(mr=1,eo--),Oe}function Ke(){return Oe=ze<ru?Be(yr,ze++):0,mr++,Oe===10&&(mr=1,eo++),Oe}function ut(){return Be(yr,ze)}function kn(){return ze}function Jr(e,t){return $r(yr,e,t)}function Vr(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 nu(e){return eo=mr=1,ru=at(yr=e),ze=0,[]}function ou(e){return yr="",e}function En(e){return tu(Jr(ze-1,_s(e===91?e+2:e===40?e+1:e)))}function qp(e){for(;(Oe=ut())&&Oe<33;)Ke();return Vr(e)>2||Vr(Oe)>3?"":" "}function kp(e,t){for(;--t&&Ke()&&!(Oe<48||Oe>102||Oe>57&&Oe<65||Oe>70&&Oe<97););return Jr(e,kn()+(t<6&&ut()==32&&Ke()==32))}function _s(e){for(;Ke();)switch(Oe){case e:return ze;case 34:case 39:e!==34&&e!==39&&_s(Oe);break;case 40:e===41&&_s(e);break;case 92:Ke();break}return ze}function Ep(e,t){for(;Ke()&&e+Oe!==57;)if(e+Oe===84&&ut()===47)break;return"/*"+Jr(t,ze-1)+"*"+Zn(e===47?e:Ke())}function Rp(e){for(;!Vr(ut());)Ke();return Jr(e,ze)}function jp(e){return ou(Rn("",null,null,null,[""],e=nu(e),0,[0],e))}function Rn(e,t,r,n,o,s,i,a,l){for(var d=0,f=0,h=i,p=0,m=0,b=0,v=1,x=1,y=1,g=0,w="",P=o,C=s,S=n,N=w;x;)switch(b=g,g=Ke()){case 40:if(b!=108&&Be(N,h-1)==58){As(N+=qe(En(g),"&","&\f"),"&\f")!=-1&&(y=-1);break}case 34:case 39:case 91:N+=En(g);break;case 9:case 10:case 13:case 32:N+=qp(b);break;case 92:N+=kp(kn()-1,7);continue;case 47:switch(ut()){case 42:case 47:fn(Tp(Ep(Ke(),kn()),t,r),l);break;default:N+="/"}break;case 123*v:a[d++]=at(N)*y;case 125*v:case 59:case 0:switch(g){case 0:case 125:x=0;case 59+f:y==-1&&(N=qe(N,/\f/g,"")),m>0&&at(N)-h&&fn(m>32?Ma(N+";",n,r,h-1):Ma(qe(N," ","")+";",n,r,h-2),l);break;case 59:N+=";";default:if(fn(S=Oa(N,t,r,d,f,o,a,w,P=[],C=[],h),s),g===123)if(f===0)Rn(N,t,S,S,P,s,h,a,C);else switch(p===99&&Be(N,3)===110?100:p){case 100:case 108:case 109:case 115:Rn(e,S,S,n&&fn(Oa(e,S,S,0,0,o,a,w,o,P=[],h),C),o,C,h,a,n?P:C);break;default:Rn(N,S,S,S,[""],C,0,a,C)}}d=f=m=0,v=y=1,w=N="",h=i;break;case 58:h=1+at(N),m=b;default:if(v<1){if(g==123)--v;else if(g==125&&v++==0&&Np()==125)continue}switch(N+=Zn(g),g*v){case 38:y=f>0?1:(N+="\f",-1);break;case 44:a[d++]=(at(N)-1)*y,y=1;break;case 64:ut()===45&&(N+=En(Ke())),p=ut(),f=h=at(w=N+=Rp(kn())),g++;break;case 45:b===45&&at(N)==2&&(v=0)}}return s}function Oa(e,t,r,n,o,s,i,a,l,d,f){for(var h=o-1,p=o===0?s:[""],m=li(p),b=0,v=0,x=0;b<n;++b)for(var y=0,g=$r(e,h+1,h=xp(v=i[b])),w=e;y<m;++y)(w=tu(v>0?p[y]+" "+g:qe(g,/&\f/g,p[y])))&&(l[x++]=w);return to(e,t,r,o===0?ii:a,l,d,f)}function Tp(e,t,r){return to(e,t,r,Zc,Zn(Sp()),$r(e,2,-2),0)}function Ma(e,t,r,n){return to(e,t,r,ai,$r(e,0,n),$r(e,n+1,-1),n)}function dr(e,t){for(var r="",n=li(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Ap(e,t,r,n){switch(e.type){case bp:if(e.children.length)break;case gp:case ai:return e.return=e.return||e.value;case Zc:return"";case eu:return e.return=e.value+"{"+dr(e.children,n)+"}";case ii:e.value=e.props.join(",")}return at(r=dr(e.children,n))?e.return=e.value+"{"+r+"}":""}function _p(e){var t=li(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 Ip(e){return function(t){t.root||(t=t.return)&&e(t)}}function Op(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Mp=function(t,r,n){for(var o=0,s=0;o=s,s=ut(),o===38&&s===12&&(r[n]=1),!Vr(s);)Ke();return Jr(t,ze)},Lp=function(t,r){var n=-1,o=44;do switch(Vr(o)){case 0:o===38&&ut()===12&&(r[n]=1),t[n]+=Mp(ze-1,r,n);break;case 2:t[n]+=En(o);break;case 4:if(o===44){t[++n]=ut()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Zn(o)}while(o=Ke());return t},Dp=function(t,r){return ou(Lp(nu(t),r))},La=new WeakMap,Bp=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&&!La.get(n))&&!o){La.set(t,!0);for(var s=[],i=Dp(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]}}},Fp=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function su(e,t){switch(wp(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+Bn+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"+Bn+(Be(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~As(e,"stretch")?su(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-(~As(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 $p=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case ai:t.return=su(t.value,t.length);break;case eu:return dr([Er(t,{value:qe(t.value,"@","@"+Ne)})],o);case ii:if(t.length)return Cp(t.props,function(s){switch(Pp(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return dr([Er(t,{props:[qe(s,/:(read-\w+)/,":"+Bn+"$1")]})],o);case"::placeholder":return dr([Er(t,{props:[qe(s,/:(plac\w+)/,":"+Ne+"input-$1")]}),Er(t,{props:[qe(s,/:(plac\w+)/,":"+Bn+"$1")]}),Er(t,{props:[qe(s,/:(plac\w+)/,Fe+"input-$1")]})],o)}return""})}},Vp=[$p],zp=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(v){var x=v.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var o=t.stylisPlugins||Vp,s={},i,a=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(v){for(var x=v.getAttribute("data-emotion").split(" "),y=1;y<x.length;y++)s[x[y]]=!0;a.push(v)});var l,d=[Bp,Fp];{var f,h=[Ap,Ip(function(v){f.insert(v)})],p=_p(d.concat(o,h)),m=function(x){return dr(jp(x),p)};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 vp({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 Hp(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 Wp={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},Gp=/[A-Z]|^ms/g,Kp=/_EMO_([^_]+?)_([^]*?)_EMO_/g,iu=function(t){return t.charCodeAt(1)===45},Da=function(t){return t!=null&&typeof t!="boolean"},_o=Op(function(e){return iu(e)?e:e.replace(Gp,"-$&").toLowerCase()}),Ba=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Kp,function(n,o,s){return Tt={name:o,styles:s,next:Tt},o})}return Wp[t]!==1&&!iu(t)&&typeof r=="number"&&r!==0?r+"px":r};function Fn(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 Up(e,t,r)}}var l=r;if(t==null)return l;var d=t[l];return d!==void 0?d:l}function Up(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Fn(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]+"}":Da(a)&&(n+=_o(s)+":"+Ba(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++)Da(i[l])&&(n+=_o(s)+":"+Ba(s,i[l])+";");else{var d=Fn(e,t,i);switch(s){case"animation":case"animationName":{n+=_o(s)+":"+d+";";break}default:n+=s+"{"+d+"}"}}}return n}var Fa=/label:\s*([^\s;{]+)\s*(;|$)/g,Tt;function Io(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+=Fn(r,t,s);else{var i=s;o+=i[0]}for(var a=1;a<e.length;a++)if(o+=Fn(r,t,e[a]),n){var l=s;o+=l[a]}Fa.lastIndex=0;for(var d="",f;(f=Fa.exec(o))!==null;)d+="-"+f[1];var h=Hp(o)+d;return{name:h,styles:o,next:Tt}}function au(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(n+=o+" ")}),n}var Yp=function(t,r,n){var o=t.key+"-"+r.name;t.registered[o]===void 0&&(t.registered[o]=r.styles)},Xp=function(t,r,n){Yp(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 Va(e,t,r){var n=[],o=au(e,n,r);return n.length<2?r:o+t(n)}var Jp=function(t){var r=zp(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=Io(d,r.registered,void 0);return Xp(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=Io(d,r.registered),p="animation-"+h.name;return $a(r,{name:h.name,styles:"@keyframes "+p+"{"+h.styles+"}"}),p},s=function(){for(var l=arguments.length,d=new Array(l),f=0;f<l;f++)d[f]=arguments[f];var h=Io(d,r.registered);$a(r,h)},i=function(){for(var l=arguments.length,d=new Array(l),f=0;f<l;f++)d[f]=arguments[f];return Va(r.registered,n,Qp(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:au.bind(null,r.registered),merge:Va.bind(null,r.registered,n)}},Qp=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},Zp=Jp({key:"css"}),ev=Zp.css;function tv(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Is(e,t,r){if(e){if(typeof e=="function"){Is(e(t),t,r);return}if(Array.isArray(e)){for(const n of e)Is(n,t,r);return}tv(e)&&r.push(e)}}function rv(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 nv(e){const t={};for(const[r,n]of Object.entries(e))rv(r,n)&&(t[r]=n);return t}function X(e,t){const r=[];if(Is(e,t,r),!r.length)return{sxClassName:void 0,sxInlineStyle:void 0};const n=ev(r),o=r.reduce((s,i)=>({...s,...nv(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 Qr(e){const{component:t,variant:r,size:n,rounded:o,shadow:s,bounce:i,splash:a,sx:l,style:d,className:f,class:h,...p}=e,m=t??"button",{roundedPreset:b,roundedStyle:v}=Zt(o),{shadowPreset:x,shadowStyle:y}=Xr(s),g=se(),{sxClassName:w,sxInlineStyle:P}=X(l,g);return c.jsx(m,{className:j(Dc({variant:r,size:n,rounded:b,shadow:x,bounce:i,splash:a}),w,f,h),style:L(d,v,y,P),...p})}Qr.displayName="Button";const Oo={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 ov(e){if(e===void 0)return{sizeClassName:Oo.md};if(typeof e=="string"&&e in Oo)return{sizeClassName:Oo[e]};const t=typeof e=="number"?`${e}px`:e;return{sizeStyle:{width:t,height:t}}}function $n(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,...p}=e,{sizeClassName:m,sizeStyle:b}=ov(r),v={...p,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(Qr,{...v})}$n.displayName="GhostButton";const lu="__LDKJ_GHOST_BUTTON_GROUP_ITEM__";function ci(e){return null}ci.displayName="GhostButtonGroup.Item";ci[lu]=!0;function sv(e){return!!(e&&typeof e=="function"&&e[lu]===!0)}function iv(e){return typeof e=="number"?`${e}px`:e}function za(e,t){return e.includes(t)}function av(e){const t=[],r=[];return u.Children.forEach(e,n=>{if(u.isValidElement(n)&&sv(n.type)){r.push(n);return}t.push(n)}),{triggerChildren:t,itemChildren:r}}function lv(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 cv(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 uv(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)":cv(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 dv(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:p,...m}=e,b=Array.isArray(t)?t:[t],v=iv(n),{triggerChildren:x,itemChildren:y}=av(s),g=[...o??[],...y.map(I=>({...I.props,key:I.key??void 0}))],[w,P]=u.useState(!1),[C,S]=u.useState("closed"),N=u.useRef(null),q=u.useRef(null),k=x.length>0?c.jsx(c.Fragment,{children:x}):void 0,T=za(b,"hover"),E=za(b,"click"),R=Math.max(g.length-1,0)*65,A=C!=="closed";u.useEffect(()=>{if(w){if(C==="open"||C==="preparing")return;S("preparing");return}if(C==="closed"||C==="exiting")return;S("exiting");const I=window.setTimeout(()=>{S("closed")},R);return()=>window.clearTimeout(I)},[R,C,w]),u.useLayoutEffect(()=>{if(C!=="preparing")return;q.current?.offsetHeight;const I=window.requestAnimationFrame(()=>{S($=>$==="preparing"?"open":$)});return()=>window.cancelAnimationFrame(I)},[C]),u.useEffect(()=>{if(!w||!E)return;const I=M=>{const U=M.target;U instanceof Node&&(N.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($=>!$),p?.(I)},"aria-expanded":w,"aria-haspopup":"menu",children:k};return c.jsx("div",{ref:N,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:q,style:{...lv(r,v),pointerEvents:C==="open"?"auto":"none"},children:g.map((I,$)=>{const{itemKey:M,onClick:U,...D}=I;return c.jsx("div",{style:uv(r,C,$,g.length),children:c.jsx($n,{position:"static",...D,onClick:G=>{U?.(G),P(!1)}})},M??I.key??$)})}):null,c.jsx($n,{...O})]})})}const cu=Object.assign(dv,{Item:ci});cu.displayName="GhostButtonGroup";const ui={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(ui));const At={};function uu(e){return{...e}}function fv(e){Object.assign(At,uu(e))}function hv(e){const t=uu(e);Object.keys(At).forEach(r=>{delete At[r]}),Object.assign(At,t)}function mv(){Object.keys(At).forEach(e=>{delete At[e]})}function pv(){const e=Object.keys(At),t=Object.keys(ui);return Array.from(new Set([...e,...t]))}function Ha(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 vv(e,t){const r=At[e]??ui[e]??null;return r?t==="rounded"?r.rounded??r.outlined:t==="sharp"?r.sharp??r.outlined:r.outlined:null}function gv(e,t){return u.lazy(async()=>{const r=vv(e,t);if(!r)return{default:Ha};try{return{default:(await r()).default}}catch{return{default:Ha}}})}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(()=>gv(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 du=null;function Wa(e){du=e}function bv(){return du}const xv=200,yv={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"}},fu=u.createContext(null);let Ga=0;function wv(){return Ga+=1,`ldkj-toast-${Date.now()}-${Ga}`}function Pv(e,t){return e.filter(r=>r.id!==t)}function Cv(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 hu(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=>Pv(w,g))},[f]),p=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)},xv);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??wv(),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(N=>{const q=[...N,C];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 S=window.setTimeout(()=>{p(P)},Math.max(w,0));return l.current.set(P,S),P},[f,p,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 v=u.useMemo(()=>({push:b,dismiss:p,clear:m}),[m,p,b]);u.useEffect(()=>(Wa(v),()=>Wa(null)),[v]);const x=u.useMemo(()=>Cv(i),[i]),y=Array.from(x.keys());return c.jsxs(fu.Provider,{value:v,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 S=yv[C.type],N=C.iconColor??S.iconColor;return c.jsxs("div",{className:j("ldkj-toast-item",C.leaving?"ldkj-toast-leave":"ldkj-toast-appear"),role:S.role,"aria-live":S.live,"aria-atomic":"true",children:[typeof C.icon=="string"?c.jsx(Le,{name:C.icon,color:N,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:N,size:20,className:"ldkj-toast-icon",title:`${C.type} icon`}):c.jsx(Le,{name:S.icon,color:N,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:()=>p(C.id),children:c.jsx(Le,{name:"close",size:16,className:"ldkj-toast-close-icon"})}):null]},C.id)})},g)})]})}hu.displayName="ToastProvider";function Sv(){const e=u.useContext(fu);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 jn={placement:"top",duration:3e3,closable:!0};let Ka=!1;const Xe={...jn};function mu(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 Tn(){const e=bv();return e||(Ka||(Ka=!0,console.warn("toast 调用失败:请先在应用根节点挂载 ToastProvider。")),null)}function hn(e,t,r){const n=Tn();return n?n.push({type:e,message:t,...mu(r)}):""}const Nv={show(e,t){const r=Tn();return r?r.push({type:"info",message:typeof e=="string"?e:String(e),...mu(t)}):""},info(e,t){return hn("info",e,t)},success(e,t){return hn("success",e,t)},warn(e,t){return hn("warn",e,t)},error(e,t){return hn("error",e,t)},dismiss(e){const t=Tn();t&&t.dismiss(e)},clear(){const e=Tn();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=jn.placement,Xe.duration=jn.duration,Xe.closable=jn.closable}};function Ua(e){if(e!=null)return typeof e=="boolean"?e?"blur(5px)":void 0:typeof e=="number"?`blur(${e}px)`:`blur(${e})`}function di(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:p,className:m,class:b,style:v,sx:x,contentClassName:y,contentClass:g,contentStyle:w,contentSx:P,children:C,...S}=e,N=se(),{sxClassName:q,sxInlineStyle:k}=X(x,N),{sxClassName:T,sxInlineStyle:E}=X(P,N),R=u.useRef(!1);return u.useEffect(()=>{if(R.current){t?p?.():h?.();return}R.current=!0},[t,h,p]),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]",q,m,b),style:L({backgroundColor:`rgba(0, 0, 0, ${s})`,backdropFilter:Ua(i),WebkitBackdropFilter:Ua(i)},v,k),onTouchStart:A=>{o||(A.preventDefault(),A.stopPropagation())},onClick:()=>{n&&h?.()},...S,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})})}di.displayName="Modal";const pu=u.createContext(null),vu=u.createContext(null);function Zr(e){const t=u.useContext(pu);if(!t)throw new Error(`${e} 必须在 <Dialog> 内使用`);return t}function Dt(e){const t=se();return X(e,t)}function qv(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 kv=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]=qv({open:t,defaultOpen:r,onOpenChange:n}),p=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(pu.Provider,{value:p,children:d})},fi=u.forwardRef((e,t)=>{const{setOpen:r}=Zr("DialogTrigger"),{asChild:n,asChildWrapper:o="span",className:s,class:i,sx:a,style:l,children:d,onClick:f,...h}=e,{sxClassName:p,sxInlineStyle:m}=Dt(a),b=v=>{f?.(v),!v.defaultPrevented&&r(!0)};return n?c.jsx(o,{ref:t,className:j("inline-flex w-fit",p,s,i),style:L(l,m),onClick:b,...h,children:d}):c.jsx("button",{ref:t,type:"button",className:j(p,s,i),style:L(l,m),onClick:b,...h,children:d})});fi.displayName="DialogTrigger";const hi=u.forwardRef((e,t)=>{const{setOpen:r}=Zr("DialogClose"),{asChild:n,asChildWrapper:o="span",className:s,class:i,sx:a,style:l,children:d,onClick:f,...h}=e,{sxClassName:p,sxInlineStyle:m}=Dt(a),b=v=>{f?.(v),!v.defaultPrevented&&r(!1)};return n?c.jsx(o,{ref:t,className:j("inline-flex w-fit",p,s,i),style:L(l,m),onClick:b,...h,children:d}):c.jsx("button",{ref:t,type:"button",className:j(p,s,i),style:L(l,m),onClick:b,...h,children:d})});hi.displayName="DialogClose";const gu=e=>{const{children:t,container:r}=e;if(typeof document>"u")return null;const n=r??document.body;return n?Yr.createPortal(t,n):null},mi=u.forwardRef((e,t)=>{const{open:r,destroyOnClose:n,closeOnMaskClick:o,setOpen:s}=Zr("DialogOverlay"),{className:i,class:a,sx:l,style:d,blur:f=!0,onClick:h,...p}=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:v=>{h?.(v),!v.defaultPrevented&&o&&s(!1)},...p})});mi.displayName="DialogOverlay";const pi=u.forwardRef((e,t)=>{const r=Zr("DialogContent"),{children:n,className:o,class:s,sx:i,style:a,showClose:l=!0,overlayClassName:d,overlaySx:f,overlayBlur:h=!0,onEscapeKeyDown:p,onPointerDownOutside:m,onOpenAutoFocus:b,onCloseAutoFocus:v,...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 q=P.current;if(!q&&r.open){const k=new Event("openAutoFocus",{cancelable:!0});b?.(k),k.defaultPrevented||w.current?.focus()}if(q&&!r.open){const k=new Event("closeAutoFocus",{cancelable:!0});v?.(k)}P.current=r.open},[r.open,v,b]),u.useEffect(()=>{if(!r.open)return;const q=k=>{k.key==="Escape"&&(p?.(k),!k.defaultPrevented&&r.setOpen(!1))};return window.addEventListener("keydown",q),()=>{window.removeEventListener("keydown",q)}},[r,p]);const C=r.lockScroll&&r.modal,S=r.scrollable||!C,N=r.modal&&r.closeOnMaskClick;return c.jsx(di,{open:r.open,destroyOnClose:r.destroyOnClose,closeOnMaskClick:N,scrollable:S,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 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: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(vu.Provider,{value:{showClose:l},children:n})})})});pi.displayName="DialogContent";const vi=u.forwardRef((e,t)=>{const r=Zr("DialogHeader"),o=u.useContext(vu)?.showClose??!1,{className:s,class:i,sx:a,style:l,children:d,...f}=e,{sxClassName:h,sxInlineStyle:p}=Dt(a);return c.jsxs("div",{ref:t,className:j("flex items-start justify-between gap-3",h,s,i),style:L(l,p),...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]})});vi.displayName="DialogHeader";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("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})});gi.displayName="DialogFooter";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("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})});bi.displayName="DialogTitle";const xi=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})});xi.displayName="DialogDescription";const Ev=Object.assign(kv,{Trigger:fi,Portal:gu,Close:hi,Overlay:mi,Content:pi,Header:vi,Footer:gi,Title:bi,Description:xi});function ce(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),r===!1||!o.defaultPrevented)return t?.(o)}}function Ya(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function yi(...e){return t=>{let r=!1;const n=e.map(o=>{const s=Ya(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():Ya(e[o],null)}}}}function ke(...e){return u.useCallback(yi(...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:p,children:m,...b}=h,v=p?.[e]?.[l]||a,x=u.useMemo(()=>b,Object.values(b));return c.jsx(v.Provider,{value:x,children:m})};d.displayName=s+"Provider";function f(h,p){const m=p?.[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,Rv(o,...t)]}function Rv(...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 zr(e){const t=jv(e),r=u.forwardRef((n,o)=>{const{children:s,...i}=n,a=u.Children.toArray(s),l=a.find(Av);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 jv(e){const t=u.forwardRef((r,n)=>{const{children:o,...s}=r;if(u.isValidElement(o)){const i=Iv(o),a=_v(s,o.props);return o.type!==u.Fragment&&(a.ref=n?yi(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 bu=Symbol("radix.slottable");function Tv(e){const t=({children:r})=>c.jsx(c.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=bu,t}function Av(e){return u.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===bu}function _v(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 Iv(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 Ov=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],be=Ov.reduce((e,t)=>{const r=zr(`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 Mv(e,t){e&&Yr.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 Lv(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 Dv="DismissableLayer",Os="dismissableLayer.update",Bv="dismissableLayer.pointerDownOutside",Fv="dismissableLayer.focusOutside",Xa,xu=u.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ro=u.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:a,...l}=e,d=u.useContext(xu),[f,h]=u.useState(null),p=f?.ownerDocument??globalThis?.document,[,m]=u.useState({}),b=ke(t,N=>h(N)),v=Array.from(d.layers),[x]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),y=v.indexOf(x),g=f?v.indexOf(f):-1,w=d.layersWithOutsidePointerEventsDisabled.size>0,P=g>=y,C=zv(N=>{const q=N.target,k=[...d.branches].some(T=>T.contains(q));!P||k||(o?.(N),i?.(N),N.defaultPrevented||a?.())},p),S=Hv(N=>{const q=N.target;[...d.branches].some(T=>T.contains(q))||(s?.(N),i?.(N),N.defaultPrevented||a?.())},p);return Lv(N=>{g===d.layers.size-1&&(n?.(N),!N.defaultPrevented&&a&&(N.preventDefault(),a()))},p),u.useEffect(()=>{if(f)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Xa=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),Ja(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=Xa)}},[f,p,r,d]),u.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),Ja())},[f,d]),u.useEffect(()=>{const N=()=>m({});return document.addEventListener(Os,N),()=>document.removeEventListener(Os,N)},[]),c.jsx(be.div,{...l,ref:b,style:{pointerEvents:w?P?"auto":"none":void 0,...e.style},onFocusCapture:ce(e.onFocusCapture,S.onFocusCapture),onBlurCapture:ce(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:ce(e.onPointerDownCapture,C.onPointerDownCapture)})});ro.displayName=Dv;var $v="DismissableLayerBranch",Vv=u.forwardRef((e,t)=>{const r=u.useContext(xu),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})});Vv.displayName=$v;function zv(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(){yu(Bv,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 Hv(e,t=globalThis?.document){const r=gt(e),n=u.useRef(!1);return u.useEffect(()=>{const o=s=>{s.target&&!n.current&&yu(Fv,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 Ja(){const e=new CustomEvent(Os);document.dispatchEvent(e)}function yu(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?Mv(o,s):o.dispatchEvent(s)}var Mo=0;function wu(){u.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Qa()),document.body.insertAdjacentElement("beforeend",e[1]??Qa()),Mo++,()=>{Mo===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Mo--}},[])}function Qa(){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 Lo="focusScope.autoFocusOnMount",Do="focusScope.autoFocusOnUnmount",Za={bubbles:!1,cancelable:!0},Wv="FocusScope",wi=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),p=ke(t,v=>l(v)),m=u.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;u.useEffect(()=>{if(n){let v=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",v),document.addEventListener("focusout",x);const g=new MutationObserver(y);return a&&g.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",x),g.disconnect()}}},[n,a,m.paused]),u.useEffect(()=>{if(a){tl.add(m);const v=document.activeElement;if(!a.contains(v)){const y=new CustomEvent(Lo,Za);a.addEventListener(Lo,d),a.dispatchEvent(y),y.defaultPrevented||(Gv(Jv(Pu(a)),{select:!0}),document.activeElement===v&&jt(a))}return()=>{a.removeEventListener(Lo,d),setTimeout(()=>{const y=new CustomEvent(Do,Za);a.addEventListener(Do,f),a.dispatchEvent(y),y.defaultPrevented||jt(v??document.body,{select:!0}),a.removeEventListener(Do,f),tl.remove(m)},0)}}},[a,d,f,m]);const b=u.useCallback(v=>{if(!r&&!n||m.paused)return;const x=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,y=document.activeElement;if(x&&y){const g=v.currentTarget,[w,P]=Kv(g);w&&P?!v.shiftKey&&y===P?(v.preventDefault(),r&&jt(w,{select:!0})):v.shiftKey&&y===w&&(v.preventDefault(),r&&jt(P,{select:!0})):y===g&&v.preventDefault()}},[r,n,m.paused]);return c.jsx(be.div,{tabIndex:-1,...i,ref:p,onKeyDown:b})});wi.displayName=Wv;function Gv(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(jt(n,{select:t}),document.activeElement!==r)return}function Kv(e){const t=Pu(e),r=el(t,e),n=el(t.reverse(),e);return[r,n]}function Pu(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 el(e,t){for(const r of e)if(!Uv(r,{upTo:t}))return r}function Uv(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 Yv(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&&Yv(e)&&t&&e.select()}}var tl=Xv();function Xv(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=rl(e,t),e.unshift(t)},remove(t){e=rl(e,t),e[0]?.resume()}}}function rl(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function Jv(e){return e.filter(t=>t.tagName!=="A")}var De=globalThis?.document?u.useLayoutEffect:()=>{},Qv=u[" useId ".trim().toString()]||(()=>{}),Zv=0;function tr(e){const[t,r]=u.useState(Qv());return De(()=>{r(n=>n??String(Zv++))},[e]),e||(t?`radix-${t}`:"")}const eg=["top","right","bottom","left"],It=Math.min,Ge=Math.max,Vn=Math.round,mn=Math.floor,dt=e=>({x:e,y:e}),tg={left:"right",right:"left",bottom:"top",top:"bottom"};function Ms(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 Pi(e){return e==="x"?"y":"x"}function Ci(e){return e==="y"?"height":"width"}function ct(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Si(e){return Pi(ct(e))}function rg(e,t,r){r===void 0&&(r=!1);const n=wr(e),o=Si(e),s=Ci(o);let i=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=zn(i)),[i,zn(i)]}function ng(e){const t=zn(e);return[Ls(e),t,Ls(t)]}function Ls(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const nl=["left","right"],ol=["right","left"],og=["top","bottom"],sg=["bottom","top"];function ig(e,t,r){switch(e){case"top":case"bottom":return r?t?ol:nl:t?nl:ol;case"left":case"right":return t?og:sg;default:return[]}}function ag(e,t,r,n){const o=wr(e);let s=ig(xt(e),r==="start",n);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(Ls)))),s}function zn(e){const t=xt(e);return tg[t]+e.slice(t.length)}function lg(e){return{top:0,right:0,bottom:0,left:0,...e}}function Cu(e){return typeof e!="number"?lg(e):{top:e,right:e,bottom:e,left:e}}function Hn(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 sl(e,t,r){let{reference:n,floating:o}=e;const s=ct(t),i=Si(t),a=Ci(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,p=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]-=p*(r&&d?-1:1);break;case"end":m[i]+=p*(r&&d?-1:1);break}return m}async function cg(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:p=!1,padding:m=0}=bt(t,e),b=Cu(m),x=a[p?h==="floating"?"reference":"floating":h],y=Hn(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=Hn(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 ug=50,dg=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:s=[],platform:i}=r,a=i.detectOverflow?i:{...i,detectOverflow:cg},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}=sl(d,n,l),p=n,m=0;const b={};for(let v=0;v<s.length;v++){const x=s[v];if(!x)continue;const{name:y,fn:g}=x,{x:w,y:P,data:C,reset:S}=await g({x:f,y:h,initialPlacement:n,placement:p,strategy:o,middlewareData:b,rects:d,platform:a,elements:{reference:e,floating:t}});f=w??f,h=P??h,b[y]={...b[y],...C},S&&m<ug&&(m++,typeof S=="object"&&(S.placement&&(p=S.placement),S.rects&&(d=S.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):S.rects),{x:f,y:h}=sl(d,p,l)),v=-1)}return{x:f,y:h,placement:p,strategy:o,middlewareData:b}},fg=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=Cu(f),p={x:r,y:n},m=Si(o),b=Ci(m),v=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]-p[m]-s.floating[b],C=p[m]-s.reference[m],S=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d));let N=S?S[w]:0;(!N||!await(i.isElement==null?void 0:i.isElement(S)))&&(N=a.floating[w]||s.floating[b]);const q=P/2-C/2,k=N/2-v[b]/2-1,T=It(h[y],k),E=It(h[g],k),R=T,A=N-v[b]-E,_=N/2-v[b]/2+q,O=Ms(R,_,A),I=!l.arrow&&wr(o)!=null&&_!==O&&s.reference[b]/2-(_<R?T:E)-v[b]/2<0,$=I?_<R?_-R:_-A:0;return{[m]:p[m]+$,data:{[m]:O,centerOffset:_-O-$,...I&&{alignmentOffset:$}},reset:I}}}),hg=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:p,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:v=!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=p||(w||!v?[zn(a)]:ng(a)),S=b!=="none";!p&&S&&C.push(...ag(a,v,b,P));const N=[a,...C],q=await l.detectOverflow(t,x),k=[];let T=((n=s.flip)==null?void 0:n.overflows)||[];if(f&&k.push(q[y]),h){const _=rg(o,i,P);k.push(q[_[0]],q[_[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=N[_];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(S){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 il(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function al(e){return eg.some(t=>e[t]>=0)}const mg=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=il(i,r.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:al(a)}}}case"escaped":{const i=await n.detectOverflow(t,{...s,altBoundary:!0}),a=il(i,r.floating);return{data:{escapedOffsets:a,escaped:al(a)}}}default:return{}}}}},Su=new Set(["left","top"]);async function pg(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=Su.has(i)?-1:1,f=s&&l?-1:1,h=bt(t,e);let{mainAxis:p,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:p*d}:{x:p*d,y:m*f}}const vg=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 pg(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}}}}},gg=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),p=ct(xt(o)),m=Pi(p);let b=f[m],v=f[p];if(i){const y=m==="y"?"top":"left",g=m==="y"?"bottom":"right",w=b+h[y],P=b-h[g];b=Ms(w,b,P)}if(a){const y=p==="y"?"top":"left",g=p==="y"?"bottom":"right",w=v+h[y],P=v-h[g];v=Ms(w,v,P)}const x=l.fn({...t,[m]:b,[p]:v});return{...x,data:{x:x.x-r,y:x.y-n,enabled:{[m]:i,[p]:a}}}}}},bg=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),p=Pi(h);let m=f[p],b=f[h];const v=bt(a,t),x=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const w=p==="y"?"height":"width",P=s.reference[p]-s.floating[w]+x.mainAxis,C=s.reference[p]+s.reference[w]-x.mainAxis;m<P?m=P:m>C&&(m=C)}if(d){var y,g;const w=p==="y"?"width":"height",P=Su.has(xt(o)),C=s.reference[h]-s.floating[w]+(P&&((y=i.offset)==null?void 0:y[h])||0)+(P?0:x.crossAxis),S=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>S&&(b=S)}return{[p]:m,[h]:b}}}},xg=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),p=wr(o),m=ct(o)==="y",{width:b,height:v}=s.floating;let x,y;h==="top"||h==="bottom"?(x=h,y=p===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(y=h,x=p==="end"?"top":"bottom");const g=v-f.top-f.bottom,w=b-f.left-f.right,P=It(v-f[x],g),C=It(b-f[y],w),S=!t.middlewareData.shift;let N=P,q=C;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(q=w),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(N=g),S&&!p){const T=Ge(f.left,0),E=Ge(f.right,0),R=Ge(f.top,0),A=Ge(f.bottom,0);m?q=b-2*(T!==0||E!==0?T+E:Ge(f.left,f.right)):N=v-2*(R!==0||A!==0?R+A:Ge(f.top,f.bottom))}await l({...t,availableWidth:q,availableHeight:N});const k=await i.getDimensions(a.floating);return b!==k.width||v!==k.height?{reset:{rects:!0}}:{}}}};function no(){return typeof window<"u"}function Pr(e){return Nu(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=(Nu(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Nu(e){return no()?e instanceof Node||e instanceof Ue(e).Node:!1}function et(e){return no()?e instanceof Element||e instanceof Ue(e).Element:!1}function wt(e){return no()?e instanceof HTMLElement||e instanceof Ue(e).HTMLElement:!1}function ll(e){return!no()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ue(e).ShadowRoot}function en(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 yg(e){return/^(table|td|th)$/.test(Pr(e))}function oo(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const wg=/transform|translate|scale|rotate|perspective|filter/,Pg=/paint|layout|strict|content/,Wt=e=>!!e&&e!=="none";let Bo;function Ni(e){const t=et(e)?tt(e):e;return Wt(t.transform)||Wt(t.translate)||Wt(t.scale)||Wt(t.rotate)||Wt(t.perspective)||!qi()&&(Wt(t.backdropFilter)||Wt(t.filter))||wg.test(t.willChange||"")||Pg.test(t.contain||"")}function Cg(e){let t=Ot(e);for(;wt(t)&&!pr(t);){if(Ni(t))return t;if(oo(t))return null;t=Ot(t)}return null}function qi(){return Bo==null&&(Bo=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Bo}function pr(e){return/^(html|body|#document)$/.test(Pr(e))}function tt(e){return Ue(e).getComputedStyle(e)}function so(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||ll(e)&&e.host||ft(e);return ll(t)?t.host:t}function qu(e){const t=Ot(e);return pr(t)?e.ownerDocument?e.ownerDocument.body:e.body:wt(t)&&en(t)?t:qu(t)}function Hr(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=qu(e),s=o===((n=e.ownerDocument)==null?void 0:n.body),i=Ue(o);if(s){const a=Ds(i);return t.concat(i,i.visualViewport||[],en(o)?o:[],a&&r?Hr(a):[])}else return t.concat(o,Hr(o,[],r))}function Ds(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ku(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=Vn(r)!==s||Vn(n)!==i;return a&&(r=s,n=i),{width:r,height:n,$:a}}function ki(e){return et(e)?e:e.contextElement}function fr(e){const t=ki(e);if(!wt(t))return dt(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:s}=ku(t);let i=(s?Vn(r.width):r.width)/n,a=(s?Vn(r.height):r.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const Sg=dt(0);function Eu(e){const t=Ue(e);return!qi()||!t.visualViewport?Sg:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ng(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=ki(e);let i=dt(1);t&&(n?et(n)&&(i=fr(n)):i=fr(e));const a=Ng(s,r,n)?Eu(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 p=Ue(s),m=n&&et(n)?Ue(n):n;let b=p,v=Ds(b);for(;v&&n&&m!==b;){const x=fr(v),y=v.getBoundingClientRect(),g=tt(v),w=y.left+(v.clientLeft+parseFloat(g.paddingLeft))*x.x,P=y.top+(v.clientTop+parseFloat(g.paddingTop))*x.y;l*=x.x,d*=x.y,f*=x.x,h*=x.y,l+=w,d+=P,b=Ue(v),v=Ds(b)}}return Hn({width:f,height:h,x:l,y:d})}function io(e,t){const r=so(e).scrollLeft;return t?t.left+r:Xt(ft(e)).left+r}function Ru(e,t){const r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-io(e,r),o=r.top+t.scrollTop;return{x:n,y:o}}function qg(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const s=o==="fixed",i=ft(n),a=t?oo(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"||en(i))&&(l=so(n)),h)){const m=Xt(n);d=fr(n),f.x=m.x+n.clientLeft,f.y=m.y+n.clientTop}const p=i&&!h&&!s?Ru(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+p.x,y:r.y*d.y-l.scrollTop*d.y+f.y+p.y}}function kg(e){return Array.from(e.getClientRects())}function Eg(e){const t=ft(e),r=so(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+io(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 cl=25;function Rg(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=qi();(!f||f&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}const d=io(n);if(d<=0){const f=n.ownerDocument,h=f.body,p=getComputedStyle(h),m=f.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,b=Math.abs(n.clientWidth-h.clientWidth-m);b<=cl&&(s-=b)}else d<=cl&&(s+=d);return{width:s,height:i,x:a,y:l}}function jg(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 ul(e,t,r){let n;if(t==="viewport")n=Rg(e,r);else if(t==="document")n=Eg(ft(e));else if(et(t))n=jg(t,r);else{const o=Eu(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Hn(n)}function ju(e,t){const r=Ot(e);return r===t||!et(r)||pr(r)?!1:tt(r).position==="fixed"||ju(r,t)}function Tg(e,t){const r=t.get(e);if(r)return r;let n=Hr(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=Ni(i);!l&&a.position==="fixed"&&(o=null),(s?!l&&!o:!l&&a.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||en(i)&&!l&&ju(e,i))?n=n.filter(f=>f!==i):o=a,i=Ot(i)}return t.set(e,n),n}function Ag(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const i=[...r==="clippingAncestors"?oo(t)?[]:Tg(t,this._c):[].concat(r),n],a=ul(t,i[0],o);let l=a.top,d=a.right,f=a.bottom,h=a.left;for(let p=1;p<i.length;p++){const m=ul(t,i[p],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 _g(e){const{width:t,height:r}=ku(e);return{width:t,height:r}}function Ig(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=io(o)}if(n||!n&&!s)if((Pr(t)!=="body"||en(o))&&(a=so(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?Ru(o,a):dt(0),h=i.left+a.scrollLeft-l.x-f.x,p=i.top+a.scrollTop-l.y-f.y;return{x:h,y:p,width:i.width,height:i.height}}function Fo(e){return tt(e).position==="static"}function dl(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 Tu(e,t){const r=Ue(e);if(oo(e))return r;if(!wt(e)){let o=Ot(e);for(;o&&!pr(o);){if(et(o)&&!Fo(o))return o;o=Ot(o)}return r}let n=dl(e,t);for(;n&&yg(n)&&Fo(n);)n=dl(n,t);return n&&pr(n)&&Fo(n)&&!Ni(n)?r:n||Cg(e)||r}const Og=async function(e){const t=this.getOffsetParent||Tu,r=this.getDimensions,n=await r(e.floating);return{reference:Ig(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Mg(e){return tt(e).direction==="rtl"}const Lg={convertOffsetParentRelativeRectToViewportRelativeRect:qg,getDocumentElement:ft,getClippingRect:Ag,getOffsetParent:Tu,getElementRects:Og,getClientRects:kg,getDimensions:_g,getScale:fr,isElement:et,isRTL:Mg};function Au(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Dg(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:p,height:m}=d;if(a||t(),!p||!m)return;const b=mn(h),v=mn(o.clientWidth-(f+p)),x=mn(o.clientHeight-(h+m)),y=mn(f),w={rootMargin:-b+"px "+-v+"px "+-x+"px "+-y+"px",threshold:Ge(0,It(1,l))||1};let P=!0;function C(S){const N=S[0].intersectionRatio;if(N!==l){if(!P)return i();N?i(!1,N):n=setTimeout(()=>{i(!1,1e-7)},1e3)}N===1&&!Au(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 Bg(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=ki(e),f=o||s?[...d?Hr(d):[],...t?Hr(t):[]]:[];f.forEach(y=>{o&&y.addEventListener("scroll",r,{passive:!0}),s&&y.addEventListener("resize",r)});const h=d&&a?Dg(d,r):null;let p=-1,m=null;i&&(m=new ResizeObserver(y=>{let[g]=y;g&&g.target===d&&m&&t&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var w;(w=m)==null||w.observe(t)})),r()}),d&&!l&&m.observe(d),t&&m.observe(t));let b,v=l?Xt(e):null;l&&x();function x(){const y=Xt(e);v&&!Au(v,y)&&r(),v=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 Fg=vg,$g=gg,Vg=hg,zg=xg,Hg=mg,fl=fg,Wg=bg,Gg=(e,t,r)=>{const n=new Map,o={platform:Lg,...r},s={...o.platform,_c:n};return dg(e,t,{...o,platform:s})};var Kg=typeof document<"u",Ug=function(){},An=Kg?je.useLayoutEffect:Ug;function Wn(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(!Wn(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)&&!Wn(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function _u(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function hl(e,t){const r=_u(e);return Math.round(t*r)/r}function $o(e){const t=u.useRef(e);return An(()=>{t.current=e}),t}function Yg(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}),[p,m]=u.useState(n);Wn(p,n)||m(n);const[b,v]=u.useState(null),[x,y]=u.useState(null),g=u.useCallback(M=>{M!==S.current&&(S.current=M,v(M))},[]),w=u.useCallback(M=>{M!==N.current&&(N.current=M,y(M))},[]),P=s||b,C=i||x,S=u.useRef(null),N=u.useRef(null),q=u.useRef(f),k=l!=null,T=$o(l),E=$o(o),R=$o(d),A=u.useCallback(()=>{if(!S.current||!N.current)return;const M={placement:t,strategy:r,middleware:p};E.current&&(M.platform=E.current),Gg(S.current,N.current,M).then(U=>{const D={...U,isPositioned:R.current!==!1};_.current&&!Wn(q.current,D)&&(q.current=D,Yr.flushSync(()=>{h(D)}))})},[p,t,r,E,R]);An(()=>{d===!1&&q.current.isPositioned&&(q.current.isPositioned=!1,h(M=>({...M,isPositioned:!1})))},[d]);const _=u.useRef(!1);An(()=>(_.current=!0,()=>{_.current=!1}),[]),An(()=>{if(P&&(S.current=P),C&&(N.current=C),P&&C){if(T.current)return T.current(P,C,A);A()}},[P,C,A,T,k]);const O=u.useMemo(()=>({reference:S,floating:N,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=hl(I.floating,f.x),D=hl(I.floating,f.y);return a?{...M,transform:"translate("+U+"px, "+D+"px)",..._u(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 Xg=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?fl({element:n.current,padding:o}).fn(r):{}:n?fl({element:n,padding:o}).fn(r):{}}}},Jg=(e,t)=>{const r=Fg(e);return{name:r.name,fn:r.fn,options:[e,t]}},Qg=(e,t)=>{const r=$g(e);return{name:r.name,fn:r.fn,options:[e,t]}},Zg=(e,t)=>({fn:Wg(e).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=zg(e);return{name:r.name,fn:r.fn,options:[e,t]}},rb=(e,t)=>{const r=Hg(e);return{name:r.name,fn:r.fn,options:[e,t]}},nb=(e,t)=>{const r=Xg(e);return{name:r.name,fn:r.fn,options:[e,t]}};var ob="Arrow",Iu=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"})})});Iu.displayName=ob;var sb=Iu;function ao(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 Ei="Popper",[Ou,Cr]=rt(Ei),[ib,Mu]=Ou(Ei),Lu=e=>{const{__scopePopper:t,children:r}=e,[n,o]=u.useState(null);return c.jsx(ib,{scope:t,anchor:n,onAnchorChange:o,children:r})};Lu.displayName=Ei;var Du="PopperAnchor",Bu=u.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,s=Mu(Du,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})});Bu.displayName=Du;var Ri="PopperContent",[ab,lb]=Ou(Ri),Fu=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:p=!1,updatePositionStrategy:m="optimized",onPlaced:b,...v}=e,x=Mu(Ri,r),[y,g]=u.useState(null),w=ke(t,B=>g(B)),[P,C]=u.useState(null),S=ao(P),N=S?.width??0,q=S?.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(ub),altBoundary:R},{refs:_,floatingStyles:O,placement:I,isPositioned:$,middlewareData:M}=Yg({strategy:"fixed",placement:k,whileElementsMounted:(...B)=>Bg(...B,{animationFrame:m==="always"}),elements:{reference:x.anchor},middleware:[Jg({mainAxis:o+q,alignmentAxis:i}),l&&Qg({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?Zg():void 0,...A}),l&&eb({...A}),tb({...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&&nb({element:P,padding:a}),db({arrowWidth:N,arrowHeight:q}),p&&rb({strategy:"referenceHidden",...A})]}),[U,D]=zu(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(ab,{scope:r,placedSide:U,onArrowChange:C,arrowX:me,arrowY:te,shouldHideArrow:J,children:c.jsx(be.div,{"data-side":U,"data-align":D,...v,ref:w,style:{...v.style,animation:$?void 0:"none"}})})})});Fu.displayName=Ri;var $u="PopperArrow",cb={top:"bottom",right:"left",bottom:"top",left:"right"},Vu=u.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,s=lb($u,n),i=cb[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(sb,{...o,ref:r,style:{...o.style,display:"block"}})})});Vu.displayName=$u;function ub(e){return e!==null}var db=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]=zu(r),h={start:"0%",center:"50%",end:"100%"}[f],p=(o.arrow?.x??0)+a/2,m=(o.arrow?.y??0)+l/2;let b="",v="";return d==="bottom"?(b=i?h:`${p}px`,v=`${-l}px`):d==="top"?(b=i?h:`${p}px`,v=`${n.floating.height+l}px`):d==="right"?(b=`${-l}px`,v=i?h:`${m}px`):d==="left"&&(b=`${n.floating.width+l}px`,v=i?h:`${m}px`),{data:{x:b,y:v}}}});function zu(e){const[t,r="center"]=e.split("-");return[t,r]}var ji=Lu,lo=Bu,Ti=Fu,Ai=Vu,fb="Portal",co=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?_c.createPortal(c.jsx(be.div,{...n,ref:t}),i):null});co.displayName=fb;function hb(e,t){return u.useReducer((r,n)=>t[r][n]??r,e)}var Bt=e=>{const{present:t,children:r}=e,n=mb(t),o=typeof r=="function"?r({present:n.isPresent}):u.Children.only(r),s=ke(n.ref,pb(o));return typeof r=="function"||n.isPresent?u.cloneElement(o,{ref:s}):null};Bt.displayName="Presence";function mb(e){const[t,r]=u.useState(),n=u.useRef(null),o=u.useRef(e),s=u.useRef("none"),i=e?"mounted":"unmounted",[a,l]=hb(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return u.useEffect(()=>{const d=pn(n.current);s.current=a==="mounted"?d:"none"},[a]),De(()=>{const d=n.current,f=o.current;if(f!==e){const p=s.current,m=pn(d);e?l("MOUNT"):m==="none"||d?.display==="none"?l("UNMOUNT"):l(f&&p!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),De(()=>{if(t){let d;const f=t.ownerDocument.defaultView??window,h=m=>{const v=pn(n.current).includes(CSS.escape(m.animationName));if(m.target===t&&v&&(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)})}},p=m=>{m.target===t&&(s.current=pn(n.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{f.clearTimeout(d),t.removeEventListener("animationstart",p),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 pn(e){return e?.animationName||"none"}function pb(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 vb=u[" useInsertionEffect ".trim().toString()]||De;function yt({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){const[o,s,i]=gb({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=bb(f)?f(e):f;h!==e&&i.current?.(h)}else s(f)},[a,e,s,i]);return[l,d]}function gb({defaultProp:e,onChange:t}){const[r,n]=u.useState(e),o=u.useRef(r),s=u.useRef(t);return vb(()=>{s.current=t},[t]),u.useEffect(()=>{o.current!==r&&(s.current?.(r),o.current=r)},[r,o]),[r,n,s]}function bb(e){return typeof e=="function"}var xb=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ir=new WeakMap,vn=new WeakMap,gn={},Vo=0,Hu=function(e){return e&&(e.host||Hu(e.parentNode))},yb=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Hu(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})},wb=function(e,t,r,n){var o=yb(t,Array.isArray(e)?e:[e]);gn[r]||(gn[r]=new WeakMap);var s=gn[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(p){if(a.has(p))f(p);else try{var m=p.getAttribute(n),b=m!==null&&m!=="false",v=(ir.get(p)||0)+1,x=(s.get(p)||0)+1;ir.set(p,v),s.set(p,x),i.push(p),v===1&&b&&vn.set(p,!0),x===1&&p.setAttribute(r,"true"),b||p.setAttribute(n,"true")}catch(y){console.error("aria-hidden: cannot operate on ",p,y)}})};return f(t),a.clear(),Vo++,function(){i.forEach(function(h){var p=ir.get(h)-1,m=s.get(h)-1;ir.set(h,p),s.set(h,m),p||(vn.has(h)||h.removeAttribute(n),vn.delete(h)),m||h.removeAttribute(r)}),Vo--,Vo||(ir=new WeakMap,ir=new WeakMap,vn=new WeakMap,gn={})}},Wu=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=xb(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live], script"))),wb(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 Gu(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 Pb(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 _n="right-scroll-bar-position",In="width-before-scroll-bar",Cb="with-scroll-bars-hidden",Sb="--removed-body-scroll-bar-size";function zo(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Nb(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 qb=typeof window<"u"?u.useLayoutEffect:u.useEffect,ml=new WeakMap;function kb(e,t){var r=Nb(null,function(n){return e.forEach(function(o){return zo(o,n)})});return qb(function(){var n=ml.get(r);if(n){var o=new Set(n),s=new Set(e),i=r.current;o.forEach(function(a){s.has(a)||zo(a,null)}),s.forEach(function(a){o.has(a)||zo(a,i)})}ml.set(r,e)},[e]),r}function Eb(e){return e}function Rb(e,t){t===void 0&&(t=Eb);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 jb(e){e===void 0&&(e={});var t=Rb(null);return t.options=lt({async:!0,ssr:!1},e),t}var Ku=function(e){var t=e.sideCar,r=Gu(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))};Ku.isSideCarExport=!0;function Tb(e,t){return e.useMedium(t),Ku}var Uu=jb(),Ho=function(){},uo=u.forwardRef(function(e,t){var r=u.useRef(null),n=u.useState({onScrollCapture:Ho,onWheelCapture:Ho,onTouchMoveCapture:Ho}),o=n[0],s=n[1],i=e.forwardProps,a=e.children,l=e.className,d=e.removeScrollBar,f=e.enabled,h=e.shards,p=e.sideCar,m=e.noRelative,b=e.noIsolation,v=e.inert,x=e.allowPinchZoom,y=e.as,g=y===void 0?"div":y,w=e.gapMode,P=Gu(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=p,S=kb([r,t]),N=lt(lt({},P),o);return u.createElement(u.Fragment,null,f&&u.createElement(C,{sideCar:Uu,removeScrollBar:d,shards:h,noRelative:m,noIsolation:b,inert:v,setCallbacks:s,allowPinchZoom:!!x,lockRef:r,gapMode:w}),i?u.cloneElement(u.Children.only(a),lt(lt({},N),{ref:S})):u.createElement(g,lt({},N,{className:l,ref:S}),a))});uo.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};uo.classNames={fullWidth:In,zeroRight:_n};var Ab=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function _b(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Ab();return t&&e.setAttribute("nonce",t),e}function Ib(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Ob(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Mb=function(){var e=0,t=null;return{add:function(r){e==0&&(t=_b())&&(Ib(t,r),Ob(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Lb=function(){var e=Mb();return function(t,r){u.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Yu=function(){var e=Lb(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},Db={left:0,top:0,right:0,gap:0},Wo=function(e){return parseInt(e||"",10)||0},Bb=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[Wo(r),Wo(n),Wo(o)]},Fb=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Db;var t=Bb(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])}},$b=Yu(),hr="data-scroll-locked",Vb=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(Cb,` {
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),Oe=require("react"),tu=require("react-dom");function ru(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=ru(Oe),un=ru(tu);function nu(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=nu(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function ou(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=nu(e))&&(n&&(n+=" "),n+=t);return n}const Wa=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Ga=ou,su=(e,t)=>r=>{var n;if(t?.variants==null)return Ga(e,r?.class,r?.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(d=>{const f=r?.[d],m=s?.[d];if(f===null)return null;const h=Wa(f)||Wa(m);return o[d][h]}),a=r&&Object.entries(r).reduce((d,f)=>{let[m,h]=f;return h===void 0||(d[m]=h),d},{}),l=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((d,f)=>{let{class:m,className:h,...v}=f;return Object.entries(v).every(b=>{let[p,y]=b;return Array.isArray(y)?y.includes({...s,...a}[p]):{...s,...a}[p]===y})?[...d,m,h]:d},[]);return Ga(e,i,l,r?.class,r?.className)},Yt={xs:"rounded-[2px]",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"};function Kh(e){return typeof e=="string"&&Object.prototype.hasOwnProperty.call(Yt,e)}function hr(e){return e===void 0?{}:typeof e=="number"?{roundedStyle:{borderRadius:`${e}px`}}:Kh(e)?{roundedPreset:e}:{roundedStyle:{borderRadius:e}}}const Tr={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 Yh(e){return typeof e=="string"&&Object.prototype.hasOwnProperty.call(Tr,e)}function dn(e){return e===void 0?{}:Yh(e)?{shadowPreset:e}:{shadowStyle:{boxShadow:e}}}const iu=su("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:Yt,shadow:Tr,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}}),Xh=(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},Jh=(e,t)=>({classGroupId:e,validator:t}),au=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),Qn="-",Ka=[],Qh="arbitrary..",Zh=e=>{const t=tp(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return ep(i);const a=i.split(Qn),l=a[0]===""&&a.length>1?1:0;return lu(a,l,t)},getConflictingClassGroupIds:(i,a)=>{if(a){const l=n[i],d=r[i];return l?d?Xh(d,l):l:d||Ka}return r[i]||Ka}}},lu=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const o=e[t],s=r.nextPart.get(o);if(s){const d=lu(e,t+1,s);if(d)return d}const i=r.validators;if(i===null)return;const a=t===0?e.join(Qn):e.slice(t).join(Qn),l=i.length;for(let d=0;d<l;d++){const f=i[d];if(f.validator(a))return f.classGroupId}},ep=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?Qh+n:void 0})(),tp=e=>{const{theme:t,classGroups:r}=e;return rp(r,t)},rp=(e,t)=>{const r=au();for(const n in e){const o=e[n];yi(o,r,n,t)}return r},yi=(e,t,r,n)=>{const o=e.length;for(let s=0;s<o;s++){const i=e[s];np(i,t,r,n)}},np=(e,t,r,n)=>{if(typeof e=="string"){op(e,t,r);return}if(typeof e=="function"){sp(e,t,r,n);return}ip(e,t,r,n)},op=(e,t,r)=>{const n=e===""?t:cu(t,e);n.classGroupId=r},sp=(e,t,r,n)=>{if(ap(e)){yi(e(n),t,r,n);return}t.validators===null&&(t.validators=[]),t.validators.push(Jh(r,e))},ip=(e,t,r,n)=>{const o=Object.entries(e),s=o.length;for(let i=0;i<s;i++){const[a,l]=o[i];yi(l,cu(t,a),r,n)}},cu=(e,t)=>{let r=e;const n=t.split(Qn),o=n.length;for(let s=0;s<o;s++){const i=n[s];let a=r.nextPart.get(i);a||(a=au(),r.nextPart.set(i,a)),r=a}return r},ap=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,lp=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)}}},Ws="!",Ya=":",cp=[],Xa=(e,t,r,n,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:o}),up=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 y=o[p];if(i===0&&a===0){if(y===Ya){s.push(o.slice(l,p)),l=p+1;continue}if(y==="/"){d=p;continue}}y==="["?i++:y==="]"?i--:y==="("?a++:y===")"&&a--}const m=s.length===0?o:o.slice(l);let h=m,v=!1;m.endsWith(Ws)?(h=m.slice(0,-1),v=!0):m.startsWith(Ws)&&(h=m.slice(1),v=!0);const b=d&&d>l?d-l:void 0;return Xa(s,v,h,b)};if(t){const o=t+Ya,s=n;n=i=>i.startsWith(o)?s(i.slice(o.length)):Xa(cp,!1,i,void 0,!0)}if(r){const o=n;n=s=>r({className:s,parseClassName:o})}return n},dp=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}},fp=e=>({cache:lp(e.cacheSize),parseClassName:up(e),sortModifiers:dp(e),...Zh(e)}),mp=/\s+/,hp=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:s}=t,i=[],a=e.trim().split(mp);let l="";for(let d=a.length-1;d>=0;d-=1){const f=a[d],{isExternal:m,modifiers:h,hasImportantModifier:v,baseClassName:b,maybePostfixModifierPosition:p}=r(f);if(m){l=f+(l.length>0?" "+l:l);continue}let y=!!p,x=n(y?b.substring(0,p):b);if(!x){if(!y){l=f+(l.length>0?" "+l:l);continue}if(x=n(b),!x){l=f+(l.length>0?" "+l:l);continue}y=!1}const g=h.length===0?"":h.length===1?h[0]:s(h).join(":"),w=v?g+Ws:g,P=w+x;if(i.indexOf(P)>-1)continue;i.push(P);const C=o(x,y);for(let S=0;S<C.length;++S){const N=C[S];i.push(w+N)}l=f+(l.length>0?" "+l:l)}return l},pp=(...e)=>{let t=0,r,n,o="";for(;t<e.length;)(r=e[t++])&&(n=uu(r))&&(o&&(o+=" "),o+=n);return o},uu=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=uu(e[n]))&&(r&&(r+=" "),r+=t);return r},vp=(e,...t)=>{let r,n,o,s;const i=l=>{const d=t.reduce((f,m)=>m(f),e());return r=fp(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=hp(l,r);return o(l,f),f};return s=i,(...l)=>s(pp(...l))},gp=[],Fe=e=>{const t=r=>r[e]||gp;return t.isThemeGetter=!0,t},du=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,fu=/^\((?:(\w[\w-]*):)?(.+)\)$/i,bp=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,xp=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,yp=/\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$/,wp=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Pp=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Cp=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ft=e=>bp.test(e),xe=e=>!!e&&!Number.isNaN(Number(e)),Bt=e=>!!e&&Number.isInteger(Number(e)),Go=e=>e.endsWith("%")&&xe(e.slice(0,-1)),jt=e=>xp.test(e),mu=()=>!0,Sp=e=>yp.test(e)&&!wp.test(e),wi=()=>!1,Np=e=>Pp.test(e),qp=e=>Cp.test(e),kp=e=>!oe(e)&&!ie(e),Ep=e=>Xt(e,vu,wi),oe=e=>du.test(e),nr=e=>Xt(e,gu,Sp),Ja=e=>Xt(e,Mp,xe),jp=e=>Xt(e,xu,mu),Rp=e=>Xt(e,bu,wi),Qa=e=>Xt(e,hu,wi),Ap=e=>Xt(e,pu,qp),Sn=e=>Xt(e,yu,Np),ie=e=>fu.test(e),$r=e=>pr(e,gu),Ip=e=>pr(e,bu),Za=e=>pr(e,hu),Tp=e=>pr(e,vu),_p=e=>pr(e,pu),Nn=e=>pr(e,yu,!0),Op=e=>pr(e,xu,!0),Xt=(e,t,r)=>{const n=du.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},pr=(e,t,r=!1)=>{const n=fu.exec(e);return n?n[1]?t(n[1]):r:!1},hu=e=>e==="position"||e==="percentage",pu=e=>e==="image"||e==="url",vu=e=>e==="length"||e==="size"||e==="bg-size",gu=e=>e==="length",Mp=e=>e==="number",bu=e=>e==="family-name",xu=e=>e==="number"||e==="weight",yu=e=>e==="shadow",Lp=()=>{const e=Fe("color"),t=Fe("font"),r=Fe("text"),n=Fe("font-weight"),o=Fe("tracking"),s=Fe("leading"),i=Fe("breakpoint"),a=Fe("container"),l=Fe("spacing"),d=Fe("radius"),f=Fe("shadow"),m=Fe("inset-shadow"),h=Fe("text-shadow"),v=Fe("drop-shadow"),b=Fe("blur"),p=Fe("perspective"),y=Fe("aspect"),x=Fe("ease"),g=Fe("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(),ie,oe],S=()=>["auto","hidden","clip","visible","scroll"],N=()=>["auto","contain","none"],q=()=>[ie,oe,l],k=()=>[Ft,"full","auto",...q()],A=()=>[Bt,"none","subgrid",ie,oe],E=()=>["auto",{span:["full",Bt,ie,oe]},Bt,ie,oe],j=()=>[Bt,"auto",ie,oe],I=()=>["auto","min","max","fr",ie,oe],T=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],O=()=>["start","end","center","stretch","center-safe","end-safe"],_=()=>["auto",...q()],z=()=>[Ft,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...q()],L=()=>[Ft,"screen","full","dvw","lvw","svw","min","max","fit",...q()],Y=()=>[Ft,"screen","full","lh","dvh","lvh","svh","min","max","fit",...q()],F=()=>[e,ie,oe],G=()=>[...P(),Za,Qa,{position:[ie,oe]}],me=()=>["no-repeat",{repeat:["","x","y","space","round"]}],te=()=>["auto","cover","contain",Tp,Ep,{size:[ie,oe]}],Q=()=>[Go,$r,nr],U=()=>["","none","full",d,ie,oe],X=()=>["",xe,$r,nr],$=()=>["solid","dashed","dotted","double"],Z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],H=()=>[xe,Go,Za,Qa],K=()=>["","none",b,ie,oe],W=()=>["none",xe,ie,oe],J=()=>["none",xe,ie,oe],le=()=>[xe,ie,oe],de=()=>[Ft,"full",...q()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[jt],breakpoint:[jt],color:[mu],container:[jt],"drop-shadow":[jt],ease:["in","out","in-out"],font:[kp],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[jt],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[jt],shadow:[jt],spacing:["px",xe],text:[jt],"text-shadow":[jt],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Ft,oe,ie,y]}],container:["container"],columns:[{columns:[xe,oe,ie,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:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],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:[Bt,"auto",ie,oe]}],basis:[{basis:[Ft,"full","auto",a,...q()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[xe,Ft,"auto","initial","none",oe]}],grow:[{grow:["",xe,ie,oe]}],shrink:[{shrink:["",xe,ie,oe]}],order:[{order:[Bt,"first","last","none",ie,oe]}],"grid-cols":[{"grid-cols":A()}],"col-start-end":[{col:E()}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":A()}],"row-start-end":[{row:E()}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":I()}],"auto-rows":[{"auto-rows":I()}],gap:[{gap:q()}],"gap-x":[{"gap-x":q()}],"gap-y":[{"gap-y":q()}],"justify-content":[{justify:[...T(),"normal"]}],"justify-items":[{"justify-items":[...O(),"normal"]}],"justify-self":[{"justify-self":["auto",...O()]}],"align-content":[{content:["normal",...T()]}],"align-items":[{items:[...O(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...O(),{baseline:["","last"]}]}],"place-content":[{"place-content":T()}],"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:_()}],mx:[{mx:_()}],my:[{my:_()}],ms:[{ms:_()}],me:[{me:_()}],mbs:[{mbs:_()}],mbe:[{mbe:_()}],mt:[{mt:_()}],mr:[{mr:_()}],mb:[{mb:_()}],ml:[{ml:_()}],"space-x":[{"space-x":q()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":q()}],"space-y-reverse":["space-y-reverse"],size:[{size:z()}],"inline-size":[{inline:["auto",...L()]}],"min-inline-size":[{"min-inline":["auto",...L()]}],"max-inline-size":[{"max-inline":["none",...L()]}],"block-size":[{block:["auto",...Y()]}],"min-block-size":[{"min-block":["auto",...Y()]}],"max-block-size":[{"max-block":["none",...Y()]}],w:[{w:[a,"screen",...z()]}],"min-w":[{"min-w":[a,"screen","none",...z()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...z()]}],h:[{h:["screen","lh",...z()]}],"min-h":[{"min-h":["screen","lh","none",...z()]}],"max-h":[{"max-h":["screen","lh",...z()]}],"font-size":[{text:["base",r,$r,nr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,Op,jp]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Go,oe]}],"font-family":[{font:[Ip,Rp,t]}],"font-features":[{"font-features":[oe]}],"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,ie,oe]}],"line-clamp":[{"line-clamp":[xe,"none",ie,Ja]}],leading:[{leading:[s,...q()]}],"list-image":[{"list-image":["none",ie,oe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ie,oe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:F()}],"text-color":[{text:F()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:[xe,"from-font","auto",ie,nr]}],"text-decoration-color":[{decoration:F()}],"underline-offset":[{"underline-offset":[xe,"auto",ie,oe]}],"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",ie,oe]}],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",ie,oe]}],"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"]},Bt,ie,oe],radial:["",ie,oe],conic:[Bt,ie,oe]},_p,Ap]}],"bg-color":[{bg:F()}],"gradient-from-pos":[{from:Q()}],"gradient-via-pos":[{via:Q()}],"gradient-to-pos":[{to:Q()}],"gradient-from":[{from:F()}],"gradient-via":[{via:F()}],"gradient-to":[{to:F()}],rounded:[{rounded:U()}],"rounded-s":[{"rounded-s":U()}],"rounded-e":[{"rounded-e":U()}],"rounded-t":[{"rounded-t":U()}],"rounded-r":[{"rounded-r":U()}],"rounded-b":[{"rounded-b":U()}],"rounded-l":[{"rounded-l":U()}],"rounded-ss":[{"rounded-ss":U()}],"rounded-se":[{"rounded-se":U()}],"rounded-ee":[{"rounded-ee":U()}],"rounded-es":[{"rounded-es":U()}],"rounded-tl":[{"rounded-tl":U()}],"rounded-tr":[{"rounded-tr":U()}],"rounded-br":[{"rounded-br":U()}],"rounded-bl":[{"rounded-bl":U()}],"border-w":[{border:X()}],"border-w-x":[{"border-x":X()}],"border-w-y":[{"border-y":X()}],"border-w-s":[{"border-s":X()}],"border-w-e":[{"border-e":X()}],"border-w-bs":[{"border-bs":X()}],"border-w-be":[{"border-be":X()}],"border-w-t":[{"border-t":X()}],"border-w-r":[{"border-r":X()}],"border-w-b":[{"border-b":X()}],"border-w-l":[{"border-l":X()}],"divide-x":[{"divide-x":X()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":X()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...$(),"hidden","none"]}],"divide-style":[{divide:[...$(),"hidden","none"]}],"border-color":[{border:F()}],"border-color-x":[{"border-x":F()}],"border-color-y":[{"border-y":F()}],"border-color-s":[{"border-s":F()}],"border-color-e":[{"border-e":F()}],"border-color-bs":[{"border-bs":F()}],"border-color-be":[{"border-be":F()}],"border-color-t":[{"border-t":F()}],"border-color-r":[{"border-r":F()}],"border-color-b":[{"border-b":F()}],"border-color-l":[{"border-l":F()}],"divide-color":[{divide:F()}],"outline-style":[{outline:[...$(),"none","hidden"]}],"outline-offset":[{"outline-offset":[xe,ie,oe]}],"outline-w":[{outline:["",xe,$r,nr]}],"outline-color":[{outline:F()}],shadow:[{shadow:["","none",f,Nn,Sn]}],"shadow-color":[{shadow:F()}],"inset-shadow":[{"inset-shadow":["none",m,Nn,Sn]}],"inset-shadow-color":[{"inset-shadow":F()}],"ring-w":[{ring:X()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:F()}],"ring-offset-w":[{"ring-offset":[xe,nr]}],"ring-offset-color":[{"ring-offset":F()}],"inset-ring-w":[{"inset-ring":X()}],"inset-ring-color":[{"inset-ring":F()}],"text-shadow":[{"text-shadow":["none",h,Nn,Sn]}],"text-shadow-color":[{"text-shadow":F()}],opacity:[{opacity:[xe,ie,oe]}],"mix-blend":[{"mix-blend":[...Z(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Z()}],"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":[xe]}],"mask-image-linear-from-pos":[{"mask-linear-from":H()}],"mask-image-linear-to-pos":[{"mask-linear-to":H()}],"mask-image-linear-from-color":[{"mask-linear-from":F()}],"mask-image-linear-to-color":[{"mask-linear-to":F()}],"mask-image-t-from-pos":[{"mask-t-from":H()}],"mask-image-t-to-pos":[{"mask-t-to":H()}],"mask-image-t-from-color":[{"mask-t-from":F()}],"mask-image-t-to-color":[{"mask-t-to":F()}],"mask-image-r-from-pos":[{"mask-r-from":H()}],"mask-image-r-to-pos":[{"mask-r-to":H()}],"mask-image-r-from-color":[{"mask-r-from":F()}],"mask-image-r-to-color":[{"mask-r-to":F()}],"mask-image-b-from-pos":[{"mask-b-from":H()}],"mask-image-b-to-pos":[{"mask-b-to":H()}],"mask-image-b-from-color":[{"mask-b-from":F()}],"mask-image-b-to-color":[{"mask-b-to":F()}],"mask-image-l-from-pos":[{"mask-l-from":H()}],"mask-image-l-to-pos":[{"mask-l-to":H()}],"mask-image-l-from-color":[{"mask-l-from":F()}],"mask-image-l-to-color":[{"mask-l-to":F()}],"mask-image-x-from-pos":[{"mask-x-from":H()}],"mask-image-x-to-pos":[{"mask-x-to":H()}],"mask-image-x-from-color":[{"mask-x-from":F()}],"mask-image-x-to-color":[{"mask-x-to":F()}],"mask-image-y-from-pos":[{"mask-y-from":H()}],"mask-image-y-to-pos":[{"mask-y-to":H()}],"mask-image-y-from-color":[{"mask-y-from":F()}],"mask-image-y-to-color":[{"mask-y-to":F()}],"mask-image-radial":[{"mask-radial":[ie,oe]}],"mask-image-radial-from-pos":[{"mask-radial-from":H()}],"mask-image-radial-to-pos":[{"mask-radial-to":H()}],"mask-image-radial-from-color":[{"mask-radial-from":F()}],"mask-image-radial-to-color":[{"mask-radial-to":F()}],"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":[xe]}],"mask-image-conic-from-pos":[{"mask-conic-from":H()}],"mask-image-conic-to-pos":[{"mask-conic-to":H()}],"mask-image-conic-from-color":[{"mask-conic-from":F()}],"mask-image-conic-to-color":[{"mask-conic-to":F()}],"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",ie,oe]}],filter:[{filter:["","none",ie,oe]}],blur:[{blur:K()}],brightness:[{brightness:[xe,ie,oe]}],contrast:[{contrast:[xe,ie,oe]}],"drop-shadow":[{"drop-shadow":["","none",v,Nn,Sn]}],"drop-shadow-color":[{"drop-shadow":F()}],grayscale:[{grayscale:["",xe,ie,oe]}],"hue-rotate":[{"hue-rotate":[xe,ie,oe]}],invert:[{invert:["",xe,ie,oe]}],saturate:[{saturate:[xe,ie,oe]}],sepia:[{sepia:["",xe,ie,oe]}],"backdrop-filter":[{"backdrop-filter":["","none",ie,oe]}],"backdrop-blur":[{"backdrop-blur":K()}],"backdrop-brightness":[{"backdrop-brightness":[xe,ie,oe]}],"backdrop-contrast":[{"backdrop-contrast":[xe,ie,oe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",xe,ie,oe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[xe,ie,oe]}],"backdrop-invert":[{"backdrop-invert":["",xe,ie,oe]}],"backdrop-opacity":[{"backdrop-opacity":[xe,ie,oe]}],"backdrop-saturate":[{"backdrop-saturate":[xe,ie,oe]}],"backdrop-sepia":[{"backdrop-sepia":["",xe,ie,oe]}],"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",ie,oe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[xe,"initial",ie,oe]}],ease:[{ease:["linear","initial",x,ie,oe]}],delay:[{delay:[xe,ie,oe]}],animate:[{animate:["none",g,ie,oe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[p,ie,oe]}],"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:J()}],"scale-x":[{"scale-x":J()}],"scale-y":[{"scale-y":J()}],"scale-z":[{"scale-z":J()}],"scale-3d":["scale-3d"],skew:[{skew:le()}],"skew-x":[{"skew-x":le()}],"skew-y":[{"skew-y":le()}],transform:[{transform:[ie,oe,"","none","gpu","cpu"]}],"transform-origin":[{origin:C()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:de()}],"translate-x":[{"translate-x":de()}],"translate-y":[{"translate-y":de()}],"translate-z":[{"translate-z":de()}],"translate-none":["translate-none"],accent:[{accent:F()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:F()}],"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",ie,oe]}],"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",ie,oe]}],fill:[{fill:["none",...F()]}],"stroke-w":[{stroke:[xe,$r,nr,Ja]}],stroke:[{stroke:["none",...F()]}],"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"]}},Dp=vp(Lp);class ar{static instance;constructor(){}static getInstance(){return ar.instance||(ar.instance=new ar),ar.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,m=r.viewportHeight||window.innerHeight,h=Math.min(f,m);return o/100*h;case"vmax":const v=r.viewportWidth||window.innerWidth,b=r.viewportHeight||window.innerHeight,p=Math.max(v,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 R(...e){return Dp(ou(e))}const Fp={},Gs=u.createContext(Fp);function Bp({theme:e,children:t}){const r=u.useContext(Gs),n=u.useMemo(()=>({...r,...e}),[r,e]);return c.jsx(Gs.Provider,{value:n,children:t})}function ae(){return u.useContext(Gs)}function $p(e){return e}function Vp(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 zp(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 Hp=(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(zp(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=Vp(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})(),Je="-ms-",Zn="-moz-",Ee="-webkit-",wu="comm",Pi="rule",Ci="decl",Up="@import",Pu="@keyframes",Wp="@layer",Gp=Math.abs,ho=String.fromCharCode,Kp=Object.assign;function Yp(e,t){return We(e,0)^45?(((t<<2^We(e,0))<<2^We(e,1))<<2^We(e,2))<<2^We(e,3):0}function Cu(e){return e.trim()}function Xp(e,t){return(e=t.exec(e))?e[0]:e}function je(e,t,r){return e.replace(t,r)}function Ks(e,t){return e.indexOf(t)}function We(e,t){return e.charCodeAt(t)|0}function tn(e,t,r){return e.slice(t,r)}function Ct(e){return e.length}function Si(e){return e.length}function qn(e,t){return t.push(e),e}function Jp(e,t){return e.map(t).join("")}var po=1,Er=1,Su=0,rt=0,De=0,_r="";function vo(e,t,r,n,o,s,i){return{value:e,root:t,parent:r,type:n,props:o,children:s,line:po,column:Er,length:i,return:""}}function Vr(e,t){return Kp(vo("",null,null,"",null,null,0),e,{length:-e.length},t)}function Qp(){return De}function Zp(){return De=rt>0?We(_r,--rt):0,Er--,De===10&&(Er=1,po--),De}function lt(){return De=rt<Su?We(_r,rt++):0,Er++,De===10&&(Er=1,po++),De}function qt(){return We(_r,rt)}function $n(){return rt}function fn(e,t){return tn(_r,e,t)}function rn(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 Nu(e){return po=Er=1,Su=Ct(_r=e),rt=0,[]}function qu(e){return _r="",e}function Vn(e){return Cu(fn(rt-1,Ys(e===91?e+2:e===40?e+1:e)))}function ev(e){for(;(De=qt())&&De<33;)lt();return rn(e)>2||rn(De)>3?"":" "}function tv(e,t){for(;--t&&lt()&&!(De<48||De>102||De>57&&De<65||De>70&&De<97););return fn(e,$n()+(t<6&&qt()==32&&lt()==32))}function Ys(e){for(;lt();)switch(De){case e:return rt;case 34:case 39:e!==34&&e!==39&&Ys(De);break;case 40:e===41&&Ys(e);break;case 92:lt();break}return rt}function rv(e,t){for(;lt()&&e+De!==57;)if(e+De===84&&qt()===47)break;return"/*"+fn(t,rt-1)+"*"+ho(e===47?e:lt())}function nv(e){for(;!rn(qt());)lt();return fn(e,rt)}function ov(e){return qu(zn("",null,null,null,[""],e=Nu(e),0,[0],e))}function zn(e,t,r,n,o,s,i,a,l){for(var d=0,f=0,m=i,h=0,v=0,b=0,p=1,y=1,x=1,g=0,w="",P=o,C=s,S=n,N=w;y;)switch(b=g,g=lt()){case 40:if(b!=108&&We(N,m-1)==58){Ks(N+=je(Vn(g),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:N+=Vn(g);break;case 9:case 10:case 13:case 32:N+=ev(b);break;case 92:N+=tv($n()-1,7);continue;case 47:switch(qt()){case 42:case 47:qn(sv(rv(lt(),$n()),t,r),l);break;default:N+="/"}break;case 123*p:a[d++]=Ct(N)*x;case 125*p:case 59:case 0:switch(g){case 0:case 125:y=0;case 59+f:x==-1&&(N=je(N,/\f/g,"")),v>0&&Ct(N)-m&&qn(v>32?tl(N+";",n,r,m-1):tl(je(N," ","")+";",n,r,m-2),l);break;case 59:N+=";";default:if(qn(S=el(N,t,r,d,f,o,a,w,P=[],C=[],m),s),g===123)if(f===0)zn(N,t,S,S,P,s,m,a,C);else switch(h===99&&We(N,3)===110?100:h){case 100:case 108:case 109:case 115:zn(e,S,S,n&&qn(el(e,S,S,0,0,o,a,w,o,P=[],m),C),o,C,m,a,n?P:C);break;default:zn(N,S,S,S,[""],C,0,a,C)}}d=f=v=0,p=x=1,w=N="",m=i;break;case 58:m=1+Ct(N),v=b;default:if(p<1){if(g==123)--p;else if(g==125&&p++==0&&Zp()==125)continue}switch(N+=ho(g),g*p){case 38:x=f>0?1:(N+="\f",-1);break;case 44:a[d++]=(Ct(N)-1)*x,x=1;break;case 64:qt()===45&&(N+=Vn(lt())),h=qt(),f=m=Ct(w=N+=nv($n())),g++;break;case 45:b===45&&Ct(N)==2&&(p=0)}}return s}function el(e,t,r,n,o,s,i,a,l,d,f){for(var m=o-1,h=o===0?s:[""],v=Si(h),b=0,p=0,y=0;b<n;++b)for(var x=0,g=tn(e,m+1,m=Gp(p=i[b])),w=e;x<v;++x)(w=Cu(p>0?h[x]+" "+g:je(g,/&\f/g,h[x])))&&(l[y++]=w);return vo(e,t,r,o===0?Pi:a,l,d,f)}function sv(e,t,r){return vo(e,t,r,wu,ho(Qp()),tn(e,2,-2),0)}function tl(e,t,r,n){return vo(e,t,r,Ci,tn(e,0,n),tn(e,n+1,-1),n)}function Nr(e,t){for(var r="",n=Si(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function iv(e,t,r,n){switch(e.type){case Wp:if(e.children.length)break;case Up:case Ci:return e.return=e.return||e.value;case wu:return"";case Pu:return e.return=e.value+"{"+Nr(e.children,n)+"}";case Pi:e.value=e.props.join(",")}return Ct(r=Nr(e.children,n))?e.return=e.value+"{"+r+"}":""}function av(e){var t=Si(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 lv(e){return function(t){t.root||(t=t.return)&&e(t)}}function cv(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var uv=function(t,r,n){for(var o=0,s=0;o=s,s=qt(),o===38&&s===12&&(r[n]=1),!rn(s);)lt();return fn(t,rt)},dv=function(t,r){var n=-1,o=44;do switch(rn(o)){case 0:o===38&&qt()===12&&(r[n]=1),t[n]+=uv(rt-1,r,n);break;case 2:t[n]+=Vn(o);break;case 4:if(o===44){t[++n]=qt()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=ho(o)}while(o=lt());return t},fv=function(t,r){return qu(dv(Nu(t),r))},rl=new WeakMap,mv=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&&!rl.get(n))&&!o){rl.set(t,!0);for(var s=[],i=fv(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]}}},hv=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function ku(e,t){switch(Yp(e,t)){case 5103:return Ee+"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 Ee+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ee+e+Zn+e+Je+e+e;case 6828:case 4268:return Ee+e+Je+e+e;case 6165:return Ee+e+Je+"flex-"+e+e;case 5187:return Ee+e+je(e,/(\w+).+(:[^]+)/,Ee+"box-$1$2"+Je+"flex-$1$2")+e;case 5443:return Ee+e+Je+"flex-item-"+je(e,/flex-|-self/,"")+e;case 4675:return Ee+e+Je+"flex-line-pack"+je(e,/align-content|flex-|-self/,"")+e;case 5548:return Ee+e+Je+je(e,"shrink","negative")+e;case 5292:return Ee+e+Je+je(e,"basis","preferred-size")+e;case 6060:return Ee+"box-"+je(e,"-grow","")+Ee+e+Je+je(e,"grow","positive")+e;case 4554:return Ee+je(e,/([^-])(transform)/g,"$1"+Ee+"$2")+e;case 6187:return je(je(je(e,/(zoom-|grab)/,Ee+"$1"),/(image-set)/,Ee+"$1"),e,"")+e;case 5495:case 3959:return je(e,/(image-set\([^]*)/,Ee+"$1$`$1");case 4968:return je(je(e,/(.+:)(flex-)?(.*)/,Ee+"box-pack:$3"+Je+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ee+e+e;case 4095:case 3583:case 4068:case 2532:return je(e,/(.+)-inline(.+)/,Ee+"$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(Ct(e)-1-t>6)switch(We(e,t+1)){case 109:if(We(e,t+4)!==45)break;case 102:return je(e,/(.+:)(.+)-([^]+)/,"$1"+Ee+"$2-$3$1"+Zn+(We(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ks(e,"stretch")?ku(je(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(We(e,t+1)!==115)break;case 6444:switch(We(e,Ct(e)-3-(~Ks(e,"!important")&&10))){case 107:return je(e,":",":"+Ee)+e;case 101:return je(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ee+(We(e,14)===45?"inline-":"")+"box$3$1"+Ee+"$2$3$1"+Je+"$2box$3")+e}break;case 5936:switch(We(e,t+11)){case 114:return Ee+e+Je+je(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ee+e+Je+je(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ee+e+Je+je(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ee+e+Je+e+e}return e}var pv=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case Ci:t.return=ku(t.value,t.length);break;case Pu:return Nr([Vr(t,{value:je(t.value,"@","@"+Ee)})],o);case Pi:if(t.length)return Jp(t.props,function(s){switch(Xp(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Nr([Vr(t,{props:[je(s,/:(read-\w+)/,":"+Zn+"$1")]})],o);case"::placeholder":return Nr([Vr(t,{props:[je(s,/:(plac\w+)/,":"+Ee+"input-$1")]}),Vr(t,{props:[je(s,/:(plac\w+)/,":"+Zn+"$1")]}),Vr(t,{props:[je(s,/:(plac\w+)/,Je+"input-$1")]})],o)}return""})}},vv=[pv],gv=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 y=p.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var o=t.stylisPlugins||vv,s={},i,a=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(p){for(var y=p.getAttribute("data-emotion").split(" "),x=1;x<y.length;x++)s[y[x]]=!0;a.push(p)});var l,d=[mv,hv];{var f,m=[iv,lv(function(p){f.insert(p)})],h=av(d.concat(o,m)),v=function(y){return Nr(ov(y),h)};l=function(y,x,g,w){f=g,v(y?y+"{"+x.styles+"}":x.styles),w&&(b.inserted[x.name]=!0)}}var b={key:r,sheet:new Hp({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 bv(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 xv={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},yv=/[A-Z]|^ms/g,wv=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Eu=function(t){return t.charCodeAt(1)===45},nl=function(t){return t!=null&&typeof t!="boolean"},Ko=cv(function(e){return Eu(e)?e:e.replace(yv,"-$&").toLowerCase()}),ol=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(wv,function(n,o,s){return Ht={name:o,styles:s,next:Ht},o})}return xv[t]!==1&&!Eu(t)&&typeof r=="number"&&r!==0?r+"px":r};function eo(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 Ht={name:o.name,styles:o.styles,next:Ht},o.name;var s=r;if(s.styles!==void 0){var i=s.next;if(i!==void 0)for(;i!==void 0;)Ht={name:i.name,styles:i.styles,next:Ht},i=i.next;var a=s.styles+";";return a}return Pv(e,t,r)}}var l=r;if(t==null)return l;var d=t[l];return d!==void 0?d:l}function Pv(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=eo(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]+"}":nl(a)&&(n+=Ko(s)+":"+ol(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++)nl(i[l])&&(n+=Ko(s)+":"+ol(s,i[l])+";");else{var d=eo(e,t,i);switch(s){case"animation":case"animationName":{n+=Ko(s)+":"+d+";";break}default:n+=s+"{"+d+"}"}}}return n}var sl=/label:\s*([^\s;{]+)\s*(;|$)/g,Ht;function Yo(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="";Ht=void 0;var s=e[0];if(s==null||s.raw===void 0)n=!1,o+=eo(r,t,s);else{var i=s;o+=i[0]}for(var a=1;a<e.length;a++)if(o+=eo(r,t,e[a]),n){var l=s;o+=l[a]}sl.lastIndex=0;for(var d="",f;(f=sl.exec(o))!==null;)d+="-"+f[1];var m=bv(o)+d;return{name:m,styles:o,next:Ht}}function ju(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(n+=o+" ")}),n}var Cv=function(t,r,n){var o=t.key+"-"+r.name;t.registered[o]===void 0&&(t.registered[o]=r.styles)},Sv=function(t,r,n){Cv(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 il(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function al(e,t,r){var n=[],o=ju(e,n,r);return n.length<2?r:o+t(n)}var Nv=function(t){var r=gv(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 m=Yo(d,r.registered,void 0);return Sv(r,m),r.key+"-"+m.name},o=function(){for(var l=arguments.length,d=new Array(l),f=0;f<l;f++)d[f]=arguments[f];var m=Yo(d,r.registered),h="animation-"+m.name;return il(r,{name:m.name,styles:"@keyframes "+h+"{"+m.styles+"}"}),h},s=function(){for(var l=arguments.length,d=new Array(l),f=0;f<l;f++)d[f]=arguments[f];var m=Yo(d,r.registered);il(r,m)},i=function(){for(var l=arguments.length,d=new Array(l),f=0;f<l;f++)d[f]=arguments[f];return al(r.registered,n,qv(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:ju.bind(null,r.registered),merge:al.bind(null,r.registered,n)}},qv=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},kv=Nv({key:"css"}),Ev=kv.css;function jv(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Xs(e,t,r){if(e){if(typeof e=="function"){Xs(e(t),t,r);return}if(Array.isArray(e)){for(const n of e)Xs(n,t,r);return}jv(e)&&r.push(e)}}function Rv(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 Av(e){const t={};for(const[r,n]of Object.entries(e))Rv(r,n)&&(t[r]=n);return t}function ee(e,t){const r=[];if(Xs(e,t,r),!r.length)return{sxClassName:void 0,sxInlineStyle:void 0};const n=Ev(r),o=r.reduce((s,i)=>({...s,...Av(i)}),{});return{sxClassName:n,sxInlineStyle:o}}function D(...e){const t=e.reduce((r,n)=>n?{...r,...n}:r,{});return Object.keys(t).length?t:void 0}function vt(e){const{component:t,variant:r,size:n,rounded:o,shadow:s,bounce:i,splash:a,sx:l,style:d,className:f,class:m,...h}=e,v=t??"button",{roundedPreset:b,roundedStyle:p}=hr(o),{shadowPreset:y,shadowStyle:x}=dn(s),g=ae(),{sxClassName:w,sxInlineStyle:P}=ee(l,g);return c.jsx(v,{className:R(iu({variant:r,size:n,rounded:b,shadow:y,bounce:i,splash:a}),w,f,m),style:D(d,p,x,P),...h})}vt.displayName="Button";const Xo={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 Iv(e){if(e===void 0)return{sizeClassName:Xo.md};if(typeof e=="string"&&e in Xo)return{sizeClassName:Xo[e]};const t=typeof e=="number"?`${e}px`:e;return{sizeStyle:{width:t,height:t}}}function to(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:m,...h}=e,{sizeClassName:v,sizeStyle:b}=Iv(r),p={...h,component:t,size:"icon",rounded:d,className:R("shrink-0 overflow-hidden p-0",v,f),style:D({position:n,left:o,top:s,right:i,bottom:a,zIndex:l},b,m)};return c.jsx(vt,{...p})}to.displayName="GhostButton";const Ru="__LDKJ_GHOST_BUTTON_GROUP_ITEM__";function Ni(e){return null}Ni.displayName="GhostButtonGroup.Item";Ni[Ru]=!0;function Tv(e){return!!(e&&typeof e=="function"&&e[Ru]===!0)}function _v(e){return typeof e=="number"?`${e}px`:e}function ll(e,t){return e.includes(t)}function Ov(e){const t=[],r=[];return u.Children.forEach(e,n=>{if(u.isValidElement(n)&&Tv(n.type)){r.push(n);return}t.push(n)}),{triggerChildren:t,itemChildren:r}}function Mv(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 Lv(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 Dv(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)":Lv(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 Fv(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:m=10,onClick:h,...v}=e,b=Array.isArray(t)?t:[t],p=_v(n),{triggerChildren:y,itemChildren:x}=Ov(s),g=[...o??[],...x.map(_=>({..._.props,key:_.key??void 0}))],[w,P]=u.useState(!1),[C,S]=u.useState("closed"),N=u.useRef(null),q=u.useRef(null),k=y.length>0?c.jsx(c.Fragment,{children:y}):void 0,A=ll(b,"hover"),E=ll(b,"click"),j=Math.max(g.length-1,0)*65,I=C!=="closed";u.useEffect(()=>{if(w){if(C==="open"||C==="preparing")return;S("preparing");return}if(C==="closed"||C==="exiting")return;S("exiting");const _=window.setTimeout(()=>{S("closed")},j);return()=>window.clearTimeout(_)},[j,C,w]),u.useLayoutEffect(()=>{if(C!=="preparing")return;q.current?.offsetHeight;const _=window.requestAnimationFrame(()=>{S(z=>z==="preparing"?"open":z)});return()=>window.cancelAnimationFrame(_)},[C]),u.useEffect(()=>{if(!w||!E)return;const _=L=>{const Y=L.target;Y instanceof Node&&(N.current?.contains(Y)||P(!1))},z=L=>{L.key==="Escape"&&P(!1)};return document.addEventListener("pointerdown",_),document.addEventListener("keydown",z),()=>{document.removeEventListener("pointerdown",_),document.removeEventListener("keydown",z)}},[w,E]);const O={...v,position:"static",right:void 0,bottom:void 0,left:void 0,top:void 0,zIndex:m,onClick:_=>{E&&P(z=>!z),h?.(_)},"aria-expanded":w,"aria-haspopup":"menu",children:k};return c.jsx("div",{ref:N,className:R("inline-flex w-fit"),style:{position:i,left:a,top:l,right:d,bottom:f,zIndex:m},onMouseEnter:A?()=>P(!0):void 0,onMouseLeave:A?()=>P(!1):void 0,children:c.jsxs("div",{className:R("relative inline-flex w-fit"),children:[I&&g.length>0?c.jsx("div",{ref:q,style:{...Mv(r,p),pointerEvents:C==="open"?"auto":"none"},children:g.map((_,z)=>{const{itemKey:L,onClick:Y,...F}=_;return c.jsx("div",{style:Dv(r,C,z,g.length),children:c.jsx(to,{position:"static",...F,onClick:G=>{Y?.(G),P(!1)}})},L??_.key??z)})}):null,c.jsx(to,{...O})]})})}const Au=Object.assign(Fv,{Item:Ni});Au.displayName="GhostButtonGroup";const qi={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(qi));const Ut={};function Iu(e){return{...e}}function Bv(e){Object.assign(Ut,Iu(e))}function $v(e){const t=Iu(e);Object.keys(Ut).forEach(r=>{delete Ut[r]}),Object.assign(Ut,t)}function Vv(){Object.keys(Ut).forEach(e=>{delete Ut[e]})}function zv(){const e=Object.keys(Ut),t=Object.keys(qi);return Array.from(new Set([...e,...t]))}function cl(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 Hv(e,t){const r=Ut[e]??qi[e]??null;return r?t==="rounded"?r.rounded??r.outlined:t==="sharp"?r.sharp??r.outlined:r.outlined:null}function Uv(e,t){return u.lazy(async()=>{const r=Hv(e,t);if(!r)return{default:cl};try{return{default:(await r()).default}}catch{return{default:cl}}})}function Be(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(()=>Uv(t??"",o),[t,o]),m=s?a:"currentColor";return r?c.jsx(r,{width:i,height:i,fill:m,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:m,color:a,className:l,title:d,focusable:"false","aria-hidden":d?void 0:!0})})}Be.displayName="Icon";let Tu=null;function ul(e){Tu=e}function Wv(){return Tu}const Gv=200,Kv={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"}},_u=u.createContext(null);let dl=0;function Yv(){return dl+=1,`ldkj-toast-${Date.now()}-${dl}`}function Xv(e,t){return e.filter(r=>r.id!==t)}function Jv(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 Ou(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))},[]),m=u.useCallback(g=>{f(g),a(w=>Xv(w,g))},[f]),h=u.useCallback(g=>{f(g),a(P=>P.map(C=>C.id===g&&!C.leaving?{...C,leaving:!0}:C));const w=window.setTimeout(()=>{m(g)},Gv);d.current.set(g,w)},[f,m]),v=u.useCallback(()=>{a(g=>(g.forEach(w=>f(w.id)),[]))},[f]),b=u.useCallback(g=>{const w=g.duration??n,P=g.id??Yv(),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(N=>{const q=[...N,C];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 S=window.setTimeout(()=>{h(P)},Math.max(w,0));return l.current.set(P,S),P},[f,h,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:h,clear:v}),[v,h,b]);u.useEffect(()=>(ul(p),()=>ul(null)),[p]);const y=u.useMemo(()=>Jv(i),[i]),x=Array.from(y.keys());return c.jsxs(_u.Provider,{value:p,children:[t,x.map(g=>{const w=y.get(g)??[],P=s?[...w].reverse():w;return c.jsx("div",{className:R("ldkj-toast-viewport",`ldkj-toast-viewport-${g}`),"aria-hidden":P.length===0,children:P.map(C=>{const S=Kv[C.type],N=C.iconColor??S.iconColor;return c.jsxs("div",{className:R("ldkj-toast-item",C.leaving?"ldkj-toast-leave":"ldkj-toast-appear"),role:S.role,"aria-live":S.live,"aria-atomic":"true",children:[typeof C.icon=="string"?c.jsx(Be,{name:C.icon,color:N,size:20,className:"ldkj-toast-icon",title:`${C.type} icon`}):C.icon?.svg||C.icon?.src?c.jsx(Be,{svg:C.icon.svg,src:C.icon.src,color:N,size:20,className:"ldkj-toast-icon",title:`${C.type} icon`}):c.jsx(Be,{name:S.icon,color:N,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:()=>h(C.id),children:c.jsx(Be,{name:"close",size:16,className:"ldkj-toast-close-icon"})}):null]},C.id)})},g)})]})}Ou.displayName="ToastProvider";function Qv(){const e=u.useContext(_u);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 Hn={placement:"top",duration:3e3,closable:!0};let fl=!1;const ft={...Hn};function Mu(e){return{placement:e?.placement??ft.placement,duration:e?.duration??ft.duration,id:e?.id,closable:e?.closable??ft.closable,icon:e?.icon,iconColor:e?.iconColor}}function Un(){const e=Wv();return e||(fl||(fl=!0,console.warn("toast 调用失败:请先在应用根节点挂载 ToastProvider。")),null)}function kn(e,t,r){const n=Un();return n?n.push({type:e,message:t,...Mu(r)}):""}const Zv={show(e,t){const r=Un();return r?r.push({type:"info",message:typeof e=="string"?e:String(e),...Mu(t)}):""},info(e,t){return kn("info",e,t)},success(e,t){return kn("success",e,t)},warn(e,t){return kn("warn",e,t)},error(e,t){return kn("error",e,t)},dismiss(e){const t=Un();t&&t.dismiss(e)},clear(){const e=Un();e&&e.clear()},config(e){ft.placement=e.placement??ft.placement,ft.duration=e.duration??ft.duration,ft.closable=e.closable??ft.closable},resetConfig(){ft.placement=Hn.placement,ft.duration=Hn.duration,ft.closable=Hn.closable}};function ml(e){if(e!=null)return typeof e=="boolean"?e?"blur(5px)":void 0:typeof e=="number"?`blur(${e}px)`:`blur(${e})`}function ki(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:m,onOpen:h,className:v,class:b,style:p,sx:y,contentClassName:x,contentClass:g,contentStyle:w,contentSx:P,children:C,...S}=e,N=ae(),{sxClassName:q,sxInlineStyle:k}=ee(y,N),{sxClassName:A,sxInlineStyle:E}=ee(P,N),j=u.useRef(!1);return u.useEffect(()=>{if(j.current){t?h?.():m?.();return}j.current=!0},[t,m,h]),u.useEffect(()=>{if(!t||o)return;const I=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=I}},[t,o]),!t&&r?null:c.jsx("div",{hidden:!t,className:R("fixed inset-0 z-[9999]",q,v,b),style:D({backgroundColor:`rgba(0, 0, 0, ${s})`,backdropFilter:ml(i),WebkitBackdropFilter:ml(i)},p,k),onTouchStart:I=>{o||(I.preventDefault(),I.stopPropagation())},onClick:()=>{n&&m?.()},...S,children:c.jsx("div",{className:R("absolute",A,x,g),style:D({left:a,top:l,transform:`translate(${d}, ${f})`},w,E),onClick:I=>{I.stopPropagation()},children:C})})}ki.displayName="Modal";const Lu=u.createContext(null),Du=u.createContext(null);function mn(e){const t=u.useContext(Lu);if(!t)throw new Error(`${e} 必须在 <Dialog> 内使用`);return t}function Jt(e){const t=ae();return ee(e,t)}function eg(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 tg=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,m]=eg({open:t,defaultOpen:r,onOpenChange:n}),h=u.useMemo(()=>({open:f,setOpen:m,modal:o,lockScroll:s,destroyOnClose:i,closeOnMaskClick:a,scrollable:l}),[a,i,s,o,f,l,m]);return c.jsx(Lu.Provider,{value:h,children:d})},Ei=u.forwardRef((e,t)=>{const{setOpen:r}=mn("DialogTrigger"),{asChild:n,asChildWrapper:o="span",className:s,class:i,sx:a,style:l,children:d,onClick:f,...m}=e,{sxClassName:h,sxInlineStyle:v}=Jt(a),b=p=>{f?.(p),!p.defaultPrevented&&r(!0)};return n?c.jsx(o,{ref:t,className:R("inline-flex w-fit",h,s,i),style:D(l,v),onClick:b,...m,children:d}):c.jsx("button",{ref:t,type:"button",className:R(h,s,i),style:D(l,v),onClick:b,...m,children:d})});Ei.displayName="DialogTrigger";const ji=u.forwardRef((e,t)=>{const{setOpen:r}=mn("DialogClose"),{asChild:n,asChildWrapper:o="span",className:s,class:i,sx:a,style:l,children:d,onClick:f,...m}=e,{sxClassName:h,sxInlineStyle:v}=Jt(a),b=p=>{f?.(p),!p.defaultPrevented&&r(!1)};return n?c.jsx(o,{ref:t,className:R("inline-flex w-fit",h,s,i),style:D(l,v),onClick:b,...m,children:d}):c.jsx("button",{ref:t,type:"button",className:R(h,s,i),style:D(l,v),onClick:b,...m,children:d})});ji.displayName="DialogClose";const Fu=e=>{const{children:t,container:r}=e;if(typeof document>"u")return null;const n=r??document.body;return n?un.createPortal(t,n):null},Ri=u.forwardRef((e,t)=>{const{open:r,destroyOnClose:n,closeOnMaskClick:o,setOpen:s}=mn("DialogOverlay"),{className:i,class:a,sx:l,style:d,blur:f=!0,onClick:m,...h}=e,{sxClassName:v,sxInlineStyle:b}=Jt(l);return!r&&n?null:c.jsx("div",{ref:t,hidden:!r,"data-state":r?"open":"closed",className:R("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",v,i,a),style:D(d,b),onClick:p=>{m?.(p),!p.defaultPrevented&&o&&s(!1)},...h})});Ri.displayName="DialogOverlay";const Ai=u.forwardRef((e,t)=>{const r=mn("DialogContent"),{children:n,className:o,class:s,sx:i,style:a,showClose:l=!0,overlayClassName:d,overlaySx:f,overlayBlur:m=!0,onEscapeKeyDown:h,onPointerDownOutside:v,onOpenAutoFocus:b,onCloseAutoFocus:p,...y}=e,{sxClassName:x,sxInlineStyle:g}=Jt(i),w=u.useRef(null),P=u.useRef(r.open);u.useImperativeHandle(t,()=>w.current),u.useEffect(()=>{const q=P.current;if(!q&&r.open){const k=new Event("openAutoFocus",{cancelable:!0});b?.(k),k.defaultPrevented||w.current?.focus()}if(q&&!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 q=k=>{k.key==="Escape"&&(h?.(k),!k.defaultPrevented&&r.setOpen(!1))};return window.addEventListener("keydown",q),()=>{window.removeEventListener("keydown",q)}},[r,h]);const C=r.lockScroll&&r.modal,S=r.scrollable||!C,N=r.modal&&r.closeOnMaskClick;return c.jsx(ki,{open:r.open,destroyOnClose:r.destroyOnClose,closeOnMaskClick:N,scrollable:S,blur:m?1:!1,className:R("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 q=new PointerEvent("pointerdown",{bubbles:!0,cancelable:!0});v?.(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:w,role:"dialog","aria-modal":(!!r.modal).toString(),tabIndex:-1,"data-state":r.open?"open":"closed",className:R("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%]",x,o,s),style:D(a,g),...y,children:c.jsx(Du.Provider,{value:{showClose:l},children:n})})})});Ai.displayName="DialogContent";const Ii=u.forwardRef((e,t)=>{const r=mn("DialogHeader"),o=u.useContext(Du)?.showClose??!1,{className:s,class:i,sx:a,style:l,children:d,...f}=e,{sxClassName:m,sxInlineStyle:h}=Jt(a);return c.jsxs("div",{ref:t,className:R("flex items-start justify-between gap-3",m,s,i),style:D(l,h),...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:R("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(Be,{name:"close",size:16})}):null]})});Ii.displayName="DialogHeader";const Ti=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=Jt(o);return c.jsx("div",{ref:t,className:R("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",a,r,n),style:D(s,l),...i})});Ti.displayName="DialogFooter";const _i=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=Jt(o);return c.jsx("h2",{ref:t,className:R("m-0 text-lg font-semibold leading-6 text-slate-950",a,r,n),style:D({margin:0,borderTop:0,paddingTop:0,letterSpacing:0,fontSize:"1.125rem",fontWeight:600,lineHeight:"1.5rem"},s,l),...i})});_i.displayName="DialogTitle";const Oi=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=Jt(o);return c.jsx("p",{ref:t,className:R("m-0 text-sm leading-5 text-slate-600",a,r,n),style:D({margin:0,fontSize:"0.875rem",lineHeight:"1.25rem"},s,l),...i})});Oi.displayName="DialogDescription";const rg=Object.assign(tg,{Trigger:Ei,Portal:Fu,Close:ji,Overlay:Ri,Content:Ai,Header:Ii,Footer:Ti,Title:_i,Description:Oi});function pe(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),r===!1||!o.defaultPrevented)return t?.(o)}}function hl(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Mi(...e){return t=>{let r=!1;const n=e.map(o=>{const s=hl(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():hl(e[o],null)}}}}function Re(...e){return u.useCallback(Mi(...e),e)}function xt(e,t=[]){let r=[];function n(s,i){const a=u.createContext(i),l=r.length;r=[...r,i];const d=m=>{const{scope:h,children:v,...b}=m,p=h?.[e]?.[l]||a,y=u.useMemo(()=>b,Object.values(b));return c.jsx(p.Provider,{value:y,children:v})};d.displayName=s+"Provider";function f(m,h){const v=h?.[e]?.[l]||a,b=u.useContext(v);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${m}\` 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,ng(o,...t)]}function ng(...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 m=l(s)[`__scope${d}`];return{...a,...m}},{});return u.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function nn(e){const t=og(e),r=u.forwardRef((n,o)=>{const{children:s,...i}=n,a=u.Children.toArray(s),l=a.find(ig);if(l){const d=l.props.children,f=a.map(m=>m===l?u.Children.count(d)>1?u.Children.only(null):u.isValidElement(d)?d.props.children:null:m);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 og(e){const t=u.forwardRef((r,n)=>{const{children:o,...s}=r;if(u.isValidElement(o)){const i=lg(o),a=ag(s,o.props);return o.type!==u.Fragment&&(a.ref=n?Mi(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 Bu=Symbol("radix.slottable");function sg(e){const t=({children:r})=>c.jsx(c.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=Bu,t}function ig(e){return u.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Bu}function ag(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 lg(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 cg=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ye=cg.reduce((e,t)=>{const r=nn(`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 ug(e,t){e&&un.flushSync(()=>e.dispatchEvent(t))}function At(e){const t=u.useRef(e);return u.useEffect(()=>{t.current=e}),u.useMemo(()=>(...r)=>t.current?.(...r),[])}function dg(e,t=globalThis?.document){const r=At(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 fg="DismissableLayer",Js="dismissableLayer.update",mg="dismissableLayer.pointerDownOutside",hg="dismissableLayer.focusOutside",pl,$u=u.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),go=u.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:a,...l}=e,d=u.useContext($u),[f,m]=u.useState(null),h=f?.ownerDocument??globalThis?.document,[,v]=u.useState({}),b=Re(t,N=>m(N)),p=Array.from(d.layers),[y]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=p.indexOf(y),g=f?p.indexOf(f):-1,w=d.layersWithOutsidePointerEventsDisabled.size>0,P=g>=x,C=gg(N=>{const q=N.target,k=[...d.branches].some(A=>A.contains(q));!P||k||(o?.(N),i?.(N),N.defaultPrevented||a?.())},h),S=bg(N=>{const q=N.target;[...d.branches].some(A=>A.contains(q))||(s?.(N),i?.(N),N.defaultPrevented||a?.())},h);return dg(N=>{g===d.layers.size-1&&(n?.(N),!N.defaultPrevented&&a&&(N.preventDefault(),a()))},h),u.useEffect(()=>{if(f)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(pl=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),vl(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=pl)}},[f,h,r,d]),u.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),vl())},[f,d]),u.useEffect(()=>{const N=()=>v({});return document.addEventListener(Js,N),()=>document.removeEventListener(Js,N)},[]),c.jsx(ye.div,{...l,ref:b,style:{pointerEvents:w?P?"auto":"none":void 0,...e.style},onFocusCapture:pe(e.onFocusCapture,S.onFocusCapture),onBlurCapture:pe(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:pe(e.onPointerDownCapture,C.onPointerDownCapture)})});go.displayName=fg;var pg="DismissableLayerBranch",vg=u.forwardRef((e,t)=>{const r=u.useContext($u),n=u.useRef(null),o=Re(t,n);return u.useEffect(()=>{const s=n.current;if(s)return r.branches.add(s),()=>{r.branches.delete(s)}},[r.branches]),c.jsx(ye.div,{...e,ref:o})});vg.displayName=pg;function gg(e,t=globalThis?.document){const r=At(e),n=u.useRef(!1),o=u.useRef(()=>{});return u.useEffect(()=>{const s=a=>{if(a.target&&!n.current){let l=function(){Vu(mg,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 bg(e,t=globalThis?.document){const r=At(e),n=u.useRef(!1);return u.useEffect(()=>{const o=s=>{s.target&&!n.current&&Vu(hg,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 vl(){const e=new CustomEvent(Js);document.dispatchEvent(e)}function Vu(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?ug(o,s):o.dispatchEvent(s)}var Jo=0;function zu(){u.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??gl()),document.body.insertAdjacentElement("beforeend",e[1]??gl()),Jo++,()=>{Jo===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Jo--}},[])}function gl(){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 Qo="focusScope.autoFocusOnMount",Zo="focusScope.autoFocusOnUnmount",bl={bubbles:!1,cancelable:!0},xg="FocusScope",Li=u.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...i}=e,[a,l]=u.useState(null),d=At(o),f=At(s),m=u.useRef(null),h=Re(t,p=>l(p)),v=u.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;u.useEffect(()=>{if(n){let p=function(w){if(v.paused||!a)return;const P=w.target;a.contains(P)?m.current=P:zt(m.current,{select:!0})},y=function(w){if(v.paused||!a)return;const P=w.relatedTarget;P!==null&&(a.contains(P)||zt(m.current,{select:!0}))},x=function(w){if(document.activeElement===document.body)for(const C of w)C.removedNodes.length>0&&zt(a)};document.addEventListener("focusin",p),document.addEventListener("focusout",y);const g=new MutationObserver(x);return a&&g.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",y),g.disconnect()}}},[n,a,v.paused]),u.useEffect(()=>{if(a){yl.add(v);const p=document.activeElement;if(!a.contains(p)){const x=new CustomEvent(Qo,bl);a.addEventListener(Qo,d),a.dispatchEvent(x),x.defaultPrevented||(yg(Ng(Hu(a)),{select:!0}),document.activeElement===p&&zt(a))}return()=>{a.removeEventListener(Qo,d),setTimeout(()=>{const x=new CustomEvent(Zo,bl);a.addEventListener(Zo,f),a.dispatchEvent(x),x.defaultPrevented||zt(p??document.body,{select:!0}),a.removeEventListener(Zo,f),yl.remove(v)},0)}}},[a,d,f,v]);const b=u.useCallback(p=>{if(!r&&!n||v.paused)return;const y=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,x=document.activeElement;if(y&&x){const g=p.currentTarget,[w,P]=wg(g);w&&P?!p.shiftKey&&x===P?(p.preventDefault(),r&&zt(w,{select:!0})):p.shiftKey&&x===w&&(p.preventDefault(),r&&zt(P,{select:!0})):x===g&&p.preventDefault()}},[r,n,v.paused]);return c.jsx(ye.div,{tabIndex:-1,...i,ref:h,onKeyDown:b})});Li.displayName=xg;function yg(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(zt(n,{select:t}),document.activeElement!==r)return}function wg(e){const t=Hu(e),r=xl(t,e),n=xl(t.reverse(),e);return[r,n]}function Hu(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 xl(e,t){for(const r of e)if(!Pg(r,{upTo:t}))return r}function Pg(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 Cg(e){return e instanceof HTMLInputElement&&"select"in e}function zt(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Cg(e)&&t&&e.select()}}var yl=Sg();function Sg(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=wl(e,t),e.unshift(t)},remove(t){e=wl(e,t),e[0]?.resume()}}}function wl(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function Ng(e){return e.filter(t=>t.tagName!=="A")}var $e=globalThis?.document?u.useLayoutEffect:()=>{},qg=u[" useId ".trim().toString()]||(()=>{}),kg=0;function vr(e){const[t,r]=u.useState(qg());return $e(()=>{r(n=>n??String(kg++))},[e]),e||(t?`radix-${t}`:"")}const Eg=["top","right","bottom","left"],Gt=Math.min,at=Math.max,ro=Math.round,En=Math.floor,kt=e=>({x:e,y:e}),jg={left:"right",right:"left",bottom:"top",top:"bottom"};function Qs(e,t,r){return at(e,Gt(t,r))}function It(e,t){return typeof e=="function"?e(t):e}function Tt(e){return e.split("-")[0]}function Or(e){return e.split("-")[1]}function Di(e){return e==="x"?"y":"x"}function Fi(e){return e==="y"?"height":"width"}function Nt(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Bi(e){return Di(Nt(e))}function Rg(e,t,r){r===void 0&&(r=!1);const n=Or(e),o=Bi(e),s=Fi(o);let i=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=no(i)),[i,no(i)]}function Ag(e){const t=no(e);return[Zs(e),t,Zs(t)]}function Zs(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Pl=["left","right"],Cl=["right","left"],Ig=["top","bottom"],Tg=["bottom","top"];function _g(e,t,r){switch(e){case"top":case"bottom":return r?t?Cl:Pl:t?Pl:Cl;case"left":case"right":return t?Ig:Tg;default:return[]}}function Og(e,t,r,n){const o=Or(e);let s=_g(Tt(e),r==="start",n);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(Zs)))),s}function no(e){const t=Tt(e);return jg[t]+e.slice(t.length)}function Mg(e){return{top:0,right:0,bottom:0,left:0,...e}}function Uu(e){return typeof e!="number"?Mg(e):{top:e,right:e,bottom:e,left:e}}function oo(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 Sl(e,t,r){let{reference:n,floating:o}=e;const s=Nt(t),i=Bi(t),a=Fi(i),l=Tt(t),d=s==="y",f=n.x+n.width/2-o.width/2,m=n.y+n.height/2-o.height/2,h=n[a]/2-o[a]/2;let v;switch(l){case"top":v={x:f,y:n.y-o.height};break;case"bottom":v={x:f,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:m};break;case"left":v={x:n.x-o.width,y:m};break;default:v={x:n.x,y:n.y}}switch(Or(t)){case"start":v[i]-=h*(r&&d?-1:1);break;case"end":v[i]+=h*(r&&d?-1:1);break}return v}async function Lg(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:m="floating",altBoundary:h=!1,padding:v=0}=It(t,e),b=Uu(v),y=a[h?m==="floating"?"reference":"floating":m],x=oo(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(y)))==null||r?y:y.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:d,rootBoundary:f,strategy:l})),g=m==="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=oo(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:w,strategy:l}):g);return{top:(x.top-C.top+b.top)/P.y,bottom:(C.bottom-x.bottom+b.bottom)/P.y,left:(x.left-C.left+b.left)/P.x,right:(C.right-x.right+b.right)/P.x}}const Dg=50,Fg=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:s=[],platform:i}=r,a=i.detectOverflow?i:{...i,detectOverflow:Lg},l=await(i.isRTL==null?void 0:i.isRTL(t));let d=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:m}=Sl(d,n,l),h=n,v=0;const b={};for(let p=0;p<s.length;p++){const y=s[p];if(!y)continue;const{name:x,fn:g}=y,{x:w,y:P,data:C,reset:S}=await g({x:f,y:m,initialPlacement:n,placement:h,strategy:o,middlewareData:b,rects:d,platform:a,elements:{reference:e,floating:t}});f=w??f,m=P??m,b[x]={...b[x],...C},S&&v<Dg&&(v++,typeof S=="object"&&(S.placement&&(h=S.placement),S.rects&&(d=S.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):S.rects),{x:f,y:m}=Sl(d,h,l)),p=-1)}return{x:f,y:m,placement:h,strategy:o,middlewareData:b}},Bg=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}=It(e,t)||{};if(d==null)return{};const m=Uu(f),h={x:r,y:n},v=Bi(o),b=Fi(v),p=await i.getDimensions(d),y=v==="y",x=y?"top":"left",g=y?"bottom":"right",w=y?"clientHeight":"clientWidth",P=s.reference[b]+s.reference[v]-h[v]-s.floating[b],C=h[v]-s.reference[v],S=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d));let N=S?S[w]:0;(!N||!await(i.isElement==null?void 0:i.isElement(S)))&&(N=a.floating[w]||s.floating[b]);const q=P/2-C/2,k=N/2-p[b]/2-1,A=Gt(m[x],k),E=Gt(m[g],k),j=A,I=N-p[b]-E,T=N/2-p[b]/2+q,O=Qs(j,T,I),_=!l.arrow&&Or(o)!=null&&T!==O&&s.reference[b]/2-(T<j?A:E)-p[b]/2<0,z=_?T<j?T-j:T-I:0;return{[v]:h[v]+z,data:{[v]:O,centerOffset:T-O-z,..._&&{alignmentOffset:z}},reset:_}}}),$g=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:m=!0,fallbackPlacements:h,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:p=!0,...y}=It(e,t);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const x=Tt(o),g=Nt(a),w=Tt(a)===a,P=await(l.isRTL==null?void 0:l.isRTL(d.floating)),C=h||(w||!p?[no(a)]:Ag(a)),S=b!=="none";!h&&S&&C.push(...Og(a,p,b,P));const N=[a,...C],q=await l.detectOverflow(t,y),k=[];let A=((n=s.flip)==null?void 0:n.overflows)||[];if(f&&k.push(q[x]),m){const T=Rg(o,i,P);k.push(q[T[0]],q[T[1]])}if(A=[...A,{placement:o,overflows:k}],!k.every(T=>T<=0)){var E,j;const T=(((E=s.flip)==null?void 0:E.index)||0)+1,O=N[T];if(O&&(!(m==="alignment"?g!==Nt(O):!1)||A.every(L=>Nt(L.placement)===g?L.overflows[0]>0:!0)))return{data:{index:T,overflows:A},reset:{placement:O}};let _=(j=A.filter(z=>z.overflows[0]<=0).sort((z,L)=>z.overflows[1]-L.overflows[1])[0])==null?void 0:j.placement;if(!_)switch(v){case"bestFit":{var I;const z=(I=A.filter(L=>{if(S){const Y=Nt(L.placement);return Y===g||Y==="y"}return!0}).map(L=>[L.placement,L.overflows.filter(Y=>Y>0).reduce((Y,F)=>Y+F,0)]).sort((L,Y)=>L[1]-Y[1])[0])==null?void 0:I[0];z&&(_=z);break}case"initialPlacement":_=a;break}if(o!==_)return{reset:{placement:_}}}return{}}}};function Nl(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ql(e){return Eg.some(t=>e[t]>=0)}const Vg=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r,platform:n}=t,{strategy:o="referenceHidden",...s}=It(e,t);switch(o){case"referenceHidden":{const i=await n.detectOverflow(t,{...s,elementContext:"reference"}),a=Nl(i,r.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:ql(a)}}}case"escaped":{const i=await n.detectOverflow(t,{...s,altBoundary:!0}),a=Nl(i,r.floating);return{data:{escapedOffsets:a,escaped:ql(a)}}}default:return{}}}}},Wu=new Set(["left","top"]);async function zg(e,t){const{placement:r,platform:n,elements:o}=e,s=await(n.isRTL==null?void 0:n.isRTL(o.floating)),i=Tt(r),a=Or(r),l=Nt(r)==="y",d=Wu.has(i)?-1:1,f=s&&l?-1:1,m=It(t,e);let{mainAxis:h,crossAxis:v,alignmentAxis:b}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return a&&typeof b=="number"&&(v=a==="end"?b*-1:b),l?{x:v*f,y:h*d}:{x:h*d,y:v*f}}const Hg=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 zg(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}}}}},Ug=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:x=>{let{x:g,y:w}=x;return{x:g,y:w}}},...d}=It(e,t),f={x:r,y:n},m=await s.detectOverflow(t,d),h=Nt(Tt(o)),v=Di(h);let b=f[v],p=f[h];if(i){const x=v==="y"?"top":"left",g=v==="y"?"bottom":"right",w=b+m[x],P=b-m[g];b=Qs(w,b,P)}if(a){const x=h==="y"?"top":"left",g=h==="y"?"bottom":"right",w=p+m[x],P=p-m[g];p=Qs(w,p,P)}const y=l.fn({...t,[v]:b,[h]:p});return{...y,data:{x:y.x-r,y:y.y-n,enabled:{[v]:i,[h]:a}}}}}},Wg=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}=It(e,t),f={x:r,y:n},m=Nt(o),h=Di(m);let v=f[h],b=f[m];const p=It(a,t),y=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(l){const w=h==="y"?"height":"width",P=s.reference[h]-s.floating[w]+y.mainAxis,C=s.reference[h]+s.reference[w]-y.mainAxis;v<P?v=P:v>C&&(v=C)}if(d){var x,g;const w=h==="y"?"width":"height",P=Wu.has(Tt(o)),C=s.reference[m]-s.floating[w]+(P&&((x=i.offset)==null?void 0:x[m])||0)+(P?0:y.crossAxis),S=s.reference[m]+s.reference[w]+(P?0:((g=i.offset)==null?void 0:g[m])||0)-(P?y.crossAxis:0);b<C?b=C:b>S&&(b=S)}return{[h]:v,[m]: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}=It(e,t),f=await i.detectOverflow(t,d),m=Tt(o),h=Or(o),v=Nt(o)==="y",{width:b,height:p}=s.floating;let y,x;m==="top"||m==="bottom"?(y=m,x=h===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(x=m,y=h==="end"?"top":"bottom");const g=p-f.top-f.bottom,w=b-f.left-f.right,P=Gt(p-f[y],g),C=Gt(b-f[x],w),S=!t.middlewareData.shift;let N=P,q=C;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(q=w),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(N=g),S&&!h){const A=at(f.left,0),E=at(f.right,0),j=at(f.top,0),I=at(f.bottom,0);v?q=b-2*(A!==0||E!==0?A+E:at(f.left,f.right)):N=p-2*(j!==0||I!==0?j+I:at(f.top,f.bottom))}await l({...t,availableWidth:q,availableHeight:N});const k=await i.getDimensions(a.floating);return b!==k.width||p!==k.height?{reset:{rects:!0}}:{}}}};function bo(){return typeof window<"u"}function Mr(e){return Gu(e)?(e.nodeName||"").toLowerCase():"#document"}function ct(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Et(e){var t;return(t=(Gu(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Gu(e){return bo()?e instanceof Node||e instanceof ct(e).Node:!1}function gt(e){return bo()?e instanceof Element||e instanceof ct(e).Element:!1}function Ot(e){return bo()?e instanceof HTMLElement||e instanceof ct(e).HTMLElement:!1}function kl(e){return!bo()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ct(e).ShadowRoot}function hn(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=bt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&o!=="inline"&&o!=="contents"}function Kg(e){return/^(table|td|th)$/.test(Mr(e))}function xo(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Yg=/transform|translate|scale|rotate|perspective|filter/,Xg=/paint|layout|strict|content/,or=e=>!!e&&e!=="none";let es;function $i(e){const t=gt(e)?bt(e):e;return or(t.transform)||or(t.translate)||or(t.scale)||or(t.rotate)||or(t.perspective)||!Vi()&&(or(t.backdropFilter)||or(t.filter))||Yg.test(t.willChange||"")||Xg.test(t.contain||"")}function Jg(e){let t=Kt(e);for(;Ot(t)&&!jr(t);){if($i(t))return t;if(xo(t))return null;t=Kt(t)}return null}function Vi(){return es==null&&(es=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),es}function jr(e){return/^(html|body|#document)$/.test(Mr(e))}function bt(e){return ct(e).getComputedStyle(e)}function yo(e){return gt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Kt(e){if(Mr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||kl(e)&&e.host||Et(e);return kl(t)?t.host:t}function Ku(e){const t=Kt(e);return jr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ot(t)&&hn(t)?t:Ku(t)}function on(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=Ku(e),s=o===((n=e.ownerDocument)==null?void 0:n.body),i=ct(o);if(s){const a=ei(i);return t.concat(i,i.visualViewport||[],hn(o)?o:[],a&&r?on(a):[])}else return t.concat(o,on(o,[],r))}function ei(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Yu(e){const t=bt(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=Ot(e),s=o?e.offsetWidth:r,i=o?e.offsetHeight:n,a=ro(r)!==s||ro(n)!==i;return a&&(r=s,n=i),{width:r,height:n,$:a}}function zi(e){return gt(e)?e:e.contextElement}function qr(e){const t=zi(e);if(!Ot(t))return kt(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:s}=Yu(t);let i=(s?ro(r.width):r.width)/n,a=(s?ro(r.height):r.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const Qg=kt(0);function Xu(e){const t=ct(e);return!Vi()||!t.visualViewport?Qg:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Zg(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==ct(e)?!1:t}function dr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),s=zi(e);let i=kt(1);t&&(n?gt(n)&&(i=qr(n)):i=qr(e));const a=Zg(s,r,n)?Xu(s):kt(0);let l=(o.left+a.x)/i.x,d=(o.top+a.y)/i.y,f=o.width/i.x,m=o.height/i.y;if(s){const h=ct(s),v=n&&gt(n)?ct(n):n;let b=h,p=ei(b);for(;p&&n&&v!==b;){const y=qr(p),x=p.getBoundingClientRect(),g=bt(p),w=x.left+(p.clientLeft+parseFloat(g.paddingLeft))*y.x,P=x.top+(p.clientTop+parseFloat(g.paddingTop))*y.y;l*=y.x,d*=y.y,f*=y.x,m*=y.y,l+=w,d+=P,b=ct(p),p=ei(b)}}return oo({width:f,height:m,x:l,y:d})}function wo(e,t){const r=yo(e).scrollLeft;return t?t.left+r:dr(Et(e)).left+r}function Ju(e,t){const r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-wo(e,r),o=r.top+t.scrollTop;return{x:n,y:o}}function eb(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const s=o==="fixed",i=Et(n),a=t?xo(t.floating):!1;if(n===i||a&&s)return r;let l={scrollLeft:0,scrollTop:0},d=kt(1);const f=kt(0),m=Ot(n);if((m||!m&&!s)&&((Mr(n)!=="body"||hn(i))&&(l=yo(n)),m)){const v=dr(n);d=qr(n),f.x=v.x+n.clientLeft,f.y=v.y+n.clientTop}const h=i&&!m&&!s?Ju(i,l):kt(0);return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-l.scrollLeft*d.x+f.x+h.x,y:r.y*d.y-l.scrollTop*d.y+f.y+h.y}}function tb(e){return Array.from(e.getClientRects())}function rb(e){const t=Et(e),r=yo(e),n=e.ownerDocument.body,o=at(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=at(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let i=-r.scrollLeft+wo(e);const a=-r.scrollTop;return bt(n).direction==="rtl"&&(i+=at(t.clientWidth,n.clientWidth)-o),{width:o,height:s,x:i,y:a}}const El=25;function nb(e,t){const r=ct(e),n=Et(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=Vi();(!f||f&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}const d=wo(n);if(d<=0){const f=n.ownerDocument,m=f.body,h=getComputedStyle(m),v=f.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,b=Math.abs(n.clientWidth-m.clientWidth-v);b<=El&&(s-=b)}else d<=El&&(s+=d);return{width:s,height:i,x:a,y:l}}function ob(e,t){const r=dr(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,s=Ot(e)?qr(e):kt(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 jl(e,t,r){let n;if(t==="viewport")n=nb(e,r);else if(t==="document")n=rb(Et(e));else if(gt(t))n=ob(t,r);else{const o=Xu(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return oo(n)}function Qu(e,t){const r=Kt(e);return r===t||!gt(r)||jr(r)?!1:bt(r).position==="fixed"||Qu(r,t)}function sb(e,t){const r=t.get(e);if(r)return r;let n=on(e,[],!1).filter(a=>gt(a)&&Mr(a)!=="body"),o=null;const s=bt(e).position==="fixed";let i=s?Kt(e):e;for(;gt(i)&&!jr(i);){const a=bt(i),l=$i(i);!l&&a.position==="fixed"&&(o=null),(s?!l&&!o:!l&&a.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||hn(i)&&!l&&Qu(e,i))?n=n.filter(f=>f!==i):o=a,i=Kt(i)}return t.set(e,n),n}function ib(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const i=[...r==="clippingAncestors"?xo(t)?[]:sb(t,this._c):[].concat(r),n],a=jl(t,i[0],o);let l=a.top,d=a.right,f=a.bottom,m=a.left;for(let h=1;h<i.length;h++){const v=jl(t,i[h],o);l=at(v.top,l),d=Gt(v.right,d),f=Gt(v.bottom,f),m=at(v.left,m)}return{width:d-m,height:f-l,x:m,y:l}}function ab(e){const{width:t,height:r}=Yu(e);return{width:t,height:r}}function lb(e,t,r){const n=Ot(t),o=Et(t),s=r==="fixed",i=dr(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=kt(0);function d(){l.x=wo(o)}if(n||!n&&!s)if((Mr(t)!=="body"||hn(o))&&(a=yo(t)),n){const v=dr(t,!0,s,t);l.x=v.x+t.clientLeft,l.y=v.y+t.clientTop}else o&&d();s&&!n&&o&&d();const f=o&&!n&&!s?Ju(o,a):kt(0),m=i.left+a.scrollLeft-l.x-f.x,h=i.top+a.scrollTop-l.y-f.y;return{x:m,y:h,width:i.width,height:i.height}}function ts(e){return bt(e).position==="static"}function Rl(e,t){if(!Ot(e)||bt(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Et(e)===r&&(r=r.ownerDocument.body),r}function Zu(e,t){const r=ct(e);if(xo(e))return r;if(!Ot(e)){let o=Kt(e);for(;o&&!jr(o);){if(gt(o)&&!ts(o))return o;o=Kt(o)}return r}let n=Rl(e,t);for(;n&&Kg(n)&&ts(n);)n=Rl(n,t);return n&&jr(n)&&ts(n)&&!$i(n)?r:n||Jg(e)||r}const cb=async function(e){const t=this.getOffsetParent||Zu,r=this.getDimensions,n=await r(e.floating);return{reference:lb(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function ub(e){return bt(e).direction==="rtl"}const db={convertOffsetParentRelativeRectToViewportRelativeRect:eb,getDocumentElement:Et,getClippingRect:ib,getOffsetParent:Zu,getElementRects:cb,getClientRects:tb,getDimensions:ab,getScale:qr,isElement:gt,isRTL:ub};function ed(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function fb(e,t){let r=null,n;const o=Et(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:m,width:h,height:v}=d;if(a||t(),!h||!v)return;const b=En(m),p=En(o.clientWidth-(f+h)),y=En(o.clientHeight-(m+v)),x=En(f),w={rootMargin:-b+"px "+-p+"px "+-y+"px "+-x+"px",threshold:at(0,Gt(1,l))||1};let P=!0;function C(S){const N=S[0].intersectionRatio;if(N!==l){if(!P)return i();N?i(!1,N):n=setTimeout(()=>{i(!1,1e-7)},1e3)}N===1&&!ed(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 mb(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=zi(e),f=o||s?[...d?on(d):[],...t?on(t):[]]:[];f.forEach(x=>{o&&x.addEventListener("scroll",r,{passive:!0}),s&&x.addEventListener("resize",r)});const m=d&&a?fb(d,r):null;let h=-1,v=null;i&&(v=new ResizeObserver(x=>{let[g]=x;g&&g.target===d&&v&&t&&(v.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var w;(w=v)==null||w.observe(t)})),r()}),d&&!l&&v.observe(d),t&&v.observe(t));let b,p=l?dr(e):null;l&&y();function y(){const x=dr(e);p&&!ed(p,x)&&r(),p=x,b=requestAnimationFrame(y)}return r(),()=>{var x;f.forEach(g=>{o&&g.removeEventListener("scroll",r),s&&g.removeEventListener("resize",r)}),m?.(),(x=v)==null||x.disconnect(),v=null,l&&cancelAnimationFrame(b)}}const hb=Hg,pb=Ug,vb=$g,gb=Gg,bb=Vg,Al=Bg,xb=Wg,yb=(e,t,r)=>{const n=new Map,o={platform:db,...r},s={...o.platform,_c:n};return Fg(e,t,{...o,platform:s})};var wb=typeof document<"u",Pb=function(){},Wn=wb?Oe.useLayoutEffect:Pb;function so(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(!so(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)&&!so(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function td(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Il(e,t){const r=td(e);return Math.round(t*r)/r}function rs(e){const t=u.useRef(e);return Wn(()=>{t.current=e}),t}function Cb(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,m]=u.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[h,v]=u.useState(n);so(h,n)||v(n);const[b,p]=u.useState(null),[y,x]=u.useState(null),g=u.useCallback(L=>{L!==S.current&&(S.current=L,p(L))},[]),w=u.useCallback(L=>{L!==N.current&&(N.current=L,x(L))},[]),P=s||b,C=i||y,S=u.useRef(null),N=u.useRef(null),q=u.useRef(f),k=l!=null,A=rs(l),E=rs(o),j=rs(d),I=u.useCallback(()=>{if(!S.current||!N.current)return;const L={placement:t,strategy:r,middleware:h};E.current&&(L.platform=E.current),yb(S.current,N.current,L).then(Y=>{const F={...Y,isPositioned:j.current!==!1};T.current&&!so(q.current,F)&&(q.current=F,un.flushSync(()=>{m(F)}))})},[h,t,r,E,j]);Wn(()=>{d===!1&&q.current.isPositioned&&(q.current.isPositioned=!1,m(L=>({...L,isPositioned:!1})))},[d]);const T=u.useRef(!1);Wn(()=>(T.current=!0,()=>{T.current=!1}),[]),Wn(()=>{if(P&&(S.current=P),C&&(N.current=C),P&&C){if(A.current)return A.current(P,C,I);I()}},[P,C,I,A,k]);const O=u.useMemo(()=>({reference:S,floating:N,setReference:g,setFloating:w}),[g,w]),_=u.useMemo(()=>({reference:P,floating:C}),[P,C]),z=u.useMemo(()=>{const L={position:r,left:0,top:0};if(!_.floating)return L;const Y=Il(_.floating,f.x),F=Il(_.floating,f.y);return a?{...L,transform:"translate("+Y+"px, "+F+"px)",...td(_.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:Y,top:F}},[r,a,_.floating,f.x,f.y]);return u.useMemo(()=>({...f,update:I,refs:O,elements:_,floatingStyles:z}),[f,I,O,_,z])}const Sb=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?Al({element:n.current,padding:o}).fn(r):{}:n?Al({element:n,padding:o}).fn(r):{}}}},Nb=(e,t)=>{const r=hb(e);return{name:r.name,fn:r.fn,options:[e,t]}},qb=(e,t)=>{const r=pb(e);return{name:r.name,fn:r.fn,options:[e,t]}},kb=(e,t)=>({fn:xb(e).fn,options:[e,t]}),Eb=(e,t)=>{const r=vb(e);return{name:r.name,fn:r.fn,options:[e,t]}},jb=(e,t)=>{const r=gb(e);return{name:r.name,fn:r.fn,options:[e,t]}},Rb=(e,t)=>{const r=bb(e);return{name:r.name,fn:r.fn,options:[e,t]}},Ab=(e,t)=>{const r=Sb(e);return{name:r.name,fn:r.fn,options:[e,t]}};var Ib="Arrow",rd=u.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...s}=e;return c.jsx(ye.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"})})});rd.displayName=Ib;var Tb=rd;function Po(e){const[t,r]=u.useState(void 0);return $e(()=>{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 Hi="Popper",[nd,Lr]=xt(Hi),[_b,od]=nd(Hi),sd=e=>{const{__scopePopper:t,children:r}=e,[n,o]=u.useState(null);return c.jsx(_b,{scope:t,anchor:n,onAnchorChange:o,children:r})};sd.displayName=Hi;var id="PopperAnchor",ad=u.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,s=od(id,r),i=u.useRef(null),a=Re(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(ye.div,{...o,ref:a})});ad.displayName=id;var Ui="PopperContent",[Ob,Mb]=nd(Ui),ld=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:m="partial",hideWhenDetached:h=!1,updatePositionStrategy:v="optimized",onPlaced:b,...p}=e,y=od(Ui,r),[x,g]=u.useState(null),w=Re(t,$=>g($)),[P,C]=u.useState(null),S=Po(P),N=S?.width??0,q=S?.height??0,k=n+(s!=="center"?"-"+s:""),A=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},E=Array.isArray(d)?d:[d],j=E.length>0,I={padding:A,boundary:E.filter(Db),altBoundary:j},{refs:T,floatingStyles:O,placement:_,isPositioned:z,middlewareData:L}=Cb({strategy:"fixed",placement:k,whileElementsMounted:(...$)=>mb(...$,{animationFrame:v==="always"}),elements:{reference:y.anchor},middleware:[Nb({mainAxis:o+q,alignmentAxis:i}),l&&qb({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?kb():void 0,...I}),l&&Eb({...I}),jb({...I,apply:({elements:$,rects:Z,availableWidth:H,availableHeight:K})=>{const{width:W,height:J}=Z.reference,le=$.floating.style;le.setProperty("--radix-popper-available-width",`${H}px`),le.setProperty("--radix-popper-available-height",`${K}px`),le.setProperty("--radix-popper-anchor-width",`${W}px`),le.setProperty("--radix-popper-anchor-height",`${J}px`)}}),P&&Ab({element:P,padding:a}),Fb({arrowWidth:N,arrowHeight:q}),h&&Rb({strategy:"referenceHidden",...I})]}),[Y,F]=dd(_),G=At(b);$e(()=>{z&&G?.()},[z,G]);const me=L.arrow?.x,te=L.arrow?.y,Q=L.arrow?.centerOffset!==0,[U,X]=u.useState();return $e(()=>{x&&X(window.getComputedStyle(x).zIndex)},[x]),c.jsx("div",{ref:T.setFloating,"data-radix-popper-content-wrapper":"",style:{...O,transform:z?O.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:U,"--radix-popper-transform-origin":[L.transformOrigin?.x,L.transformOrigin?.y].join(" "),...L.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:c.jsx(Ob,{scope:r,placedSide:Y,onArrowChange:C,arrowX:me,arrowY:te,shouldHideArrow:Q,children:c.jsx(ye.div,{"data-side":Y,"data-align":F,...p,ref:w,style:{...p.style,animation:z?void 0:"none"}})})})});ld.displayName=Ui;var cd="PopperArrow",Lb={top:"bottom",right:"left",bottom:"top",left:"right"},ud=u.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,s=Mb(cd,n),i=Lb[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(Tb,{...o,ref:r,style:{...o.style,display:"block"}})})});ud.displayName=cd;function Db(e){return e!==null}var Fb=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]=dd(r),m={start:"0%",center:"50%",end:"100%"}[f],h=(o.arrow?.x??0)+a/2,v=(o.arrow?.y??0)+l/2;let b="",p="";return d==="bottom"?(b=i?m:`${h}px`,p=`${-l}px`):d==="top"?(b=i?m:`${h}px`,p=`${n.floating.height+l}px`):d==="right"?(b=`${-l}px`,p=i?m:`${v}px`):d==="left"&&(b=`${n.floating.width+l}px`,p=i?m:`${v}px`),{data:{x:b,y:p}}}});function dd(e){const[t,r="center"]=e.split("-");return[t,r]}var Wi=sd,Co=ad,Gi=ld,Ki=ud,Bb="Portal",So=u.forwardRef((e,t)=>{const{container:r,...n}=e,[o,s]=u.useState(!1);$e(()=>s(!0),[]);const i=r||o&&globalThis?.document?.body;return i?tu.createPortal(c.jsx(ye.div,{...n,ref:t}),i):null});So.displayName=Bb;function $b(e,t){return u.useReducer((r,n)=>t[r][n]??r,e)}var Qt=e=>{const{present:t,children:r}=e,n=Vb(t),o=typeof r=="function"?r({present:n.isPresent}):u.Children.only(r),s=Re(n.ref,zb(o));return typeof r=="function"||n.isPresent?u.cloneElement(o,{ref:s}):null};Qt.displayName="Presence";function Vb(e){const[t,r]=u.useState(),n=u.useRef(null),o=u.useRef(e),s=u.useRef("none"),i=e?"mounted":"unmounted",[a,l]=$b(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return u.useEffect(()=>{const d=jn(n.current);s.current=a==="mounted"?d:"none"},[a]),$e(()=>{const d=n.current,f=o.current;if(f!==e){const h=s.current,v=jn(d);e?l("MOUNT"):v==="none"||d?.display==="none"?l("UNMOUNT"):l(f&&h!==v?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),$e(()=>{if(t){let d;const f=t.ownerDocument.defaultView??window,m=v=>{const p=jn(n.current).includes(CSS.escape(v.animationName));if(v.target===t&&p&&(l("ANIMATION_END"),!o.current)){const y=t.style.animationFillMode;t.style.animationFillMode="forwards",d=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=y)})}},h=v=>{v.target===t&&(s.current=jn(n.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",m),t.addEventListener("animationend",m),()=>{f.clearTimeout(d),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",m),t.removeEventListener("animationend",m)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:u.useCallback(d=>{n.current=d?getComputedStyle(d):null,r(d)},[])}}function jn(e){return e?.animationName||"none"}function zb(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 Hb=u[" useInsertionEffect ".trim().toString()]||$e;function _t({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){const[o,s,i]=Ub({defaultProp:t,onChange:r}),a=e!==void 0,l=a?e:o;{const f=u.useRef(e!==void 0);u.useEffect(()=>{const m=f.current;m!==a&&console.warn(`${n} is changing from ${m?"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 m=Wb(f)?f(e):f;m!==e&&i.current?.(m)}else s(f)},[a,e,s,i]);return[l,d]}function Ub({defaultProp:e,onChange:t}){const[r,n]=u.useState(e),o=u.useRef(r),s=u.useRef(t);return Hb(()=>{s.current=t},[t]),u.useEffect(()=>{o.current!==r&&(s.current?.(r),o.current=r)},[r,o]),[r,n,s]}function Wb(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},yr=new WeakMap,Rn=new WeakMap,An={},ns=0,fd=function(e){return e&&(e.host||fd(e.parentNode))},Kb=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=fd(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})},Yb=function(e,t,r,n){var o=Kb(t,Array.isArray(e)?e:[e]);An[r]||(An[r]=new WeakMap);var s=An[r],i=[],a=new Set,l=new Set(o),d=function(m){!m||a.has(m)||(a.add(m),d(m.parentNode))};o.forEach(d);var f=function(m){!m||l.has(m)||Array.prototype.forEach.call(m.children,function(h){if(a.has(h))f(h);else try{var v=h.getAttribute(n),b=v!==null&&v!=="false",p=(yr.get(h)||0)+1,y=(s.get(h)||0)+1;yr.set(h,p),s.set(h,y),i.push(h),p===1&&b&&Rn.set(h,!0),y===1&&h.setAttribute(r,"true"),b||h.setAttribute(n,"true")}catch(x){console.error("aria-hidden: cannot operate on ",h,x)}})};return f(t),a.clear(),ns++,function(){i.forEach(function(m){var h=yr.get(m)-1,v=s.get(m)-1;yr.set(m,h),s.set(m,v),h||(Rn.has(m)||m.removeAttribute(n),Rn.delete(m)),v||m.removeAttribute(r)}),ns--,ns||(yr=new WeakMap,yr=new WeakMap,Rn=new WeakMap,An={})}},md=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"))),Yb(n,o,r,"aria-hidden")):function(){return null}},St=function(){return St=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},St.apply(this,arguments)};function hd(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 Xb(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 Gn="right-scroll-bar-position",Kn="width-before-scroll-bar",Jb="with-scroll-bars-hidden",Qb="--removed-body-scroll-bar-size";function os(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Zb(e,t){var r=Oe.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 ex=typeof window<"u"?u.useLayoutEffect:u.useEffect,Tl=new WeakMap;function tx(e,t){var r=Zb(null,function(n){return e.forEach(function(o){return os(o,n)})});return ex(function(){var n=Tl.get(r);if(n){var o=new Set(n),s=new Set(e),i=r.current;o.forEach(function(a){s.has(a)||os(a,null)}),s.forEach(function(a){o.has(a)||os(a,i)})}Tl.set(r,e)},[e]),r}function rx(e){return e}function nx(e,t){t===void 0&&(t=rx);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 ox(e){e===void 0&&(e={});var t=nx(null);return t.options=St({async:!0,ssr:!1},e),t}var pd=function(e){var t=e.sideCar,r=hd(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,St({},r))};pd.isSideCarExport=!0;function sx(e,t){return e.useMedium(t),pd}var vd=ox(),ss=function(){},No=u.forwardRef(function(e,t){var r=u.useRef(null),n=u.useState({onScrollCapture:ss,onWheelCapture:ss,onTouchMoveCapture:ss}),o=n[0],s=n[1],i=e.forwardProps,a=e.children,l=e.className,d=e.removeScrollBar,f=e.enabled,m=e.shards,h=e.sideCar,v=e.noRelative,b=e.noIsolation,p=e.inert,y=e.allowPinchZoom,x=e.as,g=x===void 0?"div":x,w=e.gapMode,P=hd(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=h,S=tx([r,t]),N=St(St({},P),o);return u.createElement(u.Fragment,null,f&&u.createElement(C,{sideCar:vd,removeScrollBar:d,shards:m,noRelative:v,noIsolation:b,inert:p,setCallbacks:s,allowPinchZoom:!!y,lockRef:r,gapMode:w}),i?u.cloneElement(u.Children.only(a),St(St({},N),{ref:S})):u.createElement(g,St({},N,{className:l,ref:S}),a))});No.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};No.classNames={fullWidth:Kn,zeroRight:Gn};var ix=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function ax(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=ix();return t&&e.setAttribute("nonce",t),e}function lx(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function cx(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var ux=function(){var e=0,t=null;return{add:function(r){e==0&&(t=ax())&&(lx(t,r),cx(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},dx=function(){var e=ux();return function(t,r){u.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},gd=function(){var e=dx(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},fx={left:0,top:0,right:0,gap:0},is=function(e){return parseInt(e||"",10)||0},mx=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[is(r),is(n),is(o)]},hx=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return fx;var t=mx(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])}},px=gd(),kr="data-scroll-locked",vx=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(Jb,` {
3
3
  overflow: hidden `).concat(n,`;
4
4
  padding-right: `).concat(a,"px ").concat(n,`;
5
5
  }
6
- body[`).concat(hr,`] {
6
+ body[`).concat(kr,`] {
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(_n,` {
19
+ .`).concat(Gn,` {
20
20
  right: `).concat(a,"px ").concat(n,`;
21
21
  }
22
22
 
23
- .`).concat(In,` {
23
+ .`).concat(Kn,` {
24
24
  margin-right: `).concat(a,"px ").concat(n,`;
25
25
  }
26
26
 
27
- .`).concat(_n," .").concat(_n,` {
27
+ .`).concat(Gn," .").concat(Gn,` {
28
28
  right: 0 `).concat(n,`;
29
29
  }
30
30
 
31
- .`).concat(In," .").concat(In,` {
31
+ .`).concat(Kn," .").concat(Kn,` {
32
32
  margin-right: 0 `).concat(n,`;
33
33
  }
34
34
 
35
- body[`).concat(hr,`] {
36
- `).concat(Sb,": ").concat(a,`px;
35
+ body[`).concat(kr,`] {
36
+ `).concat(Qb,": ").concat(a,`px;
37
37
  }
38
- `)},pl=function(){var e=parseInt(document.body.getAttribute(hr)||"0",10);return isFinite(e)?e:0},zb=function(){u.useEffect(function(){return document.body.setAttribute(hr,(pl()+1).toString()),function(){var e=pl()-1;e<=0?document.body.removeAttribute(hr):document.body.setAttribute(hr,e.toString())}},[])},Hb=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n;zb();var s=u.useMemo(function(){return Fb(o)},[o]);return u.createElement($b,{styles:Vb(s,!t,o,r?"":"!important")})},Bs=!1;if(typeof window<"u")try{var bn=Object.defineProperty({},"passive",{get:function(){return Bs=!0,!0}});window.addEventListener("test",bn,bn),window.removeEventListener("test",bn,bn)}catch{Bs=!1}var ar=Bs?{passive:!1}:!1,Wb=function(e){return e.tagName==="TEXTAREA"},Xu=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!Wb(e)&&r[t]==="visible")},Gb=function(e){return Xu(e,"overflowY")},Kb=function(e){return Xu(e,"overflowX")},vl=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var o=Ju(e,n);if(o){var s=Qu(e,n),i=s[1],a=s[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},Ub=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},Yb=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},Ju=function(e,t){return e==="v"?Gb(t):Kb(t)},Qu=function(e,t){return e==="v"?Ub(t):Yb(t)},Xb=function(e,t){return e==="h"&&t==="rtl"?-1:1},Jb=function(e,t,r,n,o){var s=Xb(e,window.getComputedStyle(t).direction),i=s*n,a=r.target,l=t.contains(a),d=!1,f=i>0,h=0,p=0;do{if(!a)break;var m=Qu(e,a),b=m[0],v=m[1],x=m[2],y=v-x-s*b;(b||y)&&Ju(e,a)&&(h+=y,p+=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(p)<1)&&(d=!0),d},xn=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},gl=function(e){return[e.deltaX,e.deltaY]},bl=function(e){return e&&"current"in e?e.current:e},Qb=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Zb=function(e){return`
38
+ `)},_l=function(){var e=parseInt(document.body.getAttribute(kr)||"0",10);return isFinite(e)?e:0},gx=function(){u.useEffect(function(){return document.body.setAttribute(kr,(_l()+1).toString()),function(){var e=_l()-1;e<=0?document.body.removeAttribute(kr):document.body.setAttribute(kr,e.toString())}},[])},bx=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n;gx();var s=u.useMemo(function(){return hx(o)},[o]);return u.createElement(px,{styles:vx(s,!t,o,r?"":"!important")})},ti=!1;if(typeof window<"u")try{var In=Object.defineProperty({},"passive",{get:function(){return ti=!0,!0}});window.addEventListener("test",In,In),window.removeEventListener("test",In,In)}catch{ti=!1}var wr=ti?{passive:!1}:!1,xx=function(e){return e.tagName==="TEXTAREA"},bd=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!xx(e)&&r[t]==="visible")},yx=function(e){return bd(e,"overflowY")},wx=function(e){return bd(e,"overflowX")},Ol=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var o=xd(e,n);if(o){var s=yd(e,n),i=s[1],a=s[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},Px=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},Cx=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},xd=function(e,t){return e==="v"?yx(t):wx(t)},yd=function(e,t){return e==="v"?Px(t):Cx(t)},Sx=function(e,t){return e==="h"&&t==="rtl"?-1:1},Nx=function(e,t,r,n,o){var s=Sx(e,window.getComputedStyle(t).direction),i=s*n,a=r.target,l=t.contains(a),d=!1,f=i>0,m=0,h=0;do{if(!a)break;var v=yd(e,a),b=v[0],p=v[1],y=v[2],x=p-y-s*b;(b||x)&&xd(e,a)&&(m+=x,h+=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(m)<1||!f&&Math.abs(h)<1)&&(d=!0),d},Tn=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ml=function(e){return[e.deltaX,e.deltaY]},Ll=function(e){return e&&"current"in e?e.current:e},qx=function(e,t){return e[0]===t[0]&&e[1]===t[1]},kx=function(e){return`
39
39
  .block-interactivity-`.concat(e,` {pointer-events: none;}
40
40
  .allow-interactivity-`).concat(e,` {pointer-events: all;}
41
- `)},ex=0,lr=[];function tx(e){var t=u.useRef([]),r=u.useRef([0,0]),n=u.useRef(),o=u.useState(ex++)[0],s=u.useState(Yu)[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 v=Pb([e.lockRef.current],(e.shards||[]).map(bl),!0).filter(Boolean);return v.forEach(function(x){return x.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),v.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=u.useCallback(function(v,x){if("touches"in v&&v.touches.length===2||v.type==="wheel"&&v.ctrlKey)return!i.current.allowPinchZoom;var y=xn(v),g=r.current,w="deltaX"in v?v.deltaX:g[0]-y[0],P="deltaY"in v?v.deltaY:g[1]-y[1],C,S=v.target,N=Math.abs(w)>Math.abs(P)?"h":"v";if("touches"in v&&N==="h"&&S.type==="range")return!1;var q=window.getSelection(),k=q&&q.anchorNode,T=k?k===S||k.contains(S):!1;if(T)return!1;var E=vl(N,S);if(!E)return!0;if(E?C=N:(C=N==="v"?"h":"v",E=vl(N,S)),!E)return!1;if(!n.current&&"changedTouches"in v&&(w||P)&&(n.current=C),!C)return!0;var R=n.current||C;return Jb(R,x,v,R==="h"?w:P)},[]),l=u.useCallback(function(v){var x=v;if(!(!lr.length||lr[lr.length-1]!==s)){var y="deltaY"in x?gl(x):xn(x),g=t.current.filter(function(C){return C.name===x.type&&(C.target===x.target||x.target===C.shadowParent)&&Qb(C.delta,y)})[0];if(g&&g.should){x.cancelable&&x.preventDefault();return}if(!g){var w=(i.current.shards||[]).map(bl).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(v,x,y,g){var w={name:v,delta:x,target:y,should:g,shadowParent:rx(y)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(P){return P!==w})},1)},[]),f=u.useCallback(function(v){r.current=xn(v),n.current=void 0},[]),h=u.useCallback(function(v){d(v.type,gl(v),v.target,a(v,e.lockRef.current))},[]),p=u.useCallback(function(v){d(v.type,xn(v),v.target,a(v,e.lockRef.current))},[]);u.useEffect(function(){return lr.push(s),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:p}),document.addEventListener("wheel",l,ar),document.addEventListener("touchmove",l,ar),document.addEventListener("touchstart",f,ar),function(){lr=lr.filter(function(v){return v!==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:Zb(o)}):null,m?u.createElement(Hb,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function rx(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const nx=Tb(Uu,tx);var _i=u.forwardRef(function(e,t){return u.createElement(uo,lt({},e,{ref:t,sideCar:nx}))});_i.classNames=uo.classNames;var fo="Popover",[Zu]=rt(fo,[Cr]),tn=Cr(),[ox,Ft]=Zu(fo),ed=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:s,modal:i=!1}=e,a=tn(t),l=u.useRef(null),[d,f]=u.useState(!1),[h,p]=yt({prop:n,defaultProp:o??!1,onChange:s,caller:fo});return c.jsx(ji,{...a,children:c.jsx(ox,{scope:t,contentId:tr(),triggerRef:l,open:h,onOpenChange:p,onOpenToggle:u.useCallback(()=>p(m=>!m),[p]),hasCustomAnchor:d,onCustomAnchorAdd:u.useCallback(()=>f(!0),[]),onCustomAnchorRemove:u.useCallback(()=>f(!1),[]),modal:i,children:r})})};ed.displayName=fo;var td="PopoverAnchor",rd=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Ft(td,r),s=tn(r),{onCustomAnchorAdd:i,onCustomAnchorRemove:a}=o;return u.useEffect(()=>(i(),()=>a()),[i,a]),c.jsx(lo,{...s,...n,ref:t})});rd.displayName=td;var nd="PopoverTrigger",od=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Ft(nd,r),s=tn(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":ud(o.open),...n,ref:i,onClick:ce(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?a:c.jsx(lo,{asChild:!0,...s,children:a})});od.displayName=nd;var Ii="PopoverPortal",[sx,ix]=Zu(Ii,{forceMount:void 0}),sd=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,s=Ft(Ii,t);return c.jsx(sx,{scope:t,forceMount:r,children:c.jsx(Bt,{present:r||s.open,children:c.jsx(co,{asChild:!0,container:o,children:n})})})};sd.displayName=Ii;var vr="PopoverContent",id=u.forwardRef((e,t)=>{const r=ix(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(lx,{...o,ref:t}):c.jsx(cx,{...o,ref:t})})});id.displayName=vr;var ax=zr("PopoverContent.RemoveScroll"),lx=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 Wu(i)},[]),c.jsx(_i,{as:ax,allowPinchZoom:!0,children:c.jsx(ad,{...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})})})}),cx=u.forwardRef((e,t)=>{const r=Ft(vr,e.__scopePopover),n=u.useRef(!1),o=u.useRef(!1);return c.jsx(ad,{...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()}})}),ad=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,p=Ft(vr,r),m=tn(r);return wu(),c.jsx(wi,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:s,children:c.jsx(ro,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:f,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:d,onDismiss:()=>p.onOpenChange(!1),children:c.jsx(Ti,{"data-state":ud(p.open),role:"dialog",id:p.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)"}})})})}),ld="PopoverClose",cd=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Ft(ld,r);return c.jsx(be.button,{type:"button",...n,ref:t,onClick:ce(e.onClick,()=>o.onOpenChange(!1))})});cd.displayName=ld;var ux="PopoverArrow",dx=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=tn(r);return c.jsx(Ai,{...o,...n,ref:t})});dx.displayName=ux;function ud(e){return e?"open":"closed"}var fx=ed,hx=rd,Fs=od,mx=sd,px=id,$s=cd;function vx(e){if(e!==void 0)return{width:typeof e=="number"?`${e}px`:e}}function dd(e){const t=se();return X(e,t)}const fd=fx,Oi=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}=dd(a),p=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",p),style:m,children:o})}):c.jsx(Fs,{ref:t,className:p,style:m,...d,children:o})});Oi.displayName=Fs.displayName;const gx=hx,hd=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}=dd(a),p=j(f,s,i),m=L(l,h);return r?c.jsx($s,{asChild:!0,...d,children:c.jsx(n,{ref:t,className:j("inline-flex w-fit",p),style:m,children:o})}):c.jsx($s,{ref:t,className:p,style:m,...d,children:o})});hd.displayName=$s.displayName;const Mi=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,p=se(),{roundedPreset:m,roundedStyle:b}=Zt(s),{shadowPreset:v,shadowStyle:x}=Xr(i),{sxClassName:y,sxInlineStyle:g}=X(a,p);return c.jsx(mx,{children:c.jsx(px,{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],v&&xr[v],y,d,f),style:L(l,vx(o),b,x,g),...h})})});Mi.displayName="PopoverContent";var md=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"}),bx="VisuallyHidden",pd=u.forwardRef((e,t)=>c.jsx(be.span,{...e,ref:t,style:{...md,...e.style}}));pd.displayName=bx;var xx=pd,[ho]=rt("Tooltip",[Cr]),mo=Cr(),vd="TooltipProvider",yx=700,Vs="tooltip.open",[wx,Li]=ho(vd),gd=e=>{const{__scopeTooltip:t,delayDuration:r=yx,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(wx,{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})};gd.displayName=vd;var Wr="Tooltip",[Px,rn]=ho(Wr),bd=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o,onOpenChange:s,disableHoverableContent:i,delayDuration:a}=e,l=Li(Wr,e.__scopeTooltip),d=mo(t),[f,h]=u.useState(null),p=tr(),m=u.useRef(0),b=i??l.disableHoverableContent,v=a??l.delayDuration,x=u.useRef(!1),[y,g]=yt({prop:n,defaultProp:o??!1,onChange:N=>{N?(l.onOpen(),document.dispatchEvent(new CustomEvent(Vs))):l.onClose(),s?.(N)},caller:Wr}),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]),S=u.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{x.current=!0,g(!0),m.current=0},v)},[v,g]);return u.useEffect(()=>()=>{m.current&&(window.clearTimeout(m.current),m.current=0)},[]),c.jsx(ji,{...d,children:c.jsx(Px,{scope:t,contentId:p,open:y,stateAttribute:w,trigger:f,onTriggerChange:h,onTriggerEnter:u.useCallback(()=>{l.isOpenDelayedRef.current?S():P()},[l.isOpenDelayedRef,S,P]),onTriggerLeave:u.useCallback(()=>{b?C():(window.clearTimeout(m.current),m.current=0)},[C,b]),onOpen:P,onClose:C,disableHoverableContent:b,children:r})})};bd.displayName=Wr;var zs="TooltipTrigger",xd=u.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=rn(zs,r),s=Li(zs,r),i=mo(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(lo,{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,p=>{p.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)})})});xd.displayName=zs;var Di="TooltipPortal",[Cx,Sx]=ho(Di,{forceMount:void 0}),yd=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:o}=e,s=rn(Di,t);return c.jsx(Cx,{scope:t,forceMount:r,children:c.jsx(Bt,{present:r||s.open,children:c.jsx(co,{asChild:!0,container:o,children:n})})})};yd.displayName=Di;var gr="TooltipContent",wd=u.forwardRef((e,t)=>{const r=Sx(gr,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...s}=e,i=rn(gr,e.__scopeTooltip);return c.jsx(Bt,{present:n||i.open,children:i.disableHoverableContent?c.jsx(Pd,{side:o,...s,ref:t}):c.jsx(Nx,{side:o,...s,ref:t})})}),Nx=u.forwardRef((e,t)=>{const r=rn(gr,e.__scopeTooltip),n=Li(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,p=u.useCallback(()=>{a(null),h(!1)},[h]),m=u.useCallback((b,v)=>{const x=b.currentTarget,y={x:b.clientX,y:b.clientY},g=Rx(y,x.getBoundingClientRect()),w=jx(y,g),P=Tx(v.getBoundingClientRect()),C=_x([...w,...P]);a(C),h(!0)},[h]);return u.useEffect(()=>()=>p(),[p]),u.useEffect(()=>{if(l&&f){const b=x=>m(x,f),v=x=>m(x,l);return l.addEventListener("pointerleave",b),f.addEventListener("pointerleave",v),()=>{l.removeEventListener("pointerleave",b),f.removeEventListener("pointerleave",v)}}},[l,f,m,p]),u.useEffect(()=>{if(i){const b=v=>{const x=v.target,y={x:v.clientX,y:v.clientY},g=l?.contains(x)||f?.contains(x),w=!Ax(y,i);g?p():w&&(p(),d())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[l,f,i,d,p]),c.jsx(Pd,{...e,ref:s})}),[qx,kx]=ho(Wr,{isInside:!1}),Ex=Tv("TooltipContent"),Pd=u.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:i,...a}=e,l=rn(gr,r),d=mo(r),{onClose:f}=l;return u.useEffect(()=>(document.addEventListener(Vs,f),()=>document.removeEventListener(Vs,f)),[f]),u.useEffect(()=>{if(l.trigger){const h=p=>{p.target?.contains(l.trigger)&&f()};return window.addEventListener("scroll",h,{capture:!0}),()=>window.removeEventListener("scroll",h,{capture:!0})}},[l.trigger,f]),c.jsx(ro,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:h=>h.preventDefault(),onDismiss:f,children:c.jsxs(Ti,{"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(Ex,{children:n}),c.jsx(qx,{scope:r,isInside:!0,children:c.jsx(xx,{id:l.contentId,role:"tooltip",children:o||n})})]})})});wd.displayName=gr;var Cd="TooltipArrow",Sd=u.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=mo(r);return kx(Cd,r).isInside?null:c.jsx(Ai,{...o,...n,ref:t})});Sd.displayName=Cd;function Rx(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 jx(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 Tx(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 Ax(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,p=l.y;f>n!=p>n&&r<(h-d)*(n-f)/(p-f)+d&&(o=!o)}return o}function _x(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),Ix(t)}function Ix(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 Ox=gd,Mx=bd,Hs=xd,Lx=yd,Nd=wd,qd=Sd;const Dx={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"},Bx={dark:"fill-gray-950",light:"fill-white",primary:"fill-blue-600"},Fx=({delayDuration:e=0,...t})=>c.jsx(Ox,{delayDuration:e,...t}),$x=Mx,Vx=Lx,kd=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:p}=X(a,f),m=j(h,s,i),b=L(l,p);return r?c.jsx(Hs,{asChild:!0,...d,children:c.jsx(n,{ref:t,className:j("inline-flex w-fit",m),style:b,children:o})}):c.jsx(Hs,{ref:t,className:m,style:b,...d,children:o})});kd.displayName=Hs.displayName;const Bi=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(qd,{ref:t,className:j(Bx[r],d,n,o),style:L(i,f),...a})});Bi.displayName=qd.displayName;const Ed=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:p,sxInlineStyle:m}=X(a,h);return c.jsxs(Nd,{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",Dx[r],p,s,i),style:L(l,m),...f,children:[d,n?c.jsx(Bi,{tone:r}):null]})});Ed.displayName=Nd.displayName;let Rd=null;function xl(e){Rd=e}function zx(){return Rd}const Or={placement:"rightTop",duration:4500,closable:!0,offset:24},$e={...Or};let yl=!1;function Ws(e){return{...e,placement:e.placement??$e.placement,duration:e.duration??$e.duration,closable:e.closable??$e.closable,offset:e.offset??$e.offset}}function On(){const e=zx();return e||(yl||(yl=!0,console.warn("notification 调用失败:请先在应用根节点挂载 NotificationProvider。")),null)}function Hx(e,t){return typeof t=="string"?{...Ws({message:t}),type:e}:{...Ws(t),type:e}}function yn(e,t){const r=On();return r?r.push(Hx(e,t)):""}const Wx={open(e){const t=On();return t?t.push(Ws(e)):""},info(e){return yn("info",e)},success(e){return yn("success",e)},warn(e){return yn("warn",e)},error(e){return yn("error",e)},dismiss(e){const t=On();t&&t.dismiss(e)},clear(){const e=On();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=Or.placement,$e.duration=Or.duration,$e.closable=Or.closable,$e.offset=Or.offset}},Gx=200,ur=24,jd={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"}},Td=u.createContext(null);let wl=0;function Kx(){return wl+=1,`ldkj-notification-${Date.now()}-${wl}`}function Ux(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 Gs(e,t){return`${e}:${t.top}:${t.right}:${t.bottom}:${t.left}`}function Yx(e){const t=new Map;for(const r of e){const n=Gs(r.placement,r.offset),o=t.get(n);o?o.push(r):t.set(n,[r])}return t}function Go(e){return e!=null&&e!==!1}function Xx(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 Jx(e){const t=jd[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 Ad(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),p=u.useCallback(C=>{const S=d.current.get(C);S!==void 0&&(window.clearTimeout(S),d.current.delete(C));const N=f.current.get(C);N!==void 0&&(window.clearTimeout(N),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(S=>{const N=S.find(q=>q.id===C);return N?(p(C),m(N),S.filter(q=>q.id!==C)):S})},[p,m]),v=u.useCallback(C=>{p(C),l(N=>N.map(q=>q.id===C&&!q.leaving?{...q,leaving:!0}:q));const S=window.setTimeout(()=>{b(C)},Gx);f.current.set(C,S)},[p,b]),x=u.useCallback(()=>{l(C=>(C.forEach(S=>{p(S.id),m(S)}),[]))},[p,m]),y=u.useCallback(C=>{const S=C.id??Kx();h.current.delete(S),p(S);const N=C.placement??r,q=Ux(C.offset,s),k={id:S,type:C.type??"info",message:C.message,description:C.description,content:C.content,actions:C.actions,placement:N,offset:q,closable:C.closable??i,icon:C.icon,iconColor:C.iconColor,onClose:C.onClose,leaving:!1},T=Gs(N,q);l(R=>{const _=[...R.filter(M=>M.id!==S),k],O=_.filter(M=>Gs(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=>{p(M.id),m(M)}),_.filter(M=>!$.has(M.id))});const E=C.duration??n;if(E>0){const R=window.setTimeout(()=>{v(S)},E);d.current.set(S,R)}return S},[p,i,v,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:v,clear:x}),[x,v,y]);u.useEffect(()=>(xl(g),()=>xl(null)),[g]);const w=u.useMemo(()=>Yx(a),[a]),P=Array.from(w.entries());return c.jsxs(Td.Provider,{value:g,children:[t,P.map(([C,S])=>{const N=S[0];return N?c.jsx("div",{className:j("ldkj-notification-viewport",`ldkj-notification-viewport-${N.placement}`),style:Xx(N.placement,N.offset),"aria-hidden":S.length===0,children:S.map(q=>{const k=jd[q.type];return c.jsxs("div",{className:j("ldkj-notification-card",`ldkj-notification-card-${q.type}`,q.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:Jx(q)}),c.jsxs("div",{className:"ldkj-notification-main",children:[c.jsx("div",{className:"ldkj-notification-title",children:q.message}),Go(q.description)?c.jsx("div",{className:"ldkj-notification-description",children:q.description}):null,Go(q.content)?c.jsx("div",{className:"ldkj-notification-content",children:q.content}):null,Go(q.actions)?c.jsx("div",{className:"ldkj-notification-actions",children:q.actions}):null]}),q.closable?c.jsx("button",{type:"button",className:"ldkj-notification-close","aria-label":"关闭通知",onClick:()=>v(q.id),children:c.jsx(Le,{name:"close",size:16,className:"ldkj-notification-close-icon"})}):null]},q.id)})},C):null})]})}Ad.displayName="NotificationProvider";function Qx(){const e=u.useContext(Td);if(!e)throw new Error("useNotification 必须在 NotificationProvider 内使用。");const t=u.useCallback(i=>e.push(i),[e]),r=u.useCallback(i=>e.push(wn("info",i)),[e]),n=u.useCallback(i=>e.push(wn("success",i)),[e]),o=u.useCallback(i=>e.push(wn("warn",i)),[e]),s=u.useCallback(i=>e.push(wn("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 wn(e,t){return typeof t=="string"?{type:e,message:t}:{...t,type:e}}const Zx={primary:"border-slate-200 border-t-blue-600",muted:"border-slate-200 border-t-slate-500",success:"border-emerald-100 border-t-emerald-600",warning:"border-amber-100 border-t-amber-600",danger:"border-rose-100 border-t-rose-600"};function _d(e){const{size:t=18,strokeWidth:r=2,tone:n="primary",label:o="loading",spinning:s=!0,className:i,class:a,style:l,...d}=e;return s?c.jsx("span",{role:"status","aria-label":o,className:j("inline-block shrink-0 animate-spin rounded-full border-solid",Zx[n],i,a),style:{width:t,height:t,borderWidth:r,...l},...d,children:c.jsx("span",{className:"sr-only",children:o})}):null}function ey(e,t){const[r,n]=u.useState(e&&t<=0);return u.useEffect(()=>{if(!e){n(!1);return}if(t<=0){n(!0);return}const o=window.setTimeout(()=>n(!0),t);return()=>window.clearTimeout(o)},[t,e]),r}function ty(e){const{text:t="加载中...",variant:r="inline",size:n=18,tone:o="primary",spinning:s=!0,delay:i=0,children:a,className:l,class:d,...f}=e,p=ey(s,i)?c.jsxs("div",{role:"status","aria-live":"polite",className:j("inline-flex items-center justify-center gap-2 text-sm text-slate-600",r==="block"&&"min-h-24 w-full",r==="overlay"&&"absolute inset-0 z-10 bg-white/75 backdrop-blur-[1px]",r==="fullscreen"&&"fixed inset-0 z-50 bg-white/80 backdrop-blur-[1px]",l,d),...f,children:[c.jsx(_d,{size:n,tone:o}),t?c.jsx("span",{children:t}):null]}):null;return a?c.jsxs("div",{className:"relative","aria-busy":s||void 0,children:[a,r==="overlay"||r==="fullscreen"?p:null]}):p?c.jsx("div",{className:j(r==="block"&&"flex w-full justify-center"),children:p}):null}let Rr=0,Pl="";function ry(){return typeof document>"u"?()=>{}:(Rr===0&&(Pl=document.body.style.overflow,document.body.style.overflow="hidden"),Rr+=1,()=>{Rr=Math.max(0,Rr-1),Rr===0&&(document.body.style.overflow=Pl)})}function ny(e){switch(e){case"left":return{position:"left-0 top-0 h-full",open:"translate-x-0",closed:"-translate-x-full"};case"top":return{position:"left-0 top-0 w-full",open:"translate-y-0",closed:"-translate-y-full"};case"bottom":return{position:"bottom-0 left-0 w-full",open:"translate-y-0",closed:"translate-y-full"};default:return{position:"right-0 top-0 h-full",open:"translate-x-0",closed:"translate-x-full"}}}function oy(e){const{open:t,title:r,width:n=360,height:o=320,placement:s="right",className:i,class:a,overlayClassName:l,bodyClassName:d,footer:f,children:h,onOpenChange:p,animated:m=!0,animationDuration:b=220,lockScroll:v=!0,maskClosable:x=!0,closeOnEsc:y=!0,destroyOnClose:g=!0,role:w="dialog",...P}=e,[C,S]=u.useState(t),[N,q]=u.useState(t),k=u.useRef(null),T=ny(s),E=s==="left"||s==="right";return u.useEffect(()=>{if(t){S(!0);const A=window.requestAnimationFrame(()=>q(!0));return()=>window.cancelAnimationFrame(A)}if(q(!1),!m){g&&S(!1);return}const R=window.setTimeout(()=>{g&&S(!1)},b);return()=>window.clearTimeout(R)},[m,b,g,t]),u.useEffect(()=>{if(!(!t||!v))return ry()},[v,t]),u.useEffect(()=>{if(!t||!y)return;const R=A=>{A.key==="Escape"&&p?.(!1)};return window.addEventListener("keydown",R),()=>window.removeEventListener("keydown",R)},[y,p,t]),u.useEffect(()=>{t&&k.current?.focus()},[t]),C?c.jsxs("div",{className:"fixed inset-0 z-50","aria-hidden":!N,children:[c.jsx("div",{className:j("absolute inset-0 bg-black/45",m&&"transition-opacity ease-out",N?"opacity-100":"opacity-0",l),style:{transitionDuration:m?`${b}ms`:"0ms"},onClick:()=>{x&&p?.(!1)}}),c.jsxs("div",{ref:k,tabIndex:-1,role:w,"aria-modal":"true","aria-label":typeof r=="string"?r:void 0,className:j("absolute flex max-h-full max-w-full flex-col bg-white shadow-xl outline-none",T.position,m&&"transition-transform ease-out will-change-transform",N?T.open:T.closed,i,a),style:{width:E?n:void 0,height:E?void 0:o,transitionDuration:m?`${b}ms`:"0ms"},...P,children:[r?c.jsxs("div",{className:"flex shrink-0 items-center justify-between border-b border-slate-200 px-4 py-3",children:[c.jsx("div",{className:"min-w-0 text-base font-medium text-slate-900",children:r}),c.jsx("button",{type:"button","aria-label":"Close drawer",className:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded text-slate-500 transition hover:bg-slate-100 hover:text-slate-900 focus:outline-none focus:ring-2 focus:ring-blue-500/30",onClick:()=>p?.(!1),children:"x"})]}):null,c.jsx("div",{className:j("min-h-0 flex-1 overflow-auto p-4",d),children:h}),f?c.jsx("div",{className:"shrink-0 border-t border-slate-200 px-4 py-3",children:f}):null]})]}):null}const sy={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"},iy={info:"bg-blue-600 text-white",success:"bg-emerald-600 text-white",warning:"bg-amber-500 text-white",error:"bg-rose-600 text-white"},ay={info:"i",success:"ok",warning:"!",error:"!"};function ly(e){const{className:t,class:r,variant:n="info",title:o,description:s,children:i,icon:a,showIcon:l=!!a,action:d,closable:f=!1,open:h,onClose:p,onOpenChange:m,role:b=n==="error"||n==="warning"?"alert":"status",...v}=e,[x,y]=u.useState(!0);if(!(h??x))return null;const w=()=>{y(!1),m?.(!1),p?.()};return c.jsx("div",{role:b,className:j("rounded-md border p-3",sy[n],t,r),...v,children:c.jsxs("div",{className:"flex items-start gap-3",children:[l?c.jsx("span",{"aria-hidden":!0,className:j("mt-0.5 inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1 text-[10px] font-semibold leading-none",iy[n]),children:a??ay[n]}):null,c.jsxs("div",{className:"min-w-0 flex-1",children:[o?c.jsx("div",{className:"font-medium",children:o}):null,s?c.jsx("div",{className:"mt-1 text-sm opacity-90",children:s}):i,d?c.jsx("div",{className:"mt-2",children:d}):null]}),f?c.jsx("button",{type:"button","aria-label":"Close alert",className:"inline-flex h-6 w-6 shrink-0 items-center justify-center rounded text-current opacity-70 transition hover:bg-current/10 hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-current/30",onClick:w,children:"x"}):null]})})}const cy={normal:"#2563eb",success:"#059669",warning:"#d97706",exception:"#e11d48"};function uy(e,t){return!Number.isFinite(e)||!Number.isFinite(t)||t<=0?0:Math.max(0,Math.min(100,e/t*100))}function dy(e){const{value:t=0,max:r=100,showInfo:n=!1,type:o="line",status:s,size:i=96,strokeWidth:a=8,strokeColor:l,trailColor:d="#e2e8f0",format:f,className:h,class:p,...m}=e,b=uy(t,r),v=s??(b>=100?"success":"normal"),x=l??cy[v],y=f?f(Math.round(b),t,r):`${Math.round(b)}%`;if(o==="circle"){const g=Math.max(1,Math.min(48,a)),w=50-g/2,P=2*Math.PI*w,C=P*(1-b/100);return c.jsxs("div",{role:"progressbar","aria-valuemin":0,"aria-valuemax":r,"aria-valuenow":Math.max(0,Math.min(r,t)),className:j("relative inline-flex items-center justify-center",h,p),style:{width:i,height:i},...m,children:[c.jsxs("svg",{viewBox:"0 0 100 100",className:"h-full w-full -rotate-90",children:[c.jsx("circle",{cx:"50",cy:"50",r:w,fill:"none",stroke:d,strokeWidth:g}),c.jsx("circle",{cx:"50",cy:"50",r:w,fill:"none",stroke:x,strokeLinecap:"round",strokeWidth:g,strokeDasharray:P,strokeDashoffset:C,className:"transition-[stroke-dashoffset,stroke] duration-300 ease-out"})]}),n?c.jsx("div",{className:"absolute inset-0 flex items-center justify-center text-sm font-medium text-slate-700",children:y}):null]})}return c.jsxs("div",{role:"progressbar","aria-valuemin":0,"aria-valuemax":r,"aria-valuenow":Math.max(0,Math.min(r,t)),className:j("w-full",h,p),...m,children:[c.jsx("div",{className:"w-full overflow-hidden rounded-full",style:{height:a,backgroundColor:d},children:c.jsx("div",{className:"h-full transition-[width,background-color] duration-300 ease-out",style:{width:`${b}%`,backgroundColor:x}})}),n?c.jsx("div",{className:"mt-1 text-xs text-slate-500",children:y}):null]})}function po(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 vo="Checkbox",[fy]=rt(vo),[hy,Fi]=fy(vo);function my(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,[p,m]=yt({prop:r,defaultProp:o??!1,onChange:l,caller:vo}),[b,v]=u.useState(null),[x,y]=u.useState(null),g=u.useRef(!1),w=b?!!i||!!b.closest("form"):!0,P={checked:p,disabled:s,setChecked:m,control:b,setControl:v,name:a,form:i,value:f,hasConsumerStoppedPropagationRef:g,required:d,defaultChecked:_t(o)?!1:o,isFormControl:w,bubbleInput:x,setBubbleInput:y};return c.jsx(hy,{scope:t,...P,children:py(h)?h(P):n})}var Id="CheckboxTrigger",Od=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:p,isFormControl:m,bubbleInput:b}=Fi(Id,e),v=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":$d(l),"data-disabled":a?"":void 0,disabled:a,value:i,...n,ref:v,onKeyDown:ce(t,y=>{y.key==="Enter"&&y.preventDefault()}),onClick:ce(r,y=>{h(g=>_t(g)?!0:!g),b&&m&&(p.current=y.isPropagationStopped(),p.current||y.stopPropagation())})})});Od.displayName=Id;var Md=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(my,{__scopeCheckbox:r,checked:o,defaultChecked:s,disabled:a,required:i,onCheckedChange:d,name:n,form:f,value:l,internal_do_not_use_render:({isFormControl:p})=>c.jsxs(c.Fragment,{children:[c.jsx(Od,{...h,ref:t,__scopeCheckbox:r}),p&&c.jsx(Fd,{__scopeCheckbox:r})]})})});Md.displayName=vo;var Ld="CheckboxIndicator",Dd=u.forwardRef((e,t)=>{const{__scopeCheckbox:r,forceMount:n,...o}=e,s=Fi(Ld,r);return c.jsx(Bt,{present:n||_t(s.checked)||s.checked===!0,children:c.jsx(be.span,{"data-state":$d(s.checked),"data-disabled":s.disabled?"":void 0,...o,ref:t,style:{pointerEvents:"none",...e.style}})})});Dd.displayName=Ld;var Bd="CheckboxBubbleInput",Fd=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:p,setBubbleInput:m}=Fi(Bd,e),b=ke(r,m),v=po(s),x=ao(n);u.useEffect(()=>{const g=p;if(!g)return;const w=window.HTMLInputElement.prototype,C=Object.getOwnPropertyDescriptor(w,"checked").set,S=!o.current;if(v!==s&&C){const N=new Event("click",{bubbles:S});g.indeterminate=_t(s),C.call(g,_t(s)?!1:s),g.dispatchEvent(N)}},[p,v,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%)"}})});Fd.displayName=Bd;function py(e){return typeof e=="function"}function _t(e){return e==="indeterminate"}function $d(e){return _t(e)?"indeterminate":e?"checked":"unchecked"}const Vd=u.createContext(null);function vy(e){return u.createElement(Vd.Provider,{value:e.value},e.children)}function gy(){return u.useContext(Vd)}const by=()=>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"})}),xy=()=>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"})}),nn=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,...p}=e,m=se(),{sxClassName:b,sxInlineStyle:v}=X(o,m),x=gy(),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(Md,{ref:t,checked:w,disabled:P,name:C,onCheckedChange:S=>{f?.(S),g&&a===void 0&&x?.toggleValue(y,S===!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,v),...p,children:i??c.jsxs(Dd,{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(by,{}),c.jsx(xy,{})]})})});nn.displayName="Checkbox";var yy=Symbol.for("react.lazy"),Gn=u[" use ".trim().toString()];function wy(e){return typeof e=="object"&&e!==null&&"then"in e}function zd(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===yy&&"_payload"in e&&wy(e._payload)}function Py(e){const t=Cy(e),r=u.forwardRef((n,o)=>{let{children:s,...i}=n;zd(s)&&typeof Gn=="function"&&(s=Gn(s._payload));const a=u.Children.toArray(s),l=a.find(Ny);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 Cy(e){const t=u.forwardRef((r,n)=>{let{children:o,...s}=r;if(zd(o)&&typeof Gn=="function"&&(o=Gn(o._payload)),u.isValidElement(o)){const i=ky(o),a=qy(s,o.props);return o.type!==u.Fragment&&(a.ref=n?yi(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 Sy=Symbol("radix.slottable");function Ny(e){return u.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Sy}function qy(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 ky(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 Ey=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],go=Ey.reduce((e,t)=>{const r=Py(`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}},{}),Ry="Label",Hd=u.forwardRef((e,t)=>c.jsx(go.label,{...e,ref:t,onMouseDown:r=>{r.target.closest("button, input, select, textarea")||(e.onMouseDown?.(r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));Hd.displayName=Ry;var Ks=Hd;function jy(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function Ty(e){return e==="center"?"center":e==="right"?"flex-end":"flex-start"}const bo=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:p,position:m="left",required:b=!1,sx:v,style:x,...y}=e,g=se(),{sxClassName:w,sxInlineStyle:P}=X(v,g),{sxClassName:C,sxInlineStyle:S}=X(d,g),N=L({width:jy(p),justifyContent:Ty(h)},x,P),q=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(Ks,{ref:t,className:q,style:N,...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,S),children:[c.jsxs(Ks,{ref:t,className:q,style:N,...y,children:[b?c.jsx("span",{className:"text-red-500 font-serif",children:"*"}):null,c.jsx("span",{children:f}),s===!0?":":s??null]}),r]})});bo.displayName="Label";const Cl={xs:"gap-1",sm:"gap-2",md:"gap-3",lg:"gap-4"};function Ay(e){return e===void 0?{className:Cl.md}:e==="xs"||e==="sm"||e==="md"||e==="lg"?{className:Cl[e]}:{style:{gap:typeof e=="number"?`${e}px`:e}}}function _y(e,t){if(e.type==="single"){const r=e.value??t[0];return r===void 0?[]:[r]}return e.value??t}function Iy(e){return e.type==="single"?e.defaultValue===void 0?[]:[e.defaultValue]:e.defaultValue??[]}function Wd(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:p,defaultValue:m,onChange:b,...v}=e,x=se(),{sxClassName:y,sxInlineStyle:g}=X(d,x),w=Ay(i),[P,C]=u.useState(()=>Iy(e)),S=_y(e,P),N=new Set(S);function q(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"){q(R?[E]:[]);return}const A=new Set(S);R?A.add(E):A.delete(E),q(Array.from(A))}const T=u.useMemo(()=>({disabled:s,name:a,selectedValues:N,toggleValue:k}),[s,a,N]);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),...v,children:c.jsxs(vy,{value:T,children:[l?.map(E=>{const R=s||E.disabled,A=N.has(E.value);return c.jsxs(bo,{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(nn,{...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]})})}Wd.displayName="CheckboxGroup";const xo=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})});xo.displayName="Input";function Oy(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 Kn(e){if(e.trim()==="")return null;const t=Number(e);return Number.isFinite(t)?t:null}function Sl(e){if(!Number.isFinite(e))return 0;const[,t=""]=String(e).split(".");return t.length}function My(e,t,r){if(!Number.isFinite(r)||!r||r<=0)return e;const n=Number.isFinite(t)?t??0:0,o=Math.max(Sl(n),Sl(r)),s=n+Math.round((e-n)/r)*r;return Number(s.toFixed(Math.min(o+2,12)))}function Ly(e,t){return Number.isFinite(t)?e.toFixed(Math.max(0,Math.floor(t??0))):String(e)}function Dy(e,t){const r=Kn(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=My(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=Ly(n,t.precision);return{value:n,valueAsString:o}}function Ko(e){return e==null?"":String(e)}function By(e={}){const{defaultValue:t="",onValueChange:r,...n}=e,[o,s]=u.useState(()=>Ko(t)),[i,a]=u.useState(()=>Kn(Ko(t))),l=u.useCallback(h=>{const p=Ko(h);s(p),a(Kn(p))},[]),d=u.useCallback(h=>{s(h.currentTarget.value)},[]),f=u.useCallback((h,p)=>{a(h),p.reason==="commit"&&s(p.valueAsString),r?.(h,p)},[r]);return{inputProps:{...n,onChange:d,onValueChange:f,value:o},numberValue:i,setValue:l,value:o}}const Gd=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?.(Kn(m.currentTarget.value),{event:m,reason:"input",valueAsString:m.currentTarget.value})},p=m=>{if(r&&!e.disabled&&!e.readOnly){const b=Dy(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(xo,{...f,ref:t,type:"number",inputMode:"decimal",min:o,max:n,step:d,onBlur:p,onChange:h})});Gd.displayName="InputNumber";const Fy={numeric:/^[0-9]$/,alphabetic:/^[A-Za-z]$/,alphanumeric:/^[A-Za-z0-9]$/},$y={numeric:"[0-9]*",alphabetic:"[A-Za-z]*",alphanumeric:"[A-Za-z0-9]*"},Vy={sm:"h-8 w-8 text-sm",md:"h-10 w-10 text-base",lg:"h-12 w-12 text-lg"},zy={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 Hy(e){return Number.isFinite(e)?Math.max(1,Math.floor(e??6)):6}function Wy(e,t){const r=t?typeof t=="string"?new RegExp(t):t:Fy[e];return n=>(r.lastIndex=0,r.test(n))}function Gy(e,t,r){return Array.from(e).filter(r).slice(0,t).join("")}function Ky(e,t){return typeof t=="string"?t:t instanceof RegExp?t.source:$y[e]}const Kd=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:p,type:m="numeric",pattern:b,pasteTransformer:v,mask:x=!1,placeholder:y="",autoFocus:g=!0,oneTimeCode:w=!0,size:P="md",variant:C="outline",invalid:S=!1,separator:N,style:q,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=Hy(o),me=u.useMemo(()=>Wy(m,b),[b,m]),te=u.useCallback(re=>Gy(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,p?.(he)):K.current=null,window.requestAnimationFrame(ie)},[J,ie,te,h,p,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=v?v(he):he;ye(`${z.current}${Re}`)},Ae=re=>{s||(re.preventDefault(),Se())},fe=re=>re>=G-1?null:typeof N=="function"?N(re):N;return c.jsx("div",{className:j("inline-flex flex-col gap-2",U,a,l),style:L(q,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:Ky(m,b),"aria-label":I??"一次性验证码","aria-invalid":S||$["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",Vy[P],zy[C],!_e&&"font-normal text-slate-400",Ye&&"border-blue-500 ring-2 ring-blue-500/30",S&&"border-red-500 text-red-600",Ye&&S&&"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)})]})})});Kd.displayName="InputOPT";function Nl(e){return e==null?"":String(e)}function Uy(e){return typeof e=="string"||typeof e=="number"?String(e):""}function Yy(e,t){const r=t.trim().toLowerCase();return r?[e.value,e.textValue,Uy(e.label),...e.keywords??[]].filter(Boolean).join(" ").toLowerCase().includes(r):!0}function ql(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 Xy(e,t){const r=window.HTMLInputElement.prototype;Object.getOwnPropertyDescriptor(r,"value")?.set?.call(e,t),e.dispatchEvent(new Event("input",{bubbles:!0}))}function Jy(e,t){if(e){if(typeof e=="function"){e(t);return}e.current=t}}function Qy(...e){return u.useCallback(t=>{for(const r of e)Jy(r,t)},e)}const Ud=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=Yy,onBlur:p,onChange:m,onFocus:b,onKeyDown:v,onOptionSelect:x,onValueChange:y,openOnFocus:g=!0,optionClassName:w,optionStyle:P,optionSx:C,options:S=[],readOnly:N,renderOption:q,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(()=>Nl(s)),[G,me]=u.useState(!1),[te,J]=u.useState(-1),H=R!==void 0,Y=H?Nl(R):U,B=!i&&!N,Q=X(E,_),z=X(d,_),K=X(C,_),W=Qy(O,t),Z=u.useMemo(()=>h===!1?S:S.filter(oe=>h(oe,Y)),[h,Y,S]),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&&Xy(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)){p?.(oe);return}me(!1),J(-1),p?.(oe)},Ie=oe=>{if(!B){v?.(oe);return}oe.key==="ArrowDown"?(oe.preventDefault(),me(!0),J(we=>ql(Z,we<0?-1:we,1))):oe.key==="ArrowUp"?(oe.preventDefault(),me(!0),J(we=>ql(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)),v?.(oe)};return c.jsxs("div",{ref:I,className:j("relative w-full",Q.sxClassName,k),style:L(T,Q.sxInlineStyle),children:[c.jsx(xo,{...A,ref:W,autoComplete:r,class:n,className:o,disabled:i,readOnly:N,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:q?q(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]})});Ud.displayName="AutoComplete";function Yd(e){const t=e+"CollectionProvider",[r,n]=rt(t),[o,s]=r(t,{collectionRef:{current:null},itemMap:new Map}),i=v=>{const{scope:x,children:y}=v,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=zr(a),d=je.forwardRef((v,x)=>{const{scope:y,children:g}=v,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",p=zr(f),m=je.forwardRef((v,x)=>{const{scope:y,children:g,...w}=v,P=je.useRef(null),C=ke(x,P),S=s(f,y);return je.useEffect(()=>(S.itemMap.set(P,{ref:P,...w}),()=>{S.itemMap.delete(P)})),c.jsx(p,{[h]:"",ref:C,children:g})});m.displayName=f;function b(v){const x=s(e+"CollectionConsumer",v);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((S,N)=>w.indexOf(S.ref.current)-w.indexOf(N.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:i,Slot:d,ItemSlot:m},b,n]}var Zy=u.createContext(void 0);function yo(e){const t=u.useContext(Zy);return e||t||"ltr"}var Uo="rovingFocusGroup.onEntryFocus",e0={bubbles:!1,cancelable:!0},on="RovingFocusGroup",[Us,Xd,t0]=Yd(on),[r0,wo]=rt(on,[t0]),[n0,o0]=r0(on),Jd=u.forwardRef((e,t)=>c.jsx(Us.Provider,{scope:e.__scopeRovingFocusGroup,children:c.jsx(Us.Slot,{scope:e.__scopeRovingFocusGroup,children:c.jsx(s0,{...e,ref:t})})}));Jd.displayName=on;var s0=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,p=u.useRef(null),m=ke(t,p),b=yo(s),[v,x]=yt({prop:i,defaultProp:a??null,onChange:l,caller:on}),[y,g]=u.useState(!1),w=gt(d),P=Xd(r),C=u.useRef(!1),[S,N]=u.useState(0);return u.useEffect(()=>{const q=p.current;if(q)return q.addEventListener(Uo,w),()=>q.removeEventListener(Uo,w)},[w]),c.jsx(n0,{scope:r,orientation:n,dir:b,loop:o,currentTabStopId:v,onItemFocus:u.useCallback(q=>x(q),[x]),onItemShiftTab:u.useCallback(()=>g(!0),[]),onFocusableItemAdd:u.useCallback(()=>N(q=>q+1),[]),onFocusableItemRemove:u.useCallback(()=>N(q=>q-1),[]),children:c.jsx(be.div,{tabIndex:y||S===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,q=>{const k=!C.current;if(q.target===q.currentTarget&&k&&!y){const T=new CustomEvent(Uo,e0);if(q.currentTarget.dispatchEvent(T),!T.defaultPrevented){const E=P().filter(I=>I.focusable),R=E.find(I=>I.active),A=E.find(I=>I.id===v),O=[R,A,...E].filter(Boolean).map(I=>I.ref.current);ef(O,f)}}C.current=!1}),onBlur:ce(e.onBlur,()=>g(!1))})})}),Qd="RovingFocusGroupItem",Zd=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=o0(Qd,r),h=f.currentTabStopId===d,p=Xd(r),{onFocusableItemAdd:m,onFocusableItemRemove:b,currentTabStopId:v}=f;return u.useEffect(()=>{if(n)return m(),()=>b()},[n,m,b]),c.jsx(Us.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=l0(x,f.orientation,f.dir);if(y!==void 0){if(x.metaKey||x.ctrlKey||x.altKey||x.shiftKey)return;x.preventDefault();let w=p().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?c0(w,P+1):w.slice(P+1)}setTimeout(()=>ef(w))}}),children:typeof i=="function"?i({isCurrentTabStop:h,hasTabStop:v!=null}):i})})});Zd.displayName=Qd;var i0={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function a0(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function l0(e,t,r){const n=a0(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return i0[n]}function ef(e,t=!1){const r=document.activeElement;for(const n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function c0(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var tf=Jd,rf=Zd,$i="Radio",[u0,nf]=rt($i),[d0,f0]=u0($i),of=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,p]=u.useState(null),m=ke(t,x=>p(x)),b=u.useRef(!1),v=h?d||!!h.closest("form"):!0;return c.jsxs(d0,{scope:r,checked:o,disabled:i,children:[c.jsx(be.button,{type:"button",role:"radio","aria-checked":o,"data-state":cf(o),"data-disabled":i?"":void 0,disabled:i,value:a,...f,ref:m,onClick:ce(e.onClick,x=>{o||l?.(),v&&(b.current=x.isPropagationStopped(),b.current||x.stopPropagation())})}),v&&c.jsx(lf,{control:h,bubbles:!b.current,name:n,value:a,checked:o,required:s,disabled:i,form:d,style:{transform:"translateX(-100%)"}})]})});of.displayName=$i;var sf="RadioIndicator",af=u.forwardRef((e,t)=>{const{__scopeRadio:r,forceMount:n,...o}=e,s=f0(sf,r);return c.jsx(Bt,{present:n||s.checked,children:c.jsx(be.span,{"data-state":cf(s.checked),"data-disabled":s.disabled?"":void 0,...o,ref:t})})});af.displayName=sf;var h0="RadioBubbleInput",lf=u.forwardRef(({__scopeRadio:e,control:t,checked:r,bubbles:n=!0,...o},s)=>{const i=u.useRef(null),a=ke(i,s),l=po(r),d=ao(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}})});lf.displayName=h0;function cf(e){return e?"checked":"unchecked"}var m0=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Po="RadioGroup",[p0]=rt(Po,[wo,nf]),uf=wo(),df=nf(),[v0,g0]=p0(Po),ff=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,...p}=e,m=uf(r),b=yo(d),[v,x]=yt({prop:s,defaultProp:o??null,onChange:h,caller:Po});return c.jsx(v0,{scope:r,name:n,required:i,disabled:a,value:v,onValueChange:x,children:c.jsx(tf,{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,...p,ref:t})})})});ff.displayName=Po;var hf="RadioGroupItem",mf=u.forwardRef((e,t)=>{const{__scopeRadioGroup:r,disabled:n,...o}=e,s=g0(hf,r),i=s.disabled||n,a=uf(r),l=df(r),d=u.useRef(null),f=ke(t,d),h=s.value===o.value,p=u.useRef(!1);return u.useEffect(()=>{const m=v=>{m0.includes(v.key)&&(p.current=!0)},b=()=>p.current=!1;return document.addEventListener("keydown",m),document.addEventListener("keyup",b),()=>{document.removeEventListener("keydown",m),document.removeEventListener("keyup",b)}},[]),c.jsx(rf,{asChild:!0,...a,focusable:!i,active:h,children:c.jsx(of,{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,()=>{p.current&&d.current?.click()})})})});mf.displayName=hf;var b0="RadioGroupIndicator",pf=u.forwardRef((e,t)=>{const{__scopeRadioGroup:r,...n}=e,o=df(r);return c.jsx(af,{...o,...n,ref:t})});pf.displayName=b0;var x0=ff,y0=mf,w0=pf;const Vi=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(y0,{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(w0,{className:"inline-flex h-4 w-4 items-center justify-center",children:c.jsx("span",{className:"h-2 w-2 rounded-full bg-current"})})})});Vi.displayName="Radio";const kl={xs:"gap-1",sm:"gap-2",md:"gap-3",lg:"gap-4"};function P0(e){return e===void 0?{className:kl.md}:e==="xs"||e==="sm"||e==="md"||e==="lg"?{className:kl[e]}:{style:{gap:typeof e=="number"?`${e}px`:e}}}const vf=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,p=se(),{sxClassName:m,sxInlineStyle:b}=X(d,p),v=P0(a);return c.jsxs(x0,{ref:t,disabled:i,className:j("flex",s==="horizontal"?"flex-row flex-wrap":"flex-col",v.className,m,r,n),style:L(f,v.style,b),...h,children:[l?.map(x=>{const y=i||x.disabled;return c.jsxs(bo,{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(Vi,{...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]})});vf.displayName="RadioGroup";const C0={sm:"h-8 w-8",md:"h-9 w-9",lg:"h-10 w-10"},S0={sm:"h-4 w-4",md:"h-[18px] w-[18px]",lg:"h-5 w-5"};function Yo(e,t){return Number.isFinite(e)?Math.max(0,Math.min(t,Math.round(e))):0}function N0(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 q0(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:p,character:m}=e,b=m??c.jsx(N0,{className:S0[r]});return c.jsx("button",{ref:h,type:"button",role:"radio","aria-checked":n,"aria-label":p,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",C0[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 gf=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:p="md",character:m,className:b,class:v,style:x,sx:y,onMouseLeave:g,onKeyDown:w,...P}=e,C=se(),{sxClassName:S,sxInlineStyle:N}=X(y,C),q=r!==void 0,k=Math.max(1,Math.floor(o||1)),[T,E]=u.useState(()=>Yo(n,k)),[R,A]=u.useState(null),_=u.useRef([]),O=Yo(q?r??0:T,k),I=R??O,$=u.useId(),M=u.useCallback(te=>{if(a||l)return;const J=Yo(te,k),H=s&&J===O?0:J;q||E(H),f?.(H)},[s,O,a,q,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":p,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,S,b,v),style:L(x,N),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(q0,{fill:Y,size:p,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}`)})]})});gf.displayName="Rate";function Xo(e){const t=se();return X(e,t)}function El(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 Pn(e){return Array.isArray(e)?e.filter(t=>t!==""):[]}function k0(e){return Array.isArray(e)?e:[]}function Sr(e,t){return e?.[t]??t}function E0(e,t){const r=Sr(t,"value");return typeof e[r]=="string"?e[r]:e.value}function R0(e,t){const r=Sr(t,"label");return e[r]??e.label??e.value??""}function j0(e,t){const r=Sr(t,"children");return k0(e[r])}function T0(e,t){const r=Sr(t,"disabled");return!!(e[r]??e.disabled)}function A0(e,t){const r=Sr(t,"isLeaf"),n=e[r];return typeof n=="boolean"?n:e.isLeaf}function _0(e,t){const r=Sr(t,"loading");return!!(e[r]??e.loading)}function bf(e,t){const r=E0(e,t);if(typeof r!="string"||r.length===0)return null;const n=j0(e,t),o=A0(e,t),s=typeof o=="boolean"?o:n.length===0;return{option:e,value:r,label:R0(e,t),children:n,disabled:T0(e,t),isLeaf:s,loading:_0(e,t)}}function Ys(e,t){const r=[];for(const n of e){const o=bf(n,t);o&&r.push(o)}return r}function Jo(e,t,r){const n=[],o=[];let s=e;for(const i of t){const a=Ys(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 I0(e,t,r){const n=[];let o=e;n.push(Ys(o,r));for(const s of t){const i=Ys(o,r).find(a=>a.value===s);if(!i||(o=i.children,o.length===0))break;n.push(o.map(a=>bf(a,r)).filter(a=>!!a))}return n}function Qo(e,t){return t.every((r,n)=>e[n]===r)}function O0(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 M0(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 L0(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 D0(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 Zo(){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 xf=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:p,fieldNames:m,changeOnSelect:b=!1,expandTrigger:v="click",clearable:x=!1,contentWidth:y="auto",maxPanelHeight:g=336,side:w="bottom",align:P="start",sideOffset:C=8,contentClassName:S,contentClass:N,contentStyle:q,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]=El({value:n===void 0?void 0:Pn(n),defaultValue:Pn(o),onChange:V=>{}}),[Z,ae]=El({value:a,defaultValue:l,onChange:i}),[ue,pe]=u.useState(()=>Pn(o)),[ve,ie]=u.useState(null),ye=u.useRef(null),Se=u.useRef(!0),Ie=u.useRef(Z),{sxClassName:oe,sxInlineStyle:we}=Xo(E),{sxClassName:Ee,sxInlineStyle:de}=Xo(k),{sxClassName:Ae,sxInlineStyle:fe}=Xo(M);u.useEffect(()=>()=>{Se.current=!1},[]),u.useEffect(()=>{Z&&!Ie.current&&pe(K),Ie.current=Z},[Z,K]);const re=u.useMemo(()=>Jo(r,K,m),[m,r,K]),he=re.matched.map(V=>V.option),Re=Z?ue:K,_e=u.useMemo(()=>Jo(r,Re,m),[Re,m,r]),Ye=u.useMemo(()=>I0(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):O0(re.labels,f):d,[h,d,he,re.labels,f]),Ct=n!==void 0,ot=u.useCallback((V,le)=>{const xe=Pn(V),Ce=Jo(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(fd,{open:Z,onOpenChange:ae,children:[c.jsx(Oi,{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(M0,{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(D0,{className:"h-3.5 w-3.5"})}):null,c.jsx(Mi,{side:w,align:P,sideOffset:C,width:y,className:j("overflow-hidden p-0",Ee,S,N),style:L(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:[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(Zo,{}),"加载中"]}):"暂无可选项"},`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&&Qo(K,Te),Je=Qo(Re,Te)||Qo(Te,Re),St=ve===Te.join("")||Ce.loading,Nt=Ce.children.length>0||!Ce.isLeaf&&!!st.current&&!St,xm={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:()=>{v==="hover"&&!Ce.disabled&&Nt&&(pe(Te),ae(!0))},onClick:qa=>{qa.preventDefault(),sr(Ce,Te,qa)},children:[c.jsx("span",{className:"min-w-0 flex-1 truncate",children:p?p(Ce.option,xm):Ce.label}),St?c.jsx(Zo,{}):Nt?c.jsx(L0,{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(Zo,{}),"加载中"]}):"请继续选择"}):null]})})]}),me?c.jsx("input",{type:"hidden",name:me,required:A,value:K.length>0?JSON.stringify(K):""}):null]})});xf.displayName="Cascader";function B0(e){return Array.isArray(e)?Number(e[0]??0):Number(e??0)}function Rl(e,t){const r=Number(e);return Number.isFinite(r)?r:t}function jl(e,t){return e===void 0?t:typeof e=="number"?`${e}px`:e}const F0={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 yf(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:p,...m}=e,b=se(),{sxClassName:v,sxInlineStyle:x}=X(a,b),y=f!==void 0,[g,w]=u.useState(()=>B0(n)),P=y?f:g,C=Rl(s,0),S=Rl(o,100),N=Number.isFinite(P)?P:C,q=S>C?(N-C)/(S-C)*100:0,k=Math.max(0,Math.min(100,q)),T=E=>{const R=Number(E.currentTarget.value);y||w(R),p?.(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",v,t,r),style:L({...F0[h],"--ldkj-slider-thumb-size":jl(l,"1.05rem"),"--ldkj-slider-track-size":jl(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)})}yf.displayName="Slider";function $0({children:e}){return c.jsx("span",{className:"text-rose-500",children:e??"*"})}const Co=u.createContext(null);function Gr(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)):Gr(e)?Object.fromEntries(Object.entries(e).map(([t,r])=>[t,We(r)])):e}function sn(e){return typeof e=="string"||typeof e=="number"?[e]:Array.from(e)}function Qe(e){return JSON.stringify(sn(e))}function V0(e){return sn(e).join(".")}function Gt(e,t){let r=e;for(const n of sn(t)){if(r==null)return;r=r[n]}return r}function Mr(e,t,r){const n=sn(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]:Gr(s)?{...s}:typeof a=="number"?[]:{};return d[a]=l?r:o(d[a],i+1),d};return o(e,0)}function z0(e,t){const r=sn(t);if(r.length===0)return e;const n=(o,s)=>{if(!Array.isArray(o)&&!Gr(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 H0(e,t){return Mr({},e,t)}function W0(e,t){const r=(n,o)=>{if(Gr(n)&&Gr(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 Tl(){return{errors:[],touched:!1,validating:!1}}function G0(e){return e==null||e===""||Array.isArray(e)&&e.length===0}function K0(e){return e===void 0?[]:Array.isArray(e)?e:[e]}function U0(e,t,r){if(!e)return!0;const n=K0(t??r);return n.length===0||n.includes(e)}function Y0(e,t){return u.isValidElement(e)?e:typeof e=="string"||typeof e=="number"?String(e):e instanceof Error?e.message:t}function X0(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))??Tl(),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)})),p=g=>{n.onFieldsChange?.(g,h())},m=async(g,w)=>{const P=g.rules.filter(S=>U0(w.trigger,S.validateTrigger,g.validateTrigger));if(P.length===0)return[];w.validateOnly||(f(g.name,{validating:!0}),l());const C=[];for(const S of P){const N=Gt(t,g.name),q=S.transform?S.transform(N):N,k=S.message??"该字段为必填项";if(S.required&&G0(q)){if(C.push(k),g.validateFirst)break;continue}if(S.validator){try{const T=await S.validator(q,We(t),y);T===!1?C.push(k):T!==void 0&&T!==!0&&C.push(T)}catch(T){C.push(Y0(T,k))}if(g.validateFirst&&C.length>0)break}}return!w.validateOnly&&w.id===o&&(f(g.name,{errors:C,validating:!1}),p([{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),S=Array.from(i.values()).filter(k=>C?C.includes(Qe(k.name)):!0),q=(await Promise.all(S.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(q.length>0)throw{errorFields:q,outOfDate:P!==o,values:We(t)};return We(t)},v=(g,w)=>{const P=Qe(g);for(const C of i.values())(Qe(C.name)===P||C.dependencies.some(N=>Qe(N)===P))&&b([C.name],{trigger:w}).catch(()=>{})},x=(g,w,P={})=>{t=Mr(t,g,w),P.touched&&f(g,{touched:!0});const C={name:g,value:w,...d(g)};P.source!=="external"&&(n.onValuesChange?.(H0(g,w),We(t)),p([C])),l(),P.trigger&&v(g,P.trigger)},y={getFieldValue:g=>Gt(t,g),getFieldsValue:g=>g?g.reduce((w,P)=>Mr(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=W0(t,g),l()},setFields:g=>{for(const w of g)"value"in w&&(t=Mr(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});p(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=Mr(t,P,Gt(r,P)),a.delete(Qe(P));p(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,Tl()),P=>{i.delete(w),P?.preserve===!1&&(t=z0(t,g.name),a.delete(w),l())}},setFieldValue:x,validateFields:b}};return y}function zi(e){const t=u.useRef(null);return t.current||(t.current=e??X0()),[e??t.current]}function Hi(){const e=u.useContext(Co);if(!e)throw new Error("Form hooks must be used inside a Form or receive a form instance.");return e}function So(e,t){const r=u.useContext(Co),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 wf(e,t){return So(e,t)}function J0(e,t){const r=u.useContext(Co),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 Fr={emptyValue:"",trigger:"onChange",valuePropName:"value"},Al={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:Fr,InputNumber:Fr,InputOPT:Fr,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 Q0(e){const t=e.type;return t.displayName??t.name??t.render?.displayName??t.render?.name}function Z0(e){if(!e)return Fr;const t=Q0(e);return t&&Al[t]?Al[t]:Fr}function ew(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 tw(e){return e===void 0?[]:Array.isArray(e)?[...e]:[e]}function rw(e,t,r){return e!==void 0?e:r==="checked"?!1:t.emptyValue}function _l(e,t){return(...r)=>{e?.(...r),t(...r)}}function nw(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:p,sx:m,...b}=e,[v]=zi(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);v.__INTERNAL__.setCallbacks({onFieldsChange:i,onFinish:a,onFinishFailed:l,onValuesChange:h}),v.__INTERNAL__.setInitialValues(o,!w.current),w.current=!0;const C=N=>{f?.(N),!(N.defaultPrevented||!P)&&(N.preventDefault(),v.submit())},S=N=>{d?.(N),!(N.defaultPrevented||!P)&&v.resetFields()};return c.jsx(Co.Provider,{value:v,children:c.jsx("form",{className:j("space-y-4",y,t,r),style:L(p,g),onReset:S,onSubmit:C,...b})})}function Wi(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:p,labelClassName:m,labelStyle:b,name:v,noStyle:x=!1,preserve:y=!0,required:g,rules:w=[],sx:P,style:C,trigger:S,validateFirst:N=!1,validateStatus:q,validateTrigger:k="onChange",valuePropName:T,...E}=e,R=Hi(),A=se(),{sxClassName:_,sxInlineStyle:O}=X(P,A),I=So(void 0,R),$=v===void 0?void 0:Qe(v),M=v===void 0?void 0:R.getFieldValue(v),U=J0(v??"__FORM_ITEM__",R),D=u.isValidElement(t)&&typeof t.type!="string"?t:null,G=Z0(D),me=T??G.valuePropName,te=S??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(v===void 0)return;h!==void 0&&R.getFieldValue(v)===void 0&&R.__INTERNAL__.setFieldValue(v,h,{source:"external"});const ue=R.__INTERNAL__.registerField({dependencies:i,name:v,rules:B.current,validateFirst:N,validateTrigger:k});return()=>ue({preserve:y})},[Y,R,h,v,$,y,N,k]);const Q={form:R,meta:U,value:M,values:I},z=()=>{if(typeof t=="function")return t(Q);if(!D||v===void 0)return t;const ue=D.props,pe=d?d(M):G.skipValueProp?{}:{[me]:rw(M,G,me)};ue.name===void 0&&(pe.name=V0(v)),pe[te]=_l(ue[te],(...ve)=>{const ie=l?l(...ve):ew(me,ve);R.__INTERNAL__.setFieldValue(v,ie,{source:"internal",touched:!0,trigger:te})});for(const ve of tw(k))ve!==te&&(pe[ve]=_l(pe[ve]??ue[ve],()=>{R.__INTERNAL__.validateFields([v],{trigger:ve}).catch(()=>{})}));return u.cloneElement(D,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:[p!==void 0?c.jsxs("div",{className:j("text-sm font-medium leading-5 text-slate-700",m),style:b,children:[p,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})}Wi.displayName="FormItem";const Pf=Object.assign(nw,{Item:Wi,useForm:zi,useFormInstance:Hi,useFormValue:So,useFormWatch:wf});Pf.displayName="Form";function ow(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(Qr,{type:"button",disabled:o,onClick:()=>i.current?.click(),children:"选择文件"})]})}function Il(e,[t,r]){return Math.min(r,Math.max(t,e))}var sw=[" ","Enter","ArrowUp","ArrowDown"],iw=[" ","Enter"],Jt="Select",[No,qo,aw]=Yd(Jt),[Nr]=rt(Jt,[aw,Cr]),ko=Cr(),[lw,$t]=Nr(Jt),[cw,uw]=Nr(Jt),Cf=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:p,required:m,form:b}=e,v=ko(t),[x,y]=u.useState(null),[g,w]=u.useState(null),[P,C]=u.useState(!1),S=yo(d),[N,q]=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(ji,{...v,children:c.jsxs(lw,{required:m,scope:t,trigger:x,onTriggerChange:y,valueNode:g,onValueNodeChange:w,valueNodeHasChildren:P,onValueNodeHasChildrenChange:C,contentId:tr(),value:k,onValueChange:T,open:N,onOpenChange:q,dir:S,triggerPointerDownPosRef:E,disabled:p,children:[c.jsx(No.Provider,{scope:t,children:c.jsx(cw,{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(Uf,{"aria-hidden":!0,required:m,tabIndex:-1,name:f,autoComplete:h,value:k,onChange:I=>T(I.target.value),disabled:p,form:b,children:[k===void 0?c.jsx("option",{value:""}):null,Array.from(A)]},O):null]})})};Cf.displayName=Jt;var Sf="SelectTrigger",Nf=u.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...o}=e,s=ko(r),i=$t(Sf,r),a=i.disabled||n,l=ke(t,i.onTriggerChange),d=qo(r),f=u.useRef("touch"),[h,p,m]=Xf(v=>{const x=d().filter(w=>!w.disabled),y=x.find(w=>w.value===i.value),g=Jf(x,v,y);g!==void 0&&i.onValueChange(g.value)}),b=v=>{a||(i.onOpenChange(!0),m()),v&&(i.triggerPointerDownPosRef.current={x:Math.round(v.pageX),y:Math.round(v.pageY)})};return c.jsx(lo,{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":Yf(i.value)?"":void 0,...o,ref:l,onClick:ce(o.onClick,v=>{v.currentTarget.focus(),f.current!=="mouse"&&b(v)}),onPointerDown:ce(o.onPointerDown,v=>{f.current=v.pointerType;const x=v.target;x.hasPointerCapture(v.pointerId)&&x.releasePointerCapture(v.pointerId),v.button===0&&v.ctrlKey===!1&&v.pointerType==="mouse"&&(b(v),v.preventDefault())}),onKeyDown:ce(o.onKeyDown,v=>{const x=h.current!=="";!(v.ctrlKey||v.altKey||v.metaKey)&&v.key.length===1&&p(v.key),!(x&&v.key===" ")&&sw.includes(v.key)&&(b(),v.preventDefault())})})})});Nf.displayName=Sf;var qf="SelectValue",kf=u.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,children:s,placeholder:i="",...a}=e,l=$t(qf,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:Yf(l.value)?c.jsx(c.Fragment,{children:i}):s})});kf.displayName=qf;var dw="SelectIcon",Ef=u.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...o}=e;return c.jsx(be.span,{"aria-hidden":!0,...o,ref:t,children:n||"▼"})});Ef.displayName=dw;var fw="SelectPortal",Rf=e=>c.jsx(co,{asChild:!0,...e});Rf.displayName=fw;var Qt="SelectContent",jf=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?Yr.createPortal(c.jsx(Tf,{scope:e.__scopeSelect,children:c.jsx(No.Slot,{scope:e.__scopeSelect,children:c.jsx("div",{children:e.children})})}),s):null}return c.jsx(Af,{...e,ref:t})});jf.displayName=Qt;var Ze=10,[Tf,Vt]=Nr(Qt),hw="SelectContentImpl",mw=zr("SelectContent.RemoveScroll"),Af=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:p,collisionPadding:m,sticky:b,hideWhenDetached:v,avoidCollisions:x,...y}=e,g=$t(Qt,r),[w,P]=u.useState(null),[C,S]=u.useState(null),N=ke(t,B=>P(B)),[q,k]=u.useState(null),[T,E]=u.useState(null),R=qo(r),[A,_]=u.useState(!1),O=u.useRef(!1);u.useEffect(()=>{if(w)return Wu(w)},[w]),wu();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([q,w]),[I,q,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]=Xf(B=>{const Q=R().filter(W=>!W.disabled),z=Q.find(W=>W.ref.current===document.activeElement),K=Jf(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"?Xs:_f,Y=H===Xs?{side:a,sideOffset:l,align:d,alignOffset:f,arrowPadding:h,collisionBoundary:p,collisionPadding:m,sticky:b,hideWhenDetached:v,avoidCollisions:x}:{};return c.jsx(Tf,{scope:r,content:w,viewport:C,onViewportChange:S,itemRefCallback:me,selectedItem:q,onItemLeave:te,itemTextRefCallback:J,focusSelectedItem:$,selectedItemText:T,position:n,isPositioned:A,searchRef:D,children:c.jsx(_i,{as:mw,allowPinchZoom:!0,children:c.jsx(wi,{asChild:!0,trapped:g.open,onMountAutoFocus:B=>{B.preventDefault()},onUnmountAutoFocus:ce(o,B=>{g.trigger?.focus({preventScroll:!0}),B.preventDefault()}),children:c.jsx(ro,{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:N,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()}})})})})})})});Af.displayName=hw;var pw="SelectItemAlignedPosition",_f=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,N=>f(N)),p=qo(r),m=u.useRef(!1),b=u.useRef(!0),{viewport:v,selectedItem:x,selectedItemText:y,focusSelectedItem:g}=i,w=u.useCallback(()=>{if(s.trigger&&s.valueNode&&a&&d&&v&&x&&y){const N=s.trigger.getBoundingClientRect(),q=d.getBoundingClientRect(),k=s.valueNode.getBoundingClientRect(),T=y.getBoundingClientRect();if(s.dir!=="rtl"){const W=T.left-q.left,Z=k.left-W,ae=N.left-Z,ue=N.width+ae,pe=Math.max(ue,q.width),ve=window.innerWidth-Ze,ie=Il(Z,[Ze,Math.max(Ze,ve-pe)]);a.style.minWidth=ue+"px",a.style.left=ie+"px"}else{const W=q.right-T.right,Z=window.innerWidth-k.right-W,ae=window.innerWidth-N.right-Z,ue=N.width+ae,pe=Math.max(ue,q.width),ve=window.innerWidth-Ze,ie=Il(Z,[Ze,Math.max(Ze,ve-pe)]);a.style.minWidth=ue+"px",a.style.right=ie+"px"}const E=p(),R=window.innerHeight-Ze*2,A=v.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(v),me=parseInt(G.paddingTop,10),te=parseInt(G.paddingBottom,10),J=N.top+N.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-v.offsetTop-v.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+v.offsetTop+(W?me:0)+Y)+z;a.style.height=ae+"px",v.scrollTop=Q-J+v.offsetTop}a.style.margin=`${Ze}px 0`,a.style.minHeight=D+"px",a.style.maxHeight=R+"px",n?.(),requestAnimationFrame(()=>m.current=!0)}},[p,s.trigger,s.valueNode,a,d,v,x,y,s.dir,n]);De(()=>w(),[w]);const[P,C]=u.useState();De(()=>{d&&C(window.getComputedStyle(d).zIndex)},[d]);const S=u.useCallback(N=>{N&&b.current===!0&&(w(),g?.(),b.current=!1)},[w,g]);return c.jsx(gw,{scope:r,contentWrapper:a,shouldExpandOnScrollRef:m,onScrollButtonChange:S,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}})})})});_f.displayName=pw;var vw="SelectPopperPosition",Xs=u.forwardRef((e,t)=>{const{__scopeSelect:r,align:n="start",collisionPadding:o=Ze,...s}=e,i=ko(r);return c.jsx(Ti,{...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)"}})});Xs.displayName=vw;var[gw,Gi]=Nr(Qt,{}),Js="SelectViewport",If=u.forwardRef((e,t)=>{const{__scopeSelect:r,nonce:n,...o}=e,s=Vt(Js,r),i=Gi(Js,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(No.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:p}=i;if(p?.current&&h){const m=Math.abs(l.current-f.scrollTop);if(m>0){const b=window.innerHeight-Ze*2,v=parseFloat(h.style.minHeight),x=parseFloat(h.style.height),y=Math.max(v,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})})})]})});If.displayName=Js;var Of="SelectGroup",[bw,xw]=Nr(Of),Mf=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=tr();return c.jsx(bw,{scope:r,id:o,children:c.jsx(be.div,{role:"group","aria-labelledby":o,...n,ref:t})})});Mf.displayName=Of;var Lf="SelectLabel",Df=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=xw(Lf,r);return c.jsx(be.div,{id:o.id,...n,ref:t})});Df.displayName=Lf;var Un="SelectItem",[yw,Bf]=Nr(Un),Ff=u.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:s,...i}=e,a=$t(Un,r),l=Vt(Un,r),d=a.value===n,[f,h]=u.useState(s??""),[p,m]=u.useState(!1),b=ke(t,g=>l.itemRefCallback?.(g,n,o)),v=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(yw,{scope:r,value:n,disabled:o,textId:v,isSelected:d,onItemTextChange:u.useCallback(g=>{h(w=>w||(g?.textContent??"").trim())},[]),children:c.jsx(No.ItemSlot,{scope:r,value:n,disabled:o,textValue:f,children:c.jsx(be.div,{role:"option","aria-labelledby":v,"data-highlighted":p?"":void 0,"aria-selected":d&&p,"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===" "||(iw.includes(g.key)&&y(),g.key===" "&&g.preventDefault())})})})})});Ff.displayName=Un;var Lr="SelectItemText",$f=u.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,...s}=e,i=$t(Lr,r),a=Vt(Lr,r),l=Bf(Lr,r),d=uw(Lr,r),[f,h]=u.useState(null),p=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:v,onNativeOptionRemove:x}=d;return De(()=>(v(b),()=>x(b)),[v,x,b]),c.jsxs(c.Fragment,{children:[c.jsx(be.span,{id:l.textId,...s,ref:p}),l.isSelected&&i.valueNode&&!i.valueNodeHasChildren?Yr.createPortal(s.children,i.valueNode):null]})});$f.displayName=Lr;var Vf="SelectItemIndicator",zf=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return Bf(Vf,r).isSelected?c.jsx(be.span,{"aria-hidden":!0,...n,ref:t}):null});zf.displayName=Vf;var Qs="SelectScrollUpButton",Hf=u.forwardRef((e,t)=>{const r=Vt(Qs,e.__scopeSelect),n=Gi(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.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(Gf,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:l}=r;a&&l&&(a.scrollTop=a.scrollTop-l.offsetHeight)}}):null});Hf.displayName=Qs;var Zs="SelectScrollDownButton",Wf=u.forwardRef((e,t)=>{const r=Vt(Zs,e.__scopeSelect),n=Gi(Zs,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(Gf,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:l}=r;a&&l&&(a.scrollTop=a.scrollTop+l.offsetHeight)}}):null});Wf.displayName=Zs;var Gf=u.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=e,s=Vt("SelectScrollButton",r),i=u.useRef(null),a=qo(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()})})}),ww="SelectSeparator",Kf=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return c.jsx(be.div,{"aria-hidden":!0,...n,ref:t})});Kf.displayName=ww;var ei="SelectArrow",Pw=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=ko(r),s=$t(ei,r),i=Vt(ei,r);return s.open&&i.position==="popper"?c.jsx(Ai,{...o,...n,ref:t}):null});Pw.displayName=ei;var Cw="SelectBubbleInput",Uf=u.forwardRef(({__scopeSelect:e,value:t,...r},n)=>{const o=u.useRef(null),s=ke(n,o),i=po(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:{...md,...r.style},ref:s,defaultValue:t})});Uf.displayName=Cw;function Yf(e){return e===""||e===void 0}function Xf(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 Jf(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=Sw(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 Sw(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var Nw=Cf,qw=Nf,kw=kf,Ew=Ef,Rw=Rf,jw=jf,Tw=If,Aw=Mf,_w=Df,Iw=Ff,Ow=$f,Mw=zf,Lw=Hf,Dw=Wf,Bw=Kf;const Ol="data-scroll-locked",Qf=u.createContext({lockScroll:!1});function Fw(e,t){(typeof window>"u"?u.useEffect:u.useLayoutEffect)(e,t)}function Ml(){return document.querySelector('[role="listbox"][data-state="open"][data-ldkj-select-lock-scroll="false"]')!==null}function $w(e){Fw(()=>{if(!e||typeof document>"u")return;const t=document.body,r=()=>{Ml()&&t.removeAttribute(Ol)},n=a=>{Ml()&&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:[Ol]}),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 Zf(e){const{lockScroll:t=!1,...r}=e;return $w(!t),c.jsx(Qf.Provider,{value:{lockScroll:t},children:c.jsx(Nw,{...r})})}Zf.displayName="Select";const eh=Aw,Vw=kw;function zw(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 th(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 Hw(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 rh=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(qw,{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(Ew,{asChild:!0,children:c.jsx(th,{className:"h-4 w-4 shrink-0 text-slate-500"})})]})});rh.displayName="SelectTrigger";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(Lw,{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(Hw,{className:"h-4 w-4"})})});Ki.displayName="SelectScrollUpButton";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(Dw,{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(th,{className:"h-4 w-4"})})});Ui.displayName="SelectScrollDownButton";const nh=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(Qf);return c.jsx(Rw,{children:c.jsxs(jw,{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(Ki,{}),c.jsx(Tw,{className:j("p-1",s==="popper"&&"w-full min-w-[var(--radix-select-trigger-width)]"),children:o}),c.jsx(Ui,{})]})})});nh.displayName="SelectContent";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(_w,{ref:t,className:j("px-2 py-1.5 text-xs font-medium text-slate-500",a,r,n),style:L(s,l),...i})});Yi.displayName="SelectLabel";const Yn=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(Iw,{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(Mw,{children:c.jsx(zw,{className:"h-4 w-4"})})}),c.jsx(Ow,{children:o})]})});Yn.displayName="SelectItem";const Xi=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=rr(o);return c.jsx(Bw,{ref:t,className:j("-mx-1 my-1 h-px bg-slate-200",a,r,n),style:L(s,l),...i})});Xi.displayName="SelectSeparator";function Ww(e){return"options"in e}function Gw(e){const{options:t,itemProps:r,labelProps:n,separatorProps:o}=e;return c.jsx(c.Fragment,{children:t.map((s,i)=>Ww(s)?c.jsxs(eh,{children:[s.label?c.jsx(Yi,{...n,children:s.label}):null,s.options.map(a=>c.jsx(Yn,{...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(Xi,{...o}):null]},`group-${i}`):c.jsx(Yn,{...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 Eo="Switch",[Kw]=rt(Eo),[Uw,Yw]=Kw(Eo),oh=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,[p,m]=u.useState(null),b=ke(t,w=>m(w)),v=u.useRef(!1),x=p?f||!!p.closest("form"):!0,[y,g]=yt({prop:o,defaultProp:s??!1,onChange:d,caller:Eo});return c.jsxs(Uw,{scope:r,checked:y,disabled:a,children:[c.jsx(be.button,{type:"button",role:"switch","aria-checked":y,"aria-required":i,"data-state":lh(y),"data-disabled":a?"":void 0,disabled:a,value:l,...h,ref:b,onClick:ce(e.onClick,w=>{g(P=>!P),x&&(v.current=w.isPropagationStopped(),v.current||w.stopPropagation())})}),x&&c.jsx(ah,{control:p,bubbles:!v.current,name:n,value:l,checked:y,required:i,disabled:a,form:f,style:{transform:"translateX(-100%)"}})]})});oh.displayName=Eo;var sh="SwitchThumb",ih=u.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,o=Yw(sh,r);return c.jsx(be.span,{"data-state":lh(o.checked),"data-disabled":o.disabled?"":void 0,...n,ref:t})});ih.displayName=sh;var Xw="SwitchBubbleInput",ah=u.forwardRef(({__scopeSwitch:e,control:t,checked:r,bubbles:n=!0,...o},s)=>{const i=u.useRef(null),a=ke(i,s),l=po(r),d=ao(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}})});ah.displayName=Xw;function lh(e){return e?"checked":"unchecked"}var Jw=oh,Qw=ih;const Zw={sm:"h-5 w-9",md:"h-6 w-11",lg:"h-7 w-[52px]"},eP={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"},ch=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:p="right",size:m="md",style:b,sx:v,"aria-describedby":x,...y}=e,g=se(),{sxClassName:w,sxInlineStyle:P}=X(v,g),{sxClassName:C,sxInlineStyle:S}=X(a,g),N=u.useId(),q=f??`ldkj-switch-${N}`,k=l===void 0?void 0:`${q}-description`,T=[x,k].filter(Boolean).join(" ")||void 0,E=c.jsx(Jw,{ref:t,id:q,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(Qw,{className:j("pointer-events-none block rounded-full bg-white shadow-sm ring-0 transition-transform","data-[state=unchecked]:translate-x-0",eP[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(Ks,{htmlFor:q,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,S),children:[p==="left"?R:null,E,p==="right"?R:null]})});ch.displayName="Switch";function Xn(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 uh(e){const t=se();return X(e,t)}function tP(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function ti(e){return e==="center"?"justify-center text-center":e==="right"?"justify-end text-right":"justify-start text-left"}function rP(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 nP(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 oP(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 Ll(){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 dh(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:p,onConfirm:m,onOpenChange:b}=e,{sxClassName:v,sxInlineStyle:x}=uh(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"&&(p?.(),b?.(!1))};return document.addEventListener("keydown",w),()=>{document.body.style.overflow=g,document.removeEventListener("keydown",w)}},[p,b,t]),!t)return null;const y=()=>{p?.(),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",v,l,d),style:L({maxHeight:tP(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 Ji=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:p,onClear:m,...b}=e,{sxClassName:v,sxInlineStyle:x}=uh(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",p&&"cursor-default",n&&o&&!h&&!p?"pr-16":"pr-9",v,a,l),style:L(d,x),disabled:h,"aria-haspopup":"dialog","aria-expanded":r,"aria-disabled":h||void 0,"aria-readonly":p||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(rP,{className:"absolute right-3 h-4 w-4 text-slate-500"})]}),n&&o&&!h&&!p?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(oP,{className:"h-3.5 w-3.5"})}):null]})});Ji.displayName="MobileTrigger";function fh(e){return"options"in e}function sP(e){return e.map(t=>fh(t)?{type:"group",label:t.label,options:t.options,separator:t.separator}:{type:"plain",option:t})}function iP(e){const t=[];for(const r of e)fh(r)?t.push(...r.options):t.push(r);return t}const hh=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:p,clearable:m=!1,readOnly:b=!1,required:v,align:x="left",displayRender:y,renderOption:g,drawerClassName:w,drawerClass:P,drawerStyle:C,drawerSx:S,maxDrawerHeight:N,optionClassName:q,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]=Xn({value:n,defaultValue:o}),[Q,z]=Xn({value:i,defaultValue:a,onChange:l}),[K,W]=u.useState(H),Z=u.useRef(null),ae=se(),ue=u.useMemo(()=>iP(r),[r]),pe=u.useMemo(()=>sP(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(Ji,{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(dh,{open:Q,title:f,cancelText:h,confirmText:p,confirmDisabled:!ie||!!ie.disabled,maxHeight:N,className:w,class:P,style:C,sx:S,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",ti(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: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",ti(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: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:v,value:H}):null]})});hh.displayName="MobileSelect";function jr(e){return Array.isArray(e)?e.filter(t=>t!==""):[]}function aP(e){return Array.isArray(e)?e:[]}function qr(e,t){return e?.[t]??t}function lP(e,t){const r=qr(t,"value");return typeof e[r]=="string"?e[r]:e.value}function cP(e,t){const r=qr(t,"label");return e[r]??e.label??e.value??""}function uP(e,t){const r=qr(t,"children");return aP(e[r])}function dP(e,t){const r=qr(t,"disabled");return!!(e[r]??e.disabled)}function fP(e,t){const r=qr(t,"isLeaf"),n=e[r];return typeof n=="boolean"?n:e.isLeaf}function hP(e,t){const r=qr(t,"loading");return!!(e[r]??e.loading)}function mP(e,t){const r=lP(e,t);if(typeof r!="string"||r.length===0)return null;const n=uP(e,t),o=fP(e,t),s=typeof o=="boolean"?o:n.length===0;return{option:e,value:r,label:cP(e,t),children:n,disabled:dP(e,t),isLeaf:s,loading:hP(e,t)}}function Mn(e,t){const r=[];for(const n of e){const o=mP(n,t);o&&r.push(o)}return r}function Cn(e,t,r){const n=[],o=[];let s=e;for(const i of t){const a=Mn(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 pP(e,t,r){const n=[Mn(e,r)];let o=e;for(const s of t){const i=Mn(o,r).find(a=>a.value===s);if(!i||i.children.length===0)break;o=i.children,n.push(Mn(o,r))}return n}function es(e,t){return t.every((r,n)=>e[n]===r)}function vP(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 gP(e){return`第${e+1}级`}const mh=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:p,separator:m="/",displayRender:b,renderOption:v,fieldNames:x,changeOnSelect:y=!1,clearable:g=!1,readOnly:w=!1,required:P,loadData:C,align:S="left",levelLabels:N,drawerClassName:q,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:jr(n),[W,Z,ae]=Xn({value:K,defaultValue:jr(o)}),[ue,pe]=Xn({value:i,defaultValue:a,onChange:l}),[ve,ie]=u.useState(()=>jr(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=jr(W);ie(F),Se(Math.max(F.length-1,0))}},[ue,W]);const fe=u.useMemo(()=>Cn(r,W,x),[x,r,W]),re=fe.matched.map(F=>F.option),he=u.useMemo(()=>Cn(r,ve,x),[x,r,ve]),Re=u.useMemo(()=>pP(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):vP(fe.labels,m):d,[b,d,re,fe.labels,m]),ot=u.useCallback((F,V)=>{const le=Cn(r,jr(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=Cn(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(Ji,{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(dh,{open:ue,title:f,cancelText:h,confirmText:p,confirmDisabled:nt,maxHeight:R,className:q,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]??gP(V),Ce=N?.[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(Ll,{}),"加载中"]}):"暂无可选项"}):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&&es(he.path,V),xe=es(he.path,V)||es(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",ti(S),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:v?v(F.option,He):F.label}),Ce?c.jsx(Ll,{}):Te?c.jsx(nP,{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]})});mh.displayName="MobileCascader";function bP(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 xP(){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:p=!1,modalContent:m,onModalMaskClick:b,children:v,...x}=e,y=t??"div",g=se(),{roundedPreset:w,roundedStyle:P}=Zt(n),{shadowPreset:C,shadowStyle:S}=Xr(o),N=bP(()=>{s?.()},i),{sxClassName:q,sxInlineStyle:k}=X(r,g),E=(f||p)&&a?.position===void 0?{position:"relative"}:void 0;return c.jsxs(y,{className:j(w&&Mt[w],C&&xr[C],q,l,d),style:L(a,P,S,E,k),"aria-busy":f||void 0,...s?N:void 0,...x,children:[v,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(xP,{})}):null,p?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 Dl={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"},Bl={elevated:"md"},yP={none:"p-0",sm:"p-3",md:"p-4",lg:"p-6"};function Dr(e){return e!=null}function wP(e){let t=!1;return u.Children.forEach(e,r=>{u.isValidElement(r)&&PP(r.type)&&(t=!0)}),t}function PP(e){return e===ph||e===vh||e===gh||e===bh||e===xh||e===yh||e===wh}function Sn(e,t){return e===!0||e===t}function ts(e){return yP[e]}function Fl(e,t){return Dr(e)?e:t}function $l(e,t){return e??t}const ph=e=>c.jsx(Pe,{...e,"data-card-slot":"header"}),vh=e=>c.jsx(Pe,{...e,"data-card-slot":"content"}),gh=e=>c.jsx(Pe,{...e,"data-card-slot":"footer"}),bh=e=>c.jsx(Pe,{...e,"data-card-slot":"left"}),xh=e=>c.jsx(Pe,{...e,"data-card-slot":"right"}),yh=e=>c.jsx(Pe,{...e,"data-card-slot":"start"}),wh=e=>c.jsx(Pe,{...e,"data-card-slot":"end"});function CP(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:p,contentLoading:m=!1,headerProps:b,footerProps:v,leftProps:x,rightProps:y,startProps:g,endProps:w,contentProps:P,children:C,className:S,style:N,rounded:q="lg",shadow:k,onClick:T,...E}=e,R=Fl(d,h),A=Fl(f,p),_=$l(x,g),O=$l(y,w),I=wP(C),{className:$,style:M,loading:U,...D}=P??{};return I?c.jsx(Pe,{rounded:q,shadow:k??Bl[t],className:j("card flex overflow-hidden",Dl[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",S),style:L(N,{flexDirection:"row"}),"aria-disabled":i||void 0,onClick:i?void 0:T,...E,children:C}):c.jsxs(Pe,{rounded:q,shadow:k??Bl[t],className:j("card flex overflow-hidden",Dl[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",S),style:L(N,{flexDirection:"row"}),"aria-disabled":i||void 0,onClick:i?void 0:T,...E,children:[Dr(R)?c.jsx(Pe,{..._,className:j("card-left shrink-0",Sn(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:[Dr(a)?c.jsx(Pe,{...b,className:j("card-header",ts(r),Sn(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",ts(r),$),style:M,loading:m||U,children:C}),Dr(l)?c.jsx(Pe,{...v,className:j("card-footer",ts(r),Sn(n,"y")&&"border-t border-gray-100",v?.className),children:l}):null]}),Dr(A)?c.jsx(Pe,{...O,className:j("card-right shrink-0",Sn(n,"x")&&"border-l border-gray-100",O?.className),children:A}):null]})}const Pt=Object.assign(CP,{Header:ph,Content:vh,Footer:gh,Left:bh,Right:xh,Start:yh,End:wh});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 SP(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:p,children:m,...b}=h,v=p?.[e]?.[l]||a,x=u.useMemo(()=>b,Object.values(b));return c.jsx(v.Provider,{value:x,children:m})};d.displayName=s+"Provider";function f(h,p){const m=p?.[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,NP(o,...t)]}function NP(...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 qP(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Nn={exports:{}},rs={};var Vl;function kP(){if(Vl)return rs;Vl=1;var e=je;function t(h,p){return h===p&&(h!==0||1/h===1/p)||h!==h&&p!==p}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,o=e.useEffect,s=e.useLayoutEffect,i=e.useDebugValue;function a(h,p){var m=p(),b=n({inst:{value:m,getSnapshot:p}}),v=b[0].inst,x=b[1];return s(function(){v.value=m,v.getSnapshot=p,l(v)&&x({inst:v})},[h,m,p]),o(function(){return l(v)&&x({inst:v}),h(function(){l(v)&&x({inst:v})})},[h]),i(m),m}function l(h){var p=h.getSnapshot;h=h.value;try{var m=p();return!r(h,m)}catch{return!0}}function d(h,p){return p()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?d:a;return rs.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:f,rs}var ns={};var zl;function EP(){return zl||(zl=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 v=b();if(!h){var x=b();s(v,x)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),h=!0)}x=i({inst:{value:v,getSnapshot:b}});var y=x[0].inst,g=x[1];return l(function(){y.value=v,y.getSnapshot=b,r(y)&&g({inst:y})},[m,v,b]),a(function(){return r(y)&&g({inst:y}),m(function(){r(y)&&g({inst:y})})},[m]),d(v),v}function r(m){var b=m.getSnapshot;m=m.value;try{var v=b();return!s(m,v)}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,p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:t;ns.useSyncExternalStore=o.useSyncExternalStore!==void 0?o.useSyncExternalStore:p,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),ns}var Hl;function RP(){return Hl||(Hl=1,process.env.NODE_ENV==="production"?Nn.exports=kP():Nn.exports=EP()),Nn.exports}var jP=RP();function TP(){return jP.useSyncExternalStore(AP,()=>!0,()=>!1)}function AP(){return()=>{}}var Qi="Avatar",[_P]=SP(Qi),[IP,Ph]=_P(Qi),Ch=u.forwardRef((e,t)=>{const{__scopeAvatar:r,...n}=e,[o,s]=u.useState("idle");return c.jsx(IP,{scope:r,imageLoadingStatus:o,onImageLoadingStatusChange:s,children:c.jsx(go.span,{...n,ref:t})})});Ch.displayName=Qi;var Sh="AvatarImage",Nh=u.forwardRef((e,t)=>{const{__scopeAvatar:r,src:n,onLoadingStatusChange:o=()=>{},...s}=e,i=Ph(Sh,r),a=OP(n,s),l=gt(d=>{o(d),i.onImageLoadingStatusChange(d)});return De(()=>{a!=="idle"&&l(a)},[a,l]),a==="loaded"?c.jsx(go.img,{...s,ref:t,src:n}):null});Nh.displayName=Sh;var qh="AvatarFallback",kh=u.forwardRef((e,t)=>{const{__scopeAvatar:r,delayMs:n,...o}=e,s=Ph(qh,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(go.span,{...o,ref:t}):null});kh.displayName=qh;function Wl(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function OP(e,{referrerPolicy:t,crossOrigin:r}){const n=TP(),o=u.useRef(null),s=n?(o.current||(o.current=new window.Image),o.current):null,[i,a]=u.useState(()=>Wl(s,e));return De(()=>{a(Wl(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 MP=Ch,LP=Nh,DP=kh;const Eh={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 BP(e){if(e!==void 0){if(typeof e=="number")return`${e}px`;if(!(typeof e=="string"&&e in Eh))return e}}const Rh=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:p}=X(o,f),{roundedPreset:m,roundedStyle:b}=Zt(a),{shadowPreset:v,shadowStyle:x}=Xr(l),y=BP(i);return c.jsx(MP,{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"?Eh[i]:null,m?Mt[m]:null,v?xr[v]:null,h,r,n),style:L(s,b,x,y?{width:y,height:y}:void 0,p),...d})}),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(LP,{ref:t,className:j("avatar-image h-full w-full object-cover",l,r,n),style:L(s,d),...i})}),ea=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(DP,{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})}),jh=Object.assign(Rh,{Image:Zi,Fallback:ea});Rh.displayName="Avatar";Zi.displayName="Avatar.Image";ea.displayName="Avatar.Fallback";jh.displayName="Avatar";const Th=Lc("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 Ah(e){const{component:t,variant:r,outline:n,size:o,rounded:s,shadow:i,sx:a,style:l,className:d,class:f,...h}=e,p=t??"span",{roundedPreset:m,roundedStyle:b}=Zt(s),{shadowPreset:v,shadowStyle:x}=Xr(i),y=se(),{sxClassName:g,sxInlineStyle:w}=X(a,y);return c.jsx(p,{className:j(Th({variant:r,outline:n,size:o,rounded:m,shadow:v}),g,d,f),style:L(l,b,x,w),...h})}Ah.displayName="Chip";const Gl={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"},FP={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 $P(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",...p}=e,m=se(),{sxClassName:b,sxInlineStyle:v}=X(n,m),x=typeof s=="number"?s:null,y=x===0&&!d,g=x!==null?x>f?`${f}+`:String(x):s,w=a?Gl[h]:l?FP[h]:Gl[h];return c.jsxs("span",{className:j("relative inline-flex",t,r),style:L(o,v),...p,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 VP(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 zP(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 Kl(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function HP(e){if(e!==void 0)return typeof e=="number"?String(e):e}function Tr(e,t,r){return Math.min(r,Math.max(t,e))}function WP(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 GP(e){return Array.from(new Set(e.filter(t=>Number.isFinite(t)&&t>0)))}function KP(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 _h=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:p,placeholder:m,blurDataURL:b,retry:v=0,retryDelay:x=800,onLoadingChange:y,loader:g,quality:w,format:P,crop:C=!1,alt:S,src:N,width:q,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(N?"loading":"idle"),[Y,B]=u.useState(N),[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(N),H(N?"loading":"idle"),z(!1),W(1),ae({x:0,y:0}),pe(!1)},[N]),u.useEffect(()=>{y?.(J==="loading")},[y,J]),u.useEffect(()=>{process.env.NODE_ENV!=="production"&&S===void 0&&console.warn('Image missing alt prop. Use alt text or alt="" for decorative images.')},[S]),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=>Tr(Number((xe+.2).toFixed(2)),1,4));return}if(le.key==="-"||le.key==="_"){W(xe=>Tr(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 q=="number"?q:void 0,we=typeof k=="number"?k:void 0,Ee=u.useMemo(()=>{const F=$??[],V=oe?[...F,oe]:F;return GP(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}):KP(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=WP(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:Kl(q),height:p?void 0:Kl(k),aspectRatio:HP(p),backgroundImage:_e?`url(${b})`:void 0,backgroundSize:_e?"cover":void 0,backgroundPosition:_e?"center":void 0},i,te),ot={width:"100%",height:p||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<v&&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=>Tr(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:S,src:Ae,width:q,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:S,src:Ae,width:q,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:S,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=>Tr(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=>Tr(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]})});_h.displayName="Image";var cr={},os,Ul;function UP(){return Ul||(Ul=1,os=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),os}var ss={},Et={},Yl;function nr(){if(Yl)return Et;Yl=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 is={},Xl;function ta(){return Xl||(Xl=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}}})(is)),is}var as,Jl;function YP(){if(Jl)return as;Jl=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++}},as=e,as}var ls,Ql;function XP(){if(Ql)return ls;Ql=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]},ls=e,ls}var cs={},Zl;function JP(){return Zl||(Zl=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}})(cs)),cs}var us={},ec;function QP(){if(ec)return us;ec=1;const e=nr().getSymbolSize,t=7;return us.getPositions=function(n){const o=e(n);return[[0,0],[o-t,0],[0,o-t]]},us}var ds={},tc;function ZP(){return tc||(tc=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 p=0;p<s;p++){let m=o.get(h,p);m===d?a++:(a>=5&&(i+=t.N1+(a-5)),d=m,a=1),m=o.get(p,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}})(ds)),ds}var qn={},rc;function Ih(){if(rc)return qn;rc=1;const e=ta(),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 qn.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}},qn.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}},qn}var fs={},Ar={},nc;function eC(){if(nc)return Ar;nc=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]})(),Ar.log=function(n){if(n<1)throw new Error("log("+n+")");return t[n]},Ar.exp=function(n){return e[n]},Ar.mul=function(n,o){return n===0||o===0?0:e[t[n]+t[o]]},Ar}var oc;function tC(){return oc||(oc=1,(function(e){const t=eC();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}})(fs)),fs}var hs,sc;function rC(){if(sc)return hs;sc=1;const e=tC();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},hs=t,hs}var ms={},ps={},vs={},ic;function Oh(){return ic||(ic=1,vs.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),vs}var it={},ac;function Mh(){if(ac)return it;ac=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 lc;function or(){return lc||(lc=1,(function(e){const t=Oh(),r=Mh();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}}})(ps)),ps}var cc;function nC(){return cc||(cc=1,(function(e){const t=nr(),r=Ih(),n=ta(),o=or(),s=Oh(),i=7973,a=t.getBCHDigit(i);function l(p,m,b){for(let v=1;v<=40;v++)if(m<=e.getCapacity(v,b,p))return v}function d(p,m){return o.getCharCountIndicator(p,m)+4}function f(p,m){let b=0;return p.forEach(function(v){const x=d(v.mode,m);b+=x+v.getBitsLength()}),b}function h(p,m){for(let b=1;b<=40;b++)if(f(p,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,v){if(!s.isValid(m))throw new Error("Invalid QR Code version");typeof v>"u"&&(v=o.BYTE);const x=t.getSymbolTotalCodewords(m),y=r.getTotalCodewordsCount(m,b),g=(x-y)*8;if(v===o.MIXED)return g;const w=g-d(v,m);switch(v){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 v;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;v=m[0]}else v=m;return l(v.mode,v.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}})(ms)),ms}var gs={},uc;function oC(){if(uc)return gs;uc=1;const e=nr(),t=1335,r=21522,n=e.getBCHDigit(t);return gs.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},gs}var bs={},xs,dc;function sC(){if(dc)return xs;dc=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))},xs=t,xs}var ys,fc;function iC(){if(fc)return ys;fc=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)},ys=r,ys}var ws,hc;function aC(){if(hc)return ws;hc=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)},ws=t,ws}var Ps,mc;function lC(){if(mc)return Ps;mc=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)}},Ps=r,Ps}var Cs={exports:{}},pc;function cC(){return pc||(pc=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,p,m,b,v,x;!a.empty();){l=a.pop(),d=l.value,h=l.cost,p=r[d]||{};for(f in p)p.hasOwnProperty(f)&&(m=p[f],b=h+m,v=i[f],x=typeof i[f]>"u",(x||v>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})(Cs)),Cs.exports}var vc;function uC(){return vc||(vc=1,(function(e){const t=or(),r=sC(),n=iC(),o=aC(),s=lC(),i=Mh(),a=nr(),l=cC();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(N,q){return N.index-q.index}).map(function(N){return{data:N.data,mode:N.mode,length:N.length}})}function p(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 v(y,g){const w={},P={start:{}};let C=["start"];for(let S=0;S<y.length;S++){const N=y[S],q=[];for(let k=0;k<N.length;k++){const T=N[k],E=""+S+k;q.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]=p(w[A].lastCount+T.length,T.mode)-p(w[A].lastCount,T.mode),w[A].lastCount+=T.length):(w[A]&&(w[A].lastCount=T.length),P[A][E]=p(T.length,T.mode)+4+t.getCharCountIndicator(T.mode,g))}}C=q}for(let S=0;S<C.length;S++)P[C[S]].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),S=v(C,w),N=l.find_path(S.map,"start","end"),q=[];for(let k=1;k<N.length-1;k++)q.push(S.table[N[k]].node);return e.fromArray(m(q))},e.rawSplit=function(g){return e.fromArray(h(g,a.isKanjiModeEnabled()))}})(bs)),bs}var gc;function dC(){if(gc)return ss;gc=1;const e=nr(),t=ta(),r=YP(),n=XP(),o=JP(),s=QP(),i=ZP(),a=Ih(),l=rC(),d=nC(),f=oC(),h=or(),p=uC();function m(S,N){const q=S.size,k=s.getPositions(N);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||q<=E+A))for(let _=-1;_<=7;_++)R+_<=-1||q<=R+_||(A>=0&&A<=6&&(_===0||_===6)||_>=0&&_<=6&&(A===0||A===6)||A>=2&&A<=4&&_>=2&&_<=4?S.set(E+A,R+_,!0,!0):S.set(E+A,R+_,!1,!0))}}function b(S){const N=S.size;for(let q=8;q<N-8;q++){const k=q%2===0;S.set(q,6,k,!0),S.set(6,q,k,!0)}}function v(S,N){const q=o.getPositions(N);for(let k=0;k<q.length;k++){const T=q[k][0],E=q[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?S.set(T+R,E+A,!0,!0):S.set(T+R,E+A,!1,!0)}}function x(S,N){const q=S.size,k=d.getEncodedBits(N);let T,E,R;for(let A=0;A<18;A++)T=Math.floor(A/3),E=A%3+q-8-3,R=(k>>A&1)===1,S.set(T,E,R,!0),S.set(E,T,R,!0)}function y(S,N,q){const k=S.size,T=f.getEncodedBits(N,q);let E,R;for(E=0;E<15;E++)R=(T>>E&1)===1,E<6?S.set(E,8,R,!0):E<8?S.set(E+1,8,R,!0):S.set(k-15+E,8,R,!0),E<8?S.set(8,k-E-1,R,!0):E<9?S.set(8,15-E-1+1,R,!0):S.set(8,15-E-1,R,!0);S.set(k-8,8,1,!0)}function g(S,N){const q=S.size;let k=-1,T=q-1,E=7,R=0;for(let A=q-1;A>0;A-=2)for(A===6&&A--;;){for(let _=0;_<2;_++)if(!S.isReserved(T,A-_)){let O=!1;R<N.length&&(O=(N[R]>>>E&1)===1),S.set(T,A-_,O),E--,E===-1&&(R++,E=7)}if(T+=k,T<0||q<=T){T-=k,k=-k;break}}}function w(S,N,q){const k=new r;q.forEach(function(_){k.put(_.mode.bit,4),k.put(_.getLength(),h.getCharCountIndicator(_.mode,S)),_.write(k)});const T=e.getSymbolTotalCodewords(S),E=a.getTotalCodewordsCount(S,N),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,S,N)}function P(S,N,q){const k=e.getSymbolTotalCodewords(N),T=a.getTotalCodewordsCount(N,q),E=k-T,R=a.getBlocksCount(N,q),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(S.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(S,N,q,k){let T;if(Array.isArray(S))T=p.fromArray(S);else if(typeof S=="string"){let O=N;if(!O){const I=p.rawSplit(S);O=d.getBestVersionForData(I,q)}T=p.fromString(S,O||40)}else throw new Error("Invalid data");const E=d.getBestVersionForData(T,q);if(!E)throw new Error("The amount of data is too big to be stored in a QR Code");if(!N)N=E;else if(N<E)throw new Error(`
41
+ `)},Ex=0,Pr=[];function jx(e){var t=u.useRef([]),r=u.useRef([0,0]),n=u.useRef(),o=u.useState(Ex++)[0],s=u.useState(gd)[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=Xb([e.lockRef.current],(e.shards||[]).map(Ll),!0).filter(Boolean);return p.forEach(function(y){return y.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),p.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=u.useCallback(function(p,y){if("touches"in p&&p.touches.length===2||p.type==="wheel"&&p.ctrlKey)return!i.current.allowPinchZoom;var x=Tn(p),g=r.current,w="deltaX"in p?p.deltaX:g[0]-x[0],P="deltaY"in p?p.deltaY:g[1]-x[1],C,S=p.target,N=Math.abs(w)>Math.abs(P)?"h":"v";if("touches"in p&&N==="h"&&S.type==="range")return!1;var q=window.getSelection(),k=q&&q.anchorNode,A=k?k===S||k.contains(S):!1;if(A)return!1;var E=Ol(N,S);if(!E)return!0;if(E?C=N:(C=N==="v"?"h":"v",E=Ol(N,S)),!E)return!1;if(!n.current&&"changedTouches"in p&&(w||P)&&(n.current=C),!C)return!0;var j=n.current||C;return Nx(j,y,p,j==="h"?w:P)},[]),l=u.useCallback(function(p){var y=p;if(!(!Pr.length||Pr[Pr.length-1]!==s)){var x="deltaY"in y?Ml(y):Tn(y),g=t.current.filter(function(C){return C.name===y.type&&(C.target===y.target||y.target===C.shadowParent)&&qx(C.delta,x)})[0];if(g&&g.should){y.cancelable&&y.preventDefault();return}if(!g){var w=(i.current.shards||[]).map(Ll).filter(Boolean).filter(function(C){return C.contains(y.target)}),P=w.length>0?a(y,w[0]):!i.current.noIsolation;P&&y.cancelable&&y.preventDefault()}}},[]),d=u.useCallback(function(p,y,x,g){var w={name:p,delta:y,target:x,should:g,shadowParent:Rx(x)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(P){return P!==w})},1)},[]),f=u.useCallback(function(p){r.current=Tn(p),n.current=void 0},[]),m=u.useCallback(function(p){d(p.type,Ml(p),p.target,a(p,e.lockRef.current))},[]),h=u.useCallback(function(p){d(p.type,Tn(p),p.target,a(p,e.lockRef.current))},[]);u.useEffect(function(){return Pr.push(s),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:h}),document.addEventListener("wheel",l,wr),document.addEventListener("touchmove",l,wr),document.addEventListener("touchstart",f,wr),function(){Pr=Pr.filter(function(p){return p!==s}),document.removeEventListener("wheel",l,wr),document.removeEventListener("touchmove",l,wr),document.removeEventListener("touchstart",f,wr)}},[]);var v=e.removeScrollBar,b=e.inert;return u.createElement(u.Fragment,null,b?u.createElement(s,{styles:kx(o)}):null,v?u.createElement(bx,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Rx(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Ax=sx(vd,jx);var Yi=u.forwardRef(function(e,t){return u.createElement(No,St({},e,{ref:t,sideCar:Ax}))});Yi.classNames=No.classNames;var qo="Popover",[wd]=xt(qo,[Lr]),pn=Lr(),[Ix,Zt]=wd(qo),Pd=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:s,modal:i=!1}=e,a=pn(t),l=u.useRef(null),[d,f]=u.useState(!1),[m,h]=_t({prop:n,defaultProp:o??!1,onChange:s,caller:qo});return c.jsx(Wi,{...a,children:c.jsx(Ix,{scope:t,contentId:vr(),triggerRef:l,open:m,onOpenChange:h,onOpenToggle:u.useCallback(()=>h(v=>!v),[h]),hasCustomAnchor:d,onCustomAnchorAdd:u.useCallback(()=>f(!0),[]),onCustomAnchorRemove:u.useCallback(()=>f(!1),[]),modal:i,children:r})})};Pd.displayName=qo;var Cd="PopoverAnchor",Sd=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Zt(Cd,r),s=pn(r),{onCustomAnchorAdd:i,onCustomAnchorRemove:a}=o;return u.useEffect(()=>(i(),()=>a()),[i,a]),c.jsx(Co,{...s,...n,ref:t})});Sd.displayName=Cd;var Nd="PopoverTrigger",qd=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Zt(Nd,r),s=pn(r),i=Re(t,o.triggerRef),a=c.jsx(ye.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Id(o.open),...n,ref:i,onClick:pe(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?a:c.jsx(Co,{asChild:!0,...s,children:a})});qd.displayName=Nd;var Xi="PopoverPortal",[Tx,_x]=wd(Xi,{forceMount:void 0}),kd=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,s=Zt(Xi,t);return c.jsx(Tx,{scope:t,forceMount:r,children:c.jsx(Qt,{present:r||s.open,children:c.jsx(So,{asChild:!0,container:o,children:n})})})};kd.displayName=Xi;var Rr="PopoverContent",Ed=u.forwardRef((e,t)=>{const r=_x(Rr,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,s=Zt(Rr,e.__scopePopover);return c.jsx(Qt,{present:n||s.open,children:s.modal?c.jsx(Mx,{...o,ref:t}):c.jsx(Lx,{...o,ref:t})})});Ed.displayName=Rr;var Ox=nn("PopoverContent.RemoveScroll"),Mx=u.forwardRef((e,t)=>{const r=Zt(Rr,e.__scopePopover),n=u.useRef(null),o=Re(t,n),s=u.useRef(!1);return u.useEffect(()=>{const i=n.current;if(i)return md(i)},[]),c.jsx(Yi,{as:Ox,allowPinchZoom:!0,children:c.jsx(jd,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:pe(e.onCloseAutoFocus,i=>{i.preventDefault(),s.current||r.triggerRef.current?.focus()}),onPointerDownOutside:pe(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:pe(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})})}),Lx=u.forwardRef((e,t)=>{const r=Zt(Rr,e.__scopePopover),n=u.useRef(!1),o=u.useRef(!1);return c.jsx(jd,{...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()}})}),jd=u.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:s,disableOutsidePointerEvents:i,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:d,onInteractOutside:f,...m}=e,h=Zt(Rr,r),v=pn(r);return zu(),c.jsx(Li,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:s,children:c.jsx(go,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:f,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:d,onDismiss:()=>h.onOpenChange(!1),children:c.jsx(Gi,{"data-state":Id(h.open),role:"dialog",id:h.contentId,...v,...m,ref:t,style:{...m.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)"}})})})}),Rd="PopoverClose",Ad=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Zt(Rd,r);return c.jsx(ye.button,{type:"button",...n,ref:t,onClick:pe(e.onClick,()=>o.onOpenChange(!1))})});Ad.displayName=Rd;var Dx="PopoverArrow",Fx=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=pn(r);return c.jsx(Ki,{...o,...n,ref:t})});Fx.displayName=Dx;function Id(e){return e?"open":"closed"}var Bx=Pd,$x=Sd,ri=qd,Vx=kd,zx=Ed,ni=Ad;function Hx(e){if(e!==void 0)return{width:typeof e=="number"?`${e}px`:e}}function Td(e){const t=ae();return ee(e,t)}const _d=Bx,Ji=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:m}=Td(a),h=R(f,s,i),v=D(l,m);return r?c.jsx(ri,{asChild:!0,...d,children:c.jsx(n,{ref:t,className:R("inline-flex w-fit",h),style:v,children:o})}):c.jsx(ri,{ref:t,className:h,style:v,...d,children:o})});Ji.displayName=ri.displayName;const Ux=$x,Od=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:m}=Td(a),h=R(f,s,i),v=D(l,m);return r?c.jsx(ni,{asChild:!0,...d,children:c.jsx(n,{ref:t,className:R("inline-flex w-fit",h),style:v,children:o})}):c.jsx(ni,{ref:t,className:h,style:v,...d,children:o})});Od.displayName=ni.displayName;const Qi=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,...m}=e,h=ae(),{roundedPreset:v,roundedStyle:b}=hr(s),{shadowPreset:p,shadowStyle:y}=dn(i),{sxClassName:x,sxInlineStyle:g}=ee(a,h);return c.jsx(Vx,{children:c.jsx(zx,{ref:t,align:r,sideOffset:n,className:R("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",v&&Yt[v],p&&Tr[p],x,d,f),style:D(l,Hx(o),b,y,g),...m})})});Qi.displayName="PopoverContent";var Md=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"}),Wx="VisuallyHidden",Ld=u.forwardRef((e,t)=>c.jsx(ye.span,{...e,ref:t,style:{...Md,...e.style}}));Ld.displayName=Wx;var Gx=Ld,[ko]=xt("Tooltip",[Lr]),Eo=Lr(),Dd="TooltipProvider",Kx=700,oi="tooltip.open",[Yx,Zi]=ko(Dd),Fd=e=>{const{__scopeTooltip:t,delayDuration:r=Kx,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(Yx,{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})};Fd.displayName=Dd;var sn="Tooltip",[Xx,vn]=ko(sn),Bd=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o,onOpenChange:s,disableHoverableContent:i,delayDuration:a}=e,l=Zi(sn,e.__scopeTooltip),d=Eo(t),[f,m]=u.useState(null),h=vr(),v=u.useRef(0),b=i??l.disableHoverableContent,p=a??l.delayDuration,y=u.useRef(!1),[x,g]=_t({prop:n,defaultProp:o??!1,onChange:N=>{N?(l.onOpen(),document.dispatchEvent(new CustomEvent(oi))):l.onClose(),s?.(N)},caller:sn}),w=u.useMemo(()=>x?y.current?"delayed-open":"instant-open":"closed",[x]),P=u.useCallback(()=>{window.clearTimeout(v.current),v.current=0,y.current=!1,g(!0)},[g]),C=u.useCallback(()=>{window.clearTimeout(v.current),v.current=0,g(!1)},[g]),S=u.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>{y.current=!0,g(!0),v.current=0},p)},[p,g]);return u.useEffect(()=>()=>{v.current&&(window.clearTimeout(v.current),v.current=0)},[]),c.jsx(Wi,{...d,children:c.jsx(Xx,{scope:t,contentId:h,open:x,stateAttribute:w,trigger:f,onTriggerChange:m,onTriggerEnter:u.useCallback(()=>{l.isOpenDelayedRef.current?S():P()},[l.isOpenDelayedRef,S,P]),onTriggerLeave:u.useCallback(()=>{b?C():(window.clearTimeout(v.current),v.current=0)},[C,b]),onOpen:P,onClose:C,disableHoverableContent:b,children:r})})};Bd.displayName=sn;var si="TooltipTrigger",$d=u.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=vn(si,r),s=Zi(si,r),i=Eo(r),a=u.useRef(null),l=Re(t,a,o.onTriggerChange),d=u.useRef(!1),f=u.useRef(!1),m=u.useCallback(()=>d.current=!1,[]);return u.useEffect(()=>()=>document.removeEventListener("pointerup",m),[m]),c.jsx(Co,{asChild:!0,...i,children:c.jsx(ye.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...n,ref:l,onPointerMove:pe(e.onPointerMove,h=>{h.pointerType!=="touch"&&!f.current&&!s.isPointerInTransitRef.current&&(o.onTriggerEnter(),f.current=!0)}),onPointerLeave:pe(e.onPointerLeave,()=>{o.onTriggerLeave(),f.current=!1}),onPointerDown:pe(e.onPointerDown,()=>{o.open&&o.onClose(),d.current=!0,document.addEventListener("pointerup",m,{once:!0})}),onFocus:pe(e.onFocus,()=>{d.current||o.onOpen()}),onBlur:pe(e.onBlur,o.onClose),onClick:pe(e.onClick,o.onClose)})})});$d.displayName=si;var ea="TooltipPortal",[Jx,Qx]=ko(ea,{forceMount:void 0}),Vd=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:o}=e,s=vn(ea,t);return c.jsx(Jx,{scope:t,forceMount:r,children:c.jsx(Qt,{present:r||s.open,children:c.jsx(So,{asChild:!0,container:o,children:n})})})};Vd.displayName=ea;var Ar="TooltipContent",zd=u.forwardRef((e,t)=>{const r=Qx(Ar,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...s}=e,i=vn(Ar,e.__scopeTooltip);return c.jsx(Qt,{present:n||i.open,children:i.disableHoverableContent?c.jsx(Hd,{side:o,...s,ref:t}):c.jsx(Zx,{side:o,...s,ref:t})})}),Zx=u.forwardRef((e,t)=>{const r=vn(Ar,e.__scopeTooltip),n=Zi(Ar,e.__scopeTooltip),o=u.useRef(null),s=Re(t,o),[i,a]=u.useState(null),{trigger:l,onClose:d}=r,f=o.current,{onPointerInTransitChange:m}=n,h=u.useCallback(()=>{a(null),m(!1)},[m]),v=u.useCallback((b,p)=>{const y=b.currentTarget,x={x:b.clientX,y:b.clientY},g=ny(x,y.getBoundingClientRect()),w=oy(x,g),P=sy(p.getBoundingClientRect()),C=ay([...w,...P]);a(C),m(!0)},[m]);return u.useEffect(()=>()=>h(),[h]),u.useEffect(()=>{if(l&&f){const b=y=>v(y,f),p=y=>v(y,l);return l.addEventListener("pointerleave",b),f.addEventListener("pointerleave",p),()=>{l.removeEventListener("pointerleave",b),f.removeEventListener("pointerleave",p)}}},[l,f,v,h]),u.useEffect(()=>{if(i){const b=p=>{const y=p.target,x={x:p.clientX,y:p.clientY},g=l?.contains(y)||f?.contains(y),w=!iy(x,i);g?h():w&&(h(),d())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[l,f,i,d,h]),c.jsx(Hd,{...e,ref:s})}),[ey,ty]=ko(sn,{isInside:!1}),ry=sg("TooltipContent"),Hd=u.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:i,...a}=e,l=vn(Ar,r),d=Eo(r),{onClose:f}=l;return u.useEffect(()=>(document.addEventListener(oi,f),()=>document.removeEventListener(oi,f)),[f]),u.useEffect(()=>{if(l.trigger){const m=h=>{h.target?.contains(l.trigger)&&f()};return window.addEventListener("scroll",m,{capture:!0}),()=>window.removeEventListener("scroll",m,{capture:!0})}},[l.trigger,f]),c.jsx(go,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:m=>m.preventDefault(),onDismiss:f,children:c.jsxs(Gi,{"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(ry,{children:n}),c.jsx(ey,{scope:r,isInside:!0,children:c.jsx(Gx,{id:l.contentId,role:"tooltip",children:o||n})})]})})});zd.displayName=Ar;var Ud="TooltipArrow",Wd=u.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=Eo(r);return ty(Ud,r).isInside?null:c.jsx(Ki,{...o,...n,ref:t})});Wd.displayName=Ud;function ny(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 oy(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 sy(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 iy(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,m=l.x,h=l.y;f>n!=h>n&&r<(m-d)*(n-f)/(h-f)+d&&(o=!o)}return o}function ay(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),ly(t)}function ly(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 cy=Fd,uy=Bd,ii=$d,dy=Vd,Gd=zd,Kd=Wd;const fy={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"},my={dark:"fill-gray-950",light:"fill-white",primary:"fill-blue-600"},hy=({delayDuration:e=0,...t})=>c.jsx(cy,{delayDuration:e,...t}),py=uy,vy=dy,Yd=u.forwardRef((e,t)=>{const{asChild:r,asChildWrapper:n="span",children:o,className:s,class:i,sx:a,style:l,...d}=e,f=ae(),{sxClassName:m,sxInlineStyle:h}=ee(a,f),v=R(m,s,i),b=D(l,h);return r?c.jsx(ii,{asChild:!0,...d,children:c.jsx(n,{ref:t,className:R("inline-flex w-fit",v),style:b,children:o})}):c.jsx(ii,{ref:t,className:v,style:b,...d,children:o})});Yd.displayName=ii.displayName;const ta=u.forwardRef((e,t)=>{const{tone:r="dark",className:n,class:o,sx:s,style:i,...a}=e,l=ae(),{sxClassName:d,sxInlineStyle:f}=ee(s,l);return c.jsx(Kd,{ref:t,className:R(my[r],d,n,o),style:D(i,f),...a})});ta.displayName=Kd.displayName;const Xd=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,m=ae(),{sxClassName:h,sxInlineStyle:v}=ee(a,m);return c.jsxs(Gd,{ref:t,sideOffset:o,className:R("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",fy[r],h,s,i),style:D(l,v),...f,children:[d,n?c.jsx(ta,{tone:r}):null]})});Xd.displayName=Gd.displayName;let Jd=null;function Dl(e){Jd=e}function gy(){return Jd}const Yr={placement:"rightTop",duration:4500,closable:!0,offset:24},Qe={...Yr};let Fl=!1;function ai(e){return{...e,placement:e.placement??Qe.placement,duration:e.duration??Qe.duration,closable:e.closable??Qe.closable,offset:e.offset??Qe.offset}}function Yn(){const e=gy();return e||(Fl||(Fl=!0,console.warn("notification 调用失败:请先在应用根节点挂载 NotificationProvider。")),null)}function by(e,t){return typeof t=="string"?{...ai({message:t}),type:e}:{...ai(t),type:e}}function _n(e,t){const r=Yn();return r?r.push(by(e,t)):""}const xy={open(e){const t=Yn();return t?t.push(ai(e)):""},info(e){return _n("info",e)},success(e){return _n("success",e)},warn(e){return _n("warn",e)},error(e){return _n("error",e)},dismiss(e){const t=Yn();t&&t.dismiss(e)},clear(){const e=Yn();e&&e.clear()},config(e){Qe.placement=e.placement??Qe.placement,Qe.duration=e.duration??Qe.duration,Qe.closable=e.closable??Qe.closable,Qe.offset=e.offset??Qe.offset},resetConfig(){Qe.placement=Yr.placement,Qe.duration=Yr.duration,Qe.closable=Yr.closable,Qe.offset=Yr.offset}},yy=200,Sr=24,Qd={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"}},Zd=u.createContext(null);let Bl=0;function wy(){return Bl+=1,`ldkj-notification-${Date.now()}-${Bl}`}function Py(e,t){const r=t??Sr,n=typeof r=="number"?{top:r,right:r,bottom:r,left:r}:{top:r.top??Sr,right:r.right??Sr,bottom:r.bottom??Sr,left:r.left??Sr};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 li(e,t){return`${e}:${t.top}:${t.right}:${t.bottom}:${t.left}`}function Cy(e){const t=new Map;for(const r of e){const n=li(r.placement,r.offset),o=t.get(n);o?o.push(r):t.set(n,[r])}return t}function as(e){return e!=null&&e!==!1}function Sy(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 Ny(e){const t=Qd[e.type],r=e.iconColor??t.iconColor;return typeof e.icon=="string"?c.jsx(Be,{name:e.icon,color:r,size:22,className:"ldkj-notification-icon",title:`${e.type} icon`}):e.icon?.svg||e.icon?.src?c.jsx(Be,{svg:e.icon.svg,src:e.icon.src,color:r,size:22,className:"ldkj-notification-icon",title:`${e.type} icon`}):c.jsx(Be,{name:t.icon,color:r,size:22,className:"ldkj-notification-icon",title:`${e.type} icon`})}function ef(e){const{children:t,placement:r="rightTop",duration:n=4500,queueLimit:o=5,offset:s=Sr,closable:i=!0}=e,[a,l]=u.useState([]),d=u.useRef(new Map),f=u.useRef(new Map),m=u.useRef(new Set),h=u.useCallback(C=>{const S=d.current.get(C);S!==void 0&&(window.clearTimeout(S),d.current.delete(C));const N=f.current.get(C);N!==void 0&&(window.clearTimeout(N),f.current.delete(C))},[]),v=u.useCallback(C=>{m.current.has(C.id)||(m.current.add(C.id),C.onClose?.())},[]),b=u.useCallback(C=>{l(S=>{const N=S.find(q=>q.id===C);return N?(h(C),v(N),S.filter(q=>q.id!==C)):S})},[h,v]),p=u.useCallback(C=>{h(C),l(N=>N.map(q=>q.id===C&&!q.leaving?{...q,leaving:!0}:q));const S=window.setTimeout(()=>{b(C)},yy);f.current.set(C,S)},[h,b]),y=u.useCallback(()=>{l(C=>(C.forEach(S=>{h(S.id),v(S)}),[]))},[h,v]),x=u.useCallback(C=>{const S=C.id??wy();m.current.delete(S),h(S);const N=C.placement??r,q=Py(C.offset,s),k={id:S,type:C.type??"info",message:C.message,description:C.description,content:C.content,actions:C.actions,placement:N,offset:q,closable:C.closable??i,icon:C.icon,iconColor:C.iconColor,onClose:C.onClose,leaving:!1},A=li(N,q);l(j=>{const T=[...j.filter(L=>L.id!==S),k],O=T.filter(L=>li(L.placement,L.offset)===A);if(O.length<=o)return T;const _=O.length-o,z=new Set(O.slice(0,_).map(L=>L.id));return O.slice(0,_).forEach(L=>{h(L.id),v(L)}),T.filter(L=>!z.has(L.id))});const E=C.duration??n;if(E>0){const j=window.setTimeout(()=>{p(S)},E);d.current.set(S,j)}return S},[h,i,p,n,v,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:x,dismiss:p,clear:y}),[y,p,x]);u.useEffect(()=>(Dl(g),()=>Dl(null)),[g]);const w=u.useMemo(()=>Cy(a),[a]),P=Array.from(w.entries());return c.jsxs(Zd.Provider,{value:g,children:[t,P.map(([C,S])=>{const N=S[0];return N?c.jsx("div",{className:R("ldkj-notification-viewport",`ldkj-notification-viewport-${N.placement}`),style:Sy(N.placement,N.offset),"aria-hidden":S.length===0,children:S.map(q=>{const k=Qd[q.type];return c.jsxs("div",{className:R("ldkj-notification-card",`ldkj-notification-card-${q.type}`,q.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:Ny(q)}),c.jsxs("div",{className:"ldkj-notification-main",children:[c.jsx("div",{className:"ldkj-notification-title",children:q.message}),as(q.description)?c.jsx("div",{className:"ldkj-notification-description",children:q.description}):null,as(q.content)?c.jsx("div",{className:"ldkj-notification-content",children:q.content}):null,as(q.actions)?c.jsx("div",{className:"ldkj-notification-actions",children:q.actions}):null]}),q.closable?c.jsx("button",{type:"button",className:"ldkj-notification-close","aria-label":"关闭通知",onClick:()=>p(q.id),children:c.jsx(Be,{name:"close",size:16,className:"ldkj-notification-close-icon"})}):null]},q.id)})},C):null})]})}ef.displayName="NotificationProvider";function qy(){const e=u.useContext(Zd);if(!e)throw new Error("useNotification 必须在 NotificationProvider 内使用。");const t=u.useCallback(i=>e.push(i),[e]),r=u.useCallback(i=>e.push(On("info",i)),[e]),n=u.useCallback(i=>e.push(On("success",i)),[e]),o=u.useCallback(i=>e.push(On("warn",i)),[e]),s=u.useCallback(i=>e.push(On("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 On(e,t){return typeof t=="string"?{type:e,message:t}:{...t,type:e}}const ky={primary:"border-slate-200 border-t-blue-600",muted:"border-slate-200 border-t-slate-500",success:"border-emerald-100 border-t-emerald-600",warning:"border-amber-100 border-t-amber-600",danger:"border-rose-100 border-t-rose-600"};function tf(e){const{size:t=18,strokeWidth:r=2,tone:n="primary",label:o="loading",spinning:s=!0,className:i,class:a,style:l,...d}=e;return s?c.jsx("span",{role:"status","aria-label":o,className:R("inline-block shrink-0 animate-spin rounded-full border-solid",ky[n],i,a),style:{width:t,height:t,borderWidth:r,...l},...d,children:c.jsx("span",{className:"sr-only",children:o})}):null}function Ey(e,t){const[r,n]=u.useState(e&&t<=0);return u.useEffect(()=>{if(!e){n(!1);return}if(t<=0){n(!0);return}const o=window.setTimeout(()=>n(!0),t);return()=>window.clearTimeout(o)},[t,e]),r}function jy(e){const{text:t="加载中...",variant:r="inline",size:n=18,tone:o="primary",spinning:s=!0,delay:i=0,children:a,className:l,class:d,...f}=e,h=Ey(s,i)?c.jsxs("div",{role:"status","aria-live":"polite",className:R("inline-flex items-center justify-center gap-2 text-sm text-slate-600",r==="block"&&"min-h-24 w-full",r==="overlay"&&"absolute inset-0 z-10 bg-white/75 backdrop-blur-[1px]",r==="fullscreen"&&"fixed inset-0 z-50 bg-white/80 backdrop-blur-[1px]",l,d),...f,children:[c.jsx(tf,{size:n,tone:o}),t?c.jsx("span",{children:t}):null]}):null;return a?c.jsxs("div",{className:"relative","aria-busy":s||void 0,children:[a,r==="overlay"||r==="fullscreen"?h:null]}):h?c.jsx("div",{className:R(r==="block"&&"flex w-full justify-center"),children:h}):null}let zr=0,$l="";function Ry(){return typeof document>"u"?()=>{}:(zr===0&&($l=document.body.style.overflow,document.body.style.overflow="hidden"),zr+=1,()=>{zr=Math.max(0,zr-1),zr===0&&(document.body.style.overflow=$l)})}function Ay(e){switch(e){case"left":return{position:"left-0 top-0 h-full",open:"translate-x-0",closed:"-translate-x-full"};case"top":return{position:"left-0 top-0 w-full",open:"translate-y-0",closed:"-translate-y-full"};case"bottom":return{position:"bottom-0 left-0 w-full",open:"translate-y-0",closed:"translate-y-full"};default:return{position:"right-0 top-0 h-full",open:"translate-x-0",closed:"translate-x-full"}}}function Iy(e){const{open:t,title:r,width:n=360,height:o=320,placement:s="right",className:i,class:a,overlayClassName:l,bodyClassName:d,footer:f,children:m,onOpenChange:h,animated:v=!0,animationDuration:b=220,lockScroll:p=!0,maskClosable:y=!0,closeOnEsc:x=!0,destroyOnClose:g=!0,role:w="dialog",...P}=e,[C,S]=u.useState(t),[N,q]=u.useState(t),k=u.useRef(null),A=Ay(s),E=s==="left"||s==="right";return u.useEffect(()=>{if(t){S(!0);const I=window.requestAnimationFrame(()=>q(!0));return()=>window.cancelAnimationFrame(I)}if(q(!1),!v){g&&S(!1);return}const j=window.setTimeout(()=>{g&&S(!1)},b);return()=>window.clearTimeout(j)},[v,b,g,t]),u.useEffect(()=>{if(!(!t||!p))return Ry()},[p,t]),u.useEffect(()=>{if(!t||!x)return;const j=I=>{I.key==="Escape"&&h?.(!1)};return window.addEventListener("keydown",j),()=>window.removeEventListener("keydown",j)},[x,h,t]),u.useEffect(()=>{t&&k.current?.focus()},[t]),C?c.jsxs("div",{className:"fixed inset-0 z-50","aria-hidden":!N,children:[c.jsx("div",{className:R("absolute inset-0 bg-black/45",v&&"transition-opacity ease-out",N?"opacity-100":"opacity-0",l),style:{transitionDuration:v?`${b}ms`:"0ms"},onClick:()=>{y&&h?.(!1)}}),c.jsxs("div",{ref:k,tabIndex:-1,role:w,"aria-modal":"true","aria-label":typeof r=="string"?r:void 0,className:R("absolute flex max-h-full max-w-full flex-col bg-white shadow-xl outline-none",A.position,v&&"transition-transform ease-out will-change-transform",N?A.open:A.closed,i,a),style:{width:E?n:void 0,height:E?void 0:o,transitionDuration:v?`${b}ms`:"0ms"},...P,children:[r?c.jsxs("div",{className:"flex shrink-0 items-center justify-between border-b border-slate-200 px-4 py-3",children:[c.jsx("div",{className:"min-w-0 text-base font-medium text-slate-900",children:r}),c.jsx("button",{type:"button","aria-label":"Close drawer",className:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded text-slate-500 transition hover:bg-slate-100 hover:text-slate-900 focus:outline-none focus:ring-2 focus:ring-blue-500/30",onClick:()=>h?.(!1),children:"x"})]}):null,c.jsx("div",{className:R("min-h-0 flex-1 overflow-auto p-4",d),children:m}),f?c.jsx("div",{className:"shrink-0 border-t border-slate-200 px-4 py-3",children:f}):null]})]}):null}const Ty={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"},_y={info:"bg-blue-600 text-white",success:"bg-emerald-600 text-white",warning:"bg-amber-500 text-white",error:"bg-rose-600 text-white"},Oy={info:"i",success:"ok",warning:"!",error:"!"};function My(e){const{className:t,class:r,variant:n="info",title:o,description:s,children:i,icon:a,showIcon:l=!!a,action:d,closable:f=!1,open:m,onClose:h,onOpenChange:v,role:b=n==="error"||n==="warning"?"alert":"status",...p}=e,[y,x]=u.useState(!0);if(!(m??y))return null;const w=()=>{x(!1),v?.(!1),h?.()};return c.jsx("div",{role:b,className:R("rounded-md border p-3",Ty[n],t,r),...p,children:c.jsxs("div",{className:"flex items-start gap-3",children:[l?c.jsx("span",{"aria-hidden":!0,className:R("mt-0.5 inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1 text-[10px] font-semibold leading-none",_y[n]),children:a??Oy[n]}):null,c.jsxs("div",{className:"min-w-0 flex-1",children:[o?c.jsx("div",{className:"font-medium",children:o}):null,s?c.jsx("div",{className:"mt-1 text-sm opacity-90",children:s}):i,d?c.jsx("div",{className:"mt-2",children:d}):null]}),f?c.jsx("button",{type:"button","aria-label":"Close alert",className:"inline-flex h-6 w-6 shrink-0 items-center justify-center rounded text-current opacity-70 transition hover:bg-current/10 hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-current/30",onClick:w,children:"x"}):null]})})}const Ly={normal:"#2563eb",success:"#059669",warning:"#d97706",exception:"#e11d48"},Dy={xs:48,sm:64,md:96,lg:120,xl:144},Fy={xs:4,sm:6,md:8,lg:10,xl:12};function By(e,t){return!Number.isFinite(e)||!Number.isFinite(t)||t<=0?0:Math.max(0,Math.min(100,e/t*100))}function $y(e,t){return typeof e=="number"?e:t==="circle"?Dy[e]:Fy[e]}function rf(e){const{value:t=0,max:r=100,showInfo:n=!1,type:o="line",status:s,size:i="md",strokeWidth:a,strokeColor:l,trailColor:d="#e2e8f0",format:f,className:m,class:h,...v}=e,b=By(t,r),p=s??(b>=100?"success":"normal"),y=l??Ly[p],x=f?f(Math.round(b),t,r):`${Math.round(b)}%`,g=$y(i,o),w=a??(o==="circle"?8:g);if(o==="circle"){const P=Math.max(1,Math.min(48,w)),C=50-P/2,S=2*Math.PI*C,N=S*(1-b/100);return c.jsxs("div",{role:"progressbar","aria-valuemin":0,"aria-valuemax":r,"aria-valuenow":Math.max(0,Math.min(r,t)),className:R("relative inline-flex items-center justify-center",m,h),style:{width:g,height:g},...v,children:[c.jsxs("svg",{viewBox:"0 0 100 100",className:"h-full w-full -rotate-90",children:[c.jsx("circle",{cx:"50",cy:"50",r:C,fill:"none",stroke:d,strokeWidth:P}),c.jsx("circle",{cx:"50",cy:"50",r:C,fill:"none",stroke:y,strokeLinecap:"round",strokeWidth:P,strokeDasharray:S,strokeDashoffset:N,className:"transition-[stroke-dashoffset,stroke] duration-300 ease-out"})]}),n?c.jsx("div",{className:"absolute inset-0 flex items-center justify-center text-sm font-medium text-slate-700",children:x}):null]})}return c.jsxs("div",{role:"progressbar","aria-valuemin":0,"aria-valuemax":r,"aria-valuenow":Math.max(0,Math.min(r,t)),className:R("w-full",m,h),...v,children:[c.jsx("div",{className:"w-full overflow-hidden rounded-full",style:{height:w,backgroundColor:d},children:c.jsx("div",{className:"h-full transition-[width,background-color] duration-300 ease-out",style:{width:`${b}%`,backgroundColor:y}})}),n?c.jsx("div",{className:"mt-1 text-xs text-slate-500",children:x}):null]})}function jo(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 Ro="Checkbox",[Vy]=xt(Ro),[zy,ra]=Vy(Ro);function Hy(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:m}=e,[h,v]=_t({prop:r,defaultProp:o??!1,onChange:l,caller:Ro}),[b,p]=u.useState(null),[y,x]=u.useState(null),g=u.useRef(!1),w=b?!!i||!!b.closest("form"):!0,P={checked:h,disabled:s,setChecked:v,control:b,setControl:p,name:a,form:i,value:f,hasConsumerStoppedPropagationRef:g,required:d,defaultChecked:Wt(o)?!1:o,isFormControl:w,bubbleInput:y,setBubbleInput:x};return c.jsx(zy,{scope:t,...P,children:Uy(m)?m(P):n})}var nf="CheckboxTrigger",of=u.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:r,...n},o)=>{const{control:s,value:i,disabled:a,checked:l,required:d,setControl:f,setChecked:m,hasConsumerStoppedPropagationRef:h,isFormControl:v,bubbleInput:b}=ra(nf,e),p=Re(o,f),y=u.useRef(l);return u.useEffect(()=>{const x=s?.form;if(x){const g=()=>m(y.current);return x.addEventListener("reset",g),()=>x.removeEventListener("reset",g)}},[s,m]),c.jsx(ye.button,{type:"button",role:"checkbox","aria-checked":Wt(l)?"mixed":l,"aria-required":d,"data-state":df(l),"data-disabled":a?"":void 0,disabled:a,value:i,...n,ref:p,onKeyDown:pe(t,x=>{x.key==="Enter"&&x.preventDefault()}),onClick:pe(r,x=>{m(g=>Wt(g)?!0:!g),b&&v&&(h.current=x.isPropagationStopped(),h.current||x.stopPropagation())})})});of.displayName=nf;var sf=u.forwardRef((e,t)=>{const{__scopeCheckbox:r,name:n,checked:o,defaultChecked:s,required:i,disabled:a,value:l,onCheckedChange:d,form:f,...m}=e;return c.jsx(Hy,{__scopeCheckbox:r,checked:o,defaultChecked:s,disabled:a,required:i,onCheckedChange:d,name:n,form:f,value:l,internal_do_not_use_render:({isFormControl:h})=>c.jsxs(c.Fragment,{children:[c.jsx(of,{...m,ref:t,__scopeCheckbox:r}),h&&c.jsx(uf,{__scopeCheckbox:r})]})})});sf.displayName=Ro;var af="CheckboxIndicator",lf=u.forwardRef((e,t)=>{const{__scopeCheckbox:r,forceMount:n,...o}=e,s=ra(af,r);return c.jsx(Qt,{present:n||Wt(s.checked)||s.checked===!0,children:c.jsx(ye.span,{"data-state":df(s.checked),"data-disabled":s.disabled?"":void 0,...o,ref:t,style:{pointerEvents:"none",...e.style}})})});lf.displayName=af;var cf="CheckboxBubbleInput",uf=u.forwardRef(({__scopeCheckbox:e,...t},r)=>{const{control:n,hasConsumerStoppedPropagationRef:o,checked:s,defaultChecked:i,required:a,disabled:l,name:d,value:f,form:m,bubbleInput:h,setBubbleInput:v}=ra(cf,e),b=Re(r,v),p=jo(s),y=Po(n);u.useEffect(()=>{const g=h;if(!g)return;const w=window.HTMLInputElement.prototype,C=Object.getOwnPropertyDescriptor(w,"checked").set,S=!o.current;if(p!==s&&C){const N=new Event("click",{bubbles:S});g.indeterminate=Wt(s),C.call(g,Wt(s)?!1:s),g.dispatchEvent(N)}},[h,p,s,o]);const x=u.useRef(Wt(s)?!1:s);return c.jsx(ye.input,{type:"checkbox","aria-hidden":!0,defaultChecked:i??x.current,required:a,disabled:l,name:d,value:f,form:m,...t,tabIndex:-1,ref:b,style:{...t.style,...y,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});uf.displayName=cf;function Uy(e){return typeof e=="function"}function Wt(e){return e==="indeterminate"}function df(e){return Wt(e)?"indeterminate":e?"checked":"unchecked"}const ff=u.createContext(null);function Wy(e){return u.createElement(ff.Provider,{value:e.value},e.children)}function Gy(){return u.useContext(ff)}const Ky=()=>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"})}),Yy=()=>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"})}),gn=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,children:i,checked:a,disabled:l,name:d,onCheckedChange:f,value:m,...h}=e,v=ae(),{sxClassName:b,sxInlineStyle:p}=ee(o,v),y=Gy(),x=typeof m=="string"?m:void 0,g=!!(y&&x!==void 0),w=a??(g?y?.selectedValues.has(x):void 0),P=l||(g?y?.disabled:!1),C=d??(g?y?.name:void 0);return c.jsx(sf,{ref:t,checked:w,disabled:P,name:C,onCheckedChange:S=>{f?.(S),g&&a===void 0&&y?.toggleValue(x,S===!0)},value:m,className:R("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:D(s,p),...h,children:i??c.jsxs(lf,{className:R("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(Ky,{}),c.jsx(Yy,{})]})})});gn.displayName="Checkbox";var Xy=Symbol.for("react.lazy"),io=u[" use ".trim().toString()];function Jy(e){return typeof e=="object"&&e!==null&&"then"in e}function mf(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Xy&&"_payload"in e&&Jy(e._payload)}function Qy(e){const t=Zy(e),r=u.forwardRef((n,o)=>{let{children:s,...i}=n;mf(s)&&typeof io=="function"&&(s=io(s._payload));const a=u.Children.toArray(s),l=a.find(t0);if(l){const d=l.props.children,f=a.map(m=>m===l?u.Children.count(d)>1?u.Children.only(null):u.isValidElement(d)?d.props.children:null:m);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 Zy(e){const t=u.forwardRef((r,n)=>{let{children:o,...s}=r;if(mf(o)&&typeof io=="function"&&(o=io(o._payload)),u.isValidElement(o)){const i=n0(o),a=r0(s,o.props);return o.type!==u.Fragment&&(a.ref=n?Mi(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 e0=Symbol("radix.slottable");function t0(e){return u.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===e0}function r0(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 n0(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 o0=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ao=o0.reduce((e,t)=>{const r=Qy(`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}},{}),s0="Label",hf=u.forwardRef((e,t)=>c.jsx(Ao.label,{...e,ref:t,onMouseDown:r=>{r.target.closest("button, input, select, textarea")||(e.onMouseDown?.(r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));hf.displayName=s0;var ci=hf;function i0(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function a0(e){return e==="center"?"center":e==="right"?"flex-end":"flex-start"}const Io=u.forwardRef((e,t)=>{const{children:r,className:n,class:o,colon:s,containerClass:i,containerClassName:a,containerStyle:l,containerSx:d,label:f,labelAlign:m="left",labelWidth:h,position:v="left",required:b=!1,sx:p,style:y,...x}=e,g=ae(),{sxClassName:w,sxInlineStyle:P}=ee(p,g),{sxClassName:C,sxInlineStyle:S}=ee(d,g),N=D({width:i0(h),justifyContent:a0(m)},y,P),q=R("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(ci,{ref:t,className:q,style:N,...x,children:r}):c.jsxs("div",{className:R("flex w-fit",v==="top"?"flex-col items-start gap-1.5":"flex-row items-center gap-2",C,a,i),style:D(l,S),children:[c.jsxs(ci,{ref:t,className:q,style:N,...x,children:[b?c.jsx("span",{className:"text-red-500 font-serif",children:"*"}):null,c.jsx("span",{children:f}),s===!0?":":s??null]}),r]})});Io.displayName="Label";const Vl={xs:"gap-1",sm:"gap-2",md:"gap-3",lg:"gap-4"};function l0(e){return e===void 0?{className:Vl.md}:e==="xs"||e==="sm"||e==="md"||e==="lg"?{className:Vl[e]}:{style:{gap:typeof e=="number"?`${e}px`:e}}}function c0(e,t){if(e.type==="single"){const r=e.value??t[0];return r===void 0?[]:[r]}return e.value??t}function u0(e){return e.type==="single"?e.defaultValue===void 0?[]:[e.defaultValue]:e.defaultValue??[]}function pf(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:m,value:h,defaultValue:v,onChange:b,...p}=e,y=ae(),{sxClassName:x,sxInlineStyle:g}=ee(d,y),w=l0(i),[P,C]=u.useState(()=>u0(e)),S=c0(e,P),N=new Set(S);function q(E){if(e.value===void 0&&C(E),e.type==="single"){e.onChange?.(E[0]);return}e.onChange?.(E)}function k(E,j){if(e.type==="single"){q(j?[E]:[]);return}const I=new Set(S);j?I.add(E):I.delete(E),q(Array.from(I))}const A=u.useMemo(()=>({disabled:s,name:a,selectedValues:N,toggleValue:k}),[s,a,N]);return c.jsx("div",{role:"group",className:R("flex",o==="horizontal"?"flex-row flex-wrap":"flex-col",w.className,x,t,r),style:D(f,w.style,g),...p,children:c.jsxs(Wy,{value:A,children:[l?.map(E=>{const j=s||E.disabled,I=N.has(E.value);return c.jsxs(Io,{className:R("inline-flex items-start gap-2 text-sm leading-5 text-slate-700",j&&"cursor-not-allowed text-slate-400",!j&&"cursor-pointer",E.className),children:[c.jsx(gn,{...E.checkboxProps,name:a,value:E.value,checked:I,disabled:j,onCheckedChange:T=>k(E.value,T===!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]})})}pf.displayName="CheckboxGroup";function To(e,t){const r=n=>c.jsx(c.Fragment,{children:n.children});return r.displayName=e,Object.defineProperty(r,"__ldkjInputSlot",{value:t}),r}const d0=To("Input.Prefix","prefix"),f0=To("Input.Suffix","suffix"),m0=To("Input.AddonBefore","addonBefore"),h0=To("Input.AddonAfter","addonAfter"),na=e=>c.jsx(c.Fragment,{children:e.children});na.displayName="Input.Addon";Object.defineProperty(na,"__ldkjInputSlot",{value:"addon"});function p0(e){if(!u.isValidElement(e))return;const r=e.type.__ldkjInputSlot;return r==="addon"?(e.props.position??"before")==="after"?"addonAfter":"addonBefore":r}function v0(e,t){const r={addonAfter:t.addonAfter,addonBefore:t.addonBefore,prefix:t.prefix,suffix:t.suffix};return u.Children.forEach(e,n=>{const o=p0(n);!o||!u.isValidElement(n)||(r[o]=n.props.children)}),r}function g0(e){return Object.values(e).some(t=>t!=null)}const vf=u.forwardRef((e,t)=>{const{addonAfter:r,addonBefore:n,children:o,className:s,class:i,prefix:a,suffix:l,sx:d,style:f,type:m="text",...h}=e,v=ae(),{sxClassName:b,sxInlineStyle:p}=ee(d,v),y=v0(o,{addonAfter:r,addonBefore:n,prefix:a,suffix:l}),x=g0(y),g=R(x?"min-w-0 flex-1 border-0 bg-transparent px-0 py-0 text-sm text-slate-900 outline-none file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-slate-700 placeholder:text-slate-400 focus-visible:outline-none disabled:cursor-not-allowed disabled:text-slate-500":"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",!x&&b,!x&&s,!x&&i),w=c.jsx("input",{ref:t,type:m,className:g,style:x?void 0:D(f,p),...h});if(!x)return w;const P=!!h.disabled;return c.jsxs("span",{className:R("inline-flex h-9 w-full items-stretch rounded-md text-sm shadow-sm transition-colors",P&&"opacity-70",b,s,i),style:D(f,p),children:[y.addonBefore?c.jsx("span",{className:"inline-flex shrink-0 items-center rounded-l-md border border-r-0 border-solid border-slate-300 bg-slate-50 px-3 text-slate-600",children:y.addonBefore}):null,c.jsxs("span",{className:R("inline-flex min-w-0 flex-1 items-center gap-2 border border-solid border-slate-300 bg-white px-3 text-slate-900 transition-colors",y.addonBefore?"rounded-l-none":"rounded-l-md",y.addonAfter?"rounded-r-none":"rounded-r-md","focus-within:border-blue-500 focus-within:ring-2 focus-within:ring-blue-500/30",P&&"bg-slate-50 text-slate-500"),children:[y.prefix?c.jsx("span",{className:"inline-flex shrink-0 items-center text-slate-500",children:y.prefix}):null,w,y.suffix?c.jsx("span",{className:"inline-flex shrink-0 items-center text-slate-500",children:y.suffix}):null]}),y.addonAfter?c.jsx("span",{className:"inline-flex shrink-0 items-center rounded-r-md border border-l-0 border-solid border-slate-300 bg-slate-50 px-3 text-slate-600",children:y.addonAfter}):null]})});vf.displayName="Input";const oa=Object.assign(vf,{Addon:na,AddonAfter:h0,AddonBefore:m0,Prefix:d0,Suffix:f0});function lr(e){if(e.trim()==="")return null;const t=Number(e);return Number.isFinite(t)?t:null}function zl(e){if(!Number.isFinite(e))return 0;const[,t=""]=String(e).split(".");return t.length}function b0(e,t,r){if(!Number.isFinite(r)||!r||r<=0)return e;const n=Number.isFinite(t)?t??0:0,o=Math.max(zl(n),zl(r)),s=n+Math.round((e-n)/r)*r;return Number(s.toFixed(Math.min(o+2,12)))}function x0(e,t){return Number.isFinite(t)?e.toFixed(Math.max(0,Math.floor(t??0))):String(e)}function y0(e,t){const r=lr(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=b0(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=x0(n,t.precision);return{value:n,valueAsString:o}}function cr(e){return e==null?"":String(e)}function Hl(e){return!e.disabled&&!e.readOnly}function gf(e={}){const{clampOnBlur:t=!1,defaultValue:r="",max:n,min:o,onValueChange:s,onValueCommit:i,precision:a,step:l,value:d}=e,f=d!==void 0,[m,h]=u.useState(()=>cr(r)),v=f?cr(d):m,b=u.useMemo(()=>lr(v),[v]),p=u.useCallback(w=>{f||h(w)},[f]),y=u.useCallback(w=>{const P=cr(w);p(P),s?.(lr(P),{reason:"set",valueAsString:P})},[s,p]),x=u.useCallback((w=v)=>{const P=cr(w),C=y0(P,{clampOnBlur:t,max:n,min:o,precision:a,step:l}),S=t?C.valueAsString:P,N=t?C.value:lr(P);return p(S),{value:N,valueAsString:S}},[t,n,o,a,l,p,v]),g=u.useCallback((w={})=>{const{disabled:P,onBlur:C,onChange:S,onKeyDown:N,readOnly:q,...k}=w;return{...k,disabled:P,inputMode:"decimal",max:n,min:o,readOnly:q,step:l,type:"number",value:v,onBlur:A=>{if(Hl({disabled:P,readOnly:q})){const E=x(A.currentTarget.value);t&&(A.currentTarget.value=E.valueAsString,s?.(E.value,{event:A,reason:"commit",valueAsString:E.valueAsString})),i?.(E.value,{event:A,reason:"commit",valueAsString:E.valueAsString})}C?.(A)},onChange:A=>{S?.(A),p(A.currentTarget.value),s?.(lr(A.currentTarget.value),{event:A,reason:"input",valueAsString:A.currentTarget.value})},onKeyDown:A=>{if(N?.(A),A.key==="Enter"&&!A.defaultPrevented&&Hl({disabled:P,readOnly:q})){const E=x(A.currentTarget.value);t&&(A.currentTarget.value=E.valueAsString,s?.(E.value,{event:A,reason:"commit",valueAsString:E.valueAsString})),i?.(E.value,{event:A,reason:"commit",valueAsString:E.valueAsString})}}}},[t,x,n,o,s,i,a,l,p,v]);return{commitValue:x,getInputProps:g,numberValue:b,setValue:y,value:v}}function w0(e={}){const{defaultValue:t="",onValueChange:r,...n}=e,[o,s]=u.useState(()=>cr(t)),[i,a]=u.useState(()=>lr(cr(t))),l=u.useCallback(m=>{const h=cr(m);s(h),a(lr(h))},[]),d=u.useCallback(m=>{s(m.currentTarget.value)},[]),f=u.useCallback((m,h)=>{a(m),h.reason==="commit"&&s(h.valueAsString),r?.(m,h)},[r]);return{inputProps:{...n,onChange:d,onValueChange:f,value:o},numberValue:i,setValue:l,value:o}}const bf=u.forwardRef((e,t)=>{const{clampOnBlur:r=!1,defaultValue:n,disabled:o,max:s,min:i,onBlur:a,onChange:l,onKeyDown:d,onValueChange:f,onValueCommit:m,precision:h,readOnly:v,step:b,value:p,...y}=e,x=gf({clampOnBlur:r,defaultValue:n,max:s,min:i,onValueChange:f,onValueCommit:m,precision:h,step:b,value:p});return c.jsx(oa,{...y,...x.getInputProps({disabled:o,onBlur:a,onChange:l,onKeyDown:d,readOnly:v}),ref:t})});bf.displayName="InputNumber";const P0={numeric:/^[0-9]$/,alphabetic:/^[A-Za-z]$/,alphanumeric:/^[A-Za-z0-9]$/},C0={numeric:"[0-9]*",alphabetic:"[A-Za-z]*",alphanumeric:"[A-Za-z0-9]*"},S0={sm:"h-8 w-8 text-sm",md:"h-10 w-10 text-base",lg:"h-12 w-12 text-lg"},N0={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 q0(e){return Number.isFinite(e)?Math.max(1,Math.floor(e??6)):6}function k0(e,t){const r=t?typeof t=="string"?new RegExp(t):t:P0[e];return n=>(r.lastIndex=0,r.test(n))}function E0(e,t,r){return Array.from(e).filter(r).slice(0,t).join("")}function j0(e,t){return typeof t=="string"?t:t instanceof RegExp?t.source:C0[e]}const xf=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:m,onComplete:h,type:v="numeric",pattern:b,pasteTransformer:p,mask:y=!1,placeholder:x="",autoFocus:g=!0,oneTimeCode:w=!0,size:P="md",variant:C="outline",invalid:S=!1,separator:N,style:q,sx:k,inputMode:A,autoComplete:E,onBlur:j,onFocus:I,onKeyDown:T,onPaste:O,"aria-label":_,...z}=e,L=ae(),{sxClassName:Y,sxInlineStyle:F}=ee(k,L),G=q0(o),me=u.useMemo(()=>k0(v,b),[b,v]),te=u.useCallback(re=>E0(re,G,me),[G,me]),Q=r!==void 0,[U,X]=u.useState(()=>te(n)),$=te(Q?r??"":U),Z=u.useRef(null),H=u.useRef($),K=u.useRef(null),[W,J]=u.useState(!1),le=Array.from($),de=Math.min(le.length,G-1),ve=Array.from(x)[0]??"",ge=typeof y=="string"?y:"•";u.useImperativeHandle(t,()=>Z.current),u.useEffect(()=>{H.current=$},[$]),u.useEffect(()=>{Q||X(re=>te(re))},[Q,te]);const se=u.useCallback(()=>{const re=Z.current;if(!re)return;const fe=re.value.length;try{re.setSelectionRange(fe,fe)}catch{}},[]),we=u.useCallback(re=>{const fe=te(re),Se=H.current;H.current=fe,Q||X(fe),fe!==Se&&m?.(fe),fe.length===G?K.current!==fe&&(K.current=fe,h?.(fe)):K.current=null,window.requestAnimationFrame(se)},[Q,se,te,m,h,G]),ke=u.useCallback(()=>{s||(Z.current?.focus(),window.requestAnimationFrame(se))},[s,se]);u.useEffect(()=>{if(!g||s)return;const re=Z.current,fe=re?.ownerDocument;!re||!fe||fe.activeElement!==fe.body||(re.focus(),se())},[g,s,se]);const Me=re=>{we(re.target.value)},ne=re=>{J(!0),I?.(re),window.requestAnimationFrame(se)},Pe=re=>{J(!1),j?.(re)},Ce=re=>{if(T?.(re),!re.defaultPrevented){if(re.key==="Backspace"||re.key==="Delete"){re.preventDefault(),!i&&H.current.length>0&&we(H.current.slice(0,-1));return}(re.key==="ArrowLeft"||re.key==="ArrowRight"||re.key==="Home"||re.key==="End")&&(re.preventDefault(),se())}},ue=re=>{if(O?.(re),re.defaultPrevented||i)return;re.preventDefault();const fe=re.clipboardData.getData("text"),Se=p?p(fe):fe;we(`${H.current}${Se}`)},_e=re=>{s||(re.preventDefault(),ke())},he=re=>re>=G-1?null:typeof N=="function"?N(re):N;return c.jsx("div",{className:R("inline-flex flex-col gap-2",Y,a,l),style:D(q,F),"data-disabled":s?"":void 0,"data-readonly":i?"":void 0,"data-complete":$.length===G?"":void 0,children:c.jsxs("div",{className:"relative inline-flex items-center gap-2",onMouseDown:_e,children:[c.jsx("input",{...z,ref:Z,type:"text",value:$,disabled:s,readOnly:i,maxLength:G,inputMode:A??(v==="numeric"?"numeric":"text"),autoComplete:w?"one-time-code":E,pattern:j0(v,b),"aria-label":_??"一次性验证码","aria-invalid":S||z["aria-invalid"]?!0:void 0,className:R("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:Me,onFocus:ne,onBlur:Pe,onKeyDown:Ce,onPaste:ue}),Array.from({length:G}).map((re,fe)=>{const Se=le[fe]??"",Te=Se.length>0,Ze=W&&!s&&fe===de,Ge=Te?y?ge:Se:ve,ut=he(fe);return c.jsxs(u.Fragment,{children:[c.jsx("span",{"aria-hidden":"true",className:R("inline-flex shrink-0 select-none items-center justify-center font-semibold transition-colors",S0[P],N0[C],!Te&&"font-normal text-slate-400",Ze&&"border-blue-500 ring-2 ring-blue-500/30",S&&"border-red-500 text-red-600",Ze&&S&&"ring-red-500/25",s&&"cursor-not-allowed bg-slate-50 text-slate-400 opacity-70",i&&!s&&"bg-slate-50",f),"data-active":Ze?"":void 0,"data-filled":Te?"":void 0,children:Ge}),ut?c.jsx("span",{"aria-hidden":"true",className:"select-none text-sm text-slate-400",children:ut}):null]},fe)})]})})});xf.displayName="InputOPT";function Ul(e){return e==null?"":String(e)}function R0(e){return typeof e=="string"||typeof e=="number"?String(e):""}function A0(e,t){const r=t.trim().toLowerCase();return r?[e.value,e.textValue,R0(e.label),...e.keywords??[]].filter(Boolean).join(" ").toLowerCase().includes(r):!0}function Wl(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 I0(e,t){const r=window.HTMLInputElement.prototype;Object.getOwnPropertyDescriptor(r,"value")?.set?.call(e,t),e.dispatchEvent(new Event("input",{bubbles:!0}))}function T0(e,t){if(e){if(typeof e=="function"){e(t);return}e.current=t}}function _0(...e){return u.useCallback(t=>{for(const r of e)T0(r,t)},e)}const yf=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:m=A0,onBlur:h,onChange:v,onFocus:b,onKeyDown:p,onOptionSelect:y,onValueChange:x,openOnFocus:g=!0,optionClassName:w,optionStyle:P,optionSx:C,options:S=[],readOnly:N,renderOption:q,rootClassName:k,rootStyle:A,rootSx:E,value:j,...I}=e,T=ae(),O=u.useRef(null),_=u.useRef(null),z=u.useRef(null),L=u.useId(),[Y,F]=u.useState(()=>Ul(s)),[G,me]=u.useState(!1),[te,Q]=u.useState(-1),U=j!==void 0,X=U?Ul(j):Y,$=!i&&!N,Z=ee(E,T),H=ee(d,T),K=ee(C,T),W=_0(O,t),J=u.useMemo(()=>m===!1?S:S.filter(ne=>m(ne,X)),[m,X,S]),le=G&&$&&(J.length>0||f!==null),de=te>=0?J[te]:void 0,ve=le&&de?`${L}-option-${te}`:void 0;u.useEffect(()=>{if(!G)return;const ne=Pe=>{const Ce=Pe.target;Ce instanceof Node&&_.current&&!_.current.contains(Ce)&&(me(!1),Q(-1))};return document.addEventListener("pointerdown",ne),()=>{document.removeEventListener("pointerdown",ne)}},[G]),u.useEffect(()=>{te>=J.length&&Q(-1)},[te,J.length]);const ge=(ne,Pe)=>{ne.disabled||(z.current=ne,U||F(ne.value),O.current&&I0(O.current,ne.value),me(!1),Q(-1),y?.(ne,Pe),O.current?.focus(),window.setTimeout(()=>{z.current===ne&&(z.current=null)},0))},se=ne=>{const Pe=ne.currentTarget.value,Ce=z.current;z.current=null,U||F(Pe),$&&me(!Ce),Q(-1),v?.(ne),x?.(Pe,{event:ne,option:Ce??void 0,reason:Ce?"select":"input"})},we=ne=>{$&&g&&me(!0),b?.(ne)},ke=ne=>{const Pe=ne.relatedTarget;if(Pe instanceof Node&&_.current?.contains(Pe)){h?.(ne);return}me(!1),Q(-1),h?.(ne)},Me=ne=>{if(!$){p?.(ne);return}ne.key==="ArrowDown"?(ne.preventDefault(),me(!0),Q(Pe=>Wl(J,Pe<0?-1:Pe,1))):ne.key==="ArrowUp"?(ne.preventDefault(),me(!0),Q(Pe=>Wl(J,Pe<0?J.length:Pe,-1))):ne.key==="Enter"&&G&&de?(ne.preventDefault(),ge(de,ne)):(ne.key==="Escape"||ne.key==="Tab")&&(me(!1),Q(-1)),p?.(ne)};return c.jsxs("div",{ref:_,className:R("relative w-full",Z.sxClassName,k),style:D(A,Z.sxInlineStyle),children:[c.jsx(oa,{...I,ref:W,autoComplete:r,class:n,className:o,disabled:i,readOnly:N,role:"combobox","aria-autocomplete":"list","aria-controls":le?L:void 0,"aria-expanded":le,"aria-activedescendant":ve,value:X,onBlur:ke,onChange:se,onFocus:we,onKeyDown:Me}),le?c.jsx("div",{id:L,role:"listbox",className:R("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",H.sxClassName,a),style:D(l,H.sxInlineStyle),children:J.length>0?J.map((ne,Pe)=>{const Ce=te===Pe,ue=ne.value===X,_e=!!ne.disabled;return c.jsx("div",{id:`${L}-option-${Pe}`,role:"option","aria-disabled":_e||void 0,"aria-selected":ue,className:R("grid cursor-default select-none gap-0.5 rounded-sm px-2 py-1.5 text-sm leading-5 outline-none transition-colors",Ce&&"bg-blue-50 text-blue-700",ue&&!Ce&&"bg-slate-50 text-slate-900",_e?"pointer-events-none text-slate-400 opacity-70":"text-slate-700",K.sxClassName,w),style:D(P,K.sxInlineStyle),onMouseDown:he=>he.preventDefault(),onMouseEnter:()=>{_e||Q(Pe)},onClick:he=>ge(ne,he),children:q?q(ne,{active:Ce,disabled:_e,inputValue:X,selected:ue}):c.jsxs(c.Fragment,{children:[c.jsx("span",{className:"truncate font-medium",children:ne.label}),ne.description?c.jsx("span",{className:"truncate text-xs text-slate-500",children:ne.description}):null]})},`${ne.value}-${Pe}`)}):c.jsx("div",{className:"px-2 py-2 text-sm text-slate-500",children:f})}):null]})});yf.displayName="AutoComplete";function wf(e){const t=e+"CollectionProvider",[r,n]=xt(t),[o,s]=r(t,{collectionRef:{current:null},itemMap:new Map}),i=p=>{const{scope:y,children:x}=p,g=Oe.useRef(null),w=Oe.useRef(new Map).current;return c.jsx(o,{scope:y,itemMap:w,collectionRef:g,children:x})};i.displayName=t;const a=e+"CollectionSlot",l=nn(a),d=Oe.forwardRef((p,y)=>{const{scope:x,children:g}=p,w=s(a,x),P=Re(y,w.collectionRef);return c.jsx(l,{ref:P,children:g})});d.displayName=a;const f=e+"CollectionItemSlot",m="data-radix-collection-item",h=nn(f),v=Oe.forwardRef((p,y)=>{const{scope:x,children:g,...w}=p,P=Oe.useRef(null),C=Re(y,P),S=s(f,x);return Oe.useEffect(()=>(S.itemMap.set(P,{ref:P,...w}),()=>{S.itemMap.delete(P)})),c.jsx(h,{[m]:"",ref:C,children:g})});v.displayName=f;function b(p){const y=s(e+"CollectionConsumer",p);return Oe.useCallback(()=>{const g=y.collectionRef.current;if(!g)return[];const w=Array.from(g.querySelectorAll(`[${m}]`));return Array.from(y.itemMap.values()).sort((S,N)=>w.indexOf(S.ref.current)-w.indexOf(N.ref.current))},[y.collectionRef,y.itemMap])}return[{Provider:i,Slot:d,ItemSlot:v},b,n]}var O0=u.createContext(void 0);function _o(e){const t=u.useContext(O0);return e||t||"ltr"}var ls="rovingFocusGroup.onEntryFocus",M0={bubbles:!1,cancelable:!0},bn="RovingFocusGroup",[ui,Pf,L0]=wf(bn),[D0,Oo]=xt(bn,[L0]),[F0,B0]=D0(bn),Cf=u.forwardRef((e,t)=>c.jsx(ui.Provider,{scope:e.__scopeRovingFocusGroup,children:c.jsx(ui.Slot,{scope:e.__scopeRovingFocusGroup,children:c.jsx($0,{...e,ref:t})})}));Cf.displayName=bn;var $0=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,...m}=e,h=u.useRef(null),v=Re(t,h),b=_o(s),[p,y]=_t({prop:i,defaultProp:a??null,onChange:l,caller:bn}),[x,g]=u.useState(!1),w=At(d),P=Pf(r),C=u.useRef(!1),[S,N]=u.useState(0);return u.useEffect(()=>{const q=h.current;if(q)return q.addEventListener(ls,w),()=>q.removeEventListener(ls,w)},[w]),c.jsx(F0,{scope:r,orientation:n,dir:b,loop:o,currentTabStopId:p,onItemFocus:u.useCallback(q=>y(q),[y]),onItemShiftTab:u.useCallback(()=>g(!0),[]),onFocusableItemAdd:u.useCallback(()=>N(q=>q+1),[]),onFocusableItemRemove:u.useCallback(()=>N(q=>q-1),[]),children:c.jsx(ye.div,{tabIndex:x||S===0?-1:0,"data-orientation":n,...m,ref:v,style:{outline:"none",...e.style},onMouseDown:pe(e.onMouseDown,()=>{C.current=!0}),onFocus:pe(e.onFocus,q=>{const k=!C.current;if(q.target===q.currentTarget&&k&&!x){const A=new CustomEvent(ls,M0);if(q.currentTarget.dispatchEvent(A),!A.defaultPrevented){const E=P().filter(_=>_.focusable),j=E.find(_=>_.active),I=E.find(_=>_.id===p),O=[j,I,...E].filter(Boolean).map(_=>_.ref.current);qf(O,f)}}C.current=!1}),onBlur:pe(e.onBlur,()=>g(!1))})})}),Sf="RovingFocusGroupItem",Nf=u.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:s,children:i,...a}=e,l=vr(),d=s||l,f=B0(Sf,r),m=f.currentTabStopId===d,h=Pf(r),{onFocusableItemAdd:v,onFocusableItemRemove:b,currentTabStopId:p}=f;return u.useEffect(()=>{if(n)return v(),()=>b()},[n,v,b]),c.jsx(ui.ItemSlot,{scope:r,id:d,focusable:n,active:o,children:c.jsx(ye.span,{tabIndex:m?0:-1,"data-orientation":f.orientation,...a,ref:t,onMouseDown:pe(e.onMouseDown,y=>{n?f.onItemFocus(d):y.preventDefault()}),onFocus:pe(e.onFocus,()=>f.onItemFocus(d)),onKeyDown:pe(e.onKeyDown,y=>{if(y.key==="Tab"&&y.shiftKey){f.onItemShiftTab();return}if(y.target!==y.currentTarget)return;const x=H0(y,f.orientation,f.dir);if(x!==void 0){if(y.metaKey||y.ctrlKey||y.altKey||y.shiftKey)return;y.preventDefault();let w=h().filter(P=>P.focusable).map(P=>P.ref.current);if(x==="last")w.reverse();else if(x==="prev"||x==="next"){x==="prev"&&w.reverse();const P=w.indexOf(y.currentTarget);w=f.loop?U0(w,P+1):w.slice(P+1)}setTimeout(()=>qf(w))}}),children:typeof i=="function"?i({isCurrentTabStop:m,hasTabStop:p!=null}):i})})});Nf.displayName=Sf;var V0={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function z0(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function H0(e,t,r){const n=z0(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return V0[n]}function qf(e,t=!1){const r=document.activeElement;for(const n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function U0(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var kf=Cf,Ef=Nf,sa="Radio",[W0,jf]=xt(sa),[G0,K0]=W0(sa),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,[m,h]=u.useState(null),v=Re(t,y=>h(y)),b=u.useRef(!1),p=m?d||!!m.closest("form"):!0;return c.jsxs(G0,{scope:r,checked:o,disabled:i,children:[c.jsx(ye.button,{type:"button",role:"radio","aria-checked":o,"data-state":_f(o),"data-disabled":i?"":void 0,disabled:i,value:a,...f,ref:v,onClick:pe(e.onClick,y=>{o||l?.(),p&&(b.current=y.isPropagationStopped(),b.current||y.stopPropagation())})}),p&&c.jsx(Tf,{control:m,bubbles:!b.current,name:n,value:a,checked:o,required:s,disabled:i,form:d,style:{transform:"translateX(-100%)"}})]})});Rf.displayName=sa;var Af="RadioIndicator",If=u.forwardRef((e,t)=>{const{__scopeRadio:r,forceMount:n,...o}=e,s=K0(Af,r);return c.jsx(Qt,{present:n||s.checked,children:c.jsx(ye.span,{"data-state":_f(s.checked),"data-disabled":s.disabled?"":void 0,...o,ref:t})})});If.displayName=Af;var Y0="RadioBubbleInput",Tf=u.forwardRef(({__scopeRadio:e,control:t,checked:r,bubbles:n=!0,...o},s)=>{const i=u.useRef(null),a=Re(i,s),l=jo(r),d=Po(t);return u.useEffect(()=>{const f=i.current;if(!f)return;const m=window.HTMLInputElement.prototype,v=Object.getOwnPropertyDescriptor(m,"checked").set;if(l!==r&&v){const b=new Event("click",{bubbles:n});v.call(f,r),f.dispatchEvent(b)}},[l,r,n]),c.jsx(ye.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}})});Tf.displayName=Y0;function _f(e){return e?"checked":"unchecked"}var X0=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Mo="RadioGroup",[J0]=xt(Mo,[Oo,jf]),Of=Oo(),Mf=jf(),[Q0,Z0]=J0(Mo),Lf=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:m,...h}=e,v=Of(r),b=_o(d),[p,y]=_t({prop:s,defaultProp:o??null,onChange:m,caller:Mo});return c.jsx(Q0,{scope:r,name:n,required:i,disabled:a,value:p,onValueChange:y,children:c.jsx(kf,{asChild:!0,...v,orientation:l,dir:b,loop:f,children:c.jsx(ye.div,{role:"radiogroup","aria-required":i,"aria-orientation":l,"data-disabled":a?"":void 0,dir:b,...h,ref:t})})})});Lf.displayName=Mo;var Df="RadioGroupItem",Ff=u.forwardRef((e,t)=>{const{__scopeRadioGroup:r,disabled:n,...o}=e,s=Z0(Df,r),i=s.disabled||n,a=Of(r),l=Mf(r),d=u.useRef(null),f=Re(t,d),m=s.value===o.value,h=u.useRef(!1);return u.useEffect(()=>{const v=p=>{X0.includes(p.key)&&(h.current=!0)},b=()=>h.current=!1;return document.addEventListener("keydown",v),document.addEventListener("keyup",b),()=>{document.removeEventListener("keydown",v),document.removeEventListener("keyup",b)}},[]),c.jsx(Ef,{asChild:!0,...a,focusable:!i,active:m,children:c.jsx(Rf,{disabled:i,required:s.required,checked:m,...l,...o,name:s.name,ref:f,onCheck:()=>s.onValueChange(o.value),onKeyDown:pe(v=>{v.key==="Enter"&&v.preventDefault()}),onFocus:pe(o.onFocus,()=>{h.current&&d.current?.click()})})})});Ff.displayName=Df;var ew="RadioGroupIndicator",Bf=u.forwardRef((e,t)=>{const{__scopeRadioGroup:r,...n}=e,o=Mf(r);return c.jsx(If,{...o,...n,ref:t})});Bf.displayName=ew;var tw=Lf,rw=Ff,nw=Bf;const ia=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,children:i,...a}=e,l=ae(),{sxClassName:d,sxInlineStyle:f}=ee(o,l);return c.jsx(rw,{ref:t,className:R("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:D(s,f),...a,children:i??c.jsx(nw,{className:"inline-flex h-4 w-4 items-center justify-center",children:c.jsx("span",{className:"h-2 w-2 rounded-full bg-current"})})})});ia.displayName="Radio";const Gl={xs:"gap-1",sm:"gap-2",md:"gap-3",lg:"gap-4"};function ow(e){return e===void 0?{className:Gl.md}:e==="xs"||e==="sm"||e==="md"||e==="lg"?{className:Gl[e]}:{style:{gap:typeof e=="number"?`${e}px`:e}}}const $f=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,...m}=e,h=ae(),{sxClassName:v,sxInlineStyle:b}=ee(d,h),p=ow(a);return c.jsxs(tw,{ref:t,disabled:i,className:R("flex",s==="horizontal"?"flex-row flex-wrap":"flex-col",p.className,v,r,n),style:D(f,p.style,b),...m,children:[l?.map(y=>{const x=i||y.disabled;return c.jsxs(Io,{className:R("inline-flex items-start gap-2 text-sm leading-5 text-slate-700",x&&"cursor-not-allowed text-slate-400",!x&&"cursor-pointer",y.className),children:[c.jsx(ia,{...y.radioProps,value:y.value,disabled:x}),c.jsxs("span",{className:"grid gap-0.5",children:[c.jsx("span",{children:y.label}),y.description?c.jsx("span",{className:"text-xs text-slate-500",children:y.description}):null]})]},y.value)}),o]})});$f.displayName="RadioGroup";const sw={sm:"h-8 w-8",md:"h-9 w-9",lg:"h-10 w-10"},iw={sm:"h-4 w-4",md:"h-[18px] w-[18px]",lg:"h-5 w-5"};function cs(e,t){return Number.isFinite(e)?Math.max(0,Math.min(t,Math.round(e))):0}function aw(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 lw(e){const{fill:t,size:r,active:n,preview:o,disabled:s,tabIndex:i,onClick:a,onFocus:l,onKeyDown:d,onMouseEnter:f,setRef:m,label:h,character:v}=e,b=v??c.jsx(aw,{className:iw[r]});return c.jsx("button",{ref:m,type:"button",role:"radio","aria-checked":n,"aria-label":h,disabled:s,tabIndex:i,onClick:a,onFocus:l,onKeyDown:d,onMouseEnter:f,className:R("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",sw[r],o?"scale-[1.03]":"scale-100"),children:c.jsxs("span",{"aria-hidden":"true",className:R("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 Vf=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:m,size:h="md",character:v,className:b,class:p,style:y,sx:x,onMouseLeave:g,onKeyDown:w,...P}=e,C=ae(),{sxClassName:S,sxInlineStyle:N}=ee(x,C),q=r!==void 0,k=Math.max(1,Math.floor(o||1)),[A,E]=u.useState(()=>cs(n,k)),[j,I]=u.useState(null),T=u.useRef([]),O=cs(q?r??0:A,k),_=j??O,z=u.useId(),L=u.useCallback(te=>{if(a||l)return;const Q=cs(te,k),U=s&&Q===O?0:Q;q||E(U),f?.(U)},[s,O,a,q,f,l,k]),Y=u.useCallback(()=>{I(null),m?.(null)},[m]),F=u.useCallback(te=>{T.current[te]?.focus()},[]),G=te=>{Y(),g?.(te)},me=(te,Q)=>{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"){Y(),F(0),L(0);return}if(te.key==="End"){Y(),F(k-1),L(k);return}const X=te.key==="ArrowRight"||te.key==="ArrowUp"?1:-1,$=Math.max(0,Math.min(k-1,Q+X));Y(),F($),L($+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":h,className:R("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,S,b,p),style:D(y,N),onMouseLeave:G,children:[d?c.jsx("input",{type:"hidden",name:d,value:String(O)}):null,Array.from({length:k}).map((te,Q)=>{const U=Q+1,X=Math.max(0,Math.min(1,_-Q))*100,$=O===U,Z=j!==null;return c.jsx(lw,{fill:X,size:h,active:$,preview:Z&&U<=_,disabled:a||l,tabIndex:O===0?Q===0?0:-1:$?0:-1,label:`选择 ${U} 星`,character:v,setRef:H=>{T.current[Q]=H},onClick:()=>{Y(),L(U)},onFocus:()=>{a||l||Y()},onKeyDown:H=>me(H,Q),onMouseEnter:()=>{a||l||(I(U),m?.(U))}},`${z}-${U}`)})]})});Vf.displayName="Rate";function us(e){const t=ae();return ee(e,t)}function Kl(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 Mn(e){return Array.isArray(e)?e.filter(t=>t!==""):[]}function cw(e){return Array.isArray(e)?e:[]}function Dr(e,t){return e?.[t]??t}function uw(e,t){const r=Dr(t,"value");return typeof e[r]=="string"?e[r]:e.value}function dw(e,t){const r=Dr(t,"label");return e[r]??e.label??e.value??""}function fw(e,t){const r=Dr(t,"children");return cw(e[r])}function mw(e,t){const r=Dr(t,"disabled");return!!(e[r]??e.disabled)}function hw(e,t){const r=Dr(t,"isLeaf"),n=e[r];return typeof n=="boolean"?n:e.isLeaf}function pw(e,t){const r=Dr(t,"loading");return!!(e[r]??e.loading)}function zf(e,t){const r=uw(e,t);if(typeof r!="string"||r.length===0)return null;const n=fw(e,t),o=hw(e,t),s=typeof o=="boolean"?o:n.length===0;return{option:e,value:r,label:dw(e,t),children:n,disabled:mw(e,t),isLeaf:s,loading:pw(e,t)}}function di(e,t){const r=[];for(const n of e){const o=zf(n,t);o&&r.push(o)}return r}function ds(e,t,r){const n=[],o=[];let s=e;for(const i of t){const a=di(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 vw(e,t,r){const n=[];let o=e;n.push(di(o,r));for(const s of t){const i=di(o,r).find(a=>a.value===s);if(!i||(o=i.children,o.length===0))break;n.push(o.map(a=>zf(a,r)).filter(a=>!!a))}return n}function fs(e,t){return t.every((r,n)=>e[n]===r)}function gw(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 bw(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 xw(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 yw(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 ms(){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 Hf=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:m,renderOption:h,fieldNames:v,changeOnSelect:b=!1,expandTrigger:p="click",clearable:y=!1,contentWidth:x="auto",maxPanelHeight:g=336,side:w="bottom",align:P="start",sideOffset:C=8,contentClassName:S,contentClass:N,contentStyle:q,contentSx:k,class:A,sx:E,readOnly:j=!1,required:I,loadData:T,optionClassName:O,optionClass:_,optionStyle:z,optionSx:L,className:Y,style:F,disabled:G=!1,name:me,id:te,autoFocus:Q,onClick:U,onFocus:X,onBlur:$,onKeyDown:Z,...H}=e,[K,W]=Kl({value:n===void 0?void 0:Mn(n),defaultValue:Mn(o),onChange:V=>{}}),[J,le]=Kl({value:a,defaultValue:l,onChange:i}),[de,ve]=u.useState(()=>Mn(o)),[ge,se]=u.useState(null),we=u.useRef(null),ke=u.useRef(!0),Me=u.useRef(J),{sxClassName:ne,sxInlineStyle:Pe}=us(E),{sxClassName:Ce,sxInlineStyle:ue}=us(k),{sxClassName:_e,sxInlineStyle:he}=us(L);u.useEffect(()=>()=>{ke.current=!1},[]),u.useEffect(()=>{J&&!Me.current&&ve(K),Me.current=J},[J,K]);const re=u.useMemo(()=>ds(r,K,v),[v,r,K]),fe=re.matched.map(V=>V.option),Se=J?de:K,Te=u.useMemo(()=>ds(r,Se,v),[Se,v,r]),Ze=u.useMemo(()=>vw(r,Se,v),[Se,v,r]),Ge=u.useMemo(()=>{const V=Te.matched[Te.matched.length-1];return!J||!V?!1:V.children.length===0&&!V.isLeaf},[Te.matched,J]),ut=u.useMemo(()=>re.labels.length>0?m?m(re.labels,fe):gw(re.labels,f):d,[m,d,fe,re.labels,f]),yt=n!==void 0,He=u.useCallback((V,ce)=>{const be=Mn(V),Ne=ds(r,be,v);yt||W(be),s?.(be,{...ce,path:Ne.path,options:Ne.matched.map(Ie=>Ie.option),labels:Ne.labels})},[v,yt,s,r,W]),nt=u.useCallback(V=>{G||j||(yt||W([]),ve([]),s?.([],{reason:"clear",path:[],options:[],labels:[],event:V}))},[G,yt,s,j,W]),Ke=u.useRef(T);u.useEffect(()=>{Ke.current=T},[T]);const Lt=u.useCallback(async(V,ce,be)=>{if(G||j||V.disabled)return;const Ne=V.children.length>0,Ie=Ne||!V.isLeaf&&!!Ke.current,et=ce.join("");if(Ie&&!Ne&&Ke.current){se(et);try{await Ke.current([V.option],{option:V.option,path:ce,options:r})}finally{ke.current&&se(ot=>ot===et?null:ot)}}if(b||!Ie){He(ce,{reason:"select",option:V.option,event:be}),le(!1);return}ve(ce),le(!0)},[b,He,G,r,j,le]),Ye=u.useCallback(V=>{G||(ve(V),le(!0))},[G,le]);u.useImperativeHandle(t,()=>({focus:()=>we.current?.focus(),blur:()=>we.current?.blur(),open:()=>Ye(K),close:()=>le(!1),clear:()=>nt(),getValue:()=>K.slice()}),[nt,Ye,K,le]);const B=ge!==null;return c.jsxs("div",{className:"relative inline-flex w-full items-stretch",children:[c.jsxs(_d,{open:J,onOpenChange:le,children:[c.jsx(Ji,{asChild:!0,children:c.jsxs("button",{ref:we,id:te,type:"button",className:R("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",j&&"cursor-default",y&&K.length>0&&!G&&!j?"pr-16":"pr-9",ne,Y,A),style:D(F,Pe),autoFocus:Q,disabled:G,"aria-haspopup":"dialog","aria-expanded":J,"aria-disabled":G||void 0,"aria-readonly":j||void 0,onClick:V=>{U?.(V)},onFocus:X,onBlur:$,onKeyDown:V=>{Z?.(V),!G&&((V.key==="ArrowDown"||V.key==="Enter")&&(V.preventDefault(),le(!0)),V.key==="Escape"&&(V.preventDefault(),le(!1)))},...H,children:[c.jsx("span",{className:R("min-w-0 flex-1 truncate",re.labels.length===0&&"text-slate-400"),children:ut}),c.jsx(bw,{className:"absolute right-3 h-4 w-4 text-slate-500"})]})}),y&&K.length>0&&!G&&!j?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(),nt(V)},children:c.jsx(yw,{className:"h-3.5 w-3.5"})}):null,c.jsx(Qi,{side:w,align:P,sideOffset:C,width:x,className:R("overflow-hidden p-0",Ce,S,N),style:D(q,ue),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:[Ze.map((V,ce)=>{const be=Se.slice(0,ce);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:B&&ce===Ze.length-1?c.jsxs("span",{className:"inline-flex items-center gap-2",children:[c.jsx(ms,{}),"加载中"]}):"暂无可选项"},`empty-${ce}`):c.jsx("div",{className:R("min-w-48 border-r border-slate-200 last:border-r-0",ce>0&&"bg-slate-50/40"),children:c.jsx("div",{className:"max-h-full overflow-y-auto p-1",children:V.map(Ne=>{const Ie=[...be,Ne.value],et=K.length===Ie.length&&fs(K,Ie),ot=fs(Se,Ie)||fs(Ie,Se),dt=ge===Ie.join("")||Ne.loading,mt=Ne.children.length>0||!Ne.isLeaf&&!!Ke.current&&!dt,Wo={active:ot,checked:et,disabled:Ne.disabled,hasChildren:mt,isLeaf:Ne.isLeaf,level:ce,loading:dt,path:Ie,selected:et};return c.jsxs("button",{type:"button",className:R("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",et&&"bg-blue-50 text-blue-700",ot&&!et&&"bg-slate-100 text-slate-900",Ne.disabled&&"cursor-not-allowed text-slate-400 opacity-70 hover:bg-transparent hover:text-slate-400",_e,O,_),style:D(z,he),disabled:G||j||Ne.disabled,onMouseEnter:()=>{p==="hover"&&!Ne.disabled&&mt&&(ve(Ie),le(!0))},onClick:M=>{M.preventDefault(),Lt(Ne,Ie,M)},children:[c.jsx("span",{className:"min-w-0 flex-1 truncate",children:h?h(Ne.option,Wo):Ne.label}),dt?c.jsx(ms,{}):mt?c.jsx(xw,{className:"h-4 w-4 shrink-0 text-slate-400"}):null]},Ie.join(""))})})},`column-${ce}`)}),Ge?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:B?c.jsxs("span",{className:"inline-flex items-center gap-2",children:[c.jsx(ms,{}),"加载中"]}):"请继续选择"}):null]})})]}),me?c.jsx("input",{type:"hidden",name:me,required:I,value:K.length>0?JSON.stringify(K):""}):null]})});Hf.displayName="Cascader";function ww(e){return Array.isArray(e)?Number(e[0]??0):Number(e??0)}function Yl(e,t){const r=Number(e);return Number.isFinite(r)?r:t}function Xl(e,t){return e===void 0?t:typeof e=="number"?`${e}px`:e}const Pw={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 Uf(e){const{className:t,class:r,defaultValue:n,max:o,min:s,style:i,sx:a,thumbSize:l,trackSize:d,value:f,variant:m="solid",onValueChange:h,...v}=e,b=ae(),{sxClassName:p,sxInlineStyle:y}=ee(a,b),x=f!==void 0,[g,w]=u.useState(()=>ww(n)),P=x?f:g,C=Yl(s,0),S=Yl(o,100),N=Number.isFinite(P)?P:C,q=S>C?(N-C)/(S-C)*100:0,k=Math.max(0,Math.min(100,q)),A=E=>{const j=Number(E.currentTarget.value);x||w(j),h?.(j)};return c.jsx("input",{...v,type:"range",...x?{value:f}:{defaultValue:n},min:s,max:o,onChange:A,className:R("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:D({...Pw[m],"--ldkj-slider-thumb-size":Xl(l,"1.05rem"),"--ldkj-slider-track-size":Xl(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,y)})}Uf.displayName="Slider";function Cw({children:e}){return c.jsx("span",{className:"text-rose-500",children:e??"*"})}const Lo=u.createContext(null);function an(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function it(e){return Array.isArray(e)?e.map(t=>it(t)):an(e)?Object.fromEntries(Object.entries(e).map(([t,r])=>[t,it(r)])):e}function xn(e){return typeof e=="string"||typeof e=="number"?[e]:Array.from(e)}function ht(e){return JSON.stringify(xn(e))}function Sw(e){return xn(e).join(".")}function sr(e,t){let r=e;for(const n of xn(t)){if(r==null)return;r=r[n]}return r}function Xr(e,t,r){const n=xn(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]:an(s)?{...s}:typeof a=="number"?[]:{};return d[a]=l?r:o(d[a],i+1),d};return o(e,0)}function Nw(e,t){const r=xn(t);if(r.length===0)return e;const n=(o,s)=>{if(!Array.isArray(o)&&!an(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 qw(e,t){return Xr({},e,t)}function kw(e,t){const r=(n,o)=>{if(an(n)&&an(o)){const s={...n};for(const[i,a]of Object.entries(o))s[i]=r(s[i],a);return s}return it(o)};return r(e,t)}function Jl(){return{errors:[],touched:!1,validating:!1}}function Ew(e){return e==null||e===""||Array.isArray(e)&&e.length===0}function jw(e){return e===void 0?[]:Array.isArray(e)?e:[e]}function Rw(e,t,r){if(!e)return!0;const n=jw(t??r);return n.length===0||n.includes(e)}function Aw(e,t){return u.isValidElement(e)?e:typeof e=="string"||typeof e=="number"?String(e):e instanceof Error?e.message:t}function Iw(e){let t=it({}),r=it(t),n={},o=0;const s=new Set,i=new Map,a=new Map,l=()=>{for(const g of s)g()},d=g=>{const w=ht(g),P=a.get(w);if(P)return P;const C=Jl();return a.set(w,C),C},f=(g,w)=>{const P=ht(g);a.set(P,{...d(g),...w})},m=()=>Array.from(i.values()).map(g=>({name:g.name,value:sr(t,g.name),...d(g.name)})),h=g=>{n.onFieldsChange?.(g,m())},v=async(g,w)=>{const P=g.rules.filter(S=>Rw(w.trigger,S.validateTrigger,g.validateTrigger));if(P.length===0)return[];w.validateOnly||(f(g.name,{validating:!0}),l());const C=[];for(const S of P){const N=sr(t,g.name),q=S.transform?S.transform(N):N,k=S.message??"该字段为必填项";if(S.required&&Ew(q)){if(C.push(k),g.validateFirst)break;continue}if(S.validator){try{const A=await S.validator(q,it(t),x);A===!1?C.push(k):A!==void 0&&A!==!0&&C.push(A)}catch(A){C.push(Aw(A,k))}if(g.validateFirst&&C.length>0)break}}return!w.validateOnly&&w.id===o&&(f(g.name,{errors:C,validating:!1}),h([{name:g.name,value:sr(t,g.name),...d(g.name),errors:C,validating:!1}]),l()),C},b=async(g,w={})=>{const P=++o,C=g?.map(ht),S=Array.from(i.values()).filter(k=>C?C.includes(ht(k.name)):!0),q=(await Promise.all(S.map(async k=>({field:k,errors:await v(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(q.length>0)throw{errorFields:q,outOfDate:P!==o,values:it(t)};return it(t)},p=(g,w)=>{const P=ht(g);for(const C of i.values())(ht(C.name)===P||C.dependencies.some(N=>ht(N)===P))&&b([C.name],{trigger:w}).catch(()=>{})},y=(g,w,P={})=>{t=Xr(t,g,w),P.touched&&f(g,{touched:!0});const C={name:g,value:w,...d(g)};P.source!=="external"&&(n.onValuesChange?.(qw(g,w),it(t)),h([C])),l(),P.trigger&&p(g,P.trigger)},x={getFieldValue:g=>sr(t,g),getFieldsValue:g=>g?g.reduce((w,P)=>Xr(w,P,sr(t,P)),{}):it(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)=>y(g,w,{source:"external"}),setFieldsValue:g=>{t=kw(t,g),l()},setFields:g=>{for(const w of g)"value"in w&&(t=Xr(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});h(g),l()},resetFields:g=>{const w=g??Array.from(i.values()).map(P=>P.name);if(!g)t=it(r),a.clear();else for(const P of w)t=Xr(t,P,sr(r,P)),a.delete(ht(P));h(w.map(P=>({name:P,value:sr(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=it(g??{}),w&&(t=it(r))},registerField:g=>{const w=ht(g.name);return i.set(w,g),a.has(w)||a.set(w,Jl()),P=>{i.delete(w),P?.preserve===!1&&(t=Nw(t,g.name),a.delete(w),l())}},setFieldValue:y,validateFields:b}};return x}function aa(e){const t=u.useRef(null);return t.current||(t.current=e??Iw()),[e??t.current]}function la(){const e=u.useContext(Lo);if(!e)throw new Error("Form hooks must be used inside a Form or receive a form instance.");return e}function Do(e,t){const r=u.useContext(Lo),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 Wf(e,t){return Do(e,t)}function Tw(e,t){const r=u.useContext(Lo),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 en={emptyValue:"",trigger:"onChange",valuePropName:"value"},Ql={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:en,InputNumber:en,InputOPT:en,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,trigger:"onValueChange",valuePropName:"value"}};function _w(e){const t=e.type;return t.displayName??t.name??t.render?.displayName??t.render?.name}function Ow(e){if(!e)return en;const t=_w(e);return t&&Ql[t]?Ql[t]:en}function Mw(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 Lw(e){return e===void 0?[]:Array.isArray(e)?[...e]:[e]}function Dw(e,t,r){return e!==void 0?e:r==="checked"?!1:t.emptyValue}function Zl(e,t){return(...r)=>{e?.(...r),t(...r)}}function Fw(e){const{className:t,class:r,form:n,initialValues:o,nativeSubmit:s=!1,onFieldsChange:i,onFinish:a,onFinishFailed:l,onReset:d,onSubmit:f,onValuesChange:m,style:h,sx:v,...b}=e,[p]=aa(n),y=ae(),{sxClassName:x,sxInlineStyle:g}=ee(v,y),w=u.useRef(!1),P=!s&&(n!==void 0||a!==void 0||l!==void 0||m!==void 0||i!==void 0);p.__INTERNAL__.setCallbacks({onFieldsChange:i,onFinish:a,onFinishFailed:l,onValuesChange:m}),p.__INTERNAL__.setInitialValues(o,!w.current),w.current=!0;const C=N=>{f?.(N),!(N.defaultPrevented||!P)&&(N.preventDefault(),p.submit())},S=N=>{d?.(N),!(N.defaultPrevented||!P)&&p.resetFields()};return c.jsx(Lo.Provider,{value:p,children:c.jsx("form",{className:R("space-y-4",x,t,r),style:D(h,g),onReset:S,onSubmit:C,...b})})}function ca(e){const{children:t,className:r,class:n,controlClassName:o,controlStyle:s,dependencies:i=[],extra:a,getValueFromEvent:l,getValueProps:d,help:f,initialValue:m,label:h,labelClassName:v,labelStyle:b,name:p,noStyle:y=!1,preserve:x=!0,required:g,rules:w=[],sx:P,style:C,trigger:S,validateFirst:N=!1,validateStatus:q,validateTrigger:k="onChange",valuePropName:A,...E}=e,j=la(),I=ae(),{sxClassName:T,sxInlineStyle:O}=ee(P,I),_=Do(void 0,j),z=p===void 0?void 0:ht(p),L=p===void 0?void 0:j.getFieldValue(p),Y=Tw(p??"__FORM_ITEM__",j),F=u.isValidElement(t)&&typeof t.type!="string"?t:null,G=Ow(F),me=A??G.valuePropName,te=S??G.trigger,Q=w.some(de=>de.required),U=u.useMemo(()=>g&&!Q?[{required:!0},...w]:w,[Q,g,w]),X=u.useMemo(()=>JSON.stringify(i.map(ht)),[i]),$=u.useRef(U);$.current=U,u.useEffect(()=>{if(p===void 0)return;m!==void 0&&j.getFieldValue(p)===void 0&&j.__INTERNAL__.setFieldValue(p,m,{source:"external"});const de=j.__INTERNAL__.registerField({dependencies:i,name:p,rules:$.current,validateFirst:N,validateTrigger:k});return()=>de({preserve:x})},[X,j,m,p,z,x,N,k]);const Z={form:j,meta:Y,value:L,values:_},H=()=>{if(typeof t=="function")return t(Z);if(!F||p===void 0)return t;const de=F.props,ve=d?d(L):G.skipValueProp?{}:{[me]:Dw(L,G,me)};de.name===void 0&&(ve.name=Sw(p)),ve[te]=Zl(de[te],(...ge)=>{const se=l?l(...ge):Mw(me,ge);j.__INTERNAL__.setFieldValue(p,se,{source:"internal",touched:!0,trigger:te})});for(const ge of Lw(k))ge!==te&&(ve[ge]=Zl(ve[ge]??de[ge],()=>{j.__INTERNAL__.validateFields([p],{trigger:ge}).catch(()=>{})}));return u.cloneElement(F,ve)},K=Y.errors,W=f??K[0],J=q??(Y.validating?"validating":K.length>0?"error":void 0),le=c.jsxs(c.Fragment,{children:[h!==void 0?c.jsxs("div",{className:R("text-sm font-medium leading-5 text-slate-700",v),style:b,children:[h,g||Q?c.jsx("span",{className:"ml-1 text-red-500","aria-hidden":"true",children:"*"}):null]}):null,c.jsx("div",{className:o,style:s,children:H()}),W!==void 0?c.jsx("div",{className:R("text-xs leading-5",J==="error"?"text-red-600":"text-slate-500"),"aria-live":J==="error"?"polite":void 0,role:J==="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 y?le:c.jsx("div",{className:R("space-y-2",J==="error"&&"[&_input]:border-red-500",T,r,n),style:D(C,O),...E,children:le})}ca.displayName="FormItem";const Gf=Object.assign(Fw,{Item:ca,useForm:aa,useFormInstance:la,useFormValue:Do,useFormWatch:Wf});Gf.displayName="Form";const ua="__LDKJ_UPLOADER_LIST_IGNORE__",ao=u.createContext(null);let ec=0;function Bw(){return ec+=1,`ldkj-upload-${Date.now()}-${ec}`}function $w(e){return!!(e&&typeof e.then=="function")}function Vw(e){return typeof File<"u"&&e instanceof File}function zw(e){return typeof Blob<"u"&&e instanceof Blob}function tc(e,t){return Vw(e)?e:new File([e],t,{type:e.type})}function Hw(e){return e===void 0?"":e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(1)} KB`:`${(e/1024/1024).toFixed(1)} MB`}function hs(e){if(e.type?.startsWith("image/"))return!0;const t=e.thumbUrl??e.url??e.name;return/\.(apng|avif|gif|jpe?g|png|svg|webp)$/i.test(t)}function Uw(e,t){if(!t)return!0;const r=t.split(",").map(s=>s.trim()).filter(Boolean);if(r.length===0)return!0;const n=e.name.toLowerCase(),o=e.type.toLowerCase();return r.some(s=>{const i=s.toLowerCase();return i.startsWith(".")?n.endsWith(i):i.endsWith("/*")?o.startsWith(i.slice(0,-1)):o===i})}function Ww(e){return Number.isFinite(e)?Math.max(0,Math.min(100,Math.round(e))):0}function Gw(e){const t=e.responseText;if(!t)return e.response;try{return JSON.parse(t)}catch{return t}}async function Kw(e){const{action:t,data:r,file:n,filename:o,headers:s,method:i,signal:a,withCredentials:l,onProgress:d}=e;if(t)return new Promise((f,m)=>{const h=new XMLHttpRequest,v=new FormData;v.append(o,n),Object.entries(r??{}).forEach(([b,p])=>{p!=null&&v.append(b,p instanceof Blob?p:String(p))}),h.open(i,t),h.withCredentials=l,Object.entries(s??{}).forEach(([b,p])=>{h.setRequestHeader(b,p)}),h.upload.onprogress=b=>{b.lengthComputable&&d(b.loaded/b.total*100)},h.onload=()=>{const b=Gw(h);if(h.status>=200&&h.status<300){f({response:b,url:b&&typeof b=="object"&&"url"in b&&typeof b.url=="string"?b.url:void 0});return}m(new Error(`Upload failed with status ${h.status}`))},h.onerror=()=>m(new Error("Upload request failed")),h.onabort=()=>m(new DOMException("Upload aborted","AbortError")),a.addEventListener("abort",()=>h.abort(),{once:!0}),h.send(v)})}async function ps(e){return $w(e)?e:Promise.resolve(e)}function Yw(e,t,r){const n=e.filter(o=>o.status==="success"||o.status==="ready").map(o=>o.value!==void 0?o.value:o.originFile).filter(o=>o!==void 0);return t||r!==void 0&&r>1?n:n[0]??null}function Xw(){const e=u.useRef(new Set);return u.useEffect(()=>()=>{e.current.forEach(t=>URL.revokeObjectURL(t)),e.current.clear()},[]),u.useCallback(t=>{const r=URL.createObjectURL(t);return e.current.add(r),r},[])}function Jw(...e){return t=>{e.forEach(r=>{if(r){if(typeof r=="function"){r(t);return}r.current=t}})}}function Kf(e,t){const r={...e??{}};return Object.entries(t??{}).forEach(([n,o])=>{o!==void 0&&(r[n]=o)}),r}function Qw(e,t){return Kf(e,t)}function Yf(e){const{children:t,...r}=e,n=u.useContext(ao),o=u.useMemo(()=>Kf(n,r),[n,r]);return c.jsx(ao.Provider,{value:o,children:t})}function Zw(){return u.useContext(ao)}const Xf=u.forwardRef(function(t,r){const n=u.useContext(ao),o=u.useMemo(()=>Qw(n,t),[n,t]),{accept:s,action:i,autoUpload:a=!0,beforeRemove:l,beforeUpload:d,children:f,className:m,class:h,customRequest:v,data:b,defaultFileList:p,directory:y=!1,disabled:x=!1,drag:g=!1,fileList:w,getValueFromResult:P,headers:C,listType:S="text",maxCount:N,maxSize:q,method:k="POST",multiple:A=!1,name:E="file",openFileDialogOnClick:j=!0,pastable:I=!1,preview:T=!0,request:O,renderActions:_,renderItem:z,renderTrigger:L,showFileList:Y=!0,style:F,sx:G,transformFile:me,withCredentials:te=!1,onChange:Q,onDownload:U,onDrop:X,onDragEnter:$,onDragLeave:Z,onDragOver:H,onError:K,onExceed:W,onFileListChange:J,onPreview:le,onReject:de,onRemove:ve,onSelect:ge,onSuccess:se,onValueChange:we,defaultValue:ke,value:Me,...ne}=o,Pe=u.useRef(null),Ce=u.useRef(p??[]),ue=u.useRef(new Map),[_e,he]=u.useState(p??[]),[re,fe]=u.useState(!1),[Se,Te]=u.useState(null),Ze=Xw(),Ge=ae(),{sxClassName:ut,sxInlineStyle:yt}=ee(G,Ge),He=w??_e,nt=O??v,Ke=!!(nt||i),Lt=He.some(M=>M.status==="uploading");u.useEffect(()=>{Ce.current=He},[He]),u.useEffect(()=>{if(!I||x)return;const M=Ae=>{const Xe=Array.from(Ae.clipboardData?.files??[]);Xe.length!==0&&ce(Xe)};return window.addEventListener("paste",M),()=>window.removeEventListener("paste",M)}),u.useEffect(()=>()=>{ue.current.forEach(M=>M.abort()),ue.current.clear()},[]);const Ye=u.useCallback((M,Ae)=>{Ce.current=M,w===void 0&&he(M),J?.(M,Ae),Ae.reason!=="progress"&&we?.(Yw(M,A,N),Ae)},[w,N,A,J,we]),B=u.useCallback((M,Ae,Xe)=>{const Le=Ce.current.map(Ue=>Ue.uid===M?{...Ue,...Ae}:Ue),Ve=Le.find(Ue=>Ue.uid===M);return Ye(Le,{file:Ve,fileList:Le,reason:Xe}),{file:Ve,fileList:Le}},[Ye]),V=u.useCallback(async M=>{const Ae=M.originFile;if(!Ae||x)return;const Xe=new AbortController;ue.current.set(M.uid,Xe),B(M.uid,{status:"uploading",percent:0,error:void 0},"retry");try{const Le=typeof i=="function"?await i(Ae):i,Ve=typeof b=="function"?await b(Ae):b,st=await(nt??Kw)({action:Le,data:Ve,file:Ae,filename:E,headers:C,item:M,method:k,signal:Xe.signal,withCredentials:te,onProgress:tt=>{B(M.uid,{percent:Ww(tt)},"progress")}}),Dt=Ce.current.find(tt=>tt.uid===M.uid)??M,ze=P?P(st,Dt):st&&"value"in st?st.value:Dt.value,wt=B(M.uid,{name:st?.name??Dt.name,percent:100,response:st?.response??st,status:"success",thumbUrl:st?.thumbUrl??st?.url??Dt.thumbUrl,url:st?.url??Dt.url,value:ze},"success");wt.file&&se?.(wt.file,wt.fileList)}catch(Le){if(Le.name==="AbortError")return;const Ve=Le instanceof Error?Le:new Error(String(Le)),Ue=B(M.uid,{error:Ve,status:"error"},"error");Ue.file&&K?.(Ve,Ue.file,Ue.fileList)}finally{ue.current.delete(M.uid)}},[i,b,x,nt,P,C,k,E,K,se,B,te]),ce=u.useCallback(async M=>{if(x||M.length===0)return;ge?.(M);const Ae=[];for(const ze of M){if(!Uw(ze,s)){de?.(ze,"accept");continue}if(q!==void 0&&ze.size>q){de?.(ze,"maxSize");continue}Ae.push(ze)}if(Ae.length===0)return;const Xe=Ce.current,Le=N??(A?void 0:1);let Ve=Ae;if(Le!==void 0){const ze=Math.max(0,Le-(Le===1?0:Xe.length));Ve.length>ze&&(W?.(Ve.slice(ze),Xe),Ve=Ve.slice(0,ze))}if(Ve.length===0)return;const Ue=[],st=[];for(const ze of Ve){let wt=a&&Ke,tt=ze;if(d){const Cn=await ps(d(ze,Ve));if(Cn===ua)continue;Cn===!1?wt=!1:zw(Cn)&&(tt=tc(Cn,ze.name))}wt&&me&&(tt=tc(await ps(me(tt)),ze.name));const Gh=hs(tt)?Ze(tt):void 0,Ua={uid:Bw(),name:tt.name,originFile:tt,percent:wt?0:Ke?void 0:100,size:tt.size,status:wt?"uploading":Ke?"ready":"success",thumbUrl:Gh,type:tt.type,value:wt?void 0:tt};Ue.push(Ua),wt&&st.push(Ua)}if(Ue.length===0)return;const Dt=Le===1?Ue.slice(-1):[...Ce.current,...Ue];Ye(Dt,{file:Ue[Ue.length-1],fileList:Dt,reason:"add"}),st.forEach(ze=>{V(ze)})},[s,a,d,Ze,x,Ye,Ke,N,q,A,W,de,ge,me,V]),be=u.useCallback(()=>{x||!j||Pe.current?.click()},[x,j]),Ne=u.useCallback(async M=>{const Ae=Ce.current;if(l&&!await ps(l(M,Ae)))return;ue.current.get(M.uid)?.abort(),ue.current.delete(M.uid);const Xe=Ae.filter(Le=>Le.uid!==M.uid);Ye(Xe,{file:M,fileList:Xe,reason:"remove"}),ve?.(M,Xe)},[l,Ye,ve]),Ie={disabled:x,dragging:re,fileList:He,open:be,uploading:Lt},et=()=>L?L(Ie):typeof f=="function"?f(Ie):f||(g?c.jsx("div",{className:"grid min-h-32 place-items-center rounded-md border border-dashed border-slate-300 bg-slate-50 px-6 py-8 text-center transition-colors hover:border-blue-400 hover:bg-blue-50/40",children:c.jsxs("div",{className:"space-y-1",children:[c.jsx("div",{className:"text-sm font-medium text-slate-700",children:"点击或拖拽文件到此处上传"}),c.jsx("div",{className:"text-xs text-slate-500",children:s?`支持 ${s}`:"支持单个或多个文件"})]})}):c.jsx(vt,{type:"button",disabled:x,size:"sm",children:"选择文件"})),ot=M=>{const Ae={preview:()=>{dt(M)},download:()=>mt(M),remove:()=>{Ne(M)},retry:()=>{V(M)},upload:()=>{V(M)}};return _?_(M,Ae):c.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[T&&(M.url||M.thumbUrl)?c.jsx(vt,{type:"button",variant:"ghost",size:"xs",disabled:x,onClick:Ae.preview,children:"预览"}):null,M.url?c.jsx(vt,{type:"button",variant:"ghost",size:"xs",disabled:x,onClick:Ae.download,children:"下载"}):null,M.status==="ready"&&Ke?c.jsx(vt,{type:"button",variant:"ghost",size:"xs",disabled:x,onClick:Ae.upload,children:"上传"}):null,M.status==="error"?c.jsx(vt,{type:"button",variant:"ghost",size:"xs",disabled:x,onClick:Ae.retry,children:"重试"}):null,c.jsx(vt,{type:"button",variant:"ghost",size:"xs",disabled:x,onClick:Ae.remove,children:"删除"})]})},dt=async M=>{await le?.(M)!==!1&&T&&(M.url||M.thumbUrl)&&Te(M)},mt=M=>{if(U){U(M);return}M.url&&window.open(M.url,"_blank","noopener,noreferrer")},Wo=M=>{const Ae=S!=="text"&&(M.thumbUrl||M.url),Xe=M.status==="uploading"?"上传中":M.status==="success"?"已完成":M.status==="error"?"失败":"待上传",Le=S==="picture-card"?"flex h-full min-w-0 flex-col items-stretch gap-3 rounded-md border border-slate-200 bg-white p-3":"flex min-w-0 items-center gap-3 rounded-md border border-slate-200 bg-white p-3",Ve=c.jsxs("div",{className:R(Le,M.status==="error"&&"border-red-200 bg-red-50/40"),children:[Ae?c.jsx("button",{type:"button",className:R("grid size-14 shrink-0 place-items-center overflow-hidden rounded-md border border-slate-200 bg-slate-50",S==="picture-card"&&"size-full min-h-32"),onClick:()=>{dt(M)},children:hs(M)?c.jsx("img",{src:M.thumbUrl??M.url,alt:M.name,className:"h-full w-full object-cover",loading:"lazy",decoding:"async"}):c.jsx("span",{className:"px-2 text-xs text-slate-500",children:"FILE"})}):null,c.jsxs("div",{className:"min-w-0 flex-1 space-y-1",children:[c.jsxs("div",{className:"flex min-w-0 items-center justify-between gap-3",children:[c.jsxs("div",{className:"min-w-0",children:[c.jsx("div",{className:"truncate text-sm font-medium text-slate-800",children:M.name}),c.jsxs("div",{className:"text-xs text-slate-500",children:[Xe,M.size!==void 0?` · ${Hw(M.size)}`:""]})]}),ot(M)]}),M.status==="uploading"?c.jsx(rf,{value:M.percent??0,size:"xs"}):null,M.status==="error"?c.jsx("div",{className:"text-xs text-red-600",children:M.error?.message??"上传失败"}):null]})]});return z?z(M,Ve,{preview:()=>{dt(M)},download:()=>mt(M),remove:()=>{Ne(M)},retry:()=>{V(M)},upload:()=>{V(M)}}):Ve};return c.jsxs("div",{...ne,className:R("grid gap-3",x&&"cursor-not-allowed opacity-60",ut,m,h),style:D(F,yt),onDragEnter:M=>{$?.(M),!(!g||x)&&(M.preventDefault(),fe(!0))},onDragOver:M=>{H?.(M),!(!g||x)&&(M.preventDefault(),fe(!0))},onDragLeave:M=>{Z?.(M),!(!g||x)&&(M.currentTarget.contains(M.relatedTarget)||fe(!1))},onDrop:M=>{X?.(M),!(!g||x)&&(M.preventDefault(),fe(!1),ce(Array.from(M.dataTransfer.files)))},children:[c.jsx("input",{ref:Jw(Pe,r),hidden:!0,type:"file",accept:s,multiple:A,name:E,disabled:x,...y?{directory:"",webkitdirectory:""}:{},onChange:M=>{Q?.(M.target.files),ce(Array.from(M.target.files??[])),M.currentTarget.value=""}}),c.jsx("div",{className:R("inline-block",g&&"rounded-md",re&&"ring-2 ring-blue-500 ring-offset-2"),role:g||L||f?"button":void 0,tabIndex:g||L||f?0:void 0,"aria-disabled":x||void 0,onClick:be,onKeyDown:M=>{M.key!=="Enter"&&M.key!==" "||(M.preventDefault(),be())},children:et()}),Y&&He.length>0?c.jsx("div",{role:"list","aria-label":"上传文件列表",className:R(S==="picture-card"?"grid grid-cols-[repeat(auto-fill,minmax(160px,1fr))] gap-3":"grid gap-2"),children:He.map(M=>c.jsx("div",{role:"listitem",children:Wo(M)},M.uid))}):null,Se&&(Se.url||Se.thumbUrl)?c.jsxs("div",{className:"fixed inset-0 z-[1200] flex items-center justify-center bg-black/80 p-6",role:"dialog","aria-modal":"true","aria-label":"文件预览",onClick:()=>Te(null),children:[hs(Se)?c.jsx("img",{src:Se.url??Se.thumbUrl,alt:Se.name,className:"max-h-[88vh] max-w-[92vw] rounded-md object-contain shadow-2xl",onClick:M=>M.stopPropagation()}):c.jsx("div",{className:"rounded-md bg-white p-6 text-sm text-slate-700 shadow-xl",onClick:M=>M.stopPropagation(),children:Se.name}),c.jsx(vt,{type:"button",variant:"minor",size:"sm",className:"absolute right-5 top-5",onClick:M=>{M.stopPropagation(),Te(null)},children:"关闭"})]}):null]})});Xf.displayName="Uploader";const eP=Object.assign(Xf,{LIST_IGNORE:ua,Provider:Yf});function rc(e,[t,r]){return Math.min(r,Math.max(t,e))}var tP=[" ","Enter","ArrowUp","ArrowDown"],rP=[" ","Enter"],fr="Select",[Fo,Bo,nP]=wf(fr),[Fr]=xt(fr,[nP,Lr]),$o=Lr(),[oP,er]=Fr(fr),[sP,iP]=Fr(fr),Jf=e=>{const{__scopeSelect:t,children:r,open:n,defaultOpen:o,onOpenChange:s,value:i,defaultValue:a,onValueChange:l,dir:d,name:f,autoComplete:m,disabled:h,required:v,form:b}=e,p=$o(t),[y,x]=u.useState(null),[g,w]=u.useState(null),[P,C]=u.useState(!1),S=_o(d),[N,q]=_t({prop:n,defaultProp:o??!1,onChange:s,caller:fr}),[k,A]=_t({prop:i,defaultProp:a,onChange:l,caller:fr}),E=u.useRef(null),j=y?b||!!y.closest("form"):!0,[I,T]=u.useState(new Set),O=Array.from(I).map(_=>_.props.value).join(";");return c.jsx(Wi,{...p,children:c.jsxs(oP,{required:v,scope:t,trigger:y,onTriggerChange:x,valueNode:g,onValueNodeChange:w,valueNodeHasChildren:P,onValueNodeHasChildrenChange:C,contentId:vr(),value:k,onValueChange:A,open:N,onOpenChange:q,dir:S,triggerPointerDownPosRef:E,disabled:h,children:[c.jsx(Fo.Provider,{scope:t,children:c.jsx(sP,{scope:e.__scopeSelect,onNativeOptionAdd:u.useCallback(_=>{T(z=>new Set(z).add(_))},[]),onNativeOptionRemove:u.useCallback(_=>{T(z=>{const L=new Set(z);return L.delete(_),L})},[]),children:r})}),j?c.jsxs(Pm,{"aria-hidden":!0,required:v,tabIndex:-1,name:f,autoComplete:m,value:k,onChange:_=>A(_.target.value),disabled:h,form:b,children:[k===void 0?c.jsx("option",{value:""}):null,Array.from(I)]},O):null]})})};Jf.displayName=fr;var Qf="SelectTrigger",Zf=u.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...o}=e,s=$o(r),i=er(Qf,r),a=i.disabled||n,l=Re(t,i.onTriggerChange),d=Bo(r),f=u.useRef("touch"),[m,h,v]=Sm(p=>{const y=d().filter(w=>!w.disabled),x=y.find(w=>w.value===i.value),g=Nm(y,p,x);g!==void 0&&i.onValueChange(g.value)}),b=p=>{a||(i.onOpenChange(!0),v()),p&&(i.triggerPointerDownPosRef.current={x:Math.round(p.pageX),y:Math.round(p.pageY)})};return c.jsx(Co,{asChild:!0,...s,children:c.jsx(ye.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":Cm(i.value)?"":void 0,...o,ref:l,onClick:pe(o.onClick,p=>{p.currentTarget.focus(),f.current!=="mouse"&&b(p)}),onPointerDown:pe(o.onPointerDown,p=>{f.current=p.pointerType;const y=p.target;y.hasPointerCapture(p.pointerId)&&y.releasePointerCapture(p.pointerId),p.button===0&&p.ctrlKey===!1&&p.pointerType==="mouse"&&(b(p),p.preventDefault())}),onKeyDown:pe(o.onKeyDown,p=>{const y=m.current!=="";!(p.ctrlKey||p.altKey||p.metaKey)&&p.key.length===1&&h(p.key),!(y&&p.key===" ")&&tP.includes(p.key)&&(b(),p.preventDefault())})})})});Zf.displayName=Qf;var em="SelectValue",tm=u.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,children:s,placeholder:i="",...a}=e,l=er(em,r),{onValueNodeHasChildrenChange:d}=l,f=s!==void 0,m=Re(t,l.onValueNodeChange);return $e(()=>{d(f)},[d,f]),c.jsx(ye.span,{...a,ref:m,style:{pointerEvents:"none"},children:Cm(l.value)?c.jsx(c.Fragment,{children:i}):s})});tm.displayName=em;var aP="SelectIcon",rm=u.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...o}=e;return c.jsx(ye.span,{"aria-hidden":!0,...o,ref:t,children:n||"▼"})});rm.displayName=aP;var lP="SelectPortal",nm=e=>c.jsx(So,{asChild:!0,...e});nm.displayName=lP;var mr="SelectContent",om=u.forwardRef((e,t)=>{const r=er(mr,e.__scopeSelect),[n,o]=u.useState();if($e(()=>{o(new DocumentFragment)},[]),!r.open){const s=n;return s?un.createPortal(c.jsx(sm,{scope:e.__scopeSelect,children:c.jsx(Fo.Slot,{scope:e.__scopeSelect,children:c.jsx("div",{children:e.children})})}),s):null}return c.jsx(im,{...e,ref:t})});om.displayName=mr;var pt=10,[sm,tr]=Fr(mr),cP="SelectContentImpl",uP=nn("SelectContent.RemoveScroll"),im=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:m,collisionBoundary:h,collisionPadding:v,sticky:b,hideWhenDetached:p,avoidCollisions:y,...x}=e,g=er(mr,r),[w,P]=u.useState(null),[C,S]=u.useState(null),N=Re(t,$=>P($)),[q,k]=u.useState(null),[A,E]=u.useState(null),j=Bo(r),[I,T]=u.useState(!1),O=u.useRef(!1);u.useEffect(()=>{if(w)return md(w)},[w]),zu();const _=u.useCallback($=>{const[Z,...H]=j().map(J=>J.ref.current),[K]=H.slice(-1),W=document.activeElement;for(const J of $)if(J===W||(J?.scrollIntoView({block:"nearest"}),J===Z&&C&&(C.scrollTop=0),J===K&&C&&(C.scrollTop=C.scrollHeight),J?.focus(),document.activeElement!==W))return},[j,C]),z=u.useCallback(()=>_([q,w]),[_,q,w]);u.useEffect(()=>{I&&z()},[I,z]);const{onOpenChange:L,triggerPointerDownPosRef:Y}=g;u.useEffect(()=>{if(w){let $={x:0,y:0};const Z=K=>{$={x:Math.abs(Math.round(K.pageX)-(Y.current?.x??0)),y:Math.abs(Math.round(K.pageY)-(Y.current?.y??0))}},H=K=>{$.x<=10&&$.y<=10?K.preventDefault():w.contains(K.target)||L(!1),document.removeEventListener("pointermove",Z),Y.current=null};return Y.current!==null&&(document.addEventListener("pointermove",Z),document.addEventListener("pointerup",H,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Z),document.removeEventListener("pointerup",H,{capture:!0})}}},[w,L,Y]),u.useEffect(()=>{const $=()=>L(!1);return window.addEventListener("blur",$),window.addEventListener("resize",$),()=>{window.removeEventListener("blur",$),window.removeEventListener("resize",$)}},[L]);const[F,G]=Sm($=>{const Z=j().filter(W=>!W.disabled),H=Z.find(W=>W.ref.current===document.activeElement),K=Nm(Z,$,H);K&&setTimeout(()=>K.ref.current.focus())}),me=u.useCallback(($,Z,H)=>{const K=!O.current&&!H;(g.value!==void 0&&g.value===Z||K)&&(k($),K&&(O.current=!0))},[g.value]),te=u.useCallback(()=>w?.focus(),[w]),Q=u.useCallback(($,Z,H)=>{const K=!O.current&&!H;(g.value!==void 0&&g.value===Z||K)&&E($)},[g.value]),U=n==="popper"?fi:am,X=U===fi?{side:a,sideOffset:l,align:d,alignOffset:f,arrowPadding:m,collisionBoundary:h,collisionPadding:v,sticky:b,hideWhenDetached:p,avoidCollisions:y}:{};return c.jsx(sm,{scope:r,content:w,viewport:C,onViewportChange:S,itemRefCallback:me,selectedItem:q,onItemLeave:te,itemTextRefCallback:Q,focusSelectedItem:z,selectedItemText:A,position:n,isPositioned:I,searchRef:F,children:c.jsx(Yi,{as:uP,allowPinchZoom:!0,children:c.jsx(Li,{asChild:!0,trapped:g.open,onMountAutoFocus:$=>{$.preventDefault()},onUnmountAutoFocus:pe(o,$=>{g.trigger?.focus({preventScroll:!0}),$.preventDefault()}),children:c.jsx(go,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:$=>$.preventDefault(),onDismiss:()=>g.onOpenChange(!1),children:c.jsx(U,{role:"listbox",id:g.contentId,"data-state":g.open?"open":"closed",dir:g.dir,onContextMenu:$=>$.preventDefault(),...x,...X,onPlaced:()=>T(!0),ref:N,style:{display:"flex",flexDirection:"column",outline:"none",...x.style},onKeyDown:pe(x.onKeyDown,$=>{const Z=$.ctrlKey||$.altKey||$.metaKey;if($.key==="Tab"&&$.preventDefault(),!Z&&$.key.length===1&&G($.key),["ArrowUp","ArrowDown","Home","End"].includes($.key)){let K=j().filter(W=>!W.disabled).map(W=>W.ref.current);if(["ArrowUp","End"].includes($.key)&&(K=K.slice().reverse()),["ArrowUp","ArrowDown"].includes($.key)){const W=$.target,J=K.indexOf(W);K=K.slice(J+1)}setTimeout(()=>_(K)),$.preventDefault()}})})})})})})});im.displayName=cP;var dP="SelectItemAlignedPosition",am=u.forwardRef((e,t)=>{const{__scopeSelect:r,onPlaced:n,...o}=e,s=er(mr,r),i=tr(mr,r),[a,l]=u.useState(null),[d,f]=u.useState(null),m=Re(t,N=>f(N)),h=Bo(r),v=u.useRef(!1),b=u.useRef(!0),{viewport:p,selectedItem:y,selectedItemText:x,focusSelectedItem:g}=i,w=u.useCallback(()=>{if(s.trigger&&s.valueNode&&a&&d&&p&&y&&x){const N=s.trigger.getBoundingClientRect(),q=d.getBoundingClientRect(),k=s.valueNode.getBoundingClientRect(),A=x.getBoundingClientRect();if(s.dir!=="rtl"){const W=A.left-q.left,J=k.left-W,le=N.left-J,de=N.width+le,ve=Math.max(de,q.width),ge=window.innerWidth-pt,se=rc(J,[pt,Math.max(pt,ge-ve)]);a.style.minWidth=de+"px",a.style.left=se+"px"}else{const W=q.right-A.right,J=window.innerWidth-k.right-W,le=window.innerWidth-N.right-J,de=N.width+le,ve=Math.max(de,q.width),ge=window.innerWidth-pt,se=rc(J,[pt,Math.max(pt,ge-ve)]);a.style.minWidth=de+"px",a.style.right=se+"px"}const E=h(),j=window.innerHeight-pt*2,I=p.scrollHeight,T=window.getComputedStyle(d),O=parseInt(T.borderTopWidth,10),_=parseInt(T.paddingTop,10),z=parseInt(T.borderBottomWidth,10),L=parseInt(T.paddingBottom,10),Y=O+_+I+L+z,F=Math.min(y.offsetHeight*5,Y),G=window.getComputedStyle(p),me=parseInt(G.paddingTop,10),te=parseInt(G.paddingBottom,10),Q=N.top+N.height/2-pt,U=j-Q,X=y.offsetHeight/2,$=y.offsetTop+X,Z=O+_+$,H=Y-Z;if(Z<=Q){const W=E.length>0&&y===E[E.length-1].ref.current;a.style.bottom="0px";const J=d.clientHeight-p.offsetTop-p.offsetHeight,le=Math.max(U,X+(W?te:0)+J+z),de=Z+le;a.style.height=de+"px"}else{const W=E.length>0&&y===E[0].ref.current;a.style.top="0px";const le=Math.max(Q,O+p.offsetTop+(W?me:0)+X)+H;a.style.height=le+"px",p.scrollTop=Z-Q+p.offsetTop}a.style.margin=`${pt}px 0`,a.style.minHeight=F+"px",a.style.maxHeight=j+"px",n?.(),requestAnimationFrame(()=>v.current=!0)}},[h,s.trigger,s.valueNode,a,d,p,y,x,s.dir,n]);$e(()=>w(),[w]);const[P,C]=u.useState();$e(()=>{d&&C(window.getComputedStyle(d).zIndex)},[d]);const S=u.useCallback(N=>{N&&b.current===!0&&(w(),g?.(),b.current=!1)},[w,g]);return c.jsx(mP,{scope:r,contentWrapper:a,shouldExpandOnScrollRef:v,onScrollButtonChange:S,children:c.jsx("div",{ref:l,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:P},children:c.jsx(ye.div,{...o,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});am.displayName=dP;var fP="SelectPopperPosition",fi=u.forwardRef((e,t)=>{const{__scopeSelect:r,align:n="start",collisionPadding:o=pt,...s}=e,i=$o(r);return c.jsx(Gi,{...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)"}})});fi.displayName=fP;var[mP,da]=Fr(mr,{}),mi="SelectViewport",lm=u.forwardRef((e,t)=>{const{__scopeSelect:r,nonce:n,...o}=e,s=tr(mi,r),i=da(mi,r),a=Re(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(Fo.Slot,{scope:r,children:c.jsx(ye.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:a,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:pe(o.onScroll,d=>{const f=d.currentTarget,{contentWrapper:m,shouldExpandOnScrollRef:h}=i;if(h?.current&&m){const v=Math.abs(l.current-f.scrollTop);if(v>0){const b=window.innerHeight-pt*2,p=parseFloat(m.style.minHeight),y=parseFloat(m.style.height),x=Math.max(p,y);if(x<b){const g=x+v,w=Math.min(b,g),P=g-w;m.style.height=w+"px",m.style.bottom==="0px"&&(f.scrollTop=P>0?P:0,m.style.justifyContent="flex-end")}}}l.current=f.scrollTop})})})]})});lm.displayName=mi;var cm="SelectGroup",[hP,pP]=Fr(cm),um=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=vr();return c.jsx(hP,{scope:r,id:o,children:c.jsx(ye.div,{role:"group","aria-labelledby":o,...n,ref:t})})});um.displayName=cm;var dm="SelectLabel",fm=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=pP(dm,r);return c.jsx(ye.div,{id:o.id,...n,ref:t})});fm.displayName=dm;var lo="SelectItem",[vP,mm]=Fr(lo),hm=u.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:s,...i}=e,a=er(lo,r),l=tr(lo,r),d=a.value===n,[f,m]=u.useState(s??""),[h,v]=u.useState(!1),b=Re(t,g=>l.itemRefCallback?.(g,n,o)),p=vr(),y=u.useRef("touch"),x=()=>{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(vP,{scope:r,value:n,disabled:o,textId:p,isSelected:d,onItemTextChange:u.useCallback(g=>{m(w=>w||(g?.textContent??"").trim())},[]),children:c.jsx(Fo.ItemSlot,{scope:r,value:n,disabled:o,textValue:f,children:c.jsx(ye.div,{role:"option","aria-labelledby":p,"data-highlighted":h?"":void 0,"aria-selected":d&&h,"data-state":d?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...i,ref:b,onFocus:pe(i.onFocus,()=>v(!0)),onBlur:pe(i.onBlur,()=>v(!1)),onClick:pe(i.onClick,()=>{y.current!=="mouse"&&x()}),onPointerUp:pe(i.onPointerUp,()=>{y.current==="mouse"&&x()}),onPointerDown:pe(i.onPointerDown,g=>{y.current=g.pointerType}),onPointerMove:pe(i.onPointerMove,g=>{y.current=g.pointerType,o?l.onItemLeave?.():y.current==="mouse"&&g.currentTarget.focus({preventScroll:!0})}),onPointerLeave:pe(i.onPointerLeave,g=>{g.currentTarget===document.activeElement&&l.onItemLeave?.()}),onKeyDown:pe(i.onKeyDown,g=>{l.searchRef?.current!==""&&g.key===" "||(rP.includes(g.key)&&x(),g.key===" "&&g.preventDefault())})})})})});hm.displayName=lo;var Jr="SelectItemText",pm=u.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,...s}=e,i=er(Jr,r),a=tr(Jr,r),l=mm(Jr,r),d=iP(Jr,r),[f,m]=u.useState(null),h=Re(t,x=>m(x),l.onItemTextChange,x=>a.itemTextRefCallback?.(x,l.value,l.disabled)),v=f?.textContent,b=u.useMemo(()=>c.jsx("option",{value:l.value,disabled:l.disabled,children:v},l.value),[l.disabled,l.value,v]),{onNativeOptionAdd:p,onNativeOptionRemove:y}=d;return $e(()=>(p(b),()=>y(b)),[p,y,b]),c.jsxs(c.Fragment,{children:[c.jsx(ye.span,{id:l.textId,...s,ref:h}),l.isSelected&&i.valueNode&&!i.valueNodeHasChildren?un.createPortal(s.children,i.valueNode):null]})});pm.displayName=Jr;var vm="SelectItemIndicator",gm=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return mm(vm,r).isSelected?c.jsx(ye.span,{"aria-hidden":!0,...n,ref:t}):null});gm.displayName=vm;var hi="SelectScrollUpButton",bm=u.forwardRef((e,t)=>{const r=tr(hi,e.__scopeSelect),n=da(hi,e.__scopeSelect),[o,s]=u.useState(!1),i=Re(t,n.onScrollButtonChange);return $e(()=>{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(ym,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:l}=r;a&&l&&(a.scrollTop=a.scrollTop-l.offsetHeight)}}):null});bm.displayName=hi;var pi="SelectScrollDownButton",xm=u.forwardRef((e,t)=>{const r=tr(pi,e.__scopeSelect),n=da(pi,e.__scopeSelect),[o,s]=u.useState(!1),i=Re(t,n.onScrollButtonChange);return $e(()=>{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(ym,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:l}=r;a&&l&&(a.scrollTop=a.scrollTop+l.offsetHeight)}}):null});xm.displayName=pi;var ym=u.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=e,s=tr("SelectScrollButton",r),i=u.useRef(null),a=Bo(r),l=u.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return u.useEffect(()=>()=>l(),[l]),$e(()=>{a().find(f=>f.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[a]),c.jsx(ye.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:pe(o.onPointerDown,()=>{i.current===null&&(i.current=window.setInterval(n,50))}),onPointerMove:pe(o.onPointerMove,()=>{s.onItemLeave?.(),i.current===null&&(i.current=window.setInterval(n,50))}),onPointerLeave:pe(o.onPointerLeave,()=>{l()})})}),gP="SelectSeparator",wm=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return c.jsx(ye.div,{"aria-hidden":!0,...n,ref:t})});wm.displayName=gP;var vi="SelectArrow",bP=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=$o(r),s=er(vi,r),i=tr(vi,r);return s.open&&i.position==="popper"?c.jsx(Ki,{...o,...n,ref:t}):null});bP.displayName=vi;var xP="SelectBubbleInput",Pm=u.forwardRef(({__scopeSelect:e,value:t,...r},n)=>{const o=u.useRef(null),s=Re(n,o),i=jo(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 m=new Event("change",{bubbles:!0});f.call(a,t),a.dispatchEvent(m)}},[i,t]),c.jsx(ye.select,{...r,style:{...Md,...r.style},ref:s,defaultValue:t})});Pm.displayName=xP;function Cm(e){return e===""||e===void 0}function Sm(e){const t=At(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 Nm(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=yP(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 yP(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var wP=Jf,PP=Zf,CP=tm,SP=rm,NP=nm,qP=om,kP=lm,EP=um,jP=fm,RP=hm,AP=pm,IP=gm,TP=bm,_P=xm,OP=wm;const nc="data-scroll-locked",qm=u.createContext({lockScroll:!1});function MP(e,t){(typeof window>"u"?u.useEffect:u.useLayoutEffect)(e,t)}function oc(){return document.querySelector('[role="listbox"][data-state="open"][data-ldkj-select-lock-scroll="false"]')!==null}function LP(e){MP(()=>{if(!e||typeof document>"u")return;const t=document.body,r=()=>{oc()&&t.removeAttribute(nc)},n=a=>{oc()&&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:[nc]}),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 km(e){const{lockScroll:t=!1,...r}=e;return LP(!t),c.jsx(qm.Provider,{value:{lockScroll:t},children:c.jsx(wP,{...r})})}km.displayName="Select";const Em=EP,DP=CP;function FP(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 jm(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 BP(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 gr(e){const t=ae();return ee(e,t)}const Rm=u.forwardRef((e,t)=>{const{className:r,class:n,children:o,sx:s,style:i,...a}=e,{sxClassName:l,sxInlineStyle:d}=gr(s);return c.jsxs(PP,{ref:t,className:R("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:D(i,d),...a,children:[o,c.jsx(SP,{asChild:!0,children:c.jsx(jm,{className:"h-4 w-4 shrink-0 text-slate-500"})})]})});Rm.displayName="SelectTrigger";const fa=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=gr(o);return c.jsx(TP,{ref:t,className:R("flex cursor-default items-center justify-center py-1 text-slate-500",a,r,n),style:D(s,l),...i,children:c.jsx(BP,{className:"h-4 w-4"})})});fa.displayName="SelectScrollUpButton";const ma=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=gr(o);return c.jsx(_P,{ref:t,className:R("flex cursor-default items-center justify-center py-1 text-slate-500",a,r,n),style:D(s,l),...i,children:c.jsx(jm,{className:"h-4 w-4"})})});ma.displayName="SelectScrollDownButton";const Am=u.forwardRef((e,t)=>{const{className:r,class:n,children:o,position:s="popper",sx:i,style:a,...l}=e,{sxClassName:d,sxInlineStyle:f}=gr(i),{lockScroll:m}=u.useContext(qm);return c.jsx(NP,{children:c.jsxs(qP,{ref:t,className:R("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:D(a,f),position:s,"data-ldkj-select-lock-scroll":m?"true":"false",...l,children:[c.jsx(fa,{}),c.jsx(kP,{className:R("p-1",s==="popper"&&"w-full min-w-[var(--radix-select-trigger-width)]"),children:o}),c.jsx(ma,{})]})})});Am.displayName="SelectContent";const ha=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=gr(o);return c.jsx(jP,{ref:t,className:R("px-2 py-1.5 text-xs font-medium text-slate-500",a,r,n),style:D(s,l),...i})});ha.displayName="SelectLabel";const co=u.forwardRef((e,t)=>{const{className:r,class:n,children:o,sx:s,style:i,...a}=e,{sxClassName:l,sxInlineStyle:d}=gr(s);return c.jsxs(RP,{ref:t,className:R("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:D(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(IP,{children:c.jsx(FP,{className:"h-4 w-4"})})}),c.jsx(AP,{children:o})]})});co.displayName="SelectItem";const pa=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=gr(o);return c.jsx(OP,{ref:t,className:R("-mx-1 my-1 h-px bg-slate-200",a,r,n),style:D(s,l),...i})});pa.displayName="SelectSeparator";function $P(e){return"options"in e}function VP(e){const{options:t,itemProps:r,labelProps:n,separatorProps:o}=e;return c.jsx(c.Fragment,{children:t.map((s,i)=>$P(s)?c.jsxs(Em,{children:[s.label?c.jsx(ha,{...n,children:s.label}):null,s.options.map(a=>c.jsx(co,{...r,value:a.value,disabled:a.disabled,textValue:a.textValue,className:R(r?.className,a.className),class:R(r?.class,a.class),style:D(r?.style,a.style),sx:[r?.sx,a.sx],children:a.label},a.value)),s.separator?c.jsx(pa,{...o}):null]},`group-${i}`):c.jsx(co,{...r,value:s.value,disabled:s.disabled,textValue:s.textValue,className:R(r?.className,s.className),class:R(r?.class,s.class),style:D(r?.style,s.style),sx:[r?.sx,s.sx],children:s.label},s.value))})}var Vo="Switch",[zP]=xt(Vo),[HP,UP]=zP(Vo),Im=u.forwardRef((e,t)=>{const{__scopeSwitch:r,name:n,checked:o,defaultChecked:s,required:i,disabled:a,value:l="on",onCheckedChange:d,form:f,...m}=e,[h,v]=u.useState(null),b=Re(t,w=>v(w)),p=u.useRef(!1),y=h?f||!!h.closest("form"):!0,[x,g]=_t({prop:o,defaultProp:s??!1,onChange:d,caller:Vo});return c.jsxs(HP,{scope:r,checked:x,disabled:a,children:[c.jsx(ye.button,{type:"button",role:"switch","aria-checked":x,"aria-required":i,"data-state":Mm(x),"data-disabled":a?"":void 0,disabled:a,value:l,...m,ref:b,onClick:pe(e.onClick,w=>{g(P=>!P),y&&(p.current=w.isPropagationStopped(),p.current||w.stopPropagation())})}),y&&c.jsx(Om,{control:h,bubbles:!p.current,name:n,value:l,checked:x,required:i,disabled:a,form:f,style:{transform:"translateX(-100%)"}})]})});Im.displayName=Vo;var Tm="SwitchThumb",_m=u.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,o=UP(Tm,r);return c.jsx(ye.span,{"data-state":Mm(o.checked),"data-disabled":o.disabled?"":void 0,...n,ref:t})});_m.displayName=Tm;var WP="SwitchBubbleInput",Om=u.forwardRef(({__scopeSwitch:e,control:t,checked:r,bubbles:n=!0,...o},s)=>{const i=u.useRef(null),a=Re(i,s),l=jo(r),d=Po(t);return u.useEffect(()=>{const f=i.current;if(!f)return;const m=window.HTMLInputElement.prototype,v=Object.getOwnPropertyDescriptor(m,"checked").set;if(l!==r&&v){const b=new Event("click",{bubbles:n});v.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}})});Om.displayName=WP;function Mm(e){return e?"checked":"unchecked"}var GP=Im,KP=_m;const YP={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"},Lm=u.forwardRef((e,t)=>{const{className:r,class:n,containerClass:o,containerClassName:s,containerStyle:i,containerSx:a,description:l,disabled:d,id:f,label:m,labelPosition:h="right",size:v="md",style:b,sx:p,"aria-describedby":y,...x}=e,g=ae(),{sxClassName:w,sxInlineStyle:P}=ee(p,g),{sxClassName:C,sxInlineStyle:S}=ee(a,g),N=u.useId(),q=f??`ldkj-switch-${N}`,k=l===void 0?void 0:`${q}-description`,A=[y,k].filter(Boolean).join(" ")||void 0,E=c.jsx(GP,{ref:t,id:q,disabled:d,"aria-describedby":A,className:R("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",YP[v],w,r,n),style:D(b,P),...x,children:c.jsx(KP,{className:R("pointer-events-none block rounded-full bg-white shadow-sm ring-0 transition-transform","data-[state=unchecked]:translate-x-0",XP[v])})});if(m===void 0&&l===void 0)return E;const j=c.jsxs("span",{className:"flex min-w-0 flex-col gap-0.5",children:[m!==void 0?c.jsx(ci,{htmlFor:q,className:R("text-sm font-medium leading-5 text-slate-700",d?"cursor-not-allowed opacity-60":"cursor-pointer"),children:m}):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:R("inline-flex w-fit items-center gap-3",d?"cursor-not-allowed":void 0,C,s,o),style:D(i,S),children:[h==="left"?j:null,E,h==="right"?j:null]})});Lm.displayName="Switch";function uo(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 Dm(e){const t=ae();return ee(e,t)}function JP(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function gi(e){return e==="center"?"justify-center text-center":e==="right"?"justify-end text-right":"justify-start text-left"}function QP(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 ZP(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 eC(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 sc(){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 Fm(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:m,onCancel:h,onConfirm:v,onOpenChange:b}=e,{sxClassName:p,sxInlineStyle:y}=Dm(m);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"&&(h?.(),b?.(!1))};return document.addEventListener("keydown",w),()=>{document.body.style.overflow=g,document.removeEventListener("keydown",w)}},[h,b,t]),!t)return null;const x=()=>{h?.(),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:x}),c.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":typeof r=="string"?r:"移动端选择面板",className:R("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:D({maxHeight:JP(i)},f,y),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:x,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:v,children:o})]})]}),a]})]})}const va=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:m,readOnly:h,onClear:v,...b}=e,{sxClassName:p,sxInlineStyle:y}=Dm(f);return c.jsxs("span",{className:"relative inline-flex w-full items-stretch",children:[c.jsxs("button",{ref:t,type:"button",className:R("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",h&&"cursor-default",n&&o&&!m&&!h?"pr-16":"pr-9",p,a,l),style:D(d,y),disabled:m,"aria-haspopup":"dialog","aria-expanded":r,"aria-disabled":m||void 0,"aria-readonly":h||void 0,...b,children:[c.jsx("span",{className:R("min-w-0 flex-1 truncate",!o&&"text-slate-400"),children:o?i:s}),c.jsx(QP,{className:"absolute right-3 h-4 w-4 text-slate-500"})]}),n&&o&&!m&&!h?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:x=>x.preventDefault(),onClick:x=>{x.preventDefault(),x.stopPropagation(),v?.(x)},children:c.jsx(eC,{className:"h-3.5 w-3.5"})}):null]})});va.displayName="MobileTrigger";function Bm(e){return"options"in e}function tC(e){return e.map(t=>Bm(t)?{type:"group",label:t.label,options:t.options,separator:t.separator}:{type:"plain",option:t})}function rC(e){const t=[];for(const r of e)Bm(r)?t.push(...r.options):t.push(r);return t}const $m=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:m,confirmText:h,clearable:v=!1,readOnly:b=!1,required:p,align:y="left",displayRender:x,renderOption:g,drawerClassName:w,drawerClass:P,drawerStyle:C,drawerSx:S,maxDrawerHeight:N,optionClassName:q,optionClass:k,optionStyle:A,optionSx:E,className:j,class:I,style:T,sx:O,disabled:_=!1,name:z,id:L,autoFocus:Y,onClick:F,onFocus:G,onBlur:me,onKeyDown:te,...Q}=e,[U,X,$]=uo({value:n,defaultValue:o}),[Z,H]=uo({value:i,defaultValue:a,onChange:l}),[K,W]=u.useState(U),J=u.useRef(null),le=ae(),de=u.useMemo(()=>rC(r),[r]),ve=u.useMemo(()=>tC(r),[r]),ge=u.useMemo(()=>de.find(ue=>ue.value===U),[de,U]),se=u.useMemo(()=>de.find(ue=>ue.value===K),[de,K]),we=U!==""&&!!ge,ke=we?x?.(ge)??ge?.label:d;u.useEffect(()=>{Z&&W(U)},[Z,U]);const Me=u.useCallback((ue,_e)=>{$||X(ue),s?.(ue,_e)},[s,X,$]),ne=u.useCallback(ue=>{_||b||(W(""),Me("",{reason:"clear",event:ue}))},[Me,_,b]),Pe=u.useCallback(()=>{if(_||b){H(!1);return}if(!se){H(!1);return}Me(se.value,{reason:"select",option:se}),H(!1)},[Me,_,se,b,H]),Ce=u.useCallback(()=>{_||H(!0)},[_,H]);return u.useImperativeHandle(t,()=>({focus:()=>J.current?.focus(),blur:()=>J.current?.blur(),open:Ce,close:()=>H(!1),clear:()=>ne(),getValue:()=>U}),[ne,Ce,U,H]),c.jsxs(c.Fragment,{children:[c.jsx(va,{ref:J,id:L,open:Z,clearable:v,hasValue:we,placeholder:d,display:ke,className:j,class:I,style:T,sx:O,disabled:_,readOnly:b,autoFocus:Y,onClear:ne,onClick:ue=>{F?.(ue),Ce()},onFocus:G,onBlur:me,onKeyDown:ue=>{te?.(ue),!_&&((ue.key==="ArrowDown"||ue.key==="Enter")&&(ue.preventDefault(),Ce()),ue.key==="Escape"&&(ue.preventDefault(),H(!1)))},...Q}),c.jsx(Fm,{open:Z,title:f,cancelText:m,confirmText:h,confirmDisabled:!se||!!se.disabled,maxHeight:N,className:w,class:P,style:C,sx:S,onCancel:()=>W(U),onConfirm:Pe,onOpenChange:H,children:c.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto px-4 py-2",children:ve.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:ve.map((ue,_e)=>{if(ue.type==="plain"){const he=ue.option,re=K===he.value,fe={active:re,checked:re,disabled:!!he.disabled},Se=ee([E,he.sx],le);return c.jsx("button",{type:"button",className:R("flex min-h-10 w-full items-center rounded-md px-3 py-2 text-sm transition-colors",gi(y),re?"bg-blue-600 text-white":"text-slate-800 hover:bg-blue-50 hover:text-blue-700",he.disabled&&"cursor-not-allowed bg-transparent text-slate-400 opacity-70 hover:bg-transparent hover:text-slate-400",Se.sxClassName,q,k,he.className,he.class),style:D(A,Se.sxInlineStyle,he.style),disabled:_||b||he.disabled,onClick:Te=>{Te.preventDefault(),W(he.value)},children:c.jsx("span",{className:"min-w-0 truncate",children:g?g(he,fe):he.label})},he.value)}return c.jsxs("div",{className:R(ue.separator&&_e>0&&"border-t border-slate-200 pt-2"),children:[ue.label?c.jsx("div",{className:"px-3 py-2 text-xs font-medium text-slate-500",children:ue.label}):null,c.jsx("div",{className:"grid gap-1",children:ue.options.map(he=>{const re=K===he.value,fe={active:re,checked:re,disabled:!!he.disabled},Se=ee([E,he.sx],le);return c.jsx("button",{type:"button",className:R("flex min-h-10 w-full items-center rounded-md px-3 py-2 text-sm transition-colors",gi(y),re?"bg-blue-600 text-white":"text-slate-800 hover:bg-blue-50 hover:text-blue-700",he.disabled&&"cursor-not-allowed bg-transparent text-slate-400 opacity-70 hover:bg-transparent hover:text-slate-400",Se.sxClassName,q,k,he.className,he.class),style:D(A,Se.sxInlineStyle,he.style),disabled:_||b||he.disabled,onClick:Te=>{Te.preventDefault(),W(he.value)},children:c.jsx("span",{className:"min-w-0 truncate",children:g?g(he,fe):he.label})},he.value)})})]},`group-${_e}`)})})})}),z?c.jsx("input",{type:"hidden",name:z,required:p,value:U}):null]})});$m.displayName="MobileSelect";function Hr(e){return Array.isArray(e)?e.filter(t=>t!==""):[]}function nC(e){return Array.isArray(e)?e:[]}function Br(e,t){return e?.[t]??t}function oC(e,t){const r=Br(t,"value");return typeof e[r]=="string"?e[r]:e.value}function sC(e,t){const r=Br(t,"label");return e[r]??e.label??e.value??""}function iC(e,t){const r=Br(t,"children");return nC(e[r])}function aC(e,t){const r=Br(t,"disabled");return!!(e[r]??e.disabled)}function lC(e,t){const r=Br(t,"isLeaf"),n=e[r];return typeof n=="boolean"?n:e.isLeaf}function cC(e,t){const r=Br(t,"loading");return!!(e[r]??e.loading)}function uC(e,t){const r=oC(e,t);if(typeof r!="string"||r.length===0)return null;const n=iC(e,t),o=lC(e,t),s=typeof o=="boolean"?o:n.length===0;return{option:e,value:r,label:sC(e,t),children:n,disabled:aC(e,t),isLeaf:s,loading:cC(e,t)}}function Xn(e,t){const r=[];for(const n of e){const o=uC(n,t);o&&r.push(o)}return r}function Ln(e,t,r){const n=[],o=[];let s=e;for(const i of t){const a=Xn(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 dC(e,t,r){const n=[Xn(e,r)];let o=e;for(const s of t){const i=Xn(o,r).find(a=>a.value===s);if(!i||i.children.length===0)break;o=i.children,n.push(Xn(o,r))}return n}function vs(e,t){return t.every((r,n)=>e[n]===r)}function fC(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 mC(e){return`第${e+1}级`}const Vm=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:m,confirmText:h,separator:v="/",displayRender:b,renderOption:p,fieldNames:y,changeOnSelect:x=!1,clearable:g=!1,readOnly:w=!1,required:P,loadData:C,align:S="left",levelLabels:N,drawerClassName:q,drawerClass:k,drawerStyle:A,drawerSx:E,maxDrawerHeight:j,optionClassName:I,optionClass:T,optionStyle:O,optionSx:_,className:z,class:L,style:Y,sx:F,disabled:G=!1,name:me,id:te,autoFocus:Q,onClick:U,onFocus:X,onBlur:$,onKeyDown:Z,...H}=e,K=n===void 0?void 0:Hr(n),[W,J,le]=uo({value:K,defaultValue:Hr(o)}),[de,ve]=uo({value:i,defaultValue:a,onChange:l}),[ge,se]=u.useState(()=>Hr(o)),[we,ke]=u.useState(0),[Me,ne]=u.useState(null),Pe=u.useRef(null),Ce=u.useRef(!0),ue=u.useRef(C),_e=ae();u.useEffect(()=>()=>{Ce.current=!1},[]),u.useEffect(()=>{ue.current=C},[C]),u.useEffect(()=>{if(de){const B=Hr(W);se(B),ke(Math.max(B.length-1,0))}},[de,W]);const he=u.useMemo(()=>Ln(r,W,y),[y,r,W]),re=he.matched.map(B=>B.option),fe=u.useMemo(()=>Ln(r,ge,y),[y,r,ge]),Se=u.useMemo(()=>dC(r,ge,y),[y,r,ge]),Te=Math.min(we,Math.max(Se.length-1,0)),Ze=Se[Te]??[],Ge=fe.matched[fe.matched.length-1],ut=fe.path.length===0||!!Ge?.disabled||!x&&!!Ge&&!Ge?.isLeaf&&(Ge?.children.length??0)>0,yt=u.useMemo(()=>he.labels.length>0?b?b(he.labels,re):fC(he.labels,v):d,[b,d,re,he.labels,v]),He=u.useCallback((B,V)=>{const ce=Ln(r,Hr(B),y);le||J(ce.path),s?.(ce.path,{...V,path:ce.path,options:ce.matched.map(be=>be.option),labels:ce.labels})},[y,s,r,J,le]),nt=u.useCallback(B=>{G||w||(se([]),ke(0),He([],{reason:"clear",event:B}))},[He,G,w]),Ke=u.useCallback(()=>{if(G||w){ve(!1);return}ut||(He(fe.path,{reason:"select",option:Ge?.option}),ve(!1))},[He,ut,G,Ge?.option,fe.path,w,ve]),Lt=u.useCallback(async(B,V,ce)=>{if(G||w||B.disabled)return;const be=[...ge.slice(0,V),B.value],Ne=B.children.length>0,Ie=!B.isLeaf&&!Ne&&!!ue.current,et=Ne||Ie,ot=be.join("");if(se(be),ke(et?V+1:V),Ie&&ue.current){const dt=Ln(r,be,y);ne(ot);try{await ue.current(dt.matched.map(mt=>mt.option),{option:B.option,path:be,options:r})}finally{Ce.current&&ne(mt=>mt===ot?null:mt)}}x&&!et&&ce.currentTarget.focus()},[x,G,y,r,ge,w]),Ye=u.useCallback(()=>{G||ve(!0)},[G,ve]);return u.useImperativeHandle(t,()=>({focus:()=>Pe.current?.focus(),blur:()=>Pe.current?.blur(),open:Ye,close:()=>ve(!1),clear:()=>nt(),getValue:()=>W.slice()}),[nt,Ye,W,ve]),c.jsxs(c.Fragment,{children:[c.jsx(va,{ref:Pe,id:te,open:de,clearable:g,hasValue:he.path.length>0,placeholder:d,display:yt,className:z,class:L,style:Y,sx:F,disabled:G,readOnly:w,autoFocus:Q,onClear:nt,onClick:B=>{U?.(B),Ye()},onFocus:X,onBlur:$,onKeyDown:B=>{Z?.(B),!G&&((B.key==="ArrowDown"||B.key==="Enter")&&(B.preventDefault(),Ye()),B.key==="Escape"&&(B.preventDefault(),ve(!1)))},...H}),c.jsx(Fm,{open:de,title:f,cancelText:m,confirmText:h,confirmDisabled:ut,maxHeight:j,className:q,class:k,style:A,sx:E,onCancel:()=>{se(W),ke(Math.max(W.length-1,0))},onConfirm:Ke,onOpenChange:ve,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:Se.map((B,V)=>{const ce=Te===V,be=fe.labels[V]??mC(V),Ne=N?.[V]??be;return c.jsxs("button",{type:"button",className:R("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",ce&&"font-medium text-blue-600"),onClick:()=>ke(V),children:[Ne,ce?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:Ze.length===0?c.jsx("div",{className:"flex min-h-32 items-center justify-center text-sm text-slate-400",children:Me?c.jsxs("span",{className:"inline-flex items-center gap-2",children:[c.jsx(sc,{}),"加载中"]}):"暂无可选项"}):c.jsx("div",{className:"grid gap-1",children:Ze.map(B=>{const V=[...ge.slice(0,Te),B.value],ce=fe.path.length===V.length&&vs(fe.path,V),be=vs(fe.path,V)||vs(V,fe.path),Ne=Me===V.join("")||B.loading,Ie=B.children.length>0||!B.isLeaf&&!!ue.current&&!Ne,et={active:be,checked:ce,disabled:B.disabled,hasChildren:Ie,isLeaf:B.isLeaf,level:Te,loading:Ne,path:V,selected:ce},ot=ee([_,B.option.sx],_e);return c.jsxs("button",{type:"button",className:R("flex min-h-10 w-full items-center gap-2 rounded-md px-3 py-2 text-sm transition-colors",gi(S),ce?"bg-blue-600 text-white":"text-slate-800 hover:bg-blue-50 hover:text-blue-700",be&&!ce&&"bg-slate-100 text-slate-900",B.disabled&&"cursor-not-allowed bg-transparent text-slate-400 opacity-70 hover:bg-transparent hover:text-slate-400",ot.sxClassName,I,T,B.option.className,B.option.class),style:D(O,ot.sxInlineStyle,B.option.style),disabled:G||w||B.disabled,onClick:dt=>{dt.preventDefault(),Lt(B,Te,dt)},children:[c.jsx("span",{className:"min-w-0 flex-1 truncate",children:p?p(B.option,et):B.label}),Ne?c.jsx(sc,{}):Ie?c.jsx(ZP,{className:R("h-4 w-4 shrink-0",ce?"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]})});Vm.displayName="MobileCascader";function hC(e,t=500){const r=Oe.useRef(null),n=Oe.useCallback(()=>{r.current=setTimeout(e,t)},[e,t]),o=Oe.useCallback(()=>{r.current&&clearTimeout(r.current)},[]);return{onMouseDown:n,onMouseUp:o,onMouseLeave:o,onTouchStart:n,onTouchEnd:o}}function pC(){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 qe(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:m,modal:h=!1,modalContent:v,onModalMaskClick:b,children:p,...y}=e,x=t??"div",g=ae(),{roundedPreset:w,roundedStyle:P}=hr(n),{shadowPreset:C,shadowStyle:S}=dn(o),N=hC(()=>{s?.()},i),{sxClassName:q,sxInlineStyle:k}=ee(r,g),E=(f||h)&&a?.position===void 0?{position:"relative"}:void 0;return c.jsxs(x,{className:R(w&&Yt[w],C&&Tr[C],q,l,d),style:D(a,P,S,E,k),"aria-busy":f||void 0,...s?N:void 0,...y,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:m??c.jsx(pC,{})}):null,h?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:j=>j.stopPropagation(),children:v})}):null]})}qe.displayName="Box";const ic={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"},ac={elevated:"md"},vC={none:"p-0",sm:"p-3",md:"p-4",lg:"p-6"};function Qr(e){return e!=null}function gC(e){let t=!1;return u.Children.forEach(e,r=>{u.isValidElement(r)&&bC(r.type)&&(t=!0)}),t}function bC(e){return e===zm||e===Hm||e===Um||e===Wm||e===Gm||e===Km||e===Ym}function Dn(e,t){return e===!0||e===t}function gs(e){return vC[e]}function lc(e,t){return Qr(e)?e:t}function cc(e,t){return e??t}const zm=e=>c.jsx(qe,{...e,"data-card-slot":"header"}),Hm=e=>c.jsx(qe,{...e,"data-card-slot":"content"}),Um=e=>c.jsx(qe,{...e,"data-card-slot":"footer"}),Wm=e=>c.jsx(qe,{...e,"data-card-slot":"left"}),Gm=e=>c.jsx(qe,{...e,"data-card-slot":"right"}),Km=e=>c.jsx(qe,{...e,"data-card-slot":"start"}),Ym=e=>c.jsx(qe,{...e,"data-card-slot":"end"});function xC(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:m,end:h,contentLoading:v=!1,headerProps:b,footerProps:p,leftProps:y,rightProps:x,startProps:g,endProps:w,contentProps:P,children:C,className:S,style:N,rounded:q="lg",shadow:k,onClick:A,...E}=e,j=lc(d,m),I=lc(f,h),T=cc(y,g),O=cc(x,w),_=gC(C),{className:z,style:L,loading:Y,...F}=P??{};return _?c.jsx(qe,{rounded:q,shadow:k??ac[t],className:R("card flex overflow-hidden",ic[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",S),style:D(N,{flexDirection:"row"}),"aria-disabled":i||void 0,onClick:i?void 0:A,...E,children:C}):c.jsxs(qe,{rounded:q,shadow:k??ac[t],className:R("card flex overflow-hidden",ic[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",S),style:D(N,{flexDirection:"row"}),"aria-disabled":i||void 0,onClick:i?void 0:A,...E,children:[Qr(j)?c.jsx(qe,{...T,className:R("card-left shrink-0",Dn(n,"x")&&"border-r border-gray-100",T?.className),children:j}):null,c.jsxs(qe,{className:"card-main flex min-w-0 flex-1 flex-col",children:[Qr(a)?c.jsx(qe,{...b,className:R("card-header",gs(r),Dn(n,"y")&&"border-b border-gray-100",b?.className),children:a}):null,c.jsx(qe,{...F,className:R("card-content min-w-0 flex-1",gs(r),z),style:L,loading:v||Y,children:C}),Qr(l)?c.jsx(qe,{...p,className:R("card-footer",gs(r),Dn(n,"y")&&"border-t border-gray-100",p?.className),children:l}):null]}),Qr(I)?c.jsx(qe,{...O,className:R("card-right shrink-0",Dn(n,"x")&&"border-l border-gray-100",O?.className),children:I}):null]})}const Mt=Object.assign(xC,{Header:zm,Content:Hm,Footer:Um,Left:Wm,Right:Gm,Start:Km,End:Ym});Mt.displayName="Card";Mt.Header.displayName="Card.Header";Mt.Content.displayName="Card.Content";Mt.Footer.displayName="Card.Footer";Mt.Left.displayName="Card.Left";Mt.Right.displayName="Card.Right";Mt.Start.displayName="Card.Start";Mt.End.displayName="Card.End";function yC(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=m=>{const{scope:h,children:v,...b}=m,p=h?.[e]?.[l]||a,y=u.useMemo(()=>b,Object.values(b));return c.jsx(p.Provider,{value:y,children:v})};d.displayName=s+"Provider";function f(m,h){const v=h?.[e]?.[l]||a,b=u.useContext(v);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${m}\` 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,wC(o,...t)]}function wC(...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 m=l(s)[`__scope${d}`];return{...a,...m}},{});return u.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function PC(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Fn={exports:{}},bs={};var uc;function CC(){if(uc)return bs;uc=1;var e=Oe;function t(m,h){return m===h&&(m!==0||1/m===1/h)||m!==m&&h!==h}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,o=e.useEffect,s=e.useLayoutEffect,i=e.useDebugValue;function a(m,h){var v=h(),b=n({inst:{value:v,getSnapshot:h}}),p=b[0].inst,y=b[1];return s(function(){p.value=v,p.getSnapshot=h,l(p)&&y({inst:p})},[m,v,h]),o(function(){return l(p)&&y({inst:p}),m(function(){l(p)&&y({inst:p})})},[m]),i(v),v}function l(m){var h=m.getSnapshot;m=m.value;try{var v=h();return!r(m,v)}catch{return!0}}function d(m,h){return h()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?d:a;return bs.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:f,bs}var xs={};var dc;function SC(){return dc||(dc=1,process.env.NODE_ENV!=="production"&&(function(){function e(v,b){return v===b&&(v!==0||1/v===1/b)||v!==v&&b!==b}function t(v,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(!m){var y=b();s(p,y)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),m=!0)}y=i({inst:{value:p,getSnapshot:b}});var x=y[0].inst,g=y[1];return l(function(){x.value=p,x.getSnapshot=b,r(x)&&g({inst:x})},[v,p,b]),a(function(){return r(x)&&g({inst:x}),v(function(){r(x)&&g({inst:x})})},[v]),d(p),p}function r(v){var b=v.getSnapshot;v=v.value;try{var p=b();return!s(v,p)}catch{return!0}}function n(v,b){return b()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var o=Oe,s=typeof Object.is=="function"?Object.is:e,i=o.useState,a=o.useEffect,l=o.useLayoutEffect,d=o.useDebugValue,f=!1,m=!1,h=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:t;xs.useSyncExternalStore=o.useSyncExternalStore!==void 0?o.useSyncExternalStore:h,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),xs}var fc;function NC(){return fc||(fc=1,process.env.NODE_ENV==="production"?Fn.exports=CC():Fn.exports=SC()),Fn.exports}var qC=NC();function kC(){return qC.useSyncExternalStore(EC,()=>!0,()=>!1)}function EC(){return()=>{}}var ga="Avatar",[jC]=yC(ga),[RC,Xm]=jC(ga),Jm=u.forwardRef((e,t)=>{const{__scopeAvatar:r,...n}=e,[o,s]=u.useState("idle");return c.jsx(RC,{scope:r,imageLoadingStatus:o,onImageLoadingStatusChange:s,children:c.jsx(Ao.span,{...n,ref:t})})});Jm.displayName=ga;var Qm="AvatarImage",Zm=u.forwardRef((e,t)=>{const{__scopeAvatar:r,src:n,onLoadingStatusChange:o=()=>{},...s}=e,i=Xm(Qm,r),a=AC(n,s),l=At(d=>{o(d),i.onImageLoadingStatusChange(d)});return $e(()=>{a!=="idle"&&l(a)},[a,l]),a==="loaded"?c.jsx(Ao.img,{...s,ref:t,src:n}):null});Zm.displayName=Qm;var eh="AvatarFallback",th=u.forwardRef((e,t)=>{const{__scopeAvatar:r,delayMs:n,...o}=e,s=Xm(eh,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(Ao.span,{...o,ref:t}):null});th.displayName=eh;function mc(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function AC(e,{referrerPolicy:t,crossOrigin:r}){const n=kC(),o=u.useRef(null),s=n?(o.current||(o.current=new window.Image),o.current):null,[i,a]=u.useState(()=>mc(s,e));return $e(()=>{a(mc(s,e))},[s,e]),$e(()=>{const l=m=>()=>{a(m)};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 IC=Jm,TC=Zm,_C=th;const rh={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 OC(e){if(e!==void 0){if(typeof e=="number")return`${e}px`;if(!(typeof e=="string"&&e in rh))return e}}const nh=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,size:i="md",rounded:a="full",shadow:l,...d}=e,f=ae(),{sxClassName:m,sxInlineStyle:h}=ee(o,f),{roundedPreset:v,roundedStyle:b}=hr(a),{shadowPreset:p,shadowStyle:y}=dn(l),x=OC(i);return c.jsx(IC,{ref:t,className:R("avatar relative inline-flex shrink-0 select-none items-center justify-center overflow-hidden bg-slate-100 text-slate-700",typeof i=="string"?rh[i]:null,v?Yt[v]:null,p?Tr[p]:null,m,r,n),style:D(s,b,y,x?{width:x,height:x}:void 0,h),...d})}),ba=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,a=ae(),{sxClassName:l,sxInlineStyle:d}=ee(o,a);return c.jsx(TC,{ref:t,className:R("avatar-image h-full w-full object-cover",l,r,n),style:D(s,d),...i})}),xa=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,a=ae(),{sxClassName:l,sxInlineStyle:d}=ee(o,a);return c.jsx(_C,{ref:t,className:R("avatar-fallback flex h-full w-full items-center justify-center bg-slate-100 font-medium text-slate-600",l,r,n),style:D(s,d),...i})}),oh=Object.assign(nh,{Image:ba,Fallback:xa});nh.displayName="Avatar";ba.displayName="Avatar.Image";xa.displayName="Avatar.Fallback";oh.displayName="Avatar";const sh=su("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:Yt,shadow:Tr},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 ih(e){const{component:t,variant:r,outline:n,size:o,rounded:s,shadow:i,sx:a,style:l,className:d,class:f,...m}=e,h=t??"span",{roundedPreset:v,roundedStyle:b}=hr(s),{shadowPreset:p,shadowStyle:y}=dn(i),x=ae(),{sxClassName:g,sxInlineStyle:w}=ee(a,x);return c.jsx(h,{className:R(sh({variant:r,outline:n,size:o,rounded:v,shadow:p}),g,d,f),style:D(l,b,y,w),...m})}ih.displayName="Chip";const hc={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"},MC={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 LC(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:m="neutral",...h}=e,v=ae(),{sxClassName:b,sxInlineStyle:p}=ee(n,v),y=typeof s=="number"?s:null,x=y===0&&!d,g=y!==null?y>f?`${f}+`:String(y):s,w=a?hc[m]:l?MC[m]:hc[m];return c.jsxs("span",{className:R("relative inline-flex",t,r),style:D(o,p),...h,children:[i,!x&&(a||g!==void 0)?c.jsx("span",{className:R("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 DC(e){const{className:t,class:r,sx:n,style:o,bordered:s=!1,...i}=e,a=ae(),{sxClassName:l,sxInlineStyle:d}=ee(n,a);return c.jsx("ul",{className:R("m-0 list-none p-0",s&&"divide-y rounded-md border border-slate-200",l,t,r),style:D(o,d),...i})}function FC(e){const{description:t="暂无数据",image:r,children:n,className:o,class:s,...i}=e;return c.jsxs(qe,{...i,className:R("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 pc(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function BC(e){if(e!==void 0)return typeof e=="number"?String(e):e}function Ur(e,t,r){return Math.min(r,Math.max(t,e))}function $C(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 VC(e){return Array.from(new Set(e.filter(t=>Number.isFinite(t)&&t>0)))}function zC(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 ah=u.forwardRef(function(t,r){const{className:n,class:o,sx:s,style:i,fallback:a,fallbackSrc:l,loadingFallback:d,fit:f,position:m,aspectRatio:h,placeholder:v,blurDataURL:b,retry:p=0,retryDelay:y=800,onLoadingChange:x,loader:g,quality:w,format:P,crop:C=!1,alt:S,src:N,width:q,height:k,sizes:A,loading:E,decoding:j,onLoad:I,onError:T,sources:O,formats:_,responsiveWidths:z,preview:L=!1,children:Y,...F}=t,G=ae(),{sxClassName:me,sxInlineStyle:te}=ee(s,G),[Q,U]=u.useState(N?"loading":"idle"),[X,$]=u.useState(N),[Z,H]=u.useState(!1),[K,W]=u.useState(1),[J,le]=u.useState({x:0,y:0}),[de,ve]=u.useState(!1),ge=u.useRef(0),se=u.useRef(null),we=u.useRef(null),ke=u.useRef(null),Me=u.useRef(null);u.useEffect(()=>{ge.current=0,$(N),U(N?"loading":"idle"),H(!1),W(1),le({x:0,y:0}),ve(!1)},[N]),u.useEffect(()=>{x?.(Q==="loading")},[x,Q]),u.useEffect(()=>{process.env.NODE_ENV!=="production"&&S===void 0&&console.warn('Image missing alt prop. Use alt text or alt="" for decorative images.')},[S]),u.useEffect(()=>()=>{se.current&&clearTimeout(se.current)},[]),u.useEffect(()=>{if(!Z)return;Me.current=document.activeElement,ke.current?.focus();const B=ce=>{if(ce.key==="Escape"){H(!1),W(1),le({x:0,y:0}),ve(!1);return}if(ce.key==="+"||ce.key==="="){W(be=>Ur(Number((be+.2).toFixed(2)),1,4));return}if(ce.key==="-"||ce.key==="_"){W(be=>Ur(Number((be-.2).toFixed(2)),1,4));return}ce.key==="0"&&(W(1),le({x:0,y:0}))},V=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",B),()=>{document.body.style.overflow=V,window.removeEventListener("keydown",B),Me.current?.focus?.()}},[Z]),u.useEffect(()=>{if(!Z||!de)return;const B=ce=>{const be=we.current;if(!be)return;const Ne=ce.clientX-be.x,Ie=ce.clientY-be.y;le({x:be.offsetX+Ne,y:be.offsetY+Ie})},V=()=>{ve(!1),we.current=null};return window.addEventListener("mousemove",B),window.addEventListener("mouseup",V),()=>{window.removeEventListener("mousemove",B),window.removeEventListener("mouseup",V)}},[Z,de]);const ne=typeof q=="number"?q:void 0,Pe=typeof k=="number"?k:void 0,Ce=u.useMemo(()=>{const B=z??[],V=ne?[...B,ne]:B;return VC(V).sort((ce,be)=>ce-be)},[z,ne]),ue=u.useCallback((B,V,ce)=>g?g(B,{width:ce??ne,height:Pe,quality:w,format:V??P,crop:C}):zC(B,{width:ce??ne,height:Pe,crop:C}),[g,ne,Pe,w,P,C]),_e=X&&ue(X),he=u.useMemo(()=>{if(!X||!_?.length)return[];const B=[];for(const V of _){const ce=$C(X,V);if(!ce)continue;if(g&&Ce.length){const Ne=Ce.map(Ie=>`${ue(ce,V,Ie)} ${Ie}w`).join(", ");B.push({type:`image/${V}`,srcSet:Ne,sizes:A});continue}const be=ue(ce,V);!be||be===_e||B.push({type:`image/${V}`,srcSet:be,sizes:A})}return B},[X,_,ue,_e,A,g,Ce]),re=u.useMemo(()=>!g||!X||!Ce.length?null:{srcSet:Ce.map(V=>`${ue(X,P,V)} ${V}w`).join(", "),sizes:A},[g,X,Ce,ue,P,A]),fe=u.useMemo(()=>{const V=[...O??[]];return he.length&&V.push(...he),re&&V.push(re),V},[O,he,re]),Se=Q==="loading"&&d,Te=Q==="loading"&&v==="blur"&&!!b,Ze=Q==="error"&&a,Ge=L&&Q==="loaded"&&!!_e&&!Ze,ut={status:Q,loading:Q==="loading",error:Q==="error",loaded:Q==="loaded",previewOpen:Z,src:_e??void 0},yt=D({width:pc(q),height:h?void 0:pc(k),aspectRatio:BC(h),backgroundImage:Te?`url(${b})`:void 0,backgroundSize:Te?"cover":void 0,backgroundPosition:Te?"center":void 0},i,te),He={width:"100%",height:h||k!==void 0?"100%":"auto",objectFit:f,objectPosition:m,opacity:Te?0:void 0,transition:Te?"opacity 180ms ease":void 0,cursor:Ge?"zoom-in":void 0},nt={transform:`translate(${J.x}px, ${J.y}px) scale(${K})`,transition:de?void 0:"transform 120ms ease",cursor:K>1?de?"grabbing":"grab":"zoom-in",transformOrigin:"center center"},Ke=B=>{if(ge.current<p&&X){ge.current+=1,se.current=setTimeout(()=>{const V=X.includes("?")?"&":"?";$(`${X}${V}ldkj_retry=${ge.current}`),U("loading")},y),T?.(B);return}if(l&&X!==l){$(l),U("loading"),T?.(B);return}U("error"),T?.(B)},Lt=u.useCallback(()=>{H(!1),W(1),le({x:0,y:0}),ve(!1)},[]),Ye=B=>{B.preventDefault(),B.stopPropagation();const V=B.deltaY<0?.2:-.2;W(ce=>Ur(Number((ce+V).toFixed(2)),1,4))};return c.jsxs(c.Fragment,{children:[c.jsxs("span",{className:R("relative inline-block max-w-full overflow-hidden align-middle",me,n,o),style:yt,children:[Ze?a:fe.length?c.jsxs("picture",{children:[fe.map((B,V)=>c.jsx("source",{media:B.media,srcSet:B.srcSet,type:B.type,sizes:B.sizes},`${B.type??"source"}-${V}`)),c.jsx("img",{ref:r,alt:S,src:_e,width:q,height:k,sizes:A,loading:E??"lazy",decoding:j??"async",onLoad:B=>{U("loaded"),I?.(B)},onError:Ke,onClick:()=>{Ge&&(H(!0),W(1),le({x:0,y:0}))},className:"block max-w-full",style:He,...F})]}):c.jsx("img",{ref:r,alt:S,src:_e,width:q,height:k,sizes:A,loading:E??"lazy",decoding:j??"async",onLoad:B=>{U("loaded"),I?.(B)},onError:Ke,onClick:()=>{Ge&&(H(!0),W(1),le({x:0,y:0}))},className:"block max-w-full",style:He,...F}),Se?c.jsx("span",{className:"absolute inset-0 flex items-center justify-center",children:d}):null,Y?c.jsx("span",{className:"pointer-events-none absolute inset-0",children:Y(ut)}):null]}),Z&&_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:Lt,onWheel:Ye,children:[c.jsx("img",{src:_e,alt:S,className:"max-h-[88vh] max-w-[92vw] select-none rounded-md object-contain shadow-2xl",style:nt,onClick:B=>B.stopPropagation(),onMouseDown:B=>{K<=1||(B.preventDefault(),B.stopPropagation(),we.current={x:B.clientX,y:B.clientY,offsetX:J.x,offsetY:J.y},ve(!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:B=>{B.stopPropagation(),W(V=>Ur(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:B=>{B.stopPropagation(),W(V=>Ur(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:B=>{B.stopPropagation(),W(1),le({x:0,y:0})},children:"重置"}),c.jsx("button",{ref:ke,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:B=>{B.stopPropagation(),Lt()},children:"关闭"})]})]}):null]})});ah.displayName="Image";var Cr={},ys,vc;function HC(){return vc||(vc=1,ys=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),ys}var ws={},$t={},gc;function br(){if(gc)return $t;gc=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 $t.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},$t.getSymbolTotalCodewords=function(n){return t[n]},$t.getBCHDigit=function(r){let n=0;for(;r!==0;)n++,r>>>=1;return n},$t.setToSJISFunction=function(n){if(typeof n!="function")throw new Error('"toSJISFunc" is not a valid function.');e=n},$t.isKanjiModeEnabled=function(){return typeof e<"u"},$t.toSJIS=function(n){return e(n)},$t}var Ps={},bc;function ya(){return bc||(bc=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}}})(Ps)),Ps}var Cs,xc;function UC(){if(xc)return Cs;xc=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++}},Cs=e,Cs}var Ss,yc;function WC(){if(yc)return Ss;yc=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]},Ss=e,Ss}var Ns={},wc;function GC(){return wc||(wc=1,(function(e){const t=br().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}})(Ns)),Ns}var qs={},Pc;function KC(){if(Pc)return qs;Pc=1;const e=br().getSymbolSize,t=7;return qs.getPositions=function(n){const o=e(n);return[[0,0],[o-t,0],[0,o-t]]},qs}var ks={},Cc;function YC(){return Cc||(Cc=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 m=0;m<s;m++){a=l=0,d=f=null;for(let h=0;h<s;h++){let v=o.get(m,h);v===d?a++:(a>=5&&(i+=t.N1+(a-5)),d=v,a=1),v=o.get(h,m),v===f?l++:(l>=5&&(i+=t.N1+(l-5)),f=v,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}})(ks)),ks}var Bn={},Sc;function lh(){if(Sc)return Bn;Sc=1;const e=ya(),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 Bn.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}},Bn.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}},Bn}var Es={},Wr={},Nc;function XC(){if(Nc)return Wr;Nc=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]})(),Wr.log=function(n){if(n<1)throw new Error("log("+n+")");return t[n]},Wr.exp=function(n){return e[n]},Wr.mul=function(n,o){return n===0||o===0?0:e[t[n]+t[o]]},Wr}var qc;function JC(){return qc||(qc=1,(function(e){const t=XC();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}})(Es)),Es}var js,kc;function QC(){if(kc)return js;kc=1;const e=JC();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},js=t,js}var Rs={},As={},Is={},Ec;function ch(){return Ec||(Ec=1,Is.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),Is}var Pt={},jc;function uh(){if(jc)return Pt;jc=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
+ ]))+`;Pt.KANJI=new RegExp(r,"g"),Pt.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),Pt.BYTE=new RegExp(n,"g"),Pt.NUMERIC=new RegExp(e,"g"),Pt.ALPHANUMERIC=new RegExp(t,"g");const o=new RegExp("^"+r+"$"),s=new RegExp("^"+e+"$"),i=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return Pt.testKanji=function(l){return o.test(l)},Pt.testNumeric=function(l){return s.test(l)},Pt.testAlphanumeric=function(l){return i.test(l)},Pt}var Rc;function xr(){return Rc||(Rc=1,(function(e){const t=ch(),r=uh();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}}})(As)),As}var Ac;function ZC(){return Ac||(Ac=1,(function(e){const t=br(),r=lh(),n=ya(),o=xr(),s=ch(),i=7973,a=t.getBCHDigit(i);function l(h,v,b){for(let p=1;p<=40;p++)if(v<=e.getCapacity(p,b,h))return p}function d(h,v){return o.getCharCountIndicator(h,v)+4}function f(h,v){let b=0;return h.forEach(function(p){const y=d(p.mode,v);b+=y+p.getBitsLength()}),b}function m(h,v){for(let b=1;b<=40;b++)if(f(h,b)<=e.getCapacity(b,v,o.MIXED))return b}e.from=function(v,b){return s.isValid(v)?parseInt(v,10):b},e.getCapacity=function(v,b,p){if(!s.isValid(v))throw new Error("Invalid QR Code version");typeof p>"u"&&(p=o.BYTE);const y=t.getSymbolTotalCodewords(v),x=r.getTotalCodewordsCount(v,b),g=(y-x)*8;if(p===o.MIXED)return g;const w=g-d(p,v);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(v,b){let p;const y=n.from(b,n.M);if(Array.isArray(v)){if(v.length>1)return m(v,y);if(v.length===0)return 1;p=v[0]}else p=v;return l(p.mode,p.getLength(),y)},e.getEncodedBits=function(v){if(!s.isValid(v)||v<7)throw new Error("Invalid QR Code version");let b=v<<12;for(;t.getBCHDigit(b)-a>=0;)b^=i<<t.getBCHDigit(b)-a;return v<<12|b}})(Rs)),Rs}var Ts={},Ic;function eS(){if(Ic)return Ts;Ic=1;const e=br(),t=1335,r=21522,n=e.getBCHDigit(t);return Ts.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},Ts}var _s={},Os,Tc;function tS(){if(Tc)return Os;Tc=1;const e=xr();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))},Os=t,Os}var Ms,_c;function rS(){if(_c)return Ms;_c=1;const e=xr(),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)},Ms=r,Ms}var Ls,Oc;function nS(){if(Oc)return Ls;Oc=1;const e=xr();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)},Ls=t,Ls}var Ds,Mc;function oS(){if(Mc)return Ds;Mc=1;const e=xr(),t=br();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)}},Ds=r,Ds}var Fs={exports:{}},Lc;function sS(){return Lc||(Lc=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,m,h,v,b,p,y;!a.empty();){l=a.pop(),d=l.value,m=l.cost,h=r[d]||{};for(f in h)h.hasOwnProperty(f)&&(v=h[f],b=m+v,p=i[f],y=typeof i[f]>"u",(y||p>b)&&(i[f]=b,a.push(f,b),s[f]=d))}if(typeof o<"u"&&typeof i[o]>"u"){var x=["Could not find a path from ",n," to ",o,"."].join("");throw new Error(x)}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})(Fs)),Fs.exports}var Dc;function iS(){return Dc||(Dc=1,(function(e){const t=xr(),r=tS(),n=rS(),o=nS(),s=oS(),i=uh(),a=br(),l=sS();function d(x){return unescape(encodeURIComponent(x)).length}function f(x,g,w){const P=[];let C;for(;(C=x.exec(w))!==null;)P.push({data:C[0],index:C.index,mode:g,length:C[0].length});return P}function m(x){const g=f(i.NUMERIC,t.NUMERIC,x),w=f(i.ALPHANUMERIC,t.ALPHANUMERIC,x);let P,C;return a.isKanjiModeEnabled()?(P=f(i.BYTE,t.BYTE,x),C=f(i.KANJI,t.KANJI,x)):(P=f(i.BYTE_KANJI,t.BYTE,x),C=[]),g.concat(w,P,C).sort(function(N,q){return N.index-q.index}).map(function(N){return{data:N.data,mode:N.mode,length:N.length}})}function h(x,g){switch(g){case t.NUMERIC:return r.getBitsLength(x);case t.ALPHANUMERIC:return n.getBitsLength(x);case t.KANJI:return s.getBitsLength(x);case t.BYTE:return o.getBitsLength(x)}}function v(x){return x.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(x){const g=[];for(let w=0;w<x.length;w++){const P=x[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(x,g){const w={},P={start:{}};let C=["start"];for(let S=0;S<x.length;S++){const N=x[S],q=[];for(let k=0;k<N.length;k++){const A=N[k],E=""+S+k;q.push(E),w[E]={node:A,lastCount:0},P[E]={};for(let j=0;j<C.length;j++){const I=C[j];w[I]&&w[I].node.mode===A.mode?(P[I][E]=h(w[I].lastCount+A.length,A.mode)-h(w[I].lastCount,A.mode),w[I].lastCount+=A.length):(w[I]&&(w[I].lastCount=A.length),P[I][E]=h(A.length,A.mode)+4+t.getCharCountIndicator(A.mode,g))}}C=q}for(let S=0;S<C.length;S++)P[C[S]].end=0;return{map:P,table:w}}function y(x,g){let w;const P=t.getBestModeForData(x);if(w=t.from(g,P),w!==t.BYTE&&w.bit<P.bit)throw new Error('"'+x+'" 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(x);case t.ALPHANUMERIC:return new n(x);case t.KANJI:return new s(x);case t.BYTE:return new o(x)}}e.fromArray=function(g){return g.reduce(function(w,P){return typeof P=="string"?w.push(y(P,null)):P.data&&w.push(y(P.data,P.mode)),w},[])},e.fromString=function(g,w){const P=m(g,a.isKanjiModeEnabled()),C=b(P),S=p(C,w),N=l.find_path(S.map,"start","end"),q=[];for(let k=1;k<N.length-1;k++)q.push(S.table[N[k]].node);return e.fromArray(v(q))},e.rawSplit=function(g){return e.fromArray(m(g,a.isKanjiModeEnabled()))}})(_s)),_s}var Fc;function aS(){if(Fc)return ws;Fc=1;const e=br(),t=ya(),r=UC(),n=WC(),o=GC(),s=KC(),i=YC(),a=lh(),l=QC(),d=ZC(),f=eS(),m=xr(),h=iS();function v(S,N){const q=S.size,k=s.getPositions(N);for(let A=0;A<k.length;A++){const E=k[A][0],j=k[A][1];for(let I=-1;I<=7;I++)if(!(E+I<=-1||q<=E+I))for(let T=-1;T<=7;T++)j+T<=-1||q<=j+T||(I>=0&&I<=6&&(T===0||T===6)||T>=0&&T<=6&&(I===0||I===6)||I>=2&&I<=4&&T>=2&&T<=4?S.set(E+I,j+T,!0,!0):S.set(E+I,j+T,!1,!0))}}function b(S){const N=S.size;for(let q=8;q<N-8;q++){const k=q%2===0;S.set(q,6,k,!0),S.set(6,q,k,!0)}}function p(S,N){const q=o.getPositions(N);for(let k=0;k<q.length;k++){const A=q[k][0],E=q[k][1];for(let j=-2;j<=2;j++)for(let I=-2;I<=2;I++)j===-2||j===2||I===-2||I===2||j===0&&I===0?S.set(A+j,E+I,!0,!0):S.set(A+j,E+I,!1,!0)}}function y(S,N){const q=S.size,k=d.getEncodedBits(N);let A,E,j;for(let I=0;I<18;I++)A=Math.floor(I/3),E=I%3+q-8-3,j=(k>>I&1)===1,S.set(A,E,j,!0),S.set(E,A,j,!0)}function x(S,N,q){const k=S.size,A=f.getEncodedBits(N,q);let E,j;for(E=0;E<15;E++)j=(A>>E&1)===1,E<6?S.set(E,8,j,!0):E<8?S.set(E+1,8,j,!0):S.set(k-15+E,8,j,!0),E<8?S.set(8,k-E-1,j,!0):E<9?S.set(8,15-E-1+1,j,!0):S.set(8,15-E-1,j,!0);S.set(k-8,8,1,!0)}function g(S,N){const q=S.size;let k=-1,A=q-1,E=7,j=0;for(let I=q-1;I>0;I-=2)for(I===6&&I--;;){for(let T=0;T<2;T++)if(!S.isReserved(A,I-T)){let O=!1;j<N.length&&(O=(N[j]>>>E&1)===1),S.set(A,I-T,O),E--,E===-1&&(j++,E=7)}if(A+=k,A<0||q<=A){A-=k,k=-k;break}}}function w(S,N,q){const k=new r;q.forEach(function(T){k.put(T.mode.bit,4),k.put(T.getLength(),m.getCharCountIndicator(T.mode,S)),T.write(k)});const A=e.getSymbolTotalCodewords(S),E=a.getTotalCodewordsCount(S,N),j=(A-E)*8;for(k.getLengthInBits()+4<=j&&k.put(0,4);k.getLengthInBits()%8!==0;)k.putBit(0);const I=(j-k.getLengthInBits())/8;for(let T=0;T<I;T++)k.put(T%2?17:236,8);return P(k,S,N)}function P(S,N,q){const k=e.getSymbolTotalCodewords(N),A=a.getTotalCodewordsCount(N,q),E=k-A,j=a.getBlocksCount(N,q),I=k%j,T=j-I,O=Math.floor(k/j),_=Math.floor(E/j),z=_+1,L=O-_,Y=new l(L);let F=0;const G=new Array(j),me=new Array(j);let te=0;const Q=new Uint8Array(S.buffer);for(let H=0;H<j;H++){const K=H<T?_:z;G[H]=Q.slice(F,F+K),me[H]=Y.encode(G[H]),F+=K,te=Math.max(te,K)}const U=new Uint8Array(k);let X=0,$,Z;for($=0;$<te;$++)for(Z=0;Z<j;Z++)$<G[Z].length&&(U[X++]=G[Z][$]);for($=0;$<L;$++)for(Z=0;Z<j;Z++)U[X++]=me[Z][$];return U}function C(S,N,q,k){let A;if(Array.isArray(S))A=h.fromArray(S);else if(typeof S=="string"){let O=N;if(!O){const _=h.rawSplit(S);O=d.getBestVersionForData(_,q)}A=h.fromString(S,O||40)}else throw new Error("Invalid data");const E=d.getBestVersionForData(A,q);if(!E)throw new Error("The amount of data is too big to be stored in a QR Code");if(!N)N=E;else if(N<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=w(N,q,T),A=e.getSymbolSize(N),_=new n(A);return m(_,N),b(_),v(_,N),y(_,q,0),N>=7&&x(_,N),g(_,R),isNaN(k)&&(k=i.getBestMask(_,y.bind(null,_,q))),i.applyMask(k,_),y(_,q,k),{modules:_,version:N,errorCorrectionLevel:q,maskPattern:k,segments:T}}return ss.create=function(N,q){if(typeof N>"u"||N==="")throw new Error("No input text");let k=t.M,T,E;return typeof q<"u"&&(k=t.from(q.errorCorrectionLevel,t.M),T=d.from(q.version),E=i.from(q.maskPattern),q.toSJISFunc&&e.setToSJISFunction(q.toSJISFunc)),C(N,T,k,E)},ss}var Ss={},Ns={},bc;function Lh(){return bc||(bc=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 p=0;p<d;p++)for(let m=0;m<d;m++){let b=(p*d+m)*4,v=s.color.light;if(p>=f&&m>=f&&p<d-f&&m<d-f){const x=Math.floor((p-f)/l),y=Math.floor((m-f)/l);v=h[a[x*i+y]?1:0]}n[b++]=v.r,n[b++]=v.g,n[b++]=v.b,n[b]=v.a}}})(Ns)),Ns}var xc;function fC(){return xc||(xc=1,(function(e){const t=Lh();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"),p=h.createImageData(f,f);return t.qrToImageData(p.data,s,l),r(h,d,f),h.putImageData(p,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)}})(Ss)),Ss}var qs={},yc;function hC(){if(yc)return qs;yc=1;const e=Lh();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 p=Math.floor(h%s),m=Math.floor(h/s);!p&&!d&&(d=!0),o[h]?(f++,h>0&&p>0&&o[h-1]||(a+=d?r("M",p+i,.5+m+i):r("m",l,0),l=0,d=!1),p+1<s&&o[h+1]||(a+=r("h",f),f=0)):l++}return a}return qs.render=function(s,i,a){const l=e.getOptions(i),d=s.modules.size,f=s.modules.data,h=d+l.margin*2,p=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">'+p+m+`</svg>
48
- `;return typeof a=="function"&&a(null,x),x},qs}var wc;function mC(){if(wc)return cr;wc=1;const e=UP(),t=dC(),r=fC(),n=hC();function o(s,i,a,l,d){const f=[].slice.call(arguments,1),h=f.length,p=typeof f[h-1]=="function";if(!p&&!e())throw new Error("Callback required as last argument");if(p){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 v=t.create(a,l);m(s(v,i,l))}catch(v){b(v)}})}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 pC=mC();const ra=qP(pC),Dh=({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:p,style:m,...b})=>{const v=je.useRef(null),x=je.useRef(null),y=se(),{sxClassName:g,sxInlineStyle:w}=X(h,y),P=je.useCallback(C=>{const S=v.current;S&&ra.toCanvas(S,e,{errorCorrectionLevel:l,margin:a,width:C,color:{dark:s,light:i}},N=>{if(N&&console.error(N),!t){const q=S.getContext("2d");q&&(q.globalCompositeOperation="source-over",q.fillStyle="rgba(255, 255, 255, 0.5)",q.fillRect(0,0,S.width,S.height),q.filter="grayscale(100%) opacity(0.5)",q.drawImage(S,0,0))}})},[i,l,s,a,t,e]);return je.useEffect(()=>{const C=x.current;if(!C)return;const S=new ResizeObserver(()=>{const N=Math.min(C.clientWidth,C.clientHeight);P(N)});return S.observe(C),()=>S.disconnect()},[e,t,s,i,a,l,P]),c.jsxs("div",{ref:x,className:j(g,p),style:L(m,{width:f?"100%":d,height:f?"100%":d,display:"flex",aspectRatio:"1",position:"relative"},w),...b,children:[c.jsx("canvas",{ref:v}),!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})]})},vC=e=>e?{width:e,height:e}:{},Bh=({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:p,margin:m=4,errorCorrectionLevel:b,unload:v,width:x,height:y,...g})=>{const[w,P]=je.useState(""),[C,S]=je.useState(),N=je.useRef(null),q=se(),{sxClassName:k,sxInlineStyle:T}=X(r,q);return je.useEffect(()=>{if(!t)return;const E=N.current;if(!E)return;const R=()=>{S(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;ra.toDataURL(n,{color:{dark:h,light:p},width:E,margin:m,errorCorrectionLevel:b}).then(R=>P(R)).catch(R=>console.error(R))},[p,b,h,m,t,C,x,e,n]),w?c.jsxs("div",{ref:N,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%"}:vC(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:v})};function gC({canvas:e,...t}){return e?c.jsx(Dh,{...t}):c.jsx(Bh,{...t})}const bC=e=>e?{width:e,height:e}:{},xC=({size:e,value:t,useful:r=!0,alt:n,style:o,foregroundColor:s,backgroundColor:i,margin:a,errorCorrectionLevel:l,unload:d,...f})=>{const[h,p]=je.useState("");return je.useEffect(()=>{ra.toDataURL(t,{color:{dark:s,light:i},width:e,margin:a,errorCorrectionLevel:l}).then(m=>p(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",...bC(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"},yC={outlined:"border border-slate-200 bg-white",filled:"border border-slate-100 bg-slate-50",ghost:"border border-transparent bg-transparent"};function Fh(e){return null}function $h(e){const{className:t,...r}=e;return c.jsx(Pe,{component:"thead",className:j("bg-slate-50",t),...r})}function Vh(e){return c.jsx(Pe,{component:"tbody",...e})}function Jn(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 Ln(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 Br(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 ks="ellipsis";function Es(e,t){return Number.isFinite(e)?Math.min(Math.max(Math.trunc(e),1),t):1}function Rs(e,t){const r=Math.max(t-e+1,0);return Array.from({length:r},(n,o)=>e+o)}function wC(e){const{count:t,page:r,defaultPage:n=1}=e,[o,s]=u.useState(()=>Es(n,t)),i=r!==void 0,a=Es(i?r:o,t);return u.useEffect(()=>{i||s(l=>Es(l,t))},[t,i]),{page:a,setPage:s,isControlled:i}}function PC(e){const{count:t,page:r,siblingCount:n,boundaryCount:o,showPreviousNext:s,disabled:i}=e,a=Rs(1,Math.min(o,t)),l=Rs(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),p=[...a,...d>o+2?[ks]:o+1<t-o?[o+1]:[],...Rs(d,f),...f<t-o-1?[ks]:t-o>o?[t-o]:[],...l].map(m=>m===ks?{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},...p,{type:"next",page:Math.min(r+1,t),selected:!1,disabled:i||r>=t}]:p}const na=({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:p,class:m,sx:b,style:v,children:x,...y})=>{const g=se(),{sxClassName:w,sxInlineStyle:P}=X(b,g),C=typeof e=="number"&&e>0,{page:S,setPage:N,isControlled:q}=wC({count:C?e:1,page:t,defaultPage:r}),k=C?PC({count:e,page:S,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(),q||N(R),n?.(E,R)};return c.jsx("nav",{role:"navigation","aria-label":"分页",className:j("mx-auto flex w-full justify-center",w,p,m),style:L(v,P),...y,children:C?c.jsx(oa,{...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(aa,{})},A):E.type==="previous"?c.jsx(Kt,{children:c.jsx(sa,{href:_,variant:i,disabled:E.disabled,onClick:O})},A):E.type==="next"?c.jsx(Kt,{children:c.jsx(ia,{href:_,variant:i,disabled:E.disabled,onClick:O})},A):c.jsx(Kt,{children:c.jsx(an,{href:_,variant:i,isActive:E.selected,disabled:E.disabled,onClick:O,children:E.page})},A)})}):x})};na.displayName="Pagination";const oa=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})});oa.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 CC(e,t){return t?e==="filled"?"primary":"outline":"ghost"}const an=({className:e,class:t,isActive:r,disabled:n,variant:o="outline",size:s="icon",tabIndex:i,...a})=>c.jsx(Qr,{component:"a","aria-current":r?"page":void 0,"aria-disabled":n?!0:void 0,variant:CC(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});an.displayName="PaginationLink";const sa=({className:e,children:t,...r})=>c.jsx(an,{"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:"上一页"})]})});sa.displayName="PaginationPrevious";const ia=({className:e,children:t,...r})=>c.jsx(an,{"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})]})});ia.displayName="PaginationNext";const aa=({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:"更多页码"})]})};aa.displayName="PaginationEllipsis";function Kr(e){return typeof e=="number"?`${e}px`:e}function SC(e,t){if(t)return e[String(t)]}function la(e,t){return e.key!==void 0?e.key:e.dataIndex!==void 0?String(e.dataIndex):t}function Pc(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 NC(e){const t=e[0];return t?Object.keys(t).map(r=>({key:r,dataIndex:r,title:r})):[]}function qC(e){return u.isValidElement(e)&&e.type===Fh}function kC(e){const t=[],r=[];return u.Children.forEach(e,n=>{if(qC(n)){t.push(n.props);return}r.push(n)}),{childColumns:t,restChildren:r}}function EC(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 RC(e){const{selectionEnabled:t,size:r,allChecked:n,partiallyChecked:o,selectableKeysLength:s,onToggleCurrentPage:i,indexColumn:a,visibleColumns:l}=e;return c.jsxs(Jn,{className:"border-b border-slate-200",children:[t?c.jsx(Ln,{className:j(Yt[r],"w-12 text-center"),style:{textAlign:"center"},children:c.jsx(nn,{"aria-label":"选择当前页",checked:o?"indeterminate":n,disabled:!s,onCheckedChange:d=>i(d===!0)})}):null,a?c.jsx(Ln,{className:j(Yt[r],"text-slate-600"),style:{width:Kr(typeof a=="object"?a.width:64),textAlign:"center"},children:typeof a=="object"?a.title??"#":"#"}):null,l.map((d,f)=>c.jsx(Ln,{sx:d.headerSx,className:j(Yt[r],d.headerClassName),style:{width:Kr(d.width),textAlign:d.headerAlign??d.align??"left"},children:d.title??String(d.dataIndex??"")},la(d,f)))]})}function jC(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:p,tableColumnCount:m}=e,b=r.length>0;return c.jsx(Vh,{...t,children:b?r.map(({record:v,index:x,absoluteIndex:y,key:g,disabled:w})=>{const P=n.has(g),C=typeof o=="function"?o(v,y):o;return c.jsxs(Jn,{...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(Br,{className:j(Yt[s],"w-12 text-center"),style:{textAlign:"center"},children:c.jsx(nn,{"aria-label":`选择第 ${y+1} 行`,checked:P,disabled:w,onCheckedChange:S=>d(g,S===!0)})}):null,f?c.jsx(Br,{className:j(Yt[s],"text-slate-500"),style:{textAlign:"center"},children:y+1}):null,h.map((S,N)=>{const q=SC(v,S.dataIndex);return c.jsx(Br,{sx:S.sx,className:j(Yt[s],S.className),style:{width:Kr(S.width),textAlign:S.align??"left"},children:S.render?S.render(q,v,y):q},la(S,N))})]},g)}):c.jsx(Jn,{children:c.jsx(Br,{className:j(Yt[s],"text-center text-slate-500"),colSpan:Math.max(m,1),style:{textAlign:"center"},children:p})})})}function TC(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(na,{count:t,page:r,onPageChange:o})})}function AC(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:p,indexColumn:m=!1,rowSelection:b,pagination:v,tableProps:x,headProps:y,bodyProps:g,rowProps:w,className:P,children:C,rounded:S="lg",...N}=e,{childColumns:q,restChildren:k}=kC(C),E=(t??(q.length?q:NC(r))).filter(ie=>!ie.hidden),R=v===!1?r.length||1:v?.pageSize??(r.length||1),A=v===!1?r.length:v?.total??r.length,_=Math.max(Math.ceil(A/R),1),[O,I]=u.useState(v===!1?1:v?.defaultPage??1),$=v===!1?1:v?.page??O,M=($-1)*R,U=v===!1?r:r.slice(M,M+R),D=!!b,{selectedKeys:G,setSelectedKeys:me,isControlled:te}=EC({selectedRowKeys:b?.selectedRowKeys,defaultSelectedRowKeys:b?.defaultSelectedRowKeys}),J=U.map((ie,ye)=>{const Se=M+ye,Ie=Pc(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=v!==!1&&v?.position==="left"?"justify-start":v!==!1&&v?.position==="center"?"justify-center":"justify-end",W=E.length+(D?1:0)+(m?1:0),Z=Kr(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(Pc(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){v!==!1&&v?.page===void 0&&I(ye),v!==!1&&v?.onPageChange?.(ye,R)}return c.jsxs(Pe,{rounded:S,loading:f,className:j("table-root w-full overflow-hidden",yC[s],P),...N,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:Kr(ie.width)}},la(ie,ye)))]}):null,p?c.jsx("caption",{className:"px-4 py-3 text-left text-sm text-slate-600",children:p}):null,c.jsx($h,{...y,className:j(d&&"sticky top-0 z-10",y?.className),children:c.jsx(RC,{selectionEnabled:D,size:o,allChecked:Q,partiallyChecked:z,selectableKeysLength:H.length,onToggleCurrentPage:pe,indexColumn:m,visibleColumns:E})}),c.jsx(jC,{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})]})}),v!==!1&&_>1?c.jsx(TC,{pageCount:_,currentPage:$,justifyClassName:K,onPageChange:ve}):null,k]})}const zt=Object.assign(AC,{Column:Fh,Head:$h,Body:Vh,Row:Jn,Cell:Br,HeaderCell:Ln});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 _C={text:"origin-left rounded-sm",rect:"",circle:"rounded-full"};function vt(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function IC(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 OC(e,t,r,n){return r?.[e]!==void 0?r[e]:t>1&&e===t-1?"68%":n??"100%"}function ln(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,...p}=e,m=se(),{roundedPreset:b,roundedStyle:v}=Zt(s??(f==="circle"?"full":f==="rect"?"md":"sm")),{sxClassName:x,sxInlineStyle:y}=X(n,m),g=IC(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",_C[f],b&&Mt[b],x,t,r),style:L(o,g,v,y),...p})}function ca(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:p=!1,...m}=e,b=se(),{sxClassName:v,sxInlineStyle:x}=X(i,b),y=Math.max(1,Math.floor(t));return c.jsx("div",{className:j("skeleton-text flex-col",p?"inline-flex align-middle":"flex",v,l,d),style:L(a,{gap:vt(n),width:vt(s)},x),...m,children:Array.from({length:y}).map((g,w)=>c.jsx(ln,{...m,animated:h,rounded:f,variant:"text",width:OC(w,y,o,s),height:r},w))})}function ua(e){const{size:t=40,...r}=e;return c.jsx(ln,{...r,variant:"circle",width:t,height:t})}function zh(e){const{width:t=96,height:r=36,rounded:n="md",...o}=e;return c.jsx(ln,{...o,variant:"rect",width:t,height:r,rounded:n})}function Hh(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:p,roundedStyle:m}=Zt(s),{sxClassName:b,sxInlineStyle:v}=X(d,h);return c.jsx("div",{className:j("skeleton-card border border-gray-200 bg-white p-4",p&&Mt[p],b,i,a),style:L(l,{width:vt(n)},m,v),...f,children:c.jsxs("div",{className:"flex items-start gap-3",children:[t?c.jsx(ua,{animated:o,size:40}):null,c.jsx("div",{className:"min-w-0 flex-1",children:c.jsx(ca,{animated:o,rows:r,widths:["56%","100%","76%"]})})]})})}ln.displayName="Skeleton";ca.displayName="SkeletonText";ua.displayName="SkeletonAvatar";zh.displayName="SkeletonButton";Hh.displayName="SkeletonCard";const Cc={full:"",middle:"px-4",inset:"pl-4"},MC={full:"",middle:"py-4",inset:"pt-4"};function Wh(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:p,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",MC[r],p,l),style:b,...f,children:c.jsx("span",{"aria-hidden":!0,className:j("border-l border-current",s),style:{borderStyle:o}})});const v=a!=null,x=n==="left"?"w-8 flex-none":"flex-1",y=n==="right"?"w-8 flex-none":"flex-1";return v?c.jsxs("div",{role:"separator","aria-orientation":"horizontal",className:j("flex w-full items-center text-gray-200",Cc[r],p,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",Cc[r],p,l),style:b,...f,children:c.jsx("span",{"aria-hidden":!0,className:j("block w-full border-t border-current",s),style:{borderStyle:o}})})}Wh.displayName="Divider";const Sc={xs:"gap-1",sm:"gap-2",md:"gap-3",lg:"gap-4",xl:"gap-6"};function LC(e){return e==="col"?"column":e==="col-reverse"?"column-reverse":e}function DC(e){return typeof e=="boolean"?e?"wrap":"nowrap":e}function Nc(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function BC(e){return typeof e=="number"?{gapStyle:`${e}px`}:typeof e=="string"&&e in Sc?{gapClass:Sc[e]}:{gapStyle:e}}function Gh(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,...p}=e,{gapClass:m,gapStyle:b}=BC(i),v={flexDirection:LC(t),justifyContent:r,alignItems:n,flexWrap:DC(s),flex:o,gap:b,width:Nc(a),height:Nc(l)};return c.jsx(Pe,{className:j("flex",m,f),style:L(h,v),sx:d,...p})}Gh.displayName="Flex";function qc(e){if(e!==void 0)return typeof e=="number"?`${e*8}px`:e}function FC(e){return!e||Number.isNaN(e)||e<=0?12:e}function $C(e){return typeof e=="boolean"?e?"wrap":"nowrap":e}function VC(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 zC(e){return e==="auto"?{marginLeft:"auto"}:{marginLeft:`calc(100% * ${e} / var(--ldkj-grid-columns, 12))`}}function Ro(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:p,...m}=e,b=FC(o),v=qc(i??s),x=qc(a??s),y={};return t?(y.display="flex",y.flexWrap=$C(l),y.flexDirection=d,y.rowGap=v,y.columnGap=x,y["--ldkj-grid-columns"]=String(b)):o!==void 0&&(y["--ldkj-grid-columns"]=String(b)),r!==void 0&&Object.assign(y,VC(r)),n!==void 0&&Object.assign(y,zC(n)),c.jsx(Pe,{className:j("min-w-0",h),style:L(p,y),sx:f,...m})}Ro.displayName="Grid";function HC(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 jo(e){const{component:t,position:r="both",horizontal:n=!1,sx:o,className:s,style:i,children:a,...l}=e,d=HC(r,n);return c.jsx(Pe,{component:t,className:j("box-border",s),style:L(i,d),sx:o,...l,children:a})}function Kh(e){return c.jsx(jo,{...e,position:"top"})}function Uh(e){return c.jsx(jo,{...e,position:"bottom"})}jo.displayName="SafeArea";Kh.displayName="SafeAreaTop";Uh.displayName="SafeAreaBottom";const kc={sm:640,md:768,lg:1024,xl:1280},Ec={xs:"0.25rem",sm:"0.5rem",md:"0.75rem",lg:"1rem",xl:"1.5rem"},Yh=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,...p}=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,...p,children:h})});br.displayName="SpaceItem";br[Yh]=!0;function Xh(e){return typeof e!="object"||e===null||Array.isArray(e)?!1:Object.keys(e).some(r=>["xs","sm","md","lg","xl"].includes(r))}function _r(e){if(e!==void 0)return Xh(e)?e.xs:e}function Ir(e,t){if(e===void 0||!Xh(e))return;const r={};return Object.keys(kc).forEach(n=>{const o=e[n];if(o===void 0)return;const s=kc[n];r[`@media (min-width: ${s}px)`]=t(o)}),Object.keys(r).length?r:void 0}function Rc(e){return e==="vertical"?"column":"row"}function jc(e){return e===void 0?"wrap":typeof e=="boolean"?e?"wrap":"nowrap":e}function Rt(e){return typeof e=="number"?`${e}px`:e in Ec?Ec[e]:e}function Tc(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 WC(e){return!!e.type?.[Yh]}function Jh(e,t,r,n,o){if(u.isValidElement(e)&&WC(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 GC(e,t,r,n,o){const s=u.Children.toArray(e),i=[];return s.forEach((a,l)=>{i.push(Jh(a,l,r,n,o)),l<s.length-1&&i.push(c.jsx(br,{"aria-hidden":"true",children:t},`space-split-${l}`))}),i}const da=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:p,...m}=e,b=_r(t)??"horizontal",v=_r(r)??"md",x=_r(n)??!0,y=_r(o),g=_r(s),w=Tc(v),P={display:"flex",flexDirection:Rc(b),flexWrap:jc(x),alignItems:y,justifyContent:g,rowGap:w.rowGap,columnGap:w.columnGap},C=Ir(t,R=>({flexDirection:Rc(R)})),S=Ir(r,R=>Tc(R)),N=Ir(n,R=>({flexWrap:jc(R)})),q=Ir(o,R=>({alignItems:R})),k=Ir(s,R=>({justifyContent:R})),T=[C,S,N,q,k,f],E=i!=null?GC(h,i,a,l,d):u.Children.toArray(h).map((R,A)=>Jh(R,A,a,l,d));return c.jsx(Pe,{style:L(p,P),sx:T,...m,children:E})};da.displayName="Space";da.Item=br;const KC={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 UC(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(KC[i],f,r,n),style:L(s,h),...a})}function YC(e){return e===void 0?{}:Array.isArray(e)?{rowSpacing:e[0],columnSpacing:e[1]}:{spacing:e}}function Qh(e){const{gutter:t=0,align:r,justify:n,wrap:o="wrap",direction:s="row",style:i,...a}=e,l=YC(t);return c.jsx(Ro,{container:!0,wrap:o,direction:s,style:L(i,{alignItems:r,justifyContent:n}),...l,...a})}Qh.displayName="Row";function Zh(e){const{span:t,offset:r,flex:n,style:o,...s}=e;return c.jsx(Ro,{size:t,offset:r,style:L(o,{flex:n}),...s})}Zh.displayName="Col";const em=u.createContext({}),tm=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:p}=X(n,f),m=Array.isArray(t)&&t.length>0;return c.jsx(em.Provider,{value:{separator:e},children:c.jsx("nav",{ref:d,"aria-label":"breadcrumb",className:j(h,s,i),style:L(o,p),...l,children:m?c.jsx(fa,{...r,children:t.map((b,v)=>{const{key:x,label:y,href:g,current:w,separator:P,ellipsis:C,itemProps:S,linkProps:N,pageProps:q}=b,k=v===t.length-1,T=w??k;return c.jsxs(u.Fragment,{children:[c.jsx(ha,{...S,children:C?c.jsx(ga,{}):T?c.jsx(pa,{...q,children:y}):c.jsx(ma,{href:g,...N,children:y})}),k?null:c.jsx(va,{children:P})]},x??v)})}):a})})});tm.displayName="Breadcrumb";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={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})});fa.displayName="BreadcrumbList";const ha=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})});ha.displayName="BreadcrumbItem";const ma=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})});ma.displayName="BreadcrumbLink";const pa=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})});pa.displayName="BreadcrumbPage";const va=({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(em),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"})})};va.displayName="BreadcrumbSeparator";const ga=({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"})]})};ga.displayName="BreadcrumbEllipsis";function XC(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 rm(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:p,sxInlineStyle:m}=X(d,h),b=j("inline-flex w-fit p-0",p,a,l),v=L(f,m),x=()=>{XC(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:v,onClick:Y=>{Y.preventDefault(),x(),I?.(Y)},...H})}const{component:y,onClick:g,onKeyDown:w,hash:P,onNavigate:C,class:S,sx:N,offset:q,behavior:k,block:T,inline:E,...R}=e,A=y??"button",_=A==="button";return c.jsx(A,{className:b,style:v,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})}rm.displayName="Anchor";function JC(){return u.useRef(null)}const ba=u.createContext(null),Ur=u.createContext(0),ri=u.createContext(null);function nm(e){const t=u.useContext(ba);if(!t)throw new Error(`${e} must be used within Menu.`);return t}function Ac(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 Qn(e){return typeof e=="number"?`${e}px`:e}function QC(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 eS(e){return e.key==="Enter"||e.key===" "}function cn(e){const{className:t,class:r,sx:n,style:o,...s}=e,i=u.useContext(ba),a=se(),{sxClassName:l,sxInlineStyle:d}=X(n,a),f={display:"flex",flexDirection:"column",gap:i?Qn(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})}cn.displayName="Menu.List";function xa(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:p,class:m,sx:b,style:v,children:x,...y}=e,g=nm("Menu.Item"),w=u.useContext(Ur),P=l??g.selectedKeys.includes(t),C=se(),{sxClassName:S,sxInlineStyle:N}=X(b,C),q=i??(s?"a":"button"),k=q==="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(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",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",S,p,m),style:L({paddingLeft:`calc(0.75rem + ${w} * ${Qn(g.indent)})`},v,N),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})]})})}xa.displayName="Menu.Item";function ya(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,p=nm("Menu.Sub"),m=u.useContext(Ur),b=u.useContext(ri),v=p.openKeys.includes(t),x=se(),{sxClassName:y,sxInlineStyle:g}=X(l,x);return u.useEffect(()=>p.registerSub(t,b),[p,t,b]),c.jsxs("li",{className:j(y,i,a),style:L({display:"flex",flexDirection:"column",gap:Qn(p.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",v&&"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} * ${Qn(p.indent)})`},"aria-expanded":v,"aria-disabled":s||void 0,"data-menu-sub-key":t,disabled:s,onClick:()=>{s||p.toggleOpenKey(t)},onKeyDown:w=>{!s&&eS(w)&&(w.preventDefault(),p.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",v?"rotate-180":"rotate-90")})]}),v?c.jsx(Ur.Provider,{value:m+1,children:c.jsx(ri.Provider,{value:t,children:c.jsx(cn,{role:"menu","aria-label":typeof r=="string"?r:void 0,children:f})})}):null]})}ya.displayName="Menu.Sub";function wa(e){const{label:t,className:r,class:n,sx:o,style:s,children:i,...a}=e,l=u.useContext(Ur),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(cn,{role:"group",children:i})]})}wa.displayName="Menu.Group";function ni(e,t=[]){return e.map((r,n)=>{const o=[...t,n],s=ZC(r,o);return r.type==="group"?c.jsx(wa,{label:r.label,...r.groupProps,children:r.children?ni(r.children,o):null},s):r.children?.length||r.type==="sub"?c.jsx(ya,{itemKey:s,label:r.label,icon:r.icon,iconProps:r.iconProps,disabled:r.disabled,...r.subProps,children:r.children?ni(r.children,o):null},s):c.jsx(xa,{itemKey:s,label:r.label,icon:r.icon,iconProps:r.iconProps,href:r.href,disabled:r.disabled,unselectOnClick:r.unselectOnClick,...r.itemProps},s)})}function om(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:p,menuRef:m,children:b,listProps:v,className:x,class:y,style:g,component:w,...P}=e,[C,S]=Ac({value:r,defaultValue:n,onChange:o}),[N,q]=Ac({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];S($,O)},[l,C,S]),R=u.useCallback((O,I)=>{const $=N;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);q(M,O)},[d,N,q]),A=u.useCallback(O=>{R(O,!N.includes(O))},[N,R]);u.useImperativeHandle(m,()=>({select:O=>E(O),unselect:O=>S(C.filter(I=>I!==O),O),open:O=>R(O,!0),close:O=>R(O,!1),toggleOpen:A,getSelectedKeys:()=>C,getOpenKeys:()=>N}),[N,E,C,R,S,A]);const _=u.useMemo(()=>({selectedKeys:C,openKeys:N,multiple:l,accordion:d,indent:f,itemGap:h,selectKey:E,toggleOpenKey:A,registerSub:T}),[d,f,h,l,N,T,E,C,A]);return c.jsx(ba.Provider,{value:_,children:c.jsx(Ur.Provider,{value:0,children:c.jsx(ri.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(QC(p),g),"aria-label":"Menu",...P,children:c.jsx(cn,{role:"menu",...v,children:t?ni(t):b})})})})})}om.displayName="Menu";const tS=Object.assign(om,{Item:xa,Sub:ya,Group:wa,List:cn});var To="Tabs",[rS]=rt(To,[wo]),sm=wo(),[nS,Pa]=rS(To),im=u.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,onValueChange:o,defaultValue:s,orientation:i="horizontal",dir:a,activationMode:l="automatic",...d}=e,f=yo(a),[h,p]=yt({prop:n,onChange:o,defaultProp:s??"",caller:To});return c.jsx(nS,{scope:r,baseId:tr(),value:h,onValueChange:p,orientation:i,dir:f,activationMode:l,children:c.jsx(be.div,{dir:f,"data-orientation":i,...d,ref:t})})});im.displayName=To;var am="TabsList",lm=u.forwardRef((e,t)=>{const{__scopeTabs:r,loop:n=!0,...o}=e,s=Pa(am,r),i=sm(r);return c.jsx(tf,{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})})});lm.displayName=am;var cm="TabsTrigger",um=u.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...s}=e,i=Pa(cm,r),a=sm(r),l=hm(i.baseId,n),d=mm(i.baseId,n),f=n===i.value;return c.jsx(rf,{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)})})})});um.displayName=cm;var dm="TabsContent",fm=u.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,forceMount:o,children:s,...i}=e,a=Pa(dm,r),l=hm(a.baseId,n),d=mm(a.baseId,n),f=n===a.value,h=u.useRef(f);return u.useEffect(()=>{const p=requestAnimationFrame(()=>h.current=!1);return()=>cancelAnimationFrame(p)},[]),c.jsx(Bt,{present:o||f,children:({present:p})=>c.jsx(be.div,{"data-state":f?"active":"inactive","data-orientation":a.orientation,role:"tabpanel","aria-labelledby":l,hidden:!p,id:d,tabIndex:0,...i,ref:t,style:{...e.style,animationDuration:h.current?"0s":void 0},children:p&&s})})});fm.displayName=dm;function hm(e,t){return`${e}-trigger-${t}`}function mm(e,t){return`${e}-content-${t}`}var oS=im,pm=lm,vm=um,gm=fm;function bm(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),p=Array.isArray(t)&&t.length>0;return c.jsx(oS,{className:j("w-full",f,s,i),style:L(o,h),...l,children:p?c.jsxs(c.Fragment,{children:[c.jsx(Ca,{...r,children:t.map(m=>c.jsx(Sa,{value:m.value,disabled:m.disabled,...m.triggerProps,children:m.label},m.value))}),t.map(m=>c.jsx(Na,{value:m.value,...m.contentProps,children:m.content},m.value))]}):a})}bm.displayName="Tabs";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(pm,{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})});Ca.displayName=pm.displayName;const Sa=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(vm,{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})});Sa.displayName=vm.displayName;const Na=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(gm,{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})});Na.displayName=gm.displayName;exports.Alert=ly;exports.Anchor=rm;exports.AutoComplete=Ud;exports.Avatar=jh;exports.AvatarFallback=ea;exports.AvatarImage=Zi;exports.Badge=$P;exports.Box=Pe;exports.Breadcrumb=tm;exports.BreadcrumbEllipsis=ga;exports.BreadcrumbItem=ha;exports.BreadcrumbLink=ma;exports.BreadcrumbList=fa;exports.BreadcrumbPage=pa;exports.BreadcrumbSeparator=va;exports.Button=Qr;exports.Card=Pt;exports.Cascader=xf;exports.Checkbox=nn;exports.CheckboxGroup=Wd;exports.Chip=Ah;exports.Col=Zh;exports.Dialog=Ev;exports.DialogClose=hi;exports.DialogContent=pi;exports.DialogDescription=xi;exports.DialogFooter=gi;exports.DialogHeader=vi;exports.DialogOverlay=mi;exports.DialogPortal=gu;exports.DialogTitle=bi;exports.DialogTrigger=fi;exports.Divider=Wh;exports.Drawer=oy;exports.Empty=zP;exports.Flex=Gh;exports.Form=Pf;exports.FormItem=Wi;exports.GhostButton=$n;exports.GhostButtonGroup=cu;exports.Grid=Ro;exports.Icon=Le;exports.Image=_h;exports.Input=xo;exports.InputNumber=Gd;exports.InputOPT=Kd;exports.Label=bo;exports.List=VP;exports.Loading=ty;exports.Menu=tS;exports.MobileCascader=mh;exports.MobileSelect=hh;exports.Modal=di;exports.NotificationProvider=Ad;exports.Pagination=na;exports.PaginationContent=oa;exports.PaginationEllipsis=aa;exports.PaginationItem=Kt;exports.PaginationLink=an;exports.PaginationNext=ia;exports.PaginationPrevious=sa;exports.Popover=fd;exports.PopoverAnchor=gx;exports.PopoverClose=hd;exports.PopoverContent=Mi;exports.PopoverTrigger=Oi;exports.Progress=dy;exports.QRCode=gC;exports.QRCodeBase=xC;exports.QRCodeCanvas=Dh;exports.QRCodeSizable=Bh;exports.Radio=Vi;exports.RadioGroup=vf;exports.Rate=gf;exports.Required=$0;exports.Row=Qh;exports.SafeArea=jo;exports.SafeAreaBottom=Uh;exports.SafeAreaTop=Kh;exports.Select=Zf;exports.SelectContent=nh;exports.SelectGroup=eh;exports.SelectItem=Yn;exports.SelectItems=Gw;exports.SelectLabel=Yi;exports.SelectScrollDownButton=Ui;exports.SelectScrollUpButton=Ki;exports.SelectSeparator=Xi;exports.SelectTrigger=rh;exports.SelectValue=Vw;exports.Skeleton=ln;exports.SkeletonAvatar=ua;exports.SkeletonButton=zh;exports.SkeletonCard=Hh;exports.SkeletonText=ca;exports.Slider=yf;exports.Space=da;exports.Spin=_d;exports.Switch=ch;exports.SxProvider=fp;exports.Table=zt;exports.Tabs=bm;exports.TabsContent=Na;exports.TabsList=Ca;exports.TabsTrigger=Sa;exports.ToastProvider=hu;exports.Tooltip=$x;exports.TooltipArrow=Bi;exports.TooltipContent=Ed;exports.TooltipPortal=Vx;exports.TooltipProvider=Fx;exports.TooltipTrigger=kd;exports.Typography=UC;exports.Uploader=ow;exports.buttonVariants=Dc;exports.chipVariants=Th;exports.createTheme=hp;exports.getRegisteredIconNames=pv;exports.mergeSxStyle=L;exports.notification=Wx;exports.registerIconLoaders=fv;exports.resetIconLoaders=mv;exports.resolveSx=X;exports.setIconLoaders=hv;exports.toast=Nv;exports.useForm=zi;exports.useFormInstance=Hi;exports.useFormValue=So;exports.useFormWatch=wf;exports.useInputNumberState=By;exports.useInputValue=Oy;exports.useMenuRef=JC;exports.useNotification=Qx;exports.useSxTheme=se;exports.useToast=Sv;
47
+ `);const j=w(N,q,A),I=e.getSymbolSize(N),T=new n(I);return v(T,N),b(T),p(T,N),x(T,q,0),N>=7&&y(T,N),g(T,j),isNaN(k)&&(k=i.getBestMask(T,x.bind(null,T,q))),i.applyMask(k,T),x(T,q,k),{modules:T,version:N,errorCorrectionLevel:q,maskPattern:k,segments:A}}return ws.create=function(N,q){if(typeof N>"u"||N==="")throw new Error("No input text");let k=t.M,A,E;return typeof q<"u"&&(k=t.from(q.errorCorrectionLevel,t.M),A=d.from(q.version),E=i.from(q.maskPattern),q.toSJISFunc&&e.setToSJISFunction(q.toSJISFunc)),C(N,A,k,E)},ws}var Bs={},$s={},Bc;function dh(){return Bc||(Bc=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,m=[s.color.light,s.color.dark];for(let h=0;h<d;h++)for(let v=0;v<d;v++){let b=(h*d+v)*4,p=s.color.light;if(h>=f&&v>=f&&h<d-f&&v<d-f){const y=Math.floor((h-f)/l),x=Math.floor((v-f)/l);p=m[a[y*i+x]?1:0]}n[b++]=p.r,n[b++]=p.g,n[b++]=p.b,n[b]=p.a}}})($s)),$s}var $c;function lS(){return $c||($c=1,(function(e){const t=dh();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),m=d.getContext("2d"),h=m.createImageData(f,f);return t.qrToImageData(h.data,s,l),r(m,d,f),m.putImageData(h,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",m=l.rendererOpts||{};return d.toDataURL(f,m.quality)}})(Bs)),Bs}var Vs={},Vc;function cS(){if(Vc)return Vs;Vc=1;const e=dh();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 m=0;m<o.length;m++){const h=Math.floor(m%s),v=Math.floor(m/s);!h&&!d&&(d=!0),o[m]?(f++,m>0&&h>0&&o[m-1]||(a+=d?r("M",h+i,.5+v+i):r("m",l,0),l=0,d=!1),h+1<s&&o[m+1]||(a+=r("h",f),f=0)):l++}return a}return Vs.render=function(s,i,a){const l=e.getOptions(i),d=s.modules.size,f=s.modules.data,m=d+l.margin*2,h=l.color.light.a?"<path "+t(l.color.light,"fill")+' d="M0 0h'+m+"v"+m+'H0z"/>':"",v="<path "+t(l.color.dark,"stroke")+' d="'+n(f,d,l.margin)+'"/>',b='viewBox="0 0 '+m+" "+m+'"',y='<svg xmlns="http://www.w3.org/2000/svg" '+(l.width?'width="'+l.width+'" height="'+l.width+'" ':"")+b+' shape-rendering="crispEdges">'+h+v+`</svg>
48
+ `;return typeof a=="function"&&a(null,y),y},Vs}var zc;function uS(){if(zc)return Cr;zc=1;const e=HC(),t=aS(),r=lS(),n=cS();function o(s,i,a,l,d){const f=[].slice.call(arguments,1),m=f.length,h=typeof f[m-1]=="function";if(!h&&!e())throw new Error("Callback required as last argument");if(h){if(m<2)throw new Error("Too few arguments provided");m===2?(d=a,a=i,i=l=void 0):m===3&&(i.getContext&&typeof d>"u"?(d=l,l=void 0):(d=l,l=a,a=i,i=void 0))}else{if(m<1)throw new Error("Too few arguments provided");return m===1?(a=i,i=l=void 0):m===2&&!i.getContext&&(l=a,a=i,i=void 0),new Promise(function(v,b){try{const p=t.create(a,l);v(s(p,i,l))}catch(p){b(p)}})}try{const v=t.create(a,l);d(null,s(v,i,l))}catch(v){d(v)}}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 dS=uS();const wa=PC(dS),fh=({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:m,className:h,style:v,...b})=>{const p=Oe.useRef(null),y=Oe.useRef(null),x=ae(),{sxClassName:g,sxInlineStyle:w}=ee(m,x),P=Oe.useCallback(C=>{const S=p.current;S&&wa.toCanvas(S,e,{errorCorrectionLevel:l,margin:a,width:C,color:{dark:s,light:i}},N=>{if(N&&console.error(N),!t){const q=S.getContext("2d");q&&(q.globalCompositeOperation="source-over",q.fillStyle="rgba(255, 255, 255, 0.5)",q.fillRect(0,0,S.width,S.height),q.filter="grayscale(100%) opacity(0.5)",q.drawImage(S,0,0))}})},[i,l,s,a,t,e]);return Oe.useEffect(()=>{const C=y.current;if(!C)return;const S=new ResizeObserver(()=>{const N=Math.min(C.clientWidth,C.clientHeight);P(N)});return S.observe(C),()=>S.disconnect()},[e,t,s,i,a,l,P]),c.jsxs("div",{ref:y,className:R(g,h),style:D(v,{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})]})},fS=e=>e?{width:e,height:e}:{},mh=({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:m,backgroundColor:h,margin:v=4,errorCorrectionLevel:b,unload:p,width:y,height:x,...g})=>{const[w,P]=Oe.useState(""),[C,S]=Oe.useState(),N=Oe.useRef(null),q=ae(),{sxClassName:k,sxInlineStyle:A}=ee(r,q);return Oe.useEffect(()=>{if(!t)return;const E=N.current;if(!E)return;const j=()=>{S(Math.min(E.clientWidth,E.clientHeight))};j();const I=new ResizeObserver(j);return I.observe(E),()=>I.disconnect()},[t]),Oe.useEffect(()=>{const E=t?C:y?ar.getInstance().convertToPx(y):e?ar.getInstance().convertToPx(e):void 0;wa.toDataURL(n,{color:{dark:m,light:h},width:E,margin:v,errorCorrectionLevel:b}).then(j=>P(j)).catch(j=>console.error(j))},[h,b,m,v,t,C,y,e,n]),w?c.jsxs("div",{ref:N,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:R(k,f),style:D({filter:o?"none":"grayscale(100%) opacity(0.5)",transition:"filter 0.2s ease",position:"relative",...t?{width:"100%",height:"100%"}:fS(e)},d,A),...!t&&{width:y,height:x},...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 mS({canvas:e,...t}){return e?c.jsx(fh,{...t}):c.jsx(mh,{...t})}const hS=e=>e?{width:e,height:e}:{},pS=({size:e,value:t,useful:r=!0,alt:n,style:o,foregroundColor:s,backgroundColor:i,margin:a,errorCorrectionLevel:l,unload:d,...f})=>{const[m,h]=Oe.useState("");return Oe.useEffect(()=>{wa.toDataURL(t,{color:{dark:s,light:i},width:e,margin:a,errorCorrectionLevel:l}).then(v=>h(v)).catch(v=>console.error(v))},[i,l,s,a,e,t]),m?c.jsx("img",{src:m,alt:n??"QR Code",style:{filter:r?"none":"grayscale(100%) opacity(0.5)",transition:"filter 0.2s ease",...hS(e),...o},...f}):c.jsx(c.Fragment,{children:d})},ur={sm:"px-3 py-2 text-xs",md:"px-4 py-3 text-sm",lg:"px-5 py-4 text-base"},vS={outlined:"border border-slate-200 bg-white",filled:"border border-slate-100 bg-slate-50",ghost:"border border-transparent bg-transparent"};function hh(e){return null}function ph(e){const{className:t,...r}=e;return c.jsx(qe,{component:"thead",className:R("bg-slate-50",t),...r})}function vh(e){return c.jsx(qe,{component:"tbody",...e})}function fo(e){const{className:t,...r}=e;return c.jsx(qe,{component:"tr",className:R("border-b border-slate-100 last:border-b-0",t),...r})}function Jn(e){const{className:t,style:r,...n}=e;return c.jsx(qe,{component:"th",scope:"col",className:R("whitespace-nowrap font-medium text-slate-700",t),style:D({textAlign:"left"},r),...n})}function Zr(e){const{className:t,style:r,...n}=e;return c.jsx(qe,{component:"td",className:R("text-slate-700",t),style:D({textAlign:"left"},r),...n})}const zs="ellipsis";function Hs(e,t){return Number.isFinite(e)?Math.min(Math.max(Math.trunc(e),1),t):1}function Us(e,t){const r=Math.max(t-e+1,0);return Array.from({length:r},(n,o)=>e+o)}function gS(e){const{count:t,page:r,defaultPage:n=1}=e,[o,s]=u.useState(()=>Hs(n,t)),i=r!==void 0,a=Hs(i?r:o,t);return u.useEffect(()=>{i||s(l=>Hs(l,t))},[t,i]),{page:a,setPage:s,isControlled:i}}function bS(e){const{count:t,page:r,siblingCount:n,boundaryCount:o,showPreviousNext:s,disabled:i}=e,a=Us(1,Math.min(o,t)),l=Us(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),h=[...a,...d>o+2?[zs]:o+1<t-o?[o+1]:[],...Us(d,f),...f<t-o-1?[zs]:t-o>o?[t-o]:[],...l].map(v=>v===zs?{type:"ellipsis",page:null,selected:!1,disabled:!0}:{type:"page",page:v,selected:v===r,disabled:i});return s?[{type:"previous",page:Math.max(r-1,1),selected:!1,disabled:i||r<=1},...h,{type:"next",page:Math.min(r+1,t),selected:!1,disabled:i||r>=t}]:h}const Pa=({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:m,className:h,class:v,sx:b,style:p,children:y,...x})=>{const g=ae(),{sxClassName:w,sxInlineStyle:P}=ee(b,g),C=typeof e=="number"&&e>0,{page:S,setPage:N,isControlled:q}=gS({count:C?e:1,page:t,defaultPage:r}),k=C?bS({count:e,page:S,siblingCount:Math.max(Math.trunc(o),0),boundaryCount:Math.max(Math.trunc(s),0),showPreviousNext:a,disabled:l}):[],A=(E,j,I)=>{if(I){E.preventDefault();return}E.preventDefault(),q||N(j),n?.(E,j)};return c.jsx("nav",{role:"navigation","aria-label":"分页",className:R("mx-auto flex w-full justify-center",w,h,v),style:D(p,P),...x,children:C?c.jsx(Ca,{...m,children:k.map((E,j)=>{const I=`${E.type}-${E.page??j}`,T=E.page===null?void 0:d?.(E.page,E.type)??`#page-${E.page}`,O=E.page===null?void 0:z=>A(z,E.page,E.disabled),_={...E,href:T,onClick:O};return f?c.jsx(ir,{children:f(_)},I):E.type==="ellipsis"?c.jsx(ir,{children:c.jsx(qa,{})},I):E.type==="previous"?c.jsx(ir,{children:c.jsx(Sa,{href:T,variant:i,disabled:E.disabled,onClick:O})},I):E.type==="next"?c.jsx(ir,{children:c.jsx(Na,{href:T,variant:i,disabled:E.disabled,onClick:O})},I):c.jsx(ir,{children:c.jsx(yn,{href:T,variant:i,isActive:E.selected,disabled:E.disabled,onClick:O,children:E.page})},I)})}):y})};Pa.displayName="Pagination";const Ca=u.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=ae(),{sxClassName:a,sxInlineStyle:l}=ee(r,i),d={listStyle:"none",margin:0,padding:0};return c.jsx("ul",{ref:s,className:R("m-0 flex list-none flex-row items-center gap-1 p-0",a,e,t),style:D(d,n,l),...o})});Ca.displayName="PaginationContent";const ir=u.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=ae(),{sxClassName:a,sxInlineStyle:l}=ee(r,i);return c.jsx("li",{ref:s,className:R(a,e,t),style:D({listStyle:"none",margin:0},n,l),...o})});ir.displayName="PaginationItem";function xS(e,t){return t?e==="filled"?"primary":"outline":"ghost"}const yn=({className:e,class:t,isActive:r,disabled:n,variant:o="outline",size:s="icon",tabIndex:i,...a})=>c.jsx(vt,{component:"a","aria-current":r?"page":void 0,"aria-disabled":n?!0:void 0,variant:xS(o,r),size:s,tabIndex:n?-1:i,className:R(n&&"pointer-events-none opacity-50",r&&o==="filled"&&"!text-white hover:!text-white",e,t),...a});yn.displayName="PaginationLink";const Sa=({className:e,children:t,...r})=>c.jsx(yn,{"aria-label":"上一页",size:"md",className:R("gap-1 pl-2.5",e),...r,children:t??c.jsxs(c.Fragment,{children:[c.jsx(Be,{name:"chevron_left",size:16}),c.jsx("span",{children:"上一页"})]})});Sa.displayName="PaginationPrevious";const Na=({className:e,children:t,...r})=>c.jsx(yn,{"aria-label":"下一页",size:"md",className:R("gap-1 pr-2.5",e),...r,children:t??c.jsxs(c.Fragment,{children:[c.jsx("span",{children:"下一页"}),c.jsx(Be,{name:"chevron_right",size:16})]})});Na.displayName="PaginationNext";const qa=({className:e,class:t,sx:r,style:n,...o})=>{const s=ae(),{sxClassName:i,sxInlineStyle:a}=ee(r,s);return c.jsxs("span",{"aria-hidden":!0,className:R("flex h-8 w-8 items-center justify-center",i,e,t),style:D(n,a),...o,children:[c.jsx(Be,{name:"more_horiz",size:16}),c.jsx("span",{className:"sr-only",children:"更多页码"})]})};qa.displayName="PaginationEllipsis";function ln(e){return typeof e=="number"?`${e}px`:e}function yS(e,t){if(t)return e[String(t)]}function ka(e,t){return e.key!==void 0?e.key:e.dataIndex!==void 0?String(e.dataIndex):t}function Hc(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 wS(e){const t=e[0];return t?Object.keys(t).map(r=>({key:r,dataIndex:r,title:r})):[]}function PS(e){return u.isValidElement(e)&&e.type===hh}function CS(e){const t=[],r=[];return u.Children.forEach(e,n=>{if(PS(n)){t.push(n.props);return}r.push(n)}),{childColumns:t,restChildren:r}}function SS(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 NS(e){const{selectionEnabled:t,size:r,allChecked:n,partiallyChecked:o,selectableKeysLength:s,onToggleCurrentPage:i,indexColumn:a,visibleColumns:l}=e;return c.jsxs(fo,{className:"border-b border-slate-200",children:[t?c.jsx(Jn,{className:R(ur[r],"w-12 text-center"),style:{textAlign:"center"},children:c.jsx(gn,{"aria-label":"选择当前页",checked:o?"indeterminate":n,disabled:!s,onCheckedChange:d=>i(d===!0)})}):null,a?c.jsx(Jn,{className:R(ur[r],"text-slate-600"),style:{width:ln(typeof a=="object"?a.width:64),textAlign:"center"},children:typeof a=="object"?a.title??"#":"#"}):null,l.map((d,f)=>c.jsx(Jn,{sx:d.headerSx,className:R(ur[r],d.headerClassName),style:{width:ln(d.width),textAlign:d.headerAlign??d.align??"left"},children:d.title??String(d.dataIndex??"")},ka(d,f)))]})}function qS(e){const{bodyProps:t,currentRowMeta:r,selectedSet:n,rowProps:o,size:s,striped:i,hoverable:a,selectionEnabled:l,onToggleRow:d,indexColumn:f,visibleColumns:m,empty:h,tableColumnCount:v}=e,b=r.length>0;return c.jsx(vh,{...t,children:b?r.map(({record:p,index:y,absoluteIndex:x,key:g,disabled:w})=>{const P=n.has(g),C=typeof o=="function"?o(p,x):o;return c.jsxs(fo,{...C,"data-selected":P?"":void 0,className:R(i&&y%2===1&&"bg-slate-50/70",a&&"transition-colors hover:bg-blue-50/50",P&&"bg-blue-50",C?.className),children:[l?c.jsx(Zr,{className:R(ur[s],"w-12 text-center"),style:{textAlign:"center"},children:c.jsx(gn,{"aria-label":`选择第 ${x+1} 行`,checked:P,disabled:w,onCheckedChange:S=>d(g,S===!0)})}):null,f?c.jsx(Zr,{className:R(ur[s],"text-slate-500"),style:{textAlign:"center"},children:x+1}):null,m.map((S,N)=>{const q=yS(p,S.dataIndex);return c.jsx(Zr,{sx:S.sx,className:R(ur[s],S.className),style:{width:ln(S.width),textAlign:S.align??"left"},children:S.render?S.render(q,p,x):q},ka(S,N))})]},g)}):c.jsx(fo,{children:c.jsx(Zr,{className:R(ur[s],"text-center text-slate-500"),colSpan:Math.max(v,1),style:{textAlign:"center"},children:h})})})}function kS(e){const{pageCount:t,currentPage:r,justifyClassName:n,onPageChange:o}=e;return t<=1?null:c.jsx(qe,{className:R("flex border-t border-slate-100 p-3",n),children:c.jsx(Pa,{count:t,page:r,onPageChange:o})})}function ES(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:m="暂无数据",caption:h,indexColumn:v=!1,rowSelection:b,pagination:p,tableProps:y,headProps:x,bodyProps:g,rowProps:w,className:P,children:C,rounded:S="lg",...N}=e,{childColumns:q,restChildren:k}=CS(C),E=(t??(q.length?q:wS(r))).filter(se=>!se.hidden),j=p===!1?r.length||1:p?.pageSize??(r.length||1),I=p===!1?r.length:p?.total??r.length,T=Math.max(Math.ceil(I/j),1),[O,_]=u.useState(p===!1?1:p?.defaultPage??1),z=p===!1?1:p?.page??O,L=(z-1)*j,Y=p===!1?r:r.slice(L,L+j),F=!!b,{selectedKeys:G,setSelectedKeys:me,isControlled:te}=SS({selectedRowKeys:b?.selectedRowKeys,defaultSelectedRowKeys:b?.defaultSelectedRowKeys}),Q=Y.map((se,we)=>{const ke=L+we,Me=Hc(se,ke,n),ne=b?.getCheckboxProps?.(se,ke);return{record:se,index:we,absoluteIndex:ke,key:Me,disabled:!!ne?.disabled}}),U=Q.filter(se=>!se.disabled).map(se=>se.key),X=new Set(G),$=U.filter(se=>X.has(se)).length,Z=U.length>0&&$===U.length,H=$>0&&!Z,K=p!==!1&&p?.position==="left"?"justify-start":p!==!1&&p?.position==="center"?"justify-center":"justify-end",W=E.length+(F?1:0)+(v?1:0),J=ln(typeof v=="object"?v.width:64);function le(se){te||me(se);const we=new Set(se);b?.onChange?.(se,r.filter((ke,Me)=>we.has(Hc(ke,Me,n))))}function de(se,we){const ke=new Set(G);we?ke.add(se):ke.delete(se),le(Array.from(ke))}function ve(se){const we=new Set(G);U.forEach(ke=>{se?we.add(ke):we.delete(ke)}),le(Array.from(we))}function ge(se,we){p!==!1&&p?.page===void 0&&_(we),p!==!1&&p?.onPageChange?.(we,j)}return c.jsxs(qe,{rounded:S,loading:f,className:R("table-root w-full overflow-hidden",vS[s],P),...N,children:[c.jsx(qe,{className:"table-scroll w-full overflow-x-auto",children:c.jsxs(qe,{component:"table",...y,className:R("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",y?.className),style:D({borderCollapse:"collapse",display:"table",tableLayout:"fixed",width:"100%"},y?.style),children:[W>0?c.jsxs("colgroup",{children:[F?c.jsx("col",{style:{width:48}}):null,v?c.jsx("col",{style:{width:J}}):null,E.map((se,we)=>c.jsx("col",{style:{width:ln(se.width)}},ka(se,we)))]}):null,h?c.jsx("caption",{className:"px-4 py-3 text-left text-sm text-slate-600",children:h}):null,c.jsx(ph,{...x,className:R(d&&"sticky top-0 z-10",x?.className),children:c.jsx(NS,{selectionEnabled:F,size:o,allChecked:Z,partiallyChecked:H,selectableKeysLength:U.length,onToggleCurrentPage:ve,indexColumn:v,visibleColumns:E})}),c.jsx(qS,{bodyProps:g,currentRowMeta:Q,selectedSet:X,rowProps:w,size:o,striped:i,hoverable:l,selectionEnabled:F,onToggleRow:de,indexColumn:v,visibleColumns:E,empty:m,tableColumnCount:W})]})}),p!==!1&&T>1?c.jsx(kS,{pageCount:T,currentPage:z,justifyClassName:K,onPageChange:ge}):null,k]})}const rr=Object.assign(ES,{Column:hh,Head:ph,Body:vh,Row:fo,Cell:Zr,HeaderCell:Jn});rr.displayName="Table";rr.Column.displayName="Table.Column";rr.Head.displayName="Table.Head";rr.Body.displayName="Table.Body";rr.Row.displayName="Table.Row";rr.Cell.displayName="Table.Cell";rr.HeaderCell.displayName="Table.HeaderCell";const jS={text:"origin-left rounded-sm",rect:"",circle:"rounded-full"};function Rt(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function RS(e,t,r){return e==="circle"?{width:Rt(t??r??40),height:Rt(r??t??40)}:e==="text"?{width:Rt(t??"100%"),height:Rt(r??"1em")}:{width:Rt(t),height:Rt(r)}}function AS(e,t,r,n){return r?.[e]!==void 0?r[e]:t>1&&e===t-1?"68%":n??"100%"}function wn(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:m,...h}=e,v=ae(),{roundedPreset:b,roundedStyle:p}=hr(s??(f==="circle"?"full":f==="rect"?"md":"sm")),{sxClassName:y,sxInlineStyle:x}=ee(n,v),g=RS(f,i,a);return c.jsx("div",{role:m??"status","aria-live":"polite","aria-label":e["aria-label"]??"Loading",className:R("skeleton bg-gray-200",l?"inline-block align-middle":"block",d&&"animate-pulse",jS[f],b&&Yt[b],y,t,r),style:D(o,g,p,x),...h})}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:d,rounded:f,animated:m,inline:h=!1,...v}=e,b=ae(),{sxClassName:p,sxInlineStyle:y}=ee(i,b),x=Math.max(1,Math.floor(t));return c.jsx("div",{className:R("skeleton-text flex-col",h?"inline-flex align-middle":"flex",p,l,d),style:D(a,{gap:Rt(n),width:Rt(s)},y),...v,children:Array.from({length:x}).map((g,w)=>c.jsx(wn,{...v,animated:m,rounded:f,variant:"text",width:AS(w,x,o,s),height:r},w))})}function ja(e){const{size:t=40,...r}=e;return c.jsx(wn,{...r,variant:"circle",width:t,height:t})}function gh(e){const{width:t=96,height:r=36,rounded:n="md",...o}=e;return c.jsx(wn,{...o,variant:"rect",width:t,height:r,rounded:n})}function bh(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,m=ae(),{roundedPreset:h,roundedStyle:v}=hr(s),{sxClassName:b,sxInlineStyle:p}=ee(d,m);return c.jsx("div",{className:R("skeleton-card border border-gray-200 bg-white p-4",h&&Yt[h],b,i,a),style:D(l,{width:Rt(n)},v,p),...f,children:c.jsxs("div",{className:"flex items-start gap-3",children:[t?c.jsx(ja,{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%"]})})]})})}wn.displayName="Skeleton";Ea.displayName="SkeletonText";ja.displayName="SkeletonAvatar";gh.displayName="SkeletonButton";bh.displayName="SkeletonCard";const Uc={full:"",middle:"px-4",inset:"pl-4"},IS={full:"",middle:"py-4",inset:"pt-4"};function xh(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,m=ae(),{sxClassName:h,sxInlineStyle:v}=ee(i,m),b=D(d,v);if(t)return c.jsx("div",{role:"separator","aria-orientation":"vertical",className:R("inline-flex min-h-6 self-stretch items-stretch text-gray-200",IS[r],h,l),style:b,...f,children:c.jsx("span",{"aria-hidden":!0,className:R("border-l border-current",s),style:{borderStyle:o}})});const p=a!=null,y=n==="left"?"w-8 flex-none":"flex-1",x=n==="right"?"w-8 flex-none":"flex-1";return p?c.jsxs("div",{role:"separator","aria-orientation":"horizontal",className:R("flex w-full items-center text-gray-200",Uc[r],h,l),style:b,...f,children:[c.jsx("span",{"aria-hidden":!0,className:R(y,"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:R(x,"border-t border-current",s),style:{borderStyle:o}})]}):c.jsx("div",{role:"separator","aria-orientation":"horizontal",className:R("w-full text-gray-200",Uc[r],h,l),style:b,...f,children:c.jsx("span",{"aria-hidden":!0,className:R("block w-full border-t border-current",s),style:{borderStyle:o}})})}xh.displayName="Divider";const Wc={xs:"gap-1",sm:"gap-2",md:"gap-3",lg:"gap-4",xl:"gap-6"};function TS(e){return e==="col"?"column":e==="col-reverse"?"column-reverse":e}function _S(e){return typeof e=="boolean"?e?"wrap":"nowrap":e}function Gc(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function OS(e){return typeof e=="number"?{gapStyle:`${e}px`}:typeof e=="string"&&e in Wc?{gapClass:Wc[e]}:{gapStyle:e}}function yh(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:m,...h}=e,{gapClass:v,gapStyle:b}=OS(i),p={flexDirection:TS(t),justifyContent:r,alignItems:n,flexWrap:_S(s),flex:o,gap:b,width:Gc(a),height:Gc(l)};return c.jsx(qe,{className:R("flex",v,f),style:D(m,p),sx:d,...h})}yh.displayName="Flex";function Kc(e){if(e!==void 0)return typeof e=="number"?`${e*8}px`:e}function MS(e){return!e||Number.isNaN(e)||e<=0?12:e}function LS(e){return typeof e=="boolean"?e?"wrap":"nowrap":e}function DS(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 FS(e){return e==="auto"?{marginLeft:"auto"}:{marginLeft:`calc(100% * ${e} / var(--ldkj-grid-columns, 12))`}}function zo(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:m,style:h,...v}=e,b=MS(o),p=Kc(i??s),y=Kc(a??s),x={};return t?(x.display="flex",x.flexWrap=LS(l),x.flexDirection=d,x.rowGap=p,x.columnGap=y,x["--ldkj-grid-columns"]=String(b)):o!==void 0&&(x["--ldkj-grid-columns"]=String(b)),r!==void 0&&Object.assign(x,DS(r)),n!==void 0&&Object.assign(x,FS(n)),c.jsx(qe,{className:R("min-w-0",m),style:D(h,x),sx:f,...v})}zo.displayName="Grid";function BS(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 Ho(e){const{component:t,position:r="both",horizontal:n=!1,sx:o,className:s,style:i,children:a,...l}=e,d=BS(r,n);return c.jsx(qe,{component:t,className:R("box-border",s),style:D(i,d),sx:o,...l,children:a})}function wh(e){return c.jsx(Ho,{...e,position:"top"})}function Ph(e){return c.jsx(Ho,{...e,position:"bottom"})}Ho.displayName="SafeArea";wh.displayName="SafeAreaTop";Ph.displayName="SafeAreaBottom";const Yc={sm:640,md:768,lg:1024,xl:1280},Xc={xs:"0.25rem",sm:"0.5rem",md:"0.75rem",lg:"1rem",xl:"1.5rem"},Ch=Symbol("ldkj-space-item"),Ir=(e=>{const{className:t,class:r,style:n,sx:o,flex:s,grow:i,shrink:a,basis:l,order:d,alignSelf:f,children:m,...h}=e;return c.jsx(qe,{className:[t,r].filter(Boolean).join(" "),style:D(n,{flex:s,flexGrow:i,flexShrink:a,flexBasis:l,order:d,alignSelf:f}),sx:o,...h,children:m})});Ir.displayName="SpaceItem";Ir[Ch]=!0;function Sh(e){return typeof e!="object"||e===null||Array.isArray(e)?!1:Object.keys(e).some(r=>["xs","sm","md","lg","xl"].includes(r))}function Gr(e){if(e!==void 0)return Sh(e)?e.xs:e}function Kr(e,t){if(e===void 0||!Sh(e))return;const r={};return Object.keys(Yc).forEach(n=>{const o=e[n];if(o===void 0)return;const s=Yc[n];r[`@media (min-width: ${s}px)`]=t(o)}),Object.keys(r).length?r:void 0}function Jc(e){return e==="vertical"?"column":"row"}function Qc(e){return e===void 0?"wrap":typeof e=="boolean"?e?"wrap":"nowrap":e}function Vt(e){return typeof e=="number"?`${e}px`:e in Xc?Xc[e]:e}function Zc(e){if(e===void 0){const r=Vt("md");return{rowGap:r,columnGap:r}}if(Array.isArray(e))return{rowGap:Vt(e[0]),columnGap:Vt(e[1])};if(typeof e=="object"){if("row"in e||"column"in e)return{rowGap:Vt(e.row??"md"),columnGap:Vt(e.column??"md")};if("x"in e||"y"in e)return{rowGap:Vt(e.y??"md"),columnGap:Vt(e.x??"md")}}const t=Vt(e);return{rowGap:t,columnGap:t}}function $S(e){return!!e.type?.[Ch]}function Nh(e,t,r,n,o){if(u.isValidElement(e)&&$S(e)){const s=[r,e.props.className,e.props.class].filter(Boolean).join(" ");return c.jsx(Ir,{...e.props,className:s||void 0,style:D(n,e.props.style),sx:[o,e.props.sx],children:e.props.children},e.key??`space-item-${t}`)}return c.jsx(Ir,{className:r,style:n,sx:o,children:e},u.isValidElement(e)?e.key??`space-item-${t}`:`space-item-${t}`)}function VS(e,t,r,n,o){const s=u.Children.toArray(e),i=[];return s.forEach((a,l)=>{i.push(Nh(a,l,r,n,o)),l<s.length-1&&i.push(c.jsx(Ir,{"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:d,sx:f,children:m,style:h,...v}=e,b=Gr(t)??"horizontal",p=Gr(r)??"md",y=Gr(n)??!0,x=Gr(o),g=Gr(s),w=Zc(p),P={display:"flex",flexDirection:Jc(b),flexWrap:Qc(y),alignItems:x,justifyContent:g,rowGap:w.rowGap,columnGap:w.columnGap},C=Kr(t,j=>({flexDirection:Jc(j)})),S=Kr(r,j=>Zc(j)),N=Kr(n,j=>({flexWrap:Qc(j)})),q=Kr(o,j=>({alignItems:j})),k=Kr(s,j=>({justifyContent:j})),A=[C,S,N,q,k,f],E=i!=null?VS(m,i,a,l,d):u.Children.toArray(m).map((j,I)=>Nh(j,I,a,l,d));return c.jsx(qe,{style:D(h,P),sx:A,...v,children:E})};Ra.displayName="Space";Ra.Item=Ir;const zS={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 HS(e){const{component:t,className:r,class:n,sx:o,style:s,variant:i="body",...a}=e,l=t??"p",d=ae(),{sxClassName:f,sxInlineStyle:m}=ee(o,d);return c.jsx(l,{className:R(zS[i],f,r,n),style:D(s,m),...a})}function US(e){return e===void 0?{}:Array.isArray(e)?{rowSpacing:e[0],columnSpacing:e[1]}:{spacing:e}}function qh(e){const{gutter:t=0,align:r,justify:n,wrap:o="wrap",direction:s="row",style:i,...a}=e,l=US(t);return c.jsx(zo,{container:!0,wrap:o,direction:s,style:D(i,{alignItems:r,justifyContent:n}),...l,...a})}qh.displayName="Row";function kh(e){const{span:t,offset:r,flex:n,style:o,...s}=e;return c.jsx(zo,{size:t,offset:r,style:D(o,{flex:n}),...s})}kh.displayName="Col";const Eh=u.createContext({}),jh=u.forwardRef(({separator:e,items:t,listProps:r,sx:n,style:o,className:s,class:i,children:a,...l},d)=>{const f=ae(),{sxClassName:m,sxInlineStyle:h}=ee(n,f),v=Array.isArray(t)&&t.length>0;return c.jsx(Eh.Provider,{value:{separator:e},children:c.jsx("nav",{ref:d,"aria-label":"breadcrumb",className:R(m,s,i),style:D(o,h),...l,children:v?c.jsx(Aa,{...r,children:t.map((b,p)=>{const{key:y,label:x,href:g,current:w,separator:P,ellipsis:C,itemProps:S,linkProps:N,pageProps:q}=b,k=p===t.length-1,A=w??k;return c.jsxs(u.Fragment,{children:[c.jsx(Ia,{...S,children:C?c.jsx(Ma,{}):A?c.jsx(_a,{...q,children:x}):c.jsx(Ta,{href:g,...N,children:x})}),k?null:c.jsx(Oa,{children:P})]},y??p)})}):a})})});jh.displayName="Breadcrumb";const Aa=u.forwardRef(({sx:e,style:t,className:r,class:n,...o},s)=>{const i=ae(),{sxClassName:a,sxInlineStyle:l}=ee(e,i),d={listStyle:"none",margin:0,padding:0};return c.jsx("ol",{ref:s,className:R("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:D(d,t,l),...o})});Aa.displayName="BreadcrumbList";const Ia=u.forwardRef(({sx:e,style:t,className:r,class:n,...o},s)=>{const i=ae(),{sxClassName:a,sxInlineStyle:l}=ee(e,i),d={margin:0,display:"inline-flex",alignItems:"center"};return c.jsx("li",{ref:s,className:R("inline-flex items-center gap-1.5 leading-none",a,r,n),style:D(d,t,l),...o})});Ia.displayName="BreadcrumbItem";const Ta=u.forwardRef(({component:e,sx:t,style:r,className:n,class:o,...s},i)=>{const a=e??"a",l=ae(),{sxClassName:d,sxInlineStyle:f}=ee(t,l);return c.jsx(a,{ref:i,className:R("inline-flex items-center leading-none transition-colors hover:text-foreground",d,n,o),style:D(r,f),...s})});Ta.displayName="BreadcrumbLink";const _a=u.forwardRef(({sx:e,style:t,className:r,class:n,...o},s)=>{const i=ae(),{sxClassName:a,sxInlineStyle:l}=ee(e,i);return c.jsx("span",{ref:s,role:"link","aria-disabled":"true","aria-current":"page",className:R("inline-flex items-center font-normal leading-none text-foreground",a,r,n),style:D(t,l),...o})});_a.displayName="BreadcrumbPage";const Oa=({children:e,sx:t,style:r,className:n,class:o,...s})=>{const i=ae(),{sxClassName:a,sxInlineStyle:l}=ee(t,i),{separator:d}=u.useContext(Eh),f={margin:0,display:"inline-flex",alignItems:"center"};return c.jsx("li",{role:"presentation","aria-hidden":"true",className:R("shrink-0 leading-none [&>svg]:h-3.5 [&>svg]:w-3.5",a,n,o),style:D(f,r,l),...s,children:e??d??c.jsx(Be,{name:"chevron_right"})})};Oa.displayName="BreadcrumbSeparator";const Ma=({sx:e,style:t,className:r,class:n,...o})=>{const s=ae(),{sxClassName:i,sxInlineStyle:a}=ee(e,s);return c.jsxs("span",{role:"presentation","aria-hidden":"true",className:R("flex h-9 w-9 items-center justify-center",i,r,n),style:D(t,a),...o,children:[c.jsx(Be,{name:"more_horiz",className:"h-4 w-4"}),c.jsx("span",{className:"sr-only",children:"More"})]})};Ma.displayName="BreadcrumbEllipsis";function WS(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 Rh(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,m=ae(),{sxClassName:h,sxInlineStyle:v}=ee(d,m),b=R("inline-flex w-fit p-0",h,a,l),p=D(f,v),y=()=>{WS(t,{behavior:n,block:o,inline:s,offset:r}),i?.(t)};if(e.hash===!0){const{hash:O,onClick:_,href:z,onNavigate:L,class:Y,sx:F,offset:G,behavior:me,block:te,inline:Q,...U}=e;return c.jsx("a",{href:z??`#${t}`,className:b,style:p,onClick:X=>{X.preventDefault(),y(),_?.(X)},...U})}const{component:x,onClick:g,onKeyDown:w,hash:P,onNavigate:C,class:S,sx:N,offset:q,behavior:k,block:A,inline:E,...j}=e,I=x??"button",T=I==="button";return c.jsx(I,{className:b,style:p,type:T?"button":void 0,role:T?void 0:"button",tabIndex:T?void 0:0,onClick:O=>{y(),g?.(O)},onKeyDown:O=>{!T&&(O.key==="Enter"||O.key===" ")&&(O.preventDefault(),y()),w?.(O)},...j})}Rh.displayName="Anchor";function GS(){return u.useRef(null)}const La=u.createContext(null),cn=u.createContext(0),bi=u.createContext(null);function Ah(e){const t=u.useContext(La);if(!t)throw new Error(`${e} must be used within Menu.`);return t}function eu(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 mo(e){return typeof e=="number"?`${e}px`:e}function KS(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 YS(e,t){return e.key??e.href??t.join("-")}function XS(e){return e.key==="Enter"||e.key===" "}function Pn(e){const{className:t,class:r,sx:n,style:o,...s}=e,i=u.useContext(La),a=ae(),{sxClassName:l,sxInlineStyle:d}=ee(n,a),f={display:"flex",flexDirection:"column",gap:i?mo(i.itemGap):void 0,listStyle:"none",margin:0,padding:0};return c.jsx("ul",{className:R("m-0 list-none p-0",l,t,r),style:D(f,o,d),...s})}Pn.displayName="Menu.List";function Da(e){const{itemKey:t,label:r,icon:n,iconProps:o,href:s,component:i,disabled:a=!1,selected:l,unselectOnClick:d,onClick:f,onSelect:m,className:h,class:v,sx:b,style:p,children:y,...x}=e,g=Ah("Menu.Item"),w=u.useContext(cn),P=l??g.selectedKeys.includes(t),C=ae(),{sxClassName:S,sxInlineStyle:N}=ee(b,C),q=i??(s?"a":"button"),k=q==="button",A=E=>{if(a){E.preventDefault();return}g.selectKey(t,d),m?.(t),f?.(E)};return c.jsx("li",{role:"none",style:{listStyle:"none",margin:0},children:c.jsxs(q,{className:R("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",S,h,v),style:D({paddingLeft:`calc(0.75rem + ${w} * ${mo(g.indent)})`},p,N),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:A,...x,children:[n?c.jsx(Be,{name:n,size:18,className:"shrink-0",...o}):null,c.jsx("span",{className:"min-w-0 flex-1 truncate",children:r??y})]})})}Da.displayName="Menu.Item";function Fa(e){const{itemKey:t,label:r,icon:n,iconProps:o,disabled:s=!1,className:i,class:a,sx:l,style:d,children:f,...m}=e,h=Ah("Menu.Sub"),v=u.useContext(cn),b=u.useContext(bi),p=h.openKeys.includes(t),y=ae(),{sxClassName:x,sxInlineStyle:g}=ee(l,y);return u.useEffect(()=>h.registerSub(t,b),[h,t,b]),c.jsxs("li",{className:R(x,i,a),style:D({display:"flex",flexDirection:"column",gap:mo(h.itemGap),listStyle:"none",margin:0},d,g),...m,children:[c.jsxs("button",{type:"button",className:R("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 + ${v} * ${mo(h.indent)})`},"aria-expanded":p,"aria-disabled":s||void 0,"data-menu-sub-key":t,disabled:s,onClick:()=>{s||h.toggleOpenKey(t)},onKeyDown:w=>{!s&&XS(w)&&(w.preventDefault(),h.toggleOpenKey(t))},children:[n?c.jsx(Be,{name:n,size:18,className:"shrink-0",...o}):null,c.jsx("span",{className:"min-w-0 flex-1 truncate",children:r}),c.jsx(Be,{name:"unfold_more",size:18,className:R("shrink-0 transition-transform",p?"rotate-180":"rotate-90")})]}),p?c.jsx(cn.Provider,{value:v+1,children:c.jsx(bi.Provider,{value:t,children:c.jsx(Pn,{role:"menu","aria-label":typeof r=="string"?r:void 0,children:f})})}):null]})}Fa.displayName="Menu.Sub";function Ba(e){const{label:t,className:r,class:n,sx:o,style:s,children:i,...a}=e,l=u.useContext(cn),d=ae(),{sxClassName:f,sxInlineStyle:m}=ee(o,d);return c.jsxs("li",{className:R("py-1",f,r,n),style:D({listStyle:"none",margin:0},s,m),...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(Pn,{role:"group",children:i})]})}Ba.displayName="Menu.Group";function xi(e,t=[]){return e.map((r,n)=>{const o=[...t,n],s=YS(r,o);return r.type==="group"?c.jsx(Ba,{label:r.label,...r.groupProps,children:r.children?xi(r.children,o):null},s):r.children?.length||r.type==="sub"?c.jsx(Fa,{itemKey:s,label:r.label,icon:r.icon,iconProps:r.iconProps,disabled:r.disabled,...r.subProps,children:r.children?xi(r.children,o):null},s):c.jsx(Da,{itemKey:s,label:r.label,icon:r.icon,iconProps:r.iconProps,href:r.href,disabled:r.disabled,unselectOnClick:r.unselectOnClick,...r.itemProps},s)})}function Ih(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:m=4,itemColors:h,menuRef:v,children:b,listProps:p,className:y,class:x,style:g,component:w,...P}=e,[C,S]=eu({value:r,defaultValue:n,onChange:o}),[N,q]=eu({value:s,defaultValue:i,onChange:a}),k=u.useRef(new Map),A=u.useCallback((O,_)=>(k.current.set(O,_),()=>{k.current.delete(O)}),[]),E=u.useCallback((O,_)=>{const z=l?C.includes(O)?C.filter(L=>L!==O):[...C,O]:C.includes(O)&&_?[]:[O];S(z,O)},[l,C,S]),j=u.useCallback((O,_)=>{const z=N;let L=z;if(_){if(z.includes(O))return;if(d){const Y=k.current.get(O)??null;L=z.filter(F=>k.current.get(F)!==Y)}L=[...L,O]}else L=z.filter(Y=>Y!==O);q(L,O)},[d,N,q]),I=u.useCallback(O=>{j(O,!N.includes(O))},[N,j]);u.useImperativeHandle(v,()=>({select:O=>E(O),unselect:O=>S(C.filter(_=>_!==O),O),open:O=>j(O,!0),close:O=>j(O,!1),toggleOpen:I,getSelectedKeys:()=>C,getOpenKeys:()=>N}),[N,E,C,j,S,I]);const T=u.useMemo(()=>({selectedKeys:C,openKeys:N,multiple:l,accordion:d,indent:f,itemGap:m,selectKey:E,toggleOpenKey:I,registerSub:A}),[d,f,m,l,N,A,E,C,I]);return c.jsx(La.Provider,{value:T,children:c.jsx(cn.Provider,{value:0,children:c.jsx(bi.Provider,{value:null,children:c.jsx(qe,{component:w??"nav",className:R("w-64 rounded-lg border border-slate-200 bg-white p-1",y,x),style:D(KS(h),g),"aria-label":"Menu",...P,children:c.jsx(Pn,{role:"menu",...p,children:t?xi(t):b})})})})})}Ih.displayName="Menu";const JS=Object.assign(Ih,{Item:Da,Sub:Fa,Group:Ba,List:Pn});var Uo="Tabs",[QS]=xt(Uo,[Oo]),Th=Oo(),[ZS,$a]=QS(Uo),_h=u.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,onValueChange:o,defaultValue:s,orientation:i="horizontal",dir:a,activationMode:l="automatic",...d}=e,f=_o(a),[m,h]=_t({prop:n,onChange:o,defaultProp:s??"",caller:Uo});return c.jsx(ZS,{scope:r,baseId:vr(),value:m,onValueChange:h,orientation:i,dir:f,activationMode:l,children:c.jsx(ye.div,{dir:f,"data-orientation":i,...d,ref:t})})});_h.displayName=Uo;var Oh="TabsList",Mh=u.forwardRef((e,t)=>{const{__scopeTabs:r,loop:n=!0,...o}=e,s=$a(Oh,r),i=Th(r);return c.jsx(kf,{asChild:!0,...i,orientation:s.orientation,dir:s.dir,loop:n,children:c.jsx(ye.div,{role:"tablist","aria-orientation":s.orientation,...o,ref:t})})});Mh.displayName=Oh;var Lh="TabsTrigger",Dh=u.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...s}=e,i=$a(Lh,r),a=Th(r),l=$h(i.baseId,n),d=Vh(i.baseId,n),f=n===i.value;return c.jsx(Ef,{asChild:!0,...a,focusable:!o,active:f,children:c.jsx(ye.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:pe(e.onMouseDown,m=>{!o&&m.button===0&&m.ctrlKey===!1?i.onValueChange(n):m.preventDefault()}),onKeyDown:pe(e.onKeyDown,m=>{[" ","Enter"].includes(m.key)&&i.onValueChange(n)}),onFocus:pe(e.onFocus,()=>{const m=i.activationMode!=="manual";!f&&!o&&m&&i.onValueChange(n)})})})});Dh.displayName=Lh;var Fh="TabsContent",Bh=u.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,forceMount:o,children:s,...i}=e,a=$a(Fh,r),l=$h(a.baseId,n),d=Vh(a.baseId,n),f=n===a.value,m=u.useRef(f);return u.useEffect(()=>{const h=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(h)},[]),c.jsx(Qt,{present:o||f,children:({present:h})=>c.jsx(ye.div,{"data-state":f?"active":"inactive","data-orientation":a.orientation,role:"tabpanel","aria-labelledby":l,hidden:!h,id:d,tabIndex:0,...i,ref:t,style:{...e.style,animationDuration:m.current?"0s":void 0},children:h&&s})})});Bh.displayName=Fh;function $h(e,t){return`${e}-trigger-${t}`}function Vh(e,t){return`${e}-content-${t}`}var e1=_h,zh=Mh,Hh=Dh,Uh=Bh;function Wh(e){const{items:t,listProps:r,sx:n,style:o,className:s,class:i,children:a,...l}=e,d=ae(),{sxClassName:f,sxInlineStyle:m}=ee(n,d),h=Array.isArray(t)&&t.length>0;return c.jsx(e1,{className:R("w-full",f,s,i),style:D(o,m),...l,children:h?c.jsxs(c.Fragment,{children:[c.jsx(Va,{...r,children:t.map(v=>c.jsx(za,{value:v.value,disabled:v.disabled,...v.triggerProps,children:v.label},v.value))}),t.map(v=>c.jsx(Ha,{value:v.value,...v.contentProps,children:v.content},v.value))]}):a})}Wh.displayName="Tabs";const Va=u.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=ae(),{sxClassName:a,sxInlineStyle:l}=ee(r,i);return c.jsx(zh,{ref:s,className:R("inline-flex min-h-10 items-center gap-1 rounded-lg bg-slate-100 p-1 text-slate-600",a,e,t),style:D(n,l),...o})});Va.displayName=zh.displayName;const za=u.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=ae(),{sxClassName:a,sxInlineStyle:l}=ee(r,i);return c.jsx(Hh,{ref:s,className:R("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:D(n,l),...o})});za.displayName=Hh.displayName;const Ha=u.forwardRef(({className:e,class:t,sx:r,style:n,borderless:o=!1,...s},i)=>{const a=ae(),{sxClassName:l,sxInlineStyle:d}=ee(r,a);return c.jsx(Uh,{ref:i,className:R("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:D(n,d),...s})});Ha.displayName=Uh.displayName;exports.Alert=My;exports.Anchor=Rh;exports.AutoComplete=yf;exports.Avatar=oh;exports.AvatarFallback=xa;exports.AvatarImage=ba;exports.Badge=LC;exports.Box=qe;exports.Breadcrumb=jh;exports.BreadcrumbEllipsis=Ma;exports.BreadcrumbItem=Ia;exports.BreadcrumbLink=Ta;exports.BreadcrumbList=Aa;exports.BreadcrumbPage=_a;exports.BreadcrumbSeparator=Oa;exports.Button=vt;exports.Card=Mt;exports.Cascader=Hf;exports.Checkbox=gn;exports.CheckboxGroup=pf;exports.Chip=ih;exports.Col=kh;exports.Dialog=rg;exports.DialogClose=ji;exports.DialogContent=Ai;exports.DialogDescription=Oi;exports.DialogFooter=Ti;exports.DialogHeader=Ii;exports.DialogOverlay=Ri;exports.DialogPortal=Fu;exports.DialogTitle=_i;exports.DialogTrigger=Ei;exports.Divider=xh;exports.Drawer=Iy;exports.Empty=FC;exports.Flex=yh;exports.Form=Gf;exports.FormItem=ca;exports.GhostButton=to;exports.GhostButtonGroup=Au;exports.Grid=zo;exports.Icon=Be;exports.Image=ah;exports.Input=oa;exports.InputNumber=bf;exports.InputOPT=xf;exports.Label=Io;exports.List=DC;exports.Loading=jy;exports.Menu=JS;exports.MobileCascader=Vm;exports.MobileSelect=$m;exports.Modal=ki;exports.NotificationProvider=ef;exports.Pagination=Pa;exports.PaginationContent=Ca;exports.PaginationEllipsis=qa;exports.PaginationItem=ir;exports.PaginationLink=yn;exports.PaginationNext=Na;exports.PaginationPrevious=Sa;exports.Popover=_d;exports.PopoverAnchor=Ux;exports.PopoverClose=Od;exports.PopoverContent=Qi;exports.PopoverTrigger=Ji;exports.Progress=rf;exports.QRCode=mS;exports.QRCodeBase=pS;exports.QRCodeCanvas=fh;exports.QRCodeSizable=mh;exports.Radio=ia;exports.RadioGroup=$f;exports.Rate=Vf;exports.Required=Cw;exports.Row=qh;exports.SafeArea=Ho;exports.SafeAreaBottom=Ph;exports.SafeAreaTop=wh;exports.Select=km;exports.SelectContent=Am;exports.SelectGroup=Em;exports.SelectItem=co;exports.SelectItems=VP;exports.SelectLabel=ha;exports.SelectScrollDownButton=ma;exports.SelectScrollUpButton=fa;exports.SelectSeparator=pa;exports.SelectTrigger=Rm;exports.SelectValue=DP;exports.Skeleton=wn;exports.SkeletonAvatar=ja;exports.SkeletonButton=gh;exports.SkeletonCard=bh;exports.SkeletonText=Ea;exports.Slider=Uf;exports.Space=Ra;exports.Spin=tf;exports.Switch=Lm;exports.SxProvider=Bp;exports.Table=rr;exports.Tabs=Wh;exports.TabsContent=Ha;exports.TabsList=Va;exports.TabsTrigger=za;exports.ToastProvider=Ou;exports.Tooltip=py;exports.TooltipArrow=ta;exports.TooltipContent=Xd;exports.TooltipPortal=vy;exports.TooltipProvider=hy;exports.TooltipTrigger=Yd;exports.Typography=HS;exports.UPLOADER_LIST_IGNORE=ua;exports.Uploader=eP;exports.UploaderProvider=Yf;exports.buttonVariants=iu;exports.chipVariants=sh;exports.createTheme=$p;exports.getRegisteredIconNames=zv;exports.mergeSxStyle=D;exports.notification=xy;exports.registerIconLoaders=Bv;exports.resetIconLoaders=Vv;exports.resolveSx=ee;exports.setIconLoaders=$v;exports.toast=Zv;exports.useForm=aa;exports.useFormInstance=la;exports.useFormValue=Do;exports.useFormWatch=Wf;exports.useInputNumberState=w0;exports.useMenuRef=GS;exports.useNotification=qy;exports.useNumberInput=gf;exports.useSxTheme=ae;exports.useToast=Qv;exports.useUploaderProvider=Zw;