@ldkj/web-ui 0.21.0 → 0.22.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/README.md +1 -1
- package/components/data-display/collapse/Collapse.d.ts +145 -0
- package/components/data-display/collapse/index.d.ts +1 -0
- package/index.cjs +17 -17
- package/index.d.ts +1 -0
- package/index.js +5519 -4970
- package/package.json +1 -1
- package/style.css +1 -1
package/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),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&<()&&!(De<48||De>102||De>57&&De<65||De>70&&De<97););return fn(e,$n()+(t<6&&qt()==32&<()==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&>(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(
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),Oe=require("react"),fu=require("react-dom");function mu(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=mu(Oe),fn=mu(fu);function hu(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=hu(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function pu(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=hu(e))&&(n&&(n+=" "),n+=t);return n}const rl=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,nl=pu,vu=(e,t)=>r=>{var n;if(t?.variants==null)return nl(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 p=rl(f)||rl(m);return o[d][p]}),a=r&&Object.entries(r).reduce((d,f)=>{let[m,p]=f;return p===void 0||(d[m]=p),d},{}),l=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((d,f)=>{let{class:m,className:p,...v}=f;return Object.entries(v).every(g=>{let[h,y]=g;return Array.isArray(y)?y.includes({...s,...a}[h]):{...s,...a}[h]===y})?[...d,m,p]:d},[]);return nl(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 lp(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`}}:lp(e)?{roundedPreset:e}:{roundedStyle:{borderRadius:e}}}const _r={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 cp(e){return typeof e=="string"&&Object.prototype.hasOwnProperty.call(_r,e)}function mn(e){return e===void 0?{}:cp(e)?{shadowPreset:e}:{shadowStyle:{boxShadow:e}}}const gu=vu("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:_r,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}}),up=(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},dp=(e,t)=>({classGroupId:e,validator:t}),bu=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),eo="-",ol=[],fp="arbitrary..",mp=e=>{const t=pp(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return hp(i);const a=i.split(eo),l=a[0]===""&&a.length>1?1:0;return xu(a,l,t)},getConflictingClassGroupIds:(i,a)=>{if(a){const l=n[i],d=r[i];return l?d?up(d,l):l:d||ol}return r[i]||ol}}},xu=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const o=e[t],s=r.nextPart.get(o);if(s){const d=xu(e,t+1,s);if(d)return d}const i=r.validators;if(i===null)return;const a=t===0?e.join(eo):e.slice(t).join(eo),l=i.length;for(let d=0;d<l;d++){const f=i[d];if(f.validator(a))return f.classGroupId}},hp=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?fp+n:void 0})(),pp=e=>{const{theme:t,classGroups:r}=e;return vp(r,t)},vp=(e,t)=>{const r=bu();for(const n in e){const o=e[n];Ni(o,r,n,t)}return r},Ni=(e,t,r,n)=>{const o=e.length;for(let s=0;s<o;s++){const i=e[s];gp(i,t,r,n)}},gp=(e,t,r,n)=>{if(typeof e=="string"){bp(e,t,r);return}if(typeof e=="function"){xp(e,t,r,n);return}yp(e,t,r,n)},bp=(e,t,r)=>{const n=e===""?t:yu(t,e);n.classGroupId=r},xp=(e,t,r,n)=>{if(wp(e)){Ni(e(n),t,r,n);return}t.validators===null&&(t.validators=[]),t.validators.push(dp(r,e))},yp=(e,t,r,n)=>{const o=Object.entries(e),s=o.length;for(let i=0;i<s;i++){const[a,l]=o[i];Ni(l,yu(t,a),r,n)}},yu=(e,t)=>{let r=e;const n=t.split(eo),o=n.length;for(let s=0;s<o;s++){const i=n[s];let a=r.nextPart.get(i);a||(a=bu(),r.nextPart.set(i,a)),r=a}return r},wp=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Pp=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="!",sl=":",Cp=[],il=(e,t,r,n,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:o}),Sp=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 h=0;h<f;h++){const y=o[h];if(i===0&&a===0){if(y===sl){s.push(o.slice(l,h)),l=h+1;continue}if(y==="/"){d=h;continue}}y==="["?i++:y==="]"?i--:y==="("?a++:y===")"&&a--}const m=s.length===0?o:o.slice(l);let p=m,v=!1;m.endsWith(Js)?(p=m.slice(0,-1),v=!0):m.startsWith(Js)&&(p=m.slice(1),v=!0);const g=d&&d>l?d-l:void 0;return il(s,v,p,g)};if(t){const o=t+sl,s=n;n=i=>i.startsWith(o)?s(i.slice(o.length)):il(Cp,!1,i,void 0,!0)}if(r){const o=n;n=s=>r({className:s,parseClassName:o})}return n},Np=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}},kp=e=>({cache:Pp(e.cacheSize),parseClassName:Sp(e),sortModifiers:Np(e),...mp(e)}),qp=/\s+/,jp=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:s}=t,i=[],a=e.trim().split(qp);let l="";for(let d=a.length-1;d>=0;d-=1){const f=a[d],{isExternal:m,modifiers:p,hasImportantModifier:v,baseClassName:g,maybePostfixModifierPosition:h}=r(f);if(m){l=f+(l.length>0?" "+l:l);continue}let y=!!h,x=n(y?g.substring(0,h):g);if(!x){if(!y){l=f+(l.length>0?" "+l:l);continue}if(x=n(g),!x){l=f+(l.length>0?" "+l:l);continue}y=!1}const b=p.length===0?"":p.length===1?p[0]:s(p).join(":"),w=v?b+Js:b,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},Ep=(...e)=>{let t=0,r,n,o="";for(;t<e.length;)(r=e[t++])&&(n=wu(r))&&(o&&(o+=" "),o+=n);return o},wu=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=wu(e[n]))&&(r&&(r+=" "),r+=t);return r},Rp=(e,...t)=>{let r,n,o,s;const i=l=>{const d=t.reduce((f,m)=>m(f),e());return r=kp(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=jp(l,r);return o(l,f),f};return s=i,(...l)=>s(Ep(...l))},Ap=[],Be=e=>{const t=r=>r[e]||Ap;return t.isThemeGetter=!0,t},Pu=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Cu=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ip=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Tp=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_p=/\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$/,Op=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Mp=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Lp=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ft=e=>Ip.test(e),xe=e=>!!e&&!Number.isNaN(Number(e)),Bt=e=>!!e&&Number.isInteger(Number(e)),Qo=e=>e.endsWith("%")&&xe(e.slice(0,-1)),Et=e=>Tp.test(e),Su=()=>!0,Dp=e=>_p.test(e)&&!Op.test(e),ki=()=>!1,Fp=e=>Mp.test(e),Bp=e=>Lp.test(e),$p=e=>!oe(e)&&!ae(e),Vp=e=>Xt(e,qu,ki),oe=e=>Pu.test(e),nr=e=>Xt(e,ju,Dp),al=e=>Xt(e,Xp,xe),zp=e=>Xt(e,Ru,Su),Hp=e=>Xt(e,Eu,ki),ll=e=>Xt(e,Nu,ki),Up=e=>Xt(e,ku,Bp),kn=e=>Xt(e,Au,Fp),ae=e=>Cu.test(e),Vr=e=>pr(e,ju),Wp=e=>pr(e,Eu),cl=e=>pr(e,Nu),Kp=e=>pr(e,qu),Gp=e=>pr(e,ku),qn=e=>pr(e,Au,!0),Yp=e=>pr(e,Ru,!0),Xt=(e,t,r)=>{const n=Pu.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},pr=(e,t,r=!1)=>{const n=Cu.exec(e);return n?n[1]?t(n[1]):r:!1},Nu=e=>e==="position"||e==="percentage",ku=e=>e==="image"||e==="url",qu=e=>e==="length"||e==="size"||e==="bg-size",ju=e=>e==="length",Xp=e=>e==="number",Eu=e=>e==="family-name",Ru=e=>e==="number"||e==="weight",Au=e=>e==="shadow",Jp=()=>{const e=Be("color"),t=Be("font"),r=Be("text"),n=Be("font-weight"),o=Be("tracking"),s=Be("leading"),i=Be("breakpoint"),a=Be("container"),l=Be("spacing"),d=Be("radius"),f=Be("shadow"),m=Be("inset-shadow"),p=Be("text-shadow"),v=Be("drop-shadow"),g=Be("blur"),h=Be("perspective"),y=Be("aspect"),x=Be("ease"),b=Be("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(),ae,oe],S=()=>["auto","hidden","clip","visible","scroll"],N=()=>["auto","contain","none"],k=()=>[ae,oe,l],q=()=>[Ft,"full","auto",...k()],A=()=>[Bt,"none","subgrid",ae,oe],j=()=>["auto",{span:["full",Bt,ae,oe]},Bt,ae,oe],E=()=>[Bt,"auto",ae,oe],I=()=>["auto","min","max","fr",ae,oe],_=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],O=()=>["start","end","center","stretch","center-safe","end-safe"],T=()=>["auto",...k()],$=()=>[Ft,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...k()],M=()=>[Ft,"screen","full","dvw","lvw","svw","min","max","fit",...k()],W=()=>[Ft,"screen","full","lh","dvh","lvh","svh","min","max","fit",...k()],F=()=>[e,ae,oe],X=()=>[...P(),cl,ll,{position:[ae,oe]}],de=()=>["no-repeat",{repeat:["","x","y","space","round"]}],te=()=>["auto","cover","contain",Kp,Vp,{size:[ae,oe]}],Z=()=>[Qo,Vr,nr],K=()=>["","none","full",d,ae,oe],J=()=>["",xe,Vr,nr],B=()=>["solid","dashed","dotted","double"],G=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],H=()=>[xe,Qo,cl,ll],U=()=>["","none",g,ae,oe],Y=()=>["none",xe,ae,oe],Q=()=>["none",xe,ae,oe],le=()=>[xe,ae,oe],fe=()=>[Ft,"full",...k()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Et],breakpoint:[Et],color:[Su],container:[Et],"drop-shadow":[Et],ease:["in","out","in-out"],font:[$p],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Et],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Et],shadow:[Et],spacing:["px",xe],text:[Et],"text-shadow":[Et],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Ft,oe,ae,y]}],container:["container"],columns:[{columns:[xe,oe,ae,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:q()}],"inset-x":[{"inset-x":q()}],"inset-y":[{"inset-y":q()}],start:[{"inset-s":q(),start:q()}],end:[{"inset-e":q(),end:q()}],"inset-bs":[{"inset-bs":q()}],"inset-be":[{"inset-be":q()}],top:[{top:q()}],right:[{right:q()}],bottom:[{bottom:q()}],left:[{left:q()}],visibility:["visible","invisible","collapse"],z:[{z:[Bt,"auto",ae,oe]}],basis:[{basis:[Ft,"full","auto",a,...k()]}],"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,ae,oe]}],shrink:[{shrink:["",xe,ae,oe]}],order:[{order:[Bt,"first","last","none",ae,oe]}],"grid-cols":[{"grid-cols":A()}],"col-start-end":[{col:j()}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":A()}],"row-start-end":[{row:j()}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":I()}],"auto-rows":[{"auto-rows":I()}],gap:[{gap:k()}],"gap-x":[{"gap-x":k()}],"gap-y":[{"gap-y":k()}],"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:k()}],px:[{px:k()}],py:[{py:k()}],ps:[{ps:k()}],pe:[{pe:k()}],pbs:[{pbs:k()}],pbe:[{pbe:k()}],pt:[{pt:k()}],pr:[{pr:k()}],pb:[{pb:k()}],pl:[{pl:k()}],m:[{m:T()}],mx:[{mx:T()}],my:[{my:T()}],ms:[{ms:T()}],me:[{me:T()}],mbs:[{mbs:T()}],mbe:[{mbe:T()}],mt:[{mt:T()}],mr:[{mr:T()}],mb:[{mb:T()}],ml:[{ml:T()}],"space-x":[{"space-x":k()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":k()}],"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",...W()]}],"min-block-size":[{"min-block":["auto",...W()]}],"max-block-size":[{"max-block":["none",...W()]}],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,Vr,nr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,Yp,zp]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Qo,oe]}],"font-family":[{font:[Wp,Hp,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,ae,oe]}],"line-clamp":[{"line-clamp":[xe,"none",ae,al]}],leading:[{leading:[s,...k()]}],"list-image":[{"list-image":["none",ae,oe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ae,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:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:[xe,"from-font","auto",ae,nr]}],"text-decoration-color":[{decoration:F()}],"underline-offset":[{"underline-offset":[xe,"auto",ae,oe]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ae,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",ae,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:X()}],"bg-repeat":[{bg:de()}],"bg-size":[{bg:te()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Bt,ae,oe],radial:["",ae,oe],conic:[Bt,ae,oe]},Gp,Up]}],"bg-color":[{bg:F()}],"gradient-from-pos":[{from:Z()}],"gradient-via-pos":[{via:Z()}],"gradient-to-pos":[{to:Z()}],"gradient-from":[{from:F()}],"gradient-via":[{via:F()}],"gradient-to":[{to:F()}],rounded:[{rounded:K()}],"rounded-s":[{"rounded-s":K()}],"rounded-e":[{"rounded-e":K()}],"rounded-t":[{"rounded-t":K()}],"rounded-r":[{"rounded-r":K()}],"rounded-b":[{"rounded-b":K()}],"rounded-l":[{"rounded-l":K()}],"rounded-ss":[{"rounded-ss":K()}],"rounded-se":[{"rounded-se":K()}],"rounded-ee":[{"rounded-ee":K()}],"rounded-es":[{"rounded-es":K()}],"rounded-tl":[{"rounded-tl":K()}],"rounded-tr":[{"rounded-tr":K()}],"rounded-br":[{"rounded-br":K()}],"rounded-bl":[{"rounded-bl":K()}],"border-w":[{border:J()}],"border-w-x":[{"border-x":J()}],"border-w-y":[{"border-y":J()}],"border-w-s":[{"border-s":J()}],"border-w-e":[{"border-e":J()}],"border-w-bs":[{"border-bs":J()}],"border-w-be":[{"border-be":J()}],"border-w-t":[{"border-t":J()}],"border-w-r":[{"border-r":J()}],"border-w-b":[{"border-b":J()}],"border-w-l":[{"border-l":J()}],"divide-x":[{"divide-x":J()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":J()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...B(),"hidden","none"]}],"divide-style":[{divide:[...B(),"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:[...B(),"none","hidden"]}],"outline-offset":[{"outline-offset":[xe,ae,oe]}],"outline-w":[{outline:["",xe,Vr,nr]}],"outline-color":[{outline:F()}],shadow:[{shadow:["","none",f,qn,kn]}],"shadow-color":[{shadow:F()}],"inset-shadow":[{"inset-shadow":["none",m,qn,kn]}],"inset-shadow-color":[{"inset-shadow":F()}],"ring-w":[{ring:J()}],"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":J()}],"inset-ring-color":[{"inset-ring":F()}],"text-shadow":[{"text-shadow":["none",p,qn,kn]}],"text-shadow-color":[{"text-shadow":F()}],opacity:[{opacity:[xe,ae,oe]}],"mix-blend":[{"mix-blend":[...G(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":G()}],"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":[ae,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:X()}],"mask-repeat":[{mask:de()}],"mask-size":[{mask:te()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ae,oe]}],filter:[{filter:["","none",ae,oe]}],blur:[{blur:U()}],brightness:[{brightness:[xe,ae,oe]}],contrast:[{contrast:[xe,ae,oe]}],"drop-shadow":[{"drop-shadow":["","none",v,qn,kn]}],"drop-shadow-color":[{"drop-shadow":F()}],grayscale:[{grayscale:["",xe,ae,oe]}],"hue-rotate":[{"hue-rotate":[xe,ae,oe]}],invert:[{invert:["",xe,ae,oe]}],saturate:[{saturate:[xe,ae,oe]}],sepia:[{sepia:["",xe,ae,oe]}],"backdrop-filter":[{"backdrop-filter":["","none",ae,oe]}],"backdrop-blur":[{"backdrop-blur":U()}],"backdrop-brightness":[{"backdrop-brightness":[xe,ae,oe]}],"backdrop-contrast":[{"backdrop-contrast":[xe,ae,oe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",xe,ae,oe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[xe,ae,oe]}],"backdrop-invert":[{"backdrop-invert":["",xe,ae,oe]}],"backdrop-opacity":[{"backdrop-opacity":[xe,ae,oe]}],"backdrop-saturate":[{"backdrop-saturate":[xe,ae,oe]}],"backdrop-sepia":[{"backdrop-sepia":["",xe,ae,oe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":k()}],"border-spacing-x":[{"border-spacing-x":k()}],"border-spacing-y":[{"border-spacing-y":k()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ae,oe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[xe,"initial",ae,oe]}],ease:[{ease:["linear","initial",x,ae,oe]}],delay:[{delay:[xe,ae,oe]}],animate:[{animate:["none",b,ae,oe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,ae,oe]}],"perspective-origin":[{"perspective-origin":C()}],rotate:[{rotate:Y()}],"rotate-x":[{"rotate-x":Y()}],"rotate-y":[{"rotate-y":Y()}],"rotate-z":[{"rotate-z":Y()}],scale:[{scale:Q()}],"scale-x":[{"scale-x":Q()}],"scale-y":[{"scale-y":Q()}],"scale-z":[{"scale-z":Q()}],"scale-3d":["scale-3d"],skew:[{skew:le()}],"skew-x":[{"skew-x":le()}],"skew-y":[{"skew-y":le()}],transform:[{transform:[ae,oe,"","none","gpu","cpu"]}],"transform-origin":[{origin:C()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:fe()}],"translate-x":[{"translate-x":fe()}],"translate-y":[{"translate-y":fe()}],"translate-z":[{"translate-z":fe()}],"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",ae,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":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mbs":[{"scroll-mbs":k()}],"scroll-mbe":[{"scroll-mbe":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pbs":[{"scroll-pbs":k()}],"scroll-pbe":[{"scroll-pbe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"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",ae,oe]}],fill:[{fill:["none",...F()]}],"stroke-w":[{stroke:[xe,Vr,nr,al]}],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"]}},Qp=Rp(Jp);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,p=Math.min(f,m);return o/100*p;case"vmax":const v=r.viewportWidth||window.innerWidth,g=r.viewportHeight||window.innerHeight,h=Math.max(v,g);return o/100*h;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 Qp(pu(e))}const Zp={},Qs=u.createContext(Zp);function ev({theme:e,children:t}){const r=u.useContext(Qs),n=u.useMemo(()=>({...r,...e}),[r,e]);return c.jsx(Qs.Provider,{value:n,children:t})}function se(){return u.useContext(Qs)}function tv(e){return e}function rv(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 nv(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 ov=(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(nv(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=rv(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})(),Qe="-ms-",to="-moz-",je="-webkit-",Iu="comm",qi="rule",ji="decl",sv="@import",Tu="@keyframes",iv="@layer",av=Math.abs,go=String.fromCharCode,lv=Object.assign;function cv(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 _u(e){return e.trim()}function uv(e,t){return(e=t.exec(e))?e[0]:e}function Ee(e,t,r){return e.replace(t,r)}function Zs(e,t){return e.indexOf(t)}function We(e,t){return e.charCodeAt(t)|0}function nn(e,t,r){return e.slice(t,r)}function Ct(e){return e.length}function Ei(e){return e.length}function jn(e,t){return t.push(e),e}function dv(e,t){return e.map(t).join("")}var bo=1,Er=1,Ou=0,nt=0,De=0,Or="";function xo(e,t,r,n,o,s,i){return{value:e,root:t,parent:r,type:n,props:o,children:s,line:bo,column:Er,length:i,return:""}}function zr(e,t){return lv(xo("",null,null,"",null,null,0),e,{length:-e.length},t)}function fv(){return De}function mv(){return De=nt>0?We(Or,--nt):0,Er--,De===10&&(Er=1,bo--),De}function lt(){return De=nt<Ou?We(Or,nt++):0,Er++,De===10&&(Er=1,bo++),De}function kt(){return We(Or,nt)}function zn(){return nt}function hn(e,t){return nn(Or,e,t)}function on(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 Mu(e){return bo=Er=1,Ou=Ct(Or=e),nt=0,[]}function Lu(e){return Or="",e}function Hn(e){return _u(hn(nt-1,ei(e===91?e+2:e===40?e+1:e)))}function hv(e){for(;(De=kt())&&De<33;)lt();return on(e)>2||on(De)>3?"":" "}function pv(e,t){for(;--t&<()&&!(De<48||De>102||De>57&&De<65||De>70&&De<97););return hn(e,zn()+(t<6&&kt()==32&<()==32))}function ei(e){for(;lt();)switch(De){case e:return nt;case 34:case 39:e!==34&&e!==39&&ei(De);break;case 40:e===41&&ei(e);break;case 92:lt();break}return nt}function vv(e,t){for(;lt()&&e+De!==57;)if(e+De===84&&kt()===47)break;return"/*"+hn(t,nt-1)+"*"+go(e===47?e:lt())}function gv(e){for(;!on(kt());)lt();return hn(e,nt)}function bv(e){return Lu(Un("",null,null,null,[""],e=Mu(e),0,[0],e))}function Un(e,t,r,n,o,s,i,a,l){for(var d=0,f=0,m=i,p=0,v=0,g=0,h=1,y=1,x=1,b=0,w="",P=o,C=s,S=n,N=w;y;)switch(g=b,b=lt()){case 40:if(g!=108&&We(N,m-1)==58){Zs(N+=Ee(Hn(b),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:N+=Hn(b);break;case 9:case 10:case 13:case 32:N+=hv(g);break;case 92:N+=pv(zn()-1,7);continue;case 47:switch(kt()){case 42:case 47:jn(xv(vv(lt(),zn()),t,r),l);break;default:N+="/"}break;case 123*h:a[d++]=Ct(N)*x;case 125*h:case 59:case 0:switch(b){case 0:case 125:y=0;case 59+f:x==-1&&(N=Ee(N,/\f/g,"")),v>0&&Ct(N)-m&&jn(v>32?dl(N+";",n,r,m-1):dl(Ee(N," ","")+";",n,r,m-2),l);break;case 59:N+=";";default:if(jn(S=ul(N,t,r,d,f,o,a,w,P=[],C=[],m),s),b===123)if(f===0)Un(N,t,S,S,P,s,m,a,C);else switch(p===99&&We(N,3)===110?100:p){case 100:case 108:case 109:case 115:Un(e,S,S,n&&jn(ul(e,S,S,0,0,o,a,w,o,P=[],m),C),o,C,m,a,n?P:C);break;default:Un(N,S,S,S,[""],C,0,a,C)}}d=f=v=0,h=x=1,w=N="",m=i;break;case 58:m=1+Ct(N),v=g;default:if(h<1){if(b==123)--h;else if(b==125&&h++==0&&mv()==125)continue}switch(N+=go(b),b*h){case 38:x=f>0?1:(N+="\f",-1);break;case 44:a[d++]=(Ct(N)-1)*x,x=1;break;case 64:kt()===45&&(N+=Hn(lt())),p=kt(),f=m=Ct(w=N+=gv(zn())),b++;break;case 45:g===45&&Ct(N)==2&&(h=0)}}return s}function ul(e,t,r,n,o,s,i,a,l,d,f){for(var m=o-1,p=o===0?s:[""],v=Ei(p),g=0,h=0,y=0;g<n;++g)for(var x=0,b=nn(e,m+1,m=av(h=i[g])),w=e;x<v;++x)(w=_u(h>0?p[x]+" "+b:Ee(b,/&\f/g,p[x])))&&(l[y++]=w);return xo(e,t,r,o===0?qi:a,l,d,f)}function xv(e,t,r){return xo(e,t,r,Iu,go(fv()),nn(e,2,-2),0)}function dl(e,t,r,n){return xo(e,t,r,ji,nn(e,0,n),nn(e,n+1,-1),n)}function kr(e,t){for(var r="",n=Ei(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function yv(e,t,r,n){switch(e.type){case iv:if(e.children.length)break;case sv:case ji:return e.return=e.return||e.value;case Iu:return"";case Tu:return e.return=e.value+"{"+kr(e.children,n)+"}";case qi:e.value=e.props.join(",")}return Ct(r=kr(e.children,n))?e.return=e.value+"{"+r+"}":""}function wv(e){var t=Ei(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 Pv(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 Sv=function(t,r,n){for(var o=0,s=0;o=s,s=kt(),o===38&&s===12&&(r[n]=1),!on(s);)lt();return hn(t,nt)},Nv=function(t,r){var n=-1,o=44;do switch(on(o)){case 0:o===38&&kt()===12&&(r[n]=1),t[n]+=Sv(nt-1,r,n);break;case 2:t[n]+=Hn(o);break;case 4:if(o===44){t[++n]=kt()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=go(o)}while(o=lt());return t},kv=function(t,r){return Lu(Nv(Mu(t),r))},fl=new WeakMap,qv=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&&!fl.get(n))&&!o){fl.set(t,!0);for(var s=[],i=kv(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]}}},jv=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Du(e,t){switch(cv(e,t)){case 5103:return je+"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 je+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return je+e+to+e+Qe+e+e;case 6828:case 4268:return je+e+Qe+e+e;case 6165:return je+e+Qe+"flex-"+e+e;case 5187:return je+e+Ee(e,/(\w+).+(:[^]+)/,je+"box-$1$2"+Qe+"flex-$1$2")+e;case 5443:return je+e+Qe+"flex-item-"+Ee(e,/flex-|-self/,"")+e;case 4675:return je+e+Qe+"flex-line-pack"+Ee(e,/align-content|flex-|-self/,"")+e;case 5548:return je+e+Qe+Ee(e,"shrink","negative")+e;case 5292:return je+e+Qe+Ee(e,"basis","preferred-size")+e;case 6060:return je+"box-"+Ee(e,"-grow","")+je+e+Qe+Ee(e,"grow","positive")+e;case 4554:return je+Ee(e,/([^-])(transform)/g,"$1"+je+"$2")+e;case 6187:return Ee(Ee(Ee(e,/(zoom-|grab)/,je+"$1"),/(image-set)/,je+"$1"),e,"")+e;case 5495:case 3959:return Ee(e,/(image-set\([^]*)/,je+"$1$`$1");case 4968:return Ee(Ee(e,/(.+:)(flex-)?(.*)/,je+"box-pack:$3"+Qe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+je+e+e;case 4095:case 3583:case 4068:case 2532:return Ee(e,/(.+)-inline(.+)/,je+"$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 Ee(e,/(.+:)(.+)-([^]+)/,"$1"+je+"$2-$3$1"+to+(We(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Zs(e,"stretch")?Du(Ee(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-(~Zs(e,"!important")&&10))){case 107:return Ee(e,":",":"+je)+e;case 101:return Ee(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+je+(We(e,14)===45?"inline-":"")+"box$3$1"+je+"$2$3$1"+Qe+"$2box$3")+e}break;case 5936:switch(We(e,t+11)){case 114:return je+e+Qe+Ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return je+e+Qe+Ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return je+e+Qe+Ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return je+e+Qe+e+e}return e}var Ev=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case ji:t.return=Du(t.value,t.length);break;case Tu:return kr([zr(t,{value:Ee(t.value,"@","@"+je)})],o);case qi:if(t.length)return dv(t.props,function(s){switch(uv(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return kr([zr(t,{props:[Ee(s,/:(read-\w+)/,":"+to+"$1")]})],o);case"::placeholder":return kr([zr(t,{props:[Ee(s,/:(plac\w+)/,":"+je+"input-$1")]}),zr(t,{props:[Ee(s,/:(plac\w+)/,":"+to+"$1")]}),zr(t,{props:[Ee(s,/:(plac\w+)/,Qe+"input-$1")]})],o)}return""})}},Rv=[Ev],Av=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(h){var y=h.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var o=t.stylisPlugins||Rv,s={},i,a=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(h){for(var y=h.getAttribute("data-emotion").split(" "),x=1;x<y.length;x++)s[y[x]]=!0;a.push(h)});var l,d=[qv,jv];{var f,m=[yv,Pv(function(h){f.insert(h)})],p=wv(d.concat(o,m)),v=function(y){return kr(bv(y),p)};l=function(y,x,b,w){f=b,v(y?y+"{"+x.styles+"}":x.styles),w&&(g.inserted[x.name]=!0)}}var g={key:r,sheet:new ov({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 g.sheet.hydrate(a),g};function Iv(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 Tv={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},_v=/[A-Z]|^ms/g,Ov=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Fu=function(t){return t.charCodeAt(1)===45},ml=function(t){return t!=null&&typeof t!="boolean"},Zo=Cv(function(e){return Fu(e)?e:e.replace(_v,"-$&").toLowerCase()}),hl=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Ov,function(n,o,s){return Ht={name:o,styles:s,next:Ht},o})}return Tv[t]!==1&&!Fu(t)&&typeof r=="number"&&r!==0?r+"px":r};function ro(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 Mv(e,t,r)}}var l=r;if(t==null)return l;var d=t[l];return d!==void 0?d:l}function Mv(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=ro(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]+"}":ml(a)&&(n+=Zo(s)+":"+hl(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++)ml(i[l])&&(n+=Zo(s)+":"+hl(s,i[l])+";");else{var d=ro(e,t,i);switch(s){case"animation":case"animationName":{n+=Zo(s)+":"+d+";";break}default:n+=s+"{"+d+"}"}}}return n}var pl=/label:\s*([^\s;{]+)\s*(;|$)/g,Ht;function es(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+=ro(r,t,s);else{var i=s;o+=i[0]}for(var a=1;a<e.length;a++)if(o+=ro(r,t,e[a]),n){var l=s;o+=l[a]}pl.lastIndex=0;for(var d="",f;(f=pl.exec(o))!==null;)d+="-"+f[1];var m=Iv(o)+d;return{name:m,styles:o,next:Ht}}function Bu(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(n+=o+" ")}),n}var Lv=function(t,r,n){var o=t.key+"-"+r.name;t.registered[o]===void 0&&(t.registered[o]=r.styles)},Dv=function(t,r,n){Lv(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 vl(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function gl(e,t,r){var n=[],o=Bu(e,n,r);return n.length<2?r:o+t(n)}var Fv=function(t){var r=Av(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=es(d,r.registered,void 0);return Dv(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=es(d,r.registered),p="animation-"+m.name;return vl(r,{name:m.name,styles:"@keyframes "+p+"{"+m.styles+"}"}),p},s=function(){for(var l=arguments.length,d=new Array(l),f=0;f<l;f++)d[f]=arguments[f];var m=es(d,r.registered);vl(r,m)},i=function(){for(var l=arguments.length,d=new Array(l),f=0;f<l;f++)d[f]=arguments[f];return gl(r.registered,n,Bv(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:Bu.bind(null,r.registered),merge:gl.bind(null,r.registered,n)}},Bv=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},$v=Fv({key:"css"}),Vv=$v.css;function zv(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function ti(e,t,r){if(e){if(typeof e=="function"){ti(e(t),t,r);return}if(Array.isArray(e)){for(const n of e)ti(n,t,r);return}zv(e)&&r.push(e)}}function Hv(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 Uv(e){const t={};for(const[r,n]of Object.entries(e))Hv(r,n)&&(t[r]=n);return t}function ee(e,t){const r=[];if(ti(e,t,r),!r.length)return{sxClassName:void 0,sxInlineStyle:void 0};const n=Vv(r),o=r.reduce((s,i)=>({...s,...Uv(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,...p}=e,v=t??"button",{roundedPreset:g,roundedStyle:h}=hr(o),{shadowPreset:y,shadowStyle:x}=mn(s),b=se(),{sxClassName:w,sxInlineStyle:P}=ee(l,b);return c.jsx(v,{className:R(gu({variant:r,size:n,rounded:g,shadow:y,bounce:i,splash:a}),w,f,m),style:D(d,h,x,P),...p})}vt.displayName="Button";const ts={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 Wv(e){if(e===void 0)return{sizeClassName:ts.md};if(typeof e=="string"&&e in ts)return{sizeClassName:ts[e]};const t=typeof e=="number"?`${e}px`:e;return{sizeStyle:{width:t,height:t}}}function no(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,...p}=e,{sizeClassName:v,sizeStyle:g}=Wv(r),h={...p,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},g,m)};return c.jsx(vt,{...h})}no.displayName="GhostButton";const $u="__LDKJ_GHOST_BUTTON_GROUP_ITEM__";function Ri(e){return null}Ri.displayName="GhostButtonGroup.Item";Ri[$u]=!0;function Kv(e){return!!(e&&typeof e=="function"&&e[$u]===!0)}function Gv(e){return typeof e=="number"?`${e}px`:e}function bl(e,t){return e.includes(t)}function Yv(e){const t=[],r=[];return u.Children.forEach(e,n=>{if(u.isValidElement(n)&&Kv(n.type)){r.push(n);return}t.push(n)}),{triggerChildren:t,itemChildren:r}}function Xv(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 Jv(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 Qv(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)":Jv(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 Zv(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:p,...v}=e,g=Array.isArray(t)?t:[t],h=Gv(n),{triggerChildren:y,itemChildren:x}=Yv(s),b=[...o??[],...x.map(T=>({...T.props,key:T.key??void 0}))],[w,P]=u.useState(!1),[C,S]=u.useState("closed"),N=u.useRef(null),k=u.useRef(null),q=y.length>0?c.jsx(c.Fragment,{children:y}):void 0,A=bl(g,"hover"),j=bl(g,"click"),E=Math.max(b.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 T=window.setTimeout(()=>{S("closed")},E);return()=>window.clearTimeout(T)},[E,C,w]),u.useLayoutEffect(()=>{if(C!=="preparing")return;k.current?.offsetHeight;const T=window.requestAnimationFrame(()=>{S($=>$==="preparing"?"open":$)});return()=>window.cancelAnimationFrame(T)},[C]),u.useEffect(()=>{if(!w||!j)return;const T=M=>{const W=M.target;W instanceof Node&&(N.current?.contains(W)||P(!1))},$=M=>{M.key==="Escape"&&P(!1)};return document.addEventListener("pointerdown",T),document.addEventListener("keydown",$),()=>{document.removeEventListener("pointerdown",T),document.removeEventListener("keydown",$)}},[w,j]);const O={...v,position:"static",right:void 0,bottom:void 0,left:void 0,top:void 0,zIndex:m,onClick:T=>{j&&P($=>!$),p?.(T)},"aria-expanded":w,"aria-haspopup":"menu",children:q};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&&b.length>0?c.jsx("div",{ref:k,style:{...Xv(r,h),pointerEvents:C==="open"?"auto":"none"},children:b.map((T,$)=>{const{itemKey:M,onClick:W,...F}=T;return c.jsx("div",{style:Qv(r,C,$,b.length),children:c.jsx(no,{position:"static",...F,onClick:X=>{W?.(X),P(!1)}})},M??T.key??$)})}):null,c.jsx(no,{...O})]})})}const Vu=Object.assign(Zv,{Item:Ri});Vu.displayName="GhostButtonGroup";const Ai={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(Ai));const Ut={};function zu(e){return{...e}}function eg(e){Object.assign(Ut,zu(e))}function tg(e){const t=zu(e);Object.keys(Ut).forEach(r=>{delete Ut[r]}),Object.assign(Ut,t)}function rg(){Object.keys(Ut).forEach(e=>{delete Ut[e]})}function ng(){const e=Object.keys(Ut),t=Object.keys(Ai);return Array.from(new Set([...e,...t]))}function xl(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 og(e,t){const r=Ut[e]??Ai[e]??null;return r?t==="rounded"?r.rounded??r.outlined:t==="sharp"?r.sharp??r.outlined:r.outlined:null}function sg(e,t){return u.lazy(async()=>{const r=og(e,t);if(!r)return{default:xl};try{return{default:(await r()).default}}catch{return{default:xl}}})}function $e(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(()=>sg(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})})}$e.displayName="Icon";let Hu=null;function yl(e){Hu=e}function ig(){return Hu}const ag=200,lg={info:{icon:"info",iconColor:"#6b7280",role:"status",live:"polite"},success:{icon:"check_circle",iconColor:"#16a34a",role:"status",live:"polite"},warn:{icon:"warning",iconColor:"#d97706",role:"alert",live:"assertive"},error:{icon:"error",iconColor:"#dc2626",role:"alert",live:"assertive"}},Uu=u.createContext(null);let wl=0;function cg(){return wl+=1,`ldkj-toast-${Date.now()}-${wl}`}function ug(e,t){return e.filter(r=>r.id!==t)}function dg(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 Wu(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(b=>{const w=l.current.get(b);w!==void 0&&(window.clearTimeout(w),l.current.delete(b));const P=d.current.get(b);P!==void 0&&(window.clearTimeout(P),d.current.delete(b))},[]),m=u.useCallback(b=>{f(b),a(w=>ug(w,b))},[f]),p=u.useCallback(b=>{f(b),a(P=>P.map(C=>C.id===b&&!C.leaving?{...C,leaving:!0}:C));const w=window.setTimeout(()=>{m(b)},ag);d.current.set(b,w)},[f,m]),v=u.useCallback(()=>{a(b=>(b.forEach(w=>f(w.id)),[]))},[f]),g=u.useCallback(b=>{const w=b.duration??n,P=b.id??cg(),C={id:P,message:b.message,type:b.type??"info",placement:b.placement??r,closable:b.closable??!0,icon:b.icon,iconColor:b.iconColor,leaving:!1};a(N=>{const k=[...N,C];if(k.length<=o)return k;const q=k.length-o;return k.slice(0,q).forEach(j=>f(j.id)),k.slice(q)});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(b=>window.clearTimeout(b)),d.current.forEach(b=>window.clearTimeout(b)),l.current.clear(),d.current.clear()},[]);const h=u.useMemo(()=>({push:g,dismiss:p,clear:v}),[v,p,g]);u.useEffect(()=>(yl(h),()=>yl(null)),[h]);const y=u.useMemo(()=>dg(i),[i]),x=Array.from(y.keys());return c.jsxs(Uu.Provider,{value:h,children:[t,x.map(b=>{const w=y.get(b)??[],P=s?[...w].reverse():w;return c.jsx("div",{className:R("ldkj-toast-viewport",`ldkj-toast-viewport-${b}`),"aria-hidden":P.length===0,children:P.map(C=>{const S=lg[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($e,{name:C.icon,color:N,size:20,className:"ldkj-toast-icon",title:`${C.type} icon`}):C.icon?.svg||C.icon?.src?c.jsx($e,{svg:C.icon.svg,src:C.icon.src,color:N,size:20,className:"ldkj-toast-icon",title:`${C.type} icon`}):c.jsx($e,{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($e,{name:"close",size:16,className:"ldkj-toast-close-icon"})}):null]},C.id)})},b)})]})}Wu.displayName="ToastProvider";function fg(){const e=u.useContext(Uu);if(!e)throw new Error("useToast 必须在 ToastProvider 内使用。");const t=u.useCallback((i,a)=>e.push({message:i,...a}),[e]),r=u.useCallback((i,a)=>e.push({type:"info",message:i,...a}),[e]),n=u.useCallback((i,a)=>e.push({type:"success",message:i,...a}),[e]),o=u.useCallback((i,a)=>e.push({type:"warn",message:i,...a}),[e]),s=u.useCallback((i,a)=>e.push({type:"error",message:i,...a}),[e]);return u.useMemo(()=>({show:t,info:r,success:n,warn:o,error:s,dismiss:e.dismiss,clear:e.clear}),[e.clear,e.dismiss,s,r,t,n,o])}const Wn={placement:"top",duration:3e3,closable:!0};let Pl=!1;const ft={...Wn};function Ku(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 Kn(){const e=ig();return e||(Pl||(Pl=!0,console.warn("toast 调用失败:请先在应用根节点挂载 ToastProvider。")),null)}function En(e,t,r){const n=Kn();return n?n.push({type:e,message:t,...Ku(r)}):""}const mg={show(e,t){const r=Kn();return r?r.push({type:"info",message:typeof e=="string"?e:String(e),...Ku(t)}):""},info(e,t){return En("info",e,t)},success(e,t){return En("success",e,t)},warn(e,t){return En("warn",e,t)},error(e,t){return En("error",e,t)},dismiss(e){const t=Kn();t&&t.dismiss(e)},clear(){const e=Kn();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=Wn.placement,ft.duration=Wn.duration,ft.closable=Wn.closable}};function Cl(e){if(e!=null)return typeof e=="boolean"?e?"blur(5px)":void 0:typeof e=="number"?`blur(${e}px)`:`blur(${e})`}function Ii(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:p,className:v,class:g,style:h,sx:y,contentClassName:x,contentClass:b,contentStyle:w,contentSx:P,children:C,...S}=e,N=se(),{sxClassName:k,sxInlineStyle:q}=ee(y,N),{sxClassName:A,sxInlineStyle:j}=ee(P,N),E=u.useRef(!1);return u.useEffect(()=>{if(E.current){t?p?.():m?.();return}E.current=!0},[t,m,p]),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]",k,v,g),style:D({backgroundColor:`rgba(0, 0, 0, ${s})`,backdropFilter:Cl(i),WebkitBackdropFilter:Cl(i)},h,q),onTouchStart:I=>{o||(I.preventDefault(),I.stopPropagation())},onClick:()=>{n&&m?.()},...S,children:c.jsx("div",{className:R("absolute",A,x,b),style:D({left:a,top:l,transform:`translate(${d}, ${f})`},w,j),onClick:I=>{I.stopPropagation()},children:C})})}Ii.displayName="Modal";const Gu=u.createContext(null),Yu=u.createContext(null);function pn(e){const t=u.useContext(Gu);if(!t)throw new Error(`${e} 必须在 <Dialog> 内使用`);return t}function Jt(e){const t=se();return ee(e,t)}function hg(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 pg=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]=hg({open:t,defaultOpen:r,onOpenChange:n}),p=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(Gu.Provider,{value:p,children:d})},Ti=u.forwardRef((e,t)=>{const{setOpen:r}=pn("DialogTrigger"),{asChild:n,asChildWrapper:o="span",className:s,class:i,sx:a,style:l,children:d,onClick:f,...m}=e,{sxClassName:p,sxInlineStyle:v}=Jt(a),g=h=>{f?.(h),!h.defaultPrevented&&r(!0)};return n?c.jsx(o,{ref:t,className:R("inline-flex w-fit",p,s,i),style:D(l,v),onClick:g,...m,children:d}):c.jsx("button",{ref:t,type:"button",className:R(p,s,i),style:D(l,v),onClick:g,...m,children:d})});Ti.displayName="DialogTrigger";const _i=u.forwardRef((e,t)=>{const{setOpen:r}=pn("DialogClose"),{asChild:n,asChildWrapper:o="span",className:s,class:i,sx:a,style:l,children:d,onClick:f,...m}=e,{sxClassName:p,sxInlineStyle:v}=Jt(a),g=h=>{f?.(h),!h.defaultPrevented&&r(!1)};return n?c.jsx(o,{ref:t,className:R("inline-flex w-fit",p,s,i),style:D(l,v),onClick:g,...m,children:d}):c.jsx("button",{ref:t,type:"button",className:R(p,s,i),style:D(l,v),onClick:g,...m,children:d})});_i.displayName="DialogClose";const Xu=e=>{const{children:t,container:r}=e;if(typeof document>"u")return null;const n=r??document.body;return n?fn.createPortal(t,n):null},Oi=u.forwardRef((e,t)=>{const{open:r,destroyOnClose:n,closeOnMaskClick:o,setOpen:s}=pn("DialogOverlay"),{className:i,class:a,sx:l,style:d,blur:f=!0,onClick:m,...p}=e,{sxClassName:v,sxInlineStyle:g}=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,g),onClick:h=>{m?.(h),!h.defaultPrevented&&o&&s(!1)},...p})});Oi.displayName="DialogOverlay";const Mi=u.forwardRef((e,t)=>{const r=pn("DialogContent"),{children:n,className:o,class:s,sx:i,style:a,showClose:l=!0,overlayClassName:d,overlaySx:f,overlayBlur:m=!0,onEscapeKeyDown:p,onPointerDownOutside:v,onOpenAutoFocus:g,onCloseAutoFocus:h,...y}=e,{sxClassName:x,sxInlineStyle:b}=Jt(i),w=u.useRef(null),P=u.useRef(r.open);u.useImperativeHandle(t,()=>w.current),u.useEffect(()=>{const k=P.current;if(!k&&r.open){const q=new Event("openAutoFocus",{cancelable:!0});g?.(q),q.defaultPrevented||w.current?.focus()}if(k&&!r.open){const q=new Event("closeAutoFocus",{cancelable:!0});h?.(q)}P.current=r.open},[r.open,h,g]),u.useEffect(()=>{if(!r.open)return;const k=q=>{q.key==="Escape"&&(p?.(q),!q.defaultPrevented&&r.setOpen(!1))};return window.addEventListener("keydown",k),()=>{window.removeEventListener("keydown",k)}},[r,p]);const C=r.lockScroll&&r.modal,S=r.scrollable||!C,N=r.modal&&r.closeOnMaskClick;return c.jsx(Ii,{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 k=new PointerEvent("pointerdown",{bubbles:!0,cancelable:!0});v?.(k),k.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,b),...y,children:c.jsx(Yu.Provider,{value:{showClose:l},children:n})})})});Mi.displayName="DialogContent";const Li=u.forwardRef((e,t)=>{const r=pn("DialogHeader"),o=u.useContext(Yu)?.showClose??!1,{className:s,class:i,sx:a,style:l,children:d,...f}=e,{sxClassName:m,sxInlineStyle:p}=Jt(a);return c.jsxs("div",{ref:t,className:R("flex items-start justify-between gap-3",m,s,i),style:D(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: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($e,{name:"close",size:16})}):null]})});Li.displayName="DialogHeader";const Di=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})});Di.displayName="DialogFooter";const Fi=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})});Fi.displayName="DialogTitle";const Bi=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})});Bi.displayName="DialogDescription";const vg=Object.assign(pg,{Trigger:Ti,Portal:Xu,Close:_i,Overlay:Oi,Content:Mi,Header:Li,Footer:Di,Title:Fi,Description:Bi});function pe(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),r===!1||!o.defaultPrevented)return t?.(o)}}function Sl(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function $i(...e){return t=>{let r=!1;const n=e.map(o=>{const s=Sl(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():Sl(e[o],null)}}}}function Re(...e){return u.useCallback($i(...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:p,children:v,...g}=m,h=p?.[e]?.[l]||a,y=u.useMemo(()=>g,Object.values(g));return c.jsx(h.Provider,{value:y,children:v})};d.displayName=s+"Provider";function f(m,p){const v=p?.[e]?.[l]||a,g=u.useContext(v);if(g)return g;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,gg(o,...t)]}function gg(...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 sn(e){const t=bg(e),r=u.forwardRef((n,o)=>{const{children:s,...i}=n,a=u.Children.toArray(s),l=a.find(yg);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 bg(e){const t=u.forwardRef((r,n)=>{const{children:o,...s}=r;if(u.isValidElement(o)){const i=Pg(o),a=wg(s,o.props);return o.type!==u.Fragment&&(a.ref=n?$i(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 Ju=Symbol("radix.slottable");function xg(e){const t=({children:r})=>c.jsx(c.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=Ju,t}function yg(e){return u.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Ju}function wg(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 Pg(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=sn(`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 Sg(e,t){e&&fn.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 Ng(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 kg="DismissableLayer",ri="dismissableLayer.update",qg="dismissableLayer.pointerDownOutside",jg="dismissableLayer.focusOutside",Nl,Qu=u.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),yo=u.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:a,...l}=e,d=u.useContext(Qu),[f,m]=u.useState(null),p=f?.ownerDocument??globalThis?.document,[,v]=u.useState({}),g=Re(t,N=>m(N)),h=Array.from(d.layers),[y]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=h.indexOf(y),b=f?h.indexOf(f):-1,w=d.layersWithOutsidePointerEventsDisabled.size>0,P=b>=x,C=Ag(N=>{const k=N.target,q=[...d.branches].some(A=>A.contains(k));!P||q||(o?.(N),i?.(N),N.defaultPrevented||a?.())},p),S=Ig(N=>{const k=N.target;[...d.branches].some(A=>A.contains(k))||(s?.(N),i?.(N),N.defaultPrevented||a?.())},p);return Ng(N=>{b===d.layers.size-1&&(n?.(N),!N.defaultPrevented&&a&&(N.preventDefault(),a()))},p),u.useEffect(()=>{if(f)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Nl=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),kl(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=Nl)}},[f,p,r,d]),u.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),kl())},[f,d]),u.useEffect(()=>{const N=()=>v({});return document.addEventListener(ri,N),()=>document.removeEventListener(ri,N)},[]),c.jsx(ye.div,{...l,ref:g,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)})});yo.displayName=kg;var Eg="DismissableLayerBranch",Rg=u.forwardRef((e,t)=>{const r=u.useContext(Qu),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})});Rg.displayName=Eg;function Ag(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(){Zu(qg,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 Ig(e,t=globalThis?.document){const r=At(e),n=u.useRef(!1);return u.useEffect(()=>{const o=s=>{s.target&&!n.current&&Zu(jg,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 kl(){const e=new CustomEvent(ri);document.dispatchEvent(e)}function Zu(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?Sg(o,s):o.dispatchEvent(s)}var rs=0;function ed(){u.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??ql()),document.body.insertAdjacentElement("beforeend",e[1]??ql()),rs++,()=>{rs===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),rs--}},[])}function ql(){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 ns="focusScope.autoFocusOnMount",os="focusScope.autoFocusOnUnmount",jl={bubbles:!1,cancelable:!0},Tg="FocusScope",Vi=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),p=Re(t,h=>l(h)),v=u.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;u.useEffect(()=>{if(n){let h=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",h),document.addEventListener("focusout",y);const b=new MutationObserver(x);return a&&b.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",y),b.disconnect()}}},[n,a,v.paused]),u.useEffect(()=>{if(a){Rl.add(v);const h=document.activeElement;if(!a.contains(h)){const x=new CustomEvent(ns,jl);a.addEventListener(ns,d),a.dispatchEvent(x),x.defaultPrevented||(_g(Fg(td(a)),{select:!0}),document.activeElement===h&&zt(a))}return()=>{a.removeEventListener(ns,d),setTimeout(()=>{const x=new CustomEvent(os,jl);a.addEventListener(os,f),a.dispatchEvent(x),x.defaultPrevented||zt(h??document.body,{select:!0}),a.removeEventListener(os,f),Rl.remove(v)},0)}}},[a,d,f,v]);const g=u.useCallback(h=>{if(!r&&!n||v.paused)return;const y=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,x=document.activeElement;if(y&&x){const b=h.currentTarget,[w,P]=Og(b);w&&P?!h.shiftKey&&x===P?(h.preventDefault(),r&&zt(w,{select:!0})):h.shiftKey&&x===w&&(h.preventDefault(),r&&zt(P,{select:!0})):x===b&&h.preventDefault()}},[r,n,v.paused]);return c.jsx(ye.div,{tabIndex:-1,...i,ref:p,onKeyDown:g})});Vi.displayName=Tg;function _g(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(zt(n,{select:t}),document.activeElement!==r)return}function Og(e){const t=td(e),r=El(t,e),n=El(t.reverse(),e);return[r,n]}function td(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(!Mg(r,{upTo:t}))return r}function Mg(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 Lg(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&&Lg(e)&&t&&e.select()}}var Rl=Dg();function Dg(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=Al(e,t),e.unshift(t)},remove(t){e=Al(e,t),e[0]?.resume()}}}function Al(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function Fg(e){return e.filter(t=>t.tagName!=="A")}var Ve=globalThis?.document?u.useLayoutEffect:()=>{},Bg=u[" useId ".trim().toString()]||(()=>{}),$g=0;function vr(e){const[t,r]=u.useState(Bg());return Ve(()=>{r(n=>n??String($g++))},[e]),e||(t?`radix-${t}`:"")}const Vg=["top","right","bottom","left"],Kt=Math.min,at=Math.max,oo=Math.round,Rn=Math.floor,qt=e=>({x:e,y:e}),zg={left:"right",right:"left",bottom:"top",top:"bottom"};function ni(e,t,r){return at(e,Kt(t,r))}function It(e,t){return typeof e=="function"?e(t):e}function Tt(e){return e.split("-")[0]}function Mr(e){return e.split("-")[1]}function zi(e){return e==="x"?"y":"x"}function Hi(e){return e==="y"?"height":"width"}function Nt(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Ui(e){return zi(Nt(e))}function Hg(e,t,r){r===void 0&&(r=!1);const n=Mr(e),o=Ui(e),s=Hi(o);let i=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=so(i)),[i,so(i)]}function Ug(e){const t=so(e);return[oi(e),t,oi(t)]}function oi(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Il=["left","right"],Tl=["right","left"],Wg=["top","bottom"],Kg=["bottom","top"];function Gg(e,t,r){switch(e){case"top":case"bottom":return r?t?Tl:Il:t?Il:Tl;case"left":case"right":return t?Wg:Kg;default:return[]}}function Yg(e,t,r,n){const o=Mr(e);let s=Gg(Tt(e),r==="start",n);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(oi)))),s}function so(e){const t=Tt(e);return zg[t]+e.slice(t.length)}function Xg(e){return{top:0,right:0,bottom:0,left:0,...e}}function rd(e){return typeof e!="number"?Xg(e):{top:e,right:e,bottom:e,left:e}}function io(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 _l(e,t,r){let{reference:n,floating:o}=e;const s=Nt(t),i=Ui(t),a=Hi(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,p=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(Mr(t)){case"start":v[i]-=p*(r&&d?-1:1);break;case"end":v[i]+=p*(r&&d?-1:1);break}return v}async function Jg(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:p=!1,padding:v=0}=It(t,e),g=rd(v),y=a[p?m==="floating"?"reference":"floating":m],x=io(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})),b=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=io(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:b,offsetParent:w,strategy:l}):b);return{top:(x.top-C.top+g.top)/P.y,bottom:(C.bottom-x.bottom+g.bottom)/P.y,left:(x.left-C.left+g.left)/P.x,right:(C.right-x.right+g.right)/P.x}}const Qg=50,Zg=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:s=[],platform:i}=r,a=i.detectOverflow?i:{...i,detectOverflow:Jg},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}=_l(d,n,l),p=n,v=0;const g={};for(let h=0;h<s.length;h++){const y=s[h];if(!y)continue;const{name:x,fn:b}=y,{x:w,y:P,data:C,reset:S}=await b({x:f,y:m,initialPlacement:n,placement:p,strategy:o,middlewareData:g,rects:d,platform:a,elements:{reference:e,floating:t}});f=w??f,m=P??m,g[x]={...g[x],...C},S&&v<Qg&&(v++,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:m}=_l(d,p,l)),h=-1)}return{x:f,y:m,placement:p,strategy:o,middlewareData:g}},eb=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=rd(f),p={x:r,y:n},v=Ui(o),g=Hi(v),h=await i.getDimensions(d),y=v==="y",x=y?"top":"left",b=y?"bottom":"right",w=y?"clientHeight":"clientWidth",P=s.reference[g]+s.reference[v]-p[v]-s.floating[g],C=p[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[g]);const k=P/2-C/2,q=N/2-h[g]/2-1,A=Kt(m[x],q),j=Kt(m[b],q),E=A,I=N-h[g]-j,_=N/2-h[g]/2+k,O=ni(E,_,I),T=!l.arrow&&Mr(o)!=null&&_!==O&&s.reference[g]/2-(_<E?A:j)-h[g]/2<0,$=T?_<E?_-E:_-I:0;return{[v]:p[v]+$,data:{[v]:O,centerOffset:_-O-$,...T&&{alignmentOffset:$}},reset:T}}}),tb=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:p,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0,...y}=It(e,t);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const x=Tt(o),b=Nt(a),w=Tt(a)===a,P=await(l.isRTL==null?void 0:l.isRTL(d.floating)),C=p||(w||!h?[so(a)]:Ug(a)),S=g!=="none";!p&&S&&C.push(...Yg(a,h,g,P));const N=[a,...C],k=await l.detectOverflow(t,y),q=[];let A=((n=s.flip)==null?void 0:n.overflows)||[];if(f&&q.push(k[x]),m){const _=Hg(o,i,P);q.push(k[_[0]],k[_[1]])}if(A=[...A,{placement:o,overflows:q}],!q.every(_=>_<=0)){var j,E;const _=(((j=s.flip)==null?void 0:j.index)||0)+1,O=N[_];if(O&&(!(m==="alignment"?b!==Nt(O):!1)||A.every(M=>Nt(M.placement)===b?M.overflows[0]>0:!0)))return{data:{index:_,overflows:A},reset:{placement:O}};let T=(E=A.filter($=>$.overflows[0]<=0).sort(($,M)=>$.overflows[1]-M.overflows[1])[0])==null?void 0:E.placement;if(!T)switch(v){case"bestFit":{var I;const $=(I=A.filter(M=>{if(S){const W=Nt(M.placement);return W===b||W==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(W=>W>0).reduce((W,F)=>W+F,0)]).sort((M,W)=>M[1]-W[1])[0])==null?void 0:I[0];$&&(T=$);break}case"initialPlacement":T=a;break}if(o!==T)return{reset:{placement:T}}}return{}}}};function Ol(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Ml(e){return Vg.some(t=>e[t]>=0)}const rb=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=Ol(i,r.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Ml(a)}}}case"escaped":{const i=await n.detectOverflow(t,{...s,altBoundary:!0}),a=Ol(i,r.floating);return{data:{escapedOffsets:a,escaped:Ml(a)}}}default:return{}}}}},nd=new Set(["left","top"]);async function nb(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=Mr(r),l=Nt(r)==="y",d=nd.has(i)?-1:1,f=s&&l?-1:1,m=It(t,e);let{mainAxis:p,crossAxis:v,alignmentAxis:g}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return a&&typeof g=="number"&&(v=a==="end"?g*-1:g),l?{x:v*f,y:p*d}:{x:p*d,y:v*f}}const ob=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 nb(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}}}}},sb=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:b,y:w}=x;return{x:b,y:w}}},...d}=It(e,t),f={x:r,y:n},m=await s.detectOverflow(t,d),p=Nt(Tt(o)),v=zi(p);let g=f[v],h=f[p];if(i){const x=v==="y"?"top":"left",b=v==="y"?"bottom":"right",w=g+m[x],P=g-m[b];g=ni(w,g,P)}if(a){const x=p==="y"?"top":"left",b=p==="y"?"bottom":"right",w=h+m[x],P=h-m[b];h=ni(w,h,P)}const y=l.fn({...t,[v]:g,[p]:h});return{...y,data:{x:y.x-r,y:y.y-n,enabled:{[v]:i,[p]:a}}}}}},ib=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),p=zi(m);let v=f[p],g=f[m];const h=It(a,t),y=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const w=p==="y"?"height":"width",P=s.reference[p]-s.floating[w]+y.mainAxis,C=s.reference[p]+s.reference[w]-y.mainAxis;v<P?v=P:v>C&&(v=C)}if(d){var x,b;const w=p==="y"?"width":"height",P=nd.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:((b=i.offset)==null?void 0:b[m])||0)-(P?y.crossAxis:0);g<C?g=C:g>S&&(g=S)}return{[p]:v,[m]:g}}}},ab=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),p=Mr(o),v=Nt(o)==="y",{width:g,height:h}=s.floating;let y,x;m==="top"||m==="bottom"?(y=m,x=p===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(x=m,y=p==="end"?"top":"bottom");const b=h-f.top-f.bottom,w=g-f.left-f.right,P=Kt(h-f[y],b),C=Kt(g-f[x],w),S=!t.middlewareData.shift;let N=P,k=C;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(k=w),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(N=b),S&&!p){const A=at(f.left,0),j=at(f.right,0),E=at(f.top,0),I=at(f.bottom,0);v?k=g-2*(A!==0||j!==0?A+j:at(f.left,f.right)):N=h-2*(E!==0||I!==0?E+I:at(f.top,f.bottom))}await l({...t,availableWidth:k,availableHeight:N});const q=await i.getDimensions(a.floating);return g!==q.width||h!==q.height?{reset:{rects:!0}}:{}}}};function wo(){return typeof window<"u"}function Lr(e){return od(e)?(e.nodeName||"").toLowerCase():"#document"}function ct(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function jt(e){var t;return(t=(od(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function od(e){return wo()?e instanceof Node||e instanceof ct(e).Node:!1}function gt(e){return wo()?e instanceof Element||e instanceof ct(e).Element:!1}function Ot(e){return wo()?e instanceof HTMLElement||e instanceof ct(e).HTMLElement:!1}function Ll(e){return!wo()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ct(e).ShadowRoot}function vn(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 lb(e){return/^(table|td|th)$/.test(Lr(e))}function Po(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const cb=/transform|translate|scale|rotate|perspective|filter/,ub=/paint|layout|strict|content/,or=e=>!!e&&e!=="none";let ss;function Wi(e){const t=gt(e)?bt(e):e;return or(t.transform)||or(t.translate)||or(t.scale)||or(t.rotate)||or(t.perspective)||!Ki()&&(or(t.backdropFilter)||or(t.filter))||cb.test(t.willChange||"")||ub.test(t.contain||"")}function db(e){let t=Gt(e);for(;Ot(t)&&!Rr(t);){if(Wi(t))return t;if(Po(t))return null;t=Gt(t)}return null}function Ki(){return ss==null&&(ss=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ss}function Rr(e){return/^(html|body|#document)$/.test(Lr(e))}function bt(e){return ct(e).getComputedStyle(e)}function Co(e){return gt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Gt(e){if(Lr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ll(e)&&e.host||jt(e);return Ll(t)?t.host:t}function sd(e){const t=Gt(e);return Rr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ot(t)&&vn(t)?t:sd(t)}function an(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=sd(e),s=o===((n=e.ownerDocument)==null?void 0:n.body),i=ct(o);if(s){const a=si(i);return t.concat(i,i.visualViewport||[],vn(o)?o:[],a&&r?an(a):[])}else return t.concat(o,an(o,[],r))}function si(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function id(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=oo(r)!==s||oo(n)!==i;return a&&(r=s,n=i),{width:r,height:n,$:a}}function Gi(e){return gt(e)?e:e.contextElement}function qr(e){const t=Gi(e);if(!Ot(t))return qt(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:s}=id(t);let i=(s?oo(r.width):r.width)/n,a=(s?oo(r.height):r.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const fb=qt(0);function ad(e){const t=ct(e);return!Ki()||!t.visualViewport?fb:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function mb(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=Gi(e);let i=qt(1);t&&(n?gt(n)&&(i=qr(n)):i=qr(e));const a=mb(s,r,n)?ad(s):qt(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 p=ct(s),v=n&>(n)?ct(n):n;let g=p,h=si(g);for(;h&&n&&v!==g;){const y=qr(h),x=h.getBoundingClientRect(),b=bt(h),w=x.left+(h.clientLeft+parseFloat(b.paddingLeft))*y.x,P=x.top+(h.clientTop+parseFloat(b.paddingTop))*y.y;l*=y.x,d*=y.y,f*=y.x,m*=y.y,l+=w,d+=P,g=ct(h),h=si(g)}}return io({width:f,height:m,x:l,y:d})}function So(e,t){const r=Co(e).scrollLeft;return t?t.left+r:dr(jt(e)).left+r}function ld(e,t){const r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-So(e,r),o=r.top+t.scrollTop;return{x:n,y:o}}function hb(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const s=o==="fixed",i=jt(n),a=t?Po(t.floating):!1;if(n===i||a&&s)return r;let l={scrollLeft:0,scrollTop:0},d=qt(1);const f=qt(0),m=Ot(n);if((m||!m&&!s)&&((Lr(n)!=="body"||vn(i))&&(l=Co(n)),m)){const v=dr(n);d=qr(n),f.x=v.x+n.clientLeft,f.y=v.y+n.clientTop}const p=i&&!m&&!s?ld(i,l):qt(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 pb(e){return Array.from(e.getClientRects())}function vb(e){const t=jt(e),r=Co(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+So(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 Dl=25;function gb(e,t){const r=ct(e),n=jt(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=Ki();(!f||f&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}const d=So(n);if(d<=0){const f=n.ownerDocument,m=f.body,p=getComputedStyle(m),v=f.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,g=Math.abs(n.clientWidth-m.clientWidth-v);g<=Dl&&(s-=g)}else d<=Dl&&(s+=d);return{width:s,height:i,x:a,y:l}}function bb(e,t){const r=dr(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,s=Ot(e)?qr(e):qt(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 Fl(e,t,r){let n;if(t==="viewport")n=gb(e,r);else if(t==="document")n=vb(jt(e));else if(gt(t))n=bb(t,r);else{const o=ad(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return io(n)}function cd(e,t){const r=Gt(e);return r===t||!gt(r)||Rr(r)?!1:bt(r).position==="fixed"||cd(r,t)}function xb(e,t){const r=t.get(e);if(r)return r;let n=an(e,[],!1).filter(a=>gt(a)&&Lr(a)!=="body"),o=null;const s=bt(e).position==="fixed";let i=s?Gt(e):e;for(;gt(i)&&!Rr(i);){const a=bt(i),l=Wi(i);!l&&a.position==="fixed"&&(o=null),(s?!l&&!o:!l&&a.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||vn(i)&&!l&&cd(e,i))?n=n.filter(f=>f!==i):o=a,i=Gt(i)}return t.set(e,n),n}function yb(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const i=[...r==="clippingAncestors"?Po(t)?[]:xb(t,this._c):[].concat(r),n],a=Fl(t,i[0],o);let l=a.top,d=a.right,f=a.bottom,m=a.left;for(let p=1;p<i.length;p++){const v=Fl(t,i[p],o);l=at(v.top,l),d=Kt(v.right,d),f=Kt(v.bottom,f),m=at(v.left,m)}return{width:d-m,height:f-l,x:m,y:l}}function wb(e){const{width:t,height:r}=id(e);return{width:t,height:r}}function Pb(e,t,r){const n=Ot(t),o=jt(t),s=r==="fixed",i=dr(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=qt(0);function d(){l.x=So(o)}if(n||!n&&!s)if((Lr(t)!=="body"||vn(o))&&(a=Co(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?ld(o,a):qt(0),m=i.left+a.scrollLeft-l.x-f.x,p=i.top+a.scrollTop-l.y-f.y;return{x:m,y:p,width:i.width,height:i.height}}function is(e){return bt(e).position==="static"}function Bl(e,t){if(!Ot(e)||bt(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return jt(e)===r&&(r=r.ownerDocument.body),r}function ud(e,t){const r=ct(e);if(Po(e))return r;if(!Ot(e)){let o=Gt(e);for(;o&&!Rr(o);){if(gt(o)&&!is(o))return o;o=Gt(o)}return r}let n=Bl(e,t);for(;n&&lb(n)&&is(n);)n=Bl(n,t);return n&&Rr(n)&&is(n)&&!Wi(n)?r:n||db(e)||r}const Cb=async function(e){const t=this.getOffsetParent||ud,r=this.getDimensions,n=await r(e.floating);return{reference:Pb(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Sb(e){return bt(e).direction==="rtl"}const Nb={convertOffsetParentRelativeRectToViewportRelativeRect:hb,getDocumentElement:jt,getClippingRect:yb,getOffsetParent:ud,getElementRects:Cb,getClientRects:pb,getDimensions:wb,getScale:qr,isElement:gt,isRTL:Sb};function dd(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function kb(e,t){let r=null,n;const o=jt(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:p,height:v}=d;if(a||t(),!p||!v)return;const g=Rn(m),h=Rn(o.clientWidth-(f+p)),y=Rn(o.clientHeight-(m+v)),x=Rn(f),w={rootMargin:-g+"px "+-h+"px "+-y+"px "+-x+"px",threshold:at(0,Kt(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&&!dd(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 qb(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=Gi(e),f=o||s?[...d?an(d):[],...t?an(t):[]]:[];f.forEach(x=>{o&&x.addEventListener("scroll",r,{passive:!0}),s&&x.addEventListener("resize",r)});const m=d&&a?kb(d,r):null;let p=-1,v=null;i&&(v=new ResizeObserver(x=>{let[b]=x;b&&b.target===d&&v&&t&&(v.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var w;(w=v)==null||w.observe(t)})),r()}),d&&!l&&v.observe(d),t&&v.observe(t));let g,h=l?dr(e):null;l&&y();function y(){const x=dr(e);h&&!dd(h,x)&&r(),h=x,g=requestAnimationFrame(y)}return r(),()=>{var x;f.forEach(b=>{o&&b.removeEventListener("scroll",r),s&&b.removeEventListener("resize",r)}),m?.(),(x=v)==null||x.disconnect(),v=null,l&&cancelAnimationFrame(g)}}const jb=ob,Eb=sb,Rb=tb,Ab=ab,Ib=rb,$l=eb,Tb=ib,_b=(e,t,r)=>{const n=new Map,o={platform:Nb,...r},s={...o.platform,_c:n};return Zg(e,t,{...o,platform:s})};var Ob=typeof document<"u",Mb=function(){},Gn=Ob?Oe.useLayoutEffect:Mb;function ao(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(!ao(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)&&!ao(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function fd(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Vl(e,t){const r=fd(e);return Math.round(t*r)/r}function as(e){const t=u.useRef(e);return Gn(()=>{t.current=e}),t}function Lb(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}),[p,v]=u.useState(n);ao(p,n)||v(n);const[g,h]=u.useState(null),[y,x]=u.useState(null),b=u.useCallback(M=>{M!==S.current&&(S.current=M,h(M))},[]),w=u.useCallback(M=>{M!==N.current&&(N.current=M,x(M))},[]),P=s||g,C=i||y,S=u.useRef(null),N=u.useRef(null),k=u.useRef(f),q=l!=null,A=as(l),j=as(o),E=as(d),I=u.useCallback(()=>{if(!S.current||!N.current)return;const M={placement:t,strategy:r,middleware:p};j.current&&(M.platform=j.current),_b(S.current,N.current,M).then(W=>{const F={...W,isPositioned:E.current!==!1};_.current&&!ao(k.current,F)&&(k.current=F,fn.flushSync(()=>{m(F)}))})},[p,t,r,j,E]);Gn(()=>{d===!1&&k.current.isPositioned&&(k.current.isPositioned=!1,m(M=>({...M,isPositioned:!1})))},[d]);const _=u.useRef(!1);Gn(()=>(_.current=!0,()=>{_.current=!1}),[]),Gn(()=>{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,q]);const O=u.useMemo(()=>({reference:S,floating:N,setReference:b,setFloating:w}),[b,w]),T=u.useMemo(()=>({reference:P,floating:C}),[P,C]),$=u.useMemo(()=>{const M={position:r,left:0,top:0};if(!T.floating)return M;const W=Vl(T.floating,f.x),F=Vl(T.floating,f.y);return a?{...M,transform:"translate("+W+"px, "+F+"px)",...fd(T.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:W,top:F}},[r,a,T.floating,f.x,f.y]);return u.useMemo(()=>({...f,update:I,refs:O,elements:T,floatingStyles:$}),[f,I,O,T,$])}const Db=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?$l({element:n.current,padding:o}).fn(r):{}:n?$l({element:n,padding:o}).fn(r):{}}}},Fb=(e,t)=>{const r=jb(e);return{name:r.name,fn:r.fn,options:[e,t]}},Bb=(e,t)=>{const r=Eb(e);return{name:r.name,fn:r.fn,options:[e,t]}},$b=(e,t)=>({fn:Tb(e).fn,options:[e,t]}),Vb=(e,t)=>{const r=Rb(e);return{name:r.name,fn:r.fn,options:[e,t]}},zb=(e,t)=>{const r=Ab(e);return{name:r.name,fn:r.fn,options:[e,t]}},Hb=(e,t)=>{const r=Ib(e);return{name:r.name,fn:r.fn,options:[e,t]}},Ub=(e,t)=>{const r=Db(e);return{name:r.name,fn:r.fn,options:[e,t]}};var Wb="Arrow",md=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"})})});md.displayName=Wb;var Kb=md;function No(e){const[t,r]=u.useState(void 0);return Ve(()=>{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 Yi="Popper",[hd,Dr]=xt(Yi),[Gb,pd]=hd(Yi),vd=e=>{const{__scopePopper:t,children:r}=e,[n,o]=u.useState(null);return c.jsx(Gb,{scope:t,anchor:n,onAnchorChange:o,children:r})};vd.displayName=Yi;var gd="PopperAnchor",bd=u.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,s=pd(gd,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})});bd.displayName=gd;var Xi="PopperContent",[Yb,Xb]=hd(Xi),xd=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:p=!1,updatePositionStrategy:v="optimized",onPlaced:g,...h}=e,y=pd(Xi,r),[x,b]=u.useState(null),w=Re(t,B=>b(B)),[P,C]=u.useState(null),S=No(P),N=S?.width??0,k=S?.height??0,q=n+(s!=="center"?"-"+s:""),A=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},j=Array.isArray(d)?d:[d],E=j.length>0,I={padding:A,boundary:j.filter(Qb),altBoundary:E},{refs:_,floatingStyles:O,placement:T,isPositioned:$,middlewareData:M}=Lb({strategy:"fixed",placement:q,whileElementsMounted:(...B)=>qb(...B,{animationFrame:v==="always"}),elements:{reference:y.anchor},middleware:[Fb({mainAxis:o+k,alignmentAxis:i}),l&&Bb({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?$b():void 0,...I}),l&&Vb({...I}),zb({...I,apply:({elements:B,rects:G,availableWidth:H,availableHeight:U})=>{const{width:Y,height:Q}=G.reference,le=B.floating.style;le.setProperty("--radix-popper-available-width",`${H}px`),le.setProperty("--radix-popper-available-height",`${U}px`),le.setProperty("--radix-popper-anchor-width",`${Y}px`),le.setProperty("--radix-popper-anchor-height",`${Q}px`)}}),P&&Ub({element:P,padding:a}),Zb({arrowWidth:N,arrowHeight:k}),p&&Hb({strategy:"referenceHidden",...I})]}),[W,F]=Pd(T),X=At(g);Ve(()=>{$&&X?.()},[$,X]);const de=M.arrow?.x,te=M.arrow?.y,Z=M.arrow?.centerOffset!==0,[K,J]=u.useState();return Ve(()=>{x&&J(window.getComputedStyle(x).zIndex)},[x]),c.jsx("div",{ref:_.setFloating,"data-radix-popper-content-wrapper":"",style:{...O,transform:$?O.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:K,"--radix-popper-transform-origin":[M.transformOrigin?.x,M.transformOrigin?.y].join(" "),...M.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:c.jsx(Yb,{scope:r,placedSide:W,onArrowChange:C,arrowX:de,arrowY:te,shouldHideArrow:Z,children:c.jsx(ye.div,{"data-side":W,"data-align":F,...h,ref:w,style:{...h.style,animation:$?void 0:"none"}})})})});xd.displayName=Xi;var yd="PopperArrow",Jb={top:"bottom",right:"left",bottom:"top",left:"right"},wd=u.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,s=Xb(yd,n),i=Jb[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(Kb,{...o,ref:r,style:{...o.style,display:"block"}})})});wd.displayName=yd;function Qb(e){return e!==null}var Zb=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]=Pd(r),m={start:"0%",center:"50%",end:"100%"}[f],p=(o.arrow?.x??0)+a/2,v=(o.arrow?.y??0)+l/2;let g="",h="";return d==="bottom"?(g=i?m:`${p}px`,h=`${-l}px`):d==="top"?(g=i?m:`${p}px`,h=`${n.floating.height+l}px`):d==="right"?(g=`${-l}px`,h=i?m:`${v}px`):d==="left"&&(g=`${n.floating.width+l}px`,h=i?m:`${v}px`),{data:{x:g,y:h}}}});function Pd(e){const[t,r="center"]=e.split("-");return[t,r]}var Ji=vd,ko=bd,Qi=xd,Zi=wd,ex="Portal",qo=u.forwardRef((e,t)=>{const{container:r,...n}=e,[o,s]=u.useState(!1);Ve(()=>s(!0),[]);const i=r||o&&globalThis?.document?.body;return i?fu.createPortal(c.jsx(ye.div,{...n,ref:t}),i):null});qo.displayName=ex;function tx(e,t){return u.useReducer((r,n)=>t[r][n]??r,e)}var Qt=e=>{const{present:t,children:r}=e,n=rx(t),o=typeof r=="function"?r({present:n.isPresent}):u.Children.only(r),s=Re(n.ref,nx(o));return typeof r=="function"||n.isPresent?u.cloneElement(o,{ref:s}):null};Qt.displayName="Presence";function rx(e){const[t,r]=u.useState(),n=u.useRef(null),o=u.useRef(e),s=u.useRef("none"),i=e?"mounted":"unmounted",[a,l]=tx(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return u.useEffect(()=>{const d=An(n.current);s.current=a==="mounted"?d:"none"},[a]),Ve(()=>{const d=n.current,f=o.current;if(f!==e){const p=s.current,v=An(d);e?l("MOUNT"):v==="none"||d?.display==="none"?l("UNMOUNT"):l(f&&p!==v?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Ve(()=>{if(t){let d;const f=t.ownerDocument.defaultView??window,m=v=>{const h=An(n.current).includes(CSS.escape(v.animationName));if(v.target===t&&h&&(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)})}},p=v=>{v.target===t&&(s.current=An(n.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",m),t.addEventListener("animationend",m),()=>{f.clearTimeout(d),t.removeEventListener("animationstart",p),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 An(e){return e?.animationName||"none"}function nx(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 ox=u[" useInsertionEffect ".trim().toString()]||Ve;function _t({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){const[o,s,i]=sx({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=ix(f)?f(e):f;m!==e&&i.current?.(m)}else s(f)},[a,e,s,i]);return[l,d]}function sx({defaultProp:e,onChange:t}){const[r,n]=u.useState(e),o=u.useRef(r),s=u.useRef(t);return ox(()=>{s.current=t},[t]),u.useEffect(()=>{o.current!==r&&(s.current?.(r),o.current=r)},[r,o]),[r,n,s]}function ix(e){return typeof e=="function"}var ax=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},wr=new WeakMap,In=new WeakMap,Tn={},ls=0,Cd=function(e){return e&&(e.host||Cd(e.parentNode))},lx=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Cd(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})},cx=function(e,t,r,n){var o=lx(t,Array.isArray(e)?e:[e]);Tn[r]||(Tn[r]=new WeakMap);var s=Tn[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(p){if(a.has(p))f(p);else try{var v=p.getAttribute(n),g=v!==null&&v!=="false",h=(wr.get(p)||0)+1,y=(s.get(p)||0)+1;wr.set(p,h),s.set(p,y),i.push(p),h===1&&g&&In.set(p,!0),y===1&&p.setAttribute(r,"true"),g||p.setAttribute(n,"true")}catch(x){console.error("aria-hidden: cannot operate on ",p,x)}})};return f(t),a.clear(),ls++,function(){i.forEach(function(m){var p=wr.get(m)-1,v=s.get(m)-1;wr.set(m,p),s.set(m,v),p||(In.has(m)||m.removeAttribute(n),In.delete(m)),v||m.removeAttribute(r)}),ls--,ls||(wr=new WeakMap,wr=new WeakMap,In=new WeakMap,Tn={})}},Sd=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=ax(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live], script"))),cx(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 Nd(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 ux(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 Yn="right-scroll-bar-position",Xn="width-before-scroll-bar",dx="with-scroll-bars-hidden",fx="--removed-body-scroll-bar-size";function cs(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function mx(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 hx=typeof window<"u"?u.useLayoutEffect:u.useEffect,zl=new WeakMap;function px(e,t){var r=mx(null,function(n){return e.forEach(function(o){return cs(o,n)})});return hx(function(){var n=zl.get(r);if(n){var o=new Set(n),s=new Set(e),i=r.current;o.forEach(function(a){s.has(a)||cs(a,null)}),s.forEach(function(a){o.has(a)||cs(a,i)})}zl.set(r,e)},[e]),r}function vx(e){return e}function gx(e,t){t===void 0&&(t=vx);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 bx(e){e===void 0&&(e={});var t=gx(null);return t.options=St({async:!0,ssr:!1},e),t}var kd=function(e){var t=e.sideCar,r=Nd(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))};kd.isSideCarExport=!0;function xx(e,t){return e.useMedium(t),kd}var qd=bx(),us=function(){},jo=u.forwardRef(function(e,t){var r=u.useRef(null),n=u.useState({onScrollCapture:us,onWheelCapture:us,onTouchMoveCapture:us}),o=n[0],s=n[1],i=e.forwardProps,a=e.children,l=e.className,d=e.removeScrollBar,f=e.enabled,m=e.shards,p=e.sideCar,v=e.noRelative,g=e.noIsolation,h=e.inert,y=e.allowPinchZoom,x=e.as,b=x===void 0?"div":x,w=e.gapMode,P=Nd(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=p,S=px([r,t]),N=St(St({},P),o);return u.createElement(u.Fragment,null,f&&u.createElement(C,{sideCar:qd,removeScrollBar:d,shards:m,noRelative:v,noIsolation:g,inert:h,setCallbacks:s,allowPinchZoom:!!y,lockRef:r,gapMode:w}),i?u.cloneElement(u.Children.only(a),St(St({},N),{ref:S})):u.createElement(b,St({},N,{className:l,ref:S}),a))});jo.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};jo.classNames={fullWidth:Xn,zeroRight:Yn};var yx=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function wx(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=yx();return t&&e.setAttribute("nonce",t),e}function Px(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 Sx=function(){var e=0,t=null;return{add:function(r){e==0&&(t=wx())&&(Px(t,r),Cx(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Nx=function(){var e=Sx();return function(t,r){u.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},jd=function(){var e=Nx(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},kx={left:0,top:0,right:0,gap:0},ds=function(e){return parseInt(e||"",10)||0},qx=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[ds(r),ds(n),ds(o)]},jx=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return kx;var t=qx(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])}},Ex=jd(),jr="data-scroll-locked",Rx=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(dx,` {
|
|
3
3
|
overflow: hidden `).concat(n,`;
|
|
4
4
|
padding-right: `).concat(a,"px ").concat(n,`;
|
|
5
5
|
}
|
|
6
|
-
body[`).concat(
|
|
6
|
+
body[`).concat(jr,`] {
|
|
7
7
|
overflow: hidden `).concat(n,`;
|
|
8
8
|
overscroll-behavior: contain;
|
|
9
9
|
`).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&`
|
|
@@ -16,33 +16,33 @@
|
|
|
16
16
|
`),r==="padding"&&"padding-right: ".concat(a,"px ").concat(n,";")].filter(Boolean).join(""),`
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
.`).concat(
|
|
19
|
+
.`).concat(Yn,` {
|
|
20
20
|
right: `).concat(a,"px ").concat(n,`;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.`).concat(
|
|
23
|
+
.`).concat(Xn,` {
|
|
24
24
|
margin-right: `).concat(a,"px ").concat(n,`;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.`).concat(
|
|
27
|
+
.`).concat(Yn," .").concat(Yn,` {
|
|
28
28
|
right: 0 `).concat(n,`;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.`).concat(
|
|
31
|
+
.`).concat(Xn," .").concat(Xn,` {
|
|
32
32
|
margin-right: 0 `).concat(n,`;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
body[`).concat(
|
|
36
|
-
`).concat(
|
|
35
|
+
body[`).concat(jr,`] {
|
|
36
|
+
`).concat(fx,": ").concat(a,`px;
|
|
37
37
|
}
|
|
38
|
-
`)},
|
|
38
|
+
`)},Hl=function(){var e=parseInt(document.body.getAttribute(jr)||"0",10);return isFinite(e)?e:0},Ax=function(){u.useEffect(function(){return document.body.setAttribute(jr,(Hl()+1).toString()),function(){var e=Hl()-1;e<=0?document.body.removeAttribute(jr):document.body.setAttribute(jr,e.toString())}},[])},Ix=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n;Ax();var s=u.useMemo(function(){return jx(o)},[o]);return u.createElement(Ex,{styles:Rx(s,!t,o,r?"":"!important")})},ii=!1;if(typeof window<"u")try{var _n=Object.defineProperty({},"passive",{get:function(){return ii=!0,!0}});window.addEventListener("test",_n,_n),window.removeEventListener("test",_n,_n)}catch{ii=!1}var Pr=ii?{passive:!1}:!1,Tx=function(e){return e.tagName==="TEXTAREA"},Ed=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!Tx(e)&&r[t]==="visible")},_x=function(e){return Ed(e,"overflowY")},Ox=function(e){return Ed(e,"overflowX")},Ul=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var o=Rd(e,n);if(o){var s=Ad(e,n),i=s[1],a=s[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},Mx=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},Lx=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},Rd=function(e,t){return e==="v"?_x(t):Ox(t)},Ad=function(e,t){return e==="v"?Mx(t):Lx(t)},Dx=function(e,t){return e==="h"&&t==="rtl"?-1:1},Fx=function(e,t,r,n,o){var s=Dx(e,window.getComputedStyle(t).direction),i=s*n,a=r.target,l=t.contains(a),d=!1,f=i>0,m=0,p=0;do{if(!a)break;var v=Ad(e,a),g=v[0],h=v[1],y=v[2],x=h-y-s*g;(g||x)&&Rd(e,a)&&(m+=x,p+=g);var b=a.parentNode;a=b&&b.nodeType===Node.DOCUMENT_FRAGMENT_NODE?b.host:b}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(f&&Math.abs(m)<1||!f&&Math.abs(p)<1)&&(d=!0),d},On=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Wl=function(e){return[e.deltaX,e.deltaY]},Kl=function(e){return e&&"current"in e?e.current:e},Bx=function(e,t){return e[0]===t[0]&&e[1]===t[1]},$x=function(e){return`
|
|
39
39
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
40
40
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
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
|
|
43
|
-
Make sure your charset is UTF-8`);s=(s>>>8&255)*192+(s&255),n.put(s,13)}},
|
|
44
|
-
Suggested mode is: `+t.toString(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(
|
|
41
|
+
`)},Vx=0,Cr=[];function zx(e){var t=u.useRef([]),r=u.useRef([0,0]),n=u.useRef(),o=u.useState(Vx++)[0],s=u.useState(jd)[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 h=ux([e.lockRef.current],(e.shards||[]).map(Kl),!0).filter(Boolean);return h.forEach(function(y){return y.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),h.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=u.useCallback(function(h,y){if("touches"in h&&h.touches.length===2||h.type==="wheel"&&h.ctrlKey)return!i.current.allowPinchZoom;var x=On(h),b=r.current,w="deltaX"in h?h.deltaX:b[0]-x[0],P="deltaY"in h?h.deltaY:b[1]-x[1],C,S=h.target,N=Math.abs(w)>Math.abs(P)?"h":"v";if("touches"in h&&N==="h"&&S.type==="range")return!1;var k=window.getSelection(),q=k&&k.anchorNode,A=q?q===S||q.contains(S):!1;if(A)return!1;var j=Ul(N,S);if(!j)return!0;if(j?C=N:(C=N==="v"?"h":"v",j=Ul(N,S)),!j)return!1;if(!n.current&&"changedTouches"in h&&(w||P)&&(n.current=C),!C)return!0;var E=n.current||C;return Fx(E,y,h,E==="h"?w:P)},[]),l=u.useCallback(function(h){var y=h;if(!(!Cr.length||Cr[Cr.length-1]!==s)){var x="deltaY"in y?Wl(y):On(y),b=t.current.filter(function(C){return C.name===y.type&&(C.target===y.target||y.target===C.shadowParent)&&Bx(C.delta,x)})[0];if(b&&b.should){y.cancelable&&y.preventDefault();return}if(!b){var w=(i.current.shards||[]).map(Kl).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(h,y,x,b){var w={name:h,delta:y,target:x,should:b,shadowParent:Hx(x)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(P){return P!==w})},1)},[]),f=u.useCallback(function(h){r.current=On(h),n.current=void 0},[]),m=u.useCallback(function(h){d(h.type,Wl(h),h.target,a(h,e.lockRef.current))},[]),p=u.useCallback(function(h){d(h.type,On(h),h.target,a(h,e.lockRef.current))},[]);u.useEffect(function(){return Cr.push(s),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:p}),document.addEventListener("wheel",l,Pr),document.addEventListener("touchmove",l,Pr),document.addEventListener("touchstart",f,Pr),function(){Cr=Cr.filter(function(h){return h!==s}),document.removeEventListener("wheel",l,Pr),document.removeEventListener("touchmove",l,Pr),document.removeEventListener("touchstart",f,Pr)}},[]);var v=e.removeScrollBar,g=e.inert;return u.createElement(u.Fragment,null,g?u.createElement(s,{styles:$x(o)}):null,v?u.createElement(Ix,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Hx(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Ux=xx(qd,zx);var ea=u.forwardRef(function(e,t){return u.createElement(jo,St({},e,{ref:t,sideCar:Ux}))});ea.classNames=jo.classNames;var Eo="Popover",[Id]=xt(Eo,[Dr]),gn=Dr(),[Wx,Zt]=Id(Eo),Td=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:s,modal:i=!1}=e,a=gn(t),l=u.useRef(null),[d,f]=u.useState(!1),[m,p]=_t({prop:n,defaultProp:o??!1,onChange:s,caller:Eo});return c.jsx(Ji,{...a,children:c.jsx(Wx,{scope:t,contentId:vr(),triggerRef:l,open:m,onOpenChange:p,onOpenToggle:u.useCallback(()=>p(v=>!v),[p]),hasCustomAnchor:d,onCustomAnchorAdd:u.useCallback(()=>f(!0),[]),onCustomAnchorRemove:u.useCallback(()=>f(!1),[]),modal:i,children:r})})};Td.displayName=Eo;var _d="PopoverAnchor",Od=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Zt(_d,r),s=gn(r),{onCustomAnchorAdd:i,onCustomAnchorRemove:a}=o;return u.useEffect(()=>(i(),()=>a()),[i,a]),c.jsx(ko,{...s,...n,ref:t})});Od.displayName=_d;var Md="PopoverTrigger",Ld=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Zt(Md,r),s=gn(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":zd(o.open),...n,ref:i,onClick:pe(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?a:c.jsx(ko,{asChild:!0,...s,children:a})});Ld.displayName=Md;var ta="PopoverPortal",[Kx,Gx]=Id(ta,{forceMount:void 0}),Dd=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,s=Zt(ta,t);return c.jsx(Kx,{scope:t,forceMount:r,children:c.jsx(Qt,{present:r||s.open,children:c.jsx(qo,{asChild:!0,container:o,children:n})})})};Dd.displayName=ta;var Ar="PopoverContent",Fd=u.forwardRef((e,t)=>{const r=Gx(Ar,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,s=Zt(Ar,e.__scopePopover);return c.jsx(Qt,{present:n||s.open,children:s.modal?c.jsx(Xx,{...o,ref:t}):c.jsx(Jx,{...o,ref:t})})});Fd.displayName=Ar;var Yx=sn("PopoverContent.RemoveScroll"),Xx=u.forwardRef((e,t)=>{const r=Zt(Ar,e.__scopePopover),n=u.useRef(null),o=Re(t,n),s=u.useRef(!1);return u.useEffect(()=>{const i=n.current;if(i)return Sd(i)},[]),c.jsx(ea,{as:Yx,allowPinchZoom:!0,children:c.jsx(Bd,{...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})})})}),Jx=u.forwardRef((e,t)=>{const r=Zt(Ar,e.__scopePopover),n=u.useRef(!1),o=u.useRef(!1);return c.jsx(Bd,{...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()}})}),Bd=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,p=Zt(Ar,r),v=gn(r);return ed(),c.jsx(Vi,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:s,children:c.jsx(yo,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:f,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:d,onDismiss:()=>p.onOpenChange(!1),children:c.jsx(Qi,{"data-state":zd(p.open),role:"dialog",id:p.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)"}})})})}),$d="PopoverClose",Vd=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Zt($d,r);return c.jsx(ye.button,{type:"button",...n,ref:t,onClick:pe(e.onClick,()=>o.onOpenChange(!1))})});Vd.displayName=$d;var Qx="PopoverArrow",Zx=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=gn(r);return c.jsx(Zi,{...o,...n,ref:t})});Zx.displayName=Qx;function zd(e){return e?"open":"closed"}var ey=Td,ty=Od,ai=Ld,ry=Dd,ny=Fd,li=Vd;function oy(e){if(e!==void 0)return{width:typeof e=="number"?`${e}px`:e}}function Hd(e){const t=se();return ee(e,t)}const Ud=ey,ra=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}=Hd(a),p=R(f,s,i),v=D(l,m);return r?c.jsx(ai,{asChild:!0,...d,children:c.jsx(n,{ref:t,className:R("inline-flex w-fit",p),style:v,children:o})}):c.jsx(ai,{ref:t,className:p,style:v,...d,children:o})});ra.displayName=ai.displayName;const sy=ty,Wd=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}=Hd(a),p=R(f,s,i),v=D(l,m);return r?c.jsx(li,{asChild:!0,...d,children:c.jsx(n,{ref:t,className:R("inline-flex w-fit",p),style:v,children:o})}):c.jsx(li,{ref:t,className:p,style:v,...d,children:o})});Wd.displayName=li.displayName;const na=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,p=se(),{roundedPreset:v,roundedStyle:g}=hr(s),{shadowPreset:h,shadowStyle:y}=mn(i),{sxClassName:x,sxInlineStyle:b}=ee(a,p);return c.jsx(ry,{children:c.jsx(ny,{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],h&&_r[h],x,d,f),style:D(l,oy(o),g,y,b),...m})})});na.displayName="PopoverContent";var Kd=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"}),iy="VisuallyHidden",Gd=u.forwardRef((e,t)=>c.jsx(ye.span,{...e,ref:t,style:{...Kd,...e.style}}));Gd.displayName=iy;var ay=Gd,[Ro]=xt("Tooltip",[Dr]),Ao=Dr(),Yd="TooltipProvider",ly=700,ci="tooltip.open",[cy,oa]=Ro(Yd),Xd=e=>{const{__scopeTooltip:t,delayDuration:r=ly,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(cy,{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})};Xd.displayName=Yd;var ln="Tooltip",[uy,bn]=Ro(ln),Jd=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o,onOpenChange:s,disableHoverableContent:i,delayDuration:a}=e,l=oa(ln,e.__scopeTooltip),d=Ao(t),[f,m]=u.useState(null),p=vr(),v=u.useRef(0),g=i??l.disableHoverableContent,h=a??l.delayDuration,y=u.useRef(!1),[x,b]=_t({prop:n,defaultProp:o??!1,onChange:N=>{N?(l.onOpen(),document.dispatchEvent(new CustomEvent(ci))):l.onClose(),s?.(N)},caller:ln}),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,b(!0)},[b]),C=u.useCallback(()=>{window.clearTimeout(v.current),v.current=0,b(!1)},[b]),S=u.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>{y.current=!0,b(!0),v.current=0},h)},[h,b]);return u.useEffect(()=>()=>{v.current&&(window.clearTimeout(v.current),v.current=0)},[]),c.jsx(Ji,{...d,children:c.jsx(uy,{scope:t,contentId:p,open:x,stateAttribute:w,trigger:f,onTriggerChange:m,onTriggerEnter:u.useCallback(()=>{l.isOpenDelayedRef.current?S():P()},[l.isOpenDelayedRef,S,P]),onTriggerLeave:u.useCallback(()=>{g?C():(window.clearTimeout(v.current),v.current=0)},[C,g]),onOpen:P,onClose:C,disableHoverableContent:g,children:r})})};Jd.displayName=ln;var ui="TooltipTrigger",Qd=u.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=bn(ui,r),s=oa(ui,r),i=Ao(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(ko,{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,p=>{p.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)})})});Qd.displayName=ui;var sa="TooltipPortal",[dy,fy]=Ro(sa,{forceMount:void 0}),Zd=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:o}=e,s=bn(sa,t);return c.jsx(dy,{scope:t,forceMount:r,children:c.jsx(Qt,{present:r||s.open,children:c.jsx(qo,{asChild:!0,container:o,children:n})})})};Zd.displayName=sa;var Ir="TooltipContent",ef=u.forwardRef((e,t)=>{const r=fy(Ir,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...s}=e,i=bn(Ir,e.__scopeTooltip);return c.jsx(Qt,{present:n||i.open,children:i.disableHoverableContent?c.jsx(tf,{side:o,...s,ref:t}):c.jsx(my,{side:o,...s,ref:t})})}),my=u.forwardRef((e,t)=>{const r=bn(Ir,e.__scopeTooltip),n=oa(Ir,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,p=u.useCallback(()=>{a(null),m(!1)},[m]),v=u.useCallback((g,h)=>{const y=g.currentTarget,x={x:g.clientX,y:g.clientY},b=gy(x,y.getBoundingClientRect()),w=by(x,b),P=xy(h.getBoundingClientRect()),C=wy([...w,...P]);a(C),m(!0)},[m]);return u.useEffect(()=>()=>p(),[p]),u.useEffect(()=>{if(l&&f){const g=y=>v(y,f),h=y=>v(y,l);return l.addEventListener("pointerleave",g),f.addEventListener("pointerleave",h),()=>{l.removeEventListener("pointerleave",g),f.removeEventListener("pointerleave",h)}}},[l,f,v,p]),u.useEffect(()=>{if(i){const g=h=>{const y=h.target,x={x:h.clientX,y:h.clientY},b=l?.contains(y)||f?.contains(y),w=!yy(x,i);b?p():w&&(p(),d())};return document.addEventListener("pointermove",g),()=>document.removeEventListener("pointermove",g)}},[l,f,i,d,p]),c.jsx(tf,{...e,ref:s})}),[hy,py]=Ro(ln,{isInside:!1}),vy=xg("TooltipContent"),tf=u.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:i,...a}=e,l=bn(Ir,r),d=Ao(r),{onClose:f}=l;return u.useEffect(()=>(document.addEventListener(ci,f),()=>document.removeEventListener(ci,f)),[f]),u.useEffect(()=>{if(l.trigger){const m=p=>{p.target?.contains(l.trigger)&&f()};return window.addEventListener("scroll",m,{capture:!0}),()=>window.removeEventListener("scroll",m,{capture:!0})}},[l.trigger,f]),c.jsx(yo,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:m=>m.preventDefault(),onDismiss:f,children:c.jsxs(Qi,{"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(vy,{children:n}),c.jsx(hy,{scope:r,isInside:!0,children:c.jsx(ay,{id:l.contentId,role:"tooltip",children:o||n})})]})})});ef.displayName=Ir;var rf="TooltipArrow",nf=u.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=Ao(r);return py(rf,r).isInside?null:c.jsx(Zi,{...o,...n,ref:t})});nf.displayName=rf;function gy(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 by(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 xy(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 yy(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,p=l.y;f>n!=p>n&&r<(m-d)*(n-f)/(p-f)+d&&(o=!o)}return o}function wy(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),Py(t)}function Py(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=Xd,Sy=Jd,di=Qd,Ny=Zd,of=ef,sf=nf;const ky={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"},qy={dark:"fill-gray-950",light:"fill-white",primary:"fill-blue-600"},jy=({delayDuration:e=0,...t})=>c.jsx(Cy,{delayDuration:e,...t}),Ey=Sy,Ry=Ny,af=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:m,sxInlineStyle:p}=ee(a,f),v=R(m,s,i),g=D(l,p);return r?c.jsx(di,{asChild:!0,...d,children:c.jsx(n,{ref:t,className:R("inline-flex w-fit",v),style:g,children:o})}):c.jsx(di,{ref:t,className:v,style:g,...d,children:o})});af.displayName=di.displayName;const ia=u.forwardRef((e,t)=>{const{tone:r="dark",className:n,class:o,sx:s,style:i,...a}=e,l=se(),{sxClassName:d,sxInlineStyle:f}=ee(s,l);return c.jsx(sf,{ref:t,className:R(qy[r],d,n,o),style:D(i,f),...a})});ia.displayName=sf.displayName;const lf=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=se(),{sxClassName:p,sxInlineStyle:v}=ee(a,m);return c.jsxs(of,{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",ky[r],p,s,i),style:D(l,v),...f,children:[d,n?c.jsx(ia,{tone:r}):null]})});lf.displayName=of.displayName;let cf=null;function Gl(e){cf=e}function Ay(){return cf}const Xr={placement:"rightTop",duration:4500,closable:!0,offset:24},Ze={...Xr};let Yl=!1;function fi(e){return{...e,placement:e.placement??Ze.placement,duration:e.duration??Ze.duration,closable:e.closable??Ze.closable,offset:e.offset??Ze.offset}}function Jn(){const e=Ay();return e||(Yl||(Yl=!0,console.warn("notification 调用失败:请先在应用根节点挂载 NotificationProvider。")),null)}function Iy(e,t){return typeof t=="string"?{...fi({message:t}),type:e}:{...fi(t),type:e}}function Mn(e,t){const r=Jn();return r?r.push(Iy(e,t)):""}const Ty={open(e){const t=Jn();return t?t.push(fi(e)):""},info(e){return Mn("info",e)},success(e){return Mn("success",e)},warn(e){return Mn("warn",e)},error(e){return Mn("error",e)},dismiss(e){const t=Jn();t&&t.dismiss(e)},clear(){const e=Jn();e&&e.clear()},config(e){Ze.placement=e.placement??Ze.placement,Ze.duration=e.duration??Ze.duration,Ze.closable=e.closable??Ze.closable,Ze.offset=e.offset??Ze.offset},resetConfig(){Ze.placement=Xr.placement,Ze.duration=Xr.duration,Ze.closable=Xr.closable,Ze.offset=Xr.offset}},_y=200,Nr=24,uf={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"}},df=u.createContext(null);let Xl=0;function Oy(){return Xl+=1,`ldkj-notification-${Date.now()}-${Xl}`}function My(e,t){const r=t??Nr,n=typeof r=="number"?{top:r,right:r,bottom:r,left:r}:{top:r.top??Nr,right:r.right??Nr,bottom:r.bottom??Nr,left:r.left??Nr};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 mi(e,t){return`${e}:${t.top}:${t.right}:${t.bottom}:${t.left}`}function Ly(e){const t=new Map;for(const r of e){const n=mi(r.placement,r.offset),o=t.get(n);o?o.push(r):t.set(n,[r])}return t}function fs(e){return e!=null&&e!==!1}function Dy(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 Fy(e){const t=uf[e.type],r=e.iconColor??t.iconColor;return typeof e.icon=="string"?c.jsx($e,{name:e.icon,color:r,size:22,className:"ldkj-notification-icon",title:`${e.type} icon`}):e.icon?.svg||e.icon?.src?c.jsx($e,{svg:e.icon.svg,src:e.icon.src,color:r,size:22,className:"ldkj-notification-icon",title:`${e.type} icon`}):c.jsx($e,{name:t.icon,color:r,size:22,className:"ldkj-notification-icon",title:`${e.type} icon`})}function ff(e){const{children:t,placement:r="rightTop",duration:n=4500,queueLimit:o=5,offset:s=Nr,closable:i=!0}=e,[a,l]=u.useState([]),d=u.useRef(new Map),f=u.useRef(new Map),m=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))},[]),v=u.useCallback(C=>{m.current.has(C.id)||(m.current.add(C.id),C.onClose?.())},[]),g=u.useCallback(C=>{l(S=>{const N=S.find(k=>k.id===C);return N?(p(C),v(N),S.filter(k=>k.id!==C)):S})},[p,v]),h=u.useCallback(C=>{p(C),l(N=>N.map(k=>k.id===C&&!k.leaving?{...k,leaving:!0}:k));const S=window.setTimeout(()=>{g(C)},_y);f.current.set(C,S)},[p,g]),y=u.useCallback(()=>{l(C=>(C.forEach(S=>{p(S.id),v(S)}),[]))},[p,v]),x=u.useCallback(C=>{const S=C.id??Oy();m.current.delete(S),p(S);const N=C.placement??r,k=My(C.offset,s),q={id:S,type:C.type??"info",message:C.message,description:C.description,content:C.content,actions:C.actions,placement:N,offset:k,closable:C.closable??i,icon:C.icon,iconColor:C.iconColor,onClose:C.onClose,leaving:!1},A=mi(N,k);l(E=>{const _=[...E.filter(M=>M.id!==S),q],O=_.filter(M=>mi(M.placement,M.offset)===A);if(O.length<=o)return _;const T=O.length-o,$=new Set(O.slice(0,T).map(M=>M.id));return O.slice(0,T).forEach(M=>{p(M.id),v(M)}),_.filter(M=>!$.has(M.id))});const j=C.duration??n;if(j>0){const E=window.setTimeout(()=>{h(S)},j);d.current.set(S,E)}return S},[p,i,h,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 b=u.useMemo(()=>({push:x,dismiss:h,clear:y}),[y,h,x]);u.useEffect(()=>(Gl(b),()=>Gl(null)),[b]);const w=u.useMemo(()=>Ly(a),[a]),P=Array.from(w.entries());return c.jsxs(df.Provider,{value:b,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:Dy(N.placement,N.offset),"aria-hidden":S.length===0,children:S.map(k=>{const q=uf[k.type];return c.jsxs("div",{className:R("ldkj-notification-card",`ldkj-notification-card-${k.type}`,k.leaving?"ldkj-notification-leave":"ldkj-notification-appear"),role:q.role,"aria-live":q.live,"aria-atomic":"true",children:[c.jsx("div",{className:"ldkj-notification-icon-wrap",children:Fy(k)}),c.jsxs("div",{className:"ldkj-notification-main",children:[c.jsx("div",{className:"ldkj-notification-title",children:k.message}),fs(k.description)?c.jsx("div",{className:"ldkj-notification-description",children:k.description}):null,fs(k.content)?c.jsx("div",{className:"ldkj-notification-content",children:k.content}):null,fs(k.actions)?c.jsx("div",{className:"ldkj-notification-actions",children:k.actions}):null]}),k.closable?c.jsx("button",{type:"button",className:"ldkj-notification-close","aria-label":"关闭通知",onClick:()=>h(k.id),children:c.jsx($e,{name:"close",size:16,className:"ldkj-notification-close-icon"})}):null]},k.id)})},C):null})]})}ff.displayName="NotificationProvider";function By(){const e=u.useContext(df);if(!e)throw new Error("useNotification 必须在 NotificationProvider 内使用。");const t=u.useCallback(i=>e.push(i),[e]),r=u.useCallback(i=>e.push(Ln("info",i)),[e]),n=u.useCallback(i=>e.push(Ln("success",i)),[e]),o=u.useCallback(i=>e.push(Ln("warn",i)),[e]),s=u.useCallback(i=>e.push(Ln("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 Ln(e,t){return typeof t=="string"?{type:e,message:t}:{...t,type:e}}const $y={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 mf(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",$y[n],i,a),style:{width:t,height:t,borderWidth:r,...l},...d,children:c.jsx("span",{className:"sr-only",children:o})}):null}function Vy(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 zy(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=Vy(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(mf,{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:R(r==="block"&&"flex w-full justify-center"),children:p}):null}let Hr=0,Jl="";function Hy(){return typeof document>"u"?()=>{}:(Hr===0&&(Jl=document.body.style.overflow,document.body.style.overflow="hidden"),Hr+=1,()=>{Hr=Math.max(0,Hr-1),Hr===0&&(document.body.style.overflow=Jl)})}function Uy(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 Wy(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:p,animated:v=!0,animationDuration:g=220,lockScroll:h=!0,maskClosable:y=!0,closeOnEsc:x=!0,destroyOnClose:b=!0,role:w="dialog",...P}=e,[C,S]=u.useState(t),[N,k]=u.useState(t),q=u.useRef(null),A=Uy(s),j=s==="left"||s==="right";return u.useEffect(()=>{if(t){S(!0);const I=window.requestAnimationFrame(()=>k(!0));return()=>window.cancelAnimationFrame(I)}if(k(!1),!v){b&&S(!1);return}const E=window.setTimeout(()=>{b&&S(!1)},g);return()=>window.clearTimeout(E)},[v,g,b,t]),u.useEffect(()=>{if(!(!t||!h))return Hy()},[h,t]),u.useEffect(()=>{if(!t||!x)return;const E=I=>{I.key==="Escape"&&p?.(!1)};return window.addEventListener("keydown",E),()=>window.removeEventListener("keydown",E)},[x,p,t]),u.useEffect(()=>{t&&q.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?`${g}ms`:"0ms"},onClick:()=>{y&&p?.(!1)}}),c.jsxs("div",{ref:q,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:j?n:void 0,height:j?void 0:o,transitionDuration:v?`${g}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: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 Ky={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"},Gy={info:"bg-blue-600 text-white",success:"bg-emerald-600 text-white",warning:"bg-amber-500 text-white",error:"bg-rose-600 text-white"},Yy={info:"i",success:"ok",warning:"!",error:"!"};function Xy(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:p,onOpenChange:v,role:g=n==="error"||n==="warning"?"alert":"status",...h}=e,[y,x]=u.useState(!0);if(!(m??y))return null;const w=()=>{x(!1),v?.(!1),p?.()};return c.jsx("div",{role:g,className:R("rounded-md border p-3",Ky[n],t,r),...h,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",Gy[n]),children:a??Yy[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 Jy={normal:"#2563eb",success:"#059669",warning:"#d97706",exception:"#e11d48"},Qy={xs:48,sm:64,md:96,lg:120,xl:144},Zy={xs:4,sm:6,md:8,lg:10,xl:12};function e0(e,t){return!Number.isFinite(e)||!Number.isFinite(t)||t<=0?0:Math.max(0,Math.min(100,e/t*100))}function t0(e,t){return typeof e=="number"?e:t==="circle"?Qy[e]:Zy[e]}function hf(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:p,...v}=e,g=e0(t,r),h=s??(g>=100?"success":"normal"),y=l??Jy[h],x=f?f(Math.round(g),t,r):`${Math.round(g)}%`,b=t0(i,o),w=a??(o==="circle"?8:b);if(o==="circle"){const P=Math.max(1,Math.min(48,w)),C=50-P/2,S=2*Math.PI*C,N=S*(1-g/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,p),style:{width:b,height:b},...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,p),...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:`${g}%`,backgroundColor:y}})}),n?c.jsx("div",{className:"mt-1 text-xs text-slate-500",children:x}):null]})}function Io(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 To="Checkbox",[r0]=xt(To),[n0,aa]=r0(To);function o0(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,[p,v]=_t({prop:r,defaultProp:o??!1,onChange:l,caller:To}),[g,h]=u.useState(null),[y,x]=u.useState(null),b=u.useRef(!1),w=g?!!i||!!g.closest("form"):!0,P={checked:p,disabled:s,setChecked:v,control:g,setControl:h,name:a,form:i,value:f,hasConsumerStoppedPropagationRef:b,required:d,defaultChecked:Wt(o)?!1:o,isFormControl:w,bubbleInput:y,setBubbleInput:x};return c.jsx(n0,{scope:t,...P,children:s0(m)?m(P):n})}var pf="CheckboxTrigger",vf=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:p,isFormControl:v,bubbleInput:g}=aa(pf,e),h=Re(o,f),y=u.useRef(l);return u.useEffect(()=>{const x=s?.form;if(x){const b=()=>m(y.current);return x.addEventListener("reset",b),()=>x.removeEventListener("reset",b)}},[s,m]),c.jsx(ye.button,{type:"button",role:"checkbox","aria-checked":Wt(l)?"mixed":l,"aria-required":d,"data-state":Pf(l),"data-disabled":a?"":void 0,disabled:a,value:i,...n,ref:h,onKeyDown:pe(t,x=>{x.key==="Enter"&&x.preventDefault()}),onClick:pe(r,x=>{m(b=>Wt(b)?!0:!b),g&&v&&(p.current=x.isPropagationStopped(),p.current||x.stopPropagation())})})});vf.displayName=pf;var gf=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(o0,{__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(vf,{...m,ref:t,__scopeCheckbox:r}),p&&c.jsx(wf,{__scopeCheckbox:r})]})})});gf.displayName=To;var bf="CheckboxIndicator",xf=u.forwardRef((e,t)=>{const{__scopeCheckbox:r,forceMount:n,...o}=e,s=aa(bf,r);return c.jsx(Qt,{present:n||Wt(s.checked)||s.checked===!0,children:c.jsx(ye.span,{"data-state":Pf(s.checked),"data-disabled":s.disabled?"":void 0,...o,ref:t,style:{pointerEvents:"none",...e.style}})})});xf.displayName=bf;var yf="CheckboxBubbleInput",wf=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:p,setBubbleInput:v}=aa(yf,e),g=Re(r,v),h=Io(s),y=No(n);u.useEffect(()=>{const b=p;if(!b)return;const w=window.HTMLInputElement.prototype,C=Object.getOwnPropertyDescriptor(w,"checked").set,S=!o.current;if(h!==s&&C){const N=new Event("click",{bubbles:S});b.indeterminate=Wt(s),C.call(b,Wt(s)?!1:s),b.dispatchEvent(N)}},[p,h,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:g,style:{...t.style,...y,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});wf.displayName=yf;function s0(e){return typeof e=="function"}function Wt(e){return e==="indeterminate"}function Pf(e){return Wt(e)?"indeterminate":e?"checked":"unchecked"}const Cf=u.createContext(null);function i0(e){return u.createElement(Cf.Provider,{value:e.value},e.children)}function a0(){return u.useContext(Cf)}const l0=()=>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"})}),c0=()=>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"})}),xn=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,...p}=e,v=se(),{sxClassName:g,sxInlineStyle:h}=ee(o,v),y=a0(),x=typeof m=="string"?m:void 0,b=!!(y&&x!==void 0),w=a??(b?y?.selectedValues.has(x):void 0),P=l||(b?y?.disabled:!1),C=d??(b?y?.name:void 0);return c.jsx(gf,{ref:t,checked:w,disabled:P,name:C,onCheckedChange:S=>{f?.(S),b&&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",g,r,n),style:D(s,h),...p,children:i??c.jsxs(xf,{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(l0,{}),c.jsx(c0,{})]})})});xn.displayName="Checkbox";var u0=Symbol.for("react.lazy"),lo=u[" use ".trim().toString()];function d0(e){return typeof e=="object"&&e!==null&&"then"in e}function Sf(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===u0&&"_payload"in e&&d0(e._payload)}function f0(e){const t=m0(e),r=u.forwardRef((n,o)=>{let{children:s,...i}=n;Sf(s)&&typeof lo=="function"&&(s=lo(s._payload));const a=u.Children.toArray(s),l=a.find(p0);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 m0(e){const t=u.forwardRef((r,n)=>{let{children:o,...s}=r;if(Sf(o)&&typeof lo=="function"&&(o=lo(o._payload)),u.isValidElement(o)){const i=g0(o),a=v0(s,o.props);return o.type!==u.Fragment&&(a.ref=n?$i(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 h0=Symbol("radix.slottable");function p0(e){return u.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===h0}function v0(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 g0(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 b0=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],_o=b0.reduce((e,t)=>{const r=f0(`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}},{}),x0="Label",Nf=u.forwardRef((e,t)=>c.jsx(_o.label,{...e,ref:t,onMouseDown:r=>{r.target.closest("button, input, select, textarea")||(e.onMouseDown?.(r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));Nf.displayName=x0;var hi=Nf;function y0(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function w0(e){return e==="center"?"center":e==="right"?"flex-end":"flex-start"}const Oo=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:p,position:v="left",required:g=!1,sx:h,style:y,...x}=e,b=se(),{sxClassName:w,sxInlineStyle:P}=ee(h,b),{sxClassName:C,sxInlineStyle:S}=ee(d,b),N=D({width:y0(p),justifyContent:w0(m)},y,P),k=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(hi,{ref:t,className:k,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(hi,{ref:t,className:k,style:N,...x,children:[g?c.jsx("span",{className:"text-red-500 font-serif",children:"*"}):null,c.jsx("span",{children:f}),s===!0?":":s??null]}),r]})});Oo.displayName="Label";const Ql={xs:"gap-1",sm:"gap-2",md:"gap-3",lg:"gap-4"};function P0(e){return e===void 0?{className:Ql.md}:e==="xs"||e==="sm"||e==="md"||e==="lg"?{className:Ql[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 S0(e){return e.type==="single"?e.defaultValue===void 0?[]:[e.defaultValue]:e.defaultValue??[]}function kf(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:p,defaultValue:v,onChange:g,...h}=e,y=se(),{sxClassName:x,sxInlineStyle:b}=ee(d,y),w=P0(i),[P,C]=u.useState(()=>S0(e)),S=C0(e,P),N=new Set(S);function k(j){if(e.value===void 0&&C(j),e.type==="single"){e.onChange?.(j[0]);return}e.onChange?.(j)}function q(j,E){if(e.type==="single"){k(E?[j]:[]);return}const I=new Set(S);E?I.add(j):I.delete(j),k(Array.from(I))}const A=u.useMemo(()=>({disabled:s,name:a,selectedValues:N,toggleValue:q}),[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,b),...h,children:c.jsxs(i0,{value:A,children:[l?.map(j=>{const E=s||j.disabled,I=N.has(j.value);return c.jsxs(Oo,{className:R("inline-flex items-start gap-2 text-sm leading-5 text-slate-700",E&&"cursor-not-allowed text-slate-400",!E&&"cursor-pointer",j.className),children:[c.jsx(xn,{...j.checkboxProps,name:a,value:j.value,checked:I,disabled:E,onCheckedChange:_=>q(j.value,_===!0)}),c.jsxs("span",{className:"grid gap-0.5",children:[c.jsx("span",{children:j.label}),j.description?c.jsx("span",{className:"text-xs text-slate-500",children:j.description}):null]})]},j.value)}),n]})})}kf.displayName="CheckboxGroup";function Mo(e,t){const r=n=>c.jsx(c.Fragment,{children:n.children});return r.displayName=e,Object.defineProperty(r,"__ldkjInputSlot",{value:t}),r}const N0=Mo("Input.Prefix","prefix"),k0=Mo("Input.Suffix","suffix"),q0=Mo("Input.AddonBefore","addonBefore"),j0=Mo("Input.AddonAfter","addonAfter"),la=e=>c.jsx(c.Fragment,{children:e.children});la.displayName="Input.Addon";Object.defineProperty(la,"__ldkjInputSlot",{value:"addon"});function E0(e){if(!u.isValidElement(e))return;const r=e.type.__ldkjInputSlot;return r==="addon"?(e.props.position??"before")==="after"?"addonAfter":"addonBefore":r}function R0(e,t){const r={addonAfter:t.addonAfter,addonBefore:t.addonBefore,prefix:t.prefix,suffix:t.suffix};return u.Children.forEach(e,n=>{const o=E0(n);!o||!u.isValidElement(n)||(r[o]=n.props.children)}),r}function A0(e){return Object.values(e).some(t=>t!=null)}const qf=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",...p}=e,v=se(),{sxClassName:g,sxInlineStyle:h}=ee(d,v),y=R0(o,{addonAfter:r,addonBefore:n,prefix:a,suffix:l}),x=A0(y),b=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&&g,!x&&s,!x&&i),w=c.jsx("input",{ref:t,type:m,className:b,style:x?void 0:D(f,h),...p});if(!x)return w;const P=!!p.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",g,s,i),style:D(f,h),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]})});qf.displayName="Input";const ca=Object.assign(qf,{Addon:la,AddonAfter:j0,AddonBefore:q0,Prefix:N0,Suffix:k0});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 I0(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 T0(e,t){return Number.isFinite(t)?e.toFixed(Math.max(0,Math.floor(t??0))):String(e)}function _0(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=I0(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=T0(n,t.precision);return{value:n,valueAsString:o}}function cr(e){return e==null?"":String(e)}function ec(e){return!e.disabled&&!e.readOnly}function jf(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,p]=u.useState(()=>cr(r)),v=f?cr(d):m,g=u.useMemo(()=>lr(v),[v]),h=u.useCallback(w=>{f||p(w)},[f]),y=u.useCallback(w=>{const P=cr(w);h(P),s?.(lr(P),{reason:"set",valueAsString:P})},[s,h]),x=u.useCallback((w=v)=>{const P=cr(w),C=_0(P,{clampOnBlur:t,max:n,min:o,precision:a,step:l}),S=t?C.valueAsString:P,N=t?C.value:lr(P);return h(S),{value:N,valueAsString:S}},[t,n,o,a,l,h,v]),b=u.useCallback((w={})=>{const{disabled:P,onBlur:C,onChange:S,onKeyDown:N,readOnly:k,...q}=w;return{...q,disabled:P,inputMode:"decimal",max:n,min:o,readOnly:k,step:l,type:"number",value:v,onBlur:A=>{if(ec({disabled:P,readOnly:k})){const j=x(A.currentTarget.value);t&&(A.currentTarget.value=j.valueAsString,s?.(j.value,{event:A,reason:"commit",valueAsString:j.valueAsString})),i?.(j.value,{event:A,reason:"commit",valueAsString:j.valueAsString})}C?.(A)},onChange:A=>{S?.(A),h(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&&ec({disabled:P,readOnly:k})){const j=x(A.currentTarget.value);t&&(A.currentTarget.value=j.valueAsString,s?.(j.value,{event:A,reason:"commit",valueAsString:j.valueAsString})),i?.(j.value,{event:A,reason:"commit",valueAsString:j.valueAsString})}}}},[t,x,n,o,s,i,a,l,h,v]);return{commitValue:x,getInputProps:b,numberValue:g,setValue:y,value:v}}function O0(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 p=cr(m);s(p),a(lr(p))},[]),d=u.useCallback(m=>{s(m.currentTarget.value)},[]),f=u.useCallback((m,p)=>{a(m),p.reason==="commit"&&s(p.valueAsString),r?.(m,p)},[r]);return{inputProps:{...n,onChange:d,onValueChange:f,value:o},numberValue:i,setValue:l,value:o}}const Ef=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:p,readOnly:v,step:g,value:h,...y}=e,x=jf({clampOnBlur:r,defaultValue:n,max:s,min:i,onValueChange:f,onValueCommit:m,precision:p,step:g,value:h});return c.jsx(ca,{...y,...x.getInputProps({disabled:o,onBlur:a,onChange:l,onKeyDown:d,readOnly:v}),ref:t})});Ef.displayName="InputNumber";const M0={numeric:/^[0-9]$/,alphabetic:/^[A-Za-z]$/,alphanumeric:/^[A-Za-z0-9]$/},L0={numeric:"[0-9]*",alphabetic:"[A-Za-z]*",alphanumeric:"[A-Za-z0-9]*"},D0={sm:"h-8 w-8 text-sm",md:"h-10 w-10 text-base",lg:"h-12 w-12 text-lg"},F0={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 B0(e){return Number.isFinite(e)?Math.max(1,Math.floor(e??6)):6}function $0(e,t){const r=t?typeof t=="string"?new RegExp(t):t:M0[e];return n=>(r.lastIndex=0,r.test(n))}function V0(e,t,r){return Array.from(e).filter(r).slice(0,t).join("")}function z0(e,t){return typeof t=="string"?t:t instanceof RegExp?t.source:L0[e]}const Rf=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:p,type:v="numeric",pattern:g,pasteTransformer:h,mask:y=!1,placeholder:x="",autoFocus:b=!0,oneTimeCode:w=!0,size:P="md",variant:C="outline",invalid:S=!1,separator:N,style:k,sx:q,inputMode:A,autoComplete:j,onBlur:E,onFocus:I,onKeyDown:_,onPaste:O,"aria-label":T,...$}=e,M=se(),{sxClassName:W,sxInlineStyle:F}=ee(q,M),X=B0(o),de=u.useMemo(()=>$0(v,g),[g,v]),te=u.useCallback(re=>V0(re,X,de),[X,de]),Z=r!==void 0,[K,J]=u.useState(()=>te(n)),B=te(Z?r??"":K),G=u.useRef(null),H=u.useRef(B),U=u.useRef(null),[Y,Q]=u.useState(!1),le=Array.from(B),fe=Math.min(le.length,X-1),ve=Array.from(x)[0]??"",ge=typeof y=="string"?y:"•";u.useImperativeHandle(t,()=>G.current),u.useEffect(()=>{H.current=B},[B]),u.useEffect(()=>{Z||J(re=>te(re))},[Z,te]);const ie=u.useCallback(()=>{const re=G.current;if(!re)return;const me=re.value.length;try{re.setSelectionRange(me,me)}catch{}},[]),we=u.useCallback(re=>{const me=te(re),Se=H.current;H.current=me,Z||J(me),me!==Se&&m?.(me),me.length===X?U.current!==me&&(U.current=me,p?.(me)):U.current=null,window.requestAnimationFrame(ie)},[Z,ie,te,m,p,X]),qe=u.useCallback(()=>{s||(G.current?.focus(),window.requestAnimationFrame(ie))},[s,ie]);u.useEffect(()=>{if(!b||s)return;const re=G.current,me=re?.ownerDocument;!re||!me||me.activeElement!==me.body||(re.focus(),ie())},[b,s,ie]);const Me=re=>{we(re.target.value)},ne=re=>{Q(!0),I?.(re),window.requestAnimationFrame(ie)},Pe=re=>{Q(!1),E?.(re)},Ce=re=>{if(_?.(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(),ie())}},ue=re=>{if(O?.(re),re.defaultPrevented||i)return;re.preventDefault();const me=re.clipboardData.getData("text"),Se=h?h(me):me;we(`${H.current}${Se}`)},_e=re=>{s||(re.preventDefault(),qe())},he=re=>re>=X-1?null:typeof N=="function"?N(re):N;return c.jsx("div",{className:R("inline-flex flex-col gap-2",W,a,l),style:D(k,F),"data-disabled":s?"":void 0,"data-readonly":i?"":void 0,"data-complete":B.length===X?"":void 0,children:c.jsxs("div",{className:"relative inline-flex items-center gap-2",onMouseDown:_e,children:[c.jsx("input",{...$,ref:G,type:"text",value:B,disabled:s,readOnly:i,maxLength:X,inputMode:A??(v==="numeric"?"numeric":"text"),autoComplete:w?"one-time-code":j,pattern:z0(v,g),"aria-label":T??"一次性验证码","aria-invalid":S||$["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:X}).map((re,me)=>{const Se=le[me]??"",Te=Se.length>0,et=Y&&!s&&me===fe,Ke=Te?y?ge:Se:ve,ut=he(me);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",D0[P],F0[C],!Te&&"font-normal text-slate-400",et&&"border-blue-500 ring-2 ring-blue-500/30",S&&"border-red-500 text-red-600",et&&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":et?"":void 0,"data-filled":Te?"":void 0,children:Ke}),ut?c.jsx("span",{"aria-hidden":"true",className:"select-none text-sm text-slate-400",children:ut}):null]},me)})]})})});Rf.displayName="InputOPT";function tc(e){return e==null?"":String(e)}function H0(e){return typeof e=="string"||typeof e=="number"?String(e):""}function U0(e,t){const r=t.trim().toLowerCase();return r?[e.value,e.textValue,H0(e.label),...e.keywords??[]].filter(Boolean).join(" ").toLowerCase().includes(r):!0}function rc(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 W0(e,t){const r=window.HTMLInputElement.prototype;Object.getOwnPropertyDescriptor(r,"value")?.set?.call(e,t),e.dispatchEvent(new Event("input",{bubbles:!0}))}function K0(e,t){if(e){if(typeof e=="function"){e(t);return}e.current=t}}function G0(...e){return u.useCallback(t=>{for(const r of e)K0(r,t)},e)}const Af=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=U0,onBlur:p,onChange:v,onFocus:g,onKeyDown:h,onOptionSelect:y,onValueChange:x,openOnFocus:b=!0,optionClassName:w,optionStyle:P,optionSx:C,options:S=[],readOnly:N,renderOption:k,rootClassName:q,rootStyle:A,rootSx:j,value:E,...I}=e,_=se(),O=u.useRef(null),T=u.useRef(null),$=u.useRef(null),M=u.useId(),[W,F]=u.useState(()=>tc(s)),[X,de]=u.useState(!1),[te,Z]=u.useState(-1),K=E!==void 0,J=K?tc(E):W,B=!i&&!N,G=ee(j,_),H=ee(d,_),U=ee(C,_),Y=G0(O,t),Q=u.useMemo(()=>m===!1?S:S.filter(ne=>m(ne,J)),[m,J,S]),le=X&&B&&(Q.length>0||f!==null),fe=te>=0?Q[te]:void 0,ve=le&&fe?`${M}-option-${te}`:void 0;u.useEffect(()=>{if(!X)return;const ne=Pe=>{const Ce=Pe.target;Ce instanceof Node&&T.current&&!T.current.contains(Ce)&&(de(!1),Z(-1))};return document.addEventListener("pointerdown",ne),()=>{document.removeEventListener("pointerdown",ne)}},[X]),u.useEffect(()=>{te>=Q.length&&Z(-1)},[te,Q.length]);const ge=(ne,Pe)=>{ne.disabled||($.current=ne,K||F(ne.value),O.current&&W0(O.current,ne.value),de(!1),Z(-1),y?.(ne,Pe),O.current?.focus(),window.setTimeout(()=>{$.current===ne&&($.current=null)},0))},ie=ne=>{const Pe=ne.currentTarget.value,Ce=$.current;$.current=null,K||F(Pe),B&&de(!Ce),Z(-1),v?.(ne),x?.(Pe,{event:ne,option:Ce??void 0,reason:Ce?"select":"input"})},we=ne=>{B&&b&&de(!0),g?.(ne)},qe=ne=>{const Pe=ne.relatedTarget;if(Pe instanceof Node&&T.current?.contains(Pe)){p?.(ne);return}de(!1),Z(-1),p?.(ne)},Me=ne=>{if(!B){h?.(ne);return}ne.key==="ArrowDown"?(ne.preventDefault(),de(!0),Z(Pe=>rc(Q,Pe<0?-1:Pe,1))):ne.key==="ArrowUp"?(ne.preventDefault(),de(!0),Z(Pe=>rc(Q,Pe<0?Q.length:Pe,-1))):ne.key==="Enter"&&X&&fe?(ne.preventDefault(),ge(fe,ne)):(ne.key==="Escape"||ne.key==="Tab")&&(de(!1),Z(-1)),h?.(ne)};return c.jsxs("div",{ref:T,className:R("relative w-full",G.sxClassName,q),style:D(A,G.sxInlineStyle),children:[c.jsx(ca,{...I,ref:Y,autoComplete:r,class:n,className:o,disabled:i,readOnly:N,role:"combobox","aria-autocomplete":"list","aria-controls":le?M:void 0,"aria-expanded":le,"aria-activedescendant":ve,value:J,onBlur:qe,onChange:ie,onFocus:we,onKeyDown:Me}),le?c.jsx("div",{id:M,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:Q.length>0?Q.map((ne,Pe)=>{const Ce=te===Pe,ue=ne.value===J,_e=!!ne.disabled;return c.jsx("div",{id:`${M}-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",U.sxClassName,w),style:D(P,U.sxInlineStyle),onMouseDown:he=>he.preventDefault(),onMouseEnter:()=>{_e||Z(Pe)},onClick:he=>ge(ne,he),children:k?k(ne,{active:Ce,disabled:_e,inputValue:J,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]})});Af.displayName="AutoComplete";function If(e){const t=e+"CollectionProvider",[r,n]=xt(t),[o,s]=r(t,{collectionRef:{current:null},itemMap:new Map}),i=h=>{const{scope:y,children:x}=h,b=Oe.useRef(null),w=Oe.useRef(new Map).current;return c.jsx(o,{scope:y,itemMap:w,collectionRef:b,children:x})};i.displayName=t;const a=e+"CollectionSlot",l=sn(a),d=Oe.forwardRef((h,y)=>{const{scope:x,children:b}=h,w=s(a,x),P=Re(y,w.collectionRef);return c.jsx(l,{ref:P,children:b})});d.displayName=a;const f=e+"CollectionItemSlot",m="data-radix-collection-item",p=sn(f),v=Oe.forwardRef((h,y)=>{const{scope:x,children:b,...w}=h,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(p,{[m]:"",ref:C,children:b})});v.displayName=f;function g(h){const y=s(e+"CollectionConsumer",h);return Oe.useCallback(()=>{const b=y.collectionRef.current;if(!b)return[];const w=Array.from(b.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},g,n]}var Y0=u.createContext(void 0);function Lo(e){const t=u.useContext(Y0);return e||t||"ltr"}var ms="rovingFocusGroup.onEntryFocus",X0={bubbles:!1,cancelable:!0},yn="RovingFocusGroup",[pi,Tf,J0]=If(yn),[Q0,Do]=xt(yn,[J0]),[Z0,ew]=Q0(yn),_f=u.forwardRef((e,t)=>c.jsx(pi.Provider,{scope:e.__scopeRovingFocusGroup,children:c.jsx(pi.Slot,{scope:e.__scopeRovingFocusGroup,children:c.jsx(tw,{...e,ref:t})})}));_f.displayName=yn;var tw=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,p=u.useRef(null),v=Re(t,p),g=Lo(s),[h,y]=_t({prop:i,defaultProp:a??null,onChange:l,caller:yn}),[x,b]=u.useState(!1),w=At(d),P=Tf(r),C=u.useRef(!1),[S,N]=u.useState(0);return u.useEffect(()=>{const k=p.current;if(k)return k.addEventListener(ms,w),()=>k.removeEventListener(ms,w)},[w]),c.jsx(Z0,{scope:r,orientation:n,dir:g,loop:o,currentTabStopId:h,onItemFocus:u.useCallback(k=>y(k),[y]),onItemShiftTab:u.useCallback(()=>b(!0),[]),onFocusableItemAdd:u.useCallback(()=>N(k=>k+1),[]),onFocusableItemRemove:u.useCallback(()=>N(k=>k-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,k=>{const q=!C.current;if(k.target===k.currentTarget&&q&&!x){const A=new CustomEvent(ms,X0);if(k.currentTarget.dispatchEvent(A),!A.defaultPrevented){const j=P().filter(T=>T.focusable),E=j.find(T=>T.active),I=j.find(T=>T.id===h),O=[E,I,...j].filter(Boolean).map(T=>T.ref.current);Lf(O,f)}}C.current=!1}),onBlur:pe(e.onBlur,()=>b(!1))})})}),Of="RovingFocusGroupItem",Mf=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=ew(Of,r),m=f.currentTabStopId===d,p=Tf(r),{onFocusableItemAdd:v,onFocusableItemRemove:g,currentTabStopId:h}=f;return u.useEffect(()=>{if(n)return v(),()=>g()},[n,v,g]),c.jsx(pi.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=ow(y,f.orientation,f.dir);if(x!==void 0){if(y.metaKey||y.ctrlKey||y.altKey||y.shiftKey)return;y.preventDefault();let w=p().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?sw(w,P+1):w.slice(P+1)}setTimeout(()=>Lf(w))}}),children:typeof i=="function"?i({isCurrentTabStop:m,hasTabStop:h!=null}):i})})});Mf.displayName=Of;var rw={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function nw(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function ow(e,t,r){const n=nw(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return rw[n]}function Lf(e,t=!1){const r=document.activeElement;for(const n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function sw(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var Df=_f,Ff=Mf,ua="Radio",[iw,Bf]=xt(ua),[aw,lw]=iw(ua),$f=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,p]=u.useState(null),v=Re(t,y=>p(y)),g=u.useRef(!1),h=m?d||!!m.closest("form"):!0;return c.jsxs(aw,{scope:r,checked:o,disabled:i,children:[c.jsx(ye.button,{type:"button",role:"radio","aria-checked":o,"data-state":Uf(o),"data-disabled":i?"":void 0,disabled:i,value:a,...f,ref:v,onClick:pe(e.onClick,y=>{o||l?.(),h&&(g.current=y.isPropagationStopped(),g.current||y.stopPropagation())})}),h&&c.jsx(Hf,{control:m,bubbles:!g.current,name:n,value:a,checked:o,required:s,disabled:i,form:d,style:{transform:"translateX(-100%)"}})]})});$f.displayName=ua;var Vf="RadioIndicator",zf=u.forwardRef((e,t)=>{const{__scopeRadio:r,forceMount:n,...o}=e,s=lw(Vf,r);return c.jsx(Qt,{present:n||s.checked,children:c.jsx(ye.span,{"data-state":Uf(s.checked),"data-disabled":s.disabled?"":void 0,...o,ref:t})})});zf.displayName=Vf;var cw="RadioBubbleInput",Hf=u.forwardRef(({__scopeRadio:e,control:t,checked:r,bubbles:n=!0,...o},s)=>{const i=u.useRef(null),a=Re(i,s),l=Io(r),d=No(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 g=new Event("click",{bubbles:n});v.call(f,r),f.dispatchEvent(g)}},[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}})});Hf.displayName=cw;function Uf(e){return e?"checked":"unchecked"}var uw=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Fo="RadioGroup",[dw]=xt(Fo,[Do,Bf]),Wf=Do(),Kf=Bf(),[fw,mw]=dw(Fo),Gf=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,...p}=e,v=Wf(r),g=Lo(d),[h,y]=_t({prop:s,defaultProp:o??null,onChange:m,caller:Fo});return c.jsx(fw,{scope:r,name:n,required:i,disabled:a,value:h,onValueChange:y,children:c.jsx(Df,{asChild:!0,...v,orientation:l,dir:g,loop:f,children:c.jsx(ye.div,{role:"radiogroup","aria-required":i,"aria-orientation":l,"data-disabled":a?"":void 0,dir:g,...p,ref:t})})})});Gf.displayName=Fo;var Yf="RadioGroupItem",Xf=u.forwardRef((e,t)=>{const{__scopeRadioGroup:r,disabled:n,...o}=e,s=mw(Yf,r),i=s.disabled||n,a=Wf(r),l=Kf(r),d=u.useRef(null),f=Re(t,d),m=s.value===o.value,p=u.useRef(!1);return u.useEffect(()=>{const v=h=>{uw.includes(h.key)&&(p.current=!0)},g=()=>p.current=!1;return document.addEventListener("keydown",v),document.addEventListener("keyup",g),()=>{document.removeEventListener("keydown",v),document.removeEventListener("keyup",g)}},[]),c.jsx(Ff,{asChild:!0,...a,focusable:!i,active:m,children:c.jsx($f,{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,()=>{p.current&&d.current?.click()})})})});Xf.displayName=Yf;var hw="RadioGroupIndicator",Jf=u.forwardRef((e,t)=>{const{__scopeRadioGroup:r,...n}=e,o=Kf(r);return c.jsx(zf,{...o,...n,ref:t})});Jf.displayName=hw;var pw=Gf,vw=Xf,gw=Jf;const da=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,children:i,...a}=e,l=se(),{sxClassName:d,sxInlineStyle:f}=ee(o,l);return c.jsx(vw,{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(gw,{className:"inline-flex h-4 w-4 items-center justify-center",children:c.jsx("span",{className:"h-2 w-2 rounded-full bg-current"})})})});da.displayName="Radio";const nc={xs:"gap-1",sm:"gap-2",md:"gap-3",lg:"gap-4"};function bw(e){return e===void 0?{className:nc.md}:e==="xs"||e==="sm"||e==="md"||e==="lg"?{className:nc[e]}:{style:{gap:typeof e=="number"?`${e}px`:e}}}const Qf=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,p=se(),{sxClassName:v,sxInlineStyle:g}=ee(d,p),h=bw(a);return c.jsxs(pw,{ref:t,disabled:i,className:R("flex",s==="horizontal"?"flex-row flex-wrap":"flex-col",h.className,v,r,n),style:D(f,h.style,g),...m,children:[l?.map(y=>{const x=i||y.disabled;return c.jsxs(Oo,{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(da,{...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]})});Qf.displayName="RadioGroup";const xw={sm:"h-8 w-8",md:"h-9 w-9",lg:"h-10 w-10"},yw={sm:"h-4 w-4",md:"h-[18px] w-[18px]",lg:"h-5 w-5"};function hs(e,t){return Number.isFinite(e)?Math.max(0,Math.min(t,Math.round(e))):0}function ww(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 Pw(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:p,character:v}=e,g=v??c.jsx(ww,{className:yw[r]});return c.jsx("button",{ref:m,type:"button",role:"radio","aria-checked":n,"aria-label":p,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",xw[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:g}),c.jsx("span",{className:"absolute inset-0 overflow-hidden",style:{width:`${t}%`},children:c.jsx("span",{className:"text-current",children:g})})]})})}const Zf=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:p="md",character:v,className:g,class:h,style:y,sx:x,onMouseLeave:b,onKeyDown:w,...P}=e,C=se(),{sxClassName:S,sxInlineStyle:N}=ee(x,C),k=r!==void 0,q=Math.max(1,Math.floor(o||1)),[A,j]=u.useState(()=>hs(n,q)),[E,I]=u.useState(null),_=u.useRef([]),O=hs(k?r??0:A,q),T=E??O,$=u.useId(),M=u.useCallback(te=>{if(a||l)return;const Z=hs(te,q),K=s&&Z===O?0:Z;k||j(K),f?.(K)},[s,O,a,k,f,l,q]),W=u.useCallback(()=>{I(null),m?.(null)},[m]),F=u.useCallback(te=>{_.current[te]?.focus()},[]),X=te=>{W(),b?.(te)},de=(te,Z)=>{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"){W(),F(0),M(0);return}if(te.key==="End"){W(),F(q-1),M(q);return}const J=te.key==="ArrowRight"||te.key==="ArrowUp"?1:-1,B=Math.max(0,Math.min(q-1,Z+J));W(),F(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: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,g,h),style:D(y,N),onMouseLeave:X,children:[d?c.jsx("input",{type:"hidden",name:d,value:String(O)}):null,Array.from({length:q}).map((te,Z)=>{const K=Z+1,J=Math.max(0,Math.min(1,T-Z))*100,B=O===K,G=E!==null;return c.jsx(Pw,{fill:J,size:p,active:B,preview:G&&K<=T,disabled:a||l,tabIndex:O===0?Z===0?0:-1:B?0:-1,label:`选择 ${K} 星`,character:v,setRef:H=>{_.current[Z]=H},onClick:()=>{W(),M(K)},onFocus:()=>{a||l||W()},onKeyDown:H=>de(H,Z),onMouseEnter:()=>{a||l||(I(K),m?.(K))}},`${$}-${K}`)})]})});Zf.displayName="Rate";function ps(e){const t=se();return ee(e,t)}function oc(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 Dn(e){return Array.isArray(e)?e.filter(t=>t!==""):[]}function Cw(e){return Array.isArray(e)?e:[]}function Fr(e,t){return e?.[t]??t}function Sw(e,t){const r=Fr(t,"value");return typeof e[r]=="string"?e[r]:e.value}function Nw(e,t){const r=Fr(t,"label");return e[r]??e.label??e.value??""}function kw(e,t){const r=Fr(t,"children");return Cw(e[r])}function qw(e,t){const r=Fr(t,"disabled");return!!(e[r]??e.disabled)}function jw(e,t){const r=Fr(t,"isLeaf"),n=e[r];return typeof n=="boolean"?n:e.isLeaf}function Ew(e,t){const r=Fr(t,"loading");return!!(e[r]??e.loading)}function em(e,t){const r=Sw(e,t);if(typeof r!="string"||r.length===0)return null;const n=kw(e,t),o=jw(e,t),s=typeof o=="boolean"?o:n.length===0;return{option:e,value:r,label:Nw(e,t),children:n,disabled:qw(e,t),isLeaf:s,loading:Ew(e,t)}}function vi(e,t){const r=[];for(const n of e){const o=em(n,t);o&&r.push(o)}return r}function vs(e,t,r){const n=[],o=[];let s=e;for(const i of t){const a=vi(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 Rw(e,t,r){const n=[];let o=e;n.push(vi(o,r));for(const s of t){const i=vi(o,r).find(a=>a.value===s);if(!i||(o=i.children,o.length===0))break;n.push(o.map(a=>em(a,r)).filter(a=>!!a))}return n}function gs(e,t){return t.every((r,n)=>e[n]===r)}function Aw(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 Iw(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 Tw(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 _w(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 bs(){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 tm=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:p,fieldNames:v,changeOnSelect:g=!1,expandTrigger:h="click",clearable:y=!1,contentWidth:x="auto",maxPanelHeight:b=336,side:w="bottom",align:P="start",sideOffset:C=8,contentClassName:S,contentClass:N,contentStyle:k,contentSx:q,class:A,sx:j,readOnly:E=!1,required:I,loadData:_,optionClassName:O,optionClass:T,optionStyle:$,optionSx:M,className:W,style:F,disabled:X=!1,name:de,id:te,autoFocus:Z,onClick:K,onFocus:J,onBlur:B,onKeyDown:G,...H}=e,[U,Y]=oc({value:n===void 0?void 0:Dn(n),defaultValue:Dn(o),onChange:z=>{}}),[Q,le]=oc({value:a,defaultValue:l,onChange:i}),[fe,ve]=u.useState(()=>Dn(o)),[ge,ie]=u.useState(null),we=u.useRef(null),qe=u.useRef(!0),Me=u.useRef(Q),{sxClassName:ne,sxInlineStyle:Pe}=ps(j),{sxClassName:Ce,sxInlineStyle:ue}=ps(q),{sxClassName:_e,sxInlineStyle:he}=ps(M);u.useEffect(()=>()=>{qe.current=!1},[]),u.useEffect(()=>{Q&&!Me.current&&ve(U),Me.current=Q},[Q,U]);const re=u.useMemo(()=>vs(r,U,v),[v,r,U]),me=re.matched.map(z=>z.option),Se=Q?fe:U,Te=u.useMemo(()=>vs(r,Se,v),[Se,v,r]),et=u.useMemo(()=>Rw(r,Se,v),[Se,v,r]),Ke=u.useMemo(()=>{const z=Te.matched[Te.matched.length-1];return!Q||!z?!1:z.children.length===0&&!z.isLeaf},[Te.matched,Q]),ut=u.useMemo(()=>re.labels.length>0?m?m(re.labels,me):Aw(re.labels,f):d,[m,d,me,re.labels,f]),yt=n!==void 0,He=u.useCallback((z,ce)=>{const be=Dn(z),Ne=vs(r,be,v);yt||Y(be),s?.(be,{...ce,path:Ne.path,options:Ne.matched.map(Ie=>Ie.option),labels:Ne.labels})},[v,yt,s,r,Y]),ot=u.useCallback(z=>{X||E||(yt||Y([]),ve([]),s?.([],{reason:"clear",path:[],options:[],labels:[],event:z}))},[X,yt,s,E,Y]),Ge=u.useRef(_);u.useEffect(()=>{Ge.current=_},[_]);const Lt=u.useCallback(async(z,ce,be)=>{if(X||E||z.disabled)return;const Ne=z.children.length>0,Ie=Ne||!z.isLeaf&&!!Ge.current,tt=ce.join("");if(Ie&&!Ne&&Ge.current){ie(tt);try{await Ge.current([z.option],{option:z.option,path:ce,options:r})}finally{qe.current&&ie(st=>st===tt?null:st)}}if(g||!Ie){He(ce,{reason:"select",option:z.option,event:be}),le(!1);return}ve(ce),le(!0)},[g,He,X,r,E,le]),Ye=u.useCallback(z=>{X||(ve(z),le(!0))},[X,le]);u.useImperativeHandle(t,()=>({focus:()=>we.current?.focus(),blur:()=>we.current?.blur(),open:()=>Ye(U),close:()=>le(!1),clear:()=>ot(),getValue:()=>U.slice()}),[ot,Ye,U,le]);const V=ge!==null;return c.jsxs("div",{className:"relative inline-flex w-full items-stretch",children:[c.jsxs(Ud,{open:Q,onOpenChange:le,children:[c.jsx(ra,{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",E&&"cursor-default",y&&U.length>0&&!X&&!E?"pr-16":"pr-9",ne,W,A),style:D(F,Pe),autoFocus:Z,disabled:X,"aria-haspopup":"dialog","aria-expanded":Q,"aria-disabled":X||void 0,"aria-readonly":E||void 0,onClick:z=>{K?.(z)},onFocus:J,onBlur:B,onKeyDown:z=>{G?.(z),!X&&((z.key==="ArrowDown"||z.key==="Enter")&&(z.preventDefault(),le(!0)),z.key==="Escape"&&(z.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(Iw,{className:"absolute right-3 h-4 w-4 text-slate-500"})]})}),y&&U.length>0&&!X&&!E?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:z=>z.preventDefault(),onClick:z=>{z.preventDefault(),z.stopPropagation(),ot(z)},children:c.jsx(_w,{className:"h-3.5 w-3.5"})}):null,c.jsx(na,{side:w,align:P,sideOffset:C,width:x,className:R("overflow-hidden p-0",Ce,S,N),style:D(k,ue),role:"dialog","aria-label":"级联选择",children:c.jsxs("div",{className:"flex min-w-[320px] overflow-hidden bg-white",style:{maxHeight:typeof b=="number"?`${b}px`:b},children:[et.map((z,ce)=>{const be=Se.slice(0,ce);return z.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:V&&ce===et.length-1?c.jsxs("span",{className:"inline-flex items-center gap-2",children:[c.jsx(bs,{}),"加载中"]}):"暂无可选项"},`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:z.map(Ne=>{const Ie=[...be,Ne.value],tt=U.length===Ie.length&&gs(U,Ie),st=gs(Se,Ie)||gs(Ie,Se),dt=ge===Ie.join("")||Ne.loading,mt=Ne.children.length>0||!Ne.isLeaf&&!!Ge.current&&!dt,Jo={active:st,checked:tt,disabled:Ne.disabled,hasChildren:mt,isLeaf:Ne.isLeaf,level:ce,loading:dt,path:Ie,selected:tt};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",tt&&"bg-blue-50 text-blue-700",st&&!tt&&"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,T),style:D($,he),disabled:X||E||Ne.disabled,onMouseEnter:()=>{h==="hover"&&!Ne.disabled&&mt&&(ve(Ie),le(!0))},onClick:L=>{L.preventDefault(),Lt(Ne,Ie,L)},children:[c.jsx("span",{className:"min-w-0 flex-1 truncate",children:p?p(Ne.option,Jo):Ne.label}),dt?c.jsx(bs,{}):mt?c.jsx(Tw,{className:"h-4 w-4 shrink-0 text-slate-400"}):null]},Ie.join(""))})})},`column-${ce}`)}),Ke?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:V?c.jsxs("span",{className:"inline-flex items-center gap-2",children:[c.jsx(bs,{}),"加载中"]}):"请继续选择"}):null]})})]}),de?c.jsx("input",{type:"hidden",name:de,required:I,value:U.length>0?JSON.stringify(U):""}):null]})});tm.displayName="Cascader";function Ow(e){return Array.isArray(e)?Number(e[0]??0):Number(e??0)}function sc(e,t){const r=Number(e);return Number.isFinite(r)?r:t}function ic(e,t){return e===void 0?t:typeof e=="number"?`${e}px`:e}const Mw={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 rm(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:p,...v}=e,g=se(),{sxClassName:h,sxInlineStyle:y}=ee(a,g),x=f!==void 0,[b,w]=u.useState(()=>Ow(n)),P=x?f:b,C=sc(s,0),S=sc(o,100),N=Number.isFinite(P)?P:C,k=S>C?(N-C)/(S-C)*100:0,q=Math.max(0,Math.min(100,k)),A=j=>{const E=Number(j.currentTarget.value);x||w(E),p?.(E)};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",h,t,r),style:D({...Mw[m],"--ldkj-slider-thumb-size":ic(l,"1.05rem"),"--ldkj-slider-track-size":ic(d,"0.4rem"),"--ldkj-slider-percent":`${q}%`,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)})}rm.displayName="Slider";function Lw({children:e}){return c.jsx("span",{className:"text-rose-500",children:e??"*"})}const Bo=u.createContext(null);function cn(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)):cn(e)?Object.fromEntries(Object.entries(e).map(([t,r])=>[t,it(r)])):e}function wn(e){return typeof e=="string"||typeof e=="number"?[e]:Array.from(e)}function ht(e){return JSON.stringify(wn(e))}function Dw(e){return wn(e).join(".")}function sr(e,t){let r=e;for(const n of wn(t)){if(r==null)return;r=r[n]}return r}function Jr(e,t,r){const n=wn(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]:cn(s)?{...s}:typeof a=="number"?[]:{};return d[a]=l?r:o(d[a],i+1),d};return o(e,0)}function Fw(e,t){const r=wn(t);if(r.length===0)return e;const n=(o,s)=>{if(!Array.isArray(o)&&!cn(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 Bw(e,t){return Jr({},e,t)}function $w(e,t){const r=(n,o)=>{if(cn(n)&&cn(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 ac(){return{errors:[],touched:!1,validating:!1}}function Vw(e){return e==null||e===""||Array.isArray(e)&&e.length===0}function zw(e){return e===void 0?[]:Array.isArray(e)?e:[e]}function Hw(e,t,r){if(!e)return!0;const n=zw(t??r);return n.length===0||n.includes(e)}function Uw(e,t){return u.isValidElement(e)?e:typeof e=="string"||typeof e=="number"?String(e):e instanceof Error?e.message:t}function Ww(e){let t=it({}),r=it(t),n={},o=0;const s=new Set,i=new Map,a=new Map,l=()=>{for(const b of s)b()},d=b=>{const w=ht(b),P=a.get(w);if(P)return P;const C=ac();return a.set(w,C),C},f=(b,w)=>{const P=ht(b);a.set(P,{...d(b),...w})},m=()=>Array.from(i.values()).map(b=>({name:b.name,value:sr(t,b.name),...d(b.name)})),p=b=>{n.onFieldsChange?.(b,m())},v=async(b,w)=>{const P=b.rules.filter(S=>Hw(w.trigger,S.validateTrigger,b.validateTrigger));if(P.length===0)return[];w.validateOnly||(f(b.name,{validating:!0}),l());const C=[];for(const S of P){const N=sr(t,b.name),k=S.transform?S.transform(N):N,q=S.message??"该字段为必填项";if(S.required&&Vw(k)){if(C.push(q),b.validateFirst)break;continue}if(S.validator){try{const A=await S.validator(k,it(t),x);A===!1?C.push(q):A!==void 0&&A!==!0&&C.push(A)}catch(A){C.push(Uw(A,q))}if(b.validateFirst&&C.length>0)break}}return!w.validateOnly&&w.id===o&&(f(b.name,{errors:C,validating:!1}),p([{name:b.name,value:sr(t,b.name),...d(b.name),errors:C,validating:!1}]),l()),C},g=async(b,w={})=>{const P=++o,C=b?.map(ht),S=Array.from(i.values()).filter(q=>C?C.includes(ht(q.name)):!0),k=(await Promise.all(S.map(async q=>({field:q,errors:await v(q,{id:P,trigger:w.trigger,validateOnly:w.validateOnly})})))).filter(q=>q.errors.length>0).map(q=>({errors:q.errors,name:q.field.name}));if(k.length>0)throw{errorFields:k,outOfDate:P!==o,values:it(t)};return it(t)},h=(b,w)=>{const P=ht(b);for(const C of i.values())(ht(C.name)===P||C.dependencies.some(N=>ht(N)===P))&&g([C.name],{trigger:w}).catch(()=>{})},y=(b,w,P={})=>{t=Jr(t,b,w),P.touched&&f(b,{touched:!0});const C={name:b,value:w,...d(b)};P.source!=="external"&&(n.onValuesChange?.(Bw(b,w),it(t)),p([C])),l(),P.trigger&&h(b,P.trigger)},x={getFieldValue:b=>sr(t,b),getFieldsValue:b=>b?b.reduce((w,P)=>Jr(w,P,sr(t,P)),{}):it(t),getFieldError:b=>d(b).errors,getFieldsError:b=>(b??Array.from(i.values()).map(P=>P.name)).map(P=>({errors:d(P).errors,name:P})),getFieldMeta:b=>d(b),isFieldTouched:b=>d(b).touched,isFieldsTouched:b=>(b??Array.from(i.values()).map(P=>P.name)).some(P=>d(P).touched),setFieldValue:(b,w)=>y(b,w,{source:"external"}),setFieldsValue:b=>{t=$w(t,b),l()},setFields:b=>{for(const w of b)"value"in w&&(t=Jr(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(b),l()},resetFields:b=>{const w=b??Array.from(i.values()).map(P=>P.name);if(!b)t=it(r),a.clear();else for(const P of w)t=Jr(t,P,sr(r,P)),a.delete(ht(P));p(w.map(P=>({name:P,value:sr(t,P),...d(P)}))),l()},validateFields:b=>g(b),submit:async()=>{try{const b=await g(void 0);n.onFinish?.(b)}catch(b){n.onFinishFailed?.(b)}},subscribe:b=>(s.add(b),()=>s.delete(b)),__INTERNAL__:{getStoreSnapshot:()=>t,getMetaSnapshot:b=>d(b),setCallbacks:b=>{n=b},setInitialValues:(b,w)=>{r=it(b??{}),w&&(t=it(r))},registerField:b=>{const w=ht(b.name);return i.set(w,b),a.has(w)||a.set(w,ac()),P=>{i.delete(w),P?.preserve===!1&&(t=Fw(t,b.name),a.delete(w),l())}},setFieldValue:y,validateFields:g}};return x}function fa(e){const t=u.useRef(null);return t.current||(t.current=e??Ww()),[e??t.current]}function ma(){const e=u.useContext(Bo);if(!e)throw new Error("Form hooks must be used inside a Form or receive a form instance.");return e}function $o(e,t){const r=u.useContext(Bo),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 nm(e,t){return $o(e,t)}function Kw(e,t){const r=u.useContext(Bo),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 rn={emptyValue:"",trigger:"onChange",valuePropName:"value"},lc={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:rn,InputNumber:rn,InputOPT:rn,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 Gw(e){const t=e.type;return t.displayName??t.name??t.render?.displayName??t.render?.name}function Yw(e){if(!e)return rn;const t=Gw(e);return t&&lc[t]?lc[t]:rn}function Xw(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 Jw(e){return e===void 0?[]:Array.isArray(e)?[...e]:[e]}function Qw(e,t,r){return e!==void 0?e:r==="checked"?!1:t.emptyValue}function cc(e,t){return(...r)=>{e?.(...r),t(...r)}}function Zw(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:p,sx:v,...g}=e,[h]=fa(n),y=se(),{sxClassName:x,sxInlineStyle:b}=ee(v,y),w=u.useRef(!1),P=!s&&(n!==void 0||a!==void 0||l!==void 0||m!==void 0||i!==void 0);h.__INTERNAL__.setCallbacks({onFieldsChange:i,onFinish:a,onFinishFailed:l,onValuesChange:m}),h.__INTERNAL__.setInitialValues(o,!w.current),w.current=!0;const C=N=>{f?.(N),!(N.defaultPrevented||!P)&&(N.preventDefault(),h.submit())},S=N=>{d?.(N),!(N.defaultPrevented||!P)&&h.resetFields()};return c.jsx(Bo.Provider,{value:h,children:c.jsx("form",{className:R("space-y-4",x,t,r),style:D(p,b),onReset:S,onSubmit:C,...g})})}function ha(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:p,labelClassName:v,labelStyle:g,name:h,noStyle:y=!1,preserve:x=!0,required:b,rules:w=[],sx:P,style:C,trigger:S,validateFirst:N=!1,validateStatus:k,validateTrigger:q="onChange",valuePropName:A,...j}=e,E=ma(),I=se(),{sxClassName:_,sxInlineStyle:O}=ee(P,I),T=$o(void 0,E),$=h===void 0?void 0:ht(h),M=h===void 0?void 0:E.getFieldValue(h),W=Kw(h??"__FORM_ITEM__",E),F=u.isValidElement(t)&&typeof t.type!="string"?t:null,X=Yw(F),de=A??X.valuePropName,te=S??X.trigger,Z=w.some(fe=>fe.required),K=u.useMemo(()=>b&&!Z?[{required:!0},...w]:w,[Z,b,w]),J=u.useMemo(()=>JSON.stringify(i.map(ht)),[i]),B=u.useRef(K);B.current=K,u.useEffect(()=>{if(h===void 0)return;m!==void 0&&E.getFieldValue(h)===void 0&&E.__INTERNAL__.setFieldValue(h,m,{source:"external"});const fe=E.__INTERNAL__.registerField({dependencies:i,name:h,rules:B.current,validateFirst:N,validateTrigger:q});return()=>fe({preserve:x})},[J,E,m,h,$,x,N,q]);const G={form:E,meta:W,value:M,values:T},H=()=>{if(typeof t=="function")return t(G);if(!F||h===void 0)return t;const fe=F.props,ve=d?d(M):X.skipValueProp?{}:{[de]:Qw(M,X,de)};fe.name===void 0&&(ve.name=Dw(h)),ve[te]=cc(fe[te],(...ge)=>{const ie=l?l(...ge):Xw(de,ge);E.__INTERNAL__.setFieldValue(h,ie,{source:"internal",touched:!0,trigger:te})});for(const ge of Jw(q))ge!==te&&(ve[ge]=cc(ve[ge]??fe[ge],()=>{E.__INTERNAL__.validateFields([h],{trigger:ge}).catch(()=>{})}));return u.cloneElement(F,ve)},U=W.errors,Y=f??U[0],Q=k??(W.validating?"validating":U.length>0?"error":void 0),le=c.jsxs(c.Fragment,{children:[p!==void 0?c.jsxs("div",{className:R("text-sm font-medium leading-5 text-slate-700",v),style:g,children:[p,b||Z?c.jsx("span",{className:"ml-1 text-red-500","aria-hidden":"true",children:"*"}):null]}):null,c.jsx("div",{className:o,style:s,children:H()}),Y!==void 0?c.jsx("div",{className:R("text-xs leading-5",Q==="error"?"text-red-600":"text-slate-500"),"aria-live":Q==="error"?"polite":void 0,role:Q==="error"?"alert":void 0,children:Y}):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",Q==="error"&&"[&_input]:border-red-500",_,r,n),style:D(C,O),...j,children:le})}ha.displayName="FormItem";const om=Object.assign(Zw,{Item:ha,useForm:fa,useFormInstance:ma,useFormValue:$o,useFormWatch:nm});om.displayName="Form";const pa="__LDKJ_UPLOADER_LIST_IGNORE__",co=u.createContext(null);let uc=0;function eP(){return uc+=1,`ldkj-upload-${Date.now()}-${uc}`}function tP(e){return!!(e&&typeof e.then=="function")}function rP(e){return typeof File<"u"&&e instanceof File}function nP(e){return typeof Blob<"u"&&e instanceof Blob}function dc(e,t){return rP(e)?e:new File([e],t,{type:e.type})}function oP(e){return e===void 0?"":e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(1)} KB`:`${(e/1024/1024).toFixed(1)} MB`}function xs(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 sP(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 iP(e){return Number.isFinite(e)?Math.max(0,Math.min(100,Math.round(e))):0}function aP(e){const t=e.responseText;if(!t)return e.response;try{return JSON.parse(t)}catch{return t}}async function lP(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 p=new XMLHttpRequest,v=new FormData;v.append(o,n),Object.entries(r??{}).forEach(([g,h])=>{h!=null&&v.append(g,h instanceof Blob?h:String(h))}),p.open(i,t),p.withCredentials=l,Object.entries(s??{}).forEach(([g,h])=>{p.setRequestHeader(g,h)}),p.upload.onprogress=g=>{g.lengthComputable&&d(g.loaded/g.total*100)},p.onload=()=>{const g=aP(p);if(p.status>=200&&p.status<300){f({response:g,url:g&&typeof g=="object"&&"url"in g&&typeof g.url=="string"?g.url:void 0});return}m(new Error(`Upload failed with status ${p.status}`))},p.onerror=()=>m(new Error("Upload request failed")),p.onabort=()=>m(new DOMException("Upload aborted","AbortError")),a.addEventListener("abort",()=>p.abort(),{once:!0}),p.send(v)})}async function ys(e){return tP(e)?e:Promise.resolve(e)}function cP(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 uP(){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 dP(...e){return t=>{e.forEach(r=>{if(r){if(typeof r=="function"){r(t);return}r.current=t}})}}function sm(e,t){const r={...e??{}};return Object.entries(t??{}).forEach(([n,o])=>{o!==void 0&&(r[n]=o)}),r}function fP(e,t){return sm(e,t)}function im(e){const{children:t,...r}=e,n=u.useContext(co),o=u.useMemo(()=>sm(n,r),[n,r]);return c.jsx(co.Provider,{value:o,children:t})}function mP(){return u.useContext(co)}const am=u.forwardRef(function(t,r){const n=u.useContext(co),o=u.useMemo(()=>fP(n,t),[n,t]),{accept:s,action:i,autoUpload:a=!0,beforeRemove:l,beforeUpload:d,children:f,className:m,class:p,customRequest:v,data:g,defaultFileList:h,directory:y=!1,disabled:x=!1,drag:b=!1,fileList:w,getValueFromResult:P,headers:C,listType:S="text",maxCount:N,maxSize:k,method:q="POST",multiple:A=!1,name:j="file",openFileDialogOnClick:E=!0,pastable:I=!1,preview:_=!0,request:O,renderActions:T,renderItem:$,renderTrigger:M,showFileList:W=!0,style:F,sx:X,transformFile:de,withCredentials:te=!1,onChange:Z,onDownload:K,onDrop:J,onDragEnter:B,onDragLeave:G,onDragOver:H,onError:U,onExceed:Y,onFileListChange:Q,onPreview:le,onReject:fe,onRemove:ve,onSelect:ge,onSuccess:ie,onValueChange:we,defaultValue:qe,value:Me,...ne}=o,Pe=u.useRef(null),Ce=u.useRef(h??[]),ue=u.useRef(new Map),[_e,he]=u.useState(h??[]),[re,me]=u.useState(!1),[Se,Te]=u.useState(null),et=uP(),Ke=se(),{sxClassName:ut,sxInlineStyle:yt}=ee(X,Ke),He=w??_e,ot=O??v,Ge=!!(ot||i),Lt=He.some(L=>L.status==="uploading");u.useEffect(()=>{Ce.current=He},[He]),u.useEffect(()=>{if(!I||x)return;const L=Ae=>{const Xe=Array.from(Ae.clipboardData?.files??[]);Xe.length!==0&&ce(Xe)};return window.addEventListener("paste",L),()=>window.removeEventListener("paste",L)}),u.useEffect(()=>()=>{ue.current.forEach(L=>L.abort()),ue.current.clear()},[]);const Ye=u.useCallback((L,Ae)=>{Ce.current=L,w===void 0&&he(L),Q?.(L,Ae),Ae.reason!=="progress"&&we?.(cP(L,A,N),Ae)},[w,N,A,Q,we]),V=u.useCallback((L,Ae,Xe)=>{const Le=Ce.current.map(Fe=>Fe.uid===L?{...Fe,...Ae}:Fe),Ue=Le.find(Fe=>Fe.uid===L);return Ye(Le,{file:Ue,fileList:Le,reason:Xe}),{file:Ue,fileList:Le}},[Ye]),z=u.useCallback(async L=>{const Ae=L.originFile;if(!Ae||x)return;const Xe=new AbortController;ue.current.set(L.uid,Xe),V(L.uid,{status:"uploading",percent:0,error:void 0},"retry");try{const Le=typeof i=="function"?await i(Ae):i,Ue=typeof g=="function"?await g(Ae):g,Je=await(ot??lP)({action:Le,data:Ue,file:Ae,filename:j,headers:C,item:L,method:q,signal:Xe.signal,withCredentials:te,onProgress:rt=>{V(L.uid,{percent:iP(rt)},"progress")}}),Dt=Ce.current.find(rt=>rt.uid===L.uid)??L,ze=P?P(Je,Dt):Je&&"value"in Je?Je.value:Dt.value,wt=V(L.uid,{name:Je?.name??Dt.name,percent:100,response:Je?.response??Je,status:"success",thumbUrl:Je?.thumbUrl??Je?.url??Dt.thumbUrl,url:Je?.url??Dt.url,value:ze},"success");wt.file&&ie?.(wt.file,wt.fileList)}catch(Le){if(Le.name==="AbortError")return;const Ue=Le instanceof Error?Le:new Error(String(Le)),Fe=V(L.uid,{error:Ue,status:"error"},"error");Fe.file&&U?.(Ue,Fe.file,Fe.fileList)}finally{ue.current.delete(L.uid)}},[i,g,x,ot,P,C,q,j,U,ie,V,te]),ce=u.useCallback(async L=>{if(x||L.length===0)return;ge?.(L);const Ae=[];for(const ze of L){if(!sP(ze,s)){fe?.(ze,"accept");continue}if(k!==void 0&&ze.size>k){fe?.(ze,"maxSize");continue}Ae.push(ze)}if(Ae.length===0)return;const Xe=Ce.current,Le=N??(A?void 0:1);let Ue=Ae;if(Le!==void 0){const ze=Math.max(0,Le-(Le===1?0:Xe.length));Ue.length>ze&&(Y?.(Ue.slice(ze),Xe),Ue=Ue.slice(0,ze))}if(Ue.length===0)return;const Fe=[],Je=[];for(const ze of Ue){let wt=a&&Ge,rt=ze;if(d){const Nn=await ys(d(ze,Ue));if(Nn===pa)continue;Nn===!1?wt=!1:nP(Nn)&&(rt=dc(Nn,ze.name))}wt&&de&&(rt=dc(await ys(de(rt)),ze.name));const ap=xs(rt)?et(rt):void 0,tl={uid:eP(),name:rt.name,originFile:rt,percent:wt?0:Ge?void 0:100,size:rt.size,status:wt?"uploading":Ge?"ready":"success",thumbUrl:ap,type:rt.type,value:wt?void 0:rt};Fe.push(tl),wt&&Je.push(tl)}if(Fe.length===0)return;const Dt=Le===1?Fe.slice(-1):[...Ce.current,...Fe];Ye(Dt,{file:Fe[Fe.length-1],fileList:Dt,reason:"add"}),Je.forEach(ze=>{z(ze)})},[s,a,d,et,x,Ye,Ge,N,k,A,Y,fe,ge,de,z]),be=u.useCallback(()=>{x||!E||Pe.current?.click()},[x,E]),Ne=u.useCallback(async L=>{const Ae=Ce.current;if(l&&!await ys(l(L,Ae)))return;ue.current.get(L.uid)?.abort(),ue.current.delete(L.uid);const Xe=Ae.filter(Le=>Le.uid!==L.uid);Ye(Xe,{file:L,fileList:Xe,reason:"remove"}),ve?.(L,Xe)},[l,Ye,ve]),Ie={disabled:x,dragging:re,fileList:He,open:be,uploading:Lt},tt=()=>M?M(Ie):typeof f=="function"?f(Ie):f||(b?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:"选择文件"})),st=L=>{const Ae={preview:()=>{dt(L)},download:()=>mt(L),remove:()=>{Ne(L)},retry:()=>{z(L)},upload:()=>{z(L)}};return T?T(L,Ae):c.jsxs("div",{className:R("flex shrink-0 items-center gap-1",S==="picture-card"&&"w-full flex-wrap justify-end"),children:[_&&(L.url||L.thumbUrl)?c.jsx(vt,{type:"button",variant:"ghost",size:"xs",disabled:x,onClick:Ae.preview,children:"预览"}):null,L.url?c.jsx(vt,{type:"button",variant:"ghost",size:"xs",disabled:x,onClick:Ae.download,children:"下载"}):null,L.status==="ready"&&Ge?c.jsx(vt,{type:"button",variant:"ghost",size:"xs",disabled:x,onClick:Ae.upload,children:"上传"}):null,L.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 L=>{await le?.(L)!==!1&&_&&(L.url||L.thumbUrl)&&Te(L)},mt=L=>{if(K){K(L);return}L.url&&window.open(L.url,"_blank","noopener,noreferrer")},Jo=L=>{const Ae=S!=="text"&&(L.thumbUrl||L.url),Xe=L.status==="uploading"?"上传中":L.status==="success"?"已完成":L.status==="error"?"失败":"待上传",Le=S==="picture-card"?"flex 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",Ue=S==="picture-card"?"grid min-w-0 gap-2":"flex min-w-0 items-center justify-between gap-3",Fe=S==="picture-card"?"grid aspect-square w-full shrink-0 place-items-center overflow-hidden rounded-md border border-slate-200 bg-slate-50":"grid size-14 shrink-0 place-items-center overflow-hidden rounded-md border border-slate-200 bg-slate-50",Je=c.jsxs("div",{className:R(Le,L.status==="error"&&"border-red-200 bg-red-50/40"),children:[Ae?c.jsx("button",{type:"button",className:Fe,onClick:()=>{dt(L)},children:xs(L)?c.jsx("img",{src:L.thumbUrl??L.url,alt:L.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:Ue,children:[c.jsxs("div",{className:"min-w-0",children:[c.jsx("div",{className:"truncate text-sm font-medium text-slate-800",children:L.name}),c.jsxs("div",{className:"text-xs text-slate-500",children:[Xe,L.size!==void 0?` · ${oP(L.size)}`:""]})]}),st(L)]}),L.status==="uploading"?c.jsx(hf,{value:L.percent??0,size:"xs"}):null,L.status==="error"?c.jsx("div",{className:"text-xs text-red-600",children:L.error?.message??"上传失败"}):null]})]});return $?$(L,Je,{preview:()=>{dt(L)},download:()=>mt(L),remove:()=>{Ne(L)},retry:()=>{z(L)},upload:()=>{z(L)}}):Je};return c.jsxs("div",{...ne,className:R("grid gap-3",x&&"cursor-not-allowed opacity-60",ut,m,p),style:D(F,yt),onDragEnter:L=>{B?.(L),!(!b||x)&&(L.preventDefault(),me(!0))},onDragOver:L=>{H?.(L),!(!b||x)&&(L.preventDefault(),me(!0))},onDragLeave:L=>{G?.(L),!(!b||x)&&(L.currentTarget.contains(L.relatedTarget)||me(!1))},onDrop:L=>{J?.(L),!(!b||x)&&(L.preventDefault(),me(!1),ce(Array.from(L.dataTransfer.files)))},children:[c.jsx("input",{ref:dP(Pe,r),hidden:!0,type:"file",accept:s,multiple:A,name:j,disabled:x,...y?{directory:"",webkitdirectory:""}:{},onChange:L=>{Z?.(L.target.files),ce(Array.from(L.target.files??[])),L.currentTarget.value=""}}),c.jsx("div",{className:R("inline-block",b&&"rounded-md",re&&"ring-2 ring-blue-500 ring-offset-2"),role:b||M||f?"button":void 0,tabIndex:b||M||f?0:void 0,"aria-disabled":x||void 0,onClick:be,onKeyDown:L=>{L.key!=="Enter"&&L.key!==" "||(L.preventDefault(),be())},children:tt()}),W&&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(L=>c.jsx("div",{role:"listitem",children:Jo(L)},L.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:[xs(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:L=>L.stopPropagation()}):c.jsx("div",{className:"rounded-md bg-white p-6 text-sm text-slate-700 shadow-xl",onClick:L=>L.stopPropagation(),children:Se.name}),c.jsx(vt,{type:"button",variant:"minor",size:"sm",className:"absolute right-5 top-5",onClick:L=>{L.stopPropagation(),Te(null)},children:"关闭"})]}):null]})});am.displayName="Uploader";const hP=Object.assign(am,{LIST_IGNORE:pa,Provider:im});function fc(e,[t,r]){return Math.min(r,Math.max(t,e))}var pP=[" ","Enter","ArrowUp","ArrowDown"],vP=[" ","Enter"],fr="Select",[Vo,zo,gP]=If(fr),[Br]=xt(fr,[gP,Dr]),Ho=Dr(),[bP,er]=Br(fr),[xP,yP]=Br(fr),lm=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:p,required:v,form:g}=e,h=Ho(t),[y,x]=u.useState(null),[b,w]=u.useState(null),[P,C]=u.useState(!1),S=Lo(d),[N,k]=_t({prop:n,defaultProp:o??!1,onChange:s,caller:fr}),[q,A]=_t({prop:i,defaultProp:a,onChange:l,caller:fr}),j=u.useRef(null),E=y?g||!!y.closest("form"):!0,[I,_]=u.useState(new Set),O=Array.from(I).map(T=>T.props.value).join(";");return c.jsx(Ji,{...h,children:c.jsxs(bP,{required:v,scope:t,trigger:y,onTriggerChange:x,valueNode:b,onValueNodeChange:w,valueNodeHasChildren:P,onValueNodeHasChildrenChange:C,contentId:vr(),value:q,onValueChange:A,open:N,onOpenChange:k,dir:S,triggerPointerDownPosRef:j,disabled:p,children:[c.jsx(Vo.Provider,{scope:t,children:c.jsx(xP,{scope:e.__scopeSelect,onNativeOptionAdd:u.useCallback(T=>{_($=>new Set($).add(T))},[]),onNativeOptionRemove:u.useCallback(T=>{_($=>{const M=new Set($);return M.delete(T),M})},[]),children:r})}),E?c.jsxs(Tm,{"aria-hidden":!0,required:v,tabIndex:-1,name:f,autoComplete:m,value:q,onChange:T=>A(T.target.value),disabled:p,form:g,children:[q===void 0?c.jsx("option",{value:""}):null,Array.from(I)]},O):null]})})};lm.displayName=fr;var cm="SelectTrigger",um=u.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...o}=e,s=Ho(r),i=er(cm,r),a=i.disabled||n,l=Re(t,i.onTriggerChange),d=zo(r),f=u.useRef("touch"),[m,p,v]=Om(h=>{const y=d().filter(w=>!w.disabled),x=y.find(w=>w.value===i.value),b=Mm(y,h,x);b!==void 0&&i.onValueChange(b.value)}),g=h=>{a||(i.onOpenChange(!0),v()),h&&(i.triggerPointerDownPosRef.current={x:Math.round(h.pageX),y:Math.round(h.pageY)})};return c.jsx(ko,{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":_m(i.value)?"":void 0,...o,ref:l,onClick:pe(o.onClick,h=>{h.currentTarget.focus(),f.current!=="mouse"&&g(h)}),onPointerDown:pe(o.onPointerDown,h=>{f.current=h.pointerType;const y=h.target;y.hasPointerCapture(h.pointerId)&&y.releasePointerCapture(h.pointerId),h.button===0&&h.ctrlKey===!1&&h.pointerType==="mouse"&&(g(h),h.preventDefault())}),onKeyDown:pe(o.onKeyDown,h=>{const y=m.current!=="";!(h.ctrlKey||h.altKey||h.metaKey)&&h.key.length===1&&p(h.key),!(y&&h.key===" ")&&pP.includes(h.key)&&(g(),h.preventDefault())})})})});um.displayName=cm;var dm="SelectValue",fm=u.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,children:s,placeholder:i="",...a}=e,l=er(dm,r),{onValueNodeHasChildrenChange:d}=l,f=s!==void 0,m=Re(t,l.onValueNodeChange);return Ve(()=>{d(f)},[d,f]),c.jsx(ye.span,{...a,ref:m,style:{pointerEvents:"none"},children:_m(l.value)?c.jsx(c.Fragment,{children:i}):s})});fm.displayName=dm;var wP="SelectIcon",mm=u.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...o}=e;return c.jsx(ye.span,{"aria-hidden":!0,...o,ref:t,children:n||"▼"})});mm.displayName=wP;var PP="SelectPortal",hm=e=>c.jsx(qo,{asChild:!0,...e});hm.displayName=PP;var mr="SelectContent",pm=u.forwardRef((e,t)=>{const r=er(mr,e.__scopeSelect),[n,o]=u.useState();if(Ve(()=>{o(new DocumentFragment)},[]),!r.open){const s=n;return s?fn.createPortal(c.jsx(vm,{scope:e.__scopeSelect,children:c.jsx(Vo.Slot,{scope:e.__scopeSelect,children:c.jsx("div",{children:e.children})})}),s):null}return c.jsx(gm,{...e,ref:t})});pm.displayName=mr;var pt=10,[vm,tr]=Br(mr),CP="SelectContentImpl",SP=sn("SelectContent.RemoveScroll"),gm=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:p,collisionPadding:v,sticky:g,hideWhenDetached:h,avoidCollisions:y,...x}=e,b=er(mr,r),[w,P]=u.useState(null),[C,S]=u.useState(null),N=Re(t,B=>P(B)),[k,q]=u.useState(null),[A,j]=u.useState(null),E=zo(r),[I,_]=u.useState(!1),O=u.useRef(!1);u.useEffect(()=>{if(w)return Sd(w)},[w]),ed();const T=u.useCallback(B=>{const[G,...H]=E().map(Q=>Q.ref.current),[U]=H.slice(-1),Y=document.activeElement;for(const Q of B)if(Q===Y||(Q?.scrollIntoView({block:"nearest"}),Q===G&&C&&(C.scrollTop=0),Q===U&&C&&(C.scrollTop=C.scrollHeight),Q?.focus(),document.activeElement!==Y))return},[E,C]),$=u.useCallback(()=>T([k,w]),[T,k,w]);u.useEffect(()=>{I&&$()},[I,$]);const{onOpenChange:M,triggerPointerDownPosRef:W}=b;u.useEffect(()=>{if(w){let B={x:0,y:0};const G=U=>{B={x:Math.abs(Math.round(U.pageX)-(W.current?.x??0)),y:Math.abs(Math.round(U.pageY)-(W.current?.y??0))}},H=U=>{B.x<=10&&B.y<=10?U.preventDefault():w.contains(U.target)||M(!1),document.removeEventListener("pointermove",G),W.current=null};return W.current!==null&&(document.addEventListener("pointermove",G),document.addEventListener("pointerup",H,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",G),document.removeEventListener("pointerup",H,{capture:!0})}}},[w,M,W]),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[F,X]=Om(B=>{const G=E().filter(Y=>!Y.disabled),H=G.find(Y=>Y.ref.current===document.activeElement),U=Mm(G,B,H);U&&setTimeout(()=>U.ref.current.focus())}),de=u.useCallback((B,G,H)=>{const U=!O.current&&!H;(b.value!==void 0&&b.value===G||U)&&(q(B),U&&(O.current=!0))},[b.value]),te=u.useCallback(()=>w?.focus(),[w]),Z=u.useCallback((B,G,H)=>{const U=!O.current&&!H;(b.value!==void 0&&b.value===G||U)&&j(B)},[b.value]),K=n==="popper"?gi:bm,J=K===gi?{side:a,sideOffset:l,align:d,alignOffset:f,arrowPadding:m,collisionBoundary:p,collisionPadding:v,sticky:g,hideWhenDetached:h,avoidCollisions:y}:{};return c.jsx(vm,{scope:r,content:w,viewport:C,onViewportChange:S,itemRefCallback:de,selectedItem:k,onItemLeave:te,itemTextRefCallback:Z,focusSelectedItem:$,selectedItemText:A,position:n,isPositioned:I,searchRef:F,children:c.jsx(ea,{as:SP,allowPinchZoom:!0,children:c.jsx(Vi,{asChild:!0,trapped:b.open,onMountAutoFocus:B=>{B.preventDefault()},onUnmountAutoFocus:pe(o,B=>{b.trigger?.focus({preventScroll:!0}),B.preventDefault()}),children:c.jsx(yo,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:B=>B.preventDefault(),onDismiss:()=>b.onOpenChange(!1),children:c.jsx(K,{role:"listbox",id:b.contentId,"data-state":b.open?"open":"closed",dir:b.dir,onContextMenu:B=>B.preventDefault(),...x,...J,onPlaced:()=>_(!0),ref:N,style:{display:"flex",flexDirection:"column",outline:"none",...x.style},onKeyDown:pe(x.onKeyDown,B=>{const G=B.ctrlKey||B.altKey||B.metaKey;if(B.key==="Tab"&&B.preventDefault(),!G&&B.key.length===1&&X(B.key),["ArrowUp","ArrowDown","Home","End"].includes(B.key)){let U=E().filter(Y=>!Y.disabled).map(Y=>Y.ref.current);if(["ArrowUp","End"].includes(B.key)&&(U=U.slice().reverse()),["ArrowUp","ArrowDown"].includes(B.key)){const Y=B.target,Q=U.indexOf(Y);U=U.slice(Q+1)}setTimeout(()=>T(U)),B.preventDefault()}})})})})})})});gm.displayName=CP;var NP="SelectItemAlignedPosition",bm=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)),p=zo(r),v=u.useRef(!1),g=u.useRef(!0),{viewport:h,selectedItem:y,selectedItemText:x,focusSelectedItem:b}=i,w=u.useCallback(()=>{if(s.trigger&&s.valueNode&&a&&d&&h&&y&&x){const N=s.trigger.getBoundingClientRect(),k=d.getBoundingClientRect(),q=s.valueNode.getBoundingClientRect(),A=x.getBoundingClientRect();if(s.dir!=="rtl"){const Y=A.left-k.left,Q=q.left-Y,le=N.left-Q,fe=N.width+le,ve=Math.max(fe,k.width),ge=window.innerWidth-pt,ie=fc(Q,[pt,Math.max(pt,ge-ve)]);a.style.minWidth=fe+"px",a.style.left=ie+"px"}else{const Y=k.right-A.right,Q=window.innerWidth-q.right-Y,le=window.innerWidth-N.right-Q,fe=N.width+le,ve=Math.max(fe,k.width),ge=window.innerWidth-pt,ie=fc(Q,[pt,Math.max(pt,ge-ve)]);a.style.minWidth=fe+"px",a.style.right=ie+"px"}const j=p(),E=window.innerHeight-pt*2,I=h.scrollHeight,_=window.getComputedStyle(d),O=parseInt(_.borderTopWidth,10),T=parseInt(_.paddingTop,10),$=parseInt(_.borderBottomWidth,10),M=parseInt(_.paddingBottom,10),W=O+T+I+M+$,F=Math.min(y.offsetHeight*5,W),X=window.getComputedStyle(h),de=parseInt(X.paddingTop,10),te=parseInt(X.paddingBottom,10),Z=N.top+N.height/2-pt,K=E-Z,J=y.offsetHeight/2,B=y.offsetTop+J,G=O+T+B,H=W-G;if(G<=Z){const Y=j.length>0&&y===j[j.length-1].ref.current;a.style.bottom="0px";const Q=d.clientHeight-h.offsetTop-h.offsetHeight,le=Math.max(K,J+(Y?te:0)+Q+$),fe=G+le;a.style.height=fe+"px"}else{const Y=j.length>0&&y===j[0].ref.current;a.style.top="0px";const le=Math.max(Z,O+h.offsetTop+(Y?de:0)+J)+H;a.style.height=le+"px",h.scrollTop=G-Z+h.offsetTop}a.style.margin=`${pt}px 0`,a.style.minHeight=F+"px",a.style.maxHeight=E+"px",n?.(),requestAnimationFrame(()=>v.current=!0)}},[p,s.trigger,s.valueNode,a,d,h,y,x,s.dir,n]);Ve(()=>w(),[w]);const[P,C]=u.useState();Ve(()=>{d&&C(window.getComputedStyle(d).zIndex)},[d]);const S=u.useCallback(N=>{N&&g.current===!0&&(w(),b?.(),g.current=!1)},[w,b]);return c.jsx(qP,{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}})})})});bm.displayName=NP;var kP="SelectPopperPosition",gi=u.forwardRef((e,t)=>{const{__scopeSelect:r,align:n="start",collisionPadding:o=pt,...s}=e,i=Ho(r);return c.jsx(Qi,{...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)"}})});gi.displayName=kP;var[qP,va]=Br(mr,{}),bi="SelectViewport",xm=u.forwardRef((e,t)=>{const{__scopeSelect:r,nonce:n,...o}=e,s=tr(bi,r),i=va(bi,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(Vo.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:p}=i;if(p?.current&&m){const v=Math.abs(l.current-f.scrollTop);if(v>0){const g=window.innerHeight-pt*2,h=parseFloat(m.style.minHeight),y=parseFloat(m.style.height),x=Math.max(h,y);if(x<g){const b=x+v,w=Math.min(g,b),P=b-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})})})]})});xm.displayName=bi;var ym="SelectGroup",[jP,EP]=Br(ym),wm=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=vr();return c.jsx(jP,{scope:r,id:o,children:c.jsx(ye.div,{role:"group","aria-labelledby":o,...n,ref:t})})});wm.displayName=ym;var Pm="SelectLabel",Cm=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=EP(Pm,r);return c.jsx(ye.div,{id:o.id,...n,ref:t})});Cm.displayName=Pm;var uo="SelectItem",[RP,Sm]=Br(uo),Nm=u.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:s,...i}=e,a=er(uo,r),l=tr(uo,r),d=a.value===n,[f,m]=u.useState(s??""),[p,v]=u.useState(!1),g=Re(t,b=>l.itemRefCallback?.(b,n,o)),h=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(RP,{scope:r,value:n,disabled:o,textId:h,isSelected:d,onItemTextChange:u.useCallback(b=>{m(w=>w||(b?.textContent??"").trim())},[]),children:c.jsx(Vo.ItemSlot,{scope:r,value:n,disabled:o,textValue:f,children:c.jsx(ye.div,{role:"option","aria-labelledby":h,"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:g,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,b=>{y.current=b.pointerType}),onPointerMove:pe(i.onPointerMove,b=>{y.current=b.pointerType,o?l.onItemLeave?.():y.current==="mouse"&&b.currentTarget.focus({preventScroll:!0})}),onPointerLeave:pe(i.onPointerLeave,b=>{b.currentTarget===document.activeElement&&l.onItemLeave?.()}),onKeyDown:pe(i.onKeyDown,b=>{l.searchRef?.current!==""&&b.key===" "||(vP.includes(b.key)&&x(),b.key===" "&&b.preventDefault())})})})})});Nm.displayName=uo;var Qr="SelectItemText",km=u.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,...s}=e,i=er(Qr,r),a=tr(Qr,r),l=Sm(Qr,r),d=yP(Qr,r),[f,m]=u.useState(null),p=Re(t,x=>m(x),l.onItemTextChange,x=>a.itemTextRefCallback?.(x,l.value,l.disabled)),v=f?.textContent,g=u.useMemo(()=>c.jsx("option",{value:l.value,disabled:l.disabled,children:v},l.value),[l.disabled,l.value,v]),{onNativeOptionAdd:h,onNativeOptionRemove:y}=d;return Ve(()=>(h(g),()=>y(g)),[h,y,g]),c.jsxs(c.Fragment,{children:[c.jsx(ye.span,{id:l.textId,...s,ref:p}),l.isSelected&&i.valueNode&&!i.valueNodeHasChildren?fn.createPortal(s.children,i.valueNode):null]})});km.displayName=Qr;var qm="SelectItemIndicator",jm=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return Sm(qm,r).isSelected?c.jsx(ye.span,{"aria-hidden":!0,...n,ref:t}):null});jm.displayName=qm;var xi="SelectScrollUpButton",Em=u.forwardRef((e,t)=>{const r=tr(xi,e.__scopeSelect),n=va(xi,e.__scopeSelect),[o,s]=u.useState(!1),i=Re(t,n.onScrollButtonChange);return Ve(()=>{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(Am,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:l}=r;a&&l&&(a.scrollTop=a.scrollTop-l.offsetHeight)}}):null});Em.displayName=xi;var yi="SelectScrollDownButton",Rm=u.forwardRef((e,t)=>{const r=tr(yi,e.__scopeSelect),n=va(yi,e.__scopeSelect),[o,s]=u.useState(!1),i=Re(t,n.onScrollButtonChange);return Ve(()=>{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(Am,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:l}=r;a&&l&&(a.scrollTop=a.scrollTop+l.offsetHeight)}}):null});Rm.displayName=yi;var Am=u.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=e,s=tr("SelectScrollButton",r),i=u.useRef(null),a=zo(r),l=u.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return u.useEffect(()=>()=>l(),[l]),Ve(()=>{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()})})}),AP="SelectSeparator",Im=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return c.jsx(ye.div,{"aria-hidden":!0,...n,ref:t})});Im.displayName=AP;var wi="SelectArrow",IP=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=Ho(r),s=er(wi,r),i=tr(wi,r);return s.open&&i.position==="popper"?c.jsx(Zi,{...o,...n,ref:t}):null});IP.displayName=wi;var TP="SelectBubbleInput",Tm=u.forwardRef(({__scopeSelect:e,value:t,...r},n)=>{const o=u.useRef(null),s=Re(n,o),i=Io(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:{...Kd,...r.style},ref:s,defaultValue:t})});Tm.displayName=TP;function _m(e){return e===""||e===void 0}function Om(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 Mm(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=_P(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 _P(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var OP=lm,MP=um,LP=fm,DP=mm,FP=hm,BP=pm,$P=xm,VP=wm,zP=Cm,HP=Nm,UP=km,WP=jm,KP=Em,GP=Rm,YP=Im;const mc="data-scroll-locked",Lm=u.createContext({lockScroll:!1});function XP(e,t){(typeof window>"u"?u.useEffect:u.useLayoutEffect)(e,t)}function hc(){return document.querySelector('[role="listbox"][data-state="open"][data-ldkj-select-lock-scroll="false"]')!==null}function JP(e){XP(()=>{if(!e||typeof document>"u")return;const t=document.body,r=()=>{hc()&&t.removeAttribute(mc)},n=a=>{hc()&&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:[mc]}),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 Dm(e){const{lockScroll:t=!1,...r}=e;return JP(!t),c.jsx(Lm.Provider,{value:{lockScroll:t},children:c.jsx(OP,{...r})})}Dm.displayName="Select";const Fm=VP,QP=LP;function ZP(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 Bm(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 eC(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=se();return ee(e,t)}const $m=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(MP,{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(DP,{asChild:!0,children:c.jsx(Bm,{className:"h-4 w-4 shrink-0 text-slate-500"})})]})});$m.displayName="SelectTrigger";const ga=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=gr(o);return c.jsx(KP,{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(eC,{className:"h-4 w-4"})})});ga.displayName="SelectScrollUpButton";const ba=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=gr(o);return c.jsx(GP,{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(Bm,{className:"h-4 w-4"})})});ba.displayName="SelectScrollDownButton";const Vm=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(Lm);return c.jsx(FP,{children:c.jsxs(BP,{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(ga,{}),c.jsx($P,{className:R("p-1",s==="popper"&&"w-full min-w-[var(--radix-select-trigger-width)]"),children:o}),c.jsx(ba,{})]})})});Vm.displayName="SelectContent";const xa=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=gr(o);return c.jsx(zP,{ref:t,className:R("px-2 py-1.5 text-xs font-medium text-slate-500",a,r,n),style:D(s,l),...i})});xa.displayName="SelectLabel";const fo=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(HP,{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(WP,{children:c.jsx(ZP,{className:"h-4 w-4"})})}),c.jsx(UP,{children:o})]})});fo.displayName="SelectItem";const ya=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=gr(o);return c.jsx(YP,{ref:t,className:R("-mx-1 my-1 h-px bg-slate-200",a,r,n),style:D(s,l),...i})});ya.displayName="SelectSeparator";function tC(e){return"options"in e}function rC(e){const{options:t,itemProps:r,labelProps:n,separatorProps:o}=e;return c.jsx(c.Fragment,{children:t.map((s,i)=>tC(s)?c.jsxs(Fm,{children:[s.label?c.jsx(xa,{...n,children:s.label}):null,s.options.map(a=>c.jsx(fo,{...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(ya,{...o}):null]},`group-${i}`):c.jsx(fo,{...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 Uo="Switch",[nC]=xt(Uo),[oC,sC]=nC(Uo),zm=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,[p,v]=u.useState(null),g=Re(t,w=>v(w)),h=u.useRef(!1),y=p?f||!!p.closest("form"):!0,[x,b]=_t({prop:o,defaultProp:s??!1,onChange:d,caller:Uo});return c.jsxs(oC,{scope:r,checked:x,disabled:a,children:[c.jsx(ye.button,{type:"button",role:"switch","aria-checked":x,"aria-required":i,"data-state":Km(x),"data-disabled":a?"":void 0,disabled:a,value:l,...m,ref:g,onClick:pe(e.onClick,w=>{b(P=>!P),y&&(h.current=w.isPropagationStopped(),h.current||w.stopPropagation())})}),y&&c.jsx(Wm,{control:p,bubbles:!h.current,name:n,value:l,checked:x,required:i,disabled:a,form:f,style:{transform:"translateX(-100%)"}})]})});zm.displayName=Uo;var Hm="SwitchThumb",Um=u.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,o=sC(Hm,r);return c.jsx(ye.span,{"data-state":Km(o.checked),"data-disabled":o.disabled?"":void 0,...n,ref:t})});Um.displayName=Hm;var iC="SwitchBubbleInput",Wm=u.forwardRef(({__scopeSwitch:e,control:t,checked:r,bubbles:n=!0,...o},s)=>{const i=u.useRef(null),a=Re(i,s),l=Io(r),d=No(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 g=new Event("click",{bubbles:n});v.call(f,r),f.dispatchEvent(g)}},[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}})});Wm.displayName=iC;function Km(e){return e?"checked":"unchecked"}var aC=zm,lC=Um;const cC={sm:"h-5 w-9",md:"h-6 w-11",lg:"h-7 w-[52px]"},uC={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"},Gm=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:p="right",size:v="md",style:g,sx:h,"aria-describedby":y,...x}=e,b=se(),{sxClassName:w,sxInlineStyle:P}=ee(h,b),{sxClassName:C,sxInlineStyle:S}=ee(a,b),N=u.useId(),k=f??`ldkj-switch-${N}`,q=l===void 0?void 0:`${k}-description`,A=[y,q].filter(Boolean).join(" ")||void 0,j=c.jsx(aC,{ref:t,id:k,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",cC[v],w,r,n),style:D(g,P),...x,children:c.jsx(lC,{className:R("pointer-events-none block rounded-full bg-white shadow-sm ring-0 transition-transform","data-[state=unchecked]:translate-x-0",uC[v])})});if(m===void 0&&l===void 0)return j;const E=c.jsxs("span",{className:"flex min-w-0 flex-col gap-0.5",children:[m!==void 0?c.jsx(hi,{htmlFor:k,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:q,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:[p==="left"?E:null,j,p==="right"?E:null]})});Gm.displayName="Switch";function mo(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 Ym(e){const t=se();return ee(e,t)}function dC(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function Pi(e){return e==="center"?"justify-center text-center":e==="right"?"justify-end text-right":"justify-start text-left"}function fC(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 mC(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 hC(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 pc(){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 Xm(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:p,onConfirm:v,onOpenChange:g}=e,{sxClassName:h,sxInlineStyle:y}=Ym(m);if(u.useEffect(()=>{if(!t||typeof document>"u")return;const b=document.body.style.overflow;document.body.style.overflow="hidden";const w=P=>{P.key==="Escape"&&(p?.(),g?.(!1))};return document.addEventListener("keydown",w),()=>{document.body.style.overflow=b,document.removeEventListener("keydown",w)}},[p,g,t]),!t)return null;const x=()=>{p?.(),g?.(!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",h,l,d),style:D({maxHeight:dC(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 wa=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:p,onClear:v,...g}=e,{sxClassName:h,sxInlineStyle:y}=Ym(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",p&&"cursor-default",n&&o&&!m&&!p?"pr-16":"pr-9",h,a,l),style:D(d,y),disabled:m,"aria-haspopup":"dialog","aria-expanded":r,"aria-disabled":m||void 0,"aria-readonly":p||void 0,...g,children:[c.jsx("span",{className:R("min-w-0 flex-1 truncate",!o&&"text-slate-400"),children:o?i:s}),c.jsx(fC,{className:"absolute right-3 h-4 w-4 text-slate-500"})]}),n&&o&&!m&&!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:x=>x.preventDefault(),onClick:x=>{x.preventDefault(),x.stopPropagation(),v?.(x)},children:c.jsx(hC,{className:"h-3.5 w-3.5"})}):null]})});wa.displayName="MobileTrigger";function Jm(e){return"options"in e}function pC(e){return e.map(t=>Jm(t)?{type:"group",label:t.label,options:t.options,separator:t.separator}:{type:"plain",option:t})}function vC(e){const t=[];for(const r of e)Jm(r)?t.push(...r.options):t.push(r);return t}const Qm=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:p,clearable:v=!1,readOnly:g=!1,required:h,align:y="left",displayRender:x,renderOption:b,drawerClassName:w,drawerClass:P,drawerStyle:C,drawerSx:S,maxDrawerHeight:N,optionClassName:k,optionClass:q,optionStyle:A,optionSx:j,className:E,class:I,style:_,sx:O,disabled:T=!1,name:$,id:M,autoFocus:W,onClick:F,onFocus:X,onBlur:de,onKeyDown:te,...Z}=e,[K,J,B]=mo({value:n,defaultValue:o}),[G,H]=mo({value:i,defaultValue:a,onChange:l}),[U,Y]=u.useState(K),Q=u.useRef(null),le=se(),fe=u.useMemo(()=>vC(r),[r]),ve=u.useMemo(()=>pC(r),[r]),ge=u.useMemo(()=>fe.find(ue=>ue.value===K),[fe,K]),ie=u.useMemo(()=>fe.find(ue=>ue.value===U),[fe,U]),we=K!==""&&!!ge,qe=we?x?.(ge)??ge?.label:d;u.useEffect(()=>{G&&Y(K)},[G,K]);const Me=u.useCallback((ue,_e)=>{B||J(ue),s?.(ue,_e)},[s,J,B]),ne=u.useCallback(ue=>{T||g||(Y(""),Me("",{reason:"clear",event:ue}))},[Me,T,g]),Pe=u.useCallback(()=>{if(T||g){H(!1);return}if(!ie){H(!1);return}Me(ie.value,{reason:"select",option:ie}),H(!1)},[Me,T,ie,g,H]),Ce=u.useCallback(()=>{T||H(!0)},[T,H]);return u.useImperativeHandle(t,()=>({focus:()=>Q.current?.focus(),blur:()=>Q.current?.blur(),open:Ce,close:()=>H(!1),clear:()=>ne(),getValue:()=>K}),[ne,Ce,K,H]),c.jsxs(c.Fragment,{children:[c.jsx(wa,{ref:Q,id:M,open:G,clearable:v,hasValue:we,placeholder:d,display:qe,className:E,class:I,style:_,sx:O,disabled:T,readOnly:g,autoFocus:W,onClear:ne,onClick:ue=>{F?.(ue),Ce()},onFocus:X,onBlur:de,onKeyDown:ue=>{te?.(ue),!T&&((ue.key==="ArrowDown"||ue.key==="Enter")&&(ue.preventDefault(),Ce()),ue.key==="Escape"&&(ue.preventDefault(),H(!1)))},...Z}),c.jsx(Xm,{open:G,title:f,cancelText:m,confirmText:p,confirmDisabled:!ie||!!ie.disabled,maxHeight:N,className:w,class:P,style:C,sx:S,onCancel:()=>Y(K),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=U===he.value,me={active:re,checked:re,disabled:!!he.disabled},Se=ee([j,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",Pi(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,k,q,he.className,he.class),style:D(A,Se.sxInlineStyle,he.style),disabled:T||g||he.disabled,onClick:Te=>{Te.preventDefault(),Y(he.value)},children:c.jsx("span",{className:"min-w-0 truncate",children:b?b(he,me):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=U===he.value,me={active:re,checked:re,disabled:!!he.disabled},Se=ee([j,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",Pi(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,k,q,he.className,he.class),style:D(A,Se.sxInlineStyle,he.style),disabled:T||g||he.disabled,onClick:Te=>{Te.preventDefault(),Y(he.value)},children:c.jsx("span",{className:"min-w-0 truncate",children:b?b(he,me):he.label})},he.value)})})]},`group-${_e}`)})})})}),$?c.jsx("input",{type:"hidden",name:$,required:h,value:K}):null]})});Qm.displayName="MobileSelect";function Ur(e){return Array.isArray(e)?e.filter(t=>t!==""):[]}function gC(e){return Array.isArray(e)?e:[]}function $r(e,t){return e?.[t]??t}function bC(e,t){const r=$r(t,"value");return typeof e[r]=="string"?e[r]:e.value}function xC(e,t){const r=$r(t,"label");return e[r]??e.label??e.value??""}function yC(e,t){const r=$r(t,"children");return gC(e[r])}function wC(e,t){const r=$r(t,"disabled");return!!(e[r]??e.disabled)}function PC(e,t){const r=$r(t,"isLeaf"),n=e[r];return typeof n=="boolean"?n:e.isLeaf}function CC(e,t){const r=$r(t,"loading");return!!(e[r]??e.loading)}function SC(e,t){const r=bC(e,t);if(typeof r!="string"||r.length===0)return null;const n=yC(e,t),o=PC(e,t),s=typeof o=="boolean"?o:n.length===0;return{option:e,value:r,label:xC(e,t),children:n,disabled:wC(e,t),isLeaf:s,loading:CC(e,t)}}function Qn(e,t){const r=[];for(const n of e){const o=SC(n,t);o&&r.push(o)}return r}function Fn(e,t,r){const n=[],o=[];let s=e;for(const i of t){const a=Qn(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 NC(e,t,r){const n=[Qn(e,r)];let o=e;for(const s of t){const i=Qn(o,r).find(a=>a.value===s);if(!i||i.children.length===0)break;o=i.children,n.push(Qn(o,r))}return n}function ws(e,t){return t.every((r,n)=>e[n]===r)}function kC(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 qC(e){return`第${e+1}级`}const Zm=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:p,separator:v="/",displayRender:g,renderOption:h,fieldNames:y,changeOnSelect:x=!1,clearable:b=!1,readOnly:w=!1,required:P,loadData:C,align:S="left",levelLabels:N,drawerClassName:k,drawerClass:q,drawerStyle:A,drawerSx:j,maxDrawerHeight:E,optionClassName:I,optionClass:_,optionStyle:O,optionSx:T,className:$,class:M,style:W,sx:F,disabled:X=!1,name:de,id:te,autoFocus:Z,onClick:K,onFocus:J,onBlur:B,onKeyDown:G,...H}=e,U=n===void 0?void 0:Ur(n),[Y,Q,le]=mo({value:U,defaultValue:Ur(o)}),[fe,ve]=mo({value:i,defaultValue:a,onChange:l}),[ge,ie]=u.useState(()=>Ur(o)),[we,qe]=u.useState(0),[Me,ne]=u.useState(null),Pe=u.useRef(null),Ce=u.useRef(!0),ue=u.useRef(C),_e=se();u.useEffect(()=>()=>{Ce.current=!1},[]),u.useEffect(()=>{ue.current=C},[C]),u.useEffect(()=>{if(fe){const V=Ur(Y);ie(V),qe(Math.max(V.length-1,0))}},[fe,Y]);const he=u.useMemo(()=>Fn(r,Y,y),[y,r,Y]),re=he.matched.map(V=>V.option),me=u.useMemo(()=>Fn(r,ge,y),[y,r,ge]),Se=u.useMemo(()=>NC(r,ge,y),[y,r,ge]),Te=Math.min(we,Math.max(Se.length-1,0)),et=Se[Te]??[],Ke=me.matched[me.matched.length-1],ut=me.path.length===0||!!Ke?.disabled||!x&&!!Ke&&!Ke?.isLeaf&&(Ke?.children.length??0)>0,yt=u.useMemo(()=>he.labels.length>0?g?g(he.labels,re):kC(he.labels,v):d,[g,d,re,he.labels,v]),He=u.useCallback((V,z)=>{const ce=Fn(r,Ur(V),y);le||Q(ce.path),s?.(ce.path,{...z,path:ce.path,options:ce.matched.map(be=>be.option),labels:ce.labels})},[y,s,r,Q,le]),ot=u.useCallback(V=>{X||w||(ie([]),qe(0),He([],{reason:"clear",event:V}))},[He,X,w]),Ge=u.useCallback(()=>{if(X||w){ve(!1);return}ut||(He(me.path,{reason:"select",option:Ke?.option}),ve(!1))},[He,ut,X,Ke?.option,me.path,w,ve]),Lt=u.useCallback(async(V,z,ce)=>{if(X||w||V.disabled)return;const be=[...ge.slice(0,z),V.value],Ne=V.children.length>0,Ie=!V.isLeaf&&!Ne&&!!ue.current,tt=Ne||Ie,st=be.join("");if(ie(be),qe(tt?z+1:z),Ie&&ue.current){const dt=Fn(r,be,y);ne(st);try{await ue.current(dt.matched.map(mt=>mt.option),{option:V.option,path:be,options:r})}finally{Ce.current&&ne(mt=>mt===st?null:mt)}}x&&!tt&&ce.currentTarget.focus()},[x,X,y,r,ge,w]),Ye=u.useCallback(()=>{X||ve(!0)},[X,ve]);return u.useImperativeHandle(t,()=>({focus:()=>Pe.current?.focus(),blur:()=>Pe.current?.blur(),open:Ye,close:()=>ve(!1),clear:()=>ot(),getValue:()=>Y.slice()}),[ot,Ye,Y,ve]),c.jsxs(c.Fragment,{children:[c.jsx(wa,{ref:Pe,id:te,open:fe,clearable:b,hasValue:he.path.length>0,placeholder:d,display:yt,className:$,class:M,style:W,sx:F,disabled:X,readOnly:w,autoFocus:Z,onClear:ot,onClick:V=>{K?.(V),Ye()},onFocus:J,onBlur:B,onKeyDown:V=>{G?.(V),!X&&((V.key==="ArrowDown"||V.key==="Enter")&&(V.preventDefault(),Ye()),V.key==="Escape"&&(V.preventDefault(),ve(!1)))},...H}),c.jsx(Xm,{open:fe,title:f,cancelText:m,confirmText:p,confirmDisabled:ut,maxHeight:E,className:k,class:q,style:A,sx:j,onCancel:()=>{ie(Y),qe(Math.max(Y.length-1,0))},onConfirm:Ge,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((V,z)=>{const ce=Te===z,be=me.labels[z]??qC(z),Ne=N?.[z]??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:()=>qe(z),children:[Ne,ce?c.jsx("span",{className:"absolute bottom-0 left-3 right-3 h-0.5 rounded-full bg-blue-600"}):null]},`level-${z}`)})}),c.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto px-4 py-2",children:et.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(pc,{}),"加载中"]}):"暂无可选项"}):c.jsx("div",{className:"grid gap-1",children:et.map(V=>{const z=[...ge.slice(0,Te),V.value],ce=me.path.length===z.length&&ws(me.path,z),be=ws(me.path,z)||ws(z,me.path),Ne=Me===z.join("")||V.loading,Ie=V.children.length>0||!V.isLeaf&&!!ue.current&&!Ne,tt={active:be,checked:ce,disabled:V.disabled,hasChildren:Ie,isLeaf:V.isLeaf,level:Te,loading:Ne,path:z,selected:ce},st=ee([T,V.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",Pi(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",V.disabled&&"cursor-not-allowed bg-transparent text-slate-400 opacity-70 hover:bg-transparent hover:text-slate-400",st.sxClassName,I,_,V.option.className,V.option.class),style:D(O,st.sxInlineStyle,V.option.style),disabled:X||w||V.disabled,onClick:dt=>{dt.preventDefault(),Lt(V,Te,dt)},children:[c.jsx("span",{className:"min-w-0 flex-1 truncate",children:h?h(V.option,tt):V.label}),Ne?c.jsx(pc,{}):Ie?c.jsx(mC,{className:R("h-4 w-4 shrink-0",ce?"text-white":"text-slate-400")}):null]},z.join(""))})})})]})}),de?c.jsx("input",{type:"hidden",name:de,required:P,value:Y.length>0?JSON.stringify(Y):""}):null]})});Zm.displayName="MobileCascader";function jC(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 EC(){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 ke(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:p=!1,modalContent:v,onModalMaskClick:g,children:h,...y}=e,x=t??"div",b=se(),{roundedPreset:w,roundedStyle:P}=hr(n),{shadowPreset:C,shadowStyle:S}=mn(o),N=jC(()=>{s?.()},i),{sxClassName:k,sxInlineStyle:q}=ee(r,b),j=(f||p)&&a?.position===void 0?{position:"relative"}:void 0;return c.jsxs(x,{className:R(w&&Yt[w],C&&_r[C],k,l,d),style:D(a,P,S,j,q),"aria-busy":f||void 0,...s?N:void 0,...y,children:[h,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(EC,{})}):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:g,children:c.jsx("div",{className:"box-modal-content max-w-full rounded-lg bg-white p-4 shadow-lg",onClick:E=>E.stopPropagation(),children:v})}):null]})}ke.displayName="Box";const vc={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"},gc={elevated:"md"},RC={none:"p-0",sm:"p-3",md:"p-4",lg:"p-6"};function Zr(e){return e!=null}function AC(e){let t=!1;return u.Children.forEach(e,r=>{u.isValidElement(r)&&IC(r.type)&&(t=!0)}),t}function IC(e){return e===eh||e===th||e===rh||e===nh||e===oh||e===sh||e===ih}function Bn(e,t){return e===!0||e===t}function Ps(e){return RC[e]}function bc(e,t){return Zr(e)?e:t}function xc(e,t){return e??t}const eh=e=>c.jsx(ke,{...e,"data-card-slot":"header"}),th=e=>c.jsx(ke,{...e,"data-card-slot":"content"}),rh=e=>c.jsx(ke,{...e,"data-card-slot":"footer"}),nh=e=>c.jsx(ke,{...e,"data-card-slot":"left"}),oh=e=>c.jsx(ke,{...e,"data-card-slot":"right"}),sh=e=>c.jsx(ke,{...e,"data-card-slot":"start"}),ih=e=>c.jsx(ke,{...e,"data-card-slot":"end"});function TC(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:p,contentLoading:v=!1,headerProps:g,footerProps:h,leftProps:y,rightProps:x,startProps:b,endProps:w,contentProps:P,children:C,className:S,style:N,rounded:k="lg",shadow:q,onClick:A,...j}=e,E=bc(d,m),I=bc(f,p),_=xc(y,b),O=xc(x,w),T=AC(C),{className:$,style:M,loading:W,...F}=P??{};return T?c.jsx(ke,{rounded:k,shadow:q??gc[t],className:R("card flex overflow-hidden",vc[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,...j,children:C}):c.jsxs(ke,{rounded:k,shadow:q??gc[t],className:R("card flex overflow-hidden",vc[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,...j,children:[Zr(E)?c.jsx(ke,{..._,className:R("card-left shrink-0",Bn(n,"x")&&"border-r border-gray-100",_?.className),children:E}):null,c.jsxs(ke,{className:"card-main flex min-w-0 flex-1 flex-col",children:[Zr(a)?c.jsx(ke,{...g,className:R("card-header",Ps(r),Bn(n,"y")&&"border-b border-gray-100",g?.className),children:a}):null,c.jsx(ke,{...F,className:R("card-content min-w-0 flex-1",Ps(r),$),style:M,loading:v||W,children:C}),Zr(l)?c.jsx(ke,{...h,className:R("card-footer",Ps(r),Bn(n,"y")&&"border-t border-gray-100",h?.className),children:l}):null]}),Zr(I)?c.jsx(ke,{...O,className:R("card-right shrink-0",Bn(n,"x")&&"border-l border-gray-100",O?.className),children:I}):null]})}const Mt=Object.assign(TC,{Header:eh,Content:th,Footer:rh,Left:nh,Right:oh,Start:sh,End:ih});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 _C(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:p,children:v,...g}=m,h=p?.[e]?.[l]||a,y=u.useMemo(()=>g,Object.values(g));return c.jsx(h.Provider,{value:y,children:v})};d.displayName=s+"Provider";function f(m,p){const v=p?.[e]?.[l]||a,g=u.useContext(v);if(g)return g;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,OC(o,...t)]}function OC(...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 MC(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var $n={exports:{}},Cs={};var yc;function LC(){if(yc)return Cs;yc=1;var e=Oe;function t(m,p){return m===p&&(m!==0||1/m===1/p)||m!==m&&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(m,p){var v=p(),g=n({inst:{value:v,getSnapshot:p}}),h=g[0].inst,y=g[1];return s(function(){h.value=v,h.getSnapshot=p,l(h)&&y({inst:h})},[m,v,p]),o(function(){return l(h)&&y({inst:h}),m(function(){l(h)&&y({inst:h})})},[m]),i(v),v}function l(m){var p=m.getSnapshot;m=m.value;try{var v=p();return!r(m,v)}catch{return!0}}function d(m,p){return p()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?d:a;return Cs.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:f,Cs}var Ss={};var wc;function DC(){return wc||(wc=1,process.env.NODE_ENV!=="production"&&(function(){function e(v,g){return v===g&&(v!==0||1/v===1/g)||v!==v&&g!==g}function t(v,g){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 h=g();if(!m){var y=g();s(h,y)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),m=!0)}y=i({inst:{value:h,getSnapshot:g}});var x=y[0].inst,b=y[1];return l(function(){x.value=h,x.getSnapshot=g,r(x)&&b({inst:x})},[v,h,g]),a(function(){return r(x)&&b({inst:x}),v(function(){r(x)&&b({inst:x})})},[v]),d(h),h}function r(v){var g=v.getSnapshot;v=v.value;try{var h=g();return!s(v,h)}catch{return!0}}function n(v,g){return g()}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,p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:t;Ss.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())})()),Ss}var Pc;function FC(){return Pc||(Pc=1,process.env.NODE_ENV==="production"?$n.exports=LC():$n.exports=DC()),$n.exports}var BC=FC();function $C(){return BC.useSyncExternalStore(VC,()=>!0,()=>!1)}function VC(){return()=>{}}var Pa="Avatar",[zC]=_C(Pa),[HC,ah]=zC(Pa),lh=u.forwardRef((e,t)=>{const{__scopeAvatar:r,...n}=e,[o,s]=u.useState("idle");return c.jsx(HC,{scope:r,imageLoadingStatus:o,onImageLoadingStatusChange:s,children:c.jsx(_o.span,{...n,ref:t})})});lh.displayName=Pa;var ch="AvatarImage",uh=u.forwardRef((e,t)=>{const{__scopeAvatar:r,src:n,onLoadingStatusChange:o=()=>{},...s}=e,i=ah(ch,r),a=UC(n,s),l=At(d=>{o(d),i.onImageLoadingStatusChange(d)});return Ve(()=>{a!=="idle"&&l(a)},[a,l]),a==="loaded"?c.jsx(_o.img,{...s,ref:t,src:n}):null});uh.displayName=ch;var dh="AvatarFallback",fh=u.forwardRef((e,t)=>{const{__scopeAvatar:r,delayMs:n,...o}=e,s=ah(dh,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(_o.span,{...o,ref:t}):null});fh.displayName=dh;function Cc(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function UC(e,{referrerPolicy:t,crossOrigin:r}){const n=$C(),o=u.useRef(null),s=n?(o.current||(o.current=new window.Image),o.current):null,[i,a]=u.useState(()=>Cc(s,e));return Ve(()=>{a(Cc(s,e))},[s,e]),Ve(()=>{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 WC=lh,KC=uh,GC=fh;const mh={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 YC(e){if(e!==void 0){if(typeof e=="number")return`${e}px`;if(!(typeof e=="string"&&e in mh))return e}}const hh=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:m,sxInlineStyle:p}=ee(o,f),{roundedPreset:v,roundedStyle:g}=hr(a),{shadowPreset:h,shadowStyle:y}=mn(l),x=YC(i);return c.jsx(WC,{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"?mh[i]:null,v?Yt[v]:null,h?_r[h]:null,m,r,n),style:D(s,g,y,x?{width:x,height:x}:void 0,p),...d})}),Ca=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,a=se(),{sxClassName:l,sxInlineStyle:d}=ee(o,a);return c.jsx(KC,{ref:t,className:R("avatar-image h-full w-full object-cover",l,r,n),style:D(s,d),...i})}),Sa=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,a=se(),{sxClassName:l,sxInlineStyle:d}=ee(o,a);return c.jsx(GC,{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})}),ph=Object.assign(hh,{Image:Ca,Fallback:Sa});hh.displayName="Avatar";Ca.displayName="Avatar.Image";Sa.displayName="Avatar.Fallback";ph.displayName="Avatar";const vh=vu("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:_r},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 gh(e){const{component:t,variant:r,outline:n,size:o,rounded:s,shadow:i,sx:a,style:l,className:d,class:f,...m}=e,p=t??"span",{roundedPreset:v,roundedStyle:g}=hr(s),{shadowPreset:h,shadowStyle:y}=mn(i),x=se(),{sxClassName:b,sxInlineStyle:w}=ee(a,x);return c.jsx(p,{className:R(vh({variant:r,outline:n,size:o,rounded:v,shadow:h}),b,d,f),style:D(l,g,y,w),...m})}gh.displayName="Chip";const Sc={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"},XC={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 JC(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",...p}=e,v=se(),{sxClassName:g,sxInlineStyle:h}=ee(n,v),y=typeof s=="number"?s:null,x=y===0&&!d,b=y!==null?y>f?`${f}+`:String(y):s,w=a?Sc[m]:l?XC[m]:Sc[m];return c.jsxs("span",{className:R("relative inline-flex",t,r),style:D(o,h),...p,children:[i,!x&&(a||b!==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",g),children:a?null:b}):null]})}function QC(e){const{className:t,class:r,sx:n,style:o,bordered:s=!1,...i}=e,a=se(),{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 ZC(e){const{description:t="暂无数据",image:r,children:n,className:o,class:s,...i}=e;return c.jsxs(ke,{...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 Nc(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function eS(e){if(e!==void 0)return typeof e=="number"?String(e):e}function Wr(e,t,r){return Math.min(r,Math.max(t,e))}function tS(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 rS(e){return Array.from(new Set(e.filter(t=>Number.isFinite(t)&&t>0)))}function nS(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 bh=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:p,placeholder:v,blurDataURL:g,retry:h=0,retryDelay:y=800,onLoadingChange:x,loader:b,quality:w,format:P,crop:C=!1,alt:S,src:N,width:k,height:q,sizes:A,loading:j,decoding:E,onLoad:I,onError:_,sources:O,formats:T,responsiveWidths:$,preview:M=!1,children:W,...F}=t,X=se(),{sxClassName:de,sxInlineStyle:te}=ee(s,X),[Z,K]=u.useState(N?"loading":"idle"),[J,B]=u.useState(N),[G,H]=u.useState(!1),[U,Y]=u.useState(1),[Q,le]=u.useState({x:0,y:0}),[fe,ve]=u.useState(!1),ge=u.useRef(0),ie=u.useRef(null),we=u.useRef(null),qe=u.useRef(null),Me=u.useRef(null);u.useEffect(()=>{ge.current=0,B(N),K(N?"loading":"idle"),H(!1),Y(1),le({x:0,y:0}),ve(!1)},[N]),u.useEffect(()=>{x?.(Z==="loading")},[x,Z]),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(!G)return;Me.current=document.activeElement,qe.current?.focus();const V=ce=>{if(ce.key==="Escape"){H(!1),Y(1),le({x:0,y:0}),ve(!1);return}if(ce.key==="+"||ce.key==="="){Y(be=>Wr(Number((be+.2).toFixed(2)),1,4));return}if(ce.key==="-"||ce.key==="_"){Y(be=>Wr(Number((be-.2).toFixed(2)),1,4));return}ce.key==="0"&&(Y(1),le({x:0,y:0}))},z=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",V),()=>{document.body.style.overflow=z,window.removeEventListener("keydown",V),Me.current?.focus?.()}},[G]),u.useEffect(()=>{if(!G||!fe)return;const V=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})},z=()=>{ve(!1),we.current=null};return window.addEventListener("mousemove",V),window.addEventListener("mouseup",z),()=>{window.removeEventListener("mousemove",V),window.removeEventListener("mouseup",z)}},[G,fe]);const ne=typeof k=="number"?k:void 0,Pe=typeof q=="number"?q:void 0,Ce=u.useMemo(()=>{const V=$??[],z=ne?[...V,ne]:V;return rS(z).sort((ce,be)=>ce-be)},[$,ne]),ue=u.useCallback((V,z,ce)=>b?b(V,{width:ce??ne,height:Pe,quality:w,format:z??P,crop:C}):nS(V,{width:ce??ne,height:Pe,crop:C}),[b,ne,Pe,w,P,C]),_e=J&&ue(J),he=u.useMemo(()=>{if(!J||!T?.length)return[];const V=[];for(const z of T){const ce=tS(J,z);if(!ce)continue;if(b&&Ce.length){const Ne=Ce.map(Ie=>`${ue(ce,z,Ie)} ${Ie}w`).join(", ");V.push({type:`image/${z}`,srcSet:Ne,sizes:A});continue}const be=ue(ce,z);!be||be===_e||V.push({type:`image/${z}`,srcSet:be,sizes:A})}return V},[J,T,ue,_e,A,b,Ce]),re=u.useMemo(()=>!b||!J||!Ce.length?null:{srcSet:Ce.map(z=>`${ue(J,P,z)} ${z}w`).join(", "),sizes:A},[b,J,Ce,ue,P,A]),me=u.useMemo(()=>{const z=[...O??[]];return he.length&&z.push(...he),re&&z.push(re),z},[O,he,re]),Se=Z==="loading"&&d,Te=Z==="loading"&&v==="blur"&&!!g,et=Z==="error"&&a,Ke=M&&Z==="loaded"&&!!_e&&!et,ut={status:Z,loading:Z==="loading",error:Z==="error",loaded:Z==="loaded",previewOpen:G,src:_e??void 0},yt=D({width:Nc(k),height:p?void 0:Nc(q),aspectRatio:eS(p),backgroundImage:Te?`url(${g})`:void 0,backgroundSize:Te?"cover":void 0,backgroundPosition:Te?"center":void 0},i,te),He={width:"100%",height:p||q!==void 0?"100%":"auto",objectFit:f,objectPosition:m,opacity:Te?0:void 0,transition:Te?"opacity 180ms ease":void 0,cursor:Ke?"zoom-in":void 0},ot={transform:`translate(${Q.x}px, ${Q.y}px) scale(${U})`,transition:fe?void 0:"transform 120ms ease",cursor:U>1?fe?"grabbing":"grab":"zoom-in",transformOrigin:"center center"},Ge=V=>{if(ge.current<h&&J){ge.current+=1,ie.current=setTimeout(()=>{const z=J.includes("?")?"&":"?";B(`${J}${z}ldkj_retry=${ge.current}`),K("loading")},y),_?.(V);return}if(l&&J!==l){B(l),K("loading"),_?.(V);return}K("error"),_?.(V)},Lt=u.useCallback(()=>{H(!1),Y(1),le({x:0,y:0}),ve(!1)},[]),Ye=V=>{V.preventDefault(),V.stopPropagation();const z=V.deltaY<0?.2:-.2;Y(ce=>Wr(Number((ce+z).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",de,n,o),style:yt,children:[et?a:me.length?c.jsxs("picture",{children:[me.map((V,z)=>c.jsx("source",{media:V.media,srcSet:V.srcSet,type:V.type,sizes:V.sizes},`${V.type??"source"}-${z}`)),c.jsx("img",{ref:r,alt:S,src:_e,width:k,height:q,sizes:A,loading:j??"lazy",decoding:E??"async",onLoad:V=>{K("loaded"),I?.(V)},onError:Ge,onClick:()=>{Ke&&(H(!0),Y(1),le({x:0,y:0}))},className:"block max-w-full",style:He,...F})]}):c.jsx("img",{ref:r,alt:S,src:_e,width:k,height:q,sizes:A,loading:j??"lazy",decoding:E??"async",onLoad:V=>{K("loaded"),I?.(V)},onError:Ge,onClick:()=>{Ke&&(H(!0),Y(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,W?c.jsx("span",{className:"pointer-events-none absolute inset-0",children:W(ut)}):null]}),G&&_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:ot,onClick:V=>V.stopPropagation(),onMouseDown:V=>{U<=1||(V.preventDefault(),V.stopPropagation(),we.current={x:V.clientX,y:V.clientY,offsetX:Q.x,offsetY:Q.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:V=>{V.stopPropagation(),Y(z=>Wr(z-.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:V=>{V.stopPropagation(),Y(z=>Wr(z+.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:V=>{V.stopPropagation(),Y(1),le({x:0,y:0})},children:"重置"}),c.jsx("button",{ref:qe,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:V=>{V.stopPropagation(),Lt()},children:"关闭"})]})]}):null]})});bh.displayName="Image";var Sr={},Ns,kc;function oS(){return kc||(kc=1,Ns=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),Ns}var ks={},$t={},qc;function br(){if(qc)return $t;qc=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 qs={},jc;function Na(){return jc||(jc=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}}})(qs)),qs}var js,Ec;function sS(){if(Ec)return js;Ec=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++}},js=e,js}var Es,Rc;function iS(){if(Rc)return Es;Rc=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]},Es=e,Es}var Rs={},Ac;function aS(){return Ac||(Ac=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}})(Rs)),Rs}var As={},Ic;function lS(){if(Ic)return As;Ic=1;const e=br().getSymbolSize,t=7;return As.getPositions=function(n){const o=e(n);return[[0,0],[o-t,0],[0,o-t]]},As}var Is={},Tc;function cS(){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 m=0;m<s;m++){a=l=0,d=f=null;for(let p=0;p<s;p++){let v=o.get(m,p);v===d?a++:(a>=5&&(i+=t.N1+(a-5)),d=v,a=1),v=o.get(p,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}})(Is)),Is}var Vn={},_c;function xh(){if(_c)return Vn;_c=1;const e=Na(),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 Vn.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}},Vn.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}},Vn}var Ts={},Kr={},Oc;function uS(){if(Oc)return Kr;Oc=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]})(),Kr.log=function(n){if(n<1)throw new Error("log("+n+")");return t[n]},Kr.exp=function(n){return e[n]},Kr.mul=function(n,o){return n===0||o===0?0:e[t[n]+t[o]]},Kr}var Mc;function dS(){return Mc||(Mc=1,(function(e){const t=uS();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}})(Ts)),Ts}var _s,Lc;function fS(){if(Lc)return _s;Lc=1;const e=dS();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},_s=t,_s}var Os={},Ms={},Ls={},Dc;function yh(){return Dc||(Dc=1,Ls.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),Ls}var Pt={},Fc;function wh(){if(Fc)return Pt;Fc=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 Bc;function xr(){return Bc||(Bc=1,(function(e){const t=yh(),r=wh();e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(s,i){if(!s.ccBits)throw new Error("Invalid mode: "+s);if(!t.isValid(i))throw new Error("Invalid version: "+i);return i>=1&&i<10?s.ccBits[0]:i<27?s.ccBits[1]:s.ccBits[2]},e.getBestModeForData=function(s){return r.testNumeric(s)?e.NUMERIC:r.testAlphanumeric(s)?e.ALPHANUMERIC:r.testKanji(s)?e.KANJI:e.BYTE},e.toString=function(s){if(s&&s.id)return s.id;throw new Error("Invalid mode")},e.isValid=function(s){return s&&s.bit&&s.ccBits};function n(o){if(typeof o!="string")throw new Error("Param is not a string");switch(o.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+o)}}e.from=function(s,i){if(e.isValid(s))return s;try{return n(s)}catch{return i}}})(Ms)),Ms}var $c;function mS(){return $c||($c=1,(function(e){const t=br(),r=xh(),n=Na(),o=xr(),s=yh(),i=7973,a=t.getBCHDigit(i);function l(p,v,g){for(let h=1;h<=40;h++)if(v<=e.getCapacity(h,g,p))return h}function d(p,v){return o.getCharCountIndicator(p,v)+4}function f(p,v){let g=0;return p.forEach(function(h){const y=d(h.mode,v);g+=y+h.getBitsLength()}),g}function m(p,v){for(let g=1;g<=40;g++)if(f(p,g)<=e.getCapacity(g,v,o.MIXED))return g}e.from=function(v,g){return s.isValid(v)?parseInt(v,10):g},e.getCapacity=function(v,g,h){if(!s.isValid(v))throw new Error("Invalid QR Code version");typeof h>"u"&&(h=o.BYTE);const y=t.getSymbolTotalCodewords(v),x=r.getTotalCodewordsCount(v,g),b=(y-x)*8;if(h===o.MIXED)return b;const w=b-d(h,v);switch(h){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,g){let h;const y=n.from(g,n.M);if(Array.isArray(v)){if(v.length>1)return m(v,y);if(v.length===0)return 1;h=v[0]}else h=v;return l(h.mode,h.getLength(),y)},e.getEncodedBits=function(v){if(!s.isValid(v)||v<7)throw new Error("Invalid QR Code version");let g=v<<12;for(;t.getBCHDigit(g)-a>=0;)g^=i<<t.getBCHDigit(g)-a;return v<<12|g}})(Os)),Os}var Ds={},Vc;function hS(){if(Vc)return Ds;Vc=1;const e=br(),t=1335,r=21522,n=e.getBCHDigit(t);return Ds.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},Ds}var Fs={},Bs,zc;function pS(){if(zc)return Bs;zc=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))},Bs=t,Bs}var $s,Hc;function vS(){if(Hc)return $s;Hc=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)},$s=r,$s}var Vs,Uc;function gS(){if(Uc)return Vs;Uc=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)},Vs=t,Vs}var zs,Wc;function bS(){if(Wc)return zs;Wc=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)}},zs=r,zs}var Hs={exports:{}},Kc;function xS(){return Kc||(Kc=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,p,v,g,h,y;!a.empty();){l=a.pop(),d=l.value,m=l.cost,p=r[d]||{};for(f in p)p.hasOwnProperty(f)&&(v=p[f],g=m+v,h=i[f],y=typeof i[f]>"u",(y||h>g)&&(i[f]=g,a.push(f,g),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})(Hs)),Hs.exports}var Gc;function yS(){return Gc||(Gc=1,(function(e){const t=xr(),r=pS(),n=vS(),o=gS(),s=bS(),i=wh(),a=br(),l=xS();function d(x){return unescape(encodeURIComponent(x)).length}function f(x,b,w){const P=[];let C;for(;(C=x.exec(w))!==null;)P.push({data:C[0],index:C.index,mode:b,length:C[0].length});return P}function m(x){const b=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=[]),b.concat(w,P,C).sort(function(N,k){return N.index-k.index}).map(function(N){return{data:N.data,mode:N.mode,length:N.length}})}function p(x,b){switch(b){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(b,w){const P=b.length-1>=0?b[b.length-1]:null;return P&&P.mode===w.mode?(b[b.length-1].data+=w.data,b):(b.push(w),b)},[])}function g(x){const b=[];for(let w=0;w<x.length;w++){const P=x[w];switch(P.mode){case t.NUMERIC:b.push([P,{data:P.data,mode:t.ALPHANUMERIC,length:P.length},{data:P.data,mode:t.BYTE,length:P.length}]);break;case t.ALPHANUMERIC:b.push([P,{data:P.data,mode:t.BYTE,length:P.length}]);break;case t.KANJI:b.push([P,{data:P.data,mode:t.BYTE,length:d(P.data)}]);break;case t.BYTE:b.push([{data:P.data,mode:t.BYTE,length:d(P.data)}])}}return b}function h(x,b){const w={},P={start:{}};let C=["start"];for(let S=0;S<x.length;S++){const N=x[S],k=[];for(let q=0;q<N.length;q++){const A=N[q],j=""+S+q;k.push(j),w[j]={node:A,lastCount:0},P[j]={};for(let E=0;E<C.length;E++){const I=C[E];w[I]&&w[I].node.mode===A.mode?(P[I][j]=p(w[I].lastCount+A.length,A.mode)-p(w[I].lastCount,A.mode),w[I].lastCount+=A.length):(w[I]&&(w[I].lastCount=A.length),P[I][j]=p(A.length,A.mode)+4+t.getCharCountIndicator(A.mode,b))}}C=k}for(let S=0;S<C.length;S++)P[C[S]].end=0;return{map:P,table:w}}function y(x,b){let w;const P=t.getBestModeForData(x);if(w=t.from(b,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(b){return b.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(b,w){const P=m(b,a.isKanjiModeEnabled()),C=g(P),S=h(C,w),N=l.find_path(S.map,"start","end"),k=[];for(let q=1;q<N.length-1;q++)k.push(S.table[N[q]].node);return e.fromArray(v(k))},e.rawSplit=function(b){return e.fromArray(m(b,a.isKanjiModeEnabled()))}})(Fs)),Fs}var Yc;function wS(){if(Yc)return ks;Yc=1;const e=br(),t=Na(),r=sS(),n=iS(),o=aS(),s=lS(),i=cS(),a=xh(),l=fS(),d=mS(),f=hS(),m=xr(),p=yS();function v(S,N){const k=S.size,q=s.getPositions(N);for(let A=0;A<q.length;A++){const j=q[A][0],E=q[A][1];for(let I=-1;I<=7;I++)if(!(j+I<=-1||k<=j+I))for(let _=-1;_<=7;_++)E+_<=-1||k<=E+_||(I>=0&&I<=6&&(_===0||_===6)||_>=0&&_<=6&&(I===0||I===6)||I>=2&&I<=4&&_>=2&&_<=4?S.set(j+I,E+_,!0,!0):S.set(j+I,E+_,!1,!0))}}function g(S){const N=S.size;for(let k=8;k<N-8;k++){const q=k%2===0;S.set(k,6,q,!0),S.set(6,k,q,!0)}}function h(S,N){const k=o.getPositions(N);for(let q=0;q<k.length;q++){const A=k[q][0],j=k[q][1];for(let E=-2;E<=2;E++)for(let I=-2;I<=2;I++)E===-2||E===2||I===-2||I===2||E===0&&I===0?S.set(A+E,j+I,!0,!0):S.set(A+E,j+I,!1,!0)}}function y(S,N){const k=S.size,q=d.getEncodedBits(N);let A,j,E;for(let I=0;I<18;I++)A=Math.floor(I/3),j=I%3+k-8-3,E=(q>>I&1)===1,S.set(A,j,E,!0),S.set(j,A,E,!0)}function x(S,N,k){const q=S.size,A=f.getEncodedBits(N,k);let j,E;for(j=0;j<15;j++)E=(A>>j&1)===1,j<6?S.set(j,8,E,!0):j<8?S.set(j+1,8,E,!0):S.set(q-15+j,8,E,!0),j<8?S.set(8,q-j-1,E,!0):j<9?S.set(8,15-j-1+1,E,!0):S.set(8,15-j-1,E,!0);S.set(q-8,8,1,!0)}function b(S,N){const k=S.size;let q=-1,A=k-1,j=7,E=0;for(let I=k-1;I>0;I-=2)for(I===6&&I--;;){for(let _=0;_<2;_++)if(!S.isReserved(A,I-_)){let O=!1;E<N.length&&(O=(N[E]>>>j&1)===1),S.set(A,I-_,O),j--,j===-1&&(E++,j=7)}if(A+=q,A<0||k<=A){A-=q,q=-q;break}}}function w(S,N,k){const q=new r;k.forEach(function(_){q.put(_.mode.bit,4),q.put(_.getLength(),m.getCharCountIndicator(_.mode,S)),_.write(q)});const A=e.getSymbolTotalCodewords(S),j=a.getTotalCodewordsCount(S,N),E=(A-j)*8;for(q.getLengthInBits()+4<=E&&q.put(0,4);q.getLengthInBits()%8!==0;)q.putBit(0);const I=(E-q.getLengthInBits())/8;for(let _=0;_<I;_++)q.put(_%2?17:236,8);return P(q,S,N)}function P(S,N,k){const q=e.getSymbolTotalCodewords(N),A=a.getTotalCodewordsCount(N,k),j=q-A,E=a.getBlocksCount(N,k),I=q%E,_=E-I,O=Math.floor(q/E),T=Math.floor(j/E),$=T+1,M=O-T,W=new l(M);let F=0;const X=new Array(E),de=new Array(E);let te=0;const Z=new Uint8Array(S.buffer);for(let H=0;H<E;H++){const U=H<_?T:$;X[H]=Z.slice(F,F+U),de[H]=W.encode(X[H]),F+=U,te=Math.max(te,U)}const K=new Uint8Array(q);let J=0,B,G;for(B=0;B<te;B++)for(G=0;G<E;G++)B<X[G].length&&(K[J++]=X[G][B]);for(B=0;B<M;B++)for(G=0;G<E;G++)K[J++]=de[G][B];return K}function C(S,N,k,q){let A;if(Array.isArray(S))A=p.fromArray(S);else if(typeof S=="string"){let O=N;if(!O){const T=p.rawSplit(S);O=d.getBestVersionForData(T,k)}A=p.fromString(S,O||40)}else throw new Error("Invalid data");const j=d.getBestVersionForData(A,k);if(!j)throw new Error("The amount of data is too big to be stored in a QR Code");if(!N)N=j;else if(N<j)throw new Error(`
|
|
45
45
|
The chosen QR Code version cannot contain this amount of data.
|
|
46
|
-
Minimum version required to store current data is: `+
|
|
47
|
-
`);const
|
|
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;
|
|
46
|
+
Minimum version required to store current data is: `+j+`.
|
|
47
|
+
`);const E=w(N,k,A),I=e.getSymbolSize(N),_=new n(I);return v(_,N),g(_),h(_,N),x(_,k,0),N>=7&&y(_,N),b(_,E),isNaN(q)&&(q=i.getBestMask(_,x.bind(null,_,k))),i.applyMask(q,_),x(_,k,q),{modules:_,version:N,errorCorrectionLevel:k,maskPattern:q,segments:A}}return ks.create=function(N,k){if(typeof N>"u"||N==="")throw new Error("No input text");let q=t.M,A,j;return typeof k<"u"&&(q=t.from(k.errorCorrectionLevel,t.M),A=d.from(k.version),j=i.from(k.maskPattern),k.toSJISFunc&&e.setToSJISFunction(k.toSJISFunc)),C(N,A,q,j)},ks}var Us={},Ws={},Xc;function Ph(){return Xc||(Xc=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 p=0;p<d;p++)for(let v=0;v<d;v++){let g=(p*d+v)*4,h=s.color.light;if(p>=f&&v>=f&&p<d-f&&v<d-f){const y=Math.floor((p-f)/l),x=Math.floor((v-f)/l);h=m[a[y*i+x]?1:0]}n[g++]=h.r,n[g++]=h.g,n[g++]=h.b,n[g]=h.a}}})(Ws)),Ws}var Jc;function PS(){return Jc||(Jc=1,(function(e){const t=Ph();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"),p=m.createImageData(f,f);return t.qrToImageData(p.data,s,l),r(m,d,f),m.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",m=l.rendererOpts||{};return d.toDataURL(f,m.quality)}})(Us)),Us}var Ks={},Qc;function CS(){if(Qc)return Ks;Qc=1;const e=Ph();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 p=Math.floor(m%s),v=Math.floor(m/s);!p&&!d&&(d=!0),o[m]?(f++,m>0&&p>0&&o[m-1]||(a+=d?r("M",p+i,.5+v+i):r("m",l,0),l=0,d=!1),p+1<s&&o[m+1]||(a+=r("h",f),f=0)):l++}return a}return Ks.render=function(s,i,a){const l=e.getOptions(i),d=s.modules.size,f=s.modules.data,m=d+l.margin*2,p=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)+'"/>',g='viewBox="0 0 '+m+" "+m+'"',y='<svg xmlns="http://www.w3.org/2000/svg" '+(l.width?'width="'+l.width+'" height="'+l.width+'" ':"")+g+' shape-rendering="crispEdges">'+p+v+`</svg>
|
|
48
|
+
`;return typeof a=="function"&&a(null,y),y},Ks}var Zc;function SS(){if(Zc)return Sr;Zc=1;const e=oS(),t=wS(),r=PS(),n=CS();function o(s,i,a,l,d){const f=[].slice.call(arguments,1),m=f.length,p=typeof f[m-1]=="function";if(!p&&!e())throw new Error("Callback required as last argument");if(p){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,g){try{const h=t.create(a,l);v(s(h,i,l))}catch(h){g(h)}})}try{const v=t.create(a,l);d(null,s(v,i,l))}catch(v){d(v)}}return Sr.create=t.create,Sr.toCanvas=o.bind(null,r.render),Sr.toDataURL=o.bind(null,r.renderToDataURL),Sr.toString=o.bind(null,function(s,i,a){return n.render(s,a)}),Sr}var NS=SS();const ka=MC(NS),Ch=({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:p,style:v,...g})=>{const h=Oe.useRef(null),y=Oe.useRef(null),x=se(),{sxClassName:b,sxInlineStyle:w}=ee(m,x),P=Oe.useCallback(C=>{const S=h.current;S&&ka.toCanvas(S,e,{errorCorrectionLevel:l,margin:a,width:C,color:{dark:s,light:i}},N=>{if(N&&console.error(N),!t){const k=S.getContext("2d");k&&(k.globalCompositeOperation="source-over",k.fillStyle="rgba(255, 255, 255, 0.5)",k.fillRect(0,0,S.width,S.height),k.filter="grayscale(100%) opacity(0.5)",k.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(b,p),style:D(v,{width:f?"100%":d,height:f?"100%":d,display:"flex",aspectRatio:"1",position:"relative"},w),...g,children:[c.jsx("canvas",{ref:h}),!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})]})},kS=e=>e?{width:e,height:e}:{},Sh=({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:p,margin:v=4,errorCorrectionLevel:g,unload:h,width:y,height:x,...b})=>{const[w,P]=Oe.useState(""),[C,S]=Oe.useState(),N=Oe.useRef(null),k=se(),{sxClassName:q,sxInlineStyle:A}=ee(r,k);return Oe.useEffect(()=>{if(!t)return;const j=N.current;if(!j)return;const E=()=>{S(Math.min(j.clientWidth,j.clientHeight))};E();const I=new ResizeObserver(E);return I.observe(j),()=>I.disconnect()},[t]),Oe.useEffect(()=>{const j=t?C:y?ar.getInstance().convertToPx(y):e?ar.getInstance().convertToPx(e):void 0;ka.toDataURL(n,{color:{dark:m,light:p},width:j,margin:v,errorCorrectionLevel:g}).then(E=>P(E)).catch(E=>console.error(E))},[p,g,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(q,f),style:D({filter:o?"none":"grayscale(100%) opacity(0.5)",transition:"filter 0.2s ease",position:"relative",...t?{width:"100%",height:"100%"}:kS(e)},d,A),...!t&&{width:y,height:x},...b}),!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:h})};function qS({canvas:e,...t}){return e?c.jsx(Ch,{...t}):c.jsx(Sh,{...t})}const jS=e=>e?{width:e,height:e}:{},ES=({size:e,value:t,useful:r=!0,alt:n,style:o,foregroundColor:s,backgroundColor:i,margin:a,errorCorrectionLevel:l,unload:d,...f})=>{const[m,p]=Oe.useState("");return Oe.useEffect(()=>{ka.toDataURL(t,{color:{dark:s,light:i},width:e,margin:a,errorCorrectionLevel:l}).then(v=>p(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",...jS(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"},RS={outlined:"border border-slate-200 bg-white",filled:"border border-slate-100 bg-slate-50",ghost:"border border-transparent bg-transparent"};function Nh(e){return null}function kh(e){const{className:t,...r}=e;return c.jsx(ke,{component:"thead",className:R("bg-slate-50",t),...r})}function qh(e){return c.jsx(ke,{component:"tbody",...e})}function ho(e){const{className:t,...r}=e;return c.jsx(ke,{component:"tr",className:R("border-b border-slate-100 last:border-b-0",t),...r})}function Zn(e){const{className:t,style:r,...n}=e;return c.jsx(ke,{component:"th",scope:"col",className:R("whitespace-nowrap font-medium text-slate-700",t),style:D({textAlign:"left"},r),...n})}function en(e){const{className:t,style:r,...n}=e;return c.jsx(ke,{component:"td",className:R("text-slate-700",t),style:D({textAlign:"left"},r),...n})}const Gs="ellipsis";function Ys(e,t){return Number.isFinite(e)?Math.min(Math.max(Math.trunc(e),1),t):1}function Xs(e,t){const r=Math.max(t-e+1,0);return Array.from({length:r},(n,o)=>e+o)}function AS(e){const{count:t,page:r,defaultPage:n=1}=e,[o,s]=u.useState(()=>Ys(n,t)),i=r!==void 0,a=Ys(i?r:o,t);return u.useEffect(()=>{i||s(l=>Ys(l,t))},[t,i]),{page:a,setPage:s,isControlled:i}}function IS(e){const{count:t,page:r,siblingCount:n,boundaryCount:o,showPreviousNext:s,disabled:i}=e,a=Xs(1,Math.min(o,t)),l=Xs(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?[Gs]:o+1<t-o?[o+1]:[],...Xs(d,f),...f<t-o-1?[Gs]:t-o>o?[t-o]:[],...l].map(v=>v===Gs?{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},...p,{type:"next",page:Math.min(r+1,t),selected:!1,disabled:i||r>=t}]:p}const qa=({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:p,class:v,sx:g,style:h,children:y,...x})=>{const b=se(),{sxClassName:w,sxInlineStyle:P}=ee(g,b),C=typeof e=="number"&&e>0,{page:S,setPage:N,isControlled:k}=AS({count:C?e:1,page:t,defaultPage:r}),q=C?IS({count:e,page:S,siblingCount:Math.max(Math.trunc(o),0),boundaryCount:Math.max(Math.trunc(s),0),showPreviousNext:a,disabled:l}):[],A=(j,E,I)=>{if(I){j.preventDefault();return}j.preventDefault(),k||N(E),n?.(j,E)};return c.jsx("nav",{role:"navigation","aria-label":"分页",className:R("mx-auto flex w-full justify-center",w,p,v),style:D(h,P),...x,children:C?c.jsx(ja,{...m,children:q.map((j,E)=>{const I=`${j.type}-${j.page??E}`,_=j.page===null?void 0:d?.(j.page,j.type)??`#page-${j.page}`,O=j.page===null?void 0:$=>A($,j.page,j.disabled),T={...j,href:_,onClick:O};return f?c.jsx(ir,{children:f(T)},I):j.type==="ellipsis"?c.jsx(ir,{children:c.jsx(Aa,{})},I):j.type==="previous"?c.jsx(ir,{children:c.jsx(Ea,{href:_,variant:i,disabled:j.disabled,onClick:O})},I):j.type==="next"?c.jsx(ir,{children:c.jsx(Ra,{href:_,variant:i,disabled:j.disabled,onClick:O})},I):c.jsx(ir,{children:c.jsx(Pn,{href:_,variant:i,isActive:j.selected,disabled:j.disabled,onClick:O,children:j.page})},I)})}):y})};qa.displayName="Pagination";const ja=u.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=se(),{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})});ja.displayName="PaginationContent";const ir=u.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=se(),{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 TS(e,t){return t?e==="filled"?"primary":"outline":"ghost"}const Pn=({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:TS(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});Pn.displayName="PaginationLink";const Ea=({className:e,children:t,...r})=>c.jsx(Pn,{"aria-label":"上一页",size:"md",className:R("gap-1 pl-2.5",e),...r,children:t??c.jsxs(c.Fragment,{children:[c.jsx($e,{name:"chevron_left",size:16}),c.jsx("span",{children:"上一页"})]})});Ea.displayName="PaginationPrevious";const Ra=({className:e,children:t,...r})=>c.jsx(Pn,{"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($e,{name:"chevron_right",size:16})]})});Ra.displayName="PaginationNext";const Aa=({className:e,class:t,sx:r,style:n,...o})=>{const s=se(),{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($e,{name:"more_horiz",size:16}),c.jsx("span",{className:"sr-only",children:"更多页码"})]})};Aa.displayName="PaginationEllipsis";function un(e){return typeof e=="number"?`${e}px`:e}function _S(e,t){if(t)return e[String(t)]}function Ia(e,t){return e.key!==void 0?e.key:e.dataIndex!==void 0?String(e.dataIndex):t}function eu(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 OS(e){const t=e[0];return t?Object.keys(t).map(r=>({key:r,dataIndex:r,title:r})):[]}function MS(e){return u.isValidElement(e)&&e.type===Nh}function LS(e){const t=[],r=[];return u.Children.forEach(e,n=>{if(MS(n)){t.push(n.props);return}r.push(n)}),{childColumns:t,restChildren:r}}function DS(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 FS(e){const{selectionEnabled:t,size:r,allChecked:n,partiallyChecked:o,selectableKeysLength:s,onToggleCurrentPage:i,indexColumn:a,visibleColumns:l}=e;return c.jsxs(ho,{className:"border-b border-slate-200",children:[t?c.jsx(Zn,{className:R(ur[r],"w-12 text-center"),style:{textAlign:"center"},children:c.jsx(xn,{"aria-label":"选择当前页",checked:o?"indeterminate":n,disabled:!s,onCheckedChange:d=>i(d===!0)})}):null,a?c.jsx(Zn,{className:R(ur[r],"text-slate-600"),style:{width:un(typeof a=="object"?a.width:64),textAlign:"center"},children:typeof a=="object"?a.title??"#":"#"}):null,l.map((d,f)=>c.jsx(Zn,{sx:d.headerSx,className:R(ur[r],d.headerClassName),style:{width:un(d.width),textAlign:d.headerAlign??d.align??"left"},children:d.title??String(d.dataIndex??"")},Ia(d,f)))]})}function BS(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:p,tableColumnCount:v}=e,g=r.length>0;return c.jsx(qh,{...t,children:g?r.map(({record:h,index:y,absoluteIndex:x,key:b,disabled:w})=>{const P=n.has(b),C=typeof o=="function"?o(h,x):o;return c.jsxs(ho,{...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(en,{className:R(ur[s],"w-12 text-center"),style:{textAlign:"center"},children:c.jsx(xn,{"aria-label":`选择第 ${x+1} 行`,checked:P,disabled:w,onCheckedChange:S=>d(b,S===!0)})}):null,f?c.jsx(en,{className:R(ur[s],"text-slate-500"),style:{textAlign:"center"},children:x+1}):null,m.map((S,N)=>{const k=_S(h,S.dataIndex);return c.jsx(en,{sx:S.sx,className:R(ur[s],S.className),style:{width:un(S.width),textAlign:S.align??"left"},children:S.render?S.render(k,h,x):k},Ia(S,N))})]},b)}):c.jsx(ho,{children:c.jsx(en,{className:R(ur[s],"text-center text-slate-500"),colSpan:Math.max(v,1),style:{textAlign:"center"},children:p})})})}function $S(e){const{pageCount:t,currentPage:r,justifyClassName:n,onPageChange:o}=e;return t<=1?null:c.jsx(ke,{className:R("flex border-t border-slate-100 p-3",n),children:c.jsx(qa,{count:t,page:r,onPageChange:o})})}function VS(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:p,indexColumn:v=!1,rowSelection:g,pagination:h,tableProps:y,headProps:x,bodyProps:b,rowProps:w,className:P,children:C,rounded:S="lg",...N}=e,{childColumns:k,restChildren:q}=LS(C),j=(t??(k.length?k:OS(r))).filter(ie=>!ie.hidden),E=h===!1?r.length||1:h?.pageSize??(r.length||1),I=h===!1?r.length:h?.total??r.length,_=Math.max(Math.ceil(I/E),1),[O,T]=u.useState(h===!1?1:h?.defaultPage??1),$=h===!1?1:h?.page??O,M=($-1)*E,W=h===!1?r:r.slice(M,M+E),F=!!g,{selectedKeys:X,setSelectedKeys:de,isControlled:te}=DS({selectedRowKeys:g?.selectedRowKeys,defaultSelectedRowKeys:g?.defaultSelectedRowKeys}),Z=W.map((ie,we)=>{const qe=M+we,Me=eu(ie,qe,n),ne=g?.getCheckboxProps?.(ie,qe);return{record:ie,index:we,absoluteIndex:qe,key:Me,disabled:!!ne?.disabled}}),K=Z.filter(ie=>!ie.disabled).map(ie=>ie.key),J=new Set(X),B=K.filter(ie=>J.has(ie)).length,G=K.length>0&&B===K.length,H=B>0&&!G,U=h!==!1&&h?.position==="left"?"justify-start":h!==!1&&h?.position==="center"?"justify-center":"justify-end",Y=j.length+(F?1:0)+(v?1:0),Q=un(typeof v=="object"?v.width:64);function le(ie){te||de(ie);const we=new Set(ie);g?.onChange?.(ie,r.filter((qe,Me)=>we.has(eu(qe,Me,n))))}function fe(ie,we){const qe=new Set(X);we?qe.add(ie):qe.delete(ie),le(Array.from(qe))}function ve(ie){const we=new Set(X);K.forEach(qe=>{ie?we.add(qe):we.delete(qe)}),le(Array.from(we))}function ge(ie,we){h!==!1&&h?.page===void 0&&T(we),h!==!1&&h?.onPageChange?.(we,E)}return c.jsxs(ke,{rounded:S,loading:f,className:R("table-root w-full overflow-hidden",RS[s],P),...N,children:[c.jsx(ke,{className:"table-scroll w-full overflow-x-auto",children:c.jsxs(ke,{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:[Y>0?c.jsxs("colgroup",{children:[F?c.jsx("col",{style:{width:48}}):null,v?c.jsx("col",{style:{width:Q}}):null,j.map((ie,we)=>c.jsx("col",{style:{width:un(ie.width)}},Ia(ie,we)))]}):null,p?c.jsx("caption",{className:"px-4 py-3 text-left text-sm text-slate-600",children:p}):null,c.jsx(kh,{...x,className:R(d&&"sticky top-0 z-10",x?.className),children:c.jsx(FS,{selectionEnabled:F,size:o,allChecked:G,partiallyChecked:H,selectableKeysLength:K.length,onToggleCurrentPage:ve,indexColumn:v,visibleColumns:j})}),c.jsx(BS,{bodyProps:b,currentRowMeta:Z,selectedSet:J,rowProps:w,size:o,striped:i,hoverable:l,selectionEnabled:F,onToggleRow:fe,indexColumn:v,visibleColumns:j,empty:m,tableColumnCount:Y})]})}),h!==!1&&_>1?c.jsx($S,{pageCount:_,currentPage:$,justifyClassName:U,onPageChange:ge}):null,q]})}const rr=Object.assign(VS,{Column:Nh,Head:kh,Body:qh,Row:ho,Cell:en,HeaderCell:Zn});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 zS={text:"origin-left rounded-sm",rect:"",circle:"rounded-full"};function Rt(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function HS(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 US(e,t,r,n){return r?.[e]!==void 0?r[e]:t>1&&e===t-1?"68%":n??"100%"}function Cn(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,...p}=e,v=se(),{roundedPreset:g,roundedStyle:h}=hr(s??(f==="circle"?"full":f==="rect"?"md":"sm")),{sxClassName:y,sxInlineStyle:x}=ee(n,v),b=HS(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",zS[f],g&&Yt[g],y,t,r),style:D(o,b,h,x),...p})}function Ta(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:p=!1,...v}=e,g=se(),{sxClassName:h,sxInlineStyle:y}=ee(i,g),x=Math.max(1,Math.floor(t));return c.jsx("div",{className:R("skeleton-text flex-col",p?"inline-flex align-middle":"flex",h,l,d),style:D(a,{gap:Rt(n),width:Rt(s)},y),...v,children:Array.from({length:x}).map((b,w)=>c.jsx(Cn,{...v,animated:m,rounded:f,variant:"text",width:US(w,x,o,s),height:r},w))})}function _a(e){const{size:t=40,...r}=e;return c.jsx(Cn,{...r,variant:"circle",width:t,height:t})}function jh(e){const{width:t=96,height:r=36,rounded:n="md",...o}=e;return c.jsx(Cn,{...o,variant:"rect",width:t,height:r,rounded:n})}function Eh(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=se(),{roundedPreset:p,roundedStyle:v}=hr(s),{sxClassName:g,sxInlineStyle:h}=ee(d,m);return c.jsx("div",{className:R("skeleton-card border border-gray-200 bg-white p-4",p&&Yt[p],g,i,a),style:D(l,{width:Rt(n)},v,h),...f,children:c.jsxs("div",{className:"flex items-start gap-3",children:[t?c.jsx(_a,{animated:o,size:40}):null,c.jsx("div",{className:"min-w-0 flex-1",children:c.jsx(Ta,{animated:o,rows:r,widths:["56%","100%","76%"]})})]})})}Cn.displayName="Skeleton";Ta.displayName="SkeletonText";_a.displayName="SkeletonAvatar";jh.displayName="SkeletonButton";Eh.displayName="SkeletonCard";const Rh=u.createContext(null),Ah=u.createContext(null),po={sm:{trigger:"min-h-10 px-3 py-2 text-sm",body:"px-3 py-3 text-sm",icon:"h-4 w-4"},md:{trigger:"min-h-12 px-4 py-3 text-sm",body:"px-4 py-4 text-sm",icon:"h-4 w-4"},lg:{trigger:"min-h-14 px-5 py-4 text-base",body:"px-5 py-5 text-sm",icon:"h-5 w-5"}},WS={outlined:"bg-white",filled:"bg-slate-50",plain:"bg-transparent",ghost:"bg-transparent"},KS={outlined:"bg-white",filled:"bg-slate-50",plain:"bg-transparent",ghost:"bg-transparent"},GS={outlined:"hover:bg-slate-50",filled:"hover:bg-slate-100",plain:"hover:bg-slate-50",ghost:"hover:bg-slate-50"};function tn(e){return String(e)}function tu(e){return e==null?[]:(Array.isArray(e)?e:[e]).map(tn)}function YS(e,t){return t?e[0]??null:e}function XS(e){const{activeKey:t,defaultActiveKey:r,accordion:n,onChange:o}=e,s=t!==void 0,[i,a]=u.useState(()=>tu(r)),l=s?tu(t):i,d=u.useCallback(f=>{s||a(f),o?.(YS(f,n))},[n,s,o]);return[l,d]}function yr(e){const t=se();return ee(e,t)}function Wo(e){const t=u.useContext(Rh);if(!t)throw new Error(`${e} must be used inside Collapse.`);return t}function Ko(e){const t=u.useContext(Ah);if(!t)throw new Error(`${e} must be used inside Collapse.Item.`);return t}function JS(...e){return t=>{e.forEach(r=>{if(r){if(typeof r=="function"){r(t);return}r.current=t}})}}function QS(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 ZS(e){const{active:t,className:r}=e;return c.jsx(QS,{className:R("shrink-0 text-slate-500 transition-transform duration-200",t&&"rotate-180",r)})}function e1(e){const{className:t,class:r,sx:n,style:o,children:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=yr(n);return c.jsx("div",{className:R(a,t,r),style:D(o,l),...i,children:s})}function t1(e,t){const{itemProps:r,headerProps:n,triggerProps:o,contentProps:s,bodyProps:i,lazyMount:a,destroyOnHidden:l,forceRender:d}=t;return e.map(f=>c.jsxs(Oa,{value:f.key,disabled:f.disabled,collapsible:f.collapsible,forceRender:f.forceRender??d,lazyMount:f.lazyMount??a,destroyOnHidden:f.destroyOnHidden??l,...r,...f.itemProps,children:[c.jsxs(Ma,{...n,...f.headerProps,children:[c.jsx(La,{showArrow:f.showArrow,...o,...f.triggerProps,children:f.label}),f.extra?c.jsx(Fa,{children:f.extra}):null]}),c.jsx(Da,{forceRender:f.forceRender??d,...s,...f.contentProps,children:c.jsx(e1,{...i,...f.bodyProps,children:f.children})})]},f.key))}const Ih=u.forwardRef(function(t,r){const{items:n,activeKey:o,defaultActiveKey:s,onChange:i,accordion:a=!1,multiple:l=!0,collapsible:d,disabled:f=!1,bordered:m=!0,size:p="md",variant:v="outlined",expandIcon:g,expandIconPosition:h="end",lazyMount:y=!1,destroyOnHidden:x=!1,forceRender:b=!1,itemProps:w,headerProps:P,triggerProps:C,contentProps:S,bodyProps:N,className:k,class:q,sx:A,style:j,children:E,...I}=t,{sxClassName:_,sxInlineStyle:O}=yr(A),T=u.useRef(new Map),$=!a&&l,M=d??!a,[W,F]=XS({activeKey:o,defaultActiveKey:s,accordion:a,onChange:i}),X=u.useCallback(J=>W.includes(tn(J)),[W]),de=u.useCallback((J,B)=>{if(f||B===!1)return;const G=tn(J),H=W.includes(G);let U;$?U=H?W.filter(Y=>Y!==G):[...W,G]:H?U=M?[]:W:U=[G],U.join("\0")!==W.join("\0")&&F(U)},[W,$,M,f,F]),te=u.useCallback((J,B)=>{const G=tn(J);if(B){T.current.set(G,B);return}T.current.delete(G)},[]),Z=u.useCallback((J,B)=>{const G=Array.from(T.current.entries()).filter(([,Q])=>!Q.disabled);if(G.length===0)return;const H=G.findIndex(([Q])=>Q===tn(J)),U=G.length-1,Y=B==="first"?0:B==="last"?U:B==="next"?H>=U?0:H+1:H<=0?U:H-1;G[Y]?.[1].focus()},[]),K=u.useMemo(()=>({activeKeys:W,accordion:a,allowMultiple:$,bordered:m,collapsible:M,disabled:f,destroyOnHidden:x,expandIcon:g,expandIconPosition:h,focusTrigger:Z,forceRender:b,isActive:X,lazyMount:y,registerTrigger:te,size:p,toggle:de,variant:v}),[W,a,$,m,M,f,x,g,h,Z,b,X,y,te,p,de,v]);return c.jsx(Rh.Provider,{value:K,children:c.jsx("div",{ref:r,className:R("w-full overflow-hidden",m&&v!=="plain"&&"rounded-md border border-slate-200",WS[v],v==="ghost"&&"space-y-2 overflow-visible",_,k,q),style:D(j,O),"data-accordion":a?"":void 0,...I,children:n?t1(n,t):E})})});Ih.displayName="Collapse";const Oa=u.forwardRef(function(t,r){const{value:n,disabled:o=!1,collapsible:s,forceRender:i,lazyMount:a,destroyOnHidden:l,className:d,class:f,sx:m,style:p,children:v,...g}=t,h=Wo("Collapse.Item"),{sxClassName:y,sxInlineStyle:x}=yr(m),b=h.isActive(n),w=u.useId(),P=h.disabled||o,C=u.useMemo(()=>({active:b,collapsible:s,contentId:`${w}-content`,destroyOnHidden:l,disabled:P,forceRender:i,lazyMount:a,triggerId:`${w}-trigger`,value:n}),[b,s,l,i,P,a,w,n]);return c.jsx(Ah.Provider,{value:C,children:c.jsx("div",{ref:r,className:R("overflow-hidden",h.variant==="ghost"&&"rounded-md border border-slate-200",h.bordered&&h.variant!=="ghost"&&"border-b border-slate-200 last:border-b-0",KS[h.variant],P&&"opacity-60",y,d,f),style:D(p,x),"data-state":b?"open":"closed","data-disabled":P?"":void 0,...g,children:v})})});Oa.displayName="CollapseItem";const Ma=u.forwardRef(function(t,r){const{headingLevel:n,className:o,class:s,sx:i,style:a,children:l,...d}=t,f=Ko("Collapse.Header"),{sxClassName:m,sxInlineStyle:p}=yr(i),v=n?`h${n}`:"div";return c.jsx(v,{ref:r,className:R("m-0 flex min-w-0 items-stretch text-slate-900",m,o,s),style:D(a,p),"data-state":f.active?"open":"closed",...d,children:l})});Ma.displayName="CollapseHeader";const La=u.forwardRef(function(t,r){const{className:n,class:o,sx:s,style:i,children:a,disabled:l,showArrow:d=!0,onClick:f,onKeyDown:m,type:p="button",...v}=t,g=Wo("Collapse.Trigger"),h=Ko("Collapse.Trigger"),{sxClassName:y,sxInlineStyle:x}=yr(s),b=g.disabled||h.disabled||l||h.collapsible===!1,w=d===!1?null:g.expandIcon?.({active:h.active,disabled:b,value:h.value})??c.jsx(ZS,{active:h.active,disabled:b,value:h.value,className:po[g.size].icon}),P=u.useCallback(C=>{g.registerTrigger(h.value,C)},[h.value,g]);return c.jsxs("button",{ref:JS(r,P),id:h.triggerId,type:p,className:R("flex min-w-0 flex-1 items-center gap-3 text-left font-medium leading-5 text-slate-900 transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/40 focus-visible:ring-inset","disabled:cursor-not-allowed disabled:text-slate-500",po[g.size].trigger,GS[g.variant],g.expandIconPosition==="start"&&"flex-row-reverse justify-end",y,n,o),style:D(i,x),disabled:b,"aria-expanded":h.active,"aria-controls":h.contentId,"data-state":h.active?"open":"closed",onClick:C=>{f?.(C),!C.defaultPrevented&&g.toggle(h.value,h.collapsible)},onKeyDown:C=>{m?.(C),!C.defaultPrevented&&(C.key==="ArrowDown"||C.key==="ArrowRight"?(C.preventDefault(),g.focusTrigger(h.value,"next")):C.key==="ArrowUp"||C.key==="ArrowLeft"?(C.preventDefault(),g.focusTrigger(h.value,"prev")):C.key==="Home"?(C.preventDefault(),g.focusTrigger(h.value,"first")):C.key==="End"&&(C.preventDefault(),g.focusTrigger(h.value,"last")))},...v,children:[g.expandIconPosition==="start"?w:null,c.jsx("span",{className:"min-w-0 flex-1",children:a}),g.expandIconPosition==="end"?w:null]})});La.displayName="CollapseTrigger";const Da=u.forwardRef(function(t,r){const{className:n,class:o,sx:s,style:i,children:a,forceRender:l,...d}=t,f=Wo("Collapse.Content"),m=Ko("Collapse.Content"),{sxClassName:p,sxInlineStyle:v}=yr(s),g=m.active,[h,y]=u.useState(g),x=l??m.forceRender??f.forceRender,b=m.destroyOnHidden??f.destroyOnHidden,w=m.lazyMount??f.lazyMount;return u.useEffect(()=>{g&&y(!0)},[g]),x||g||!w&&!b||h&&!b?c.jsx("div",{ref:r,id:m.contentId,role:"region","aria-labelledby":m.triggerId,"aria-hidden":!g,className:R("grid overflow-hidden text-slate-600 transition-[grid-template-rows,opacity] duration-200 ease-out",g?"grid-rows-[1fr] opacity-100":"grid-rows-[0fr] opacity-0",p,n,o),style:D(i,v),"data-state":g?"open":"closed",...d,children:c.jsx("div",{className:"min-h-0 overflow-hidden",children:c.jsx("div",{className:po[f.size].body,children:a})})}):null});Da.displayName="CollapseContent";const Fa=u.forwardRef(function(t,r){const{className:n,class:o,sx:s,style:i,onClick:a,children:l,...d}=t,f=Wo("Collapse.Actions"),m=Ko("Collapse.Actions"),{sxClassName:p,sxInlineStyle:v}=yr(s);return c.jsx("div",{ref:r,className:R("flex shrink-0 items-center gap-2 text-sm text-slate-500",po[f.size].trigger,m.disabled&&"pointer-events-none",p,n,o),style:D(i,v),onClick:g=>{g.stopPropagation(),a?.(g)},...d,children:l})});Fa.displayName="CollapseActions";const r1=Object.assign(Ih,{Actions:Fa,Content:Da,Header:Ma,Item:Oa,Trigger:La}),ru={full:"",middle:"px-4",inset:"pl-4"},n1={full:"",middle:"py-4",inset:"pt-4"};function Th(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=se(),{sxClassName:p,sxInlineStyle:v}=ee(i,m),g=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",n1[r],p,l),style:g,...f,children:c.jsx("span",{"aria-hidden":!0,className:R("border-l border-current",s),style:{borderStyle:o}})});const h=a!=null,y=n==="left"?"w-8 flex-none":"flex-1",x=n==="right"?"w-8 flex-none":"flex-1";return h?c.jsxs("div",{role:"separator","aria-orientation":"horizontal",className:R("flex w-full items-center text-gray-200",ru[r],p,l),style:g,...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",ru[r],p,l),style:g,...f,children:c.jsx("span",{"aria-hidden":!0,className:R("block w-full border-t border-current",s),style:{borderStyle:o}})})}Th.displayName="Divider";const nu={xs:"gap-1",sm:"gap-2",md:"gap-3",lg:"gap-4",xl:"gap-6"};function o1(e){return e==="col"?"column":e==="col-reverse"?"column-reverse":e}function s1(e){return typeof e=="boolean"?e?"wrap":"nowrap":e}function ou(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function i1(e){return typeof e=="number"?{gapStyle:`${e}px`}:typeof e=="string"&&e in nu?{gapClass:nu[e]}:{gapStyle:e}}function _h(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,...p}=e,{gapClass:v,gapStyle:g}=i1(i),h={flexDirection:o1(t),justifyContent:r,alignItems:n,flexWrap:s1(s),flex:o,gap:g,width:ou(a),height:ou(l)};return c.jsx(ke,{className:R("flex",v,f),style:D(m,h),sx:d,...p})}_h.displayName="Flex";function su(e){if(e!==void 0)return typeof e=="number"?`${e*8}px`:e}function a1(e){return!e||Number.isNaN(e)||e<=0?12:e}function l1(e){return typeof e=="boolean"?e?"wrap":"nowrap":e}function c1(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 u1(e){return e==="auto"?{marginLeft:"auto"}:{marginLeft:`calc(100% * ${e} / var(--ldkj-grid-columns, 12))`}}function Go(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:p,...v}=e,g=a1(o),h=su(i??s),y=su(a??s),x={};return t?(x.display="flex",x.flexWrap=l1(l),x.flexDirection=d,x.rowGap=h,x.columnGap=y,x["--ldkj-grid-columns"]=String(g)):o!==void 0&&(x["--ldkj-grid-columns"]=String(g)),r!==void 0&&Object.assign(x,c1(r)),n!==void 0&&Object.assign(x,u1(n)),c.jsx(ke,{className:R("min-w-0",m),style:D(p,x),sx:f,...v})}Go.displayName="Grid";function d1(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 Yo(e){const{component:t,position:r="both",horizontal:n=!1,sx:o,className:s,style:i,children:a,...l}=e,d=d1(r,n);return c.jsx(ke,{component:t,className:R("box-border",s),style:D(i,d),sx:o,...l,children:a})}function Oh(e){return c.jsx(Yo,{...e,position:"top"})}function Mh(e){return c.jsx(Yo,{...e,position:"bottom"})}Yo.displayName="SafeArea";Oh.displayName="SafeAreaTop";Mh.displayName="SafeAreaBottom";const iu={sm:640,md:768,lg:1024,xl:1280},au={xs:"0.25rem",sm:"0.5rem",md:"0.75rem",lg:"1rem",xl:"1.5rem"},Lh=Symbol("ldkj-space-item"),Tr=(e=>{const{className:t,class:r,style:n,sx:o,flex:s,grow:i,shrink:a,basis:l,order:d,alignSelf:f,children:m,...p}=e;return c.jsx(ke,{className:[t,r].filter(Boolean).join(" "),style:D(n,{flex:s,flexGrow:i,flexShrink:a,flexBasis:l,order:d,alignSelf:f}),sx:o,...p,children:m})});Tr.displayName="SpaceItem";Tr[Lh]=!0;function Dh(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 Dh(e)?e.xs:e}function Yr(e,t){if(e===void 0||!Dh(e))return;const r={};return Object.keys(iu).forEach(n=>{const o=e[n];if(o===void 0)return;const s=iu[n];r[`@media (min-width: ${s}px)`]=t(o)}),Object.keys(r).length?r:void 0}function lu(e){return e==="vertical"?"column":"row"}function cu(e){return e===void 0?"wrap":typeof e=="boolean"?e?"wrap":"nowrap":e}function Vt(e){return typeof e=="number"?`${e}px`:e in au?au[e]:e}function uu(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 f1(e){return!!e.type?.[Lh]}function Fh(e,t,r,n,o){if(u.isValidElement(e)&&f1(e)){const s=[r,e.props.className,e.props.class].filter(Boolean).join(" ");return c.jsx(Tr,{...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(Tr,{className:r,style:n,sx:o,children:e},u.isValidElement(e)?e.key??`space-item-${t}`:`space-item-${t}`)}function m1(e,t,r,n,o){const s=u.Children.toArray(e),i=[];return s.forEach((a,l)=>{i.push(Fh(a,l,r,n,o)),l<s.length-1&&i.push(c.jsx(Tr,{"aria-hidden":"true",children:t},`space-split-${l}`))}),i}const Ba=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:p,...v}=e,g=Gr(t)??"horizontal",h=Gr(r)??"md",y=Gr(n)??!0,x=Gr(o),b=Gr(s),w=uu(h),P={display:"flex",flexDirection:lu(g),flexWrap:cu(y),alignItems:x,justifyContent:b,rowGap:w.rowGap,columnGap:w.columnGap},C=Yr(t,E=>({flexDirection:lu(E)})),S=Yr(r,E=>uu(E)),N=Yr(n,E=>({flexWrap:cu(E)})),k=Yr(o,E=>({alignItems:E})),q=Yr(s,E=>({justifyContent:E})),A=[C,S,N,k,q,f],j=i!=null?m1(m,i,a,l,d):u.Children.toArray(m).map((E,I)=>Fh(E,I,a,l,d));return c.jsx(ke,{style:D(p,P),sx:A,...v,children:j})};Ba.displayName="Space";Ba.Item=Tr;const h1={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 p1(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:m}=ee(o,d);return c.jsx(l,{className:R(h1[i],f,r,n),style:D(s,m),...a})}function v1(e){return e===void 0?{}:Array.isArray(e)?{rowSpacing:e[0],columnSpacing:e[1]}:{spacing:e}}function Bh(e){const{gutter:t=0,align:r,justify:n,wrap:o="wrap",direction:s="row",style:i,...a}=e,l=v1(t);return c.jsx(Go,{container:!0,wrap:o,direction:s,style:D(i,{alignItems:r,justifyContent:n}),...l,...a})}Bh.displayName="Row";function $h(e){const{span:t,offset:r,flex:n,style:o,...s}=e;return c.jsx(Go,{size:t,offset:r,style:D(o,{flex:n}),...s})}$h.displayName="Col";const Vh=u.createContext({}),zh=u.forwardRef(({separator:e,items:t,listProps:r,sx:n,style:o,className:s,class:i,children:a,...l},d)=>{const f=se(),{sxClassName:m,sxInlineStyle:p}=ee(n,f),v=Array.isArray(t)&&t.length>0;return c.jsx(Vh.Provider,{value:{separator:e},children:c.jsx("nav",{ref:d,"aria-label":"breadcrumb",className:R(m,s,i),style:D(o,p),...l,children:v?c.jsx($a,{...r,children:t.map((g,h)=>{const{key:y,label:x,href:b,current:w,separator:P,ellipsis:C,itemProps:S,linkProps:N,pageProps:k}=g,q=h===t.length-1,A=w??q;return c.jsxs(u.Fragment,{children:[c.jsx(Va,{...S,children:C?c.jsx(Wa,{}):A?c.jsx(Ha,{...k,children:x}):c.jsx(za,{href:b,...N,children:x})}),q?null:c.jsx(Ua,{children:P})]},y??h)})}):a})})});zh.displayName="Breadcrumb";const $a=u.forwardRef(({sx:e,style:t,className:r,class:n,...o},s)=>{const i=se(),{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})});$a.displayName="BreadcrumbList";const Va=u.forwardRef(({sx:e,style:t,className:r,class:n,...o},s)=>{const i=se(),{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})});Va.displayName="BreadcrumbItem";const za=u.forwardRef(({component:e,sx:t,style:r,className:n,class:o,...s},i)=>{const a=e??"a",l=se(),{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})});za.displayName="BreadcrumbLink";const Ha=u.forwardRef(({sx:e,style:t,className:r,class:n,...o},s)=>{const i=se(),{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})});Ha.displayName="BreadcrumbPage";const Ua=({children:e,sx:t,style:r,className:n,class:o,...s})=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=ee(t,i),{separator:d}=u.useContext(Vh),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($e,{name:"chevron_right"})})};Ua.displayName="BreadcrumbSeparator";const Wa=({sx:e,style:t,className:r,class:n,...o})=>{const s=se(),{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($e,{name:"more_horiz",className:"h-4 w-4"}),c.jsx("span",{className:"sr-only",children:"More"})]})};Wa.displayName="BreadcrumbEllipsis";function g1(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 Hh(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=se(),{sxClassName:p,sxInlineStyle:v}=ee(d,m),g=R("inline-flex w-fit p-0",p,a,l),h=D(f,v),y=()=>{g1(t,{behavior:n,block:o,inline:s,offset:r}),i?.(t)};if(e.hash===!0){const{hash:O,onClick:T,href:$,onNavigate:M,class:W,sx:F,offset:X,behavior:de,block:te,inline:Z,...K}=e;return c.jsx("a",{href:$??`#${t}`,className:g,style:h,onClick:J=>{J.preventDefault(),y(),T?.(J)},...K})}const{component:x,onClick:b,onKeyDown:w,hash:P,onNavigate:C,class:S,sx:N,offset:k,behavior:q,block:A,inline:j,...E}=e,I=x??"button",_=I==="button";return c.jsx(I,{className:g,style:h,type:_?"button":void 0,role:_?void 0:"button",tabIndex:_?void 0:0,onClick:O=>{y(),b?.(O)},onKeyDown:O=>{!_&&(O.key==="Enter"||O.key===" ")&&(O.preventDefault(),y()),w?.(O)},...E})}Hh.displayName="Anchor";function b1(){return u.useRef(null)}const Ka=u.createContext(null),dn=u.createContext(0),Ci=u.createContext(null);function Uh(e){const t=u.useContext(Ka);if(!t)throw new Error(`${e} must be used within Menu.`);return t}function du(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 vo(e){return typeof e=="number"?`${e}px`:e}function x1(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 y1(e,t){return e.key??e.href??t.join("-")}function w1(e){return e.key==="Enter"||e.key===" "}function Sn(e){const{className:t,class:r,sx:n,style:o,...s}=e,i=u.useContext(Ka),a=se(),{sxClassName:l,sxInlineStyle:d}=ee(n,a),f={display:"flex",flexDirection:"column",gap:i?vo(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})}Sn.displayName="Menu.List";function Ga(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:p,class:v,sx:g,style:h,children:y,...x}=e,b=Uh("Menu.Item"),w=u.useContext(dn),P=l??b.selectedKeys.includes(t),C=se(),{sxClassName:S,sxInlineStyle:N}=ee(g,C),k=i??(s?"a":"button"),q=k==="button",A=j=>{if(a){j.preventDefault();return}b.selectKey(t,d),m?.(t),f?.(j)};return c.jsx("li",{role:"none",style:{listStyle:"none",margin:0},children:c.jsxs(k,{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,p,v),style:D({paddingLeft:`calc(0.75rem + ${w} * ${vo(b.indent)})`},h,N),href:s,type:q?"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:q?a:void 0,onClick:A,...x,children:[n?c.jsx($e,{name:n,size:18,className:"shrink-0",...o}):null,c.jsx("span",{className:"min-w-0 flex-1 truncate",children:r??y})]})})}Ga.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,...m}=e,p=Uh("Menu.Sub"),v=u.useContext(dn),g=u.useContext(Ci),h=p.openKeys.includes(t),y=se(),{sxClassName:x,sxInlineStyle:b}=ee(l,y);return u.useEffect(()=>p.registerSub(t,g),[p,t,g]),c.jsxs("li",{className:R(x,i,a),style:D({display:"flex",flexDirection:"column",gap:vo(p.itemGap),listStyle:"none",margin:0},d,b),...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",h&&"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} * ${vo(p.indent)})`},"aria-expanded":h,"aria-disabled":s||void 0,"data-menu-sub-key":t,disabled:s,onClick:()=>{s||p.toggleOpenKey(t)},onKeyDown:w=>{!s&&w1(w)&&(w.preventDefault(),p.toggleOpenKey(t))},children:[n?c.jsx($e,{name:n,size:18,className:"shrink-0",...o}):null,c.jsx("span",{className:"min-w-0 flex-1 truncate",children:r}),c.jsx($e,{name:"unfold_more",size:18,className:R("shrink-0 transition-transform",h?"rotate-180":"rotate-90")})]}),h?c.jsx(dn.Provider,{value:v+1,children:c.jsx(Ci.Provider,{value:t,children:c.jsx(Sn,{role:"menu","aria-label":typeof r=="string"?r:void 0,children:f})})}):null]})}Ya.displayName="Menu.Sub";function Xa(e){const{label:t,className:r,class:n,sx:o,style:s,children:i,...a}=e,l=u.useContext(dn),d=se(),{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(Sn,{role:"group",children:i})]})}Xa.displayName="Menu.Group";function Si(e,t=[]){return e.map((r,n)=>{const o=[...t,n],s=y1(r,o);return r.type==="group"?c.jsx(Xa,{label:r.label,...r.groupProps,children:r.children?Si(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?Si(r.children,o):null},s):c.jsx(Ga,{itemKey:s,label:r.label,icon:r.icon,iconProps:r.iconProps,href:r.href,disabled:r.disabled,unselectOnClick:r.unselectOnClick,...r.itemProps},s)})}function Wh(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:p,menuRef:v,children:g,listProps:h,className:y,class:x,style:b,component:w,...P}=e,[C,S]=du({value:r,defaultValue:n,onChange:o}),[N,k]=du({value:s,defaultValue:i,onChange:a}),q=u.useRef(new Map),A=u.useCallback((O,T)=>(q.current.set(O,T),()=>{q.current.delete(O)}),[]),j=u.useCallback((O,T)=>{const $=l?C.includes(O)?C.filter(M=>M!==O):[...C,O]:C.includes(O)&&T?[]:[O];S($,O)},[l,C,S]),E=u.useCallback((O,T)=>{const $=N;let M=$;if(T){if($.includes(O))return;if(d){const W=q.current.get(O)??null;M=$.filter(F=>q.current.get(F)!==W)}M=[...M,O]}else M=$.filter(W=>W!==O);k(M,O)},[d,N,k]),I=u.useCallback(O=>{E(O,!N.includes(O))},[N,E]);u.useImperativeHandle(v,()=>({select:O=>j(O),unselect:O=>S(C.filter(T=>T!==O),O),open:O=>E(O,!0),close:O=>E(O,!1),toggleOpen:I,getSelectedKeys:()=>C,getOpenKeys:()=>N}),[N,j,C,E,S,I]);const _=u.useMemo(()=>({selectedKeys:C,openKeys:N,multiple:l,accordion:d,indent:f,itemGap:m,selectKey:j,toggleOpenKey:I,registerSub:A}),[d,f,m,l,N,A,j,C,I]);return c.jsx(Ka.Provider,{value:_,children:c.jsx(dn.Provider,{value:0,children:c.jsx(Ci.Provider,{value:null,children:c.jsx(ke,{component:w??"nav",className:R("w-64 rounded-lg border border-slate-200 bg-white p-1",y,x),style:D(x1(p),b),"aria-label":"Menu",...P,children:c.jsx(Sn,{role:"menu",...h,children:t?Si(t):g})})})})})}Wh.displayName="Menu";const P1=Object.assign(Wh,{Item:Ga,Sub:Ya,Group:Xa,List:Sn});var Xo="Tabs",[C1]=xt(Xo,[Do]),Kh=Do(),[S1,Ja]=C1(Xo),Gh=u.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,onValueChange:o,defaultValue:s,orientation:i="horizontal",dir:a,activationMode:l="automatic",...d}=e,f=Lo(a),[m,p]=_t({prop:n,onChange:o,defaultProp:s??"",caller:Xo});return c.jsx(S1,{scope:r,baseId:vr(),value:m,onValueChange:p,orientation:i,dir:f,activationMode:l,children:c.jsx(ye.div,{dir:f,"data-orientation":i,...d,ref:t})})});Gh.displayName=Xo;var Yh="TabsList",Xh=u.forwardRef((e,t)=>{const{__scopeTabs:r,loop:n=!0,...o}=e,s=Ja(Yh,r),i=Kh(r);return c.jsx(Df,{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})})});Xh.displayName=Yh;var Jh="TabsTrigger",Qh=u.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...s}=e,i=Ja(Jh,r),a=Kh(r),l=tp(i.baseId,n),d=rp(i.baseId,n),f=n===i.value;return c.jsx(Ff,{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)})})})});Qh.displayName=Jh;var Zh="TabsContent",ep=u.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,forceMount:o,children:s,...i}=e,a=Ja(Zh,r),l=tp(a.baseId,n),d=rp(a.baseId,n),f=n===a.value,m=u.useRef(f);return u.useEffect(()=>{const p=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(p)},[]),c.jsx(Qt,{present:o||f,children:({present:p})=>c.jsx(ye.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:m.current?"0s":void 0},children:p&&s})})});ep.displayName=Zh;function tp(e,t){return`${e}-trigger-${t}`}function rp(e,t){return`${e}-content-${t}`}var N1=Gh,np=Xh,op=Qh,sp=ep;function ip(e){const{items:t,listProps:r,sx:n,style:o,className:s,class:i,children:a,...l}=e,d=se(),{sxClassName:f,sxInlineStyle:m}=ee(n,d),p=Array.isArray(t)&&t.length>0;return c.jsx(N1,{className:R("w-full",f,s,i),style:D(o,m),...l,children:p?c.jsxs(c.Fragment,{children:[c.jsx(Qa,{...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(el,{value:v.value,...v.contentProps,children:v.content},v.value))]}):a})}ip.displayName="Tabs";const Qa=u.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=ee(r,i);return c.jsx(np,{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})});Qa.displayName=np.displayName;const Za=u.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=ee(r,i);return c.jsx(op,{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=op.displayName;const el=u.forwardRef(({className:e,class:t,sx:r,style:n,borderless:o=!1,...s},i)=>{const a=se(),{sxClassName:l,sxInlineStyle:d}=ee(r,a);return c.jsx(sp,{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})});el.displayName=sp.displayName;exports.Alert=Xy;exports.Anchor=Hh;exports.AutoComplete=Af;exports.Avatar=ph;exports.AvatarFallback=Sa;exports.AvatarImage=Ca;exports.Badge=JC;exports.Box=ke;exports.Breadcrumb=zh;exports.BreadcrumbEllipsis=Wa;exports.BreadcrumbItem=Va;exports.BreadcrumbLink=za;exports.BreadcrumbList=$a;exports.BreadcrumbPage=Ha;exports.BreadcrumbSeparator=Ua;exports.Button=vt;exports.Card=Mt;exports.Cascader=tm;exports.Checkbox=xn;exports.CheckboxGroup=kf;exports.Chip=gh;exports.Col=$h;exports.Collapse=r1;exports.Dialog=vg;exports.DialogClose=_i;exports.DialogContent=Mi;exports.DialogDescription=Bi;exports.DialogFooter=Di;exports.DialogHeader=Li;exports.DialogOverlay=Oi;exports.DialogPortal=Xu;exports.DialogTitle=Fi;exports.DialogTrigger=Ti;exports.Divider=Th;exports.Drawer=Wy;exports.Empty=ZC;exports.Flex=_h;exports.Form=om;exports.FormItem=ha;exports.GhostButton=no;exports.GhostButtonGroup=Vu;exports.Grid=Go;exports.Icon=$e;exports.Image=bh;exports.Input=ca;exports.InputNumber=Ef;exports.InputOPT=Rf;exports.Label=Oo;exports.List=QC;exports.Loading=zy;exports.Menu=P1;exports.MobileCascader=Zm;exports.MobileSelect=Qm;exports.Modal=Ii;exports.NotificationProvider=ff;exports.Pagination=qa;exports.PaginationContent=ja;exports.PaginationEllipsis=Aa;exports.PaginationItem=ir;exports.PaginationLink=Pn;exports.PaginationNext=Ra;exports.PaginationPrevious=Ea;exports.Popover=Ud;exports.PopoverAnchor=sy;exports.PopoverClose=Wd;exports.PopoverContent=na;exports.PopoverTrigger=ra;exports.Progress=hf;exports.QRCode=qS;exports.QRCodeBase=ES;exports.QRCodeCanvas=Ch;exports.QRCodeSizable=Sh;exports.Radio=da;exports.RadioGroup=Qf;exports.Rate=Zf;exports.Required=Lw;exports.Row=Bh;exports.SafeArea=Yo;exports.SafeAreaBottom=Mh;exports.SafeAreaTop=Oh;exports.Select=Dm;exports.SelectContent=Vm;exports.SelectGroup=Fm;exports.SelectItem=fo;exports.SelectItems=rC;exports.SelectLabel=xa;exports.SelectScrollDownButton=ba;exports.SelectScrollUpButton=ga;exports.SelectSeparator=ya;exports.SelectTrigger=$m;exports.SelectValue=QP;exports.Skeleton=Cn;exports.SkeletonAvatar=_a;exports.SkeletonButton=jh;exports.SkeletonCard=Eh;exports.SkeletonText=Ta;exports.Slider=rm;exports.Space=Ba;exports.Spin=mf;exports.Switch=Gm;exports.SxProvider=ev;exports.Table=rr;exports.Tabs=ip;exports.TabsContent=el;exports.TabsList=Qa;exports.TabsTrigger=Za;exports.ToastProvider=Wu;exports.Tooltip=Ey;exports.TooltipArrow=ia;exports.TooltipContent=lf;exports.TooltipPortal=Ry;exports.TooltipProvider=jy;exports.TooltipTrigger=af;exports.Typography=p1;exports.UPLOADER_LIST_IGNORE=pa;exports.Uploader=hP;exports.UploaderProvider=im;exports.buttonVariants=gu;exports.chipVariants=vh;exports.createTheme=tv;exports.getRegisteredIconNames=ng;exports.mergeSxStyle=D;exports.notification=Ty;exports.registerIconLoaders=eg;exports.resetIconLoaders=rg;exports.resolveSx=ee;exports.setIconLoaders=tg;exports.toast=mg;exports.useForm=fa;exports.useFormInstance=ma;exports.useFormValue=$o;exports.useFormWatch=nm;exports.useInputNumberState=O0;exports.useMenuRef=b1;exports.useNotification=By;exports.useNumberInput=jf;exports.useSxTheme=se;exports.useToast=fg;exports.useUploaderProvider=mP;
|