ies2-aulapp-ui-kit 0.2.2 → 0.2.3

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/dist/index.cjs.js CHANGED
@@ -3,8 +3,8 @@
3
3
  <%s {...props} />
4
4
  React keys must be passed directly to JSX without using spread:
5
5
  let props = %s;
6
- <%s key={someKey} {...props} />`,N,A,G,A),O[A+N]=!0)}if(A=null,P!==void 0&&(n(P),A=""+P),i(L)&&(n(L.key),A=""+L.key),"key"in L){P={};for(var J in L)J!=="key"&&(P[J]=L[J])}else P=L;return A&&a(P,typeof y=="function"?y.displayName||y.name||"Unknown":y),u(y,A,P,o(),q,K)}function d(y){h(y)?y._store&&(y._store.validated=1):typeof y=="object"&&y!==null&&y.$$typeof===$&&(y._payload.status==="fulfilled"?h(y._payload.value)&&y._payload.value._store&&(y._payload.value._store.validated=1):y._store&&(y._store.validated=1))}function h(y){return typeof y=="object"&&y!==null&&y.$$typeof===v}var p=c,v=Symbol.for("react.transitional.element"),m=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),S=Symbol.for("react.consumer"),k=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),M=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),$=Symbol.for("react.lazy"),F=Symbol.for("react.activity"),V=Symbol.for("react.client.reference"),W=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,U=Object.prototype.hasOwnProperty,Z=Array.isArray,ee=console.createTask?console.createTask:function(){return null};p={react_stack_bottom_frame:function(y){return y()}};var D,H={},T=p.react_stack_bottom_frame.bind(p,s)(),te=ee(r(s)),O={};tt.Fragment=b,tt.jsx=function(y,L,P){var N=1e4>W.recentlyCreatedOwnerStacks++;return f(y,L,P,!1,N?Error("react-stack-top-frame"):T,N?ee(r(y)):te)},tt.jsxs=function(y,L,P){var N=1e4>W.recentlyCreatedOwnerStacks++;return f(y,L,P,!0,N?Error("react-stack-top-frame"):T,N?ee(r(y)):te)}})()),tt}var ur;function Vi(){return ur||(ur=1,process.env.NODE_ENV==="production"?mt.exports=Di():mt.exports=zi()),mt.exports}var w=Vi();function dr(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Wn(...e){return t=>{let n=!1;const r=e.map(o=>{const s=dr(o,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let o=0;o<r.length;o++){const s=r[o];typeof s=="function"?s():dr(e[o],null)}}}}function me(...e){return g.useCallback(Wn(...e),e)}var Wi=Symbol.for("react.lazy"),At=g[" use ".trim().toString()];function Zi(e){return typeof e=="object"&&e!==null&&"then"in e}function No(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Wi&&"_payload"in e&&Zi(e._payload)}function Hi(e){const t=Ki(e),n=g.forwardRef((r,o)=>{let{children:s,...i}=r;No(s)&&typeof At=="function"&&(s=At(s._payload));const a=g.Children.toArray(s),l=a.find(Gi);if(l){const u=l.props.children,f=a.map(d=>d===l?g.Children.count(u)>1?g.Children.only(null):g.isValidElement(u)?u.props.children:null:d);return w.jsx(t,{...i,ref:o,children:g.isValidElement(u)?g.cloneElement(u,void 0,f):null})}return w.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}var Ui=Hi("Slot");function Ki(e){const t=g.forwardRef((n,r)=>{let{children:o,...s}=n;if(No(o)&&typeof At=="function"&&(o=At(o._payload)),g.isValidElement(o)){const i=Xi(o),a=qi(s,o.props);return o.type!==g.Fragment&&(a.ref=r?Wn(r,i):i),g.cloneElement(o,a)}return g.Children.count(o)>1?g.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Yi=Symbol("radix.slottable");function Gi(e){return g.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Yi}function qi(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{const l=s(...a);return o(...a),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function Xi(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function jo(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=jo(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function _o(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=jo(e))&&(r&&(r+=" "),r+=t);return r}const fr=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,pr=_o,$o=(e,t)=>n=>{var r;if(t?.variants==null)return pr(e,n?.class,n?.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(u=>{const f=n?.[u],d=s?.[u];if(f===null)return null;const h=fr(f)||fr(d);return o[u][h]}),a=n&&Object.entries(n).reduce((u,f)=>{let[d,h]=f;return h===void 0||(u[d]=h),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,f)=>{let{class:d,className:h,...p}=f;return Object.entries(p).every(v=>{let[m,b]=v;return Array.isArray(b)?b.includes({...s,...a}[m]):{...s,...a}[m]===b})?[...u,d,h]:u},[]);return pr(e,i,l,n?.class,n?.className)},Ji=(e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},Qi=(e,t)=>({classGroupId:e,validator:t}),Fo=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Mt="-",hr=[],ea="arbitrary..",ta=e=>{const t=ra(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return na(i);const a=i.split(Mt),l=a[0]===""&&a.length>1?1:0;return Io(a,l,t)},getConflictingClassGroupIds:(i,a)=>{if(a){const l=r[i],u=n[i];return l?u?Ji(u,l):l:u||hr}return n[i]||hr}}},Io=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const o=e[t],s=n.nextPart.get(o);if(s){const u=Io(e,t+1,s);if(u)return u}const i=n.validators;if(i===null)return;const a=t===0?e.join(Mt):e.slice(t).join(Mt),l=i.length;for(let u=0;u<l;u++){const f=i[u];if(f.validator(a))return f.classGroupId}},na=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?ea+r:void 0})(),ra=e=>{const{theme:t,classGroups:n}=e;return oa(n,t)},oa=(e,t)=>{const n=Fo();for(const r in e){const o=e[r];Zn(o,n,r,t)}return n},Zn=(e,t,n,r)=>{const o=e.length;for(let s=0;s<o;s++){const i=e[s];sa(i,t,n,r)}},sa=(e,t,n,r)=>{if(typeof e=="string"){ia(e,t,n);return}if(typeof e=="function"){aa(e,t,n,r);return}ca(e,t,n,r)},ia=(e,t,n)=>{const r=e===""?t:Bo(t,e);r.classGroupId=n},aa=(e,t,n,r)=>{if(la(e)){Zn(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Qi(n,e))},ca=(e,t,n,r)=>{const o=Object.entries(e),s=o.length;for(let i=0;i<s;i++){const[a,l]=o[i];Zn(l,Bo(t,a),n,r)}},Bo=(e,t)=>{let n=e;const r=t.split(Mt),o=r.length;for(let s=0;s<o;s++){const i=r[s];let a=n.nextPart.get(i);a||(a=Fo(),n.nextPart.set(i,a)),n=a}return n},la=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,ua=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const o=(s,i)=>{n[s]=i,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(s){let i=n[s];if(i!==void 0)return i;if((i=r[s])!==void 0)return o(s,i),i},set(s,i){s in n?n[s]=i:o(s,i)}}},Mn="!",mr=":",da=[],gr=(e,t,n,r,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:o}),fa=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=o=>{const s=[];let i=0,a=0,l=0,u;const f=o.length;for(let m=0;m<f;m++){const b=o[m];if(i===0&&a===0){if(b===mr){s.push(o.slice(l,m)),l=m+1;continue}if(b==="/"){u=m;continue}}b==="["?i++:b==="]"?i--:b==="("?a++:b===")"&&a--}const d=s.length===0?o:o.slice(l);let h=d,p=!1;d.endsWith(Mn)?(h=d.slice(0,-1),p=!0):d.startsWith(Mn)&&(h=d.slice(1),p=!0);const v=u&&u>l?u-l:void 0;return gr(s,p,h,v)};if(t){const o=t+mr,s=r;r=i=>i.startsWith(o)?s(i.slice(o.length)):gr(da,!1,i,void 0,!0)}if(n){const o=r;r=s=>n({className:s,parseClassName:o})}return r},pa=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let o=[];for(let s=0;s<n.length;s++){const i=n[s],a=i[0]==="[",l=t.has(i);a||l?(o.length>0&&(o.sort(),r.push(...o),o=[]),r.push(i)):o.push(i)}return o.length>0&&(o.sort(),r.push(...o)),r}},ha=e=>({cache:ua(e.cacheSize),parseClassName:fa(e),sortModifiers:pa(e),...ta(e)}),ma=/\s+/,ga=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:s}=t,i=[],a=e.trim().split(ma);let l="";for(let u=a.length-1;u>=0;u-=1){const f=a[u],{isExternal:d,modifiers:h,hasImportantModifier:p,baseClassName:v,maybePostfixModifierPosition:m}=n(f);if(d){l=f+(l.length>0?" "+l:l);continue}let b=!!m,E=r(b?v.substring(0,m):v);if(!E){if(!b){l=f+(l.length>0?" "+l:l);continue}if(E=r(v),!E){l=f+(l.length>0?" "+l:l);continue}b=!1}const C=h.length===0?"":h.length===1?h[0]:s(h).join(":"),S=p?C+Mn:C,k=S+E;if(i.indexOf(k)>-1)continue;i.push(k);const x=o(E,b);for(let _=0;_<x.length;++_){const M=x[_];i.push(S+M)}l=f+(l.length>0?" "+l:l)}return l},va=(...e)=>{let t=0,n,r,o="";for(;t<e.length;)(n=e[t++])&&(r=Do(n))&&(o&&(o+=" "),o+=r);return o},Do=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Do(e[r]))&&(n&&(n+=" "),n+=t);return n},ya=(e,...t)=>{let n,r,o,s;const i=l=>{const u=t.reduce((f,d)=>d(f),e());return n=ha(u),r=n.cache.get,o=n.cache.set,s=a,a(l)},a=l=>{const u=r(l);if(u)return u;const f=ga(l,n);return o(l,f),f};return s=i,(...l)=>s(va(...l))},ba=[],se=e=>{const t=n=>n[e]||ba;return t.isThemeGetter=!0,t},zo=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Vo=/^\((?:(\w[\w-]*):)?(.+)\)$/i,xa=/^\d+\/\d+$/,wa=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ea=/\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$/,Sa=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ka=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ca=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Be=e=>xa.test(e),Q=e=>!!e&&!Number.isNaN(Number(e)),Re=e=>!!e&&Number.isInteger(Number(e)),ln=e=>e.endsWith("%")&&Q(e.slice(0,-1)),Ce=e=>wa.test(e),Oa=()=>!0,Ta=e=>Ea.test(e)&&!Sa.test(e),Wo=()=>!1,Ra=e=>ka.test(e),La=e=>Ca.test(e),Pa=e=>!I(e)&&!B(e),Aa=e=>Ge(e,Uo,Wo),I=e=>zo.test(e),je=e=>Ge(e,Ko,Ta),un=e=>Ge(e,$a,Q),vr=e=>Ge(e,Zo,Wo),Ma=e=>Ge(e,Ho,La),gt=e=>Ge(e,Yo,Ra),B=e=>Vo.test(e),nt=e=>qe(e,Ko),Na=e=>qe(e,Fa),yr=e=>qe(e,Zo),ja=e=>qe(e,Uo),_a=e=>qe(e,Ho),vt=e=>qe(e,Yo,!0),Ge=(e,t,n)=>{const r=zo.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},qe=(e,t,n=!1)=>{const r=Vo.exec(e);return r?r[1]?t(r[1]):n:!1},Zo=e=>e==="position"||e==="percentage",Ho=e=>e==="image"||e==="url",Uo=e=>e==="length"||e==="size"||e==="bg-size",Ko=e=>e==="length",$a=e=>e==="number",Fa=e=>e==="family-name",Yo=e=>e==="shadow",Ia=()=>{const e=se("color"),t=se("font"),n=se("text"),r=se("font-weight"),o=se("tracking"),s=se("leading"),i=se("breakpoint"),a=se("container"),l=se("spacing"),u=se("radius"),f=se("shadow"),d=se("inset-shadow"),h=se("text-shadow"),p=se("drop-shadow"),v=se("blur"),m=se("perspective"),b=se("aspect"),E=se("ease"),C=se("animate"),S=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],x=()=>[...k(),B,I],_=()=>["auto","hidden","clip","visible","scroll"],M=()=>["auto","contain","none"],R=()=>[B,I,l],$=()=>[Be,"full","auto",...R()],F=()=>[Re,"none","subgrid",B,I],V=()=>["auto",{span:["full",Re,B,I]},Re,B,I],W=()=>[Re,"auto",B,I],U=()=>["auto","min","max","fr",B,I],Z=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ee=()=>["start","end","center","stretch","center-safe","end-safe"],D=()=>["auto",...R()],H=()=>[Be,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...R()],T=()=>[e,B,I],te=()=>[...k(),yr,vr,{position:[B,I]}],O=()=>["no-repeat",{repeat:["","x","y","space","round"]}],y=()=>["auto","cover","contain",ja,Aa,{size:[B,I]}],L=()=>[ln,nt,je],P=()=>["","none","full",u,B,I],N=()=>["",Q,nt,je],q=()=>["solid","dashed","dotted","double"],K=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],A=()=>[Q,ln,yr,vr],G=()=>["","none",v,B,I],J=()=>["none",Q,B,I],X=()=>["none",Q,B,I],oe=()=>[Q,B,I],j=()=>[Be,"full",...R()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ce],breakpoint:[Ce],color:[Oa],container:[Ce],"drop-shadow":[Ce],ease:["in","out","in-out"],font:[Pa],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ce],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ce],shadow:[Ce],spacing:["px",Q],text:[Ce],"text-shadow":[Ce],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Be,I,B,b]}],container:["container"],columns:[{columns:[Q,I,B,a]}],"break-after":[{"break-after":S()}],"break-before":[{"break-before":S()}],"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:x()}],overflow:[{overflow:_()}],"overflow-x":[{"overflow-x":_()}],"overflow-y":[{"overflow-y":_()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:$()}],"inset-x":[{"inset-x":$()}],"inset-y":[{"inset-y":$()}],start:[{start:$()}],end:[{end:$()}],top:[{top:$()}],right:[{right:$()}],bottom:[{bottom:$()}],left:[{left:$()}],visibility:["visible","invisible","collapse"],z:[{z:[Re,"auto",B,I]}],basis:[{basis:[Be,"full","auto",a,...R()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Q,Be,"auto","initial","none",I]}],grow:[{grow:["",Q,B,I]}],shrink:[{shrink:["",Q,B,I]}],order:[{order:[Re,"first","last","none",B,I]}],"grid-cols":[{"grid-cols":F()}],"col-start-end":[{col:V()}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":F()}],"row-start-end":[{row:V()}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":U()}],"auto-rows":[{"auto-rows":U()}],gap:[{gap:R()}],"gap-x":[{"gap-x":R()}],"gap-y":[{"gap-y":R()}],"justify-content":[{justify:[...Z(),"normal"]}],"justify-items":[{"justify-items":[...ee(),"normal"]}],"justify-self":[{"justify-self":["auto",...ee()]}],"align-content":[{content:["normal",...Z()]}],"align-items":[{items:[...ee(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ee(),{baseline:["","last"]}]}],"place-content":[{"place-content":Z()}],"place-items":[{"place-items":[...ee(),"baseline"]}],"place-self":[{"place-self":["auto",...ee()]}],p:[{p:R()}],px:[{px:R()}],py:[{py:R()}],ps:[{ps:R()}],pe:[{pe:R()}],pt:[{pt:R()}],pr:[{pr:R()}],pb:[{pb:R()}],pl:[{pl:R()}],m:[{m:D()}],mx:[{mx:D()}],my:[{my:D()}],ms:[{ms:D()}],me:[{me:D()}],mt:[{mt:D()}],mr:[{mr:D()}],mb:[{mb:D()}],ml:[{ml:D()}],"space-x":[{"space-x":R()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":R()}],"space-y-reverse":["space-y-reverse"],size:[{size:H()}],w:[{w:[a,"screen",...H()]}],"min-w":[{"min-w":[a,"screen","none",...H()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...H()]}],h:[{h:["screen","lh",...H()]}],"min-h":[{"min-h":["screen","lh","none",...H()]}],"max-h":[{"max-h":["screen","lh",...H()]}],"font-size":[{text:["base",n,nt,je]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,B,un]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ln,I]}],"font-family":[{font:[Na,I,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,B,I]}],"line-clamp":[{"line-clamp":[Q,"none",B,un]}],leading:[{leading:[s,...R()]}],"list-image":[{"list-image":["none",B,I]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",B,I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:T()}],"text-color":[{text:T()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:[Q,"from-font","auto",B,je]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[Q,"auto",B,I]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",B,I]}],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",B,I]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:te()}],"bg-repeat":[{bg:O()}],"bg-size":[{bg:y()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Re,B,I],radial:["",B,I],conic:[Re,B,I]},_a,Ma]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:L()}],"gradient-via-pos":[{via:L()}],"gradient-to-pos":[{to:L()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:P()}],"rounded-s":[{"rounded-s":P()}],"rounded-e":[{"rounded-e":P()}],"rounded-t":[{"rounded-t":P()}],"rounded-r":[{"rounded-r":P()}],"rounded-b":[{"rounded-b":P()}],"rounded-l":[{"rounded-l":P()}],"rounded-ss":[{"rounded-ss":P()}],"rounded-se":[{"rounded-se":P()}],"rounded-ee":[{"rounded-ee":P()}],"rounded-es":[{"rounded-es":P()}],"rounded-tl":[{"rounded-tl":P()}],"rounded-tr":[{"rounded-tr":P()}],"rounded-br":[{"rounded-br":P()}],"rounded-bl":[{"rounded-bl":P()}],"border-w":[{border:N()}],"border-w-x":[{"border-x":N()}],"border-w-y":[{"border-y":N()}],"border-w-s":[{"border-s":N()}],"border-w-e":[{"border-e":N()}],"border-w-t":[{"border-t":N()}],"border-w-r":[{"border-r":N()}],"border-w-b":[{"border-b":N()}],"border-w-l":[{"border-l":N()}],"divide-x":[{"divide-x":N()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":N()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...q(),"hidden","none"]}],"divide-style":[{divide:[...q(),"hidden","none"]}],"border-color":[{border:T()}],"border-color-x":[{"border-x":T()}],"border-color-y":[{"border-y":T()}],"border-color-s":[{"border-s":T()}],"border-color-e":[{"border-e":T()}],"border-color-t":[{"border-t":T()}],"border-color-r":[{"border-r":T()}],"border-color-b":[{"border-b":T()}],"border-color-l":[{"border-l":T()}],"divide-color":[{divide:T()}],"outline-style":[{outline:[...q(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Q,B,I]}],"outline-w":[{outline:["",Q,nt,je]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",f,vt,gt]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",d,vt,gt]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:N()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[Q,je]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":N()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",h,vt,gt]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[Q,B,I]}],"mix-blend":[{"mix-blend":[...K(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":K()}],"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":[Q]}],"mask-image-linear-from-pos":[{"mask-linear-from":A()}],"mask-image-linear-to-pos":[{"mask-linear-to":A()}],"mask-image-linear-from-color":[{"mask-linear-from":T()}],"mask-image-linear-to-color":[{"mask-linear-to":T()}],"mask-image-t-from-pos":[{"mask-t-from":A()}],"mask-image-t-to-pos":[{"mask-t-to":A()}],"mask-image-t-from-color":[{"mask-t-from":T()}],"mask-image-t-to-color":[{"mask-t-to":T()}],"mask-image-r-from-pos":[{"mask-r-from":A()}],"mask-image-r-to-pos":[{"mask-r-to":A()}],"mask-image-r-from-color":[{"mask-r-from":T()}],"mask-image-r-to-color":[{"mask-r-to":T()}],"mask-image-b-from-pos":[{"mask-b-from":A()}],"mask-image-b-to-pos":[{"mask-b-to":A()}],"mask-image-b-from-color":[{"mask-b-from":T()}],"mask-image-b-to-color":[{"mask-b-to":T()}],"mask-image-l-from-pos":[{"mask-l-from":A()}],"mask-image-l-to-pos":[{"mask-l-to":A()}],"mask-image-l-from-color":[{"mask-l-from":T()}],"mask-image-l-to-color":[{"mask-l-to":T()}],"mask-image-x-from-pos":[{"mask-x-from":A()}],"mask-image-x-to-pos":[{"mask-x-to":A()}],"mask-image-x-from-color":[{"mask-x-from":T()}],"mask-image-x-to-color":[{"mask-x-to":T()}],"mask-image-y-from-pos":[{"mask-y-from":A()}],"mask-image-y-to-pos":[{"mask-y-to":A()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[B,I]}],"mask-image-radial-from-pos":[{"mask-radial-from":A()}],"mask-image-radial-to-pos":[{"mask-radial-to":A()}],"mask-image-radial-from-color":[{"mask-radial-from":T()}],"mask-image-radial-to-color":[{"mask-radial-to":T()}],"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":k()}],"mask-image-conic-pos":[{"mask-conic":[Q]}],"mask-image-conic-from-pos":[{"mask-conic-from":A()}],"mask-image-conic-to-pos":[{"mask-conic-to":A()}],"mask-image-conic-from-color":[{"mask-conic-from":T()}],"mask-image-conic-to-color":[{"mask-conic-to":T()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:te()}],"mask-repeat":[{mask:O()}],"mask-size":[{mask:y()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",B,I]}],filter:[{filter:["","none",B,I]}],blur:[{blur:G()}],brightness:[{brightness:[Q,B,I]}],contrast:[{contrast:[Q,B,I]}],"drop-shadow":[{"drop-shadow":["","none",p,vt,gt]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",Q,B,I]}],"hue-rotate":[{"hue-rotate":[Q,B,I]}],invert:[{invert:["",Q,B,I]}],saturate:[{saturate:[Q,B,I]}],sepia:[{sepia:["",Q,B,I]}],"backdrop-filter":[{"backdrop-filter":["","none",B,I]}],"backdrop-blur":[{"backdrop-blur":G()}],"backdrop-brightness":[{"backdrop-brightness":[Q,B,I]}],"backdrop-contrast":[{"backdrop-contrast":[Q,B,I]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Q,B,I]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Q,B,I]}],"backdrop-invert":[{"backdrop-invert":["",Q,B,I]}],"backdrop-opacity":[{"backdrop-opacity":[Q,B,I]}],"backdrop-saturate":[{"backdrop-saturate":[Q,B,I]}],"backdrop-sepia":[{"backdrop-sepia":["",Q,B,I]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":R()}],"border-spacing-x":[{"border-spacing-x":R()}],"border-spacing-y":[{"border-spacing-y":R()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",B,I]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Q,"initial",B,I]}],ease:[{ease:["linear","initial",E,B,I]}],delay:[{delay:[Q,B,I]}],animate:[{animate:["none",C,B,I]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,B,I]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:J()}],"rotate-x":[{"rotate-x":J()}],"rotate-y":[{"rotate-y":J()}],"rotate-z":[{"rotate-z":J()}],scale:[{scale:X()}],"scale-x":[{"scale-x":X()}],"scale-y":[{"scale-y":X()}],"scale-z":[{"scale-z":X()}],"scale-3d":["scale-3d"],skew:[{skew:oe()}],"skew-x":[{"skew-x":oe()}],"skew-y":[{"skew-y":oe()}],transform:[{transform:[B,I,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:j()}],"translate-x":[{"translate-x":j()}],"translate-y":[{"translate-y":j()}],"translate-z":[{"translate-z":j()}],"translate-none":["translate-none"],accent:[{accent:T()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:T()}],"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",B,I]}],"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":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-pe":[{"scroll-pe":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"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",B,I]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[Q,nt,je,un]}],stroke:[{stroke:["none",...T()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Ba=ya(Ia);function pe(...e){return Ba(_o(e))}const Go=$o(["group relative inline-flex items-center justify-center gap-2 rounded-[var(--button-radius,999px)] font-bold tracking-tight text-[1rem]","transition-[background,filter,color] duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[hsl(var(--ring))] focus-visible:ring-offset-2 focus-visible:ring-offset-[hsl(var(--background))]","disabled:pointer-events-none disabled:opacity-60 overflow-hidden cursor-pointer"].join(" "),{variants:{variant:{primary:"bg-[#FF246E] text-white hover:brightness-[1.08]",secondary:"bg-[#04020D] text-white hover:brightness-110",neutral:"bg-[#F5F6FB] text-[#0E0C15] hover:brightness-95",ghost:"bg-transparent text-[#0E0C15] hover:bg-[#F7F7FF]",outline:["bg-[#FFE3F0] text-[#FF246E]","border border-[#FF246E]","hover:bg-[#FFD6E9]"].join(" "),danger:"bg-[#FF5A82] text-white hover:brightness-110",icon:["h-14 w-14 gap-0","[--button-radius:1.5rem]","bg-muted-foreground/20 text-muted-foreground border border-muted-foreground/20 hover:brightness-110"].join(" "),link:"bg-transparent text-[#FFFFFF] border-1 border-#ffffff/20 underline-offset-4 hover:underline px-0 h-auto shadow-none"},size:{sm:"h-9 px-4 text-sm",md:"h-12 px-7 text-[1.15rem]",lg:"h-[3.75rem] px-10 text-[1.3rem]",icon:"h-14 w-14 p-0 text-xl"},shape:{pill:"[--button-radius:999px]",soft:"[--button-radius:0.5rem]"}},defaultVariants:{variant:"primary",size:"md",shape:"pill"}}),Da=e=>{if(!e)return null;if(g.isValidElement(e)){const t=e;return g.cloneElement(t,{color:t.props.color??"currentColor","aria-hidden":t.props["aria-hidden"]??!0})}return e},ce=g.forwardRef(({className:e,variant:t,size:n,shape:r,asChild:o=!1,shine:s,icon:i,iconPosition:a="left",children:l,...u},f)=>{const d=o?Ui:"button",h=s??t==="primary",p=!!i&&!l,v=p?"icon":n,m=t==="icon"?"pill":r,b=Da(i),E=b?w.jsx("span",{"aria-hidden":!0,className:pe("relative z-10 flex items-center justify-center text-[1.1em]",a==="right"&&!p&&"order-2"),children:b}):null,C=pe("relative z-10 inline-flex items-center",p&&"sr-only");return w.jsxs(d,{className:pe(Go({variant:t,size:v,shape:m}),p&&"px-0",e),ref:f,...u,children:[h&&w.jsx("span",{"aria-hidden":!0,className:"button-shine-layer pointer-events-none absolute inset-0 rounded-[inherit]"}),i&&a==="left"&&E,l&&w.jsx("span",{className:C,children:l}),i&&a==="right"&&E]})});ce.displayName="Button";function de(){return de=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},de.apply(this,arguments)}function za(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,s;for(s=0;s<r.length;s++)o=r[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function ge(e,t){if(e==null)return{};var n=za(e,t),r,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)r=s[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var yt={exports:{}},bt={exports:{}},ne={};var br;function Va(){if(br)return ne;br=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function S(x){if(typeof x=="object"&&x!==null){var _=x.$$typeof;switch(_){case t:switch(x=x.type,x){case l:case u:case r:case s:case o:case d:return x;default:switch(x=x&&x.$$typeof,x){case a:case f:case v:case p:case i:return x;default:return _}}case n:return _}}}function k(x){return S(x)===u}return ne.AsyncMode=l,ne.ConcurrentMode=u,ne.ContextConsumer=a,ne.ContextProvider=i,ne.Element=t,ne.ForwardRef=f,ne.Fragment=r,ne.Lazy=v,ne.Memo=p,ne.Portal=n,ne.Profiler=s,ne.StrictMode=o,ne.Suspense=d,ne.isAsyncMode=function(x){return k(x)||S(x)===l},ne.isConcurrentMode=k,ne.isContextConsumer=function(x){return S(x)===a},ne.isContextProvider=function(x){return S(x)===i},ne.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===t},ne.isForwardRef=function(x){return S(x)===f},ne.isFragment=function(x){return S(x)===r},ne.isLazy=function(x){return S(x)===v},ne.isMemo=function(x){return S(x)===p},ne.isPortal=function(x){return S(x)===n},ne.isProfiler=function(x){return S(x)===s},ne.isStrictMode=function(x){return S(x)===o},ne.isSuspense=function(x){return S(x)===d},ne.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===r||x===u||x===s||x===o||x===d||x===h||typeof x=="object"&&x!==null&&(x.$$typeof===v||x.$$typeof===p||x.$$typeof===i||x.$$typeof===a||x.$$typeof===f||x.$$typeof===b||x.$$typeof===E||x.$$typeof===C||x.$$typeof===m)},ne.typeOf=S,ne}var re={};var xr;function Wa(){return xr||(xr=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function S(j){return typeof j=="string"||typeof j=="function"||j===r||j===u||j===s||j===o||j===d||j===h||typeof j=="object"&&j!==null&&(j.$$typeof===v||j.$$typeof===p||j.$$typeof===i||j.$$typeof===a||j.$$typeof===f||j.$$typeof===b||j.$$typeof===E||j.$$typeof===C||j.$$typeof===m)}function k(j){if(typeof j=="object"&&j!==null){var ue=j.$$typeof;switch(ue){case t:var ht=j.type;switch(ht){case l:case u:case r:case s:case o:case d:return ht;default:var ar=ht&&ht.$$typeof;switch(ar){case a:case f:case v:case p:case i:return ar;default:return ue}}case n:return ue}}}var x=l,_=u,M=a,R=i,$=t,F=f,V=r,W=v,U=p,Z=n,ee=s,D=o,H=d,T=!1;function te(j){return T||(T=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),O(j)||k(j)===l}function O(j){return k(j)===u}function y(j){return k(j)===a}function L(j){return k(j)===i}function P(j){return typeof j=="object"&&j!==null&&j.$$typeof===t}function N(j){return k(j)===f}function q(j){return k(j)===r}function K(j){return k(j)===v}function A(j){return k(j)===p}function G(j){return k(j)===n}function J(j){return k(j)===s}function X(j){return k(j)===o}function oe(j){return k(j)===d}re.AsyncMode=x,re.ConcurrentMode=_,re.ContextConsumer=M,re.ContextProvider=R,re.Element=$,re.ForwardRef=F,re.Fragment=V,re.Lazy=W,re.Memo=U,re.Portal=Z,re.Profiler=ee,re.StrictMode=D,re.Suspense=H,re.isAsyncMode=te,re.isConcurrentMode=O,re.isContextConsumer=y,re.isContextProvider=L,re.isElement=P,re.isForwardRef=N,re.isFragment=q,re.isLazy=K,re.isMemo=A,re.isPortal=G,re.isProfiler=J,re.isStrictMode=X,re.isSuspense=oe,re.isValidElementType=S,re.typeOf=k})()),re}var wr;function qo(){return wr||(wr=1,process.env.NODE_ENV==="production"?bt.exports=Va():bt.exports=Wa()),bt.exports}var dn,Er;function Za(){if(Er)return dn;Er=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(s){if(s==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(s)}function o(){try{if(!Object.assign)return!1;var s=new String("abc");if(s[5]="de",Object.getOwnPropertyNames(s)[0]==="5")return!1;for(var i={},a=0;a<10;a++)i["_"+String.fromCharCode(a)]=a;var l=Object.getOwnPropertyNames(i).map(function(f){return i[f]});if(l.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(f){u[f]=f}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return dn=o()?Object.assign:function(s,i){for(var a,l=r(s),u,f=1;f<arguments.length;f++){a=Object(arguments[f]);for(var d in a)t.call(a,d)&&(l[d]=a[d]);if(e){u=e(a);for(var h=0;h<u.length;h++)n.call(a,u[h])&&(l[u[h]]=a[u[h]])}}return l},dn}var fn,Sr;function Hn(){if(Sr)return fn;Sr=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return fn=e,fn}var pn,kr;function Xo(){return kr||(kr=1,pn=Function.call.bind(Object.prototype.hasOwnProperty)),pn}var hn,Cr;function Ha(){if(Cr)return hn;Cr=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Hn(),n={},r=Xo();e=function(s){var i="Warning: "+s;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function o(s,i,a,l,u){if(process.env.NODE_ENV!=="production"){for(var f in s)if(r(s,f)){var d;try{if(typeof s[f]!="function"){var h=Error((l||"React class")+": "+a+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}d=s[f](i,f,l,a,null,t)}catch(v){d=v}if(d&&!(d instanceof Error)&&e((l||"React class")+": type specification of "+a+" `"+f+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in n)){n[d.message]=!0;var p=u?u():"";e("Failed "+a+" type: "+d.message+(p??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},hn=o,hn}var mn,Or;function Ua(){if(Or)return mn;Or=1;var e=qo(),t=Za(),n=Hn(),r=Xo(),o=Ha(),s=function(){};process.env.NODE_ENV!=="production"&&(s=function(a){var l="Warning: "+a;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function i(){return null}return mn=function(a,l){var u=typeof Symbol=="function"&&Symbol.iterator,f="@@iterator";function d(O){var y=O&&(u&&O[u]||O[f]);if(typeof y=="function")return y}var h="<<anonymous>>",p={array:E("array"),bigint:E("bigint"),bool:E("boolean"),func:E("function"),number:E("number"),object:E("object"),string:E("string"),symbol:E("symbol"),any:C(),arrayOf:S,element:k(),elementType:x(),instanceOf:_,node:F(),objectOf:R,oneOf:M,oneOfType:$,shape:W,exact:U};function v(O,y){return O===y?O!==0||1/O===1/y:O!==O&&y!==y}function m(O,y){this.message=O,this.data=y&&typeof y=="object"?y:{},this.stack=""}m.prototype=Error.prototype;function b(O){if(process.env.NODE_ENV!=="production")var y={},L=0;function P(q,K,A,G,J,X,oe){if(G=G||h,X=X||A,oe!==n){if(l){var j=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw j.name="Invariant Violation",j}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ue=G+":"+A;!y[ue]&&L<3&&(s("You are manually calling a React.PropTypes validation function for the `"+X+"` prop on `"+G+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),y[ue]=!0,L++)}}return K[A]==null?q?K[A]===null?new m("The "+J+" `"+X+"` is marked as required "+("in `"+G+"`, but its value is `null`.")):new m("The "+J+" `"+X+"` is marked as required in "+("`"+G+"`, but its value is `undefined`.")):null:O(K,A,G,J,X)}var N=P.bind(null,!1);return N.isRequired=P.bind(null,!0),N}function E(O){function y(L,P,N,q,K,A){var G=L[P],J=D(G);if(J!==O){var X=H(G);return new m("Invalid "+q+" `"+K+"` of type "+("`"+X+"` supplied to `"+N+"`, expected ")+("`"+O+"`."),{expectedType:O})}return null}return b(y)}function C(){return b(i)}function S(O){function y(L,P,N,q,K){if(typeof O!="function")return new m("Property `"+K+"` of component `"+N+"` has invalid PropType notation inside arrayOf.");var A=L[P];if(!Array.isArray(A)){var G=D(A);return new m("Invalid "+q+" `"+K+"` of type "+("`"+G+"` supplied to `"+N+"`, expected an array."))}for(var J=0;J<A.length;J++){var X=O(A,J,N,q,K+"["+J+"]",n);if(X instanceof Error)return X}return null}return b(y)}function k(){function O(y,L,P,N,q){var K=y[L];if(!a(K)){var A=D(K);return new m("Invalid "+N+" `"+q+"` of type "+("`"+A+"` supplied to `"+P+"`, expected a single ReactElement."))}return null}return b(O)}function x(){function O(y,L,P,N,q){var K=y[L];if(!e.isValidElementType(K)){var A=D(K);return new m("Invalid "+N+" `"+q+"` of type "+("`"+A+"` supplied to `"+P+"`, expected a single ReactElement type."))}return null}return b(O)}function _(O){function y(L,P,N,q,K){if(!(L[P]instanceof O)){var A=O.name||h,G=te(L[P]);return new m("Invalid "+q+" `"+K+"` of type "+("`"+G+"` supplied to `"+N+"`, expected ")+("instance of `"+A+"`."))}return null}return b(y)}function M(O){if(!Array.isArray(O))return process.env.NODE_ENV!=="production"&&(arguments.length>1?s("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):s("Invalid argument supplied to oneOf, expected an array.")),i;function y(L,P,N,q,K){for(var A=L[P],G=0;G<O.length;G++)if(v(A,O[G]))return null;var J=JSON.stringify(O,function(oe,j){var ue=H(j);return ue==="symbol"?String(j):j});return new m("Invalid "+q+" `"+K+"` of value `"+String(A)+"` "+("supplied to `"+N+"`, expected one of "+J+"."))}return b(y)}function R(O){function y(L,P,N,q,K){if(typeof O!="function")return new m("Property `"+K+"` of component `"+N+"` has invalid PropType notation inside objectOf.");var A=L[P],G=D(A);if(G!=="object")return new m("Invalid "+q+" `"+K+"` of type "+("`"+G+"` supplied to `"+N+"`, expected an object."));for(var J in A)if(r(A,J)){var X=O(A,J,N,q,K+"."+J,n);if(X instanceof Error)return X}return null}return b(y)}function $(O){if(!Array.isArray(O))return process.env.NODE_ENV!=="production"&&s("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var y=0;y<O.length;y++){var L=O[y];if(typeof L!="function")return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+T(L)+" at index "+y+"."),i}function P(N,q,K,A,G){for(var J=[],X=0;X<O.length;X++){var oe=O[X],j=oe(N,q,K,A,G,n);if(j==null)return null;j.data&&r(j.data,"expectedType")&&J.push(j.data.expectedType)}var ue=J.length>0?", expected one of type ["+J.join(", ")+"]":"";return new m("Invalid "+A+" `"+G+"` supplied to "+("`"+K+"`"+ue+"."))}return b(P)}function F(){function O(y,L,P,N,q){return Z(y[L])?null:new m("Invalid "+N+" `"+q+"` supplied to "+("`"+P+"`, expected a ReactNode."))}return b(O)}function V(O,y,L,P,N){return new m((O||"React class")+": "+y+" type `"+L+"."+P+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+N+"`.")}function W(O){function y(L,P,N,q,K){var A=L[P],G=D(A);if(G!=="object")return new m("Invalid "+q+" `"+K+"` of type `"+G+"` "+("supplied to `"+N+"`, expected `object`."));for(var J in O){var X=O[J];if(typeof X!="function")return V(N,q,K,J,H(X));var oe=X(A,J,N,q,K+"."+J,n);if(oe)return oe}return null}return b(y)}function U(O){function y(L,P,N,q,K){var A=L[P],G=D(A);if(G!=="object")return new m("Invalid "+q+" `"+K+"` of type `"+G+"` "+("supplied to `"+N+"`, expected `object`."));var J=t({},L[P],O);for(var X in J){var oe=O[X];if(r(O,X)&&typeof oe!="function")return V(N,q,K,X,H(oe));if(!oe)return new m("Invalid "+q+" `"+K+"` key `"+X+"` supplied to `"+N+"`.\nBad object: "+JSON.stringify(L[P],null," ")+`
7
- Valid keys: `+JSON.stringify(Object.keys(O),null," "));var j=oe(A,X,N,q,K+"."+X,n);if(j)return j}return null}return b(y)}function Z(O){switch(typeof O){case"number":case"string":case"undefined":return!0;case"boolean":return!O;case"object":if(Array.isArray(O))return O.every(Z);if(O===null||a(O))return!0;var y=d(O);if(y){var L=y.call(O),P;if(y!==O.entries){for(;!(P=L.next()).done;)if(!Z(P.value))return!1}else for(;!(P=L.next()).done;){var N=P.value;if(N&&!Z(N[1]))return!1}}else return!1;return!0;default:return!1}}function ee(O,y){return O==="symbol"?!0:y?y["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&y instanceof Symbol:!1}function D(O){var y=typeof O;return Array.isArray(O)?"array":O instanceof RegExp?"object":ee(y,O)?"symbol":y}function H(O){if(typeof O>"u"||O===null)return""+O;var y=D(O);if(y==="object"){if(O instanceof Date)return"date";if(O instanceof RegExp)return"regexp"}return y}function T(O){var y=H(O);switch(y){case"array":case"object":return"an "+y;case"boolean":case"date":case"regexp":return"a "+y;default:return y}}function te(O){return!O.constructor||!O.constructor.name?h:O.constructor.name}return p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p},mn}var gn,Tr;function Ka(){if(Tr)return gn;Tr=1;var e=Hn();function t(){}function n(){}return n.resetWarningCache=t,gn=function(){function r(i,a,l,u,f,d){if(d!==e){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}}r.isRequired=r;function o(){return r}var s={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return s.PropTypes=s,s},gn}var Rr;function Ya(){if(Rr)return yt.exports;if(Rr=1,process.env.NODE_ENV!=="production"){var e=qo(),t=!0;yt.exports=Ua()(e.isElement,t)}else yt.exports=Ka()();return yt.exports}var Ga=Ya();const z=Bi(Ga);var qa=["variant","color","size"],Xa=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{fill:n,d:"M17.919 8.18H6.079c-.96 0-1.44 1.16-.76 1.84l5.18 5.18c.83.83 2.18.83 3.01 0l1.97-1.97 3.21-3.21c.67-.68.19-1.84-.77-1.84z"}))},Ja=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{stroke:n,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.5",d:"M16.01 12.85l-2.62 2.62c-.77.77-2.03.77-2.8 0L4.08 8.95M19.92 8.95l-1.04 1.04"}))},Qa=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{fill:n,d:"M15.48 13.23l-3.79-5.05H6.08c-.96 0-1.44 1.16-.76 1.84l5.18 5.18c.83.83 2.18.83 3.01 0l1.97-1.97z",opacity:".4"}),c.createElement("path",{fill:n,d:"M17.92 8.18h-6.23l3.79 5.05 3.21-3.21c.67-.68.19-1.84-.77-1.84z"}))},Lr=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{stroke:n,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.5",d:"M19.92 8.95l-6.52 6.52c-.77.77-2.03.77-2.8 0L4.08 8.95"}))},ec=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{fill:n,d:"M12 16.8c-.7 0-1.4-.27-1.93-.8L3.55 9.48a.754.754 0 010-1.06c.29-.29.77-.29 1.06 0l6.52 6.52c.48.48 1.26.48 1.74 0l6.52-6.52c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06L13.93 16c-.53.53-1.23.8-1.93.8z"}))},tc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{stroke:n,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.5",d:"M19.92 8.95l-6.52 6.52c-.77.77-2.03.77-2.8 0L4.08 8.95"}))},nc=function(t,n){switch(t){case"Bold":return c.createElement(Xa,{color:n});case"Broken":return c.createElement(Ja,{color:n});case"Bulk":return c.createElement(Qa,{color:n});case"Linear":return c.createElement(Lr,{color:n});case"Outline":return c.createElement(ec,{color:n});case"TwoTone":return c.createElement(tc,{color:n});default:return c.createElement(Lr,{color:n})}},Vt=c.forwardRef(function(e,t){var n=e.variant,r=e.color,o=e.size,s=ge(e,qa);return c.createElement("svg",de({},s,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:o,height:o,viewBox:"0 0 24 24",fill:"none"}),nc(n,r))});Vt.propTypes={variant:z.oneOf(["Linear","Bold","Broken","Bulk","Outline","TwoTone"]),color:z.string,size:z.oneOfType([z.string,z.number])};Vt.defaultProps={variant:"Linear",color:"currentColor",size:"24"};Vt.displayName="ArrowDown2";var rc=["variant","color","size"],oc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{fill:n,d:"M15.2 10.492l-1.97-1.97-3.21-3.21c-.68-.67-1.84-.19-1.84.77v11.84c0 .96 1.16 1.44 1.84.76l5.18-5.18c.83-.82.83-2.18 0-3.01z"}))},sc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{stroke:n,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.5",d:"M12.9 7.94l2.62 2.62c.77.77.77 2.03 0 2.8L9 19.87M9 4.04l1.04 1.04"}))},ic=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{fill:n,d:"M13.23 8.52l-5.05 3.79v5.61c0 .96 1.16 1.44 1.84.76l5.18-5.18c.83-.83.83-2.18 0-3.01l-1.97-1.97z",opacity:".4"}),c.createElement("path",{fill:n,d:"M8.18 6.08v6.23l5.05-3.79-3.21-3.21c-.68-.67-1.84-.19-1.84.77z"}))},Pr=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{stroke:n,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.5",d:"M8.91 19.92l6.52-6.52c.77-.77.77-2.03 0-2.8L8.91 4.08"}))},ac=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{fill:n,d:"M8.91 20.67c-.19 0-.38-.07-.53-.22a.754.754 0 010-1.06l6.52-6.52c.48-.48.48-1.26 0-1.74L8.38 4.61a.754.754 0 010-1.06c.29-.29.77-.29 1.06 0l6.52 6.52c.51.51.8 1.2.8 1.93s-.28 1.42-.8 1.93l-6.52 6.52c-.15.14-.34.22-.53.22z"}))},cc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{stroke:n,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.5",d:"M8.91 19.92l6.52-6.52c.77-.77.77-2.03 0-2.8L8.91 4.08"}))},lc=function(t,n){switch(t){case"Bold":return c.createElement(oc,{color:n});case"Broken":return c.createElement(sc,{color:n});case"Bulk":return c.createElement(ic,{color:n});case"Linear":return c.createElement(Pr,{color:n});case"Outline":return c.createElement(ac,{color:n});case"TwoTone":return c.createElement(cc,{color:n});default:return c.createElement(Pr,{color:n})}},Ue=c.forwardRef(function(e,t){var n=e.variant,r=e.color,o=e.size,s=ge(e,rc);return c.createElement("svg",de({},s,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:o,height:o,viewBox:"0 0 24 24",fill:"none"}),lc(n,r))});Ue.propTypes={variant:z.oneOf(["Linear","Bold","Broken","Bulk","Outline","TwoTone"]),color:z.string,size:z.oneOfType([z.string,z.number])};Ue.defaultProps={variant:"Linear",color:"currentColor",size:"24"};Ue.displayName="ArrowRight2";var uc=["variant","color","size"],dc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{fill:n,d:"M18.68 13.978l-3.21-3.21-1.96-1.97a2.13 2.13 0 00-3.01 0l-5.18 5.18c-.68.68-.19 1.84.76 1.84h11.84c.96 0 1.44-1.16.76-1.84z"}))},fc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{stroke:n,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.5",d:"M16.01 11.15L13.4 8.53c-.77-.77-2.03-.77-2.8 0l-6.52 6.52M19.92 15.05l-1.04-1.04"}))},pc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{fill:n,d:"M15.48 10.77l-3.79 5.05H6.08c-.96 0-1.44-1.16-.76-1.84L10.5 8.8a2.13 2.13 0 013.01 0l1.97 1.97z",opacity:".4"}),c.createElement("path",{fill:n,d:"M17.92 15.82h-6.23l3.79-5.05 3.21 3.21c.67.68.19 1.84-.77 1.84z"}))},Ar=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{stroke:n,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.5",d:"M19.92 15.05L13.4 8.53c-.77-.77-2.03-.77-2.8 0l-6.52 6.52"}))},hc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{fill:n,d:"M19.92 15.8c-.19 0-.38-.07-.53-.22l-6.52-6.52c-.48-.48-1.26-.48-1.74 0l-6.52 6.52c-.29.29-.77.29-1.06 0a.754.754 0 010-1.06L10.07 8a2.74 2.74 0 013.86 0l6.52 6.52c.29.29.29.77 0 1.06-.15.14-.34.22-.53.22z"}))},mc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{stroke:n,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.5",d:"M19.92 15.05L13.4 8.53c-.77-.77-2.03-.77-2.8 0l-6.52 6.52"}))},gc=function(t,n){switch(t){case"Bold":return c.createElement(dc,{color:n});case"Broken":return c.createElement(fc,{color:n});case"Bulk":return c.createElement(pc,{color:n});case"Linear":return c.createElement(Ar,{color:n});case"Outline":return c.createElement(hc,{color:n});case"TwoTone":return c.createElement(mc,{color:n});default:return c.createElement(Ar,{color:n})}},Wt=c.forwardRef(function(e,t){var n=e.variant,r=e.color,o=e.size,s=ge(e,uc);return c.createElement("svg",de({},s,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:o,height:o,viewBox:"0 0 24 24",fill:"none"}),gc(n,r))});Wt.propTypes={variant:z.oneOf(["Linear","Bold","Broken","Bulk","Outline","TwoTone"]),color:z.string,size:z.oneOfType([z.string,z.number])};Wt.defaultProps={variant:"Linear",color:"currentColor",size:"24"};Wt.displayName="ArrowUp2";var vc=["variant","color","size"],yc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M16.65 5.719h-9.3c-2.95 0-5.35 2.4-5.35 5.35v5.58c0 2.95 2.4 5.35 5.35 5.35h9.3c2.95 0 5.35-2.4 5.35-5.35v-5.58c0-2.95-2.4-5.35-5.35-5.35Zm-2.15 6.3c0-.55.45-1 1-1s1 .45 1 1-.45 1.01-1 1.01-1-.44-1-.99v-.02Zm-4.37 4.05c-.15.15-.34.22-.53.22s-.38-.07-.53-.22l-1.03-1.03-.99.99c-.15.15-.34.22-.53.22s-.38-.07-.53-.22a.754.754 0 0 1 0-1.06l.99-.99-.96-.96a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l.96.96.99-.99c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-.99.99 1.03 1.03c.29.29.29.77 0 1.06Zm3.41-1.07c-.55 0-1.01-.45-1.01-1s.44-1 .99-1h.02c.55 0 1 .45 1 1s-.44 1-1 1Zm1.96 1.97c-.55 0-1-.44-1-.99v-.02c0-.55.45-1 1-1s1 .45 1 1-.44 1.01-1 1.01Zm1.98-1.97c-.55 0-1.01-.45-1.01-1s.44-1 .99-1h.02c.55 0 1 .45 1 1s-.44 1-1 1Z",fill:n}),c.createElement("path",{d:"m13.64 2.71-.01.94A1.64 1.64 0 0 1 12 5.26c-.15 0-.24.1-.24.23s.1.23.23.23h-1.61c-.01-.07-.02-.15-.02-.23 0-.9.73-1.63 1.62-1.63.15 0 .25-.1.25-.23l.01-.94c.01-.38.32-.69.7-.69h.01c.39 0 .69.32.69.71Z",fill:n}))},bc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"m9.57 12.46-3.05 3.05M6.55 12.488l3.05 3.05",stroke:n,strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M13.53 14h.01M17.47 14h.01M15.5 15.98v-.02M15.5 12.04v-.02",stroke:n,strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M2 15c0 5 2 7 7 7h6c5 0 7-2 7-7v-2c0-5-2-7-7-7H9C5.25 6 3.19 7.12 2.39 9.8M13.01 2 13 3.01A1 1 0 0 1 12 4h-.03c-.55 0-.99.45-.99 1s.45 1 1 1h1",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},xc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"m10.13 15.008-1.03-1.03.99-.99c.29-.29.29-.77 0-1.06a.754.754 0 0 0-1.06 0l-.99.99-.96-.96a.754.754 0 0 0-1.06 0c-.29.29-.29.77 0 1.06l.96.96-.99.99c-.29.29-.29.77 0 1.06.15.15.34.22.53.22s.38-.07.53-.22l.99-.99 1.03 1.03c.15.15.34.22.53.22s.38-.07.53-.22c.29-.29.29-.77 0-1.06ZM13.54 15c-.55 0-1.01-.45-1.01-1s.44-1 .99-1h.02c.55 0 1 .45 1 1s-.44 1-1 1ZM17.48 15c-.55 0-1.01-.45-1.01-1s.44-1 .99-1h.02c.55 0 1 .45 1 1s-.44 1-1 1ZM15.5 16.97c-.55 0-1-.44-1-.99v-.02c0-.55.45-1 1-1s1 .45 1 1-.44 1.01-1 1.01ZM15.5 13.03c-.55 0-1-.44-1-.99v-.02c0-.55.45-1 1-1s1 .45 1 1-.44 1.01-1 1.01Z",fill:n}),c.createElement("path",{opacity:".4",d:"M22 11.069v5.58c0 2.95-2.4 5.35-5.35 5.35h-9.3c-2.95 0-5.35-2.4-5.35-5.35v-5.58c0-2.95 2.4-5.35 5.35-5.35h9.3c2.95 0 5.35 2.4 5.35 5.35Z",fill:n}),c.createElement("path",{d:"m13.64 2.71-.01.94A1.64 1.64 0 0 1 12 5.26c-.15 0-.24.1-.24.23s.1.23.23.23h-1.61c-.01-.07-.02-.15-.02-.23 0-.9.73-1.63 1.62-1.63.15 0 .25-.1.25-.23l.01-.94c.01-.38.32-.69.7-.69h.01c.39 0 .69.32.69.71Z",fill:n}))},Mr=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"m9.57 12.46-3.05 3.05M6.55 12.49l3.05 3.05",stroke:n,strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M13.53 14h.01M17.47 14h.01M15.5 15.98v-.02M15.5 12.04v-.02",stroke:n,strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M9 22h6c5 0 7-2 7-7v-2c0-5-2-7-7-7H9c-5 0-7 2-7 7v2c0 5 2 7 7 7ZM13.01 2 13 3.01A1 1 0 0 1 12 4h-.03c-.55 0-.99.45-.99 1s.45 1 1 1h1",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},wc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M6.52 16.258c-.19 0-.38-.07-.53-.22a.754.754 0 0 1 0-1.06l3.05-3.05c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-3.05 3.05c-.15.14-.34.22-.53.22Z",fill:n}),c.createElement("path",{d:"M9.6 16.29c-.19 0-.38-.07-.53-.22l-3.05-3.05a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l3.05 3.05c.29.29.29.77 0 1.06-.15.15-.34.22-.53.22ZM13.54 15c-.55 0-1.01-.45-1.01-1s.44-1 .99-1h.02c.55 0 1 .45 1 1s-.44 1-1 1ZM17.48 15c-.55 0-1.01-.45-1.01-1s.44-1 .99-1h.02c.55 0 1 .45 1 1s-.45 1-1 1ZM15.5 16.97c-.55 0-1-.44-1-.99v-.02c0-.55.45-1 1-1s1 .45 1 1-.44 1.01-1 1.01ZM15.5 13.03c-.55 0-1-.44-1-.99v-.02c0-.55.45-1 1-1s1 .45 1 1-.44 1.01-1 1.01Z",fill:n}),c.createElement("path",{d:"M15 22.75H9c-5.43 0-7.75-2.32-7.75-7.75v-2c0-5.43 2.32-7.75 7.75-7.75h6c5.43 0 7.75 2.32 7.75 7.75v2c0 5.43-2.32 7.75-7.75 7.75Zm-6-16c-4.61 0-6.25 1.64-6.25 6.25v2c0 4.61 1.64 6.25 6.25 6.25h6c4.61 0 6.25-1.64 6.25-6.25v-2c0-4.61-1.64-6.25-6.25-6.25H9Z",fill:n}),c.createElement("path",{d:"M12.99 6.75h-1c-.96 0-1.75-.79-1.75-1.75s.78-1.75 1.74-1.75c.16 0 .27-.11.28-.25l.01-1.01c.01-.41.34-.74.75-.74h.01c.41.01.75.35.74.76l-.01 1.01c-.01.95-.8 1.73-1.75 1.73-.16 0-.26.11-.26.25s.11.25.25.25h1c.41 0 .75.34.75.75s-.35.75-.76.75Z",fill:n}))},Ec=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("g",{opacity:".4",stroke:n,strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"},c.createElement("path",{d:"m9.57 12.46-3.05 3.05M6.55 12.492l3.05 3.05"})),c.createElement("path",{opacity:".4",d:"M13.53 14h.01M17.47 14h.01M15.5 15.98v-.02M15.5 12.04v-.02",stroke:n,strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M9 22h6c5 0 7-2 7-7v-2c0-5-2-7-7-7H9c-5 0-7 2-7 7v2c0 5 2 7 7 7ZM13.01 2 13 3.01A1 1 0 0 1 12 4h-.03c-.55 0-.99.45-.99 1s.45 1 1 1h1",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},Sc=function(t,n){switch(t){case"Bold":return c.createElement(yc,{color:n});case"Broken":return c.createElement(bc,{color:n});case"Bulk":return c.createElement(xc,{color:n});case"Linear":return c.createElement(Mr,{color:n});case"Outline":return c.createElement(wc,{color:n});case"TwoTone":return c.createElement(Ec,{color:n});default:return c.createElement(Mr,{color:n})}},Zt=c.forwardRef(function(e,t){var n=e.variant,r=e.color,o=e.size,s=ge(e,vc);return c.createElement("svg",de({},s,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:o,height:o,viewBox:"0 0 24 24",fill:"none"}),Sc(n,r))});Zt.propTypes={variant:z.oneOf(["Linear","Bold","Broken","Bulk","Outline","TwoTone"]),color:z.string,size:z.oneOfType([z.string,z.number])};Zt.defaultProps={variant:"Linear",color:"currentColor",size:"24"};Zt.displayName="Game";var kc=["variant","color","size"],Cc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M15.8 2.21c-.41-.41-1.12-.13-1.12.44v3.49c0 1.46 1.24 2.67 2.75 2.67.95.01 2.27.01 3.4.01.57 0 .87-.67.47-1.07-1.44-1.45-4.02-4.06-5.5-5.54Z",fill:n}),c.createElement("path",{d:"M20.5 10.19h-2.89c-2.37 0-4.3-1.93-4.3-4.3V3c0-.55-.45-1-1-1H8.07C4.99 2 2.5 4 2.5 7.57v8.86C2.5 20 4.99 22 8.07 22h7.86c3.08 0 5.57-2 5.57-5.57v-5.24c0-.55-.45-1-1-1Zm-9 7.56h-4c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h4c.41 0 .75.34.75.75s-.34.75-.75.75Zm2-4h-6c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h6c.41 0 .75.34.75.75s-.34.75-.75.75Z",fill:n}))},Oc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M12 13h1M7 13h2.45M7 17h4M2 9c0-5 2-7 7-7h5M22 10v5c0 5-2 7-7 7H9c-5 0-7-2-7-7v-2.02M18 10c-3 0-4-1-4-4V2l8 8",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},Tc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{opacity:".4",d:"M20.5 10.19h-2.89c-2.37 0-4.3-1.93-4.3-4.3V3c0-.55-.45-1-1-1H8.07C4.99 2 2.5 4 2.5 7.57v8.86C2.5 20 4.99 22 8.07 22h7.86c3.08 0 5.57-2 5.57-5.57v-5.24c0-.55-.45-1-1-1Z",fill:n}),c.createElement("path",{d:"M15.8 2.21c-.41-.41-1.12-.13-1.12.44v3.49c0 1.46 1.24 2.67 2.75 2.67.95.01 2.27.01 3.4.01.57 0 .87-.67.47-1.07-1.44-1.45-4.02-4.06-5.5-5.54ZM13.5 13.75h-6c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h6c.41 0 .75.34.75.75s-.34.75-.75.75ZM11.5 17.75h-4c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h4c.41 0 .75.34.75.75s-.34.75-.75.75Z",fill:n}))},Nr=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M21 7v10c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5V7c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5Z",stroke:n,strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M14.5 4.5v2c0 1.1.9 2 2 2h2M8 13h4M8 17h8",stroke:n,strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}))},Rc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M16 22.75H8c-3.65 0-5.75-2.1-5.75-5.75V7c0-3.65 2.1-5.75 5.75-5.75h8c3.65 0 5.75 2.1 5.75 5.75v10c0 3.65-2.1 5.75-5.75 5.75Zm-8-20C5.14 2.75 3.75 4.14 3.75 7v10c0 2.86 1.39 4.25 4.25 4.25h8c2.86 0 4.25-1.39 4.25-4.25V7c0-2.86-1.39-4.25-4.25-4.25H8Z",fill:n}),c.createElement("path",{d:"M18.5 9.25h-2c-1.52 0-2.75-1.23-2.75-2.75v-2c0-.41.34-.75.75-.75s.75.34.75.75v2c0 .69.56 1.25 1.25 1.25h2c.41 0 .75.34.75.75s-.34.75-.75.75ZM12 13.75H8c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h4c.41 0 .75.34.75.75s-.34.75-.75.75ZM16 17.75H8c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h8c.41 0 .75.34.75.75s-.34.75-.75.75Z",fill:n}))},Lc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M21 7v10c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5V7c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5Z",stroke:n,strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{opacity:".4",d:"M14.5 4.5v2c0 1.1.9 2 2 2h2M8 13h4M8 17h8",stroke:n,strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}))},Pc=function(t,n){switch(t){case"Bold":return c.createElement(Cc,{color:n});case"Broken":return c.createElement(Oc,{color:n});case"Bulk":return c.createElement(Tc,{color:n});case"Linear":return c.createElement(Nr,{color:n});case"Outline":return c.createElement(Rc,{color:n});case"TwoTone":return c.createElement(Lc,{color:n});default:return c.createElement(Nr,{color:n})}},Ht=c.forwardRef(function(e,t){var n=e.variant,r=e.color,o=e.size,s=ge(e,kc);return c.createElement("svg",de({},s,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:o,height:o,viewBox:"0 0 24 24",fill:"none"}),Pc(n,r))});Ht.propTypes={variant:z.oneOf(["Linear","Bold","Broken","Bulk","Outline","TwoTone"]),color:z.string,size:z.oneOfType([z.string,z.number])};Ht.defaultProps={variant:"Linear",color:"currentColor",size:"24"};Ht.displayName="DocumentText";var Ac=["variant","color","size"],Mc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M20 19.261h-9.07c-.45 0-.82-.37-.82-.82 0-.45.37-.82.82-.82H20c.45 0 .82.37.82.82 0 .46-.37.82-.82.82ZM20 12.968h-9.07c-.45 0-.82-.37-.82-.82 0-.45.37-.82.82-.82H20c.45 0 .82.37.82.82 0 .45-.37.82-.82.82ZM20 6.671h-9.07c-.45 0-.82-.37-.82-.82 0-.45.37-.82.82-.82H20c.45 0 .82.37.82.82 0 .45-.37.82-.82.82ZM4.91 8.032c-.22 0-.43-.09-.58-.24l-.91-.91a.82.82 0 0 1 1.16-1.16l.33.33 2.14-2.14a.82.82 0 0 1 1.16 1.16l-2.72 2.72c-.16.15-.36.24-.58.24ZM4.91 14.329c-.21 0-.42-.08-.58-.24l-.91-.91a.82.82 0 0 1 1.16-1.16l.33.33 2.14-2.14a.82.82 0 0 1 1.16 1.16l-2.72 2.72c-.16.16-.37.24-.58.24ZM4.91 20.329c-.21 0-.42-.08-.58-.24l-.91-.91a.82.82 0 0 1 1.16-1.16l.33.33 2.14-2.14a.821.821 0 0 1 1.16 1.16l-2.72 2.72c-.16.16-.37.24-.58.24Z",fill:n}))},Nc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M11 19.5h10M20 12.5h1M11 12.5h5.49M11 5.5h10M3 5.5l1 1 3-3M3 12.5l1 1 3-3M3 19.5l1 1 3-3",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},jc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M20 19.261h-9.07c-.45 0-.82-.37-.82-.82 0-.45.37-.82.82-.82H20c.45 0 .82.37.82.82 0 .46-.37.82-.82.82ZM20 12.968h-9.07c-.45 0-.82-.37-.82-.82 0-.45.37-.82.82-.82H20c.45 0 .82.37.82.82 0 .45-.37.82-.82.82ZM20 6.671h-9.07c-.45 0-.82-.37-.82-.82 0-.45.37-.82.82-.82H20c.45 0 .82.37.82.82 0 .45-.37.82-.82.82Z",fill:n}),c.createElement("path",{opacity:".4",d:"M4.91 8.032c-.22 0-.43-.09-.58-.24l-.91-.91a.82.82 0 0 1 1.16-1.16l.33.33 2.14-2.14a.82.82 0 0 1 1.16 1.16l-2.72 2.72c-.16.15-.36.24-.58.24ZM4.91 14.329c-.21 0-.42-.08-.58-.24l-.91-.91a.82.82 0 0 1 1.16-1.16l.33.33 2.14-2.14a.82.82 0 0 1 1.16 1.16l-2.72 2.72c-.16.16-.37.24-.58.24ZM4.91 20.329c-.21 0-.42-.08-.58-.24l-.91-.91a.82.82 0 0 1 1.16-1.16l.33.33 2.14-2.14a.821.821 0 0 1 1.16 1.16l-2.72 2.72c-.16.16-.37.24-.58.24Z",fill:n}))},jr=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M11 19.5h10M11 12.5h10M11 5.5h10M3 5.5l1 1 3-3M3 12.5l1 1 3-3M3 19.5l1 1 3-3",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},_c=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M21 20.25H11c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h10c.41 0 .75.34.75.75s-.34.75-.75.75ZM21 13.25H11c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h10c.41 0 .75.34.75.75s-.34.75-.75.75ZM21 6.25H11c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h10c.41 0 .75.34.75.75s-.34.75-.75.75ZM4 7.251c-.19 0-.38-.07-.53-.22l-1-1a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l.47.47 2.47-2.47c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-3 3c-.15.15-.34.22-.53.22ZM4 14.251c-.19 0-.38-.07-.53-.22l-1-1a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l.47.47 2.47-2.47c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-3 3c-.15.15-.34.22-.53.22ZM4 21.251c-.19 0-.38-.07-.53-.22l-1-1a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l.47.47 2.47-2.47c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-3 3c-.15.15-.34.22-.53.22Z",fill:n}))},$c=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{opacity:".4",d:"M11 19.5h10M11 12.5h10M11 5.5h10",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"m3 5.5 1 1 3-3M3 12.5l1 1 3-3M3 19.5l1 1 3-3",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},Fc=function(t,n){switch(t){case"Bold":return c.createElement(Mc,{color:n});case"Broken":return c.createElement(Nc,{color:n});case"Bulk":return c.createElement(jc,{color:n});case"Linear":return c.createElement(jr,{color:n});case"Outline":return c.createElement(_c,{color:n});case"TwoTone":return c.createElement($c,{color:n});default:return c.createElement(jr,{color:n})}},Ut=c.forwardRef(function(e,t){var n=e.variant,r=e.color,o=e.size,s=ge(e,Ac);return c.createElement("svg",de({},s,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:o,height:o,viewBox:"0 0 24 24",fill:"none"}),Fc(n,r))});Ut.propTypes={variant:z.oneOf(["Linear","Bold","Broken","Bulk","Outline","TwoTone"]),color:z.string,size:z.oneOfType([z.string,z.number])};Ut.defaultProps={variant:"Linear",color:"currentColor",size:"24"};Ut.displayName="Task";var Ic=["variant","color","size"],Bc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"m19.5 7.499-1.49 1.49-3-3 1.49-1.49c.42-.42.96-.62 1.5-.62s1.08.2 1.5.62c.83.83.83 2.17 0 3ZM17.31 9.7 6.5 20.5c-.83.83-2.17.83-3 0-.83-.83-.83-2.17 0-3L14.31 6.7l3 3ZM9.95 3.5l.41-1.39c.04-.13 0-.27-.09-.37-.09-.1-.25-.14-.38-.1l-1.39.41-1.39-.41c-.13-.04-.27 0-.37.09-.1.1-.13.24-.09.37l.4 1.4-.41 1.39c-.04.13 0 .27.09.37.1.1.24.13.37.09l1.4-.4 1.39.41c.04.01.07.02.11.02.1 0 .19-.04.27-.11.1-.1.13-.24.09-.37l-.41-1.4ZM5.95 9.5l.41-1.39c.04-.13 0-.27-.09-.37-.1-.1-.24-.13-.37-.09l-1.4.4-1.39-.41c-.13-.04-.27 0-.37.09-.1.1-.13.24-.09.37l.4 1.4-.41 1.39c-.04.13 0 .27.09.37.1.1.24.13.37.09l1.39-.41 1.39.41c.03.01.07.01.11.01.1 0 .19-.04.27-.11.1-.1.13-.24.09-.37l-.4-1.38ZM20.95 14.5l.41-1.39c.04-.13 0-.27-.09-.37-.1-.1-.24-.13-.37-.09l-1.39.41-1.39-.41c-.13-.04-.27 0-.37.09-.1.1-.13.24-.09.37l.41 1.39-.41 1.39c-.04.13 0 .27.09.37.1.1.24.13.37.09l1.39-.41 1.39.41c.03.01.07.01.11.01.1 0 .19-.04.27-.11.1-.1.13-.24.09-.37l-.42-1.38Z",fill:n}))},Dc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"m16.98 10.021 2.52-2.52c.83-.83.83-2.17 0-3-.83-.83-2.17-.83-3 0l-13 13c-.83.83-.83 2.17 0 3 .83.83 2.17.83 3 0l8-8M18.01 8.988l-3-3",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M9.56 3.5 10 5l-1.5-.44L7 5l.44-1.5L7 2l1.5.44M4.5 8.44 6 8l-.44 1.5L6 11l-1.5-.44L3 11l.44-1.5L3 8l1.5.44ZM18.44 14.5 18 13l1.5.44L21 13l-.44 1.5L21 16l-1.5-.44",stroke:n,strokeLinecap:"round",strokeLinejoin:"round"}))},zc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"m19.5 7.499-1.49 1.49-3-3 1.49-1.49c.42-.42.96-.62 1.5-.62s1.08.2 1.5.62c.83.83.83 2.17 0 3Z",fill:n}),c.createElement("path",{opacity:".4",d:"M18.01 8.988 6.5 20.498c-.83.83-2.17.83-3 0-.83-.83-.83-2.17 0-3l11.51-11.51 3 3Z",fill:n}),c.createElement("path",{d:"m9.95 3.5.41-1.39c.04-.13 0-.27-.09-.37-.09-.1-.25-.14-.38-.1l-1.39.41-1.39-.41c-.13-.04-.27 0-.37.09-.1.1-.13.24-.09.37l.4 1.4-.41 1.39c-.04.13 0 .27.09.37.1.1.24.13.37.09l1.4-.4 1.39.41c.04.01.07.02.11.02.1 0 .19-.04.27-.11.1-.1.13-.24.09-.37l-.41-1.4ZM5.95 9.5l.41-1.39c.04-.13 0-.27-.09-.37-.1-.1-.24-.13-.37-.09l-1.4.4-1.39-.41c-.13-.04-.27 0-.37.09-.1.1-.13.24-.09.37l.4 1.4-.41 1.39c-.04.13 0 .27.09.37.1.1.24.13.37.09l1.39-.41 1.39.41c.03.01.07.01.11.01.1 0 .19-.04.27-.11.1-.1.13-.24.09-.37l-.4-1.38ZM20.95 14.5l.41-1.39c.04-.13 0-.27-.09-.37-.1-.1-.24-.13-.37-.09l-1.39.41-1.39-.41c-.13-.04-.27 0-.37.09-.1.1-.13.24-.09.37l.41 1.39-.41 1.39c-.04.13 0 .27.09.37.1.1.24.13.37.09l1.39-.41 1.39.41c.03.01.07.01.11.01.1 0 .19-.04.27-.11.1-.1.13-.24.09-.37l-.42-1.38Z",fill:n}))},_r=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{stroke:n,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M3.5 20.5c.83.83 2.17.83 3 0l13-13c.83-.83.83-2.17 0-3-.83-.83-2.17-.83-3 0l-13 13c-.83.83-.83 2.17 0 3zM18.01 8.99l-3-3"}),c.createElement("path",{stroke:n,strokeLinecap:"round",strokeLinejoin:"round",d:"M8.5 2.44L10 2l-.44 1.5L10 5l-1.5-.44L7 5l.44-1.5L7 2l1.5.44zM4.5 8.44L6 8l-.44 1.5L6 11l-1.5-.44L3 11l.44-1.5L3 8l1.5.44zM19.5 13.44L21 13l-.44 1.5L21 16l-1.5-.44L18 16l.44-1.5L18 13l1.5.44z"}))},Vc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M5 21.869c-.74 0-1.47-.28-2.03-.84-.54-.54-.84-1.26-.84-2.03 0-.77.3-1.49.84-2.03l13-13a2.873 2.873 0 0 1 4.06 0c.54.54.84 1.26.84 2.03 0 .77-.3 1.49-.84 2.03l-13 13c-.56.56-1.29.84-2.03.84Zm13-17.24c-.35 0-.7.13-.97.4l-13 13c-.26.26-.4.6-.4.97s.14.71.4.97c.53.53 1.41.53 1.94 0l13-13c.26-.26.4-.6.4-.97s-.14-.71-.4-.97c-.27-.27-.62-.4-.97-.4Z",fill:n}),c.createElement("path",{d:"M18.01 9.74c-.19 0-.38-.07-.53-.22l-3-3a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l3 3c.29.29.29.77 0 1.06-.15.15-.34.22-.53.22ZM10 5.5c-.05 0-.09-.01-.14-.02l-1.36-.4-1.36.4c-.18.05-.37 0-.49-.13-.13-.13-.18-.31-.13-.49l.4-1.36-.4-1.36c-.05-.18 0-.37.13-.49a.5.5 0 0 1 .49-.13l1.36.4 1.36-.4c.18-.05.36 0 .49.13a.5.5 0 0 1 .13.49l-.4 1.36.4 1.36c.05.18 0 .37-.13.49a.47.47 0 0 1-.35.15ZM8.5 4.06c.05 0 .09.01.14.02l.62.18-.18-.62a.447.447 0 0 1 0-.28l.18-.62-.62.18c-.09.03-.19.03-.28 0l-.62-.18.18.62c.03.09.03.19 0 .28l-.18.62.62-.18c.05-.01.09-.02.14-.02ZM6 11.5c-.05 0-.09-.01-.14-.02l-1.36-.4-1.36.4c-.18.05-.36 0-.49-.13a.5.5 0 0 1-.13-.49l.4-1.36-.4-1.36c-.05-.18 0-.37.13-.49s.32-.18.49-.13l1.36.4 1.36-.4a.5.5 0 0 1 .49.13c.13.13.18.32.13.49l-.4 1.36.4 1.36c.05.18 0 .37-.13.49a.47.47 0 0 1-.35.15Zm-1.5-1.44c.05 0 .09.01.14.02l.62.18-.18-.62a.447.447 0 0 1 0-.28l.18-.62-.62.18c-.09.03-.19.03-.28 0l-.62-.18.18.62c.03.09.03.19 0 .28l-.18.62.62-.18c.05-.01.09-.02.14-.02ZM21 16.5c-.05 0-.09-.01-.14-.02l-1.36-.4-1.36.4c-.18.05-.36 0-.49-.13s-.18-.32-.13-.49l.4-1.36-.4-1.36c-.05-.18 0-.37.13-.49s.32-.18.49-.13l1.36.4 1.36-.4a.5.5 0 0 1 .49.13.5.5 0 0 1 .13.49l-.4 1.36.4 1.36c.05.18 0 .37-.13.49a.47.47 0 0 1-.35.15Zm-1.5-1.44c.05 0 .09.01.14.02l.62.18-.18-.62a.447.447 0 0 1 0-.28l.18-.62-.62.18c-.09.03-.19.03-.28 0l-.62-.18.18.62c.03.09.03.19 0 .28l-.18.62.62-.18c.05-.01.09-.02.14-.02Z",fill:n}))},Wc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M3.5 20.501c.83.83 2.17.83 3 0l13-13c.83-.83.83-2.17 0-3-.83-.83-2.17-.83-3 0l-13 13c-.83.83-.83 2.17 0 3Z",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{opacity:".4",d:"m18.01 8.988-3-3",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{opacity:".4",d:"M8.5 2.44 10 2l-.44 1.5L10 5l-1.5-.44L7 5l.44-1.5L7 2l1.5.44ZM4.5 8.44 6 8l-.44 1.5L6 11l-1.5-.44L3 11l.44-1.5L3 8l1.5.44ZM19.5 13.44 21 13l-.44 1.5L21 16l-1.5-.44L18 16l.44-1.5L18 13l1.5.44Z",stroke:n,strokeLinecap:"round",strokeLinejoin:"round"}))},Zc=function(t,n){switch(t){case"Bold":return c.createElement(Bc,{color:n});case"Broken":return c.createElement(Dc,{color:n});case"Bulk":return c.createElement(zc,{color:n});case"Linear":return c.createElement(_r,{color:n});case"Outline":return c.createElement(Vc,{color:n});case"TwoTone":return c.createElement(Wc,{color:n});default:return c.createElement(_r,{color:n})}},it=c.forwardRef(function(e,t){var n=e.variant,r=e.color,o=e.size,s=ge(e,Ic);return c.createElement("svg",de({},s,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:o,height:o,viewBox:"0 0 24 24",fill:"none"}),Zc(n,r))});it.propTypes={variant:z.oneOf(["Linear","Bold","Broken","Bulk","Outline","TwoTone"]),color:z.string,size:z.oneOfType([z.string,z.number])};it.defaultProps={variant:"Linear",color:"currentColor",size:"24"};it.displayName="Magicpen";var Hc=["variant","color","size"],Uc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M18 16.012c.55 0 1 .45 1 1v.99c0 2.2-1.5 4-4 4H9c-2.5 0-4-1.8-4-4v-.99c0-.55.45-1 1-1h12ZM19 6v7.5c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V6c0-2.2 1.5-4 4-4h6c2.5 0 4 1.8 4 4ZM3 20.75c-.41 0-.75-.34-.75-.75V4c0-.41.34-.75.75-.75s.75.34.75.75v16c0 .41-.34.75-.75.75ZM21 20.75c-.41 0-.75-.34-.75-.75V4c0-.41.34-.75.75-.75s.75.34.75.75v16c0 .41-.34.75-.75.75Z",fill:n}))},Kc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M15 2c2.5 0 4 1.8 4 4v12c0 2.2-1.5 4-4 4H9c-2.5 0-4-1.8-4-4V6c0-2.2 1.5-4 4-4h1.98M5 16.012h14M2 4v16M22 4v16",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},Yc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M19 16.012v1.99c0 2.2-1.5 4-4 4H9c-2.5 0-4-1.8-4-4v-1.99h14Z",fill:n}),c.createElement("path",{opacity:".4",d:"M19 6v10.01H5V6c0-2.2 1.5-4 4-4h6c2.5 0 4 1.8 4 4Z",fill:n}),c.createElement("path",{d:"M3 20.75c-.41 0-.75-.34-.75-.75V4c0-.41.34-.75.75-.75s.75.34.75.75v16c0 .41-.34.75-.75.75ZM21 20.75c-.41 0-.75-.34-.75-.75V4c0-.41.34-.75.75-.75s.75.34.75.75v16c0 .41-.34.75-.75.75Z",fill:n}))},$r=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M15 22H9c-2.5 0-4-1.8-4-4V6c0-2.2 1.5-4 4-4h6c2.5 0 4 1.8 4 4v12c0 2.2-1.5 4-4 4ZM5 16.01h14M2 4v16M22 4v16",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},Gc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M15 22.75H9c-2.75 0-4.75-2-4.75-4.75V6c0-2.75 2-4.75 4.75-4.75h6c2.75 0 4.75 2 4.75 4.75v12c0 2.75-2 4.75-4.75 4.75Zm-6-20C6.75 2.75 5.75 4.38 5.75 6v12c0 1.62 1 3.25 3.25 3.25h6c2.25 0 3.25-1.63 3.25-3.25V6c0-1.62-1-3.25-3.25-3.25H9Z",fill:n}),c.createElement("path",{d:"M19 16.762H5c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h14c.41 0 .75.34.75.75s-.34.75-.75.75ZM2 20.75c-.41 0-.75-.34-.75-.75V4c0-.41.34-.75.75-.75s.75.34.75.75v16c0 .41-.34.75-.75.75ZM22 20.75c-.41 0-.75-.34-.75-.75V4c0-.41.34-.75.75-.75s.75.34.75.75v16c0 .41-.34.75-.75.75Z",fill:n}))},qc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M15 22H9c-2.5 0-4-1.8-4-4V6c0-2.2 1.5-4 4-4h6c2.5 0 4 1.8 4 4v12c0 2.2-1.5 4-4 4Z",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{opacity:".4",d:"M5 16.012h14M2 4v16M22 4v16",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},Xc=function(t,n){switch(t){case"Bold":return c.createElement(Uc,{color:n});case"Broken":return c.createElement(Kc,{color:n});case"Bulk":return c.createElement(Yc,{color:n});case"Linear":return c.createElement($r,{color:n});case"Outline":return c.createElement(Gc,{color:n});case"TwoTone":return c.createElement(qc,{color:n});default:return c.createElement($r,{color:n})}},Kt=c.forwardRef(function(e,t){var n=e.variant,r=e.color,o=e.size,s=ge(e,Hc);return c.createElement("svg",de({},s,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:o,height:o,viewBox:"0 0 24 24",fill:"none"}),Xc(n,r))});Kt.propTypes={variant:z.oneOf(["Linear","Bold","Broken","Bulk","Outline","TwoTone"]),color:z.string,size:z.oneOfType([z.string,z.number])};Kt.defaultProps={variant:"Linear",color:"currentColor",size:"24"};Kt.displayName="Slider";var Jc=["variant","color","size"],Qc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm4.78 7.7-5.67 5.67a.75.75 0 0 1-1.06 0l-2.83-2.83a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l2.3 2.3 5.14-5.14c.29-.29.77-.29 1.06 0 .29.29.29.76 0 1.06Z",fill:n}))},el=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M4 6c-1.25 1.67-2 3.75-2 6 0 5.52 4.48 10 10 10s10-4.48 10-10S17.52 2 12 2c-1.43 0-2.8.3-4.03.85M15 10.38l1.12-1.13",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"m7.88 12 2.74 2.75 2.55-2.54",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},tl=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{opacity:".4",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z",fill:n}),c.createElement("path",{d:"M10.58 15.582a.75.75 0 0 1-.53-.22l-2.83-2.83a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l2.3 2.3 5.14-5.14c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-5.67 5.67a.75.75 0 0 1-.53.22Z",fill:n}))},Fr=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10Z",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"m7.75 12 2.83 2.83 5.67-5.66",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},nl=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M12 22.75C6.07 22.75 1.25 17.93 1.25 12S6.07 1.25 12 1.25 22.75 6.07 22.75 12 17.93 22.75 12 22.75Zm0-20C6.9 2.75 2.75 6.9 2.75 12S6.9 21.25 12 21.25s9.25-4.15 9.25-9.25S17.1 2.75 12 2.75Z",fill:n}),c.createElement("path",{d:"M10.58 15.582a.75.75 0 0 1-.53-.22l-2.83-2.83a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l2.3 2.3 5.14-5.14c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-5.67 5.67a.75.75 0 0 1-.53.22Z",fill:n}))},rl=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10Z",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{opacity:".34",d:"m7.75 12.002 2.83 2.83 5.67-5.66",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},ol=function(t,n){switch(t){case"Bold":return c.createElement(Qc,{color:n});case"Broken":return c.createElement(el,{color:n});case"Bulk":return c.createElement(tl,{color:n});case"Linear":return c.createElement(Fr,{color:n});case"Outline":return c.createElement(nl,{color:n});case"TwoTone":return c.createElement(rl,{color:n});default:return c.createElement(Fr,{color:n})}},Yt=c.forwardRef(function(e,t){var n=e.variant,r=e.color,o=e.size,s=ge(e,Jc);return c.createElement("svg",de({},s,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:o,height:o,viewBox:"0 0 24 24",fill:"none"}),ol(n,r))});Yt.propTypes={variant:z.oneOf(["Linear","Bold","Broken","Bulk","Outline","TwoTone"]),color:z.string,size:z.oneOfType([z.string,z.number])};Yt.defaultProps={variant:"Linear",color:"currentColor",size:"24"};Yt.displayName="TickCircle";var sl=["variant","color","size"],il=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"m21.56 10.739-1.36-1.58c-.26-.3-.47-.86-.47-1.26v-1.7c0-1.06-.87-1.93-1.93-1.93h-1.7c-.39 0-.96-.21-1.26-.47l-1.58-1.36c-.69-.59-1.82-.59-2.52 0l-1.57 1.37c-.3.25-.87.46-1.26.46H6.18c-1.06 0-1.93.87-1.93 1.93v1.71c0 .39-.21.95-.46 1.25l-1.35 1.59c-.58.69-.58 1.81 0 2.5l1.35 1.59c.25.3.46.86.46 1.25v1.71c0 1.06.87 1.93 1.93 1.93h1.73c.39 0 .96.21 1.26.47l1.58 1.36c.69.59 1.82.59 2.52 0l1.58-1.36c.3-.26.86-.47 1.26-.47h1.7c1.06 0 1.93-.87 1.93-1.93v-1.7c0-.39.21-.96.47-1.26l1.36-1.58c.58-.69.58-1.83-.01-2.52Zm-5.4-.63-4.83 4.83a.75.75 0 0 1-1.06 0l-2.42-2.42a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l1.89 1.89 4.3-4.3c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06Z",fill:n}))},al=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"m8.38 11.998 2.41 2.42 4.83-4.84",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M4.24 6.198c0-1.06.87-1.93 1.93-1.93H7.9c.4 0 .96-.21 1.26-.46l1.58-1.35c.7-.59 1.83-.59 2.51 0l1.58 1.35c.3.25.87.46 1.27.46h1.7c1.06 0 1.93.87 1.93 1.93v1.7c0 .4.21.96.46 1.26l1.35 1.58c.59.7.59 1.83 0 2.51l-1.35 1.58c-.25.3-.46.86-.46 1.26v1.7c0 1.06-.87 1.93-1.93 1.93h-1.7c-.4 0-.96.21-1.26.46l-1.58 1.35c-.7.59-1.83.59-2.51 0l-1.58-1.35c-.3-.25-.87-.46-1.26-.46H6.17c-1.06 0-1.93-.87-1.93-1.93v-1.71c0-.39-.2-.96-.45-1.25l-1.35-1.59c-.58-.69-.58-1.81 0-2.5l.56-.66",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},cl=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{opacity:".4",d:"M10.75 2.45c.69-.59 1.82-.59 2.52 0l1.58 1.36c.3.26.86.47 1.26.47h1.7c1.06 0 1.93.87 1.93 1.93v1.7c0 .39.21.96.47 1.26l1.36 1.58c.59.69.59 1.82 0 2.52l-1.36 1.58c-.26.3-.47.86-.47 1.26v1.7c0 1.06-.87 1.93-1.93 1.93h-1.7c-.39 0-.96.21-1.26.47l-1.58 1.36c-.69.59-1.82.59-2.52 0l-1.58-1.36c-.3-.26-.86-.47-1.26-.47H6.18c-1.06 0-1.93-.87-1.93-1.93V16.1c0-.39-.21-.95-.46-1.25l-1.35-1.59c-.58-.69-.58-1.81 0-2.5l1.35-1.59c.25-.3.46-.86.46-1.25V6.2c0-1.06.87-1.93 1.93-1.93h1.73c.39 0 .96-.21 1.26-.47l1.58-1.35Z",fill:n}),c.createElement("path",{d:"M10.79 15.171a.75.75 0 0 1-.53-.22l-2.42-2.42a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l1.89 1.89 4.3-4.3c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-4.83 4.83a.75.75 0 0 1-.53.22Z",fill:n}))},Ir=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"m8.38 12 2.41 2.42 4.83-4.84",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M10.75 2.45c.69-.59 1.82-.59 2.52 0l1.58 1.36c.3.26.86.47 1.26.47h1.7c1.06 0 1.93.87 1.93 1.93v1.7c0 .39.21.96.47 1.26l1.36 1.58c.59.69.59 1.82 0 2.52l-1.36 1.58c-.26.3-.47.86-.47 1.26v1.7c0 1.06-.87 1.93-1.93 1.93h-1.7c-.39 0-.96.21-1.26.47l-1.58 1.36c-.69.59-1.82.59-2.52 0l-1.58-1.36c-.3-.26-.86-.47-1.26-.47H6.18c-1.06 0-1.93-.87-1.93-1.93V16.1c0-.39-.21-.95-.46-1.25l-1.35-1.59c-.58-.69-.58-1.81 0-2.5l1.35-1.59c.25-.3.46-.86.46-1.25V6.2c0-1.06.87-1.93 1.93-1.93h1.73c.39 0 .96-.21 1.26-.47l1.58-1.35Z",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},ll=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M10.79 15.171a.75.75 0 0 1-.53-.22l-2.42-2.42a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l1.89 1.89 4.3-4.3c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-4.83 4.83a.75.75 0 0 1-.53.22Z",fill:n}),c.createElement("path",{d:"M12 22.75c-.63 0-1.26-.21-1.75-.63l-1.58-1.36c-.16-.14-.56-.28-.77-.28H6.18A2.68 2.68 0 0 1 3.5 17.8v-1.71c0-.21-.14-.6-.28-.76l-1.35-1.59c-.82-.97-.82-2.5 0-3.47l1.35-1.59c.14-.16.28-.55.28-.76V6.2c0-1.48 1.2-2.68 2.68-2.68h1.73c.21 0 .61-.15.77-.28l1.58-1.36c.98-.84 2.51-.84 3.49 0l1.58 1.36c.16.14.56.28.77.28h1.7c1.48 0 2.68 1.2 2.68 2.68v1.7c0 .21.15.61.29.77l1.36 1.58c.84.98.84 2.51 0 3.49l-1.36 1.58c-.14.16-.29.56-.29.77v1.7c0 1.48-1.2 2.68-2.68 2.68h-1.7c-.21 0-.61.15-.77.28l-1.58 1.36c-.49.43-1.12.64-1.75.64ZM6.18 5.02C5.53 5.02 5 5.55 5 6.2v1.71c0 .57-.27 1.3-.64 1.73l-1.35 1.59c-.35.41-.35 1.12 0 1.53l1.35 1.59c.37.44.64 1.16.64 1.73v1.71c0 .65.53 1.18 1.18 1.18h1.73c.58 0 1.31.27 1.75.65l1.58 1.36c.41.35 1.13.35 1.54 0l1.58-1.36c.44-.37 1.17-.65 1.75-.65h1.7c.65 0 1.18-.53 1.18-1.18v-1.7c0-.58.27-1.31.65-1.75L21 12.76c.35-.41.35-1.13 0-1.54l-1.36-1.58c-.38-.44-.65-1.17-.65-1.75V6.2c0-.65-.53-1.18-1.18-1.18h-1.7c-.58 0-1.31-.27-1.75-.65l-1.58-1.36c-.41-.35-1.13-.35-1.54 0L9.66 4.38c-.44.37-1.18.64-1.75.64H6.18Z",fill:n}))},ul=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{opacity:".34",d:"m8.38 11.998 2.41 2.42 4.83-4.84",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M10.75 2.45c.69-.59 1.82-.59 2.52 0l1.58 1.36c.3.26.86.47 1.26.47h1.7c1.06 0 1.93.87 1.93 1.93v1.7c0 .39.21.96.47 1.26l1.36 1.58c.59.69.59 1.82 0 2.52l-1.36 1.58c-.26.3-.47.86-.47 1.26v1.7c0 1.06-.87 1.93-1.93 1.93h-1.7c-.39 0-.96.21-1.26.47l-1.58 1.36c-.69.59-1.82.59-2.52 0l-1.58-1.36c-.3-.26-.86-.47-1.26-.47H6.18c-1.06 0-1.93-.87-1.93-1.93V16.1c0-.39-.21-.95-.46-1.25l-1.35-1.59c-.58-.69-.58-1.81 0-2.5l1.35-1.59c.25-.3.46-.86.46-1.25V6.2c0-1.06.87-1.93 1.93-1.93h1.73c.39 0 .96-.21 1.26-.47l1.58-1.35Z",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},dl=function(t,n){switch(t){case"Bold":return c.createElement(il,{color:n});case"Broken":return c.createElement(al,{color:n});case"Bulk":return c.createElement(cl,{color:n});case"Linear":return c.createElement(Ir,{color:n});case"Outline":return c.createElement(ll,{color:n});case"TwoTone":return c.createElement(ul,{color:n});default:return c.createElement(Ir,{color:n})}},Gt=c.forwardRef(function(e,t){var n=e.variant,r=e.color,o=e.size,s=ge(e,sl);return c.createElement("svg",de({},s,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:o,height:o,viewBox:"0 0 24 24",fill:"none"}),dl(n,r))});Gt.propTypes={variant:z.oneOf(["Linear","Bold","Broken","Bulk","Outline","TwoTone"]),color:z.string,size:z.oneOfType([z.string,z.number])};Gt.defaultProps={variant:"Linear",color:"currentColor",size:"24"};Gt.displayName="Verify";var fl=["variant","color","size"],pl=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M17.18 5.25c-1.71 0-3.75.65-3.75 3.75v6c0 3.1 2.04 3.75 3.75 3.75s3.75-.65 3.75-3.75V9c0-3.1-2.04-3.75-3.75-3.75ZM6.82 5.25c-1.71 0-3.75.65-3.75 3.75v6c0 3.1 2.04 3.75 3.75 3.75s3.75-.65 3.75-3.75V9c0-3.1-2.04-3.75-3.75-3.75ZM13.43 11.25h-2.86v1.5h2.86v-1.5ZM22.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75ZM1.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75Z",fill:n}))},hl=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M17.18 18c2.4 0 3-1.35 3-3V9c0-1.65-.6-3-3-3s-3 1.35-3 3v6c0 1.65.6 3 3 3ZM3.82 11.3V9c0-1.65.6-3 3-3s3 1.35 3 3v6c0 1.65-.6 3-3 3s-3-1.35-3-3M9.82 12h4.36M22.5 14.5v-5M1.5 14.5v-5",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},ml=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{opacity:".4",d:"M17.18 5.25c-1.71 0-3.75.65-3.75 3.75v6c0 3.1 2.04 3.75 3.75 3.75s3.75-.65 3.75-3.75V9c0-3.1-2.04-3.75-3.75-3.75ZM6.82 5.25c-1.71 0-3.75.65-3.75 3.75v6c0 3.1 2.04 3.75 3.75 3.75s3.75-.65 3.75-3.75V9c0-3.1-2.04-3.75-3.75-3.75Z",fill:n}),c.createElement("path",{d:"M13.43 11.25h-2.86v1.5h2.86v-1.5ZM22.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75ZM1.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75Z",fill:n}))},Br=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M17.18 18c2.4 0 3-1.35 3-3V9c0-1.65-.6-3-3-3s-3 1.35-3 3v6c0 1.65.6 3 3 3ZM6.82 18c-2.4 0-3-1.35-3-3V9c0-1.65.6-3 3-3s3 1.35 3 3v6c0 1.65-.6 3-3 3ZM9.82 12h4.36M22.5 14.5v-5M1.5 14.5v-5",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},gl=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M17.18 18.75c-1.71 0-3.75-.65-3.75-3.75V9c0-3.1 2.04-3.75 3.75-3.75s3.75.65 3.75 3.75v6c0 3.1-2.04 3.75-3.75 3.75Zm0-12c-1.62 0-2.25.63-2.25 2.25v6c0 1.62.63 2.25 2.25 2.25s2.25-.63 2.25-2.25V9c0-1.62-.63-2.25-2.25-2.25ZM6.82 18.75c-1.71 0-3.75-.65-3.75-3.75V9c0-3.1 2.04-3.75 3.75-3.75s3.75.65 3.75 3.75v6c0 3.1-2.04 3.75-3.75 3.75Zm0-12c-1.62 0-2.25.63-2.25 2.25v6c0 1.62.63 2.25 2.25 2.25s2.25-.63 2.25-2.25V9c0-1.62-.63-2.25-2.25-2.25Z",fill:n}),c.createElement("path",{d:"M14.18 12.75H9.82c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h4.36a.749.749 0 1 1 0 1.5ZM22.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75ZM1.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75Z",fill:n}))},vl=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M17.18 18c2.4 0 3-1.35 3-3V9c0-1.65-.6-3-3-3s-3 1.35-3 3v6c0 1.65.6 3 3 3ZM6.82 18c-2.4 0-3-1.35-3-3V9c0-1.65.6-3 3-3s3 1.35 3 3v6c0 1.65-.6 3-3 3Z",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{opacity:".4",d:"M9.82 12h4.36M22.5 14.5v-5M1.5 14.5v-5",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},yl=function(t,n){switch(t){case"Bold":return c.createElement(pl,{color:n});case"Broken":return c.createElement(hl,{color:n});case"Bulk":return c.createElement(ml,{color:n});case"Linear":return c.createElement(Br,{color:n});case"Outline":return c.createElement(gl,{color:n});case"TwoTone":return c.createElement(vl,{color:n});default:return c.createElement(Br,{color:n})}},qt=c.forwardRef(function(e,t){var n=e.variant,r=e.color,o=e.size,s=ge(e,fl);return c.createElement("svg",de({},s,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:o,height:o,viewBox:"0 0 24 24",fill:"none"}),yl(n,r))});qt.propTypes={variant:z.oneOf(["Linear","Bold","Broken","Bulk","Outline","TwoTone"]),color:z.string,size:z.oneOfType([z.string,z.number])};qt.defaultProps={variant:"Linear",color:"currentColor",size:"24"};qt.displayName="Weight";var bl=["variant","color","size"],xl=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M11.5 21a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19ZM21.3 21.999c-.18 0-.36-.07-.49-.2l-1.86-1.86a.706.706 0 0 1 0-.99c.27-.27.71-.27.99 0l1.86 1.86c.27.27.27.71 0 .99-.14.13-.32.2-.5.2Z",fill:n}))},wl=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M11.5 2c5.25 0 9.5 4.25 9.5 9.5S16.75 21 11.5 21 2 16.75 2 11.5c0-3.7 2.11-6.9 5.2-8.47M22 22l-2-2",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},El=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{opacity:".4",d:"M11.5 21a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19Z",fill:n}),c.createElement("path",{d:"M21.3 21.999c-.18 0-.36-.07-.49-.2l-1.86-1.86a.706.706 0 0 1 0-.99c.27-.27.71-.27.99 0l1.86 1.86c.27.27.27.71 0 .99-.14.13-.32.2-.5.2Z",fill:n}))},Dr=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M11.5 21a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19ZM22 22l-2-2",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},Sl=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M11.5 21.75c-5.65 0-10.25-4.6-10.25-10.25S5.85 1.25 11.5 1.25s10.25 4.6 10.25 10.25-4.6 10.25-10.25 10.25Zm0-19c-4.83 0-8.75 3.93-8.75 8.75s3.92 8.75 8.75 8.75 8.75-3.93 8.75-8.75-3.92-8.75-8.75-8.75ZM22 22.751c-.19 0-.38-.07-.53-.22l-2-2a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l2 2c.29.29.29.77 0 1.06-.15.15-.34.22-.53.22Z",fill:n}))},kl=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M11.5 21a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19Z",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{opacity:".4",d:"m22 22-2-2",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},Cl=function(t,n){switch(t){case"Bold":return c.createElement(xl,{color:n});case"Broken":return c.createElement(wl,{color:n});case"Bulk":return c.createElement(El,{color:n});case"Linear":return c.createElement(Dr,{color:n});case"Outline":return c.createElement(Sl,{color:n});case"TwoTone":return c.createElement(kl,{color:n});default:return c.createElement(Dr,{color:n})}},at=c.forwardRef(function(e,t){var n=e.variant,r=e.color,o=e.size,s=ge(e,bl);return c.createElement("svg",de({},s,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:o,height:o,viewBox:"0 0 24 24",fill:"none"}),Cl(n,r))});at.propTypes={variant:z.oneOf(["Linear","Bold","Broken","Bulk","Outline","TwoTone"]),color:z.string,size:z.oneOfType([z.string,z.number])};at.defaultProps={variant:"Linear",color:"currentColor",size:"24"};at.displayName="SearchNormal1";const Ol=$o("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 ",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow",secondary:"border-transparent bg-secondary text-secondary-foreground",outline:"text-foreground",subtle:"border-transparent bg-muted text-muted-foreground"}},defaultVariants:{variant:"default"}}),Jo=g.forwardRef(({className:e,variant:t,...n},r)=>w.jsx("div",{ref:r,className:pe(Ol({variant:t}),e),...n}));Jo.displayName="Badge";const Y=e=>typeof e=="string",rt=()=>{let e,t;const n=new Promise((r,o)=>{e=r,t=o});return n.resolve=e,n.reject=t,n},zr=e=>e==null?"":""+e,Tl=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},Rl=/###/g,Vr=e=>e&&e.indexOf("###")>-1?e.replace(Rl,"."):e,Wr=e=>!e||Y(e),ot=(e,t,n)=>{const r=Y(t)?t.split("."):t;let o=0;for(;o<r.length-1;){if(Wr(e))return{};const s=Vr(r[o]);!e[s]&&n&&(e[s]=new n),Object.prototype.hasOwnProperty.call(e,s)?e=e[s]:e={},++o}return Wr(e)?{}:{obj:e,k:Vr(r[o])}},Zr=(e,t,n)=>{const{obj:r,k:o}=ot(e,t,Object);if(r!==void 0||t.length===1){r[o]=n;return}let s=t[t.length-1],i=t.slice(0,t.length-1),a=ot(e,i,Object);for(;a.obj===void 0&&i.length;)s=`${i[i.length-1]}.${s}`,i=i.slice(0,i.length-1),a=ot(e,i,Object),a?.obj&&typeof a.obj[`${a.k}.${s}`]<"u"&&(a.obj=void 0);a.obj[`${a.k}.${s}`]=n},Ll=(e,t,n,r)=>{const{obj:o,k:s}=ot(e,t,Object);o[s]=o[s]||[],o[s].push(n)},Nt=(e,t)=>{const{obj:n,k:r}=ot(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},Pl=(e,t,n)=>{const r=Nt(e,n);return r!==void 0?r:Nt(t,n)},Qo=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?Y(e[r])||e[r]instanceof String||Y(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):Qo(e[r],t[r],n):e[r]=t[r]);return e},De=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Al={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const Ml=e=>Y(e)?e.replace(/[&<>"'\/]/g,t=>Al[t]):e;class Nl{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const jl=[" ",",","?","!",";"],_l=new Nl(20),$l=(e,t,n)=>{t=t||"",n=n||"";const r=jl.filter(i=>t.indexOf(i)<0&&n.indexOf(i)<0);if(r.length===0)return!0;const o=_l.getRegExp(`(${r.map(i=>i==="?"?"\\?":i).join("|")})`);let s=!o.test(e);if(!s){const i=e.indexOf(n);i>0&&!o.test(e.substring(0,i))&&(s=!0)}return s},Nn=(e,t,n=".")=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;const r=t.split(n);let o=e;for(let s=0;s<r.length;){if(!o||typeof o!="object")return;let i,a="";for(let l=s;l<r.length;++l)if(l!==s&&(a+=n),a+=r[l],i=o[a],i!==void 0){if(["string","number","boolean"].indexOf(typeof i)>-1&&l<r.length-1)continue;s+=l-s+1;break}o=i}return o},ct=e=>e?.replace("_","-"),Fl={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class jt{constructor(t,n={}){this.init(t,n)}init(t,n={}){this.prefix=n.prefix||"i18next:",this.logger=t||Fl,this.options=n,this.debug=n.debug}log(...t){return this.forward(t,"log","",!0)}warn(...t){return this.forward(t,"warn","",!0)}error(...t){return this.forward(t,"error","")}deprecate(...t){return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,r,o){return o&&!this.debug?null:(Y(t[0])&&(t[0]=`${r}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new jt(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new jt(this.logger,t)}}var xe=new jt;class Xt{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(r=>{this.observers[r]||(this.observers[r]=new Map);const o=this.observers[r].get(n)||0;this.observers[r].set(n,o+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t,...n){this.observers[t]&&Array.from(this.observers[t].entries()).forEach(([o,s])=>{for(let i=0;i<s;i++)o(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([o,s])=>{for(let i=0;i<s;i++)o.apply(o,[t,...n])})}}class Hr extends Xt{constructor(t,n={ns:["translation"],defaultNS:"translation"}){super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r,o={}){const s=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,i=o.ignoreJSONStructure!==void 0?o.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;t.indexOf(".")>-1?a=t.split("."):(a=[t,n],r&&(Array.isArray(r)?a.push(...r):Y(r)&&s?a.push(...r.split(s)):a.push(r)));const l=Nt(this.data,a);return!l&&!n&&!r&&t.indexOf(".")>-1&&(t=a[0],n=a[1],r=a.slice(2).join(".")),l||!i||!Y(r)?l:Nn(this.data?.[t]?.[n],r,s)}addResource(t,n,r,o,s={silent:!1}){const i=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator;let a=[t,n];r&&(a=a.concat(i?r.split(i):r)),t.indexOf(".")>-1&&(a=t.split("."),o=n,n=a[1]),this.addNamespaces(n),Zr(this.data,a,o),s.silent||this.emit("added",t,n,r,o)}addResources(t,n,r,o={silent:!1}){for(const s in r)(Y(r[s])||Array.isArray(r[s]))&&this.addResource(t,n,s,r[s],{silent:!0});o.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,o,s,i={silent:!1,skipCopy:!1}){let a=[t,n];t.indexOf(".")>-1&&(a=t.split("."),o=r,r=n,n=a[1]),this.addNamespaces(n);let l=Nt(this.data,a)||{};i.skipCopy||(r=JSON.parse(JSON.stringify(r))),o?Qo(l,r,s):l={...l,...r},Zr(this.data,a,l),i.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(o=>n[o]&&Object.keys(n[o]).length>0)}toJSON(){return this.data}}var es={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,o){return e.forEach(s=>{t=this.processors[s]?.process(t,n,r,o)??t}),t}};const ts=Symbol("i18next/PATH_KEY");function Il(){const e=[],t=Object.create(null);let n;return t.get=(r,o)=>(n?.revoke?.(),o===ts?e:(e.push(o),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}function jn(e,t){const{[ts]:n}=e(Il());return n.join(t?.keySeparator??".")}const Ur={},vn=e=>!Y(e)&&typeof e!="boolean"&&typeof e!="number";class _t extends Xt{constructor(t,n={}){super(),Tl(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=xe.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t,n={interpolation:{}}){const r={...n};if(t==null)return!1;const o=this.resolve(t,r);if(o?.res===void 0)return!1;const s=vn(o.res);return!(r.returnObjects===!1&&s)}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const o=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let s=n.ns||this.options.defaultNS||[];const i=r&&t.indexOf(r)>-1,a=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!$l(t,r,o);if(i&&!a){const l=t.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:t,namespaces:Y(s)?[s]:s};const u=t.split(r);(r!==o||r===o&&this.options.ns.indexOf(u[0])>-1)&&(s=u.shift()),t=u.join(o)}return{key:t,namespaces:Y(s)?[s]:s}}translate(t,n,r){let o=typeof n=="object"?{...n}:n;if(typeof o!="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),typeof o=="object"&&(o={...o}),o||(o={}),t==null)return"";typeof t=="function"&&(t=jn(t,{...this.options,...o})),Array.isArray(t)||(t=[String(t)]);const s=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,i=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,{key:a,namespaces:l}=this.extractFromKey(t[t.length-1],o),u=l[l.length-1];let f=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;f===void 0&&(f=":");const d=o.lng||this.language,h=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d?.toLowerCase()==="cimode")return h?s?{res:`${u}${f}${a}`,usedKey:a,exactUsedKey:a,usedLng:d,usedNS:u,usedParams:this.getUsedParamsDetails(o)}:`${u}${f}${a}`:s?{res:a,usedKey:a,exactUsedKey:a,usedLng:d,usedNS:u,usedParams:this.getUsedParamsDetails(o)}:a;const p=this.resolve(t,o);let v=p?.res;const m=p?.usedKey||a,b=p?.exactUsedKey||a,E=["[object Number]","[object Function]","[object RegExp]"],C=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,S=!this.i18nFormat||this.i18nFormat.handleAsObject,k=o.count!==void 0&&!Y(o.count),x=_t.hasDefaultValue(o),_=k?this.pluralResolver.getSuffix(d,o.count,o):"",M=o.ordinal&&k?this.pluralResolver.getSuffix(d,o.count,{ordinal:!1}):"",R=k&&!o.ordinal&&o.count===0,$=R&&o[`defaultValue${this.options.pluralSeparator}zero`]||o[`defaultValue${_}`]||o[`defaultValue${M}`]||o.defaultValue;let F=v;S&&!v&&x&&(F=$);const V=vn(F),W=Object.prototype.toString.apply(F);if(S&&F&&V&&E.indexOf(W)<0&&!(Y(C)&&Array.isArray(F))){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const U=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,F,{...o,ns:l}):`key '${a} (${this.language})' returned an object instead of string.`;return s?(p.res=U,p.usedParams=this.getUsedParamsDetails(o),p):U}if(i){const U=Array.isArray(F),Z=U?[]:{},ee=U?b:m;for(const D in F)if(Object.prototype.hasOwnProperty.call(F,D)){const H=`${ee}${i}${D}`;x&&!v?Z[D]=this.translate(H,{...o,defaultValue:vn($)?$[D]:void 0,joinArrays:!1,ns:l}):Z[D]=this.translate(H,{...o,joinArrays:!1,ns:l}),Z[D]===H&&(Z[D]=F[D])}v=Z}}else if(S&&Y(C)&&Array.isArray(v))v=v.join(C),v&&(v=this.extendTranslation(v,t,o,r));else{let U=!1,Z=!1;!this.isValidLookup(v)&&x&&(U=!0,v=$),this.isValidLookup(v)||(Z=!0,v=a);const D=(o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&Z?void 0:v,H=x&&$!==v&&this.options.updateMissing;if(Z||U||H){if(this.logger.log(H?"updateKey":"missingKey",d,u,a,H?$:v),i){const y=this.resolve(a,{...o,keySeparator:!1});y&&y.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let T=[];const te=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&te&&te[0])for(let y=0;y<te.length;y++)T.push(te[y]);else this.options.saveMissingTo==="all"?T=this.languageUtils.toResolveHierarchy(o.lng||this.language):T.push(o.lng||this.language);const O=(y,L,P)=>{const N=x&&P!==v?P:D;this.options.missingKeyHandler?this.options.missingKeyHandler(y,u,L,N,H,o):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(y,u,L,N,H,o),this.emit("missingKey",y,u,L,v)};this.options.saveMissing&&(this.options.saveMissingPlurals&&k?T.forEach(y=>{const L=this.pluralResolver.getSuffixes(y,o);R&&o[`defaultValue${this.options.pluralSeparator}zero`]&&L.indexOf(`${this.options.pluralSeparator}zero`)<0&&L.push(`${this.options.pluralSeparator}zero`),L.forEach(P=>{O([y],a+P,o[`defaultValue${P}`]||$)})}):O(T,a,$))}v=this.extendTranslation(v,t,o,p,r),Z&&v===a&&this.options.appendNamespaceToMissingKey&&(v=`${u}${f}${a}`),(Z||U)&&this.options.parseMissingKeyHandler&&(v=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}${f}${a}`:a,U?v:void 0,o))}return s?(p.res=v,p.usedParams=this.getUsedParamsDetails(o),p):v}extendTranslation(t,n,r,o,s){if(this.i18nFormat?.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const l=Y(t)&&(r?.interpolation?.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let u;if(l){const d=t.match(this.interpolator.nestingRegexp);u=d&&d.length}let f=r.replace&&!Y(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(f={...this.options.interpolation.defaultVariables,...f}),t=this.interpolator.interpolate(t,f,r.lng||this.language||o.usedLng,r),l){const d=t.match(this.interpolator.nestingRegexp),h=d&&d.length;u<h&&(r.nest=!1)}!r.lng&&o&&o.res&&(r.lng=this.language||o.usedLng),r.nest!==!1&&(t=this.interpolator.nest(t,(...d)=>s?.[0]===d[0]&&!r.context?(this.logger.warn(`It seems you are nesting recursively key: ${d[0]} in key: ${n[0]}`),null):this.translate(...d,n),r)),r.interpolation&&this.interpolator.reset()}const i=r.postProcess||this.options.postProcess,a=Y(i)?[i]:i;return t!=null&&a?.length&&r.applyPostProcessor!==!1&&(t=es.handle(a,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...o,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),t}resolve(t,n={}){let r,o,s,i,a;return Y(t)&&(t=[t]),t.forEach(l=>{if(this.isValidLookup(r))return;const u=this.extractFromKey(l,n),f=u.key;o=f;let d=u.namespaces;this.options.fallbackNS&&(d=d.concat(this.options.fallbackNS));const h=n.count!==void 0&&!Y(n.count),p=h&&!n.ordinal&&n.count===0,v=n.context!==void 0&&(Y(n.context)||typeof n.context=="number")&&n.context!=="",m=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);d.forEach(b=>{this.isValidLookup(r)||(a=b,!Ur[`${m[0]}-${b}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(a)&&(Ur[`${m[0]}-${b}`]=!0,this.logger.warn(`key "${o}" for languages "${m.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),m.forEach(E=>{if(this.isValidLookup(r))return;i=E;const C=[f];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(C,f,E,b,n);else{let k;h&&(k=this.pluralResolver.getSuffix(E,n.count,n));const x=`${this.options.pluralSeparator}zero`,_=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(h&&(n.ordinal&&k.indexOf(_)===0&&C.push(f+k.replace(_,this.options.pluralSeparator)),C.push(f+k),p&&C.push(f+x)),v){const M=`${f}${this.options.contextSeparator||"_"}${n.context}`;C.push(M),h&&(n.ordinal&&k.indexOf(_)===0&&C.push(M+k.replace(_,this.options.pluralSeparator)),C.push(M+k),p&&C.push(M+x))}}let S;for(;S=C.pop();)this.isValidLookup(r)||(s=S,r=this.getResource(E,b,S,n))}))})}),{res:r,usedKey:o,exactUsedKey:s,usedLng:i,usedNS:a}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r,o={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(t,n,r,o):this.resourceStore.getResource(t,n,r,o)}getUsedParamsDetails(t={}){const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&!Y(t.replace);let o=r?t.replace:t;if(r&&typeof t.count<"u"&&(o.count=t.count),this.options.interpolation.defaultVariables&&(o={...this.options.interpolation.defaultVariables,...o}),!r){o={...o};for(const s of n)delete o[s]}return o}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}class Kr{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=xe.create("languageUtils")}getScriptPartFromCode(t){if(t=ct(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=ct(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(Y(t)&&t.indexOf("-")>-1){let n;try{n=Intl.getCanonicalLocales(t)[0]}catch{}return n&&this.options.lowerCaseLng&&(n=n.toLowerCase()),n||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const o=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(o))&&(n=o)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const o=this.getScriptPartFromCode(r);if(this.isSupportedCode(o))return n=o;const s=this.getLanguagePartFromCode(r);if(this.isSupportedCode(s))return n=s;n=this.options.supportedLngs.find(i=>{if(i===s)return i;if(!(i.indexOf("-")<0&&s.indexOf("-")<0)&&(i.indexOf("-")>0&&s.indexOf("-")<0&&i.substring(0,i.indexOf("-"))===s||i.indexOf(s)===0&&s.length>1))return i})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),Y(t)&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes((n===!1?[]:n)||this.options.fallbackLng||[],t),o=[],s=i=>{i&&(this.isSupportedCode(i)?o.push(i):this.logger.warn(`rejecting language code not found in supportedLngs: ${i}`))};return Y(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(t))):Y(t)&&s(this.formatLanguageCode(t)),r.forEach(i=>{o.indexOf(i)<0&&s(this.formatLanguageCode(i))}),o}}const Yr={zero:0,one:1,two:2,few:3,many:4,other:5},Gr={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class Bl{constructor(t,n={}){this.languageUtils=t,this.options=n,this.logger=xe.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(t,n={}){const r=ct(t==="dev"?"en":t),o=n.ordinal?"ordinal":"cardinal",s=JSON.stringify({cleanedCode:r,type:o});if(s in this.pluralRulesCache)return this.pluralRulesCache[s];let i;try{i=new Intl.PluralRules(r,{type:o})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),Gr;if(!t.match(/-|_/))return Gr;const l=this.languageUtils.getLanguagePartFromCode(t);i=this.getRule(l,n)}return this.pluralRulesCache[s]=i,i}needsPlural(t,n={}){let r=this.getRule(t,n);return r||(r=this.getRule("dev",n)),r?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(t,n,r={}){return this.getSuffixes(t,r).map(o=>`${n}${o}`)}getSuffixes(t,n={}){let r=this.getRule(t,n);return r||(r=this.getRule("dev",n)),r?r.resolvedOptions().pluralCategories.sort((o,s)=>Yr[o]-Yr[s]).map(o=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${o}`):[]}getSuffix(t,n,r={}){const o=this.getRule(t,r);return o?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${o.select(n)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",n,r))}}const qr=(e,t,n,r=".",o=!0)=>{let s=Pl(e,t,n);return!s&&o&&Y(n)&&(s=Nn(e,n,r),s===void 0&&(s=Nn(t,n,r))),s},yn=e=>e.replace(/\$/g,"$$$$");class Xr{constructor(t={}){this.logger=xe.create("interpolator"),this.options=t,this.format=t?.interpolation?.format||(n=>n),this.init(t)}init(t={}){t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:o,prefix:s,prefixEscaped:i,suffix:a,suffixEscaped:l,formatSeparator:u,unescapeSuffix:f,unescapePrefix:d,nestingPrefix:h,nestingPrefixEscaped:p,nestingSuffix:v,nestingSuffixEscaped:m,nestingOptionsSeparator:b,maxReplaces:E,alwaysFormat:C}=t.interpolation;this.escape=n!==void 0?n:Ml,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=o!==void 0?o:!1,this.prefix=s?De(s):i||"{{",this.suffix=a?De(a):l||"}}",this.formatSeparator=u||",",this.unescapePrefix=f?"":d||"-",this.unescapeSuffix=this.unescapePrefix?"":f||"",this.nestingPrefix=h?De(h):p||De("$t("),this.nestingSuffix=v?De(v):m||De(")"),this.nestingOptionsSeparator=b||",",this.maxReplaces=E||1e3,this.alwaysFormat=C!==void 0?C:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>n?.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(t,n,r,o){let s,i,a;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=p=>{if(p.indexOf(this.formatSeparator)<0){const E=qr(n,l,p,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(E,void 0,r,{...o,...n,interpolationkey:p}):E}const v=p.split(this.formatSeparator),m=v.shift().trim(),b=v.join(this.formatSeparator).trim();return this.format(qr(n,l,m,this.options.keySeparator,this.options.ignoreJSONStructure),b,r,{...o,...n,interpolationkey:m})};this.resetRegExp();const f=o?.missingInterpolationHandler||this.options.missingInterpolationHandler,d=o?.interpolation?.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:p=>yn(p)},{regex:this.regexp,safeValue:p=>this.escapeValue?yn(this.escape(p)):yn(p)}].forEach(p=>{for(a=0;s=p.regex.exec(t);){const v=s[1].trim();if(i=u(v),i===void 0)if(typeof f=="function"){const b=f(t,s,o);i=Y(b)?b:""}else if(o&&Object.prototype.hasOwnProperty.call(o,v))i="";else if(d){i=s[0];continue}else this.logger.warn(`missed to pass in variable ${v} for interpolating ${t}`),i="";else!Y(i)&&!this.useRawValueToEscape&&(i=zr(i));const m=p.safeValue(i);if(t=t.replace(s[0],m),d?(p.regex.lastIndex+=i.length,p.regex.lastIndex-=s[0].length):p.regex.lastIndex=0,a++,a>=this.maxReplaces)break}}),t}nest(t,n,r={}){let o,s,i;const a=(l,u)=>{const f=this.nestingOptionsSeparator;if(l.indexOf(f)<0)return l;const d=l.split(new RegExp(`${f}[ ]*{`));let h=`{${d[1]}`;l=d[0],h=this.interpolate(h,i);const p=h.match(/'/g),v=h.match(/"/g);((p?.length??0)%2===0&&!v||v.length%2!==0)&&(h=h.replace(/'/g,'"'));try{i=JSON.parse(h),u&&(i={...u,...i})}catch(m){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,m),`${l}${f}${h}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,l};for(;o=this.nestingRegexp.exec(t);){let l=[];i={...r},i=i.replace&&!Y(i.replace)?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;const u=/{.*}/.test(o[1])?o[1].lastIndexOf("}")+1:o[1].indexOf(this.formatSeparator);if(u!==-1&&(l=o[1].slice(u).split(this.formatSeparator).map(f=>f.trim()).filter(Boolean),o[1]=o[1].slice(0,u)),s=n(a.call(this,o[1].trim(),i),i),s&&o[0]===t&&!Y(s))return s;Y(s)||(s=zr(s)),s||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${t}`),s=""),l.length&&(s=l.reduce((f,d)=>this.format(f,d,r.lng,{...r,interpolationkey:o[1].trim()}),s.trim())),t=t.replace(o[0],s),this.regexp.lastIndex=0}return t}}const Dl=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const o=r[1].substring(0,r[1].length-1);t==="currency"&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):t==="relativetime"&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach(i=>{if(i){const[a,...l]=i.split(":"),u=l.join(":").trim().replace(/^'+|'+$/g,""),f=a.trim();n[f]||(n[f]=u),u==="false"&&(n[f]=!1),u==="true"&&(n[f]=!0),isNaN(u)||(n[f]=parseInt(u,10))}})}return{formatName:t,formatOptions:n}},Jr=e=>{const t={};return(n,r,o)=>{let s=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(s={...s,[o.interpolationkey]:void 0});const i=r+JSON.stringify(s);let a=t[i];return a||(a=e(ct(r),o),t[i]=a),a(n)}},zl=e=>(t,n,r)=>e(ct(n),r)(t);class Vl{constructor(t={}){this.logger=xe.create("formatter"),this.options=t,this.init(t)}init(t,n={interpolation:{}}){this.formatSeparator=n.interpolation.formatSeparator||",";const r=n.cacheInBuiltFormats?Jr:zl;this.formats={number:r((o,s)=>{const i=new Intl.NumberFormat(o,{...s});return a=>i.format(a)}),currency:r((o,s)=>{const i=new Intl.NumberFormat(o,{...s,style:"currency"});return a=>i.format(a)}),datetime:r((o,s)=>{const i=new Intl.DateTimeFormat(o,{...s});return a=>i.format(a)}),relativetime:r((o,s)=>{const i=new Intl.RelativeTimeFormat(o,{...s});return a=>i.format(a,s.range||"day")}),list:r((o,s)=>{const i=new Intl.ListFormat(o,{...s});return a=>i.format(a)})}}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=Jr(n)}format(t,n,r,o={}){const s=n.split(this.formatSeparator);if(s.length>1&&s[0].indexOf("(")>1&&s[0].indexOf(")")<0&&s.find(a=>a.indexOf(")")>-1)){const a=s.findIndex(l=>l.indexOf(")")>-1);s[0]=[s[0],...s.splice(1,a)].join(this.formatSeparator)}return s.reduce((a,l)=>{const{formatName:u,formatOptions:f}=Dl(l);if(this.formats[u]){let d=a;try{const h=o?.formatParams?.[o.interpolationkey]||{},p=h.locale||h.lng||o.locale||o.lng||r;d=this.formats[u](a,p,{...f,...o,...h})}catch(h){this.logger.warn(h)}return d}else this.logger.warn(`there was no format function for ${u}`);return a},t)}}const Wl=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class Zl extends Xt{constructor(t,n,r,o={}){super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=o,this.logger=xe.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(r,o.backend,o)}queueLoad(t,n,r,o){const s={},i={},a={},l={};return t.forEach(u=>{let f=!0;n.forEach(d=>{const h=`${u}|${d}`;!r.reload&&this.store.hasResourceBundle(u,d)?this.state[h]=2:this.state[h]<0||(this.state[h]===1?i[h]===void 0&&(i[h]=!0):(this.state[h]=1,f=!1,i[h]===void 0&&(i[h]=!0),s[h]===void 0&&(s[h]=!0),l[d]===void 0&&(l[d]=!0)))}),f||(a[u]=!0)}),(Object.keys(s).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(s),pending:Object.keys(i),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(l)}}loaded(t,n,r){const o=t.split("|"),s=o[0],i=o[1];n&&this.emit("failedLoading",s,i,n),!n&&r&&this.store.addResourceBundle(s,i,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&r&&(this.state[t]=0);const a={};this.queue.forEach(l=>{Ll(l.loaded,[s],i),Wl(l,t),n&&l.errors.push(n),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(u=>{a[u]||(a[u]={});const f=l.loaded[u];f.length&&f.forEach(d=>{a[u][d]===void 0&&(a[u][d]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(l=>!l.done)}read(t,n,r,o=0,s=this.retryTimeout,i){if(!t.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:o,wait:s,callback:i});return}this.readingCalls++;const a=(u,f)=>{if(this.readingCalls--,this.waitingReads.length>0){const d=this.waitingReads.shift();this.read(d.lng,d.ns,d.fcName,d.tried,d.wait,d.callback)}if(u&&f&&o<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,r,o+1,s*2,i)},s);return}i(u,f)},l=this.backend[r].bind(this.backend);if(l.length===2){try{const u=l(t,n);u&&typeof u.then=="function"?u.then(f=>a(null,f)).catch(a):a(null,u)}catch(u){a(u)}return}return l(t,n,a)}prepareLoading(t,n,r={},o){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();Y(t)&&(t=this.languageUtils.toResolveHierarchy(t)),Y(n)&&(n=[n]);const s=this.queueLoad(t,n,r,o);if(!s.toLoad.length)return s.pending.length||o(),null;s.toLoad.forEach(i=>{this.loadOne(i)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t,n=""){const r=t.split("|"),o=r[0],s=r[1];this.read(o,s,"read",void 0,void 0,(i,a)=>{i&&this.logger.warn(`${n}loading namespace ${s} for language ${o} failed`,i),!i&&a&&this.logger.log(`${n}loaded namespace ${s} for language ${o}`,a),this.loaded(t,i,a)})}saveMissing(t,n,r,o,s,i={},a=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend?.create){const l={...i,isUpdate:s},u=this.backend.create.bind(this.backend);if(u.length<6)try{let f;u.length===5?f=u(t,n,r,o,l):f=u(t,n,r,o),f&&typeof f.then=="function"?f.then(d=>a(null,d)).catch(a):a(null,f)}catch(f){a(f)}else u(t,n,r,o,a,l)}!t||!t[0]||this.store.addResource(t[0],n,r,o)}}}const bn=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),Y(e[1])&&(t.defaultValue=e[1]),Y(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(r=>{t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),Qr=e=>(Y(e.ns)&&(e.ns=[e.ns]),Y(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Y(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),typeof e.initImmediate=="boolean"&&(e.initAsync=e.initImmediate),e),xt=()=>{},Hl=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class st extends Xt{constructor(t={},n){if(super(),this.options=Qr(t),this.services={},this.logger=xe,this.modules={external:[]},Hl(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(t={},n){this.isInitializing=!0,typeof t=="function"&&(n=t,t={}),t.defaultNS==null&&t.ns&&(Y(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const r=bn();this.options={...r,...this.options,...Qr(t)},this.options.interpolation={...r.interpolation,...this.options.interpolation},t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator),typeof this.options.overloadTranslationOptionHandler!="function"&&(this.options.overloadTranslationOptionHandler=r.overloadTranslationOptionHandler);const o=u=>u?typeof u=="function"?new u:u:null;if(!this.options.isClone){this.modules.logger?xe.init(o(this.modules.logger),this.options):xe.init(null,this.options);let u;this.modules.formatter?u=this.modules.formatter:u=Vl;const f=new Kr(this.options);this.store=new Hr(this.options.resources,this.options);const d=this.services;d.logger=xe,d.resourceStore=this.store,d.languageUtils=f,d.pluralResolver=new Bl(f,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),u&&(!this.options.interpolation.format||this.options.interpolation.format===r.interpolation.format)&&(d.formatter=o(u),d.formatter.init&&d.formatter.init(d,this.options),this.options.interpolation.format=d.formatter.format.bind(d.formatter)),d.interpolator=new Xr(this.options),d.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},d.backendConnector=new Zl(o(this.modules.backend),d.resourceStore,d,this.options),d.backendConnector.on("*",(p,...v)=>{this.emit(p,...v)}),this.modules.languageDetector&&(d.languageDetector=o(this.modules.languageDetector),d.languageDetector.init&&d.languageDetector.init(d,this.options.detection,this.options)),this.modules.i18nFormat&&(d.i18nFormat=o(this.modules.i18nFormat),d.i18nFormat.init&&d.i18nFormat.init(this)),this.translator=new _t(this.services,this.options),this.translator.on("*",(p,...v)=>{this.emit(p,...v)}),this.modules.external.forEach(p=>{p.init&&p.init(this)})}if(this.format=this.options.interpolation.format,n||(n=xt),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&u[0]!=="dev"&&(this.options.lng=u[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(u=>{this[u]=(...f)=>this.store[u](...f)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(u=>{this[u]=(...f)=>(this.store[u](...f),this)});const a=rt(),l=()=>{const u=(f,d)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),a.resolve(d),n(f,d)};if(this.languages&&!this.isInitialized)return u(null,this.t.bind(this));this.changeLanguage(this.options.lng,u)};return this.options.resources||!this.options.initAsync?l():setTimeout(l,0),a}loadResources(t,n=xt){let r=n;const o=Y(t)?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(o?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const s=[],i=a=>{if(!a||a==="cimode")return;this.services.languageUtils.toResolveHierarchy(a).forEach(u=>{u!=="cimode"&&s.indexOf(u)<0&&s.push(u)})};o?i(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(l=>i(l)),this.options.preload?.forEach?.(a=>i(a)),this.services.backendConnector.load(s,this.options.ns,a=>{!a&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(a)})}else r(null)}reloadResources(t,n,r){const o=rt();return typeof t=="function"&&(r=t,t=void 0),typeof n=="function"&&(r=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),r||(r=xt),this.services.backendConnector.reload(t,n,s=>{o.resolve(),r(s)}),o}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&es.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1)){for(let n=0;n<this.languages.length;n++){const r=this.languages[n];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}!this.resolvedLanguage&&this.languages.indexOf(t)<0&&this.store.hasLanguageSomeTranslations(t)&&(this.resolvedLanguage=t,this.languages.unshift(t))}}changeLanguage(t,n){this.isLanguageChangingTo=t;const r=rt();this.emit("languageChanging",t);const o=a=>{this.language=a,this.languages=this.services.languageUtils.toResolveHierarchy(a),this.resolvedLanguage=void 0,this.setResolvedLanguage(a)},s=(a,l)=>{l?this.isLanguageChangingTo===t&&(o(l),this.translator.changeLanguage(l),this.isLanguageChangingTo=void 0,this.emit("languageChanged",l),this.logger.log("languageChanged",l)):this.isLanguageChangingTo=void 0,r.resolve((...u)=>this.t(...u)),n&&n(a,(...u)=>this.t(...u))},i=a=>{!t&&!a&&this.services.languageDetector&&(a=[]);const l=Y(a)?a:a&&a[0],u=this.store.hasLanguageSomeTranslations(l)?l:this.services.languageUtils.getBestMatchFromCodes(Y(a)?[a]:a);u&&(this.language||o(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector?.cacheUserLanguage?.(u)),this.loadResources(u,f=>{s(f,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?i(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(i):this.services.languageDetector.detect(i):i(t),r}getFixedT(t,n,r){const o=(s,i,...a)=>{let l;typeof i!="object"?l=this.options.overloadTranslationOptionHandler([s,i].concat(a)):l={...i},l.lng=l.lng||o.lng,l.lngs=l.lngs||o.lngs,l.ns=l.ns||o.ns,l.keyPrefix!==""&&(l.keyPrefix=l.keyPrefix||r||o.keyPrefix);const u=this.options.keySeparator||".";let f;return l.keyPrefix&&Array.isArray(s)?f=s.map(d=>(typeof d=="function"&&(d=jn(d,{...this.options,...i})),`${l.keyPrefix}${u}${d}`)):(typeof s=="function"&&(s=jn(s,{...this.options,...i})),f=l.keyPrefix?`${l.keyPrefix}${u}${s}`:s),this.t(f,l)};return Y(t)?o.lng=t:o.lngs=t,o.ns=n,o.keyPrefix=r,o}t(...t){return this.translator?.translate(...t)}exists(...t){return this.translator?.exists(...t)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t,n={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],o=this.options?this.options.fallbackLng:!1,s=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const i=(a,l)=>{const u=this.services.backendConnector.state[`${a}|${l}`];return u===-1||u===0||u===2};if(n.precheck){const a=n.precheck(this,i);if(a!==void 0)return a}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||i(r,t)&&(!o||i(s,t)))}loadNamespaces(t,n){const r=rt();return this.options.ns?(Y(t)&&(t=[t]),t.forEach(o=>{this.options.ns.indexOf(o)<0&&this.options.ns.push(o)}),this.loadResources(o=>{r.resolve(),n&&n(o)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=rt();Y(t)&&(t=[t]);const o=this.options.preload||[],s=t.filter(i=>o.indexOf(i)<0&&this.services.languageUtils.isSupportedCode(i));return s.length?(this.options.preload=o.concat(s),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!t)return"rtl";try{const o=new Intl.Locale(t);if(o&&o.getTextInfo){const s=o.getTextInfo();if(s&&s.direction)return s.direction}}catch{}const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services?.languageUtils||new Kr(bn());return t.toLowerCase().indexOf("-latn")>1?"ltr":n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(t={},n){const r=new st(t,n);return r.createInstance=st.createInstance,r}cloneInstance(t={},n=xt){const r=t.forkResourceStore;r&&delete t.forkResourceStore;const o={...this.options,...t,isClone:!0},s=new st(o);if((t.debug!==void 0||t.prefix!==void 0)&&(s.logger=s.logger.clone(t)),["store","services","language"].forEach(a=>{s[a]=this[a]}),s.services={...this.services},s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},r){const a=Object.keys(this.store.data).reduce((l,u)=>(l[u]={...this.store.data[u]},l[u]=Object.keys(l[u]).reduce((f,d)=>(f[d]={...l[u][d]},f),l[u]),l),{});s.store=new Hr(a,o),s.services.resourceStore=s.store}if(t.interpolation){const l={...bn().interpolation,...this.options.interpolation,...t.interpolation},u={...o,interpolation:l};s.services.interpolator=new Xr(u)}return s.translator=new _t(s.services,o),s.translator.on("*",(a,...l)=>{s.emit(a,...l)}),s.init(o,n),s.translator.options=o,s.translator.backendConnector.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const ie=st.createInstance();ie.createInstance;ie.dir;ie.init;ie.loadResources;ie.reloadResources;ie.use;ie.changeLanguage;ie.getFixedT;ie.t;ie.exists;ie.setDefaultNamespace;ie.hasLoadedNamespace;ie.loadNamespaces;ie.loadLanguages;const Ul=(e,t,n,r)=>{const o=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(o,"warn","react-i18next::",!0);_e(o[0])&&(o[0]=`react-i18next:: ${o[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...o):console?.warn&&console.warn(...o)},eo={},ns=(e,t,n,r)=>{_e(n)&&eo[n]||(_e(n)&&(eo[n]=new Date),Ul(e,t,n,r))},rs=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},_n=(e,t,n)=>{e.loadNamespaces(t,rs(e,n))},to=(e,t,n,r)=>{if(_e(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return _n(e,n,r);n.forEach(o=>{e.options.ns.indexOf(o)<0&&e.options.ns.push(o)}),e.loadLanguages(t,rs(e,r))},Kl=(e,t,n={})=>!t.languages||!t.languages.length?(ns(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(r,o)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!o(r.isLanguageChangingTo,e))return!1}}),_e=e=>typeof e=="string",Yl=e=>typeof e=="object"&&e!==null,Gl=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,ql={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},Xl=e=>ql[e],Jl=e=>e.replace(Gl,Xl);let $n={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:Jl,transDefaultProps:void 0};const Ql=(e={})=>{$n={...$n,...e}},eu=()=>$n;let os;const tu=e=>{os=e},nu=()=>os,ru={type:"3rdParty",init(e){Ql(e.options.react),tu(e)}},ss=c.createContext();class ou{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}var wt={exports:{}},xn={};var no;function su(){if(no)return xn;no=1;var e=c;function t(d,h){return d===h&&(d!==0||1/d===1/h)||d!==d&&h!==h}var n=typeof Object.is=="function"?Object.is:t,r=e.useState,o=e.useEffect,s=e.useLayoutEffect,i=e.useDebugValue;function a(d,h){var p=h(),v=r({inst:{value:p,getSnapshot:h}}),m=v[0].inst,b=v[1];return s(function(){m.value=p,m.getSnapshot=h,l(m)&&b({inst:m})},[d,p,h]),o(function(){return l(m)&&b({inst:m}),d(function(){l(m)&&b({inst:m})})},[d]),i(p),p}function l(d){var h=d.getSnapshot;d=d.value;try{var p=h();return!n(d,p)}catch{return!0}}function u(d,h){return h()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:a;return xn.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:f,xn}var wn={};var ro;function iu(){return ro||(ro=1,process.env.NODE_ENV!=="production"&&(function(){function e(p,v){return p===v&&(p!==0||1/p===1/v)||p!==p&&v!==v}function t(p,v){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 m=v();if(!d){var b=v();s(m,b)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),d=!0)}b=i({inst:{value:m,getSnapshot:v}});var E=b[0].inst,C=b[1];return l(function(){E.value=m,E.getSnapshot=v,n(E)&&C({inst:E})},[p,m,v]),a(function(){return n(E)&&C({inst:E}),p(function(){n(E)&&C({inst:E})})},[p]),u(m),m}function n(p){var v=p.getSnapshot;p=p.value;try{var m=v();return!s(p,m)}catch{return!0}}function r(p,v){return v()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var o=c,s=typeof Object.is=="function"?Object.is:e,i=o.useState,a=o.useEffect,l=o.useLayoutEffect,u=o.useDebugValue,f=!1,d=!1,h=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?r:t;wn.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())})()),wn}var oo;function au(){return oo||(oo=1,process.env.NODE_ENV==="production"?wt.exports=su():wt.exports=iu()),wt.exports}var cu=au();const lu=(e,t)=>_e(t)?t:Yl(t)&&_e(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,uu={t:lu,ready:!1},du=()=>()=>{},fu=(e,t={})=>{const{i18n:n}=t,{i18n:r,defaultNS:o}=c.useContext(ss)||{},s=n||r||nu();s&&!s.reportNamespaces&&(s.reportNamespaces=new ou),s||ns(s,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const i=c.useMemo(()=>({...eu(),...s?.options?.react,...t}),[s,t]),{useSuspense:a,keyPrefix:l}=i,u=e||o||s?.options?.defaultNS,f=_e(u)?[u]:u||["translation"],d=c.useMemo(()=>f,f);s?.reportNamespaces?.addUsedNamespaces?.(d);const h=c.useRef(0),p=c.useCallback($=>{if(!s)return du;const{bindI18n:F,bindI18nStore:V}=i,W=()=>{h.current+=1,$()};return F&&s.on(F,W),V&&s.store.on(V,W),()=>{F&&F.split(" ").forEach(U=>s.off(U,W)),V&&V.split(" ").forEach(U=>s.store.off(U,W))}},[s,i]),v=c.useRef(),m=c.useCallback(()=>{if(!s)return uu;const $=!!(s.isInitialized||s.initializedStoreOnce)&&d.every(ee=>Kl(ee,s,i)),F=t.lng||s.language,V=h.current,W=v.current;if(W&&W.ready===$&&W.lng===F&&W.keyPrefix===l&&W.revision===V)return W;const Z={t:s.getFixedT(F,i.nsMode==="fallback"?d:d[0],l),ready:$,lng:F,keyPrefix:l,revision:V};return v.current=Z,Z},[s,d,l,i,t.lng]),[b,E]=c.useState(0),{t:C,ready:S}=cu.useSyncExternalStore(p,m,m);c.useEffect(()=>{if(s&&!S&&!a){const $=()=>E(F=>F+1);t.lng?to(s,t.lng,d,$):_n(s,d,$)}},[s,t.lng,d,S,a,b]);const k=s||{},x=c.useRef(null),_=c.useRef(),M=$=>{const F=Object.getOwnPropertyDescriptors($);F.__original&&delete F.__original;const V=Object.create(Object.getPrototypeOf($),F);if(!Object.prototype.hasOwnProperty.call(V,"__original"))try{Object.defineProperty(V,"__original",{value:$,writable:!1,enumerable:!1,configurable:!1})}catch{}return V},R=c.useMemo(()=>{const $=k,F=$?.language;let V=$;$&&(x.current&&x.current.__original===$?_.current!==F?(V=M($),x.current=V,_.current=F):V=x.current:(V=M($),x.current=V,_.current=F));const W=[C,V,S];return W.t=C,W.i18n=V,W.ready=S,W},[C,k,S,k.resolvedLanguage,k.language,k.languages]);if(s&&a&&!S)throw new Promise($=>{const F=()=>$();t.lng?to(s,t.lng,d,F):_n(s,d,F)});return R};function pu({i18n:e,defaultNS:t,children:n}){const r=c.useMemo(()=>({i18n:e,defaultNS:t}),[e,t]);return c.createElement(ss.Provider,{value:r},n)}const hu="ies2 aulapp ui kit",mu="Componentes compartilháveis prontos para produção",gu="Esta sandbox reflete o estado atual do design system. Avalie cada componente antes de publicar um novo release no npm.",vu={subtitle:hu,title:mu,description:gu},yu="ies2 aulapp ui kit",bu="Production-ready shareable components",xu="This sandbox reflects the current state of the design system. Evaluate each component before publishing a new npm release.",wu={subtitle:yu,title:bu,description:xu},Eu="ies2 aulapp ui kit",Su="Componentes compartibles listos para producción",ku="Este sandbox refleja el estado actual del design system. Evalúe cada componente antes de publicar una nueva versión en npm.",Cu={subtitle:Eu,title:Su,description:ku},Ou="Componentes",Tu="Botões",Ru={primary:"Primário",secondary:"Secundário",neutral:"Neutro",ctaWithRadius:"CTA com raio 8px",outline:"Outline suave",outlineWithRadius:"Outline suave com raio 8px",ghost:"Ghost",createAriaLabel:"Criar"},Lu={sectionLabel:Ou,sectionTitle:Tu,buttons:Ru,switch:{airplaneMode:"Modo Avião"}},Pu="Components",Au="Buttons",Mu={primary:"Primary",secondary:"Secondary",neutral:"Neutral",ctaWithRadius:"CTA with 8px radius",outline:"Soft outline",outlineWithRadius:"Soft outline with 8px radius",ghost:"Ghost",createAriaLabel:"Create"},Nu={sectionLabel:Pu,sectionTitle:Au,buttons:Mu,switch:{airplaneMode:"Airplane Mode"}},ju="Componentes",_u="Botones",$u={primary:"Primario",secondary:"Secundario",neutral:"Neutral",ctaWithRadius:"CTA con radio 8px",outline:"Contorno suave",outlineWithRadius:"Contorno suave con radio 8px",ghost:"Ghost",createAriaLabel:"Crear"},Fu={sectionLabel:ju,sectionTitle:_u,buttons:$u,switch:{airplaneMode:"Modo Avión"}},Iu="Ação",Bu="Call to Action",Du="Use o kit para acelerar o desenvolvimento de experiências consistentes em múltiplos apps React.",zu={explore:"Explorar componentes",documentation:"Documentação",undo:"Desfazer alteração"},Vu={sectionLabel:Iu,sectionTitle:Bu,description:Du,buttons:zu},Wu="Action",Zu="Call to Action",Hu="Use the kit to accelerate the development of consistent experiences across multiple React apps.",Uu={explore:"Explore components",documentation:"Documentation",undo:"Undo change"},Ku={sectionLabel:Wu,sectionTitle:Zu,description:Hu,buttons:Uu},Yu="Acción",Gu="Call to Action",qu="Use el kit para acelerar el desarrollo de experiencias consistentes en múltiples apps React.",Xu={explore:"Explorar componentes",documentation:"Documentación",undo:"Deshacer cambio"},Ju={sectionLabel:Yu,sectionTitle:Gu,description:qu,buttons:Xu},Qu="Tags",ed="Badges",td="Indicadores rápidos de conteúdo e recursos disponíveis.",nd={solid:"Solid",subtle:"Subtle",outline:"Outline",text:"Text"},rd={sectionLabel:Qu,sectionTitle:ed,description:td,appearances:nd},od="Tags",sd="Badges",id="Quick indicators of content and available resources.",ad={solid:"Solid",subtle:"Subtle",outline:"Outline",text:"Text"},cd={sectionLabel:od,sectionTitle:sd,description:id,appearances:ad},ld="Etiquetas",ud="Badges",dd="Indicadores rápidos de contenido y recursos disponibles.",fd={solid:"Solid",subtle:"Subtle",outline:"Outline",text:"Text"},pd={sectionLabel:ld,sectionTitle:ud,description:dd,appearances:fd},hd={conteudo:"Conteúdo",avaliacao:"Avaliação",lista:"Lista de Exercícios",gamificada:"Gamificada",simulado:"Simulado",material:"Material de Apoio",concluido:"Concluído"},md={resourceTypes:hd},gd={conteudo:"Content",avaliacao:"Assessment",lista:"Exercise List",gamificada:"Gamified",simulado:"Mock Exam",material:"Support Material",concluido:"Completed"},vd={resourceTypes:gd},yd={conteudo:"Contenido",avaliacao:"Evaluación",lista:"Lista de Ejercicios",gamificada:"Gamificada",simulado:"Simulacro",material:"Material de Apoyo",concluido:"Completado"},bd={resourceTypes:yd},xd="Carregando...",wd="Erro",Ed="Sucesso",Sd={loading:xd,error:wd,success:Ed},kd="Loading...",Cd="Error",Od="Success",Td={loading:kd,error:Cd,success:Od},Rd="Cargando...",Ld="Error",Pd="Éxito",Ad={loading:Rd,error:Ld,success:Pd},Md={"pt-BR":{heroBanner:vu,componentsPanel:Lu,callToActionPanel:Vu,badgesPanel:rd,resourceBadge:md,common:Sd},"en-US":{heroBanner:wu,componentsPanel:Nu,callToActionPanel:Ku,badgesPanel:cd,resourceBadge:vd,common:Td},es:{heroBanner:Cu,componentsPanel:Fu,callToActionPanel:Ju,badgesPanel:pd,resourceBadge:bd,common:Ad}};ie.use(ru).init({resources:Md,lng:"pt-BR",fallbackLng:"pt-BR",defaultNS:"common",interpolation:{escapeValue:!1},react:{useSuspense:!1}});const Nd=["pt-BR","en-US","es"],jd="pt-BR",is={"pt-BR":"Português (Brasil)","en-US":"English (US)",es:"Español"};function Ie(e,t){const{t:n,i18n:r}=fu(e);c.useEffect(()=>{t&&r.language!==t&&r.changeLanguage(t)},[t,r]);const o=async i=>{await r.changeLanguage(i)},s=r.language;return{t:n,changeLanguage:o,currentLanguage:s,i18n:r}}function _d(){const{changeLanguage:e,currentLanguage:t}=Ie(),n=async r=>{await e(r)};return w.jsx("div",{className:"flex flex-wrap gap-2",children:Object.entries(is).map(([r,o])=>w.jsx(ce,{variant:t===r?"primary":"outline",size:"sm",onClick:()=>n(r),children:o},r))})}function $d({children:e,locale:t}){return c.useEffect(()=>{t&&ie.language!==t&&ie.changeLanguage(t)},[t]),w.jsx(pu,{i18n:ie,children:e})}const so={solid:"Colorido sólido",white:"Cartão branco",ghost:"Ghost colorido","icon-only":"Apenas ícone"},as={conteudo:{Icon:Ht},avaliacao:{Icon:Gt},lista:{Icon:qt},gamificada:{Icon:Zt},simulado:{Icon:Ut},material:{Icon:Kt},concluido:{Icon:Yt,onlyAppearances:["ghost"]}},Fd=Object.keys(as),cs=e=>as[e],Id={conteudo:{coloredBg:"#F9E8DC",coloredIcon:"#F27900"},avaliacao:{coloredBg:"#E8FBF0",coloredIcon:"#00B1AA"},lista:{coloredBg:"#ECF1A6",coloredIcon:"#9DA634"},gamificada:{coloredBg:"#E3DAF8",coloredIcon:"#B573DB"},simulado:{coloredBg:"#D7E2FF",coloredIcon:"#34A5E5"},material:{coloredBg:"#FBD7E4",coloredIcon:"#F3005A"},concluido:{coloredBg:"#46B35E",coloredIcon:"#46B35E",textColor:"#46B35E",fontWeight:700,iconVariant:"Bold",iconSize:22.5,iconWrapperBg:null,iconWrapperClassName:"flex items-center justify-center"}},Bd={solid:{className:"inline-flex w-[140px] items-center gap-2 rounded-lg px-2 py-1 text-[12px] leading-normal text-[#343a40] tracking-[-0.019em] whitespace-nowrap",iconSize:18,getIconColor:e=>e.coloredIcon,getStyle:e=>({backgroundColor:e.coloredBg,fontWeight:500})},white:{className:"inline-flex items-center gap-[6px] rounded-md bg-white px-[3px] py-[3px] text-[12px] leading-normal text-[#343a40] tracking-[-0.019em] whitespace-nowrap",iconSize:13.85,getIconColor:e=>e.coloredIcon,style:{fontWeight:500}},ghost:{className:"inline-flex items-center gap-2 rounded-md px-2 py-1 text-[12px] leading-normal text-muted-foreground tracking-[-0.019em] whitespace-nowrap",iconSize:18,getIconColor:e=>e.coloredIcon,style:{fontWeight:500},badgeVariant:"outline",iconWrapper:{className:"flex h-7 w-7 items-center justify-center rounded-lg",getClassName:e=>e.iconWrapperClassName,getStyle:e=>({backgroundColor:e.iconWrapperBg===null?void 0:e.iconWrapperBg??e.coloredBg})}},"icon-only":{className:"inline-flex h-9 w-9 items-center justify-center rounded-lg p-0",iconSize:20,getIconColor:e=>e.coloredIcon,getStyle:e=>({backgroundColor:e.coloredBg})}};function ls({variant:e,appearance:t="solid",className:n,style:r,locale:o,...s}){const{t:i}=Ie("resourceBadge",o),a=cs(e),l=Id[e],u=a.onlyAppearances,f=u&&!u.includes(t)?u[0]:t,d=Bd[f],h=i(`resourceTypes.${e}`),p=w.jsx(a.Icon,{size:l.iconSize??d.iconSize,variant:l.iconVariant??"Outline",color:d.getIconColor(l),"aria-hidden":!0}),v=d.iconWrapper?w.jsx("span",{className:d.iconWrapper.getClassName?.(l)??d.iconWrapper.className,style:d.iconWrapper.getStyle?.(l),children:p}):p,m={...d.style??{},...d.getStyle?.(l)??{},...l.textColor?{color:l.textColor}:{},...l.fontWeight?{fontWeight:l.fontWeight}:{},...r};return w.jsxs(Jo,{variant:d.badgeVariant,className:pe(d.className,n),style:m,...s,children:[v,f!=="icon-only"&&w.jsx("span",{children:h})]})}const us=Fd.map(e=>({variant:e,onlyAppearances:cs(e).onlyAppearances})),ds=Object.keys(so).map(e=>({appearance:e,label:so[e]})),Un=g.forwardRef(({className:e,type:t,...n},r)=>w.jsx("input",{type:t,className:pe("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...n}));Un.displayName="Input";function ae(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e?.(o),n===!1||!o.defaultPrevented)return t?.(o)}}function Xe(e,t=[]){let n=[];function r(s,i){const a=g.createContext(i),l=n.length;n=[...n,i];const u=d=>{const{scope:h,children:p,...v}=d,m=h?.[e]?.[l]||a,b=g.useMemo(()=>v,Object.values(v));return w.jsx(m.Provider,{value:b,children:p})};u.displayName=s+"Provider";function f(d,h){const p=h?.[e]?.[l]||a,v=g.useContext(p);if(v)return v;if(i!==void 0)return i;throw new Error(`\`${d}\` must be used within \`${s}\``)}return[u,f]}const o=()=>{const s=n.map(i=>g.createContext(i));return function(a){const l=a?.[e]||s;return g.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,Dd(o,...t)]}function Dd(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(s)[`__scope${u}`];return{...a,...d}},{});return g.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function $t(e){const t=zd(e),n=g.forwardRef((r,o)=>{const{children:s,...i}=r,a=g.Children.toArray(s),l=a.find(Wd);if(l){const u=l.props.children,f=a.map(d=>d===l?g.Children.count(u)>1?g.Children.only(null):g.isValidElement(u)?u.props.children:null:d);return w.jsx(t,{...i,ref:o,children:g.isValidElement(u)?g.cloneElement(u,void 0,f):null})}return w.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}function zd(e){const t=g.forwardRef((n,r)=>{const{children:o,...s}=n;if(g.isValidElement(o)){const i=Hd(o),a=Zd(s,o.props);return o.type!==g.Fragment&&(a.ref=r?Wn(r,i):i),g.cloneElement(o,a)}return g.Children.count(o)>1?g.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Vd=Symbol("radix.slottable");function Wd(e){return g.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Vd}function Zd(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{const l=s(...a);return o(...a),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function Hd(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Ud=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],le=Ud.reduce((e,t)=>{const n=$t(`Primitive.${t}`),r=g.forwardRef((o,s)=>{const{asChild:i,...a}=o,l=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),w.jsx(l,{...a,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Kd(e,t){e&&Mo.flushSync(()=>e.dispatchEvent(t))}function $e(e){const t=g.useRef(e);return g.useEffect(()=>{t.current=e}),g.useMemo(()=>(...n)=>t.current?.(...n),[])}function Yd(e,t=globalThis?.document){const n=$e(e);g.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var Gd="DismissableLayer",Fn="dismissableLayer.update",qd="dismissableLayer.pointerDownOutside",Xd="dismissableLayer.focusOutside",io,fs=g.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ps=g.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:a,...l}=e,u=g.useContext(fs),[f,d]=g.useState(null),h=f?.ownerDocument??globalThis?.document,[,p]=g.useState({}),v=me(t,M=>d(M)),m=Array.from(u.layers),[b]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),E=m.indexOf(b),C=f?m.indexOf(f):-1,S=u.layersWithOutsidePointerEventsDisabled.size>0,k=C>=E,x=ef(M=>{const R=M.target,$=[...u.branches].some(F=>F.contains(R));!k||$||(o?.(M),i?.(M),M.defaultPrevented||a?.())},h),_=tf(M=>{const R=M.target;[...u.branches].some(F=>F.contains(R))||(s?.(M),i?.(M),M.defaultPrevented||a?.())},h);return Yd(M=>{C===u.layers.size-1&&(r?.(M),!M.defaultPrevented&&a&&(M.preventDefault(),a()))},h),g.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(io=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),ao(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=io)}},[f,h,n,u]),g.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),ao())},[f,u]),g.useEffect(()=>{const M=()=>p({});return document.addEventListener(Fn,M),()=>document.removeEventListener(Fn,M)},[]),w.jsx(le.div,{...l,ref:v,style:{pointerEvents:S?k?"auto":"none":void 0,...e.style},onFocusCapture:ae(e.onFocusCapture,_.onFocusCapture),onBlurCapture:ae(e.onBlurCapture,_.onBlurCapture),onPointerDownCapture:ae(e.onPointerDownCapture,x.onPointerDownCapture)})});ps.displayName=Gd;var Jd="DismissableLayerBranch",Qd=g.forwardRef((e,t)=>{const n=g.useContext(fs),r=g.useRef(null),o=me(t,r);return g.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),w.jsx(le.div,{...e,ref:o})});Qd.displayName=Jd;function ef(e,t=globalThis?.document){const n=$e(e),r=g.useRef(!1),o=g.useRef(()=>{});return g.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let l=function(){hs(qd,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function tf(e,t=globalThis?.document){const n=$e(e),r=g.useRef(!1);return g.useEffect(()=>{const o=s=>{s.target&&!r.current&&hs(Xd,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function ao(){const e=new CustomEvent(Fn);document.dispatchEvent(e)}function hs(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Kd(o,s):o.dispatchEvent(s)}var En=0;function nf(){g.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??co()),document.body.insertAdjacentElement("beforeend",e[1]??co()),En++,()=>{En===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),En--}},[])}function co(){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 Sn="focusScope.autoFocusOnMount",kn="focusScope.autoFocusOnUnmount",lo={bubbles:!1,cancelable:!0},rf="FocusScope",ms=g.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...i}=e,[a,l]=g.useState(null),u=$e(o),f=$e(s),d=g.useRef(null),h=me(t,m=>l(m)),p=g.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;g.useEffect(()=>{if(r){let m=function(S){if(p.paused||!a)return;const k=S.target;a.contains(k)?d.current=k:Le(d.current,{select:!0})},b=function(S){if(p.paused||!a)return;const k=S.relatedTarget;k!==null&&(a.contains(k)||Le(d.current,{select:!0}))},E=function(S){if(document.activeElement===document.body)for(const x of S)x.removedNodes.length>0&&Le(a)};document.addEventListener("focusin",m),document.addEventListener("focusout",b);const C=new MutationObserver(E);return a&&C.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",b),C.disconnect()}}},[r,a,p.paused]),g.useEffect(()=>{if(a){fo.add(p);const m=document.activeElement;if(!a.contains(m)){const E=new CustomEvent(Sn,lo);a.addEventListener(Sn,u),a.dispatchEvent(E),E.defaultPrevented||(of(uf(gs(a)),{select:!0}),document.activeElement===m&&Le(a))}return()=>{a.removeEventListener(Sn,u),setTimeout(()=>{const E=new CustomEvent(kn,lo);a.addEventListener(kn,f),a.dispatchEvent(E),E.defaultPrevented||Le(m??document.body,{select:!0}),a.removeEventListener(kn,f),fo.remove(p)},0)}}},[a,u,f,p]);const v=g.useCallback(m=>{if(!n&&!r||p.paused)return;const b=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,E=document.activeElement;if(b&&E){const C=m.currentTarget,[S,k]=sf(C);S&&k?!m.shiftKey&&E===k?(m.preventDefault(),n&&Le(S,{select:!0})):m.shiftKey&&E===S&&(m.preventDefault(),n&&Le(k,{select:!0})):E===C&&m.preventDefault()}},[n,r,p.paused]);return w.jsx(le.div,{tabIndex:-1,...i,ref:h,onKeyDown:v})});ms.displayName=rf;function of(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Le(r,{select:t}),document.activeElement!==n)return}function sf(e){const t=gs(e),n=uo(t,e),r=uo(t.reverse(),e);return[n,r]}function gs(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function uo(e,t){for(const n of e)if(!af(n,{upTo:t}))return n}function af(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 cf(e){return e instanceof HTMLInputElement&&"select"in e}function Le(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&cf(e)&&t&&e.select()}}var fo=lf();function lf(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=po(e,t),e.unshift(t)},remove(t){e=po(e,t),e[0]?.resume()}}}function po(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function uf(e){return e.filter(t=>t.tagName!=="A")}var Pe=globalThis?.document?g.useLayoutEffect:()=>{},df=g[" useId ".trim().toString()]||(()=>{}),ff=0;function Kn(e){const[t,n]=g.useState(df());return Pe(()=>{n(r=>r??String(ff++))},[e]),e||(t?`radix-${t}`:"")}const pf=["top","right","bottom","left"],Ae=Math.min,fe=Math.max,Ft=Math.round,Et=Math.floor,Ee=e=>({x:e,y:e}),hf={left:"right",right:"left",bottom:"top",top:"bottom"},mf={start:"end",end:"start"};function In(e,t,n){return fe(e,Ae(t,n))}function Oe(e,t){return typeof e=="function"?e(t):e}function Te(e){return e.split("-")[0]}function Je(e){return e.split("-")[1]}function Yn(e){return e==="x"?"y":"x"}function Gn(e){return e==="y"?"height":"width"}const gf=new Set(["top","bottom"]);function we(e){return gf.has(Te(e))?"y":"x"}function qn(e){return Yn(we(e))}function vf(e,t,n){n===void 0&&(n=!1);const r=Je(e),o=qn(e),s=Gn(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=It(i)),[i,It(i)]}function yf(e){const t=It(e);return[Bn(e),t,Bn(t)]}function Bn(e){return e.replace(/start|end/g,t=>mf[t])}const ho=["left","right"],mo=["right","left"],bf=["top","bottom"],xf=["bottom","top"];function wf(e,t,n){switch(e){case"top":case"bottom":return n?t?mo:ho:t?ho:mo;case"left":case"right":return t?bf:xf;default:return[]}}function Ef(e,t,n,r){const o=Je(e);let s=wf(Te(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(Bn)))),s}function It(e){return e.replace(/left|right|bottom|top/g,t=>hf[t])}function Sf(e){return{top:0,right:0,bottom:0,left:0,...e}}function vs(e){return typeof e!="number"?Sf(e):{top:e,right:e,bottom:e,left:e}}function Bt(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function go(e,t,n){let{reference:r,floating:o}=e;const s=we(t),i=qn(t),a=Gn(i),l=Te(t),u=s==="y",f=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,h=r[a]/2-o[a]/2;let p;switch(l){case"top":p={x:f,y:r.y-o.height};break;case"bottom":p={x:f,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-o.width,y:d};break;default:p={x:r.x,y:r.y}}switch(Je(t)){case"start":p[i]-=h*(n&&u?-1:1);break;case"end":p[i]+=h*(n&&u?-1:1);break}return p}const kf=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,a=s.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:d}=go(u,r,l),h=r,p={},v=0;for(let m=0;m<a.length;m++){const{name:b,fn:E}=a[m],{x:C,y:S,data:k,reset:x}=await E({x:f,y:d,initialPlacement:r,placement:h,strategy:o,middlewareData:p,rects:u,platform:i,elements:{reference:e,floating:t}});f=C??f,d=S??d,p={...p,[b]:{...p[b],...k}},x&&v<=50&&(v++,typeof x=="object"&&(x.placement&&(h=x.placement),x.rects&&(u=x.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):x.rects),{x:f,y:d}=go(u,h,l)),m=-1)}return{x:f,y:d,placement:h,strategy:o,middlewareData:p}};async function lt(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:h=!1,padding:p=0}=Oe(t,e),v=vs(p),b=a[h?d==="floating"?"reference":"floating":d],E=Bt(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(b)))==null||n?b:b.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:f,strategy:l})),C=d==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),k=await(s.isElement==null?void 0:s.isElement(S))?await(s.getScale==null?void 0:s.getScale(S))||{x:1,y:1}:{x:1,y:1},x=Bt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:C,offsetParent:S,strategy:l}):C);return{top:(E.top-x.top+v.top)/k.y,bottom:(x.bottom-E.bottom+v.bottom)/k.y,left:(E.left-x.left+v.left)/k.x,right:(x.right-E.right+v.right)/k.x}}const Cf=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:a,middlewareData:l}=t,{element:u,padding:f=0}=Oe(e,t)||{};if(u==null)return{};const d=vs(f),h={x:n,y:r},p=qn(o),v=Gn(p),m=await i.getDimensions(u),b=p==="y",E=b?"top":"left",C=b?"bottom":"right",S=b?"clientHeight":"clientWidth",k=s.reference[v]+s.reference[p]-h[p]-s.floating[v],x=h[p]-s.reference[p],_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let M=_?_[S]:0;(!M||!await(i.isElement==null?void 0:i.isElement(_)))&&(M=a.floating[S]||s.floating[v]);const R=k/2-x/2,$=M/2-m[v]/2-1,F=Ae(d[E],$),V=Ae(d[C],$),W=F,U=M-m[v]-V,Z=M/2-m[v]/2+R,ee=In(W,Z,U),D=!l.arrow&&Je(o)!=null&&Z!==ee&&s.reference[v]/2-(Z<W?F:V)-m[v]/2<0,H=D?Z<W?Z-W:Z-U:0;return{[p]:h[p]+H,data:{[p]:ee,centerOffset:Z-ee-H,...D&&{alignmentOffset:H}},reset:D}}}),Of=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:f=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:m=!0,...b}=Oe(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const E=Te(o),C=we(a),S=Te(a)===a,k=await(l.isRTL==null?void 0:l.isRTL(u.floating)),x=h||(S||!m?[It(a)]:yf(a)),_=v!=="none";!h&&_&&x.push(...Ef(a,m,v,k));const M=[a,...x],R=await lt(t,b),$=[];let F=((r=s.flip)==null?void 0:r.overflows)||[];if(f&&$.push(R[E]),d){const Z=vf(o,i,k);$.push(R[Z[0]],R[Z[1]])}if(F=[...F,{placement:o,overflows:$}],!$.every(Z=>Z<=0)){var V,W;const Z=(((V=s.flip)==null?void 0:V.index)||0)+1,ee=M[Z];if(ee&&(!(d==="alignment"?C!==we(ee):!1)||F.every(T=>we(T.placement)===C?T.overflows[0]>0:!0)))return{data:{index:Z,overflows:F},reset:{placement:ee}};let D=(W=F.filter(H=>H.overflows[0]<=0).sort((H,T)=>H.overflows[1]-T.overflows[1])[0])==null?void 0:W.placement;if(!D)switch(p){case"bestFit":{var U;const H=(U=F.filter(T=>{if(_){const te=we(T.placement);return te===C||te==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(te=>te>0).reduce((te,O)=>te+O,0)]).sort((T,te)=>T[1]-te[1])[0])==null?void 0:U[0];H&&(D=H);break}case"initialPlacement":D=a;break}if(o!==D)return{reset:{placement:D}}}return{}}}};function vo(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function yo(e){return pf.some(t=>e[t]>=0)}const Tf=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Oe(e,t);switch(r){case"referenceHidden":{const s=await lt(t,{...o,elementContext:"reference"}),i=vo(s,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:yo(i)}}}case"escaped":{const s=await lt(t,{...o,altBoundary:!0}),i=vo(s,n.floating);return{data:{escapedOffsets:i,escaped:yo(i)}}}default:return{}}}}},ys=new Set(["left","top"]);async function Rf(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=Te(n),a=Je(n),l=we(n)==="y",u=ys.has(i)?-1:1,f=s&&l?-1:1,d=Oe(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:v}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof v=="number"&&(p=a==="end"?v*-1:v),l?{x:p*f,y:h*u}:{x:h*u,y:p*f}}const Lf=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:i,middlewareData:a}=t,l=await Rf(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:{...l,placement:i}}}}},Pf=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:a={fn:b=>{let{x:E,y:C}=b;return{x:E,y:C}}},...l}=Oe(e,t),u={x:n,y:r},f=await lt(t,l),d=we(Te(o)),h=Yn(d);let p=u[h],v=u[d];if(s){const b=h==="y"?"top":"left",E=h==="y"?"bottom":"right",C=p+f[b],S=p-f[E];p=In(C,p,S)}if(i){const b=d==="y"?"top":"left",E=d==="y"?"bottom":"right",C=v+f[b],S=v-f[E];v=In(C,v,S)}const m=a.fn({...t,[h]:p,[d]:v});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[h]:s,[d]:i}}}}}},Af=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:i}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=Oe(e,t),f={x:n,y:r},d=we(o),h=Yn(d);let p=f[h],v=f[d];const m=Oe(a,t),b=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const S=h==="y"?"height":"width",k=s.reference[h]-s.floating[S]+b.mainAxis,x=s.reference[h]+s.reference[S]-b.mainAxis;p<k?p=k:p>x&&(p=x)}if(u){var E,C;const S=h==="y"?"width":"height",k=ys.has(Te(o)),x=s.reference[d]-s.floating[S]+(k&&((E=i.offset)==null?void 0:E[d])||0)+(k?0:b.crossAxis),_=s.reference[d]+s.reference[S]+(k?0:((C=i.offset)==null?void 0:C[d])||0)-(k?b.crossAxis:0);v<x?v=x:v>_&&(v=_)}return{[h]:p,[d]:v}}}},Mf=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:i,elements:a}=t,{apply:l=()=>{},...u}=Oe(e,t),f=await lt(t,u),d=Te(o),h=Je(o),p=we(o)==="y",{width:v,height:m}=s.floating;let b,E;d==="top"||d==="bottom"?(b=d,E=h===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(E=d,b=h==="end"?"top":"bottom");const C=m-f.top-f.bottom,S=v-f.left-f.right,k=Ae(m-f[b],C),x=Ae(v-f[E],S),_=!t.middlewareData.shift;let M=k,R=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(R=S),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(M=C),_&&!h){const F=fe(f.left,0),V=fe(f.right,0),W=fe(f.top,0),U=fe(f.bottom,0);p?R=v-2*(F!==0||V!==0?F+V:fe(f.left,f.right)):M=m-2*(W!==0||U!==0?W+U:fe(f.top,f.bottom))}await l({...t,availableWidth:R,availableHeight:M});const $=await i.getDimensions(a.floating);return v!==$.width||m!==$.height?{reset:{rects:!0}}:{}}}};function Jt(){return typeof window<"u"}function Qe(e){return bs(e)?(e.nodeName||"").toLowerCase():"#document"}function he(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ke(e){var t;return(t=(bs(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function bs(e){return Jt()?e instanceof Node||e instanceof he(e).Node:!1}function ve(e){return Jt()?e instanceof Element||e instanceof he(e).Element:!1}function Se(e){return Jt()?e instanceof HTMLElement||e instanceof he(e).HTMLElement:!1}function bo(e){return!Jt()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof he(e).ShadowRoot}const Nf=new Set(["inline","contents"]);function dt(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=ye(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Nf.has(o)}const jf=new Set(["table","td","th"]);function _f(e){return jf.has(Qe(e))}const $f=[":popover-open",":modal"];function Qt(e){return $f.some(t=>{try{return e.matches(t)}catch{return!1}})}const Ff=["transform","translate","scale","rotate","perspective"],If=["transform","translate","scale","rotate","perspective","filter"],Bf=["paint","layout","strict","content"];function Xn(e){const t=Jn(),n=ve(e)?ye(e):e;return Ff.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||If.some(r=>(n.willChange||"").includes(r))||Bf.some(r=>(n.contain||"").includes(r))}function Df(e){let t=Me(e);for(;Se(t)&&!Ke(t);){if(Xn(t))return t;if(Qt(t))return null;t=Me(t)}return null}function Jn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const zf=new Set(["html","body","#document"]);function Ke(e){return zf.has(Qe(e))}function ye(e){return he(e).getComputedStyle(e)}function en(e){return ve(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Me(e){if(Qe(e)==="html")return e;const t=e.assignedSlot||e.parentNode||bo(e)&&e.host||ke(e);return bo(t)?t.host:t}function xs(e){const t=Me(e);return Ke(t)?e.ownerDocument?e.ownerDocument.body:e.body:Se(t)&&dt(t)?t:xs(t)}function ut(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=xs(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),i=he(o);if(s){const a=Dn(i);return t.concat(i,i.visualViewport||[],dt(o)?o:[],a&&n?ut(a):[])}return t.concat(o,ut(o,[],n))}function Dn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ws(e){const t=ye(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Se(e),s=o?e.offsetWidth:n,i=o?e.offsetHeight:r,a=Ft(n)!==s||Ft(r)!==i;return a&&(n=s,r=i),{width:n,height:r,$:a}}function Qn(e){return ve(e)?e:e.contextElement}function Ze(e){const t=Qn(e);if(!Se(t))return Ee(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=ws(t);let i=(s?Ft(n.width):n.width)/r,a=(s?Ft(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const Vf=Ee(0);function Es(e){const t=he(e);return!Jn()||!t.visualViewport?Vf:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Wf(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==he(e)?!1:t}function Fe(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=Qn(e);let i=Ee(1);t&&(r?ve(r)&&(i=Ze(r)):i=Ze(e));const a=Wf(s,n,r)?Es(s):Ee(0);let l=(o.left+a.x)/i.x,u=(o.top+a.y)/i.y,f=o.width/i.x,d=o.height/i.y;if(s){const h=he(s),p=r&&ve(r)?he(r):r;let v=h,m=Dn(v);for(;m&&r&&p!==v;){const b=Ze(m),E=m.getBoundingClientRect(),C=ye(m),S=E.left+(m.clientLeft+parseFloat(C.paddingLeft))*b.x,k=E.top+(m.clientTop+parseFloat(C.paddingTop))*b.y;l*=b.x,u*=b.y,f*=b.x,d*=b.y,l+=S,u+=k,v=he(m),m=Dn(v)}}return Bt({width:f,height:d,x:l,y:u})}function tn(e,t){const n=en(e).scrollLeft;return t?t.left+n:Fe(ke(e)).left+n}function Ss(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-tn(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function Zf(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",i=ke(r),a=t?Qt(t.floating):!1;if(r===i||a&&s)return n;let l={scrollLeft:0,scrollTop:0},u=Ee(1);const f=Ee(0),d=Se(r);if((d||!d&&!s)&&((Qe(r)!=="body"||dt(i))&&(l=en(r)),Se(r))){const p=Fe(r);u=Ze(r),f.x=p.x+r.clientLeft,f.y=p.y+r.clientTop}const h=i&&!d&&!s?Ss(i,l):Ee(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+f.x+h.x,y:n.y*u.y-l.scrollTop*u.y+f.y+h.y}}function Hf(e){return Array.from(e.getClientRects())}function Uf(e){const t=ke(e),n=en(e),r=e.ownerDocument.body,o=fe(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=fe(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+tn(e);const a=-n.scrollTop;return ye(r).direction==="rtl"&&(i+=fe(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:i,y:a}}const xo=25;function Kf(e,t){const n=he(e),r=ke(e),o=n.visualViewport;let s=r.clientWidth,i=r.clientHeight,a=0,l=0;if(o){s=o.width,i=o.height;const f=Jn();(!f||f&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}const u=tn(r);if(u<=0){const f=r.ownerDocument,d=f.body,h=getComputedStyle(d),p=f.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,v=Math.abs(r.clientWidth-d.clientWidth-p);v<=xo&&(s-=v)}else u<=xo&&(s+=u);return{width:s,height:i,x:a,y:l}}const Yf=new Set(["absolute","fixed"]);function Gf(e,t){const n=Fe(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=Se(e)?Ze(e):Ee(1),i=e.clientWidth*s.x,a=e.clientHeight*s.y,l=o*s.x,u=r*s.y;return{width:i,height:a,x:l,y:u}}function wo(e,t,n){let r;if(t==="viewport")r=Kf(e,n);else if(t==="document")r=Uf(ke(e));else if(ve(t))r=Gf(t,n);else{const o=Es(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Bt(r)}function ks(e,t){const n=Me(e);return n===t||!ve(n)||Ke(n)?!1:ye(n).position==="fixed"||ks(n,t)}function qf(e,t){const n=t.get(e);if(n)return n;let r=ut(e,[],!1).filter(a=>ve(a)&&Qe(a)!=="body"),o=null;const s=ye(e).position==="fixed";let i=s?Me(e):e;for(;ve(i)&&!Ke(i);){const a=ye(i),l=Xn(i);!l&&a.position==="fixed"&&(o=null),(s?!l&&!o:!l&&a.position==="static"&&!!o&&Yf.has(o.position)||dt(i)&&!l&&ks(e,i))?r=r.filter(f=>f!==i):o=a,i=Me(i)}return t.set(e,r),r}function Xf(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?Qt(t)?[]:qf(t,this._c):[].concat(n),r],a=i[0],l=i.reduce((u,f)=>{const d=wo(t,f,o);return u.top=fe(d.top,u.top),u.right=Ae(d.right,u.right),u.bottom=Ae(d.bottom,u.bottom),u.left=fe(d.left,u.left),u},wo(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Jf(e){const{width:t,height:n}=ws(e);return{width:t,height:n}}function Qf(e,t,n){const r=Se(t),o=ke(t),s=n==="fixed",i=Fe(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=Ee(0);function u(){l.x=tn(o)}if(r||!r&&!s)if((Qe(t)!=="body"||dt(o))&&(a=en(t)),r){const p=Fe(t,!0,s,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else o&&u();s&&!r&&o&&u();const f=o&&!r&&!s?Ss(o,a):Ee(0),d=i.left+a.scrollLeft-l.x-f.x,h=i.top+a.scrollTop-l.y-f.y;return{x:d,y:h,width:i.width,height:i.height}}function Cn(e){return ye(e).position==="static"}function Eo(e,t){if(!Se(e)||ye(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ke(e)===n&&(n=n.ownerDocument.body),n}function Cs(e,t){const n=he(e);if(Qt(e))return n;if(!Se(e)){let o=Me(e);for(;o&&!Ke(o);){if(ve(o)&&!Cn(o))return o;o=Me(o)}return n}let r=Eo(e,t);for(;r&&_f(r)&&Cn(r);)r=Eo(r,t);return r&&Ke(r)&&Cn(r)&&!Xn(r)?n:r||Df(e)||n}const ep=async function(e){const t=this.getOffsetParent||Cs,n=this.getDimensions,r=await n(e.floating);return{reference:Qf(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function tp(e){return ye(e).direction==="rtl"}const np={convertOffsetParentRelativeRectToViewportRelativeRect:Zf,getDocumentElement:ke,getClippingRect:Xf,getOffsetParent:Cs,getElementRects:ep,getClientRects:Hf,getDimensions:Jf,getScale:Ze,isElement:ve,isRTL:tp};function Os(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function rp(e,t){let n=null,r;const o=ke(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function i(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const u=e.getBoundingClientRect(),{left:f,top:d,width:h,height:p}=u;if(a||t(),!h||!p)return;const v=Et(d),m=Et(o.clientWidth-(f+h)),b=Et(o.clientHeight-(d+p)),E=Et(f),S={rootMargin:-v+"px "+-m+"px "+-b+"px "+-E+"px",threshold:fe(0,Ae(1,l))||1};let k=!0;function x(_){const M=_[0].intersectionRatio;if(M!==l){if(!k)return i();M?i(!1,M):r=setTimeout(()=>{i(!1,1e-7)},1e3)}M===1&&!Os(u,e.getBoundingClientRect())&&i(),k=!1}try{n=new IntersectionObserver(x,{...S,root:o.ownerDocument})}catch{n=new IntersectionObserver(x,S)}n.observe(e)}return i(!0),s}function op(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Qn(e),f=o||s?[...u?ut(u):[],...ut(t)]:[];f.forEach(E=>{o&&E.addEventListener("scroll",n,{passive:!0}),s&&E.addEventListener("resize",n)});const d=u&&a?rp(u,n):null;let h=-1,p=null;i&&(p=new ResizeObserver(E=>{let[C]=E;C&&C.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var S;(S=p)==null||S.observe(t)})),n()}),u&&!l&&p.observe(u),p.observe(t));let v,m=l?Fe(e):null;l&&b();function b(){const E=Fe(e);m&&!Os(m,E)&&n(),m=E,v=requestAnimationFrame(b)}return n(),()=>{var E;f.forEach(C=>{o&&C.removeEventListener("scroll",n),s&&C.removeEventListener("resize",n)}),d?.(),(E=p)==null||E.disconnect(),p=null,l&&cancelAnimationFrame(v)}}const sp=Lf,ip=Pf,ap=Of,cp=Mf,lp=Tf,So=Cf,up=Af,dp=(e,t,n)=>{const r=new Map,o={platform:np,...n},s={...o.platform,_c:r};return kf(e,t,{...o,platform:s})};var fp=typeof document<"u",pp=function(){},Rt=fp?c.useLayoutEffect:pp;function Dt(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 n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Dt(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!Dt(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function Ts(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ko(e,t){const n=Ts(e);return Math.round(t*n)/n}function On(e){const t=g.useRef(e);return Rt(()=>{t.current=e}),t}function hp(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:i}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[f,d]=g.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=g.useState(r);Dt(h,r)||p(r);const[v,m]=g.useState(null),[b,E]=g.useState(null),C=g.useCallback(T=>{T!==_.current&&(_.current=T,m(T))},[]),S=g.useCallback(T=>{T!==M.current&&(M.current=T,E(T))},[]),k=s||v,x=i||b,_=g.useRef(null),M=g.useRef(null),R=g.useRef(f),$=l!=null,F=On(l),V=On(o),W=On(u),U=g.useCallback(()=>{if(!_.current||!M.current)return;const T={placement:t,strategy:n,middleware:h};V.current&&(T.platform=V.current),dp(_.current,M.current,T).then(te=>{const O={...te,isPositioned:W.current!==!1};Z.current&&!Dt(R.current,O)&&(R.current=O,Mo.flushSync(()=>{d(O)}))})},[h,t,n,V,W]);Rt(()=>{u===!1&&R.current.isPositioned&&(R.current.isPositioned=!1,d(T=>({...T,isPositioned:!1})))},[u]);const Z=g.useRef(!1);Rt(()=>(Z.current=!0,()=>{Z.current=!1}),[]),Rt(()=>{if(k&&(_.current=k),x&&(M.current=x),k&&x){if(F.current)return F.current(k,x,U);U()}},[k,x,U,F,$]);const ee=g.useMemo(()=>({reference:_,floating:M,setReference:C,setFloating:S}),[C,S]),D=g.useMemo(()=>({reference:k,floating:x}),[k,x]),H=g.useMemo(()=>{const T={position:n,left:0,top:0};if(!D.floating)return T;const te=ko(D.floating,f.x),O=ko(D.floating,f.y);return a?{...T,transform:"translate("+te+"px, "+O+"px)",...Ts(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:te,top:O}},[n,a,D.floating,f.x,f.y]);return g.useMemo(()=>({...f,update:U,refs:ee,elements:D,floatingStyles:H}),[f,U,ee,D,H])}const mp=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?So({element:r.current,padding:o}).fn(n):{}:r?So({element:r,padding:o}).fn(n):{}}}},gp=(e,t)=>({...sp(e),options:[e,t]}),vp=(e,t)=>({...ip(e),options:[e,t]}),yp=(e,t)=>({...up(e),options:[e,t]}),bp=(e,t)=>({...ap(e),options:[e,t]}),xp=(e,t)=>({...cp(e),options:[e,t]}),wp=(e,t)=>({...lp(e),options:[e,t]}),Ep=(e,t)=>({...mp(e),options:[e,t]});var Sp="Arrow",Rs=g.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...s}=e;return w.jsx(le.svg,{...s,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:w.jsx("polygon",{points:"0,0 30,0 15,10"})})});Rs.displayName=Sp;var kp=Rs;function Ls(e){const[t,n]=g.useState(void 0);return Pe(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let i,a;if("borderBoxSize"in s){const l=s.borderBoxSize,u=Array.isArray(l)?l[0]:l;i=u.inlineSize,a=u.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var er="Popper",[Ps,As]=Xe(er),[Cp,Ms]=Ps(er),Ns=e=>{const{__scopePopper:t,children:n}=e,[r,o]=g.useState(null);return w.jsx(Cp,{scope:t,anchor:r,onAnchorChange:o,children:n})};Ns.displayName=er;var js="PopperAnchor",_s=g.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,s=Ms(js,n),i=g.useRef(null),a=me(t,i),l=g.useRef(null);return g.useEffect(()=>{const u=l.current;l.current=r?.current||i.current,u!==l.current&&s.onAnchorChange(l.current)}),r?null:w.jsx(le.div,{...o,ref:a})});_s.displayName=js;var tr="PopperContent",[Op,Tp]=Ps(tr),$s=g.forwardRef((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:s="center",alignOffset:i=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:f=0,sticky:d="partial",hideWhenDetached:h=!1,updatePositionStrategy:p="optimized",onPlaced:v,...m}=e,b=Ms(tr,n),[E,C]=g.useState(null),S=me(t,A=>C(A)),[k,x]=g.useState(null),_=Ls(k),M=_?.width??0,R=_?.height??0,$=r+(s!=="center"?"-"+s:""),F=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},V=Array.isArray(u)?u:[u],W=V.length>0,U={padding:F,boundary:V.filter(Lp),altBoundary:W},{refs:Z,floatingStyles:ee,placement:D,isPositioned:H,middlewareData:T}=hp({strategy:"fixed",placement:$,whileElementsMounted:(...A)=>op(...A,{animationFrame:p==="always"}),elements:{reference:b.anchor},middleware:[gp({mainAxis:o+R,alignmentAxis:i}),l&&vp({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?yp():void 0,...U}),l&&bp({...U}),xp({...U,apply:({elements:A,rects:G,availableWidth:J,availableHeight:X})=>{const{width:oe,height:j}=G.reference,ue=A.floating.style;ue.setProperty("--radix-popper-available-width",`${J}px`),ue.setProperty("--radix-popper-available-height",`${X}px`),ue.setProperty("--radix-popper-anchor-width",`${oe}px`),ue.setProperty("--radix-popper-anchor-height",`${j}px`)}}),k&&Ep({element:k,padding:a}),Pp({arrowWidth:M,arrowHeight:R}),h&&wp({strategy:"referenceHidden",...U})]}),[te,O]=Bs(D),y=$e(v);Pe(()=>{H&&y?.()},[H,y]);const L=T.arrow?.x,P=T.arrow?.y,N=T.arrow?.centerOffset!==0,[q,K]=g.useState();return Pe(()=>{E&&K(window.getComputedStyle(E).zIndex)},[E]),w.jsx("div",{ref:Z.setFloating,"data-radix-popper-content-wrapper":"",style:{...ee,transform:H?ee.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:q,"--radix-popper-transform-origin":[T.transformOrigin?.x,T.transformOrigin?.y].join(" "),...T.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:w.jsx(Op,{scope:n,placedSide:te,onArrowChange:x,arrowX:L,arrowY:P,shouldHideArrow:N,children:w.jsx(le.div,{"data-side":te,"data-align":O,...m,ref:S,style:{...m.style,animation:H?void 0:"none"}})})})});$s.displayName=tr;var Fs="PopperArrow",Rp={top:"bottom",right:"left",bottom:"top",left:"right"},Is=g.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,s=Tp(Fs,r),i=Rp[s.placedSide];return w.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:w.jsx(kp,{...o,ref:n,style:{...o.style,display:"block"}})})});Is.displayName=Fs;function Lp(e){return e!==null}var Pp=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[u,f]=Bs(n),d={start:"0%",center:"50%",end:"100%"}[f],h=(o.arrow?.x??0)+a/2,p=(o.arrow?.y??0)+l/2;let v="",m="";return u==="bottom"?(v=i?d:`${h}px`,m=`${-l}px`):u==="top"?(v=i?d:`${h}px`,m=`${r.floating.height+l}px`):u==="right"?(v=`${-l}px`,m=i?d:`${p}px`):u==="left"&&(v=`${r.floating.width+l}px`,m=i?d:`${p}px`),{data:{x:v,y:m}}}});function Bs(e){const[t,n="center"]=e.split("-");return[t,n]}var Ap=Ns,Ds=_s,Mp=$s,Np=Is,jp="Portal",zs=g.forwardRef((e,t)=>{const{container:n,...r}=e,[o,s]=g.useState(!1);Pe(()=>s(!0),[]);const i=n||o&&globalThis?.document?.body;return i?Po.createPortal(w.jsx(le.div,{...r,ref:t}),i):null});zs.displayName=jp;function _p(e,t){return g.useReducer((n,r)=>t[n][r]??n,e)}var nn=e=>{const{present:t,children:n}=e,r=$p(t),o=typeof n=="function"?n({present:r.isPresent}):g.Children.only(n),s=me(r.ref,Fp(o));return typeof n=="function"||r.isPresent?g.cloneElement(o,{ref:s}):null};nn.displayName="Presence";function $p(e){const[t,n]=g.useState(),r=g.useRef(null),o=g.useRef(e),s=g.useRef("none"),i=e?"mounted":"unmounted",[a,l]=_p(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const u=St(r.current);s.current=a==="mounted"?u:"none"},[a]),Pe(()=>{const u=r.current,f=o.current;if(f!==e){const h=s.current,p=St(u);e?l("MOUNT"):p==="none"||u?.display==="none"?l("UNMOUNT"):l(f&&h!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Pe(()=>{if(t){let u;const f=t.ownerDocument.defaultView??window,d=p=>{const m=St(r.current).includes(CSS.escape(p.animationName));if(p.target===t&&m&&(l("ANIMATION_END"),!o.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",u=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},h=p=>{p.target===t&&(s.current=St(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{f.clearTimeout(u),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:g.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function St(e){return e?.animationName||"none"}function Fp(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Ip=g[" useInsertionEffect ".trim().toString()]||Pe;function rn({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,s,i]=Bp({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:o;{const f=g.useRef(e!==void 0);g.useEffect(()=>{const d=f.current;d!==a&&console.warn(`${r} is changing from ${d?"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,r])}const u=g.useCallback(f=>{if(a){const d=Dp(f)?f(e):f;d!==e&&i.current?.(d)}else s(f)},[a,e,s,i]);return[l,u]}function Bp({defaultProp:e,onChange:t}){const[n,r]=g.useState(e),o=g.useRef(n),s=g.useRef(t);return Ip(()=>{s.current=t},[t]),g.useEffect(()=>{o.current!==n&&(s.current?.(n),o.current=n)},[n,o]),[n,r,s]}function Dp(e){return typeof e=="function"}var zp=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ze=new WeakMap,kt=new WeakMap,Ct={},Tn=0,Vs=function(e){return e&&(e.host||Vs(e.parentNode))},Vp=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Vs(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Wp=function(e,t,n,r){var o=Vp(t,Array.isArray(e)?e:[e]);Ct[n]||(Ct[n]=new WeakMap);var s=Ct[n],i=[],a=new Set,l=new Set(o),u=function(d){!d||a.has(d)||(a.add(d),u(d.parentNode))};o.forEach(u);var f=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(h){if(a.has(h))f(h);else try{var p=h.getAttribute(r),v=p!==null&&p!=="false",m=(ze.get(h)||0)+1,b=(s.get(h)||0)+1;ze.set(h,m),s.set(h,b),i.push(h),m===1&&v&&kt.set(h,!0),b===1&&h.setAttribute(n,"true"),v||h.setAttribute(r,"true")}catch(E){console.error("aria-hidden: cannot operate on ",h,E)}})};return f(t),a.clear(),Tn++,function(){i.forEach(function(d){var h=ze.get(d)-1,p=s.get(d)-1;ze.set(d,h),s.set(d,p),h||(kt.has(d)||d.removeAttribute(r),kt.delete(d)),p||d.removeAttribute(n)}),Tn--,Tn||(ze=new WeakMap,ze=new WeakMap,kt=new WeakMap,Ct={})}},Zp=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=zp(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),Wp(r,o,n,"aria-hidden")):function(){return null}},be=function(){return be=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},be.apply(this,arguments)};function Ws(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function Hp(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,s;r<o;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var Lt="right-scroll-bar-position",Pt="width-before-scroll-bar",Up="with-scroll-bars-hidden",Kp="--removed-body-scroll-bar-size";function Rn(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Yp(e,t){var n=c.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var Gp=typeof window<"u"?g.useLayoutEffect:g.useEffect,Co=new WeakMap;function qp(e,t){var n=Yp(null,function(r){return e.forEach(function(o){return Rn(o,r)})});return Gp(function(){var r=Co.get(n);if(r){var o=new Set(r),s=new Set(e),i=n.current;o.forEach(function(a){s.has(a)||Rn(a,null)}),s.forEach(function(a){o.has(a)||Rn(a,i)})}Co.set(n,e)},[e]),n}function Xp(e){return e}function Jp(e,t){t===void 0&&(t=Xp);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var i=t(s,r);return n.push(i),function(){n=n.filter(function(a){return a!==i})}},assignSyncMedium:function(s){for(r=!0;n.length;){var i=n;n=[],i.forEach(s)}n={push:function(a){return s(a)},filter:function(){return n}}},assignMedium:function(s){r=!0;var i=[];if(n.length){var a=n;n=[],a.forEach(s),i=n}var l=function(){var f=i;i=[],f.forEach(s)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(f){i.push(f),u()},filter:function(f){return i=i.filter(f),n}}}};return o}function Qp(e){e===void 0&&(e={});var t=Jp(null);return t.options=be({async:!0,ssr:!1},e),t}var Zs=function(e){var t=e.sideCar,n=Ws(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return g.createElement(r,be({},n))};Zs.isSideCarExport=!0;function e1(e,t){return e.useMedium(t),Zs}var Hs=Qp(),Ln=function(){},on=g.forwardRef(function(e,t){var n=g.useRef(null),r=g.useState({onScrollCapture:Ln,onWheelCapture:Ln,onTouchMoveCapture:Ln}),o=r[0],s=r[1],i=e.forwardProps,a=e.children,l=e.className,u=e.removeScrollBar,f=e.enabled,d=e.shards,h=e.sideCar,p=e.noRelative,v=e.noIsolation,m=e.inert,b=e.allowPinchZoom,E=e.as,C=E===void 0?"div":E,S=e.gapMode,k=Ws(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),x=h,_=qp([n,t]),M=be(be({},k),o);return g.createElement(g.Fragment,null,f&&g.createElement(x,{sideCar:Hs,removeScrollBar:u,shards:d,noRelative:p,noIsolation:v,inert:m,setCallbacks:s,allowPinchZoom:!!b,lockRef:n,gapMode:S}),i?g.cloneElement(g.Children.only(a),be(be({},M),{ref:_})):g.createElement(C,be({},M,{className:l,ref:_}),a))});on.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};on.classNames={fullWidth:Pt,zeroRight:Lt};var t1=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function n1(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=t1();return t&&e.setAttribute("nonce",t),e}function r1(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function o1(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var s1=function(){var e=0,t=null;return{add:function(n){e==0&&(t=n1())&&(r1(t,n),o1(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},i1=function(){var e=s1();return function(t,n){g.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Us=function(){var e=i1(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},a1={left:0,top:0,right:0,gap:0},Pn=function(e){return parseInt(e||"",10)||0},c1=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Pn(n),Pn(r),Pn(o)]},l1=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return a1;var t=c1(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},u1=Us(),He="data-scroll-locked",d1=function(e,t,n,r){var o=e.left,s=e.top,i=e.right,a=e.gap;return n===void 0&&(n="margin"),`
6
+ <%s key={someKey} {...props} />`,N,A,G,A),O[A+N]=!0)}if(A=null,P!==void 0&&(n(P),A=""+P),i(L)&&(n(L.key),A=""+L.key),"key"in L){P={};for(var J in L)J!=="key"&&(P[J]=L[J])}else P=L;return A&&a(P,typeof y=="function"?y.displayName||y.name||"Unknown":y),u(y,A,P,o(),q,K)}function d(y){h(y)?y._store&&(y._store.validated=1):typeof y=="object"&&y!==null&&y.$$typeof===$&&(y._payload.status==="fulfilled"?h(y._payload.value)&&y._payload.value._store&&(y._payload.value._store.validated=1):y._store&&(y._store.validated=1))}function h(y){return typeof y=="object"&&y!==null&&y.$$typeof===v}var p=c,v=Symbol.for("react.transitional.element"),m=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),S=Symbol.for("react.consumer"),k=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),M=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),$=Symbol.for("react.lazy"),F=Symbol.for("react.activity"),V=Symbol.for("react.client.reference"),W=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,U=Object.prototype.hasOwnProperty,Z=Array.isArray,ee=console.createTask?console.createTask:function(){return null};p={react_stack_bottom_frame:function(y){return y()}};var D,H={},T=p.react_stack_bottom_frame.bind(p,s)(),te=ee(r(s)),O={};tt.Fragment=b,tt.jsx=function(y,L,P){var N=1e4>W.recentlyCreatedOwnerStacks++;return f(y,L,P,!1,N?Error("react-stack-top-frame"):T,N?ee(r(y)):te)},tt.jsxs=function(y,L,P){var N=1e4>W.recentlyCreatedOwnerStacks++;return f(y,L,P,!0,N?Error("react-stack-top-frame"):T,N?ee(r(y)):te)}})()),tt}var ur;function Vi(){return ur||(ur=1,process.env.NODE_ENV==="production"?mt.exports=Di():mt.exports=zi()),mt.exports}var w=Vi();function dr(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Wn(...e){return t=>{let n=!1;const r=e.map(o=>{const s=dr(o,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let o=0;o<r.length;o++){const s=r[o];typeof s=="function"?s():dr(e[o],null)}}}}function me(...e){return g.useCallback(Wn(...e),e)}var Wi=Symbol.for("react.lazy"),At=g[" use ".trim().toString()];function Zi(e){return typeof e=="object"&&e!==null&&"then"in e}function No(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Wi&&"_payload"in e&&Zi(e._payload)}function Hi(e){const t=Ki(e),n=g.forwardRef((r,o)=>{let{children:s,...i}=r;No(s)&&typeof At=="function"&&(s=At(s._payload));const a=g.Children.toArray(s),l=a.find(Gi);if(l){const u=l.props.children,f=a.map(d=>d===l?g.Children.count(u)>1?g.Children.only(null):g.isValidElement(u)?u.props.children:null:d);return w.jsx(t,{...i,ref:o,children:g.isValidElement(u)?g.cloneElement(u,void 0,f):null})}return w.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}var Ui=Hi("Slot");function Ki(e){const t=g.forwardRef((n,r)=>{let{children:o,...s}=n;if(No(o)&&typeof At=="function"&&(o=At(o._payload)),g.isValidElement(o)){const i=Xi(o),a=qi(s,o.props);return o.type!==g.Fragment&&(a.ref=r?Wn(r,i):i),g.cloneElement(o,a)}return g.Children.count(o)>1?g.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Yi=Symbol("radix.slottable");function Gi(e){return g.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Yi}function qi(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{const l=s(...a);return o(...a),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function Xi(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function jo(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=jo(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function _o(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=jo(e))&&(r&&(r+=" "),r+=t);return r}const fr=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,pr=_o,$o=(e,t)=>n=>{var r;if(t?.variants==null)return pr(e,n?.class,n?.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(u=>{const f=n?.[u],d=s?.[u];if(f===null)return null;const h=fr(f)||fr(d);return o[u][h]}),a=n&&Object.entries(n).reduce((u,f)=>{let[d,h]=f;return h===void 0||(u[d]=h),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,f)=>{let{class:d,className:h,...p}=f;return Object.entries(p).every(v=>{let[m,b]=v;return Array.isArray(b)?b.includes({...s,...a}[m]):{...s,...a}[m]===b})?[...u,d,h]:u},[]);return pr(e,i,l,n?.class,n?.className)},Ji=(e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},Qi=(e,t)=>({classGroupId:e,validator:t}),Fo=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Mt="-",hr=[],ea="arbitrary..",ta=e=>{const t=ra(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return na(i);const a=i.split(Mt),l=a[0]===""&&a.length>1?1:0;return Io(a,l,t)},getConflictingClassGroupIds:(i,a)=>{if(a){const l=r[i],u=n[i];return l?u?Ji(u,l):l:u||hr}return n[i]||hr}}},Io=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const o=e[t],s=n.nextPart.get(o);if(s){const u=Io(e,t+1,s);if(u)return u}const i=n.validators;if(i===null)return;const a=t===0?e.join(Mt):e.slice(t).join(Mt),l=i.length;for(let u=0;u<l;u++){const f=i[u];if(f.validator(a))return f.classGroupId}},na=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?ea+r:void 0})(),ra=e=>{const{theme:t,classGroups:n}=e;return oa(n,t)},oa=(e,t)=>{const n=Fo();for(const r in e){const o=e[r];Zn(o,n,r,t)}return n},Zn=(e,t,n,r)=>{const o=e.length;for(let s=0;s<o;s++){const i=e[s];sa(i,t,n,r)}},sa=(e,t,n,r)=>{if(typeof e=="string"){ia(e,t,n);return}if(typeof e=="function"){aa(e,t,n,r);return}ca(e,t,n,r)},ia=(e,t,n)=>{const r=e===""?t:Bo(t,e);r.classGroupId=n},aa=(e,t,n,r)=>{if(la(e)){Zn(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Qi(n,e))},ca=(e,t,n,r)=>{const o=Object.entries(e),s=o.length;for(let i=0;i<s;i++){const[a,l]=o[i];Zn(l,Bo(t,a),n,r)}},Bo=(e,t)=>{let n=e;const r=t.split(Mt),o=r.length;for(let s=0;s<o;s++){const i=r[s];let a=n.nextPart.get(i);a||(a=Fo(),n.nextPart.set(i,a)),n=a}return n},la=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,ua=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const o=(s,i)=>{n[s]=i,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(s){let i=n[s];if(i!==void 0)return i;if((i=r[s])!==void 0)return o(s,i),i},set(s,i){s in n?n[s]=i:o(s,i)}}},Mn="!",mr=":",da=[],gr=(e,t,n,r,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:o}),fa=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=o=>{const s=[];let i=0,a=0,l=0,u;const f=o.length;for(let m=0;m<f;m++){const b=o[m];if(i===0&&a===0){if(b===mr){s.push(o.slice(l,m)),l=m+1;continue}if(b==="/"){u=m;continue}}b==="["?i++:b==="]"?i--:b==="("?a++:b===")"&&a--}const d=s.length===0?o:o.slice(l);let h=d,p=!1;d.endsWith(Mn)?(h=d.slice(0,-1),p=!0):d.startsWith(Mn)&&(h=d.slice(1),p=!0);const v=u&&u>l?u-l:void 0;return gr(s,p,h,v)};if(t){const o=t+mr,s=r;r=i=>i.startsWith(o)?s(i.slice(o.length)):gr(da,!1,i,void 0,!0)}if(n){const o=r;r=s=>n({className:s,parseClassName:o})}return r},pa=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let o=[];for(let s=0;s<n.length;s++){const i=n[s],a=i[0]==="[",l=t.has(i);a||l?(o.length>0&&(o.sort(),r.push(...o),o=[]),r.push(i)):o.push(i)}return o.length>0&&(o.sort(),r.push(...o)),r}},ha=e=>({cache:ua(e.cacheSize),parseClassName:fa(e),sortModifiers:pa(e),...ta(e)}),ma=/\s+/,ga=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:s}=t,i=[],a=e.trim().split(ma);let l="";for(let u=a.length-1;u>=0;u-=1){const f=a[u],{isExternal:d,modifiers:h,hasImportantModifier:p,baseClassName:v,maybePostfixModifierPosition:m}=n(f);if(d){l=f+(l.length>0?" "+l:l);continue}let b=!!m,E=r(b?v.substring(0,m):v);if(!E){if(!b){l=f+(l.length>0?" "+l:l);continue}if(E=r(v),!E){l=f+(l.length>0?" "+l:l);continue}b=!1}const C=h.length===0?"":h.length===1?h[0]:s(h).join(":"),S=p?C+Mn:C,k=S+E;if(i.indexOf(k)>-1)continue;i.push(k);const x=o(E,b);for(let _=0;_<x.length;++_){const M=x[_];i.push(S+M)}l=f+(l.length>0?" "+l:l)}return l},va=(...e)=>{let t=0,n,r,o="";for(;t<e.length;)(n=e[t++])&&(r=Do(n))&&(o&&(o+=" "),o+=r);return o},Do=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Do(e[r]))&&(n&&(n+=" "),n+=t);return n},ya=(e,...t)=>{let n,r,o,s;const i=l=>{const u=t.reduce((f,d)=>d(f),e());return n=ha(u),r=n.cache.get,o=n.cache.set,s=a,a(l)},a=l=>{const u=r(l);if(u)return u;const f=ga(l,n);return o(l,f),f};return s=i,(...l)=>s(va(...l))},ba=[],ie=e=>{const t=n=>n[e]||ba;return t.isThemeGetter=!0,t},zo=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Vo=/^\((?:(\w[\w-]*):)?(.+)\)$/i,xa=/^\d+\/\d+$/,wa=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ea=/\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$/,Sa=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ka=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ca=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Be=e=>xa.test(e),Q=e=>!!e&&!Number.isNaN(Number(e)),Re=e=>!!e&&Number.isInteger(Number(e)),ln=e=>e.endsWith("%")&&Q(e.slice(0,-1)),Ce=e=>wa.test(e),Oa=()=>!0,Ta=e=>Ea.test(e)&&!Sa.test(e),Wo=()=>!1,Ra=e=>ka.test(e),La=e=>Ca.test(e),Pa=e=>!I(e)&&!B(e),Aa=e=>Ge(e,Uo,Wo),I=e=>zo.test(e),je=e=>Ge(e,Ko,Ta),un=e=>Ge(e,$a,Q),vr=e=>Ge(e,Zo,Wo),Ma=e=>Ge(e,Ho,La),gt=e=>Ge(e,Yo,Ra),B=e=>Vo.test(e),nt=e=>qe(e,Ko),Na=e=>qe(e,Fa),yr=e=>qe(e,Zo),ja=e=>qe(e,Uo),_a=e=>qe(e,Ho),vt=e=>qe(e,Yo,!0),Ge=(e,t,n)=>{const r=zo.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},qe=(e,t,n=!1)=>{const r=Vo.exec(e);return r?r[1]?t(r[1]):n:!1},Zo=e=>e==="position"||e==="percentage",Ho=e=>e==="image"||e==="url",Uo=e=>e==="length"||e==="size"||e==="bg-size",Ko=e=>e==="length",$a=e=>e==="number",Fa=e=>e==="family-name",Yo=e=>e==="shadow",Ia=()=>{const e=ie("color"),t=ie("font"),n=ie("text"),r=ie("font-weight"),o=ie("tracking"),s=ie("leading"),i=ie("breakpoint"),a=ie("container"),l=ie("spacing"),u=ie("radius"),f=ie("shadow"),d=ie("inset-shadow"),h=ie("text-shadow"),p=ie("drop-shadow"),v=ie("blur"),m=ie("perspective"),b=ie("aspect"),E=ie("ease"),C=ie("animate"),S=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],x=()=>[...k(),B,I],_=()=>["auto","hidden","clip","visible","scroll"],M=()=>["auto","contain","none"],R=()=>[B,I,l],$=()=>[Be,"full","auto",...R()],F=()=>[Re,"none","subgrid",B,I],V=()=>["auto",{span:["full",Re,B,I]},Re,B,I],W=()=>[Re,"auto",B,I],U=()=>["auto","min","max","fr",B,I],Z=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ee=()=>["start","end","center","stretch","center-safe","end-safe"],D=()=>["auto",...R()],H=()=>[Be,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...R()],T=()=>[e,B,I],te=()=>[...k(),yr,vr,{position:[B,I]}],O=()=>["no-repeat",{repeat:["","x","y","space","round"]}],y=()=>["auto","cover","contain",ja,Aa,{size:[B,I]}],L=()=>[ln,nt,je],P=()=>["","none","full",u,B,I],N=()=>["",Q,nt,je],q=()=>["solid","dashed","dotted","double"],K=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],A=()=>[Q,ln,yr,vr],G=()=>["","none",v,B,I],J=()=>["none",Q,B,I],X=()=>["none",Q,B,I],oe=()=>[Q,B,I],j=()=>[Be,"full",...R()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ce],breakpoint:[Ce],color:[Oa],container:[Ce],"drop-shadow":[Ce],ease:["in","out","in-out"],font:[Pa],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ce],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ce],shadow:[Ce],spacing:["px",Q],text:[Ce],"text-shadow":[Ce],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Be,I,B,b]}],container:["container"],columns:[{columns:[Q,I,B,a]}],"break-after":[{"break-after":S()}],"break-before":[{"break-before":S()}],"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:x()}],overflow:[{overflow:_()}],"overflow-x":[{"overflow-x":_()}],"overflow-y":[{"overflow-y":_()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:$()}],"inset-x":[{"inset-x":$()}],"inset-y":[{"inset-y":$()}],start:[{start:$()}],end:[{end:$()}],top:[{top:$()}],right:[{right:$()}],bottom:[{bottom:$()}],left:[{left:$()}],visibility:["visible","invisible","collapse"],z:[{z:[Re,"auto",B,I]}],basis:[{basis:[Be,"full","auto",a,...R()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Q,Be,"auto","initial","none",I]}],grow:[{grow:["",Q,B,I]}],shrink:[{shrink:["",Q,B,I]}],order:[{order:[Re,"first","last","none",B,I]}],"grid-cols":[{"grid-cols":F()}],"col-start-end":[{col:V()}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":F()}],"row-start-end":[{row:V()}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":U()}],"auto-rows":[{"auto-rows":U()}],gap:[{gap:R()}],"gap-x":[{"gap-x":R()}],"gap-y":[{"gap-y":R()}],"justify-content":[{justify:[...Z(),"normal"]}],"justify-items":[{"justify-items":[...ee(),"normal"]}],"justify-self":[{"justify-self":["auto",...ee()]}],"align-content":[{content:["normal",...Z()]}],"align-items":[{items:[...ee(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ee(),{baseline:["","last"]}]}],"place-content":[{"place-content":Z()}],"place-items":[{"place-items":[...ee(),"baseline"]}],"place-self":[{"place-self":["auto",...ee()]}],p:[{p:R()}],px:[{px:R()}],py:[{py:R()}],ps:[{ps:R()}],pe:[{pe:R()}],pt:[{pt:R()}],pr:[{pr:R()}],pb:[{pb:R()}],pl:[{pl:R()}],m:[{m:D()}],mx:[{mx:D()}],my:[{my:D()}],ms:[{ms:D()}],me:[{me:D()}],mt:[{mt:D()}],mr:[{mr:D()}],mb:[{mb:D()}],ml:[{ml:D()}],"space-x":[{"space-x":R()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":R()}],"space-y-reverse":["space-y-reverse"],size:[{size:H()}],w:[{w:[a,"screen",...H()]}],"min-w":[{"min-w":[a,"screen","none",...H()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...H()]}],h:[{h:["screen","lh",...H()]}],"min-h":[{"min-h":["screen","lh","none",...H()]}],"max-h":[{"max-h":["screen","lh",...H()]}],"font-size":[{text:["base",n,nt,je]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,B,un]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ln,I]}],"font-family":[{font:[Na,I,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,B,I]}],"line-clamp":[{"line-clamp":[Q,"none",B,un]}],leading:[{leading:[s,...R()]}],"list-image":[{"list-image":["none",B,I]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",B,I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:T()}],"text-color":[{text:T()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:[Q,"from-font","auto",B,je]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[Q,"auto",B,I]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:R()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",B,I]}],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",B,I]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:te()}],"bg-repeat":[{bg:O()}],"bg-size":[{bg:y()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Re,B,I],radial:["",B,I],conic:[Re,B,I]},_a,Ma]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:L()}],"gradient-via-pos":[{via:L()}],"gradient-to-pos":[{to:L()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:P()}],"rounded-s":[{"rounded-s":P()}],"rounded-e":[{"rounded-e":P()}],"rounded-t":[{"rounded-t":P()}],"rounded-r":[{"rounded-r":P()}],"rounded-b":[{"rounded-b":P()}],"rounded-l":[{"rounded-l":P()}],"rounded-ss":[{"rounded-ss":P()}],"rounded-se":[{"rounded-se":P()}],"rounded-ee":[{"rounded-ee":P()}],"rounded-es":[{"rounded-es":P()}],"rounded-tl":[{"rounded-tl":P()}],"rounded-tr":[{"rounded-tr":P()}],"rounded-br":[{"rounded-br":P()}],"rounded-bl":[{"rounded-bl":P()}],"border-w":[{border:N()}],"border-w-x":[{"border-x":N()}],"border-w-y":[{"border-y":N()}],"border-w-s":[{"border-s":N()}],"border-w-e":[{"border-e":N()}],"border-w-t":[{"border-t":N()}],"border-w-r":[{"border-r":N()}],"border-w-b":[{"border-b":N()}],"border-w-l":[{"border-l":N()}],"divide-x":[{"divide-x":N()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":N()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...q(),"hidden","none"]}],"divide-style":[{divide:[...q(),"hidden","none"]}],"border-color":[{border:T()}],"border-color-x":[{"border-x":T()}],"border-color-y":[{"border-y":T()}],"border-color-s":[{"border-s":T()}],"border-color-e":[{"border-e":T()}],"border-color-t":[{"border-t":T()}],"border-color-r":[{"border-r":T()}],"border-color-b":[{"border-b":T()}],"border-color-l":[{"border-l":T()}],"divide-color":[{divide:T()}],"outline-style":[{outline:[...q(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Q,B,I]}],"outline-w":[{outline:["",Q,nt,je]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",f,vt,gt]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",d,vt,gt]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:N()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[Q,je]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":N()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",h,vt,gt]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[Q,B,I]}],"mix-blend":[{"mix-blend":[...K(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":K()}],"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":[Q]}],"mask-image-linear-from-pos":[{"mask-linear-from":A()}],"mask-image-linear-to-pos":[{"mask-linear-to":A()}],"mask-image-linear-from-color":[{"mask-linear-from":T()}],"mask-image-linear-to-color":[{"mask-linear-to":T()}],"mask-image-t-from-pos":[{"mask-t-from":A()}],"mask-image-t-to-pos":[{"mask-t-to":A()}],"mask-image-t-from-color":[{"mask-t-from":T()}],"mask-image-t-to-color":[{"mask-t-to":T()}],"mask-image-r-from-pos":[{"mask-r-from":A()}],"mask-image-r-to-pos":[{"mask-r-to":A()}],"mask-image-r-from-color":[{"mask-r-from":T()}],"mask-image-r-to-color":[{"mask-r-to":T()}],"mask-image-b-from-pos":[{"mask-b-from":A()}],"mask-image-b-to-pos":[{"mask-b-to":A()}],"mask-image-b-from-color":[{"mask-b-from":T()}],"mask-image-b-to-color":[{"mask-b-to":T()}],"mask-image-l-from-pos":[{"mask-l-from":A()}],"mask-image-l-to-pos":[{"mask-l-to":A()}],"mask-image-l-from-color":[{"mask-l-from":T()}],"mask-image-l-to-color":[{"mask-l-to":T()}],"mask-image-x-from-pos":[{"mask-x-from":A()}],"mask-image-x-to-pos":[{"mask-x-to":A()}],"mask-image-x-from-color":[{"mask-x-from":T()}],"mask-image-x-to-color":[{"mask-x-to":T()}],"mask-image-y-from-pos":[{"mask-y-from":A()}],"mask-image-y-to-pos":[{"mask-y-to":A()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[B,I]}],"mask-image-radial-from-pos":[{"mask-radial-from":A()}],"mask-image-radial-to-pos":[{"mask-radial-to":A()}],"mask-image-radial-from-color":[{"mask-radial-from":T()}],"mask-image-radial-to-color":[{"mask-radial-to":T()}],"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":k()}],"mask-image-conic-pos":[{"mask-conic":[Q]}],"mask-image-conic-from-pos":[{"mask-conic-from":A()}],"mask-image-conic-to-pos":[{"mask-conic-to":A()}],"mask-image-conic-from-color":[{"mask-conic-from":T()}],"mask-image-conic-to-color":[{"mask-conic-to":T()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:te()}],"mask-repeat":[{mask:O()}],"mask-size":[{mask:y()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",B,I]}],filter:[{filter:["","none",B,I]}],blur:[{blur:G()}],brightness:[{brightness:[Q,B,I]}],contrast:[{contrast:[Q,B,I]}],"drop-shadow":[{"drop-shadow":["","none",p,vt,gt]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",Q,B,I]}],"hue-rotate":[{"hue-rotate":[Q,B,I]}],invert:[{invert:["",Q,B,I]}],saturate:[{saturate:[Q,B,I]}],sepia:[{sepia:["",Q,B,I]}],"backdrop-filter":[{"backdrop-filter":["","none",B,I]}],"backdrop-blur":[{"backdrop-blur":G()}],"backdrop-brightness":[{"backdrop-brightness":[Q,B,I]}],"backdrop-contrast":[{"backdrop-contrast":[Q,B,I]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Q,B,I]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Q,B,I]}],"backdrop-invert":[{"backdrop-invert":["",Q,B,I]}],"backdrop-opacity":[{"backdrop-opacity":[Q,B,I]}],"backdrop-saturate":[{"backdrop-saturate":[Q,B,I]}],"backdrop-sepia":[{"backdrop-sepia":["",Q,B,I]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":R()}],"border-spacing-x":[{"border-spacing-x":R()}],"border-spacing-y":[{"border-spacing-y":R()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",B,I]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Q,"initial",B,I]}],ease:[{ease:["linear","initial",E,B,I]}],delay:[{delay:[Q,B,I]}],animate:[{animate:["none",C,B,I]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,B,I]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:J()}],"rotate-x":[{"rotate-x":J()}],"rotate-y":[{"rotate-y":J()}],"rotate-z":[{"rotate-z":J()}],scale:[{scale:X()}],"scale-x":[{"scale-x":X()}],"scale-y":[{"scale-y":X()}],"scale-z":[{"scale-z":X()}],"scale-3d":["scale-3d"],skew:[{skew:oe()}],"skew-x":[{"skew-x":oe()}],"skew-y":[{"skew-y":oe()}],transform:[{transform:[B,I,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:j()}],"translate-x":[{"translate-x":j()}],"translate-y":[{"translate-y":j()}],"translate-z":[{"translate-z":j()}],"translate-none":["translate-none"],accent:[{accent:T()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:T()}],"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",B,I]}],"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":R()}],"scroll-mx":[{"scroll-mx":R()}],"scroll-my":[{"scroll-my":R()}],"scroll-ms":[{"scroll-ms":R()}],"scroll-me":[{"scroll-me":R()}],"scroll-mt":[{"scroll-mt":R()}],"scroll-mr":[{"scroll-mr":R()}],"scroll-mb":[{"scroll-mb":R()}],"scroll-ml":[{"scroll-ml":R()}],"scroll-p":[{"scroll-p":R()}],"scroll-px":[{"scroll-px":R()}],"scroll-py":[{"scroll-py":R()}],"scroll-ps":[{"scroll-ps":R()}],"scroll-pe":[{"scroll-pe":R()}],"scroll-pt":[{"scroll-pt":R()}],"scroll-pr":[{"scroll-pr":R()}],"scroll-pb":[{"scroll-pb":R()}],"scroll-pl":[{"scroll-pl":R()}],"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",B,I]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[Q,nt,je,un]}],stroke:[{stroke:["none",...T()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Ba=ya(Ia);function pe(...e){return Ba(_o(e))}const Go=$o(["group relative inline-flex items-center justify-center gap-2 rounded-[var(--button-radius,999px)] font-bold tracking-tight text-[1rem]","transition-[background,filter,color] duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[hsl(var(--ring))] focus-visible:ring-offset-2 focus-visible:ring-offset-[hsl(var(--background))]","disabled:pointer-events-none disabled:opacity-60 overflow-hidden cursor-pointer"].join(" "),{variants:{variant:{primary:"bg-[#FF246E] text-white hover:brightness-[1.08]",secondary:"bg-[#04020D] text-white hover:brightness-110",neutral:"bg-[#F5F6FB] text-[#0E0C15] hover:brightness-95",ghost:"bg-transparent text-[#0E0C15] hover:bg-[#F7F7FF]",outline:["bg-[#FFE3F0] text-[#FF246E]","border border-[#FF246E]","hover:bg-[#FFD6E9]"].join(" "),danger:"bg-[#FF5A82] text-white hover:brightness-110",icon:["h-14 w-14 gap-0","[--button-radius:1.5rem]","bg-muted-foreground/20 text-muted-foreground border border-muted-foreground/20 hover:brightness-110"].join(" "),link:"bg-transparent text-[#FFFFFF] border-1 border-#ffffff/20 underline-offset-4 hover:underline px-0 h-auto shadow-none"},size:{sm:"h-9 px-4 text-sm",md:"h-12 px-7 text-[1.15rem]",lg:"h-[3.75rem] px-10 text-[1.3rem]",icon:"h-14 w-14 p-0 text-xl"},shape:{pill:"[--button-radius:999px]",soft:"[--button-radius:0.5rem]"}},defaultVariants:{variant:"primary",size:"md",shape:"pill"}}),Da=e=>{if(!e)return null;if(g.isValidElement(e)){const t=e;return g.cloneElement(t,{color:t.props.color??"currentColor","aria-hidden":t.props["aria-hidden"]??!0})}return e},ce=g.forwardRef(({className:e,variant:t,size:n,shape:r,asChild:o=!1,shine:s,icon:i,iconPosition:a="left",children:l,...u},f)=>{const d=o?Ui:"button",h=s??t==="primary",p=!!i&&!l,v=p?"icon":n,m=t==="icon"?"pill":r,b=Da(i),E=b?w.jsx("span",{"aria-hidden":!0,className:pe("relative z-10 flex items-center justify-center text-[1.1em]",a==="right"&&!p&&"order-2"),children:b}):null,C=pe("relative z-10 inline-flex items-center",p&&"sr-only");return w.jsxs(d,{className:pe(Go({variant:t,size:v,shape:m}),p&&"px-0",e),ref:f,...u,children:[h&&w.jsx("span",{"aria-hidden":!0,className:"button-shine-layer pointer-events-none absolute inset-0 rounded-[inherit]"}),i&&a==="left"&&E,l&&w.jsx("span",{className:C,children:l}),i&&a==="right"&&E]})});ce.displayName="Button";function de(){return de=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},de.apply(this,arguments)}function za(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,s;for(s=0;s<r.length;s++)o=r[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function ge(e,t){if(e==null)return{};var n=za(e,t),r,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)r=s[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var yt={exports:{}},bt={exports:{}},ne={};var br;function Va(){if(br)return ne;br=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function S(x){if(typeof x=="object"&&x!==null){var _=x.$$typeof;switch(_){case t:switch(x=x.type,x){case l:case u:case r:case s:case o:case d:return x;default:switch(x=x&&x.$$typeof,x){case a:case f:case v:case p:case i:return x;default:return _}}case n:return _}}}function k(x){return S(x)===u}return ne.AsyncMode=l,ne.ConcurrentMode=u,ne.ContextConsumer=a,ne.ContextProvider=i,ne.Element=t,ne.ForwardRef=f,ne.Fragment=r,ne.Lazy=v,ne.Memo=p,ne.Portal=n,ne.Profiler=s,ne.StrictMode=o,ne.Suspense=d,ne.isAsyncMode=function(x){return k(x)||S(x)===l},ne.isConcurrentMode=k,ne.isContextConsumer=function(x){return S(x)===a},ne.isContextProvider=function(x){return S(x)===i},ne.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===t},ne.isForwardRef=function(x){return S(x)===f},ne.isFragment=function(x){return S(x)===r},ne.isLazy=function(x){return S(x)===v},ne.isMemo=function(x){return S(x)===p},ne.isPortal=function(x){return S(x)===n},ne.isProfiler=function(x){return S(x)===s},ne.isStrictMode=function(x){return S(x)===o},ne.isSuspense=function(x){return S(x)===d},ne.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===r||x===u||x===s||x===o||x===d||x===h||typeof x=="object"&&x!==null&&(x.$$typeof===v||x.$$typeof===p||x.$$typeof===i||x.$$typeof===a||x.$$typeof===f||x.$$typeof===b||x.$$typeof===E||x.$$typeof===C||x.$$typeof===m)},ne.typeOf=S,ne}var re={};var xr;function Wa(){return xr||(xr=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function S(j){return typeof j=="string"||typeof j=="function"||j===r||j===u||j===s||j===o||j===d||j===h||typeof j=="object"&&j!==null&&(j.$$typeof===v||j.$$typeof===p||j.$$typeof===i||j.$$typeof===a||j.$$typeof===f||j.$$typeof===b||j.$$typeof===E||j.$$typeof===C||j.$$typeof===m)}function k(j){if(typeof j=="object"&&j!==null){var ue=j.$$typeof;switch(ue){case t:var ht=j.type;switch(ht){case l:case u:case r:case s:case o:case d:return ht;default:var ar=ht&&ht.$$typeof;switch(ar){case a:case f:case v:case p:case i:return ar;default:return ue}}case n:return ue}}}var x=l,_=u,M=a,R=i,$=t,F=f,V=r,W=v,U=p,Z=n,ee=s,D=o,H=d,T=!1;function te(j){return T||(T=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),O(j)||k(j)===l}function O(j){return k(j)===u}function y(j){return k(j)===a}function L(j){return k(j)===i}function P(j){return typeof j=="object"&&j!==null&&j.$$typeof===t}function N(j){return k(j)===f}function q(j){return k(j)===r}function K(j){return k(j)===v}function A(j){return k(j)===p}function G(j){return k(j)===n}function J(j){return k(j)===s}function X(j){return k(j)===o}function oe(j){return k(j)===d}re.AsyncMode=x,re.ConcurrentMode=_,re.ContextConsumer=M,re.ContextProvider=R,re.Element=$,re.ForwardRef=F,re.Fragment=V,re.Lazy=W,re.Memo=U,re.Portal=Z,re.Profiler=ee,re.StrictMode=D,re.Suspense=H,re.isAsyncMode=te,re.isConcurrentMode=O,re.isContextConsumer=y,re.isContextProvider=L,re.isElement=P,re.isForwardRef=N,re.isFragment=q,re.isLazy=K,re.isMemo=A,re.isPortal=G,re.isProfiler=J,re.isStrictMode=X,re.isSuspense=oe,re.isValidElementType=S,re.typeOf=k})()),re}var wr;function qo(){return wr||(wr=1,process.env.NODE_ENV==="production"?bt.exports=Va():bt.exports=Wa()),bt.exports}var dn,Er;function Za(){if(Er)return dn;Er=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(s){if(s==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(s)}function o(){try{if(!Object.assign)return!1;var s=new String("abc");if(s[5]="de",Object.getOwnPropertyNames(s)[0]==="5")return!1;for(var i={},a=0;a<10;a++)i["_"+String.fromCharCode(a)]=a;var l=Object.getOwnPropertyNames(i).map(function(f){return i[f]});if(l.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(f){u[f]=f}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return dn=o()?Object.assign:function(s,i){for(var a,l=r(s),u,f=1;f<arguments.length;f++){a=Object(arguments[f]);for(var d in a)t.call(a,d)&&(l[d]=a[d]);if(e){u=e(a);for(var h=0;h<u.length;h++)n.call(a,u[h])&&(l[u[h]]=a[u[h]])}}return l},dn}var fn,Sr;function Hn(){if(Sr)return fn;Sr=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return fn=e,fn}var pn,kr;function Xo(){return kr||(kr=1,pn=Function.call.bind(Object.prototype.hasOwnProperty)),pn}var hn,Cr;function Ha(){if(Cr)return hn;Cr=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Hn(),n={},r=Xo();e=function(s){var i="Warning: "+s;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function o(s,i,a,l,u){if(process.env.NODE_ENV!=="production"){for(var f in s)if(r(s,f)){var d;try{if(typeof s[f]!="function"){var h=Error((l||"React class")+": "+a+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}d=s[f](i,f,l,a,null,t)}catch(v){d=v}if(d&&!(d instanceof Error)&&e((l||"React class")+": type specification of "+a+" `"+f+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in n)){n[d.message]=!0;var p=u?u():"";e("Failed "+a+" type: "+d.message+(p??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},hn=o,hn}var mn,Or;function Ua(){if(Or)return mn;Or=1;var e=qo(),t=Za(),n=Hn(),r=Xo(),o=Ha(),s=function(){};process.env.NODE_ENV!=="production"&&(s=function(a){var l="Warning: "+a;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function i(){return null}return mn=function(a,l){var u=typeof Symbol=="function"&&Symbol.iterator,f="@@iterator";function d(O){var y=O&&(u&&O[u]||O[f]);if(typeof y=="function")return y}var h="<<anonymous>>",p={array:E("array"),bigint:E("bigint"),bool:E("boolean"),func:E("function"),number:E("number"),object:E("object"),string:E("string"),symbol:E("symbol"),any:C(),arrayOf:S,element:k(),elementType:x(),instanceOf:_,node:F(),objectOf:R,oneOf:M,oneOfType:$,shape:W,exact:U};function v(O,y){return O===y?O!==0||1/O===1/y:O!==O&&y!==y}function m(O,y){this.message=O,this.data=y&&typeof y=="object"?y:{},this.stack=""}m.prototype=Error.prototype;function b(O){if(process.env.NODE_ENV!=="production")var y={},L=0;function P(q,K,A,G,J,X,oe){if(G=G||h,X=X||A,oe!==n){if(l){var j=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw j.name="Invariant Violation",j}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ue=G+":"+A;!y[ue]&&L<3&&(s("You are manually calling a React.PropTypes validation function for the `"+X+"` prop on `"+G+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),y[ue]=!0,L++)}}return K[A]==null?q?K[A]===null?new m("The "+J+" `"+X+"` is marked as required "+("in `"+G+"`, but its value is `null`.")):new m("The "+J+" `"+X+"` is marked as required in "+("`"+G+"`, but its value is `undefined`.")):null:O(K,A,G,J,X)}var N=P.bind(null,!1);return N.isRequired=P.bind(null,!0),N}function E(O){function y(L,P,N,q,K,A){var G=L[P],J=D(G);if(J!==O){var X=H(G);return new m("Invalid "+q+" `"+K+"` of type "+("`"+X+"` supplied to `"+N+"`, expected ")+("`"+O+"`."),{expectedType:O})}return null}return b(y)}function C(){return b(i)}function S(O){function y(L,P,N,q,K){if(typeof O!="function")return new m("Property `"+K+"` of component `"+N+"` has invalid PropType notation inside arrayOf.");var A=L[P];if(!Array.isArray(A)){var G=D(A);return new m("Invalid "+q+" `"+K+"` of type "+("`"+G+"` supplied to `"+N+"`, expected an array."))}for(var J=0;J<A.length;J++){var X=O(A,J,N,q,K+"["+J+"]",n);if(X instanceof Error)return X}return null}return b(y)}function k(){function O(y,L,P,N,q){var K=y[L];if(!a(K)){var A=D(K);return new m("Invalid "+N+" `"+q+"` of type "+("`"+A+"` supplied to `"+P+"`, expected a single ReactElement."))}return null}return b(O)}function x(){function O(y,L,P,N,q){var K=y[L];if(!e.isValidElementType(K)){var A=D(K);return new m("Invalid "+N+" `"+q+"` of type "+("`"+A+"` supplied to `"+P+"`, expected a single ReactElement type."))}return null}return b(O)}function _(O){function y(L,P,N,q,K){if(!(L[P]instanceof O)){var A=O.name||h,G=te(L[P]);return new m("Invalid "+q+" `"+K+"` of type "+("`"+G+"` supplied to `"+N+"`, expected ")+("instance of `"+A+"`."))}return null}return b(y)}function M(O){if(!Array.isArray(O))return process.env.NODE_ENV!=="production"&&(arguments.length>1?s("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):s("Invalid argument supplied to oneOf, expected an array.")),i;function y(L,P,N,q,K){for(var A=L[P],G=0;G<O.length;G++)if(v(A,O[G]))return null;var J=JSON.stringify(O,function(oe,j){var ue=H(j);return ue==="symbol"?String(j):j});return new m("Invalid "+q+" `"+K+"` of value `"+String(A)+"` "+("supplied to `"+N+"`, expected one of "+J+"."))}return b(y)}function R(O){function y(L,P,N,q,K){if(typeof O!="function")return new m("Property `"+K+"` of component `"+N+"` has invalid PropType notation inside objectOf.");var A=L[P],G=D(A);if(G!=="object")return new m("Invalid "+q+" `"+K+"` of type "+("`"+G+"` supplied to `"+N+"`, expected an object."));for(var J in A)if(r(A,J)){var X=O(A,J,N,q,K+"."+J,n);if(X instanceof Error)return X}return null}return b(y)}function $(O){if(!Array.isArray(O))return process.env.NODE_ENV!=="production"&&s("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var y=0;y<O.length;y++){var L=O[y];if(typeof L!="function")return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+T(L)+" at index "+y+"."),i}function P(N,q,K,A,G){for(var J=[],X=0;X<O.length;X++){var oe=O[X],j=oe(N,q,K,A,G,n);if(j==null)return null;j.data&&r(j.data,"expectedType")&&J.push(j.data.expectedType)}var ue=J.length>0?", expected one of type ["+J.join(", ")+"]":"";return new m("Invalid "+A+" `"+G+"` supplied to "+("`"+K+"`"+ue+"."))}return b(P)}function F(){function O(y,L,P,N,q){return Z(y[L])?null:new m("Invalid "+N+" `"+q+"` supplied to "+("`"+P+"`, expected a ReactNode."))}return b(O)}function V(O,y,L,P,N){return new m((O||"React class")+": "+y+" type `"+L+"."+P+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+N+"`.")}function W(O){function y(L,P,N,q,K){var A=L[P],G=D(A);if(G!=="object")return new m("Invalid "+q+" `"+K+"` of type `"+G+"` "+("supplied to `"+N+"`, expected `object`."));for(var J in O){var X=O[J];if(typeof X!="function")return V(N,q,K,J,H(X));var oe=X(A,J,N,q,K+"."+J,n);if(oe)return oe}return null}return b(y)}function U(O){function y(L,P,N,q,K){var A=L[P],G=D(A);if(G!=="object")return new m("Invalid "+q+" `"+K+"` of type `"+G+"` "+("supplied to `"+N+"`, expected `object`."));var J=t({},L[P],O);for(var X in J){var oe=O[X];if(r(O,X)&&typeof oe!="function")return V(N,q,K,X,H(oe));if(!oe)return new m("Invalid "+q+" `"+K+"` key `"+X+"` supplied to `"+N+"`.\nBad object: "+JSON.stringify(L[P],null," ")+`
7
+ Valid keys: `+JSON.stringify(Object.keys(O),null," "));var j=oe(A,X,N,q,K+"."+X,n);if(j)return j}return null}return b(y)}function Z(O){switch(typeof O){case"number":case"string":case"undefined":return!0;case"boolean":return!O;case"object":if(Array.isArray(O))return O.every(Z);if(O===null||a(O))return!0;var y=d(O);if(y){var L=y.call(O),P;if(y!==O.entries){for(;!(P=L.next()).done;)if(!Z(P.value))return!1}else for(;!(P=L.next()).done;){var N=P.value;if(N&&!Z(N[1]))return!1}}else return!1;return!0;default:return!1}}function ee(O,y){return O==="symbol"?!0:y?y["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&y instanceof Symbol:!1}function D(O){var y=typeof O;return Array.isArray(O)?"array":O instanceof RegExp?"object":ee(y,O)?"symbol":y}function H(O){if(typeof O>"u"||O===null)return""+O;var y=D(O);if(y==="object"){if(O instanceof Date)return"date";if(O instanceof RegExp)return"regexp"}return y}function T(O){var y=H(O);switch(y){case"array":case"object":return"an "+y;case"boolean":case"date":case"regexp":return"a "+y;default:return y}}function te(O){return!O.constructor||!O.constructor.name?h:O.constructor.name}return p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p},mn}var gn,Tr;function Ka(){if(Tr)return gn;Tr=1;var e=Hn();function t(){}function n(){}return n.resetWarningCache=t,gn=function(){function r(i,a,l,u,f,d){if(d!==e){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}}r.isRequired=r;function o(){return r}var s={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return s.PropTypes=s,s},gn}var Rr;function Ya(){if(Rr)return yt.exports;if(Rr=1,process.env.NODE_ENV!=="production"){var e=qo(),t=!0;yt.exports=Ua()(e.isElement,t)}else yt.exports=Ka()();return yt.exports}var Ga=Ya();const z=Bi(Ga);var qa=["variant","color","size"],Xa=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{fill:n,d:"M17.919 8.18H6.079c-.96 0-1.44 1.16-.76 1.84l5.18 5.18c.83.83 2.18.83 3.01 0l1.97-1.97 3.21-3.21c.67-.68.19-1.84-.77-1.84z"}))},Ja=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{stroke:n,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.5",d:"M16.01 12.85l-2.62 2.62c-.77.77-2.03.77-2.8 0L4.08 8.95M19.92 8.95l-1.04 1.04"}))},Qa=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{fill:n,d:"M15.48 13.23l-3.79-5.05H6.08c-.96 0-1.44 1.16-.76 1.84l5.18 5.18c.83.83 2.18.83 3.01 0l1.97-1.97z",opacity:".4"}),c.createElement("path",{fill:n,d:"M17.92 8.18h-6.23l3.79 5.05 3.21-3.21c.67-.68.19-1.84-.77-1.84z"}))},Lr=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{stroke:n,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.5",d:"M19.92 8.95l-6.52 6.52c-.77.77-2.03.77-2.8 0L4.08 8.95"}))},ec=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{fill:n,d:"M12 16.8c-.7 0-1.4-.27-1.93-.8L3.55 9.48a.754.754 0 010-1.06c.29-.29.77-.29 1.06 0l6.52 6.52c.48.48 1.26.48 1.74 0l6.52-6.52c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06L13.93 16c-.53.53-1.23.8-1.93.8z"}))},tc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{stroke:n,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.5",d:"M19.92 8.95l-6.52 6.52c-.77.77-2.03.77-2.8 0L4.08 8.95"}))},nc=function(t,n){switch(t){case"Bold":return c.createElement(Xa,{color:n});case"Broken":return c.createElement(Ja,{color:n});case"Bulk":return c.createElement(Qa,{color:n});case"Linear":return c.createElement(Lr,{color:n});case"Outline":return c.createElement(ec,{color:n});case"TwoTone":return c.createElement(tc,{color:n});default:return c.createElement(Lr,{color:n})}},Vt=c.forwardRef(function(e,t){var n=e.variant,r=e.color,o=e.size,s=ge(e,qa);return c.createElement("svg",de({},s,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:o,height:o,viewBox:"0 0 24 24",fill:"none"}),nc(n,r))});Vt.propTypes={variant:z.oneOf(["Linear","Bold","Broken","Bulk","Outline","TwoTone"]),color:z.string,size:z.oneOfType([z.string,z.number])};Vt.defaultProps={variant:"Linear",color:"currentColor",size:"24"};Vt.displayName="ArrowDown2";var rc=["variant","color","size"],oc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{fill:n,d:"M15.2 10.492l-1.97-1.97-3.21-3.21c-.68-.67-1.84-.19-1.84.77v11.84c0 .96 1.16 1.44 1.84.76l5.18-5.18c.83-.82.83-2.18 0-3.01z"}))},sc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{stroke:n,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.5",d:"M12.9 7.94l2.62 2.62c.77.77.77 2.03 0 2.8L9 19.87M9 4.04l1.04 1.04"}))},ic=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{fill:n,d:"M13.23 8.52l-5.05 3.79v5.61c0 .96 1.16 1.44 1.84.76l5.18-5.18c.83-.83.83-2.18 0-3.01l-1.97-1.97z",opacity:".4"}),c.createElement("path",{fill:n,d:"M8.18 6.08v6.23l5.05-3.79-3.21-3.21c-.68-.67-1.84-.19-1.84.77z"}))},Pr=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{stroke:n,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.5",d:"M8.91 19.92l6.52-6.52c.77-.77.77-2.03 0-2.8L8.91 4.08"}))},ac=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{fill:n,d:"M8.91 20.67c-.19 0-.38-.07-.53-.22a.754.754 0 010-1.06l6.52-6.52c.48-.48.48-1.26 0-1.74L8.38 4.61a.754.754 0 010-1.06c.29-.29.77-.29 1.06 0l6.52 6.52c.51.51.8 1.2.8 1.93s-.28 1.42-.8 1.93l-6.52 6.52c-.15.14-.34.22-.53.22z"}))},cc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{stroke:n,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.5",d:"M8.91 19.92l6.52-6.52c.77-.77.77-2.03 0-2.8L8.91 4.08"}))},lc=function(t,n){switch(t){case"Bold":return c.createElement(oc,{color:n});case"Broken":return c.createElement(sc,{color:n});case"Bulk":return c.createElement(ic,{color:n});case"Linear":return c.createElement(Pr,{color:n});case"Outline":return c.createElement(ac,{color:n});case"TwoTone":return c.createElement(cc,{color:n});default:return c.createElement(Pr,{color:n})}},Ue=c.forwardRef(function(e,t){var n=e.variant,r=e.color,o=e.size,s=ge(e,rc);return c.createElement("svg",de({},s,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:o,height:o,viewBox:"0 0 24 24",fill:"none"}),lc(n,r))});Ue.propTypes={variant:z.oneOf(["Linear","Bold","Broken","Bulk","Outline","TwoTone"]),color:z.string,size:z.oneOfType([z.string,z.number])};Ue.defaultProps={variant:"Linear",color:"currentColor",size:"24"};Ue.displayName="ArrowRight2";var uc=["variant","color","size"],dc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{fill:n,d:"M18.68 13.978l-3.21-3.21-1.96-1.97a2.13 2.13 0 00-3.01 0l-5.18 5.18c-.68.68-.19 1.84.76 1.84h11.84c.96 0 1.44-1.16.76-1.84z"}))},fc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{stroke:n,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.5",d:"M16.01 11.15L13.4 8.53c-.77-.77-2.03-.77-2.8 0l-6.52 6.52M19.92 15.05l-1.04-1.04"}))},pc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{fill:n,d:"M15.48 10.77l-3.79 5.05H6.08c-.96 0-1.44-1.16-.76-1.84L10.5 8.8a2.13 2.13 0 013.01 0l1.97 1.97z",opacity:".4"}),c.createElement("path",{fill:n,d:"M17.92 15.82h-6.23l3.79-5.05 3.21 3.21c.67.68.19 1.84-.77 1.84z"}))},Ar=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{stroke:n,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.5",d:"M19.92 15.05L13.4 8.53c-.77-.77-2.03-.77-2.8 0l-6.52 6.52"}))},hc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{fill:n,d:"M19.92 15.8c-.19 0-.38-.07-.53-.22l-6.52-6.52c-.48-.48-1.26-.48-1.74 0l-6.52 6.52c-.29.29-.77.29-1.06 0a.754.754 0 010-1.06L10.07 8a2.74 2.74 0 013.86 0l6.52 6.52c.29.29.29.77 0 1.06-.15.14-.34.22-.53.22z"}))},mc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{stroke:n,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.5",d:"M19.92 15.05L13.4 8.53c-.77-.77-2.03-.77-2.8 0l-6.52 6.52"}))},gc=function(t,n){switch(t){case"Bold":return c.createElement(dc,{color:n});case"Broken":return c.createElement(fc,{color:n});case"Bulk":return c.createElement(pc,{color:n});case"Linear":return c.createElement(Ar,{color:n});case"Outline":return c.createElement(hc,{color:n});case"TwoTone":return c.createElement(mc,{color:n});default:return c.createElement(Ar,{color:n})}},Wt=c.forwardRef(function(e,t){var n=e.variant,r=e.color,o=e.size,s=ge(e,uc);return c.createElement("svg",de({},s,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:o,height:o,viewBox:"0 0 24 24",fill:"none"}),gc(n,r))});Wt.propTypes={variant:z.oneOf(["Linear","Bold","Broken","Bulk","Outline","TwoTone"]),color:z.string,size:z.oneOfType([z.string,z.number])};Wt.defaultProps={variant:"Linear",color:"currentColor",size:"24"};Wt.displayName="ArrowUp2";var vc=["variant","color","size"],yc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M16.65 5.719h-9.3c-2.95 0-5.35 2.4-5.35 5.35v5.58c0 2.95 2.4 5.35 5.35 5.35h9.3c2.95 0 5.35-2.4 5.35-5.35v-5.58c0-2.95-2.4-5.35-5.35-5.35Zm-2.15 6.3c0-.55.45-1 1-1s1 .45 1 1-.45 1.01-1 1.01-1-.44-1-.99v-.02Zm-4.37 4.05c-.15.15-.34.22-.53.22s-.38-.07-.53-.22l-1.03-1.03-.99.99c-.15.15-.34.22-.53.22s-.38-.07-.53-.22a.754.754 0 0 1 0-1.06l.99-.99-.96-.96a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l.96.96.99-.99c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-.99.99 1.03 1.03c.29.29.29.77 0 1.06Zm3.41-1.07c-.55 0-1.01-.45-1.01-1s.44-1 .99-1h.02c.55 0 1 .45 1 1s-.44 1-1 1Zm1.96 1.97c-.55 0-1-.44-1-.99v-.02c0-.55.45-1 1-1s1 .45 1 1-.44 1.01-1 1.01Zm1.98-1.97c-.55 0-1.01-.45-1.01-1s.44-1 .99-1h.02c.55 0 1 .45 1 1s-.44 1-1 1Z",fill:n}),c.createElement("path",{d:"m13.64 2.71-.01.94A1.64 1.64 0 0 1 12 5.26c-.15 0-.24.1-.24.23s.1.23.23.23h-1.61c-.01-.07-.02-.15-.02-.23 0-.9.73-1.63 1.62-1.63.15 0 .25-.1.25-.23l.01-.94c.01-.38.32-.69.7-.69h.01c.39 0 .69.32.69.71Z",fill:n}))},bc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"m9.57 12.46-3.05 3.05M6.55 12.488l3.05 3.05",stroke:n,strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M13.53 14h.01M17.47 14h.01M15.5 15.98v-.02M15.5 12.04v-.02",stroke:n,strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M2 15c0 5 2 7 7 7h6c5 0 7-2 7-7v-2c0-5-2-7-7-7H9C5.25 6 3.19 7.12 2.39 9.8M13.01 2 13 3.01A1 1 0 0 1 12 4h-.03c-.55 0-.99.45-.99 1s.45 1 1 1h1",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},xc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"m10.13 15.008-1.03-1.03.99-.99c.29-.29.29-.77 0-1.06a.754.754 0 0 0-1.06 0l-.99.99-.96-.96a.754.754 0 0 0-1.06 0c-.29.29-.29.77 0 1.06l.96.96-.99.99c-.29.29-.29.77 0 1.06.15.15.34.22.53.22s.38-.07.53-.22l.99-.99 1.03 1.03c.15.15.34.22.53.22s.38-.07.53-.22c.29-.29.29-.77 0-1.06ZM13.54 15c-.55 0-1.01-.45-1.01-1s.44-1 .99-1h.02c.55 0 1 .45 1 1s-.44 1-1 1ZM17.48 15c-.55 0-1.01-.45-1.01-1s.44-1 .99-1h.02c.55 0 1 .45 1 1s-.44 1-1 1ZM15.5 16.97c-.55 0-1-.44-1-.99v-.02c0-.55.45-1 1-1s1 .45 1 1-.44 1.01-1 1.01ZM15.5 13.03c-.55 0-1-.44-1-.99v-.02c0-.55.45-1 1-1s1 .45 1 1-.44 1.01-1 1.01Z",fill:n}),c.createElement("path",{opacity:".4",d:"M22 11.069v5.58c0 2.95-2.4 5.35-5.35 5.35h-9.3c-2.95 0-5.35-2.4-5.35-5.35v-5.58c0-2.95 2.4-5.35 5.35-5.35h9.3c2.95 0 5.35 2.4 5.35 5.35Z",fill:n}),c.createElement("path",{d:"m13.64 2.71-.01.94A1.64 1.64 0 0 1 12 5.26c-.15 0-.24.1-.24.23s.1.23.23.23h-1.61c-.01-.07-.02-.15-.02-.23 0-.9.73-1.63 1.62-1.63.15 0 .25-.1.25-.23l.01-.94c.01-.38.32-.69.7-.69h.01c.39 0 .69.32.69.71Z",fill:n}))},Mr=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"m9.57 12.46-3.05 3.05M6.55 12.49l3.05 3.05",stroke:n,strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M13.53 14h.01M17.47 14h.01M15.5 15.98v-.02M15.5 12.04v-.02",stroke:n,strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M9 22h6c5 0 7-2 7-7v-2c0-5-2-7-7-7H9c-5 0-7 2-7 7v2c0 5 2 7 7 7ZM13.01 2 13 3.01A1 1 0 0 1 12 4h-.03c-.55 0-.99.45-.99 1s.45 1 1 1h1",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},wc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M6.52 16.258c-.19 0-.38-.07-.53-.22a.754.754 0 0 1 0-1.06l3.05-3.05c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-3.05 3.05c-.15.14-.34.22-.53.22Z",fill:n}),c.createElement("path",{d:"M9.6 16.29c-.19 0-.38-.07-.53-.22l-3.05-3.05a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l3.05 3.05c.29.29.29.77 0 1.06-.15.15-.34.22-.53.22ZM13.54 15c-.55 0-1.01-.45-1.01-1s.44-1 .99-1h.02c.55 0 1 .45 1 1s-.44 1-1 1ZM17.48 15c-.55 0-1.01-.45-1.01-1s.44-1 .99-1h.02c.55 0 1 .45 1 1s-.45 1-1 1ZM15.5 16.97c-.55 0-1-.44-1-.99v-.02c0-.55.45-1 1-1s1 .45 1 1-.44 1.01-1 1.01ZM15.5 13.03c-.55 0-1-.44-1-.99v-.02c0-.55.45-1 1-1s1 .45 1 1-.44 1.01-1 1.01Z",fill:n}),c.createElement("path",{d:"M15 22.75H9c-5.43 0-7.75-2.32-7.75-7.75v-2c0-5.43 2.32-7.75 7.75-7.75h6c5.43 0 7.75 2.32 7.75 7.75v2c0 5.43-2.32 7.75-7.75 7.75Zm-6-16c-4.61 0-6.25 1.64-6.25 6.25v2c0 4.61 1.64 6.25 6.25 6.25h6c4.61 0 6.25-1.64 6.25-6.25v-2c0-4.61-1.64-6.25-6.25-6.25H9Z",fill:n}),c.createElement("path",{d:"M12.99 6.75h-1c-.96 0-1.75-.79-1.75-1.75s.78-1.75 1.74-1.75c.16 0 .27-.11.28-.25l.01-1.01c.01-.41.34-.74.75-.74h.01c.41.01.75.35.74.76l-.01 1.01c-.01.95-.8 1.73-1.75 1.73-.16 0-.26.11-.26.25s.11.25.25.25h1c.41 0 .75.34.75.75s-.35.75-.76.75Z",fill:n}))},Ec=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("g",{opacity:".4",stroke:n,strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"},c.createElement("path",{d:"m9.57 12.46-3.05 3.05M6.55 12.492l3.05 3.05"})),c.createElement("path",{opacity:".4",d:"M13.53 14h.01M17.47 14h.01M15.5 15.98v-.02M15.5 12.04v-.02",stroke:n,strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M9 22h6c5 0 7-2 7-7v-2c0-5-2-7-7-7H9c-5 0-7 2-7 7v2c0 5 2 7 7 7ZM13.01 2 13 3.01A1 1 0 0 1 12 4h-.03c-.55 0-.99.45-.99 1s.45 1 1 1h1",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},Sc=function(t,n){switch(t){case"Bold":return c.createElement(yc,{color:n});case"Broken":return c.createElement(bc,{color:n});case"Bulk":return c.createElement(xc,{color:n});case"Linear":return c.createElement(Mr,{color:n});case"Outline":return c.createElement(wc,{color:n});case"TwoTone":return c.createElement(Ec,{color:n});default:return c.createElement(Mr,{color:n})}},Zt=c.forwardRef(function(e,t){var n=e.variant,r=e.color,o=e.size,s=ge(e,vc);return c.createElement("svg",de({},s,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:o,height:o,viewBox:"0 0 24 24",fill:"none"}),Sc(n,r))});Zt.propTypes={variant:z.oneOf(["Linear","Bold","Broken","Bulk","Outline","TwoTone"]),color:z.string,size:z.oneOfType([z.string,z.number])};Zt.defaultProps={variant:"Linear",color:"currentColor",size:"24"};Zt.displayName="Game";var kc=["variant","color","size"],Cc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M15.8 2.21c-.41-.41-1.12-.13-1.12.44v3.49c0 1.46 1.24 2.67 2.75 2.67.95.01 2.27.01 3.4.01.57 0 .87-.67.47-1.07-1.44-1.45-4.02-4.06-5.5-5.54Z",fill:n}),c.createElement("path",{d:"M20.5 10.19h-2.89c-2.37 0-4.3-1.93-4.3-4.3V3c0-.55-.45-1-1-1H8.07C4.99 2 2.5 4 2.5 7.57v8.86C2.5 20 4.99 22 8.07 22h7.86c3.08 0 5.57-2 5.57-5.57v-5.24c0-.55-.45-1-1-1Zm-9 7.56h-4c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h4c.41 0 .75.34.75.75s-.34.75-.75.75Zm2-4h-6c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h6c.41 0 .75.34.75.75s-.34.75-.75.75Z",fill:n}))},Oc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M12 13h1M7 13h2.45M7 17h4M2 9c0-5 2-7 7-7h5M22 10v5c0 5-2 7-7 7H9c-5 0-7-2-7-7v-2.02M18 10c-3 0-4-1-4-4V2l8 8",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},Tc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{opacity:".4",d:"M20.5 10.19h-2.89c-2.37 0-4.3-1.93-4.3-4.3V3c0-.55-.45-1-1-1H8.07C4.99 2 2.5 4 2.5 7.57v8.86C2.5 20 4.99 22 8.07 22h7.86c3.08 0 5.57-2 5.57-5.57v-5.24c0-.55-.45-1-1-1Z",fill:n}),c.createElement("path",{d:"M15.8 2.21c-.41-.41-1.12-.13-1.12.44v3.49c0 1.46 1.24 2.67 2.75 2.67.95.01 2.27.01 3.4.01.57 0 .87-.67.47-1.07-1.44-1.45-4.02-4.06-5.5-5.54ZM13.5 13.75h-6c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h6c.41 0 .75.34.75.75s-.34.75-.75.75ZM11.5 17.75h-4c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h4c.41 0 .75.34.75.75s-.34.75-.75.75Z",fill:n}))},Nr=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M21 7v10c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5V7c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5Z",stroke:n,strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M14.5 4.5v2c0 1.1.9 2 2 2h2M8 13h4M8 17h8",stroke:n,strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}))},Rc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M16 22.75H8c-3.65 0-5.75-2.1-5.75-5.75V7c0-3.65 2.1-5.75 5.75-5.75h8c3.65 0 5.75 2.1 5.75 5.75v10c0 3.65-2.1 5.75-5.75 5.75Zm-8-20C5.14 2.75 3.75 4.14 3.75 7v10c0 2.86 1.39 4.25 4.25 4.25h8c2.86 0 4.25-1.39 4.25-4.25V7c0-2.86-1.39-4.25-4.25-4.25H8Z",fill:n}),c.createElement("path",{d:"M18.5 9.25h-2c-1.52 0-2.75-1.23-2.75-2.75v-2c0-.41.34-.75.75-.75s.75.34.75.75v2c0 .69.56 1.25 1.25 1.25h2c.41 0 .75.34.75.75s-.34.75-.75.75ZM12 13.75H8c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h4c.41 0 .75.34.75.75s-.34.75-.75.75ZM16 17.75H8c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h8c.41 0 .75.34.75.75s-.34.75-.75.75Z",fill:n}))},Lc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M21 7v10c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5V7c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5Z",stroke:n,strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{opacity:".4",d:"M14.5 4.5v2c0 1.1.9 2 2 2h2M8 13h4M8 17h8",stroke:n,strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}))},Pc=function(t,n){switch(t){case"Bold":return c.createElement(Cc,{color:n});case"Broken":return c.createElement(Oc,{color:n});case"Bulk":return c.createElement(Tc,{color:n});case"Linear":return c.createElement(Nr,{color:n});case"Outline":return c.createElement(Rc,{color:n});case"TwoTone":return c.createElement(Lc,{color:n});default:return c.createElement(Nr,{color:n})}},Ht=c.forwardRef(function(e,t){var n=e.variant,r=e.color,o=e.size,s=ge(e,kc);return c.createElement("svg",de({},s,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:o,height:o,viewBox:"0 0 24 24",fill:"none"}),Pc(n,r))});Ht.propTypes={variant:z.oneOf(["Linear","Bold","Broken","Bulk","Outline","TwoTone"]),color:z.string,size:z.oneOfType([z.string,z.number])};Ht.defaultProps={variant:"Linear",color:"currentColor",size:"24"};Ht.displayName="DocumentText";var Ac=["variant","color","size"],Mc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M20 19.261h-9.07c-.45 0-.82-.37-.82-.82 0-.45.37-.82.82-.82H20c.45 0 .82.37.82.82 0 .46-.37.82-.82.82ZM20 12.968h-9.07c-.45 0-.82-.37-.82-.82 0-.45.37-.82.82-.82H20c.45 0 .82.37.82.82 0 .45-.37.82-.82.82ZM20 6.671h-9.07c-.45 0-.82-.37-.82-.82 0-.45.37-.82.82-.82H20c.45 0 .82.37.82.82 0 .45-.37.82-.82.82ZM4.91 8.032c-.22 0-.43-.09-.58-.24l-.91-.91a.82.82 0 0 1 1.16-1.16l.33.33 2.14-2.14a.82.82 0 0 1 1.16 1.16l-2.72 2.72c-.16.15-.36.24-.58.24ZM4.91 14.329c-.21 0-.42-.08-.58-.24l-.91-.91a.82.82 0 0 1 1.16-1.16l.33.33 2.14-2.14a.82.82 0 0 1 1.16 1.16l-2.72 2.72c-.16.16-.37.24-.58.24ZM4.91 20.329c-.21 0-.42-.08-.58-.24l-.91-.91a.82.82 0 0 1 1.16-1.16l.33.33 2.14-2.14a.821.821 0 0 1 1.16 1.16l-2.72 2.72c-.16.16-.37.24-.58.24Z",fill:n}))},Nc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M11 19.5h10M20 12.5h1M11 12.5h5.49M11 5.5h10M3 5.5l1 1 3-3M3 12.5l1 1 3-3M3 19.5l1 1 3-3",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},jc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M20 19.261h-9.07c-.45 0-.82-.37-.82-.82 0-.45.37-.82.82-.82H20c.45 0 .82.37.82.82 0 .46-.37.82-.82.82ZM20 12.968h-9.07c-.45 0-.82-.37-.82-.82 0-.45.37-.82.82-.82H20c.45 0 .82.37.82.82 0 .45-.37.82-.82.82ZM20 6.671h-9.07c-.45 0-.82-.37-.82-.82 0-.45.37-.82.82-.82H20c.45 0 .82.37.82.82 0 .45-.37.82-.82.82Z",fill:n}),c.createElement("path",{opacity:".4",d:"M4.91 8.032c-.22 0-.43-.09-.58-.24l-.91-.91a.82.82 0 0 1 1.16-1.16l.33.33 2.14-2.14a.82.82 0 0 1 1.16 1.16l-2.72 2.72c-.16.15-.36.24-.58.24ZM4.91 14.329c-.21 0-.42-.08-.58-.24l-.91-.91a.82.82 0 0 1 1.16-1.16l.33.33 2.14-2.14a.82.82 0 0 1 1.16 1.16l-2.72 2.72c-.16.16-.37.24-.58.24ZM4.91 20.329c-.21 0-.42-.08-.58-.24l-.91-.91a.82.82 0 0 1 1.16-1.16l.33.33 2.14-2.14a.821.821 0 0 1 1.16 1.16l-2.72 2.72c-.16.16-.37.24-.58.24Z",fill:n}))},jr=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M11 19.5h10M11 12.5h10M11 5.5h10M3 5.5l1 1 3-3M3 12.5l1 1 3-3M3 19.5l1 1 3-3",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},_c=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M21 20.25H11c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h10c.41 0 .75.34.75.75s-.34.75-.75.75ZM21 13.25H11c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h10c.41 0 .75.34.75.75s-.34.75-.75.75ZM21 6.25H11c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h10c.41 0 .75.34.75.75s-.34.75-.75.75ZM4 7.251c-.19 0-.38-.07-.53-.22l-1-1a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l.47.47 2.47-2.47c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-3 3c-.15.15-.34.22-.53.22ZM4 14.251c-.19 0-.38-.07-.53-.22l-1-1a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l.47.47 2.47-2.47c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-3 3c-.15.15-.34.22-.53.22ZM4 21.251c-.19 0-.38-.07-.53-.22l-1-1a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l.47.47 2.47-2.47c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-3 3c-.15.15-.34.22-.53.22Z",fill:n}))},$c=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{opacity:".4",d:"M11 19.5h10M11 12.5h10M11 5.5h10",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"m3 5.5 1 1 3-3M3 12.5l1 1 3-3M3 19.5l1 1 3-3",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},Fc=function(t,n){switch(t){case"Bold":return c.createElement(Mc,{color:n});case"Broken":return c.createElement(Nc,{color:n});case"Bulk":return c.createElement(jc,{color:n});case"Linear":return c.createElement(jr,{color:n});case"Outline":return c.createElement(_c,{color:n});case"TwoTone":return c.createElement($c,{color:n});default:return c.createElement(jr,{color:n})}},Ut=c.forwardRef(function(e,t){var n=e.variant,r=e.color,o=e.size,s=ge(e,Ac);return c.createElement("svg",de({},s,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:o,height:o,viewBox:"0 0 24 24",fill:"none"}),Fc(n,r))});Ut.propTypes={variant:z.oneOf(["Linear","Bold","Broken","Bulk","Outline","TwoTone"]),color:z.string,size:z.oneOfType([z.string,z.number])};Ut.defaultProps={variant:"Linear",color:"currentColor",size:"24"};Ut.displayName="Task";var Ic=["variant","color","size"],Bc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"m19.5 7.499-1.49 1.49-3-3 1.49-1.49c.42-.42.96-.62 1.5-.62s1.08.2 1.5.62c.83.83.83 2.17 0 3ZM17.31 9.7 6.5 20.5c-.83.83-2.17.83-3 0-.83-.83-.83-2.17 0-3L14.31 6.7l3 3ZM9.95 3.5l.41-1.39c.04-.13 0-.27-.09-.37-.09-.1-.25-.14-.38-.1l-1.39.41-1.39-.41c-.13-.04-.27 0-.37.09-.1.1-.13.24-.09.37l.4 1.4-.41 1.39c-.04.13 0 .27.09.37.1.1.24.13.37.09l1.4-.4 1.39.41c.04.01.07.02.11.02.1 0 .19-.04.27-.11.1-.1.13-.24.09-.37l-.41-1.4ZM5.95 9.5l.41-1.39c.04-.13 0-.27-.09-.37-.1-.1-.24-.13-.37-.09l-1.4.4-1.39-.41c-.13-.04-.27 0-.37.09-.1.1-.13.24-.09.37l.4 1.4-.41 1.39c-.04.13 0 .27.09.37.1.1.24.13.37.09l1.39-.41 1.39.41c.03.01.07.01.11.01.1 0 .19-.04.27-.11.1-.1.13-.24.09-.37l-.4-1.38ZM20.95 14.5l.41-1.39c.04-.13 0-.27-.09-.37-.1-.1-.24-.13-.37-.09l-1.39.41-1.39-.41c-.13-.04-.27 0-.37.09-.1.1-.13.24-.09.37l.41 1.39-.41 1.39c-.04.13 0 .27.09.37.1.1.24.13.37.09l1.39-.41 1.39.41c.03.01.07.01.11.01.1 0 .19-.04.27-.11.1-.1.13-.24.09-.37l-.42-1.38Z",fill:n}))},Dc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"m16.98 10.021 2.52-2.52c.83-.83.83-2.17 0-3-.83-.83-2.17-.83-3 0l-13 13c-.83.83-.83 2.17 0 3 .83.83 2.17.83 3 0l8-8M18.01 8.988l-3-3",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M9.56 3.5 10 5l-1.5-.44L7 5l.44-1.5L7 2l1.5.44M4.5 8.44 6 8l-.44 1.5L6 11l-1.5-.44L3 11l.44-1.5L3 8l1.5.44ZM18.44 14.5 18 13l1.5.44L21 13l-.44 1.5L21 16l-1.5-.44",stroke:n,strokeLinecap:"round",strokeLinejoin:"round"}))},zc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"m19.5 7.499-1.49 1.49-3-3 1.49-1.49c.42-.42.96-.62 1.5-.62s1.08.2 1.5.62c.83.83.83 2.17 0 3Z",fill:n}),c.createElement("path",{opacity:".4",d:"M18.01 8.988 6.5 20.498c-.83.83-2.17.83-3 0-.83-.83-.83-2.17 0-3l11.51-11.51 3 3Z",fill:n}),c.createElement("path",{d:"m9.95 3.5.41-1.39c.04-.13 0-.27-.09-.37-.09-.1-.25-.14-.38-.1l-1.39.41-1.39-.41c-.13-.04-.27 0-.37.09-.1.1-.13.24-.09.37l.4 1.4-.41 1.39c-.04.13 0 .27.09.37.1.1.24.13.37.09l1.4-.4 1.39.41c.04.01.07.02.11.02.1 0 .19-.04.27-.11.1-.1.13-.24.09-.37l-.41-1.4ZM5.95 9.5l.41-1.39c.04-.13 0-.27-.09-.37-.1-.1-.24-.13-.37-.09l-1.4.4-1.39-.41c-.13-.04-.27 0-.37.09-.1.1-.13.24-.09.37l.4 1.4-.41 1.39c-.04.13 0 .27.09.37.1.1.24.13.37.09l1.39-.41 1.39.41c.03.01.07.01.11.01.1 0 .19-.04.27-.11.1-.1.13-.24.09-.37l-.4-1.38ZM20.95 14.5l.41-1.39c.04-.13 0-.27-.09-.37-.1-.1-.24-.13-.37-.09l-1.39.41-1.39-.41c-.13-.04-.27 0-.37.09-.1.1-.13.24-.09.37l.41 1.39-.41 1.39c-.04.13 0 .27.09.37.1.1.24.13.37.09l1.39-.41 1.39.41c.03.01.07.01.11.01.1 0 .19-.04.27-.11.1-.1.13-.24.09-.37l-.42-1.38Z",fill:n}))},_r=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{stroke:n,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M3.5 20.5c.83.83 2.17.83 3 0l13-13c.83-.83.83-2.17 0-3-.83-.83-2.17-.83-3 0l-13 13c-.83.83-.83 2.17 0 3zM18.01 8.99l-3-3"}),c.createElement("path",{stroke:n,strokeLinecap:"round",strokeLinejoin:"round",d:"M8.5 2.44L10 2l-.44 1.5L10 5l-1.5-.44L7 5l.44-1.5L7 2l1.5.44zM4.5 8.44L6 8l-.44 1.5L6 11l-1.5-.44L3 11l.44-1.5L3 8l1.5.44zM19.5 13.44L21 13l-.44 1.5L21 16l-1.5-.44L18 16l.44-1.5L18 13l1.5.44z"}))},Vc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M5 21.869c-.74 0-1.47-.28-2.03-.84-.54-.54-.84-1.26-.84-2.03 0-.77.3-1.49.84-2.03l13-13a2.873 2.873 0 0 1 4.06 0c.54.54.84 1.26.84 2.03 0 .77-.3 1.49-.84 2.03l-13 13c-.56.56-1.29.84-2.03.84Zm13-17.24c-.35 0-.7.13-.97.4l-13 13c-.26.26-.4.6-.4.97s.14.71.4.97c.53.53 1.41.53 1.94 0l13-13c.26-.26.4-.6.4-.97s-.14-.71-.4-.97c-.27-.27-.62-.4-.97-.4Z",fill:n}),c.createElement("path",{d:"M18.01 9.74c-.19 0-.38-.07-.53-.22l-3-3a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l3 3c.29.29.29.77 0 1.06-.15.15-.34.22-.53.22ZM10 5.5c-.05 0-.09-.01-.14-.02l-1.36-.4-1.36.4c-.18.05-.37 0-.49-.13-.13-.13-.18-.31-.13-.49l.4-1.36-.4-1.36c-.05-.18 0-.37.13-.49a.5.5 0 0 1 .49-.13l1.36.4 1.36-.4c.18-.05.36 0 .49.13a.5.5 0 0 1 .13.49l-.4 1.36.4 1.36c.05.18 0 .37-.13.49a.47.47 0 0 1-.35.15ZM8.5 4.06c.05 0 .09.01.14.02l.62.18-.18-.62a.447.447 0 0 1 0-.28l.18-.62-.62.18c-.09.03-.19.03-.28 0l-.62-.18.18.62c.03.09.03.19 0 .28l-.18.62.62-.18c.05-.01.09-.02.14-.02ZM6 11.5c-.05 0-.09-.01-.14-.02l-1.36-.4-1.36.4c-.18.05-.36 0-.49-.13a.5.5 0 0 1-.13-.49l.4-1.36-.4-1.36c-.05-.18 0-.37.13-.49s.32-.18.49-.13l1.36.4 1.36-.4a.5.5 0 0 1 .49.13c.13.13.18.32.13.49l-.4 1.36.4 1.36c.05.18 0 .37-.13.49a.47.47 0 0 1-.35.15Zm-1.5-1.44c.05 0 .09.01.14.02l.62.18-.18-.62a.447.447 0 0 1 0-.28l.18-.62-.62.18c-.09.03-.19.03-.28 0l-.62-.18.18.62c.03.09.03.19 0 .28l-.18.62.62-.18c.05-.01.09-.02.14-.02ZM21 16.5c-.05 0-.09-.01-.14-.02l-1.36-.4-1.36.4c-.18.05-.36 0-.49-.13s-.18-.32-.13-.49l.4-1.36-.4-1.36c-.05-.18 0-.37.13-.49s.32-.18.49-.13l1.36.4 1.36-.4a.5.5 0 0 1 .49.13.5.5 0 0 1 .13.49l-.4 1.36.4 1.36c.05.18 0 .37-.13.49a.47.47 0 0 1-.35.15Zm-1.5-1.44c.05 0 .09.01.14.02l.62.18-.18-.62a.447.447 0 0 1 0-.28l.18-.62-.62.18c-.09.03-.19.03-.28 0l-.62-.18.18.62c.03.09.03.19 0 .28l-.18.62.62-.18c.05-.01.09-.02.14-.02Z",fill:n}))},Wc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M3.5 20.501c.83.83 2.17.83 3 0l13-13c.83-.83.83-2.17 0-3-.83-.83-2.17-.83-3 0l-13 13c-.83.83-.83 2.17 0 3Z",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{opacity:".4",d:"m18.01 8.988-3-3",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{opacity:".4",d:"M8.5 2.44 10 2l-.44 1.5L10 5l-1.5-.44L7 5l.44-1.5L7 2l1.5.44ZM4.5 8.44 6 8l-.44 1.5L6 11l-1.5-.44L3 11l.44-1.5L3 8l1.5.44ZM19.5 13.44 21 13l-.44 1.5L21 16l-1.5-.44L18 16l.44-1.5L18 13l1.5.44Z",stroke:n,strokeLinecap:"round",strokeLinejoin:"round"}))},Zc=function(t,n){switch(t){case"Bold":return c.createElement(Bc,{color:n});case"Broken":return c.createElement(Dc,{color:n});case"Bulk":return c.createElement(zc,{color:n});case"Linear":return c.createElement(_r,{color:n});case"Outline":return c.createElement(Vc,{color:n});case"TwoTone":return c.createElement(Wc,{color:n});default:return c.createElement(_r,{color:n})}},it=c.forwardRef(function(e,t){var n=e.variant,r=e.color,o=e.size,s=ge(e,Ic);return c.createElement("svg",de({},s,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:o,height:o,viewBox:"0 0 24 24",fill:"none"}),Zc(n,r))});it.propTypes={variant:z.oneOf(["Linear","Bold","Broken","Bulk","Outline","TwoTone"]),color:z.string,size:z.oneOfType([z.string,z.number])};it.defaultProps={variant:"Linear",color:"currentColor",size:"24"};it.displayName="Magicpen";var Hc=["variant","color","size"],Uc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M18 16.012c.55 0 1 .45 1 1v.99c0 2.2-1.5 4-4 4H9c-2.5 0-4-1.8-4-4v-.99c0-.55.45-1 1-1h12ZM19 6v7.5c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V6c0-2.2 1.5-4 4-4h6c2.5 0 4 1.8 4 4ZM3 20.75c-.41 0-.75-.34-.75-.75V4c0-.41.34-.75.75-.75s.75.34.75.75v16c0 .41-.34.75-.75.75ZM21 20.75c-.41 0-.75-.34-.75-.75V4c0-.41.34-.75.75-.75s.75.34.75.75v16c0 .41-.34.75-.75.75Z",fill:n}))},Kc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M15 2c2.5 0 4 1.8 4 4v12c0 2.2-1.5 4-4 4H9c-2.5 0-4-1.8-4-4V6c0-2.2 1.5-4 4-4h1.98M5 16.012h14M2 4v16M22 4v16",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},Yc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M19 16.012v1.99c0 2.2-1.5 4-4 4H9c-2.5 0-4-1.8-4-4v-1.99h14Z",fill:n}),c.createElement("path",{opacity:".4",d:"M19 6v10.01H5V6c0-2.2 1.5-4 4-4h6c2.5 0 4 1.8 4 4Z",fill:n}),c.createElement("path",{d:"M3 20.75c-.41 0-.75-.34-.75-.75V4c0-.41.34-.75.75-.75s.75.34.75.75v16c0 .41-.34.75-.75.75ZM21 20.75c-.41 0-.75-.34-.75-.75V4c0-.41.34-.75.75-.75s.75.34.75.75v16c0 .41-.34.75-.75.75Z",fill:n}))},$r=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M15 22H9c-2.5 0-4-1.8-4-4V6c0-2.2 1.5-4 4-4h6c2.5 0 4 1.8 4 4v12c0 2.2-1.5 4-4 4ZM5 16.01h14M2 4v16M22 4v16",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},Gc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M15 22.75H9c-2.75 0-4.75-2-4.75-4.75V6c0-2.75 2-4.75 4.75-4.75h6c2.75 0 4.75 2 4.75 4.75v12c0 2.75-2 4.75-4.75 4.75Zm-6-20C6.75 2.75 5.75 4.38 5.75 6v12c0 1.62 1 3.25 3.25 3.25h6c2.25 0 3.25-1.63 3.25-3.25V6c0-1.62-1-3.25-3.25-3.25H9Z",fill:n}),c.createElement("path",{d:"M19 16.762H5c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h14c.41 0 .75.34.75.75s-.34.75-.75.75ZM2 20.75c-.41 0-.75-.34-.75-.75V4c0-.41.34-.75.75-.75s.75.34.75.75v16c0 .41-.34.75-.75.75ZM22 20.75c-.41 0-.75-.34-.75-.75V4c0-.41.34-.75.75-.75s.75.34.75.75v16c0 .41-.34.75-.75.75Z",fill:n}))},qc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M15 22H9c-2.5 0-4-1.8-4-4V6c0-2.2 1.5-4 4-4h6c2.5 0 4 1.8 4 4v12c0 2.2-1.5 4-4 4Z",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{opacity:".4",d:"M5 16.012h14M2 4v16M22 4v16",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},Xc=function(t,n){switch(t){case"Bold":return c.createElement(Uc,{color:n});case"Broken":return c.createElement(Kc,{color:n});case"Bulk":return c.createElement(Yc,{color:n});case"Linear":return c.createElement($r,{color:n});case"Outline":return c.createElement(Gc,{color:n});case"TwoTone":return c.createElement(qc,{color:n});default:return c.createElement($r,{color:n})}},Kt=c.forwardRef(function(e,t){var n=e.variant,r=e.color,o=e.size,s=ge(e,Hc);return c.createElement("svg",de({},s,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:o,height:o,viewBox:"0 0 24 24",fill:"none"}),Xc(n,r))});Kt.propTypes={variant:z.oneOf(["Linear","Bold","Broken","Bulk","Outline","TwoTone"]),color:z.string,size:z.oneOfType([z.string,z.number])};Kt.defaultProps={variant:"Linear",color:"currentColor",size:"24"};Kt.displayName="Slider";var Jc=["variant","color","size"],Qc=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm4.78 7.7-5.67 5.67a.75.75 0 0 1-1.06 0l-2.83-2.83a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l2.3 2.3 5.14-5.14c.29-.29.77-.29 1.06 0 .29.29.29.76 0 1.06Z",fill:n}))},el=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M4 6c-1.25 1.67-2 3.75-2 6 0 5.52 4.48 10 10 10s10-4.48 10-10S17.52 2 12 2c-1.43 0-2.8.3-4.03.85M15 10.38l1.12-1.13",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"m7.88 12 2.74 2.75 2.55-2.54",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},tl=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{opacity:".4",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z",fill:n}),c.createElement("path",{d:"M10.58 15.582a.75.75 0 0 1-.53-.22l-2.83-2.83a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l2.3 2.3 5.14-5.14c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-5.67 5.67a.75.75 0 0 1-.53.22Z",fill:n}))},Fr=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10Z",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"m7.75 12 2.83 2.83 5.67-5.66",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},nl=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M12 22.75C6.07 22.75 1.25 17.93 1.25 12S6.07 1.25 12 1.25 22.75 6.07 22.75 12 17.93 22.75 12 22.75Zm0-20C6.9 2.75 2.75 6.9 2.75 12S6.9 21.25 12 21.25s9.25-4.15 9.25-9.25S17.1 2.75 12 2.75Z",fill:n}),c.createElement("path",{d:"M10.58 15.582a.75.75 0 0 1-.53-.22l-2.83-2.83a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l2.3 2.3 5.14-5.14c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-5.67 5.67a.75.75 0 0 1-.53.22Z",fill:n}))},rl=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10Z",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{opacity:".34",d:"m7.75 12.002 2.83 2.83 5.67-5.66",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},ol=function(t,n){switch(t){case"Bold":return c.createElement(Qc,{color:n});case"Broken":return c.createElement(el,{color:n});case"Bulk":return c.createElement(tl,{color:n});case"Linear":return c.createElement(Fr,{color:n});case"Outline":return c.createElement(nl,{color:n});case"TwoTone":return c.createElement(rl,{color:n});default:return c.createElement(Fr,{color:n})}},Yt=c.forwardRef(function(e,t){var n=e.variant,r=e.color,o=e.size,s=ge(e,Jc);return c.createElement("svg",de({},s,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:o,height:o,viewBox:"0 0 24 24",fill:"none"}),ol(n,r))});Yt.propTypes={variant:z.oneOf(["Linear","Bold","Broken","Bulk","Outline","TwoTone"]),color:z.string,size:z.oneOfType([z.string,z.number])};Yt.defaultProps={variant:"Linear",color:"currentColor",size:"24"};Yt.displayName="TickCircle";var sl=["variant","color","size"],il=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"m21.56 10.739-1.36-1.58c-.26-.3-.47-.86-.47-1.26v-1.7c0-1.06-.87-1.93-1.93-1.93h-1.7c-.39 0-.96-.21-1.26-.47l-1.58-1.36c-.69-.59-1.82-.59-2.52 0l-1.57 1.37c-.3.25-.87.46-1.26.46H6.18c-1.06 0-1.93.87-1.93 1.93v1.71c0 .39-.21.95-.46 1.25l-1.35 1.59c-.58.69-.58 1.81 0 2.5l1.35 1.59c.25.3.46.86.46 1.25v1.71c0 1.06.87 1.93 1.93 1.93h1.73c.39 0 .96.21 1.26.47l1.58 1.36c.69.59 1.82.59 2.52 0l1.58-1.36c.3-.26.86-.47 1.26-.47h1.7c1.06 0 1.93-.87 1.93-1.93v-1.7c0-.39.21-.96.47-1.26l1.36-1.58c.58-.69.58-1.83-.01-2.52Zm-5.4-.63-4.83 4.83a.75.75 0 0 1-1.06 0l-2.42-2.42a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l1.89 1.89 4.3-4.3c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06Z",fill:n}))},al=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"m8.38 11.998 2.41 2.42 4.83-4.84",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M4.24 6.198c0-1.06.87-1.93 1.93-1.93H7.9c.4 0 .96-.21 1.26-.46l1.58-1.35c.7-.59 1.83-.59 2.51 0l1.58 1.35c.3.25.87.46 1.27.46h1.7c1.06 0 1.93.87 1.93 1.93v1.7c0 .4.21.96.46 1.26l1.35 1.58c.59.7.59 1.83 0 2.51l-1.35 1.58c-.25.3-.46.86-.46 1.26v1.7c0 1.06-.87 1.93-1.93 1.93h-1.7c-.4 0-.96.21-1.26.46l-1.58 1.35c-.7.59-1.83.59-2.51 0l-1.58-1.35c-.3-.25-.87-.46-1.26-.46H6.17c-1.06 0-1.93-.87-1.93-1.93v-1.71c0-.39-.2-.96-.45-1.25l-1.35-1.59c-.58-.69-.58-1.81 0-2.5l.56-.66",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},cl=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{opacity:".4",d:"M10.75 2.45c.69-.59 1.82-.59 2.52 0l1.58 1.36c.3.26.86.47 1.26.47h1.7c1.06 0 1.93.87 1.93 1.93v1.7c0 .39.21.96.47 1.26l1.36 1.58c.59.69.59 1.82 0 2.52l-1.36 1.58c-.26.3-.47.86-.47 1.26v1.7c0 1.06-.87 1.93-1.93 1.93h-1.7c-.39 0-.96.21-1.26.47l-1.58 1.36c-.69.59-1.82.59-2.52 0l-1.58-1.36c-.3-.26-.86-.47-1.26-.47H6.18c-1.06 0-1.93-.87-1.93-1.93V16.1c0-.39-.21-.95-.46-1.25l-1.35-1.59c-.58-.69-.58-1.81 0-2.5l1.35-1.59c.25-.3.46-.86.46-1.25V6.2c0-1.06.87-1.93 1.93-1.93h1.73c.39 0 .96-.21 1.26-.47l1.58-1.35Z",fill:n}),c.createElement("path",{d:"M10.79 15.171a.75.75 0 0 1-.53-.22l-2.42-2.42a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l1.89 1.89 4.3-4.3c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-4.83 4.83a.75.75 0 0 1-.53.22Z",fill:n}))},Ir=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"m8.38 12 2.41 2.42 4.83-4.84",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M10.75 2.45c.69-.59 1.82-.59 2.52 0l1.58 1.36c.3.26.86.47 1.26.47h1.7c1.06 0 1.93.87 1.93 1.93v1.7c0 .39.21.96.47 1.26l1.36 1.58c.59.69.59 1.82 0 2.52l-1.36 1.58c-.26.3-.47.86-.47 1.26v1.7c0 1.06-.87 1.93-1.93 1.93h-1.7c-.39 0-.96.21-1.26.47l-1.58 1.36c-.69.59-1.82.59-2.52 0l-1.58-1.36c-.3-.26-.86-.47-1.26-.47H6.18c-1.06 0-1.93-.87-1.93-1.93V16.1c0-.39-.21-.95-.46-1.25l-1.35-1.59c-.58-.69-.58-1.81 0-2.5l1.35-1.59c.25-.3.46-.86.46-1.25V6.2c0-1.06.87-1.93 1.93-1.93h1.73c.39 0 .96-.21 1.26-.47l1.58-1.35Z",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},ll=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M10.79 15.171a.75.75 0 0 1-.53-.22l-2.42-2.42a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l1.89 1.89 4.3-4.3c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-4.83 4.83a.75.75 0 0 1-.53.22Z",fill:n}),c.createElement("path",{d:"M12 22.75c-.63 0-1.26-.21-1.75-.63l-1.58-1.36c-.16-.14-.56-.28-.77-.28H6.18A2.68 2.68 0 0 1 3.5 17.8v-1.71c0-.21-.14-.6-.28-.76l-1.35-1.59c-.82-.97-.82-2.5 0-3.47l1.35-1.59c.14-.16.28-.55.28-.76V6.2c0-1.48 1.2-2.68 2.68-2.68h1.73c.21 0 .61-.15.77-.28l1.58-1.36c.98-.84 2.51-.84 3.49 0l1.58 1.36c.16.14.56.28.77.28h1.7c1.48 0 2.68 1.2 2.68 2.68v1.7c0 .21.15.61.29.77l1.36 1.58c.84.98.84 2.51 0 3.49l-1.36 1.58c-.14.16-.29.56-.29.77v1.7c0 1.48-1.2 2.68-2.68 2.68h-1.7c-.21 0-.61.15-.77.28l-1.58 1.36c-.49.43-1.12.64-1.75.64ZM6.18 5.02C5.53 5.02 5 5.55 5 6.2v1.71c0 .57-.27 1.3-.64 1.73l-1.35 1.59c-.35.41-.35 1.12 0 1.53l1.35 1.59c.37.44.64 1.16.64 1.73v1.71c0 .65.53 1.18 1.18 1.18h1.73c.58 0 1.31.27 1.75.65l1.58 1.36c.41.35 1.13.35 1.54 0l1.58-1.36c.44-.37 1.17-.65 1.75-.65h1.7c.65 0 1.18-.53 1.18-1.18v-1.7c0-.58.27-1.31.65-1.75L21 12.76c.35-.41.35-1.13 0-1.54l-1.36-1.58c-.38-.44-.65-1.17-.65-1.75V6.2c0-.65-.53-1.18-1.18-1.18h-1.7c-.58 0-1.31-.27-1.75-.65l-1.58-1.36c-.41-.35-1.13-.35-1.54 0L9.66 4.38c-.44.37-1.18.64-1.75.64H6.18Z",fill:n}))},ul=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{opacity:".34",d:"m8.38 11.998 2.41 2.42 4.83-4.84",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M10.75 2.45c.69-.59 1.82-.59 2.52 0l1.58 1.36c.3.26.86.47 1.26.47h1.7c1.06 0 1.93.87 1.93 1.93v1.7c0 .39.21.96.47 1.26l1.36 1.58c.59.69.59 1.82 0 2.52l-1.36 1.58c-.26.3-.47.86-.47 1.26v1.7c0 1.06-.87 1.93-1.93 1.93h-1.7c-.39 0-.96.21-1.26.47l-1.58 1.36c-.69.59-1.82.59-2.52 0l-1.58-1.36c-.3-.26-.86-.47-1.26-.47H6.18c-1.06 0-1.93-.87-1.93-1.93V16.1c0-.39-.21-.95-.46-1.25l-1.35-1.59c-.58-.69-.58-1.81 0-2.5l1.35-1.59c.25-.3.46-.86.46-1.25V6.2c0-1.06.87-1.93 1.93-1.93h1.73c.39 0 .96-.21 1.26-.47l1.58-1.35Z",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},dl=function(t,n){switch(t){case"Bold":return c.createElement(il,{color:n});case"Broken":return c.createElement(al,{color:n});case"Bulk":return c.createElement(cl,{color:n});case"Linear":return c.createElement(Ir,{color:n});case"Outline":return c.createElement(ll,{color:n});case"TwoTone":return c.createElement(ul,{color:n});default:return c.createElement(Ir,{color:n})}},Gt=c.forwardRef(function(e,t){var n=e.variant,r=e.color,o=e.size,s=ge(e,sl);return c.createElement("svg",de({},s,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:o,height:o,viewBox:"0 0 24 24",fill:"none"}),dl(n,r))});Gt.propTypes={variant:z.oneOf(["Linear","Bold","Broken","Bulk","Outline","TwoTone"]),color:z.string,size:z.oneOfType([z.string,z.number])};Gt.defaultProps={variant:"Linear",color:"currentColor",size:"24"};Gt.displayName="Verify";var fl=["variant","color","size"],pl=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M17.18 5.25c-1.71 0-3.75.65-3.75 3.75v6c0 3.1 2.04 3.75 3.75 3.75s3.75-.65 3.75-3.75V9c0-3.1-2.04-3.75-3.75-3.75ZM6.82 5.25c-1.71 0-3.75.65-3.75 3.75v6c0 3.1 2.04 3.75 3.75 3.75s3.75-.65 3.75-3.75V9c0-3.1-2.04-3.75-3.75-3.75ZM13.43 11.25h-2.86v1.5h2.86v-1.5ZM22.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75ZM1.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75Z",fill:n}))},hl=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M17.18 18c2.4 0 3-1.35 3-3V9c0-1.65-.6-3-3-3s-3 1.35-3 3v6c0 1.65.6 3 3 3ZM3.82 11.3V9c0-1.65.6-3 3-3s3 1.35 3 3v6c0 1.65-.6 3-3 3s-3-1.35-3-3M9.82 12h4.36M22.5 14.5v-5M1.5 14.5v-5",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},ml=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{opacity:".4",d:"M17.18 5.25c-1.71 0-3.75.65-3.75 3.75v6c0 3.1 2.04 3.75 3.75 3.75s3.75-.65 3.75-3.75V9c0-3.1-2.04-3.75-3.75-3.75ZM6.82 5.25c-1.71 0-3.75.65-3.75 3.75v6c0 3.1 2.04 3.75 3.75 3.75s3.75-.65 3.75-3.75V9c0-3.1-2.04-3.75-3.75-3.75Z",fill:n}),c.createElement("path",{d:"M13.43 11.25h-2.86v1.5h2.86v-1.5ZM22.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75ZM1.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75Z",fill:n}))},Br=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M17.18 18c2.4 0 3-1.35 3-3V9c0-1.65-.6-3-3-3s-3 1.35-3 3v6c0 1.65.6 3 3 3ZM6.82 18c-2.4 0-3-1.35-3-3V9c0-1.65.6-3 3-3s3 1.35 3 3v6c0 1.65-.6 3-3 3ZM9.82 12h4.36M22.5 14.5v-5M1.5 14.5v-5",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},gl=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M17.18 18.75c-1.71 0-3.75-.65-3.75-3.75V9c0-3.1 2.04-3.75 3.75-3.75s3.75.65 3.75 3.75v6c0 3.1-2.04 3.75-3.75 3.75Zm0-12c-1.62 0-2.25.63-2.25 2.25v6c0 1.62.63 2.25 2.25 2.25s2.25-.63 2.25-2.25V9c0-1.62-.63-2.25-2.25-2.25ZM6.82 18.75c-1.71 0-3.75-.65-3.75-3.75V9c0-3.1 2.04-3.75 3.75-3.75s3.75.65 3.75 3.75v6c0 3.1-2.04 3.75-3.75 3.75Zm0-12c-1.62 0-2.25.63-2.25 2.25v6c0 1.62.63 2.25 2.25 2.25s2.25-.63 2.25-2.25V9c0-1.62-.63-2.25-2.25-2.25Z",fill:n}),c.createElement("path",{d:"M14.18 12.75H9.82c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h4.36a.749.749 0 1 1 0 1.5ZM22.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75ZM1.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75Z",fill:n}))},vl=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M17.18 18c2.4 0 3-1.35 3-3V9c0-1.65-.6-3-3-3s-3 1.35-3 3v6c0 1.65.6 3 3 3ZM6.82 18c-2.4 0-3-1.35-3-3V9c0-1.65.6-3 3-3s3 1.35 3 3v6c0 1.65-.6 3-3 3Z",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{opacity:".4",d:"M9.82 12h4.36M22.5 14.5v-5M1.5 14.5v-5",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},yl=function(t,n){switch(t){case"Bold":return c.createElement(pl,{color:n});case"Broken":return c.createElement(hl,{color:n});case"Bulk":return c.createElement(ml,{color:n});case"Linear":return c.createElement(Br,{color:n});case"Outline":return c.createElement(gl,{color:n});case"TwoTone":return c.createElement(vl,{color:n});default:return c.createElement(Br,{color:n})}},qt=c.forwardRef(function(e,t){var n=e.variant,r=e.color,o=e.size,s=ge(e,fl);return c.createElement("svg",de({},s,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:o,height:o,viewBox:"0 0 24 24",fill:"none"}),yl(n,r))});qt.propTypes={variant:z.oneOf(["Linear","Bold","Broken","Bulk","Outline","TwoTone"]),color:z.string,size:z.oneOfType([z.string,z.number])};qt.defaultProps={variant:"Linear",color:"currentColor",size:"24"};qt.displayName="Weight";var bl=["variant","color","size"],xl=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M11.5 21a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19ZM21.3 21.999c-.18 0-.36-.07-.49-.2l-1.86-1.86a.706.706 0 0 1 0-.99c.27-.27.71-.27.99 0l1.86 1.86c.27.27.27.71 0 .99-.14.13-.32.2-.5.2Z",fill:n}))},wl=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M11.5 2c5.25 0 9.5 4.25 9.5 9.5S16.75 21 11.5 21 2 16.75 2 11.5c0-3.7 2.11-6.9 5.2-8.47M22 22l-2-2",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},El=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{opacity:".4",d:"M11.5 21a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19Z",fill:n}),c.createElement("path",{d:"M21.3 21.999c-.18 0-.36-.07-.49-.2l-1.86-1.86a.706.706 0 0 1 0-.99c.27-.27.71-.27.99 0l1.86 1.86c.27.27.27.71 0 .99-.14.13-.32.2-.5.2Z",fill:n}))},Dr=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M11.5 21a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19ZM22 22l-2-2",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},Sl=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M11.5 21.75c-5.65 0-10.25-4.6-10.25-10.25S5.85 1.25 11.5 1.25s10.25 4.6 10.25 10.25-4.6 10.25-10.25 10.25Zm0-19c-4.83 0-8.75 3.93-8.75 8.75s3.92 8.75 8.75 8.75 8.75-3.93 8.75-8.75-3.92-8.75-8.75-8.75ZM22 22.751c-.19 0-.38-.07-.53-.22l-2-2a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l2 2c.29.29.29.77 0 1.06-.15.15-.34.22-.53.22Z",fill:n}))},kl=function(t){var n=t.color;return c.createElement(c.Fragment,null,c.createElement("path",{d:"M11.5 21a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19Z",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{opacity:".4",d:"m22 22-2-2",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},Cl=function(t,n){switch(t){case"Bold":return c.createElement(xl,{color:n});case"Broken":return c.createElement(wl,{color:n});case"Bulk":return c.createElement(El,{color:n});case"Linear":return c.createElement(Dr,{color:n});case"Outline":return c.createElement(Sl,{color:n});case"TwoTone":return c.createElement(kl,{color:n});default:return c.createElement(Dr,{color:n})}},at=c.forwardRef(function(e,t){var n=e.variant,r=e.color,o=e.size,s=ge(e,bl);return c.createElement("svg",de({},s,{xmlns:"http://www.w3.org/2000/svg",ref:t,width:o,height:o,viewBox:"0 0 24 24",fill:"none"}),Cl(n,r))});at.propTypes={variant:z.oneOf(["Linear","Bold","Broken","Bulk","Outline","TwoTone"]),color:z.string,size:z.oneOfType([z.string,z.number])};at.defaultProps={variant:"Linear",color:"currentColor",size:"24"};at.displayName="SearchNormal1";const Ol=$o("inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 ",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow",secondary:"border-transparent bg-secondary text-secondary-foreground",outline:"text-foreground",subtle:"border-transparent bg-muted text-muted-foreground"}},defaultVariants:{variant:"default"}}),Jo=g.forwardRef(({className:e,variant:t,...n},r)=>w.jsx("div",{ref:r,className:pe(Ol({variant:t}),e),...n}));Jo.displayName="Badge";const Y=e=>typeof e=="string",rt=()=>{let e,t;const n=new Promise((r,o)=>{e=r,t=o});return n.resolve=e,n.reject=t,n},zr=e=>e==null?"":""+e,Tl=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},Rl=/###/g,Vr=e=>e&&e.indexOf("###")>-1?e.replace(Rl,"."):e,Wr=e=>!e||Y(e),ot=(e,t,n)=>{const r=Y(t)?t.split("."):t;let o=0;for(;o<r.length-1;){if(Wr(e))return{};const s=Vr(r[o]);!e[s]&&n&&(e[s]=new n),Object.prototype.hasOwnProperty.call(e,s)?e=e[s]:e={},++o}return Wr(e)?{}:{obj:e,k:Vr(r[o])}},Zr=(e,t,n)=>{const{obj:r,k:o}=ot(e,t,Object);if(r!==void 0||t.length===1){r[o]=n;return}let s=t[t.length-1],i=t.slice(0,t.length-1),a=ot(e,i,Object);for(;a.obj===void 0&&i.length;)s=`${i[i.length-1]}.${s}`,i=i.slice(0,i.length-1),a=ot(e,i,Object),a?.obj&&typeof a.obj[`${a.k}.${s}`]<"u"&&(a.obj=void 0);a.obj[`${a.k}.${s}`]=n},Ll=(e,t,n,r)=>{const{obj:o,k:s}=ot(e,t,Object);o[s]=o[s]||[],o[s].push(n)},Nt=(e,t)=>{const{obj:n,k:r}=ot(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},Pl=(e,t,n)=>{const r=Nt(e,n);return r!==void 0?r:Nt(t,n)},Qo=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?Y(e[r])||e[r]instanceof String||Y(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):Qo(e[r],t[r],n):e[r]=t[r]);return e},De=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Al={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const Ml=e=>Y(e)?e.replace(/[&<>"'\/]/g,t=>Al[t]):e;class Nl{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const jl=[" ",",","?","!",";"],_l=new Nl(20),$l=(e,t,n)=>{t=t||"",n=n||"";const r=jl.filter(i=>t.indexOf(i)<0&&n.indexOf(i)<0);if(r.length===0)return!0;const o=_l.getRegExp(`(${r.map(i=>i==="?"?"\\?":i).join("|")})`);let s=!o.test(e);if(!s){const i=e.indexOf(n);i>0&&!o.test(e.substring(0,i))&&(s=!0)}return s},Nn=(e,t,n=".")=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;const r=t.split(n);let o=e;for(let s=0;s<r.length;){if(!o||typeof o!="object")return;let i,a="";for(let l=s;l<r.length;++l)if(l!==s&&(a+=n),a+=r[l],i=o[a],i!==void 0){if(["string","number","boolean"].indexOf(typeof i)>-1&&l<r.length-1)continue;s+=l-s+1;break}o=i}return o},ct=e=>e?.replace("_","-"),Fl={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class jt{constructor(t,n={}){this.init(t,n)}init(t,n={}){this.prefix=n.prefix||"i18next:",this.logger=t||Fl,this.options=n,this.debug=n.debug}log(...t){return this.forward(t,"log","",!0)}warn(...t){return this.forward(t,"warn","",!0)}error(...t){return this.forward(t,"error","")}deprecate(...t){return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,r,o){return o&&!this.debug?null:(Y(t[0])&&(t[0]=`${r}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new jt(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new jt(this.logger,t)}}var xe=new jt;class Xt{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(r=>{this.observers[r]||(this.observers[r]=new Map);const o=this.observers[r].get(n)||0;this.observers[r].set(n,o+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t,...n){this.observers[t]&&Array.from(this.observers[t].entries()).forEach(([o,s])=>{for(let i=0;i<s;i++)o(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([o,s])=>{for(let i=0;i<s;i++)o.apply(o,[t,...n])})}}class Hr extends Xt{constructor(t,n={ns:["translation"],defaultNS:"translation"}){super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r,o={}){const s=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,i=o.ignoreJSONStructure!==void 0?o.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;t.indexOf(".")>-1?a=t.split("."):(a=[t,n],r&&(Array.isArray(r)?a.push(...r):Y(r)&&s?a.push(...r.split(s)):a.push(r)));const l=Nt(this.data,a);return!l&&!n&&!r&&t.indexOf(".")>-1&&(t=a[0],n=a[1],r=a.slice(2).join(".")),l||!i||!Y(r)?l:Nn(this.data?.[t]?.[n],r,s)}addResource(t,n,r,o,s={silent:!1}){const i=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator;let a=[t,n];r&&(a=a.concat(i?r.split(i):r)),t.indexOf(".")>-1&&(a=t.split("."),o=n,n=a[1]),this.addNamespaces(n),Zr(this.data,a,o),s.silent||this.emit("added",t,n,r,o)}addResources(t,n,r,o={silent:!1}){for(const s in r)(Y(r[s])||Array.isArray(r[s]))&&this.addResource(t,n,s,r[s],{silent:!0});o.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,o,s,i={silent:!1,skipCopy:!1}){let a=[t,n];t.indexOf(".")>-1&&(a=t.split("."),o=r,r=n,n=a[1]),this.addNamespaces(n);let l=Nt(this.data,a)||{};i.skipCopy||(r=JSON.parse(JSON.stringify(r))),o?Qo(l,r,s):l={...l,...r},Zr(this.data,a,l),i.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(o=>n[o]&&Object.keys(n[o]).length>0)}toJSON(){return this.data}}var es={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,o){return e.forEach(s=>{t=this.processors[s]?.process(t,n,r,o)??t}),t}};const ts=Symbol("i18next/PATH_KEY");function Il(){const e=[],t=Object.create(null);let n;return t.get=(r,o)=>(n?.revoke?.(),o===ts?e:(e.push(o),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}function jn(e,t){const{[ts]:n}=e(Il());return n.join(t?.keySeparator??".")}const Ur={},vn=e=>!Y(e)&&typeof e!="boolean"&&typeof e!="number";class _t extends Xt{constructor(t,n={}){super(),Tl(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=xe.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t,n={interpolation:{}}){const r={...n};if(t==null)return!1;const o=this.resolve(t,r);if(o?.res===void 0)return!1;const s=vn(o.res);return!(r.returnObjects===!1&&s)}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const o=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let s=n.ns||this.options.defaultNS||[];const i=r&&t.indexOf(r)>-1,a=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!$l(t,r,o);if(i&&!a){const l=t.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:t,namespaces:Y(s)?[s]:s};const u=t.split(r);(r!==o||r===o&&this.options.ns.indexOf(u[0])>-1)&&(s=u.shift()),t=u.join(o)}return{key:t,namespaces:Y(s)?[s]:s}}translate(t,n,r){let o=typeof n=="object"?{...n}:n;if(typeof o!="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),typeof o=="object"&&(o={...o}),o||(o={}),t==null)return"";typeof t=="function"&&(t=jn(t,{...this.options,...o})),Array.isArray(t)||(t=[String(t)]);const s=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,i=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,{key:a,namespaces:l}=this.extractFromKey(t[t.length-1],o),u=l[l.length-1];let f=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;f===void 0&&(f=":");const d=o.lng||this.language,h=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d?.toLowerCase()==="cimode")return h?s?{res:`${u}${f}${a}`,usedKey:a,exactUsedKey:a,usedLng:d,usedNS:u,usedParams:this.getUsedParamsDetails(o)}:`${u}${f}${a}`:s?{res:a,usedKey:a,exactUsedKey:a,usedLng:d,usedNS:u,usedParams:this.getUsedParamsDetails(o)}:a;const p=this.resolve(t,o);let v=p?.res;const m=p?.usedKey||a,b=p?.exactUsedKey||a,E=["[object Number]","[object Function]","[object RegExp]"],C=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,S=!this.i18nFormat||this.i18nFormat.handleAsObject,k=o.count!==void 0&&!Y(o.count),x=_t.hasDefaultValue(o),_=k?this.pluralResolver.getSuffix(d,o.count,o):"",M=o.ordinal&&k?this.pluralResolver.getSuffix(d,o.count,{ordinal:!1}):"",R=k&&!o.ordinal&&o.count===0,$=R&&o[`defaultValue${this.options.pluralSeparator}zero`]||o[`defaultValue${_}`]||o[`defaultValue${M}`]||o.defaultValue;let F=v;S&&!v&&x&&(F=$);const V=vn(F),W=Object.prototype.toString.apply(F);if(S&&F&&V&&E.indexOf(W)<0&&!(Y(C)&&Array.isArray(F))){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const U=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,F,{...o,ns:l}):`key '${a} (${this.language})' returned an object instead of string.`;return s?(p.res=U,p.usedParams=this.getUsedParamsDetails(o),p):U}if(i){const U=Array.isArray(F),Z=U?[]:{},ee=U?b:m;for(const D in F)if(Object.prototype.hasOwnProperty.call(F,D)){const H=`${ee}${i}${D}`;x&&!v?Z[D]=this.translate(H,{...o,defaultValue:vn($)?$[D]:void 0,joinArrays:!1,ns:l}):Z[D]=this.translate(H,{...o,joinArrays:!1,ns:l}),Z[D]===H&&(Z[D]=F[D])}v=Z}}else if(S&&Y(C)&&Array.isArray(v))v=v.join(C),v&&(v=this.extendTranslation(v,t,o,r));else{let U=!1,Z=!1;!this.isValidLookup(v)&&x&&(U=!0,v=$),this.isValidLookup(v)||(Z=!0,v=a);const D=(o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&Z?void 0:v,H=x&&$!==v&&this.options.updateMissing;if(Z||U||H){if(this.logger.log(H?"updateKey":"missingKey",d,u,a,H?$:v),i){const y=this.resolve(a,{...o,keySeparator:!1});y&&y.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let T=[];const te=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&te&&te[0])for(let y=0;y<te.length;y++)T.push(te[y]);else this.options.saveMissingTo==="all"?T=this.languageUtils.toResolveHierarchy(o.lng||this.language):T.push(o.lng||this.language);const O=(y,L,P)=>{const N=x&&P!==v?P:D;this.options.missingKeyHandler?this.options.missingKeyHandler(y,u,L,N,H,o):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(y,u,L,N,H,o),this.emit("missingKey",y,u,L,v)};this.options.saveMissing&&(this.options.saveMissingPlurals&&k?T.forEach(y=>{const L=this.pluralResolver.getSuffixes(y,o);R&&o[`defaultValue${this.options.pluralSeparator}zero`]&&L.indexOf(`${this.options.pluralSeparator}zero`)<0&&L.push(`${this.options.pluralSeparator}zero`),L.forEach(P=>{O([y],a+P,o[`defaultValue${P}`]||$)})}):O(T,a,$))}v=this.extendTranslation(v,t,o,p,r),Z&&v===a&&this.options.appendNamespaceToMissingKey&&(v=`${u}${f}${a}`),(Z||U)&&this.options.parseMissingKeyHandler&&(v=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}${f}${a}`:a,U?v:void 0,o))}return s?(p.res=v,p.usedParams=this.getUsedParamsDetails(o),p):v}extendTranslation(t,n,r,o,s){if(this.i18nFormat?.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const l=Y(t)&&(r?.interpolation?.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let u;if(l){const d=t.match(this.interpolator.nestingRegexp);u=d&&d.length}let f=r.replace&&!Y(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(f={...this.options.interpolation.defaultVariables,...f}),t=this.interpolator.interpolate(t,f,r.lng||this.language||o.usedLng,r),l){const d=t.match(this.interpolator.nestingRegexp),h=d&&d.length;u<h&&(r.nest=!1)}!r.lng&&o&&o.res&&(r.lng=this.language||o.usedLng),r.nest!==!1&&(t=this.interpolator.nest(t,(...d)=>s?.[0]===d[0]&&!r.context?(this.logger.warn(`It seems you are nesting recursively key: ${d[0]} in key: ${n[0]}`),null):this.translate(...d,n),r)),r.interpolation&&this.interpolator.reset()}const i=r.postProcess||this.options.postProcess,a=Y(i)?[i]:i;return t!=null&&a?.length&&r.applyPostProcessor!==!1&&(t=es.handle(a,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...o,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),t}resolve(t,n={}){let r,o,s,i,a;return Y(t)&&(t=[t]),t.forEach(l=>{if(this.isValidLookup(r))return;const u=this.extractFromKey(l,n),f=u.key;o=f;let d=u.namespaces;this.options.fallbackNS&&(d=d.concat(this.options.fallbackNS));const h=n.count!==void 0&&!Y(n.count),p=h&&!n.ordinal&&n.count===0,v=n.context!==void 0&&(Y(n.context)||typeof n.context=="number")&&n.context!=="",m=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);d.forEach(b=>{this.isValidLookup(r)||(a=b,!Ur[`${m[0]}-${b}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(a)&&(Ur[`${m[0]}-${b}`]=!0,this.logger.warn(`key "${o}" for languages "${m.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),m.forEach(E=>{if(this.isValidLookup(r))return;i=E;const C=[f];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(C,f,E,b,n);else{let k;h&&(k=this.pluralResolver.getSuffix(E,n.count,n));const x=`${this.options.pluralSeparator}zero`,_=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(h&&(n.ordinal&&k.indexOf(_)===0&&C.push(f+k.replace(_,this.options.pluralSeparator)),C.push(f+k),p&&C.push(f+x)),v){const M=`${f}${this.options.contextSeparator||"_"}${n.context}`;C.push(M),h&&(n.ordinal&&k.indexOf(_)===0&&C.push(M+k.replace(_,this.options.pluralSeparator)),C.push(M+k),p&&C.push(M+x))}}let S;for(;S=C.pop();)this.isValidLookup(r)||(s=S,r=this.getResource(E,b,S,n))}))})}),{res:r,usedKey:o,exactUsedKey:s,usedLng:i,usedNS:a}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r,o={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(t,n,r,o):this.resourceStore.getResource(t,n,r,o)}getUsedParamsDetails(t={}){const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&!Y(t.replace);let o=r?t.replace:t;if(r&&typeof t.count<"u"&&(o.count=t.count),this.options.interpolation.defaultVariables&&(o={...this.options.interpolation.defaultVariables,...o}),!r){o={...o};for(const s of n)delete o[s]}return o}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}class Kr{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=xe.create("languageUtils")}getScriptPartFromCode(t){if(t=ct(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=ct(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(Y(t)&&t.indexOf("-")>-1){let n;try{n=Intl.getCanonicalLocales(t)[0]}catch{}return n&&this.options.lowerCaseLng&&(n=n.toLowerCase()),n||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const o=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(o))&&(n=o)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const o=this.getScriptPartFromCode(r);if(this.isSupportedCode(o))return n=o;const s=this.getLanguagePartFromCode(r);if(this.isSupportedCode(s))return n=s;n=this.options.supportedLngs.find(i=>{if(i===s)return i;if(!(i.indexOf("-")<0&&s.indexOf("-")<0)&&(i.indexOf("-")>0&&s.indexOf("-")<0&&i.substring(0,i.indexOf("-"))===s||i.indexOf(s)===0&&s.length>1))return i})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),Y(t)&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes((n===!1?[]:n)||this.options.fallbackLng||[],t),o=[],s=i=>{i&&(this.isSupportedCode(i)?o.push(i):this.logger.warn(`rejecting language code not found in supportedLngs: ${i}`))};return Y(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(t))):Y(t)&&s(this.formatLanguageCode(t)),r.forEach(i=>{o.indexOf(i)<0&&s(this.formatLanguageCode(i))}),o}}const Yr={zero:0,one:1,two:2,few:3,many:4,other:5},Gr={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class Bl{constructor(t,n={}){this.languageUtils=t,this.options=n,this.logger=xe.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(t,n={}){const r=ct(t==="dev"?"en":t),o=n.ordinal?"ordinal":"cardinal",s=JSON.stringify({cleanedCode:r,type:o});if(s in this.pluralRulesCache)return this.pluralRulesCache[s];let i;try{i=new Intl.PluralRules(r,{type:o})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),Gr;if(!t.match(/-|_/))return Gr;const l=this.languageUtils.getLanguagePartFromCode(t);i=this.getRule(l,n)}return this.pluralRulesCache[s]=i,i}needsPlural(t,n={}){let r=this.getRule(t,n);return r||(r=this.getRule("dev",n)),r?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(t,n,r={}){return this.getSuffixes(t,r).map(o=>`${n}${o}`)}getSuffixes(t,n={}){let r=this.getRule(t,n);return r||(r=this.getRule("dev",n)),r?r.resolvedOptions().pluralCategories.sort((o,s)=>Yr[o]-Yr[s]).map(o=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${o}`):[]}getSuffix(t,n,r={}){const o=this.getRule(t,r);return o?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${o.select(n)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",n,r))}}const qr=(e,t,n,r=".",o=!0)=>{let s=Pl(e,t,n);return!s&&o&&Y(n)&&(s=Nn(e,n,r),s===void 0&&(s=Nn(t,n,r))),s},yn=e=>e.replace(/\$/g,"$$$$");class Xr{constructor(t={}){this.logger=xe.create("interpolator"),this.options=t,this.format=t?.interpolation?.format||(n=>n),this.init(t)}init(t={}){t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:o,prefix:s,prefixEscaped:i,suffix:a,suffixEscaped:l,formatSeparator:u,unescapeSuffix:f,unescapePrefix:d,nestingPrefix:h,nestingPrefixEscaped:p,nestingSuffix:v,nestingSuffixEscaped:m,nestingOptionsSeparator:b,maxReplaces:E,alwaysFormat:C}=t.interpolation;this.escape=n!==void 0?n:Ml,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=o!==void 0?o:!1,this.prefix=s?De(s):i||"{{",this.suffix=a?De(a):l||"}}",this.formatSeparator=u||",",this.unescapePrefix=f?"":d||"-",this.unescapeSuffix=this.unescapePrefix?"":f||"",this.nestingPrefix=h?De(h):p||De("$t("),this.nestingSuffix=v?De(v):m||De(")"),this.nestingOptionsSeparator=b||",",this.maxReplaces=E||1e3,this.alwaysFormat=C!==void 0?C:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>n?.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(t,n,r,o){let s,i,a;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=p=>{if(p.indexOf(this.formatSeparator)<0){const E=qr(n,l,p,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(E,void 0,r,{...o,...n,interpolationkey:p}):E}const v=p.split(this.formatSeparator),m=v.shift().trim(),b=v.join(this.formatSeparator).trim();return this.format(qr(n,l,m,this.options.keySeparator,this.options.ignoreJSONStructure),b,r,{...o,...n,interpolationkey:m})};this.resetRegExp();const f=o?.missingInterpolationHandler||this.options.missingInterpolationHandler,d=o?.interpolation?.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:p=>yn(p)},{regex:this.regexp,safeValue:p=>this.escapeValue?yn(this.escape(p)):yn(p)}].forEach(p=>{for(a=0;s=p.regex.exec(t);){const v=s[1].trim();if(i=u(v),i===void 0)if(typeof f=="function"){const b=f(t,s,o);i=Y(b)?b:""}else if(o&&Object.prototype.hasOwnProperty.call(o,v))i="";else if(d){i=s[0];continue}else this.logger.warn(`missed to pass in variable ${v} for interpolating ${t}`),i="";else!Y(i)&&!this.useRawValueToEscape&&(i=zr(i));const m=p.safeValue(i);if(t=t.replace(s[0],m),d?(p.regex.lastIndex+=i.length,p.regex.lastIndex-=s[0].length):p.regex.lastIndex=0,a++,a>=this.maxReplaces)break}}),t}nest(t,n,r={}){let o,s,i;const a=(l,u)=>{const f=this.nestingOptionsSeparator;if(l.indexOf(f)<0)return l;const d=l.split(new RegExp(`${f}[ ]*{`));let h=`{${d[1]}`;l=d[0],h=this.interpolate(h,i);const p=h.match(/'/g),v=h.match(/"/g);((p?.length??0)%2===0&&!v||v.length%2!==0)&&(h=h.replace(/'/g,'"'));try{i=JSON.parse(h),u&&(i={...u,...i})}catch(m){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,m),`${l}${f}${h}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,l};for(;o=this.nestingRegexp.exec(t);){let l=[];i={...r},i=i.replace&&!Y(i.replace)?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;const u=/{.*}/.test(o[1])?o[1].lastIndexOf("}")+1:o[1].indexOf(this.formatSeparator);if(u!==-1&&(l=o[1].slice(u).split(this.formatSeparator).map(f=>f.trim()).filter(Boolean),o[1]=o[1].slice(0,u)),s=n(a.call(this,o[1].trim(),i),i),s&&o[0]===t&&!Y(s))return s;Y(s)||(s=zr(s)),s||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${t}`),s=""),l.length&&(s=l.reduce((f,d)=>this.format(f,d,r.lng,{...r,interpolationkey:o[1].trim()}),s.trim())),t=t.replace(o[0],s),this.regexp.lastIndex=0}return t}}const Dl=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const o=r[1].substring(0,r[1].length-1);t==="currency"&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):t==="relativetime"&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach(i=>{if(i){const[a,...l]=i.split(":"),u=l.join(":").trim().replace(/^'+|'+$/g,""),f=a.trim();n[f]||(n[f]=u),u==="false"&&(n[f]=!1),u==="true"&&(n[f]=!0),isNaN(u)||(n[f]=parseInt(u,10))}})}return{formatName:t,formatOptions:n}},Jr=e=>{const t={};return(n,r,o)=>{let s=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(s={...s,[o.interpolationkey]:void 0});const i=r+JSON.stringify(s);let a=t[i];return a||(a=e(ct(r),o),t[i]=a),a(n)}},zl=e=>(t,n,r)=>e(ct(n),r)(t);class Vl{constructor(t={}){this.logger=xe.create("formatter"),this.options=t,this.init(t)}init(t,n={interpolation:{}}){this.formatSeparator=n.interpolation.formatSeparator||",";const r=n.cacheInBuiltFormats?Jr:zl;this.formats={number:r((o,s)=>{const i=new Intl.NumberFormat(o,{...s});return a=>i.format(a)}),currency:r((o,s)=>{const i=new Intl.NumberFormat(o,{...s,style:"currency"});return a=>i.format(a)}),datetime:r((o,s)=>{const i=new Intl.DateTimeFormat(o,{...s});return a=>i.format(a)}),relativetime:r((o,s)=>{const i=new Intl.RelativeTimeFormat(o,{...s});return a=>i.format(a,s.range||"day")}),list:r((o,s)=>{const i=new Intl.ListFormat(o,{...s});return a=>i.format(a)})}}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=Jr(n)}format(t,n,r,o={}){const s=n.split(this.formatSeparator);if(s.length>1&&s[0].indexOf("(")>1&&s[0].indexOf(")")<0&&s.find(a=>a.indexOf(")")>-1)){const a=s.findIndex(l=>l.indexOf(")")>-1);s[0]=[s[0],...s.splice(1,a)].join(this.formatSeparator)}return s.reduce((a,l)=>{const{formatName:u,formatOptions:f}=Dl(l);if(this.formats[u]){let d=a;try{const h=o?.formatParams?.[o.interpolationkey]||{},p=h.locale||h.lng||o.locale||o.lng||r;d=this.formats[u](a,p,{...f,...o,...h})}catch(h){this.logger.warn(h)}return d}else this.logger.warn(`there was no format function for ${u}`);return a},t)}}const Wl=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class Zl extends Xt{constructor(t,n,r,o={}){super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=o,this.logger=xe.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(r,o.backend,o)}queueLoad(t,n,r,o){const s={},i={},a={},l={};return t.forEach(u=>{let f=!0;n.forEach(d=>{const h=`${u}|${d}`;!r.reload&&this.store.hasResourceBundle(u,d)?this.state[h]=2:this.state[h]<0||(this.state[h]===1?i[h]===void 0&&(i[h]=!0):(this.state[h]=1,f=!1,i[h]===void 0&&(i[h]=!0),s[h]===void 0&&(s[h]=!0),l[d]===void 0&&(l[d]=!0)))}),f||(a[u]=!0)}),(Object.keys(s).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(s),pending:Object.keys(i),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(l)}}loaded(t,n,r){const o=t.split("|"),s=o[0],i=o[1];n&&this.emit("failedLoading",s,i,n),!n&&r&&this.store.addResourceBundle(s,i,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&r&&(this.state[t]=0);const a={};this.queue.forEach(l=>{Ll(l.loaded,[s],i),Wl(l,t),n&&l.errors.push(n),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(u=>{a[u]||(a[u]={});const f=l.loaded[u];f.length&&f.forEach(d=>{a[u][d]===void 0&&(a[u][d]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(l=>!l.done)}read(t,n,r,o=0,s=this.retryTimeout,i){if(!t.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:o,wait:s,callback:i});return}this.readingCalls++;const a=(u,f)=>{if(this.readingCalls--,this.waitingReads.length>0){const d=this.waitingReads.shift();this.read(d.lng,d.ns,d.fcName,d.tried,d.wait,d.callback)}if(u&&f&&o<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,r,o+1,s*2,i)},s);return}i(u,f)},l=this.backend[r].bind(this.backend);if(l.length===2){try{const u=l(t,n);u&&typeof u.then=="function"?u.then(f=>a(null,f)).catch(a):a(null,u)}catch(u){a(u)}return}return l(t,n,a)}prepareLoading(t,n,r={},o){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();Y(t)&&(t=this.languageUtils.toResolveHierarchy(t)),Y(n)&&(n=[n]);const s=this.queueLoad(t,n,r,o);if(!s.toLoad.length)return s.pending.length||o(),null;s.toLoad.forEach(i=>{this.loadOne(i)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t,n=""){const r=t.split("|"),o=r[0],s=r[1];this.read(o,s,"read",void 0,void 0,(i,a)=>{i&&this.logger.warn(`${n}loading namespace ${s} for language ${o} failed`,i),!i&&a&&this.logger.log(`${n}loaded namespace ${s} for language ${o}`,a),this.loaded(t,i,a)})}saveMissing(t,n,r,o,s,i={},a=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend?.create){const l={...i,isUpdate:s},u=this.backend.create.bind(this.backend);if(u.length<6)try{let f;u.length===5?f=u(t,n,r,o,l):f=u(t,n,r,o),f&&typeof f.then=="function"?f.then(d=>a(null,d)).catch(a):a(null,f)}catch(f){a(f)}else u(t,n,r,o,a,l)}!t||!t[0]||this.store.addResource(t[0],n,r,o)}}}const bn=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),Y(e[1])&&(t.defaultValue=e[1]),Y(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(r=>{t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),Qr=e=>(Y(e.ns)&&(e.ns=[e.ns]),Y(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Y(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),typeof e.initImmediate=="boolean"&&(e.initAsync=e.initImmediate),e),xt=()=>{},Hl=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class st extends Xt{constructor(t={},n){if(super(),this.options=Qr(t),this.services={},this.logger=xe,this.modules={external:[]},Hl(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(t={},n){this.isInitializing=!0,typeof t=="function"&&(n=t,t={}),t.defaultNS==null&&t.ns&&(Y(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const r=bn();this.options={...r,...this.options,...Qr(t)},this.options.interpolation={...r.interpolation,...this.options.interpolation},t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator),typeof this.options.overloadTranslationOptionHandler!="function"&&(this.options.overloadTranslationOptionHandler=r.overloadTranslationOptionHandler);const o=u=>u?typeof u=="function"?new u:u:null;if(!this.options.isClone){this.modules.logger?xe.init(o(this.modules.logger),this.options):xe.init(null,this.options);let u;this.modules.formatter?u=this.modules.formatter:u=Vl;const f=new Kr(this.options);this.store=new Hr(this.options.resources,this.options);const d=this.services;d.logger=xe,d.resourceStore=this.store,d.languageUtils=f,d.pluralResolver=new Bl(f,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),u&&(!this.options.interpolation.format||this.options.interpolation.format===r.interpolation.format)&&(d.formatter=o(u),d.formatter.init&&d.formatter.init(d,this.options),this.options.interpolation.format=d.formatter.format.bind(d.formatter)),d.interpolator=new Xr(this.options),d.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},d.backendConnector=new Zl(o(this.modules.backend),d.resourceStore,d,this.options),d.backendConnector.on("*",(p,...v)=>{this.emit(p,...v)}),this.modules.languageDetector&&(d.languageDetector=o(this.modules.languageDetector),d.languageDetector.init&&d.languageDetector.init(d,this.options.detection,this.options)),this.modules.i18nFormat&&(d.i18nFormat=o(this.modules.i18nFormat),d.i18nFormat.init&&d.i18nFormat.init(this)),this.translator=new _t(this.services,this.options),this.translator.on("*",(p,...v)=>{this.emit(p,...v)}),this.modules.external.forEach(p=>{p.init&&p.init(this)})}if(this.format=this.options.interpolation.format,n||(n=xt),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&u[0]!=="dev"&&(this.options.lng=u[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(u=>{this[u]=(...f)=>this.store[u](...f)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(u=>{this[u]=(...f)=>(this.store[u](...f),this)});const a=rt(),l=()=>{const u=(f,d)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),a.resolve(d),n(f,d)};if(this.languages&&!this.isInitialized)return u(null,this.t.bind(this));this.changeLanguage(this.options.lng,u)};return this.options.resources||!this.options.initAsync?l():setTimeout(l,0),a}loadResources(t,n=xt){let r=n;const o=Y(t)?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(o?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const s=[],i=a=>{if(!a||a==="cimode")return;this.services.languageUtils.toResolveHierarchy(a).forEach(u=>{u!=="cimode"&&s.indexOf(u)<0&&s.push(u)})};o?i(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(l=>i(l)),this.options.preload?.forEach?.(a=>i(a)),this.services.backendConnector.load(s,this.options.ns,a=>{!a&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(a)})}else r(null)}reloadResources(t,n,r){const o=rt();return typeof t=="function"&&(r=t,t=void 0),typeof n=="function"&&(r=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),r||(r=xt),this.services.backendConnector.reload(t,n,s=>{o.resolve(),r(s)}),o}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&es.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1)){for(let n=0;n<this.languages.length;n++){const r=this.languages[n];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}!this.resolvedLanguage&&this.languages.indexOf(t)<0&&this.store.hasLanguageSomeTranslations(t)&&(this.resolvedLanguage=t,this.languages.unshift(t))}}changeLanguage(t,n){this.isLanguageChangingTo=t;const r=rt();this.emit("languageChanging",t);const o=a=>{this.language=a,this.languages=this.services.languageUtils.toResolveHierarchy(a),this.resolvedLanguage=void 0,this.setResolvedLanguage(a)},s=(a,l)=>{l?this.isLanguageChangingTo===t&&(o(l),this.translator.changeLanguage(l),this.isLanguageChangingTo=void 0,this.emit("languageChanged",l),this.logger.log("languageChanged",l)):this.isLanguageChangingTo=void 0,r.resolve((...u)=>this.t(...u)),n&&n(a,(...u)=>this.t(...u))},i=a=>{!t&&!a&&this.services.languageDetector&&(a=[]);const l=Y(a)?a:a&&a[0],u=this.store.hasLanguageSomeTranslations(l)?l:this.services.languageUtils.getBestMatchFromCodes(Y(a)?[a]:a);u&&(this.language||o(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector?.cacheUserLanguage?.(u)),this.loadResources(u,f=>{s(f,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?i(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(i):this.services.languageDetector.detect(i):i(t),r}getFixedT(t,n,r){const o=(s,i,...a)=>{let l;typeof i!="object"?l=this.options.overloadTranslationOptionHandler([s,i].concat(a)):l={...i},l.lng=l.lng||o.lng,l.lngs=l.lngs||o.lngs,l.ns=l.ns||o.ns,l.keyPrefix!==""&&(l.keyPrefix=l.keyPrefix||r||o.keyPrefix);const u=this.options.keySeparator||".";let f;return l.keyPrefix&&Array.isArray(s)?f=s.map(d=>(typeof d=="function"&&(d=jn(d,{...this.options,...i})),`${l.keyPrefix}${u}${d}`)):(typeof s=="function"&&(s=jn(s,{...this.options,...i})),f=l.keyPrefix?`${l.keyPrefix}${u}${s}`:s),this.t(f,l)};return Y(t)?o.lng=t:o.lngs=t,o.ns=n,o.keyPrefix=r,o}t(...t){return this.translator?.translate(...t)}exists(...t){return this.translator?.exists(...t)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t,n={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],o=this.options?this.options.fallbackLng:!1,s=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const i=(a,l)=>{const u=this.services.backendConnector.state[`${a}|${l}`];return u===-1||u===0||u===2};if(n.precheck){const a=n.precheck(this,i);if(a!==void 0)return a}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||i(r,t)&&(!o||i(s,t)))}loadNamespaces(t,n){const r=rt();return this.options.ns?(Y(t)&&(t=[t]),t.forEach(o=>{this.options.ns.indexOf(o)<0&&this.options.ns.push(o)}),this.loadResources(o=>{r.resolve(),n&&n(o)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=rt();Y(t)&&(t=[t]);const o=this.options.preload||[],s=t.filter(i=>o.indexOf(i)<0&&this.services.languageUtils.isSupportedCode(i));return s.length?(this.options.preload=o.concat(s),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!t)return"rtl";try{const o=new Intl.Locale(t);if(o&&o.getTextInfo){const s=o.getTextInfo();if(s&&s.direction)return s.direction}}catch{}const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services?.languageUtils||new Kr(bn());return t.toLowerCase().indexOf("-latn")>1?"ltr":n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(t={},n){const r=new st(t,n);return r.createInstance=st.createInstance,r}cloneInstance(t={},n=xt){const r=t.forkResourceStore;r&&delete t.forkResourceStore;const o={...this.options,...t,isClone:!0},s=new st(o);if((t.debug!==void 0||t.prefix!==void 0)&&(s.logger=s.logger.clone(t)),["store","services","language"].forEach(a=>{s[a]=this[a]}),s.services={...this.services},s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},r){const a=Object.keys(this.store.data).reduce((l,u)=>(l[u]={...this.store.data[u]},l[u]=Object.keys(l[u]).reduce((f,d)=>(f[d]={...l[u][d]},f),l[u]),l),{});s.store=new Hr(a,o),s.services.resourceStore=s.store}if(t.interpolation){const l={...bn().interpolation,...this.options.interpolation,...t.interpolation},u={...o,interpolation:l};s.services.interpolator=new Xr(u)}return s.translator=new _t(s.services,o),s.translator.on("*",(a,...l)=>{s.emit(a,...l)}),s.init(o,n),s.translator.options=o,s.translator.backendConnector.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const se=st.createInstance();se.createInstance;se.dir;se.init;se.loadResources;se.reloadResources;se.use;se.changeLanguage;se.getFixedT;se.t;se.exists;se.setDefaultNamespace;se.hasLoadedNamespace;se.loadNamespaces;se.loadLanguages;const Ul=(e,t,n,r)=>{const o=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(o,"warn","react-i18next::",!0);_e(o[0])&&(o[0]=`react-i18next:: ${o[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...o):console?.warn&&console.warn(...o)},eo={},ns=(e,t,n,r)=>{_e(n)&&eo[n]||(_e(n)&&(eo[n]=new Date),Ul(e,t,n,r))},rs=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},_n=(e,t,n)=>{e.loadNamespaces(t,rs(e,n))},to=(e,t,n,r)=>{if(_e(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return _n(e,n,r);n.forEach(o=>{e.options.ns.indexOf(o)<0&&e.options.ns.push(o)}),e.loadLanguages(t,rs(e,r))},Kl=(e,t,n={})=>!t.languages||!t.languages.length?(ns(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(r,o)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!o(r.isLanguageChangingTo,e))return!1}}),_e=e=>typeof e=="string",Yl=e=>typeof e=="object"&&e!==null,Gl=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,ql={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},Xl=e=>ql[e],Jl=e=>e.replace(Gl,Xl);let $n={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:Jl,transDefaultProps:void 0};const Ql=(e={})=>{$n={...$n,...e}},eu=()=>$n;let os;const tu=e=>{os=e},nu=()=>os,ru={type:"3rdParty",init(e){Ql(e.options.react),tu(e)}},ss=c.createContext();class ou{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}var wt={exports:{}},xn={};var no;function su(){if(no)return xn;no=1;var e=c;function t(d,h){return d===h&&(d!==0||1/d===1/h)||d!==d&&h!==h}var n=typeof Object.is=="function"?Object.is:t,r=e.useState,o=e.useEffect,s=e.useLayoutEffect,i=e.useDebugValue;function a(d,h){var p=h(),v=r({inst:{value:p,getSnapshot:h}}),m=v[0].inst,b=v[1];return s(function(){m.value=p,m.getSnapshot=h,l(m)&&b({inst:m})},[d,p,h]),o(function(){return l(m)&&b({inst:m}),d(function(){l(m)&&b({inst:m})})},[d]),i(p),p}function l(d){var h=d.getSnapshot;d=d.value;try{var p=h();return!n(d,p)}catch{return!0}}function u(d,h){return h()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:a;return xn.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:f,xn}var wn={};var ro;function iu(){return ro||(ro=1,process.env.NODE_ENV!=="production"&&(function(){function e(p,v){return p===v&&(p!==0||1/p===1/v)||p!==p&&v!==v}function t(p,v){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 m=v();if(!d){var b=v();s(m,b)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),d=!0)}b=i({inst:{value:m,getSnapshot:v}});var E=b[0].inst,C=b[1];return l(function(){E.value=m,E.getSnapshot=v,n(E)&&C({inst:E})},[p,m,v]),a(function(){return n(E)&&C({inst:E}),p(function(){n(E)&&C({inst:E})})},[p]),u(m),m}function n(p){var v=p.getSnapshot;p=p.value;try{var m=v();return!s(p,m)}catch{return!0}}function r(p,v){return v()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var o=c,s=typeof Object.is=="function"?Object.is:e,i=o.useState,a=o.useEffect,l=o.useLayoutEffect,u=o.useDebugValue,f=!1,d=!1,h=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?r:t;wn.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())})()),wn}var oo;function au(){return oo||(oo=1,process.env.NODE_ENV==="production"?wt.exports=su():wt.exports=iu()),wt.exports}var cu=au();const lu=(e,t)=>_e(t)?t:Yl(t)&&_e(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,uu={t:lu,ready:!1},du=()=>()=>{},fu=(e,t={})=>{const{i18n:n}=t,{i18n:r,defaultNS:o}=c.useContext(ss)||{},s=n||r||nu();s&&!s.reportNamespaces&&(s.reportNamespaces=new ou),s||ns(s,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const i=c.useMemo(()=>({...eu(),...s?.options?.react,...t}),[s,t]),{useSuspense:a,keyPrefix:l}=i,u=e||o||s?.options?.defaultNS,f=_e(u)?[u]:u||["translation"],d=c.useMemo(()=>f,f);s?.reportNamespaces?.addUsedNamespaces?.(d);const h=c.useRef(0),p=c.useCallback($=>{if(!s)return du;const{bindI18n:F,bindI18nStore:V}=i,W=()=>{h.current+=1,$()};return F&&s.on(F,W),V&&s.store.on(V,W),()=>{F&&F.split(" ").forEach(U=>s.off(U,W)),V&&V.split(" ").forEach(U=>s.store.off(U,W))}},[s,i]),v=c.useRef(),m=c.useCallback(()=>{if(!s)return uu;const $=!!(s.isInitialized||s.initializedStoreOnce)&&d.every(ee=>Kl(ee,s,i)),F=t.lng||s.language,V=h.current,W=v.current;if(W&&W.ready===$&&W.lng===F&&W.keyPrefix===l&&W.revision===V)return W;const Z={t:s.getFixedT(F,i.nsMode==="fallback"?d:d[0],l),ready:$,lng:F,keyPrefix:l,revision:V};return v.current=Z,Z},[s,d,l,i,t.lng]),[b,E]=c.useState(0),{t:C,ready:S}=cu.useSyncExternalStore(p,m,m);c.useEffect(()=>{if(s&&!S&&!a){const $=()=>E(F=>F+1);t.lng?to(s,t.lng,d,$):_n(s,d,$)}},[s,t.lng,d,S,a,b]);const k=s||{},x=c.useRef(null),_=c.useRef(),M=$=>{const F=Object.getOwnPropertyDescriptors($);F.__original&&delete F.__original;const V=Object.create(Object.getPrototypeOf($),F);if(!Object.prototype.hasOwnProperty.call(V,"__original"))try{Object.defineProperty(V,"__original",{value:$,writable:!1,enumerable:!1,configurable:!1})}catch{}return V},R=c.useMemo(()=>{const $=k,F=$?.language;let V=$;$&&(x.current&&x.current.__original===$?_.current!==F?(V=M($),x.current=V,_.current=F):V=x.current:(V=M($),x.current=V,_.current=F));const W=[C,V,S];return W.t=C,W.i18n=V,W.ready=S,W},[C,k,S,k.resolvedLanguage,k.language,k.languages]);if(s&&a&&!S)throw new Promise($=>{const F=()=>$();t.lng?to(s,t.lng,d,F):_n(s,d,F)});return R};function pu({i18n:e,defaultNS:t,children:n}){const r=c.useMemo(()=>({i18n:e,defaultNS:t}),[e,t]);return c.createElement(ss.Provider,{value:r},n)}const hu="ies2 aulapp ui kit",mu="Componentes compartilháveis prontos para produção",gu="Esta sandbox reflete o estado atual do design system. Avalie cada componente antes de publicar um novo release no npm.",vu={subtitle:hu,title:mu,description:gu},yu="ies2 aulapp ui kit",bu="Production-ready shareable components",xu="This sandbox reflects the current state of the design system. Evaluate each component before publishing a new npm release.",wu={subtitle:yu,title:bu,description:xu},Eu="ies2 aulapp ui kit",Su="Componentes compartibles listos para producción",ku="Este sandbox refleja el estado actual del design system. Evalúe cada componente antes de publicar una nueva versión en npm.",Cu={subtitle:Eu,title:Su,description:ku},Ou="Componentes",Tu="Botões",Ru={primary:"Primário",secondary:"Secundário",neutral:"Neutro",ctaWithRadius:"CTA com raio 8px",outline:"Outline suave",outlineWithRadius:"Outline suave com raio 8px",ghost:"Ghost",createAriaLabel:"Criar"},Lu={sectionLabel:Ou,sectionTitle:Tu,buttons:Ru,switch:{airplaneMode:"Modo Avião"}},Pu="Components",Au="Buttons",Mu={primary:"Primary",secondary:"Secondary",neutral:"Neutral",ctaWithRadius:"CTA with 8px radius",outline:"Soft outline",outlineWithRadius:"Soft outline with 8px radius",ghost:"Ghost",createAriaLabel:"Create"},Nu={sectionLabel:Pu,sectionTitle:Au,buttons:Mu,switch:{airplaneMode:"Airplane Mode"}},ju="Componentes",_u="Botones",$u={primary:"Primario",secondary:"Secundario",neutral:"Neutral",ctaWithRadius:"CTA con radio 8px",outline:"Contorno suave",outlineWithRadius:"Contorno suave con radio 8px",ghost:"Ghost",createAriaLabel:"Crear"},Fu={sectionLabel:ju,sectionTitle:_u,buttons:$u,switch:{airplaneMode:"Modo Avión"}},Iu="Ação",Bu="Call to Action",Du="Use o kit para acelerar o desenvolvimento de experiências consistentes em múltiplos apps React.",zu={explore:"Explorar componentes",documentation:"Documentação",undo:"Desfazer alteração"},Vu={sectionLabel:Iu,sectionTitle:Bu,description:Du,buttons:zu},Wu="Action",Zu="Call to Action",Hu="Use the kit to accelerate the development of consistent experiences across multiple React apps.",Uu={explore:"Explore components",documentation:"Documentation",undo:"Undo change"},Ku={sectionLabel:Wu,sectionTitle:Zu,description:Hu,buttons:Uu},Yu="Acción",Gu="Call to Action",qu="Use el kit para acelerar el desarrollo de experiencias consistentes en múltiples apps React.",Xu={explore:"Explorar componentes",documentation:"Documentación",undo:"Deshacer cambio"},Ju={sectionLabel:Yu,sectionTitle:Gu,description:qu,buttons:Xu},Qu="Tags",ed="Badges",td="Indicadores rápidos de conteúdo e recursos disponíveis.",nd={solid:"Solid",subtle:"Subtle",outline:"Outline",text:"Text"},rd={sectionLabel:Qu,sectionTitle:ed,description:td,appearances:nd},od="Tags",sd="Badges",id="Quick indicators of content and available resources.",ad={solid:"Solid",subtle:"Subtle",outline:"Outline",text:"Text"},cd={sectionLabel:od,sectionTitle:sd,description:id,appearances:ad},ld="Etiquetas",ud="Badges",dd="Indicadores rápidos de contenido y recursos disponibles.",fd={solid:"Solid",subtle:"Subtle",outline:"Outline",text:"Text"},pd={sectionLabel:ld,sectionTitle:ud,description:dd,appearances:fd},hd={conteudo:"Conteúdo",avaliacao:"Avaliação",lista:"Lista de Exercícios",gamificada:"Gamificada",simulado:"Simulado",material:"Material de Apoio",concluido:"Concluído"},md={resourceTypes:hd},gd={conteudo:"Content",avaliacao:"Assessment",lista:"Exercise List",gamificada:"Gamified",simulado:"Mock Exam",material:"Support Material",concluido:"Completed"},vd={resourceTypes:gd},yd={conteudo:"Contenido",avaliacao:"Evaluación",lista:"Lista de Ejercicios",gamificada:"Gamificada",simulado:"Simulacro",material:"Material de Apoyo",concluido:"Completado"},bd={resourceTypes:yd},xd="Carregando...",wd="Erro",Ed="Sucesso",Sd={loading:xd,error:wd,success:Ed},kd="Loading...",Cd="Error",Od="Success",Td={loading:kd,error:Cd,success:Od},Rd="Cargando...",Ld="Error",Pd="Éxito",Ad={loading:Rd,error:Ld,success:Pd},Md={"pt-BR":{heroBanner:vu,componentsPanel:Lu,callToActionPanel:Vu,badgesPanel:rd,resourceBadge:md,common:Sd},"en-US":{heroBanner:wu,componentsPanel:Nu,callToActionPanel:Ku,badgesPanel:cd,resourceBadge:vd,common:Td},es:{heroBanner:Cu,componentsPanel:Fu,callToActionPanel:Ju,badgesPanel:pd,resourceBadge:bd,common:Ad}};se.use(ru).init({resources:Md,lng:"pt-BR",fallbackLng:"pt-BR",defaultNS:"common",interpolation:{escapeValue:!1},react:{useSuspense:!1}});const Nd=["pt-BR","en-US","es"],jd="pt-BR",is={"pt-BR":"Português (Brasil)","en-US":"English (US)",es:"Español"};function Ie(e,t){const{i18n:n}=fu(e),r=c.useMemo(()=>{const i=t||n.language||"pt-BR";return se.getFixedT(i,e)},[t,e,n.language]),o=async i=>{await n.changeLanguage(i)},s=t||n.language;return{t:r,changeLanguage:o,currentLanguage:s,i18n:n}}function _d(){const{changeLanguage:e,currentLanguage:t}=Ie(),n=async r=>{await e(r)};return w.jsx("div",{className:"flex flex-wrap gap-2",children:Object.entries(is).map(([r,o])=>w.jsx(ce,{variant:t===r?"primary":"outline",size:"sm",onClick:()=>n(r),children:o},r))})}function $d({children:e,locale:t}){return c.useEffect(()=>{t&&se.language!==t&&se.changeLanguage(t)},[t]),w.jsx(pu,{i18n:se,children:e})}const so={solid:"Colorido sólido",white:"Cartão branco",ghost:"Ghost colorido","icon-only":"Apenas ícone"},as={conteudo:{Icon:Ht},avaliacao:{Icon:Gt},lista:{Icon:qt},gamificada:{Icon:Zt},simulado:{Icon:Ut},material:{Icon:Kt},concluido:{Icon:Yt,onlyAppearances:["ghost"]}},Fd=Object.keys(as),cs=e=>as[e],Id={conteudo:{coloredBg:"#F9E8DC",coloredIcon:"#F27900"},avaliacao:{coloredBg:"#E8FBF0",coloredIcon:"#00B1AA"},lista:{coloredBg:"#ECF1A6",coloredIcon:"#9DA634"},gamificada:{coloredBg:"#E3DAF8",coloredIcon:"#B573DB"},simulado:{coloredBg:"#D7E2FF",coloredIcon:"#34A5E5"},material:{coloredBg:"#FBD7E4",coloredIcon:"#F3005A"},concluido:{coloredBg:"#46B35E",coloredIcon:"#46B35E",textColor:"#46B35E",fontWeight:700,iconVariant:"Bold",iconSize:22.5,iconWrapperBg:null,iconWrapperClassName:"flex items-center justify-center"}},Bd={solid:{className:"inline-flex w-[140px] items-center gap-2 rounded-lg px-2 py-1 text-[12px] leading-normal text-[#343a40] tracking-[-0.019em] whitespace-nowrap",iconSize:18,getIconColor:e=>e.coloredIcon,getStyle:e=>({backgroundColor:e.coloredBg,fontWeight:500})},white:{className:"inline-flex items-center gap-[6px] rounded-md bg-white px-[3px] py-[3px] text-[12px] leading-normal text-[#343a40] tracking-[-0.019em] whitespace-nowrap",iconSize:13.85,getIconColor:e=>e.coloredIcon,style:{fontWeight:500}},ghost:{className:"inline-flex items-center gap-2 rounded-md px-2 py-1 text-[12px] leading-normal text-muted-foreground tracking-[-0.019em] whitespace-nowrap",iconSize:18,getIconColor:e=>e.coloredIcon,style:{fontWeight:500},badgeVariant:"outline",iconWrapper:{className:"flex h-7 w-7 items-center justify-center rounded-lg",getClassName:e=>e.iconWrapperClassName,getStyle:e=>({backgroundColor:e.iconWrapperBg===null?void 0:e.iconWrapperBg??e.coloredBg})}},"icon-only":{className:"inline-flex h-9 w-9 items-center justify-center rounded-lg p-0",iconSize:20,getIconColor:e=>e.coloredIcon,getStyle:e=>({backgroundColor:e.coloredBg})}};function ls({variant:e,appearance:t="solid",className:n,style:r,locale:o,...s}){const{t:i}=Ie("resourceBadge",o),a=cs(e),l=Id[e],u=a.onlyAppearances,f=u&&!u.includes(t)?u[0]:t,d=Bd[f],h=i(`resourceTypes.${e}`),p=w.jsx(a.Icon,{size:l.iconSize??d.iconSize,variant:l.iconVariant??"Outline",color:d.getIconColor(l),"aria-hidden":!0}),v=d.iconWrapper?w.jsx("span",{className:d.iconWrapper.getClassName?.(l)??d.iconWrapper.className,style:d.iconWrapper.getStyle?.(l),children:p}):p,m={...d.style??{},...d.getStyle?.(l)??{},...l.textColor?{color:l.textColor}:{},...l.fontWeight?{fontWeight:l.fontWeight}:{},...r};return w.jsxs(Jo,{variant:d.badgeVariant,className:pe(d.className,n),style:m,...s,children:[v,f!=="icon-only"&&w.jsx("span",{children:h})]})}const us=Fd.map(e=>({variant:e,onlyAppearances:cs(e).onlyAppearances})),ds=Object.keys(so).map(e=>({appearance:e,label:so[e]})),Un=g.forwardRef(({className:e,type:t,...n},r)=>w.jsx("input",{type:t,className:pe("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...n}));Un.displayName="Input";function ae(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e?.(o),n===!1||!o.defaultPrevented)return t?.(o)}}function Xe(e,t=[]){let n=[];function r(s,i){const a=g.createContext(i),l=n.length;n=[...n,i];const u=d=>{const{scope:h,children:p,...v}=d,m=h?.[e]?.[l]||a,b=g.useMemo(()=>v,Object.values(v));return w.jsx(m.Provider,{value:b,children:p})};u.displayName=s+"Provider";function f(d,h){const p=h?.[e]?.[l]||a,v=g.useContext(p);if(v)return v;if(i!==void 0)return i;throw new Error(`\`${d}\` must be used within \`${s}\``)}return[u,f]}const o=()=>{const s=n.map(i=>g.createContext(i));return function(a){const l=a?.[e]||s;return g.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,Dd(o,...t)]}function Dd(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(s)[`__scope${u}`];return{...a,...d}},{});return g.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function $t(e){const t=zd(e),n=g.forwardRef((r,o)=>{const{children:s,...i}=r,a=g.Children.toArray(s),l=a.find(Wd);if(l){const u=l.props.children,f=a.map(d=>d===l?g.Children.count(u)>1?g.Children.only(null):g.isValidElement(u)?u.props.children:null:d);return w.jsx(t,{...i,ref:o,children:g.isValidElement(u)?g.cloneElement(u,void 0,f):null})}return w.jsx(t,{...i,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}function zd(e){const t=g.forwardRef((n,r)=>{const{children:o,...s}=n;if(g.isValidElement(o)){const i=Hd(o),a=Zd(s,o.props);return o.type!==g.Fragment&&(a.ref=r?Wn(r,i):i),g.cloneElement(o,a)}return g.Children.count(o)>1?g.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Vd=Symbol("radix.slottable");function Wd(e){return g.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Vd}function Zd(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...a)=>{const l=s(...a);return o(...a),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function Hd(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Ud=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],le=Ud.reduce((e,t)=>{const n=$t(`Primitive.${t}`),r=g.forwardRef((o,s)=>{const{asChild:i,...a}=o,l=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),w.jsx(l,{...a,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Kd(e,t){e&&Mo.flushSync(()=>e.dispatchEvent(t))}function $e(e){const t=g.useRef(e);return g.useEffect(()=>{t.current=e}),g.useMemo(()=>(...n)=>t.current?.(...n),[])}function Yd(e,t=globalThis?.document){const n=$e(e);g.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var Gd="DismissableLayer",Fn="dismissableLayer.update",qd="dismissableLayer.pointerDownOutside",Xd="dismissableLayer.focusOutside",io,fs=g.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ps=g.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:a,...l}=e,u=g.useContext(fs),[f,d]=g.useState(null),h=f?.ownerDocument??globalThis?.document,[,p]=g.useState({}),v=me(t,M=>d(M)),m=Array.from(u.layers),[b]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),E=m.indexOf(b),C=f?m.indexOf(f):-1,S=u.layersWithOutsidePointerEventsDisabled.size>0,k=C>=E,x=ef(M=>{const R=M.target,$=[...u.branches].some(F=>F.contains(R));!k||$||(o?.(M),i?.(M),M.defaultPrevented||a?.())},h),_=tf(M=>{const R=M.target;[...u.branches].some(F=>F.contains(R))||(s?.(M),i?.(M),M.defaultPrevented||a?.())},h);return Yd(M=>{C===u.layers.size-1&&(r?.(M),!M.defaultPrevented&&a&&(M.preventDefault(),a()))},h),g.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(io=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),ao(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=io)}},[f,h,n,u]),g.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),ao())},[f,u]),g.useEffect(()=>{const M=()=>p({});return document.addEventListener(Fn,M),()=>document.removeEventListener(Fn,M)},[]),w.jsx(le.div,{...l,ref:v,style:{pointerEvents:S?k?"auto":"none":void 0,...e.style},onFocusCapture:ae(e.onFocusCapture,_.onFocusCapture),onBlurCapture:ae(e.onBlurCapture,_.onBlurCapture),onPointerDownCapture:ae(e.onPointerDownCapture,x.onPointerDownCapture)})});ps.displayName=Gd;var Jd="DismissableLayerBranch",Qd=g.forwardRef((e,t)=>{const n=g.useContext(fs),r=g.useRef(null),o=me(t,r);return g.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),w.jsx(le.div,{...e,ref:o})});Qd.displayName=Jd;function ef(e,t=globalThis?.document){const n=$e(e),r=g.useRef(!1),o=g.useRef(()=>{});return g.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let l=function(){hs(qd,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function tf(e,t=globalThis?.document){const n=$e(e),r=g.useRef(!1);return g.useEffect(()=>{const o=s=>{s.target&&!r.current&&hs(Xd,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function ao(){const e=new CustomEvent(Fn);document.dispatchEvent(e)}function hs(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Kd(o,s):o.dispatchEvent(s)}var En=0;function nf(){g.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??co()),document.body.insertAdjacentElement("beforeend",e[1]??co()),En++,()=>{En===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),En--}},[])}function co(){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 Sn="focusScope.autoFocusOnMount",kn="focusScope.autoFocusOnUnmount",lo={bubbles:!1,cancelable:!0},rf="FocusScope",ms=g.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...i}=e,[a,l]=g.useState(null),u=$e(o),f=$e(s),d=g.useRef(null),h=me(t,m=>l(m)),p=g.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;g.useEffect(()=>{if(r){let m=function(S){if(p.paused||!a)return;const k=S.target;a.contains(k)?d.current=k:Le(d.current,{select:!0})},b=function(S){if(p.paused||!a)return;const k=S.relatedTarget;k!==null&&(a.contains(k)||Le(d.current,{select:!0}))},E=function(S){if(document.activeElement===document.body)for(const x of S)x.removedNodes.length>0&&Le(a)};document.addEventListener("focusin",m),document.addEventListener("focusout",b);const C=new MutationObserver(E);return a&&C.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",b),C.disconnect()}}},[r,a,p.paused]),g.useEffect(()=>{if(a){fo.add(p);const m=document.activeElement;if(!a.contains(m)){const E=new CustomEvent(Sn,lo);a.addEventListener(Sn,u),a.dispatchEvent(E),E.defaultPrevented||(of(uf(gs(a)),{select:!0}),document.activeElement===m&&Le(a))}return()=>{a.removeEventListener(Sn,u),setTimeout(()=>{const E=new CustomEvent(kn,lo);a.addEventListener(kn,f),a.dispatchEvent(E),E.defaultPrevented||Le(m??document.body,{select:!0}),a.removeEventListener(kn,f),fo.remove(p)},0)}}},[a,u,f,p]);const v=g.useCallback(m=>{if(!n&&!r||p.paused)return;const b=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,E=document.activeElement;if(b&&E){const C=m.currentTarget,[S,k]=sf(C);S&&k?!m.shiftKey&&E===k?(m.preventDefault(),n&&Le(S,{select:!0})):m.shiftKey&&E===S&&(m.preventDefault(),n&&Le(k,{select:!0})):E===C&&m.preventDefault()}},[n,r,p.paused]);return w.jsx(le.div,{tabIndex:-1,...i,ref:h,onKeyDown:v})});ms.displayName=rf;function of(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Le(r,{select:t}),document.activeElement!==n)return}function sf(e){const t=gs(e),n=uo(t,e),r=uo(t.reverse(),e);return[n,r]}function gs(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function uo(e,t){for(const n of e)if(!af(n,{upTo:t}))return n}function af(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 cf(e){return e instanceof HTMLInputElement&&"select"in e}function Le(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&cf(e)&&t&&e.select()}}var fo=lf();function lf(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=po(e,t),e.unshift(t)},remove(t){e=po(e,t),e[0]?.resume()}}}function po(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function uf(e){return e.filter(t=>t.tagName!=="A")}var Pe=globalThis?.document?g.useLayoutEffect:()=>{},df=g[" useId ".trim().toString()]||(()=>{}),ff=0;function Kn(e){const[t,n]=g.useState(df());return Pe(()=>{n(r=>r??String(ff++))},[e]),e||(t?`radix-${t}`:"")}const pf=["top","right","bottom","left"],Ae=Math.min,fe=Math.max,Ft=Math.round,Et=Math.floor,Ee=e=>({x:e,y:e}),hf={left:"right",right:"left",bottom:"top",top:"bottom"},mf={start:"end",end:"start"};function In(e,t,n){return fe(e,Ae(t,n))}function Oe(e,t){return typeof e=="function"?e(t):e}function Te(e){return e.split("-")[0]}function Je(e){return e.split("-")[1]}function Yn(e){return e==="x"?"y":"x"}function Gn(e){return e==="y"?"height":"width"}const gf=new Set(["top","bottom"]);function we(e){return gf.has(Te(e))?"y":"x"}function qn(e){return Yn(we(e))}function vf(e,t,n){n===void 0&&(n=!1);const r=Je(e),o=qn(e),s=Gn(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=It(i)),[i,It(i)]}function yf(e){const t=It(e);return[Bn(e),t,Bn(t)]}function Bn(e){return e.replace(/start|end/g,t=>mf[t])}const ho=["left","right"],mo=["right","left"],bf=["top","bottom"],xf=["bottom","top"];function wf(e,t,n){switch(e){case"top":case"bottom":return n?t?mo:ho:t?ho:mo;case"left":case"right":return t?bf:xf;default:return[]}}function Ef(e,t,n,r){const o=Je(e);let s=wf(Te(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(Bn)))),s}function It(e){return e.replace(/left|right|bottom|top/g,t=>hf[t])}function Sf(e){return{top:0,right:0,bottom:0,left:0,...e}}function vs(e){return typeof e!="number"?Sf(e):{top:e,right:e,bottom:e,left:e}}function Bt(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function go(e,t,n){let{reference:r,floating:o}=e;const s=we(t),i=qn(t),a=Gn(i),l=Te(t),u=s==="y",f=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,h=r[a]/2-o[a]/2;let p;switch(l){case"top":p={x:f,y:r.y-o.height};break;case"bottom":p={x:f,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-o.width,y:d};break;default:p={x:r.x,y:r.y}}switch(Je(t)){case"start":p[i]-=h*(n&&u?-1:1);break;case"end":p[i]+=h*(n&&u?-1:1);break}return p}const kf=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,a=s.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:d}=go(u,r,l),h=r,p={},v=0;for(let m=0;m<a.length;m++){const{name:b,fn:E}=a[m],{x:C,y:S,data:k,reset:x}=await E({x:f,y:d,initialPlacement:r,placement:h,strategy:o,middlewareData:p,rects:u,platform:i,elements:{reference:e,floating:t}});f=C??f,d=S??d,p={...p,[b]:{...p[b],...k}},x&&v<=50&&(v++,typeof x=="object"&&(x.placement&&(h=x.placement),x.rects&&(u=x.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):x.rects),{x:f,y:d}=go(u,h,l)),m=-1)}return{x:f,y:d,placement:h,strategy:o,middlewareData:p}};async function lt(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:h=!1,padding:p=0}=Oe(t,e),v=vs(p),b=a[h?d==="floating"?"reference":"floating":d],E=Bt(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(b)))==null||n?b:b.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:f,strategy:l})),C=d==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),k=await(s.isElement==null?void 0:s.isElement(S))?await(s.getScale==null?void 0:s.getScale(S))||{x:1,y:1}:{x:1,y:1},x=Bt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:C,offsetParent:S,strategy:l}):C);return{top:(E.top-x.top+v.top)/k.y,bottom:(x.bottom-E.bottom+v.bottom)/k.y,left:(E.left-x.left+v.left)/k.x,right:(x.right-E.right+v.right)/k.x}}const Cf=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:a,middlewareData:l}=t,{element:u,padding:f=0}=Oe(e,t)||{};if(u==null)return{};const d=vs(f),h={x:n,y:r},p=qn(o),v=Gn(p),m=await i.getDimensions(u),b=p==="y",E=b?"top":"left",C=b?"bottom":"right",S=b?"clientHeight":"clientWidth",k=s.reference[v]+s.reference[p]-h[p]-s.floating[v],x=h[p]-s.reference[p],_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let M=_?_[S]:0;(!M||!await(i.isElement==null?void 0:i.isElement(_)))&&(M=a.floating[S]||s.floating[v]);const R=k/2-x/2,$=M/2-m[v]/2-1,F=Ae(d[E],$),V=Ae(d[C],$),W=F,U=M-m[v]-V,Z=M/2-m[v]/2+R,ee=In(W,Z,U),D=!l.arrow&&Je(o)!=null&&Z!==ee&&s.reference[v]/2-(Z<W?F:V)-m[v]/2<0,H=D?Z<W?Z-W:Z-U:0;return{[p]:h[p]+H,data:{[p]:ee,centerOffset:Z-ee-H,...D&&{alignmentOffset:H}},reset:D}}}),Of=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:f=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:m=!0,...b}=Oe(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const E=Te(o),C=we(a),S=Te(a)===a,k=await(l.isRTL==null?void 0:l.isRTL(u.floating)),x=h||(S||!m?[It(a)]:yf(a)),_=v!=="none";!h&&_&&x.push(...Ef(a,m,v,k));const M=[a,...x],R=await lt(t,b),$=[];let F=((r=s.flip)==null?void 0:r.overflows)||[];if(f&&$.push(R[E]),d){const Z=vf(o,i,k);$.push(R[Z[0]],R[Z[1]])}if(F=[...F,{placement:o,overflows:$}],!$.every(Z=>Z<=0)){var V,W;const Z=(((V=s.flip)==null?void 0:V.index)||0)+1,ee=M[Z];if(ee&&(!(d==="alignment"?C!==we(ee):!1)||F.every(T=>we(T.placement)===C?T.overflows[0]>0:!0)))return{data:{index:Z,overflows:F},reset:{placement:ee}};let D=(W=F.filter(H=>H.overflows[0]<=0).sort((H,T)=>H.overflows[1]-T.overflows[1])[0])==null?void 0:W.placement;if(!D)switch(p){case"bestFit":{var U;const H=(U=F.filter(T=>{if(_){const te=we(T.placement);return te===C||te==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(te=>te>0).reduce((te,O)=>te+O,0)]).sort((T,te)=>T[1]-te[1])[0])==null?void 0:U[0];H&&(D=H);break}case"initialPlacement":D=a;break}if(o!==D)return{reset:{placement:D}}}return{}}}};function vo(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function yo(e){return pf.some(t=>e[t]>=0)}const Tf=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Oe(e,t);switch(r){case"referenceHidden":{const s=await lt(t,{...o,elementContext:"reference"}),i=vo(s,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:yo(i)}}}case"escaped":{const s=await lt(t,{...o,altBoundary:!0}),i=vo(s,n.floating);return{data:{escapedOffsets:i,escaped:yo(i)}}}default:return{}}}}},ys=new Set(["left","top"]);async function Rf(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=Te(n),a=Je(n),l=we(n)==="y",u=ys.has(i)?-1:1,f=s&&l?-1:1,d=Oe(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:v}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof v=="number"&&(p=a==="end"?v*-1:v),l?{x:p*f,y:h*u}:{x:h*u,y:p*f}}const Lf=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:i,middlewareData:a}=t,l=await Rf(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:{...l,placement:i}}}}},Pf=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:a={fn:b=>{let{x:E,y:C}=b;return{x:E,y:C}}},...l}=Oe(e,t),u={x:n,y:r},f=await lt(t,l),d=we(Te(o)),h=Yn(d);let p=u[h],v=u[d];if(s){const b=h==="y"?"top":"left",E=h==="y"?"bottom":"right",C=p+f[b],S=p-f[E];p=In(C,p,S)}if(i){const b=d==="y"?"top":"left",E=d==="y"?"bottom":"right",C=v+f[b],S=v-f[E];v=In(C,v,S)}const m=a.fn({...t,[h]:p,[d]:v});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[h]:s,[d]:i}}}}}},Af=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:i}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=Oe(e,t),f={x:n,y:r},d=we(o),h=Yn(d);let p=f[h],v=f[d];const m=Oe(a,t),b=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const S=h==="y"?"height":"width",k=s.reference[h]-s.floating[S]+b.mainAxis,x=s.reference[h]+s.reference[S]-b.mainAxis;p<k?p=k:p>x&&(p=x)}if(u){var E,C;const S=h==="y"?"width":"height",k=ys.has(Te(o)),x=s.reference[d]-s.floating[S]+(k&&((E=i.offset)==null?void 0:E[d])||0)+(k?0:b.crossAxis),_=s.reference[d]+s.reference[S]+(k?0:((C=i.offset)==null?void 0:C[d])||0)-(k?b.crossAxis:0);v<x?v=x:v>_&&(v=_)}return{[h]:p,[d]:v}}}},Mf=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:i,elements:a}=t,{apply:l=()=>{},...u}=Oe(e,t),f=await lt(t,u),d=Te(o),h=Je(o),p=we(o)==="y",{width:v,height:m}=s.floating;let b,E;d==="top"||d==="bottom"?(b=d,E=h===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(E=d,b=h==="end"?"top":"bottom");const C=m-f.top-f.bottom,S=v-f.left-f.right,k=Ae(m-f[b],C),x=Ae(v-f[E],S),_=!t.middlewareData.shift;let M=k,R=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(R=S),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(M=C),_&&!h){const F=fe(f.left,0),V=fe(f.right,0),W=fe(f.top,0),U=fe(f.bottom,0);p?R=v-2*(F!==0||V!==0?F+V:fe(f.left,f.right)):M=m-2*(W!==0||U!==0?W+U:fe(f.top,f.bottom))}await l({...t,availableWidth:R,availableHeight:M});const $=await i.getDimensions(a.floating);return v!==$.width||m!==$.height?{reset:{rects:!0}}:{}}}};function Jt(){return typeof window<"u"}function Qe(e){return bs(e)?(e.nodeName||"").toLowerCase():"#document"}function he(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ke(e){var t;return(t=(bs(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function bs(e){return Jt()?e instanceof Node||e instanceof he(e).Node:!1}function ve(e){return Jt()?e instanceof Element||e instanceof he(e).Element:!1}function Se(e){return Jt()?e instanceof HTMLElement||e instanceof he(e).HTMLElement:!1}function bo(e){return!Jt()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof he(e).ShadowRoot}const Nf=new Set(["inline","contents"]);function dt(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=ye(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Nf.has(o)}const jf=new Set(["table","td","th"]);function _f(e){return jf.has(Qe(e))}const $f=[":popover-open",":modal"];function Qt(e){return $f.some(t=>{try{return e.matches(t)}catch{return!1}})}const Ff=["transform","translate","scale","rotate","perspective"],If=["transform","translate","scale","rotate","perspective","filter"],Bf=["paint","layout","strict","content"];function Xn(e){const t=Jn(),n=ve(e)?ye(e):e;return Ff.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||If.some(r=>(n.willChange||"").includes(r))||Bf.some(r=>(n.contain||"").includes(r))}function Df(e){let t=Me(e);for(;Se(t)&&!Ke(t);){if(Xn(t))return t;if(Qt(t))return null;t=Me(t)}return null}function Jn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const zf=new Set(["html","body","#document"]);function Ke(e){return zf.has(Qe(e))}function ye(e){return he(e).getComputedStyle(e)}function en(e){return ve(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Me(e){if(Qe(e)==="html")return e;const t=e.assignedSlot||e.parentNode||bo(e)&&e.host||ke(e);return bo(t)?t.host:t}function xs(e){const t=Me(e);return Ke(t)?e.ownerDocument?e.ownerDocument.body:e.body:Se(t)&&dt(t)?t:xs(t)}function ut(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=xs(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),i=he(o);if(s){const a=Dn(i);return t.concat(i,i.visualViewport||[],dt(o)?o:[],a&&n?ut(a):[])}return t.concat(o,ut(o,[],n))}function Dn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ws(e){const t=ye(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Se(e),s=o?e.offsetWidth:n,i=o?e.offsetHeight:r,a=Ft(n)!==s||Ft(r)!==i;return a&&(n=s,r=i),{width:n,height:r,$:a}}function Qn(e){return ve(e)?e:e.contextElement}function Ze(e){const t=Qn(e);if(!Se(t))return Ee(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=ws(t);let i=(s?Ft(n.width):n.width)/r,a=(s?Ft(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const Vf=Ee(0);function Es(e){const t=he(e);return!Jn()||!t.visualViewport?Vf:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Wf(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==he(e)?!1:t}function Fe(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=Qn(e);let i=Ee(1);t&&(r?ve(r)&&(i=Ze(r)):i=Ze(e));const a=Wf(s,n,r)?Es(s):Ee(0);let l=(o.left+a.x)/i.x,u=(o.top+a.y)/i.y,f=o.width/i.x,d=o.height/i.y;if(s){const h=he(s),p=r&&ve(r)?he(r):r;let v=h,m=Dn(v);for(;m&&r&&p!==v;){const b=Ze(m),E=m.getBoundingClientRect(),C=ye(m),S=E.left+(m.clientLeft+parseFloat(C.paddingLeft))*b.x,k=E.top+(m.clientTop+parseFloat(C.paddingTop))*b.y;l*=b.x,u*=b.y,f*=b.x,d*=b.y,l+=S,u+=k,v=he(m),m=Dn(v)}}return Bt({width:f,height:d,x:l,y:u})}function tn(e,t){const n=en(e).scrollLeft;return t?t.left+n:Fe(ke(e)).left+n}function Ss(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-tn(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function Zf(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",i=ke(r),a=t?Qt(t.floating):!1;if(r===i||a&&s)return n;let l={scrollLeft:0,scrollTop:0},u=Ee(1);const f=Ee(0),d=Se(r);if((d||!d&&!s)&&((Qe(r)!=="body"||dt(i))&&(l=en(r)),Se(r))){const p=Fe(r);u=Ze(r),f.x=p.x+r.clientLeft,f.y=p.y+r.clientTop}const h=i&&!d&&!s?Ss(i,l):Ee(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+f.x+h.x,y:n.y*u.y-l.scrollTop*u.y+f.y+h.y}}function Hf(e){return Array.from(e.getClientRects())}function Uf(e){const t=ke(e),n=en(e),r=e.ownerDocument.body,o=fe(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=fe(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+tn(e);const a=-n.scrollTop;return ye(r).direction==="rtl"&&(i+=fe(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:i,y:a}}const xo=25;function Kf(e,t){const n=he(e),r=ke(e),o=n.visualViewport;let s=r.clientWidth,i=r.clientHeight,a=0,l=0;if(o){s=o.width,i=o.height;const f=Jn();(!f||f&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}const u=tn(r);if(u<=0){const f=r.ownerDocument,d=f.body,h=getComputedStyle(d),p=f.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,v=Math.abs(r.clientWidth-d.clientWidth-p);v<=xo&&(s-=v)}else u<=xo&&(s+=u);return{width:s,height:i,x:a,y:l}}const Yf=new Set(["absolute","fixed"]);function Gf(e,t){const n=Fe(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=Se(e)?Ze(e):Ee(1),i=e.clientWidth*s.x,a=e.clientHeight*s.y,l=o*s.x,u=r*s.y;return{width:i,height:a,x:l,y:u}}function wo(e,t,n){let r;if(t==="viewport")r=Kf(e,n);else if(t==="document")r=Uf(ke(e));else if(ve(t))r=Gf(t,n);else{const o=Es(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Bt(r)}function ks(e,t){const n=Me(e);return n===t||!ve(n)||Ke(n)?!1:ye(n).position==="fixed"||ks(n,t)}function qf(e,t){const n=t.get(e);if(n)return n;let r=ut(e,[],!1).filter(a=>ve(a)&&Qe(a)!=="body"),o=null;const s=ye(e).position==="fixed";let i=s?Me(e):e;for(;ve(i)&&!Ke(i);){const a=ye(i),l=Xn(i);!l&&a.position==="fixed"&&(o=null),(s?!l&&!o:!l&&a.position==="static"&&!!o&&Yf.has(o.position)||dt(i)&&!l&&ks(e,i))?r=r.filter(f=>f!==i):o=a,i=Me(i)}return t.set(e,r),r}function Xf(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?Qt(t)?[]:qf(t,this._c):[].concat(n),r],a=i[0],l=i.reduce((u,f)=>{const d=wo(t,f,o);return u.top=fe(d.top,u.top),u.right=Ae(d.right,u.right),u.bottom=Ae(d.bottom,u.bottom),u.left=fe(d.left,u.left),u},wo(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Jf(e){const{width:t,height:n}=ws(e);return{width:t,height:n}}function Qf(e,t,n){const r=Se(t),o=ke(t),s=n==="fixed",i=Fe(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=Ee(0);function u(){l.x=tn(o)}if(r||!r&&!s)if((Qe(t)!=="body"||dt(o))&&(a=en(t)),r){const p=Fe(t,!0,s,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else o&&u();s&&!r&&o&&u();const f=o&&!r&&!s?Ss(o,a):Ee(0),d=i.left+a.scrollLeft-l.x-f.x,h=i.top+a.scrollTop-l.y-f.y;return{x:d,y:h,width:i.width,height:i.height}}function Cn(e){return ye(e).position==="static"}function Eo(e,t){if(!Se(e)||ye(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ke(e)===n&&(n=n.ownerDocument.body),n}function Cs(e,t){const n=he(e);if(Qt(e))return n;if(!Se(e)){let o=Me(e);for(;o&&!Ke(o);){if(ve(o)&&!Cn(o))return o;o=Me(o)}return n}let r=Eo(e,t);for(;r&&_f(r)&&Cn(r);)r=Eo(r,t);return r&&Ke(r)&&Cn(r)&&!Xn(r)?n:r||Df(e)||n}const ep=async function(e){const t=this.getOffsetParent||Cs,n=this.getDimensions,r=await n(e.floating);return{reference:Qf(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function tp(e){return ye(e).direction==="rtl"}const np={convertOffsetParentRelativeRectToViewportRelativeRect:Zf,getDocumentElement:ke,getClippingRect:Xf,getOffsetParent:Cs,getElementRects:ep,getClientRects:Hf,getDimensions:Jf,getScale:Ze,isElement:ve,isRTL:tp};function Os(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function rp(e,t){let n=null,r;const o=ke(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function i(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const u=e.getBoundingClientRect(),{left:f,top:d,width:h,height:p}=u;if(a||t(),!h||!p)return;const v=Et(d),m=Et(o.clientWidth-(f+h)),b=Et(o.clientHeight-(d+p)),E=Et(f),S={rootMargin:-v+"px "+-m+"px "+-b+"px "+-E+"px",threshold:fe(0,Ae(1,l))||1};let k=!0;function x(_){const M=_[0].intersectionRatio;if(M!==l){if(!k)return i();M?i(!1,M):r=setTimeout(()=>{i(!1,1e-7)},1e3)}M===1&&!Os(u,e.getBoundingClientRect())&&i(),k=!1}try{n=new IntersectionObserver(x,{...S,root:o.ownerDocument})}catch{n=new IntersectionObserver(x,S)}n.observe(e)}return i(!0),s}function op(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Qn(e),f=o||s?[...u?ut(u):[],...ut(t)]:[];f.forEach(E=>{o&&E.addEventListener("scroll",n,{passive:!0}),s&&E.addEventListener("resize",n)});const d=u&&a?rp(u,n):null;let h=-1,p=null;i&&(p=new ResizeObserver(E=>{let[C]=E;C&&C.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var S;(S=p)==null||S.observe(t)})),n()}),u&&!l&&p.observe(u),p.observe(t));let v,m=l?Fe(e):null;l&&b();function b(){const E=Fe(e);m&&!Os(m,E)&&n(),m=E,v=requestAnimationFrame(b)}return n(),()=>{var E;f.forEach(C=>{o&&C.removeEventListener("scroll",n),s&&C.removeEventListener("resize",n)}),d?.(),(E=p)==null||E.disconnect(),p=null,l&&cancelAnimationFrame(v)}}const sp=Lf,ip=Pf,ap=Of,cp=Mf,lp=Tf,So=Cf,up=Af,dp=(e,t,n)=>{const r=new Map,o={platform:np,...n},s={...o.platform,_c:r};return kf(e,t,{...o,platform:s})};var fp=typeof document<"u",pp=function(){},Rt=fp?c.useLayoutEffect:pp;function Dt(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 n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Dt(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!Dt(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function Ts(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ko(e,t){const n=Ts(e);return Math.round(t*n)/n}function On(e){const t=g.useRef(e);return Rt(()=>{t.current=e}),t}function hp(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:i}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[f,d]=g.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=g.useState(r);Dt(h,r)||p(r);const[v,m]=g.useState(null),[b,E]=g.useState(null),C=g.useCallback(T=>{T!==_.current&&(_.current=T,m(T))},[]),S=g.useCallback(T=>{T!==M.current&&(M.current=T,E(T))},[]),k=s||v,x=i||b,_=g.useRef(null),M=g.useRef(null),R=g.useRef(f),$=l!=null,F=On(l),V=On(o),W=On(u),U=g.useCallback(()=>{if(!_.current||!M.current)return;const T={placement:t,strategy:n,middleware:h};V.current&&(T.platform=V.current),dp(_.current,M.current,T).then(te=>{const O={...te,isPositioned:W.current!==!1};Z.current&&!Dt(R.current,O)&&(R.current=O,Mo.flushSync(()=>{d(O)}))})},[h,t,n,V,W]);Rt(()=>{u===!1&&R.current.isPositioned&&(R.current.isPositioned=!1,d(T=>({...T,isPositioned:!1})))},[u]);const Z=g.useRef(!1);Rt(()=>(Z.current=!0,()=>{Z.current=!1}),[]),Rt(()=>{if(k&&(_.current=k),x&&(M.current=x),k&&x){if(F.current)return F.current(k,x,U);U()}},[k,x,U,F,$]);const ee=g.useMemo(()=>({reference:_,floating:M,setReference:C,setFloating:S}),[C,S]),D=g.useMemo(()=>({reference:k,floating:x}),[k,x]),H=g.useMemo(()=>{const T={position:n,left:0,top:0};if(!D.floating)return T;const te=ko(D.floating,f.x),O=ko(D.floating,f.y);return a?{...T,transform:"translate("+te+"px, "+O+"px)",...Ts(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:te,top:O}},[n,a,D.floating,f.x,f.y]);return g.useMemo(()=>({...f,update:U,refs:ee,elements:D,floatingStyles:H}),[f,U,ee,D,H])}const mp=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?So({element:r.current,padding:o}).fn(n):{}:r?So({element:r,padding:o}).fn(n):{}}}},gp=(e,t)=>({...sp(e),options:[e,t]}),vp=(e,t)=>({...ip(e),options:[e,t]}),yp=(e,t)=>({...up(e),options:[e,t]}),bp=(e,t)=>({...ap(e),options:[e,t]}),xp=(e,t)=>({...cp(e),options:[e,t]}),wp=(e,t)=>({...lp(e),options:[e,t]}),Ep=(e,t)=>({...mp(e),options:[e,t]});var Sp="Arrow",Rs=g.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...s}=e;return w.jsx(le.svg,{...s,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:w.jsx("polygon",{points:"0,0 30,0 15,10"})})});Rs.displayName=Sp;var kp=Rs;function Ls(e){const[t,n]=g.useState(void 0);return Pe(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let i,a;if("borderBoxSize"in s){const l=s.borderBoxSize,u=Array.isArray(l)?l[0]:l;i=u.inlineSize,a=u.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var er="Popper",[Ps,As]=Xe(er),[Cp,Ms]=Ps(er),Ns=e=>{const{__scopePopper:t,children:n}=e,[r,o]=g.useState(null);return w.jsx(Cp,{scope:t,anchor:r,onAnchorChange:o,children:n})};Ns.displayName=er;var js="PopperAnchor",_s=g.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,s=Ms(js,n),i=g.useRef(null),a=me(t,i),l=g.useRef(null);return g.useEffect(()=>{const u=l.current;l.current=r?.current||i.current,u!==l.current&&s.onAnchorChange(l.current)}),r?null:w.jsx(le.div,{...o,ref:a})});_s.displayName=js;var tr="PopperContent",[Op,Tp]=Ps(tr),$s=g.forwardRef((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:s="center",alignOffset:i=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:f=0,sticky:d="partial",hideWhenDetached:h=!1,updatePositionStrategy:p="optimized",onPlaced:v,...m}=e,b=Ms(tr,n),[E,C]=g.useState(null),S=me(t,A=>C(A)),[k,x]=g.useState(null),_=Ls(k),M=_?.width??0,R=_?.height??0,$=r+(s!=="center"?"-"+s:""),F=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},V=Array.isArray(u)?u:[u],W=V.length>0,U={padding:F,boundary:V.filter(Lp),altBoundary:W},{refs:Z,floatingStyles:ee,placement:D,isPositioned:H,middlewareData:T}=hp({strategy:"fixed",placement:$,whileElementsMounted:(...A)=>op(...A,{animationFrame:p==="always"}),elements:{reference:b.anchor},middleware:[gp({mainAxis:o+R,alignmentAxis:i}),l&&vp({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?yp():void 0,...U}),l&&bp({...U}),xp({...U,apply:({elements:A,rects:G,availableWidth:J,availableHeight:X})=>{const{width:oe,height:j}=G.reference,ue=A.floating.style;ue.setProperty("--radix-popper-available-width",`${J}px`),ue.setProperty("--radix-popper-available-height",`${X}px`),ue.setProperty("--radix-popper-anchor-width",`${oe}px`),ue.setProperty("--radix-popper-anchor-height",`${j}px`)}}),k&&Ep({element:k,padding:a}),Pp({arrowWidth:M,arrowHeight:R}),h&&wp({strategy:"referenceHidden",...U})]}),[te,O]=Bs(D),y=$e(v);Pe(()=>{H&&y?.()},[H,y]);const L=T.arrow?.x,P=T.arrow?.y,N=T.arrow?.centerOffset!==0,[q,K]=g.useState();return Pe(()=>{E&&K(window.getComputedStyle(E).zIndex)},[E]),w.jsx("div",{ref:Z.setFloating,"data-radix-popper-content-wrapper":"",style:{...ee,transform:H?ee.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:q,"--radix-popper-transform-origin":[T.transformOrigin?.x,T.transformOrigin?.y].join(" "),...T.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:w.jsx(Op,{scope:n,placedSide:te,onArrowChange:x,arrowX:L,arrowY:P,shouldHideArrow:N,children:w.jsx(le.div,{"data-side":te,"data-align":O,...m,ref:S,style:{...m.style,animation:H?void 0:"none"}})})})});$s.displayName=tr;var Fs="PopperArrow",Rp={top:"bottom",right:"left",bottom:"top",left:"right"},Is=g.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,s=Tp(Fs,r),i=Rp[s.placedSide];return w.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:w.jsx(kp,{...o,ref:n,style:{...o.style,display:"block"}})})});Is.displayName=Fs;function Lp(e){return e!==null}var Pp=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[u,f]=Bs(n),d={start:"0%",center:"50%",end:"100%"}[f],h=(o.arrow?.x??0)+a/2,p=(o.arrow?.y??0)+l/2;let v="",m="";return u==="bottom"?(v=i?d:`${h}px`,m=`${-l}px`):u==="top"?(v=i?d:`${h}px`,m=`${r.floating.height+l}px`):u==="right"?(v=`${-l}px`,m=i?d:`${p}px`):u==="left"&&(v=`${r.floating.width+l}px`,m=i?d:`${p}px`),{data:{x:v,y:m}}}});function Bs(e){const[t,n="center"]=e.split("-");return[t,n]}var Ap=Ns,Ds=_s,Mp=$s,Np=Is,jp="Portal",zs=g.forwardRef((e,t)=>{const{container:n,...r}=e,[o,s]=g.useState(!1);Pe(()=>s(!0),[]);const i=n||o&&globalThis?.document?.body;return i?Po.createPortal(w.jsx(le.div,{...r,ref:t}),i):null});zs.displayName=jp;function _p(e,t){return g.useReducer((n,r)=>t[n][r]??n,e)}var nn=e=>{const{present:t,children:n}=e,r=$p(t),o=typeof n=="function"?n({present:r.isPresent}):g.Children.only(n),s=me(r.ref,Fp(o));return typeof n=="function"||r.isPresent?g.cloneElement(o,{ref:s}):null};nn.displayName="Presence";function $p(e){const[t,n]=g.useState(),r=g.useRef(null),o=g.useRef(e),s=g.useRef("none"),i=e?"mounted":"unmounted",[a,l]=_p(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const u=St(r.current);s.current=a==="mounted"?u:"none"},[a]),Pe(()=>{const u=r.current,f=o.current;if(f!==e){const h=s.current,p=St(u);e?l("MOUNT"):p==="none"||u?.display==="none"?l("UNMOUNT"):l(f&&h!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Pe(()=>{if(t){let u;const f=t.ownerDocument.defaultView??window,d=p=>{const m=St(r.current).includes(CSS.escape(p.animationName));if(p.target===t&&m&&(l("ANIMATION_END"),!o.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",u=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},h=p=>{p.target===t&&(s.current=St(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{f.clearTimeout(u),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:g.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function St(e){return e?.animationName||"none"}function Fp(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Ip=g[" useInsertionEffect ".trim().toString()]||Pe;function rn({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,s,i]=Bp({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:o;{const f=g.useRef(e!==void 0);g.useEffect(()=>{const d=f.current;d!==a&&console.warn(`${r} is changing from ${d?"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,r])}const u=g.useCallback(f=>{if(a){const d=Dp(f)?f(e):f;d!==e&&i.current?.(d)}else s(f)},[a,e,s,i]);return[l,u]}function Bp({defaultProp:e,onChange:t}){const[n,r]=g.useState(e),o=g.useRef(n),s=g.useRef(t);return Ip(()=>{s.current=t},[t]),g.useEffect(()=>{o.current!==n&&(s.current?.(n),o.current=n)},[n,o]),[n,r,s]}function Dp(e){return typeof e=="function"}var zp=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ze=new WeakMap,kt=new WeakMap,Ct={},Tn=0,Vs=function(e){return e&&(e.host||Vs(e.parentNode))},Vp=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Vs(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Wp=function(e,t,n,r){var o=Vp(t,Array.isArray(e)?e:[e]);Ct[n]||(Ct[n]=new WeakMap);var s=Ct[n],i=[],a=new Set,l=new Set(o),u=function(d){!d||a.has(d)||(a.add(d),u(d.parentNode))};o.forEach(u);var f=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(h){if(a.has(h))f(h);else try{var p=h.getAttribute(r),v=p!==null&&p!=="false",m=(ze.get(h)||0)+1,b=(s.get(h)||0)+1;ze.set(h,m),s.set(h,b),i.push(h),m===1&&v&&kt.set(h,!0),b===1&&h.setAttribute(n,"true"),v||h.setAttribute(r,"true")}catch(E){console.error("aria-hidden: cannot operate on ",h,E)}})};return f(t),a.clear(),Tn++,function(){i.forEach(function(d){var h=ze.get(d)-1,p=s.get(d)-1;ze.set(d,h),s.set(d,p),h||(kt.has(d)||d.removeAttribute(r),kt.delete(d)),p||d.removeAttribute(n)}),Tn--,Tn||(ze=new WeakMap,ze=new WeakMap,kt=new WeakMap,Ct={})}},Zp=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=zp(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),Wp(r,o,n,"aria-hidden")):function(){return null}},be=function(){return be=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},be.apply(this,arguments)};function Ws(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function Hp(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,s;r<o;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var Lt="right-scroll-bar-position",Pt="width-before-scroll-bar",Up="with-scroll-bars-hidden",Kp="--removed-body-scroll-bar-size";function Rn(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Yp(e,t){var n=c.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var Gp=typeof window<"u"?g.useLayoutEffect:g.useEffect,Co=new WeakMap;function qp(e,t){var n=Yp(null,function(r){return e.forEach(function(o){return Rn(o,r)})});return Gp(function(){var r=Co.get(n);if(r){var o=new Set(r),s=new Set(e),i=n.current;o.forEach(function(a){s.has(a)||Rn(a,null)}),s.forEach(function(a){o.has(a)||Rn(a,i)})}Co.set(n,e)},[e]),n}function Xp(e){return e}function Jp(e,t){t===void 0&&(t=Xp);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var i=t(s,r);return n.push(i),function(){n=n.filter(function(a){return a!==i})}},assignSyncMedium:function(s){for(r=!0;n.length;){var i=n;n=[],i.forEach(s)}n={push:function(a){return s(a)},filter:function(){return n}}},assignMedium:function(s){r=!0;var i=[];if(n.length){var a=n;n=[],a.forEach(s),i=n}var l=function(){var f=i;i=[],f.forEach(s)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(f){i.push(f),u()},filter:function(f){return i=i.filter(f),n}}}};return o}function Qp(e){e===void 0&&(e={});var t=Jp(null);return t.options=be({async:!0,ssr:!1},e),t}var Zs=function(e){var t=e.sideCar,n=Ws(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return g.createElement(r,be({},n))};Zs.isSideCarExport=!0;function e1(e,t){return e.useMedium(t),Zs}var Hs=Qp(),Ln=function(){},on=g.forwardRef(function(e,t){var n=g.useRef(null),r=g.useState({onScrollCapture:Ln,onWheelCapture:Ln,onTouchMoveCapture:Ln}),o=r[0],s=r[1],i=e.forwardProps,a=e.children,l=e.className,u=e.removeScrollBar,f=e.enabled,d=e.shards,h=e.sideCar,p=e.noRelative,v=e.noIsolation,m=e.inert,b=e.allowPinchZoom,E=e.as,C=E===void 0?"div":E,S=e.gapMode,k=Ws(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),x=h,_=qp([n,t]),M=be(be({},k),o);return g.createElement(g.Fragment,null,f&&g.createElement(x,{sideCar:Hs,removeScrollBar:u,shards:d,noRelative:p,noIsolation:v,inert:m,setCallbacks:s,allowPinchZoom:!!b,lockRef:n,gapMode:S}),i?g.cloneElement(g.Children.only(a),be(be({},M),{ref:_})):g.createElement(C,be({},M,{className:l,ref:_}),a))});on.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};on.classNames={fullWidth:Pt,zeroRight:Lt};var t1=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function n1(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=t1();return t&&e.setAttribute("nonce",t),e}function r1(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function o1(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var s1=function(){var e=0,t=null;return{add:function(n){e==0&&(t=n1())&&(r1(t,n),o1(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},i1=function(){var e=s1();return function(t,n){g.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Us=function(){var e=i1(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},a1={left:0,top:0,right:0,gap:0},Pn=function(e){return parseInt(e||"",10)||0},c1=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Pn(n),Pn(r),Pn(o)]},l1=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return a1;var t=c1(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},u1=Us(),He="data-scroll-locked",d1=function(e,t,n,r){var o=e.left,s=e.top,i=e.right,a=e.gap;return n===void 0&&(n="margin"),`
8
8
  .`.concat(Up,` {
9
9
  overflow: hidden `).concat(r,`;
10
10
  padding-right: `).concat(a,"px ").concat(r,`;
@@ -44,4 +44,4 @@ Valid keys: `+JSON.stringify(Object.keys(O),null," "));var j=oe(A,X,N,q,K+"."+X
44
44
  `)},Oo=function(){var e=parseInt(document.body.getAttribute(He)||"0",10);return isFinite(e)?e:0},f1=function(){g.useEffect(function(){return document.body.setAttribute(He,(Oo()+1).toString()),function(){var e=Oo()-1;e<=0?document.body.removeAttribute(He):document.body.setAttribute(He,e.toString())}},[])},p1=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;f1();var s=g.useMemo(function(){return l1(o)},[o]);return g.createElement(u1,{styles:d1(s,!t,o,n?"":"!important")})},zn=!1;if(typeof window<"u")try{var Ot=Object.defineProperty({},"passive",{get:function(){return zn=!0,!0}});window.addEventListener("test",Ot,Ot),window.removeEventListener("test",Ot,Ot)}catch{zn=!1}var Ve=zn?{passive:!1}:!1,h1=function(e){return e.tagName==="TEXTAREA"},Ks=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!h1(e)&&n[t]==="visible")},m1=function(e){return Ks(e,"overflowY")},g1=function(e){return Ks(e,"overflowX")},To=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=Ys(e,r);if(o){var s=Gs(e,r),i=s[1],a=s[2];if(i>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},v1=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},y1=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Ys=function(e,t){return e==="v"?m1(t):g1(t)},Gs=function(e,t){return e==="v"?v1(t):y1(t)},b1=function(e,t){return e==="h"&&t==="rtl"?-1:1},x1=function(e,t,n,r,o){var s=b1(e,window.getComputedStyle(t).direction),i=s*r,a=n.target,l=t.contains(a),u=!1,f=i>0,d=0,h=0;do{if(!a)break;var p=Gs(e,a),v=p[0],m=p[1],b=p[2],E=m-b-s*v;(v||E)&&Ys(e,a)&&(d+=E,h+=v);var C=a.parentNode;a=C&&C.nodeType===Node.DOCUMENT_FRAGMENT_NODE?C.host:C}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(f&&Math.abs(d)<1||!f&&Math.abs(h)<1)&&(u=!0),u},Tt=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ro=function(e){return[e.deltaX,e.deltaY]},Lo=function(e){return e&&"current"in e?e.current:e},w1=function(e,t){return e[0]===t[0]&&e[1]===t[1]},E1=function(e){return`
45
45
  .block-interactivity-`.concat(e,` {pointer-events: none;}
46
46
  .allow-interactivity-`).concat(e,` {pointer-events: all;}
47
- `)},S1=0,We=[];function k1(e){var t=g.useRef([]),n=g.useRef([0,0]),r=g.useRef(),o=g.useState(S1++)[0],s=g.useState(Us)[0],i=g.useRef(e);g.useEffect(function(){i.current=e},[e]),g.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=Hp([e.lockRef.current],(e.shards||[]).map(Lo),!0).filter(Boolean);return m.forEach(function(b){return b.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=g.useCallback(function(m,b){if("touches"in m&&m.touches.length===2||m.type==="wheel"&&m.ctrlKey)return!i.current.allowPinchZoom;var E=Tt(m),C=n.current,S="deltaX"in m?m.deltaX:C[0]-E[0],k="deltaY"in m?m.deltaY:C[1]-E[1],x,_=m.target,M=Math.abs(S)>Math.abs(k)?"h":"v";if("touches"in m&&M==="h"&&_.type==="range")return!1;var R=To(M,_);if(!R)return!0;if(R?x=M:(x=M==="v"?"h":"v",R=To(M,_)),!R)return!1;if(!r.current&&"changedTouches"in m&&(S||k)&&(r.current=x),!x)return!0;var $=r.current||x;return x1($,b,m,$==="h"?S:k)},[]),l=g.useCallback(function(m){var b=m;if(!(!We.length||We[We.length-1]!==s)){var E="deltaY"in b?Ro(b):Tt(b),C=t.current.filter(function(x){return x.name===b.type&&(x.target===b.target||b.target===x.shadowParent)&&w1(x.delta,E)})[0];if(C&&C.should){b.cancelable&&b.preventDefault();return}if(!C){var S=(i.current.shards||[]).map(Lo).filter(Boolean).filter(function(x){return x.contains(b.target)}),k=S.length>0?a(b,S[0]):!i.current.noIsolation;k&&b.cancelable&&b.preventDefault()}}},[]),u=g.useCallback(function(m,b,E,C){var S={name:m,delta:b,target:E,should:C,shadowParent:C1(E)};t.current.push(S),setTimeout(function(){t.current=t.current.filter(function(k){return k!==S})},1)},[]),f=g.useCallback(function(m){n.current=Tt(m),r.current=void 0},[]),d=g.useCallback(function(m){u(m.type,Ro(m),m.target,a(m,e.lockRef.current))},[]),h=g.useCallback(function(m){u(m.type,Tt(m),m.target,a(m,e.lockRef.current))},[]);g.useEffect(function(){return We.push(s),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",l,Ve),document.addEventListener("touchmove",l,Ve),document.addEventListener("touchstart",f,Ve),function(){We=We.filter(function(m){return m!==s}),document.removeEventListener("wheel",l,Ve),document.removeEventListener("touchmove",l,Ve),document.removeEventListener("touchstart",f,Ve)}},[]);var p=e.removeScrollBar,v=e.inert;return g.createElement(g.Fragment,null,v?g.createElement(s,{styles:E1(o)}):null,p?g.createElement(p1,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function C1(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const O1=e1(Hs,k1);var qs=g.forwardRef(function(e,t){return g.createElement(on,be({},e,{ref:t,sideCar:O1}))});qs.classNames=on.classNames;var sn="Popover",[Xs]=Xe(sn,[As]),ft=As(),[T1,Ne]=Xs(sn),Js=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:s,modal:i=!1}=e,a=ft(t),l=g.useRef(null),[u,f]=g.useState(!1),[d,h]=rn({prop:r,defaultProp:o??!1,onChange:s,caller:sn});return w.jsx(Ap,{...a,children:w.jsx(T1,{scope:t,contentId:Kn(),triggerRef:l,open:d,onOpenChange:h,onOpenToggle:g.useCallback(()=>h(p=>!p),[h]),hasCustomAnchor:u,onCustomAnchorAdd:g.useCallback(()=>f(!0),[]),onCustomAnchorRemove:g.useCallback(()=>f(!1),[]),modal:i,children:n})})};Js.displayName=sn;var Qs="PopoverAnchor",R1=g.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Ne(Qs,n),s=ft(n),{onCustomAnchorAdd:i,onCustomAnchorRemove:a}=o;return g.useEffect(()=>(i(),()=>a()),[i,a]),w.jsx(Ds,{...s,...r,ref:t})});R1.displayName=Qs;var ei="PopoverTrigger",ti=g.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Ne(ei,n),s=ft(n),i=me(t,o.triggerRef),a=w.jsx(le.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":ii(o.open),...r,ref:i,onClick:ae(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?a:w.jsx(Ds,{asChild:!0,...s,children:a})});ti.displayName=ei;var nr="PopoverPortal",[L1,P1]=Xs(nr,{forceMount:void 0}),ni=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,s=Ne(nr,t);return w.jsx(L1,{scope:t,forceMount:n,children:w.jsx(nn,{present:n||s.open,children:w.jsx(zs,{asChild:!0,container:o,children:r})})})};ni.displayName=nr;var Ye="PopoverContent",ri=g.forwardRef((e,t)=>{const n=P1(Ye,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,s=Ne(Ye,e.__scopePopover);return w.jsx(nn,{present:r||s.open,children:s.modal?w.jsx(M1,{...o,ref:t}):w.jsx(N1,{...o,ref:t})})});ri.displayName=Ye;var A1=$t("PopoverContent.RemoveScroll"),M1=g.forwardRef((e,t)=>{const n=Ne(Ye,e.__scopePopover),r=g.useRef(null),o=me(t,r),s=g.useRef(!1);return g.useEffect(()=>{const i=r.current;if(i)return Zp(i)},[]),w.jsx(qs,{as:A1,allowPinchZoom:!0,children:w.jsx(oi,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ae(e.onCloseAutoFocus,i=>{i.preventDefault(),s.current||n.triggerRef.current?.focus()}),onPointerDownOutside:ae(e.onPointerDownOutside,i=>{const a=i.detail.originalEvent,l=a.button===0&&a.ctrlKey===!0,u=a.button===2||l;s.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:ae(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})})}),N1=g.forwardRef((e,t)=>{const n=Ne(Ye,e.__scopePopover),r=g.useRef(!1),o=g.useRef(!1);return w.jsx(oi,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{e.onCloseAutoFocus?.(s),s.defaultPrevented||(r.current||n.triggerRef.current?.focus(),s.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:s=>{e.onInteractOutside?.(s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const i=s.target;n.triggerRef.current?.contains(i)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&o.current&&s.preventDefault()}})}),oi=g.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:s,disableOutsidePointerEvents:i,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:f,...d}=e,h=Ne(Ye,n),p=ft(n);return nf(),w.jsx(ms,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:s,children:w.jsx(ps,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:f,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>h.onOpenChange(!1),children:w.jsx(Mp,{"data-state":ii(h.open),role:"dialog",id:h.contentId,...p,...d,ref:t,style:{...d.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)"}})})})}),si="PopoverClose",j1=g.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Ne(si,n);return w.jsx(le.button,{type:"button",...r,ref:t,onClick:ae(e.onClick,()=>o.onOpenChange(!1))})});j1.displayName=si;var _1="PopoverArrow",$1=g.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=ft(n);return w.jsx(Np,{...o,...r,ref:t})});$1.displayName=_1;function ii(e){return e?"open":"closed"}var F1=Js,I1=ti,B1=ni,ai=ri;const ci=F1,li=I1,rr=g.forwardRef(({className:e,align:t="center",sideOffset:n=4,...r},o)=>w.jsx(B1,{children:w.jsx(ai,{ref:o,align:t,sideOffset:n,className:pe("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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",e),...r})}));rr.displayName=ai.displayName;function D1(e){const t=e+"CollectionProvider",[n,r]=Xe(t),[o,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=m=>{const{scope:b,children:E}=m,C=c.useRef(null),S=c.useRef(new Map).current;return w.jsx(o,{scope:b,itemMap:S,collectionRef:C,children:E})};i.displayName=t;const a=e+"CollectionSlot",l=$t(a),u=c.forwardRef((m,b)=>{const{scope:E,children:C}=m,S=s(a,E),k=me(b,S.collectionRef);return w.jsx(l,{ref:k,children:C})});u.displayName=a;const f=e+"CollectionItemSlot",d="data-radix-collection-item",h=$t(f),p=c.forwardRef((m,b)=>{const{scope:E,children:C,...S}=m,k=c.useRef(null),x=me(b,k),_=s(f,E);return c.useEffect(()=>(_.itemMap.set(k,{ref:k,...S}),()=>void _.itemMap.delete(k))),w.jsx(h,{[d]:"",ref:x,children:C})});p.displayName=f;function v(m){const b=s(e+"CollectionConsumer",m);return c.useCallback(()=>{const C=b.collectionRef.current;if(!C)return[];const S=Array.from(C.querySelectorAll(`[${d}]`));return Array.from(b.itemMap.values()).sort((_,M)=>S.indexOf(_.ref.current)-S.indexOf(M.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:i,Slot:u,ItemSlot:p},v,r]}var z1=g.createContext(void 0);function ui(e){const t=g.useContext(z1);return e||t||"ltr"}var An="rovingFocusGroup.onEntryFocus",V1={bubbles:!1,cancelable:!0},pt="RovingFocusGroup",[Vn,di,W1]=D1(pt),[Z1,fi]=Xe(pt,[W1]),[H1,U1]=Z1(pt),pi=g.forwardRef((e,t)=>w.jsx(Vn.Provider,{scope:e.__scopeRovingFocusGroup,children:w.jsx(Vn.Slot,{scope:e.__scopeRovingFocusGroup,children:w.jsx(K1,{...e,ref:t})})}));pi.displayName=pt;var K1=g.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:s,currentTabStopId:i,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:l,onEntryFocus:u,preventScrollOnEntryFocus:f=!1,...d}=e,h=g.useRef(null),p=me(t,h),v=ui(s),[m,b]=rn({prop:i,defaultProp:a??null,onChange:l,caller:pt}),[E,C]=g.useState(!1),S=$e(u),k=di(n),x=g.useRef(!1),[_,M]=g.useState(0);return g.useEffect(()=>{const R=h.current;if(R)return R.addEventListener(An,S),()=>R.removeEventListener(An,S)},[S]),w.jsx(H1,{scope:n,orientation:r,dir:v,loop:o,currentTabStopId:m,onItemFocus:g.useCallback(R=>b(R),[b]),onItemShiftTab:g.useCallback(()=>C(!0),[]),onFocusableItemAdd:g.useCallback(()=>M(R=>R+1),[]),onFocusableItemRemove:g.useCallback(()=>M(R=>R-1),[]),children:w.jsx(le.div,{tabIndex:E||_===0?-1:0,"data-orientation":r,...d,ref:p,style:{outline:"none",...e.style},onMouseDown:ae(e.onMouseDown,()=>{x.current=!0}),onFocus:ae(e.onFocus,R=>{const $=!x.current;if(R.target===R.currentTarget&&$&&!E){const F=new CustomEvent(An,V1);if(R.currentTarget.dispatchEvent(F),!F.defaultPrevented){const V=k().filter(D=>D.focusable),W=V.find(D=>D.active),U=V.find(D=>D.id===m),ee=[W,U,...V].filter(Boolean).map(D=>D.ref.current);gi(ee,f)}}x.current=!1}),onBlur:ae(e.onBlur,()=>C(!1))})})}),hi="RovingFocusGroupItem",mi=g.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:s,children:i,...a}=e,l=Kn(),u=s||l,f=U1(hi,n),d=f.currentTabStopId===u,h=di(n),{onFocusableItemAdd:p,onFocusableItemRemove:v,currentTabStopId:m}=f;return g.useEffect(()=>{if(r)return p(),()=>v()},[r,p,v]),w.jsx(Vn.ItemSlot,{scope:n,id:u,focusable:r,active:o,children:w.jsx(le.span,{tabIndex:d?0:-1,"data-orientation":f.orientation,...a,ref:t,onMouseDown:ae(e.onMouseDown,b=>{r?f.onItemFocus(u):b.preventDefault()}),onFocus:ae(e.onFocus,()=>f.onItemFocus(u)),onKeyDown:ae(e.onKeyDown,b=>{if(b.key==="Tab"&&b.shiftKey){f.onItemShiftTab();return}if(b.target!==b.currentTarget)return;const E=q1(b,f.orientation,f.dir);if(E!==void 0){if(b.metaKey||b.ctrlKey||b.altKey||b.shiftKey)return;b.preventDefault();let S=h().filter(k=>k.focusable).map(k=>k.ref.current);if(E==="last")S.reverse();else if(E==="prev"||E==="next"){E==="prev"&&S.reverse();const k=S.indexOf(b.currentTarget);S=f.loop?X1(S,k+1):S.slice(k+1)}setTimeout(()=>gi(S))}}),children:typeof i=="function"?i({isCurrentTabStop:d,hasTabStop:m!=null}):i})})});mi.displayName=hi;var Y1={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function G1(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function q1(e,t,n){const r=G1(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return Y1[r]}function gi(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function X1(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var J1=pi,Q1=mi,an="Tabs",[eh]=Xe(an,[fi]),vi=fi(),[th,or]=eh(an),yi=g.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:s,orientation:i="horizontal",dir:a,activationMode:l="automatic",...u}=e,f=ui(a),[d,h]=rn({prop:r,onChange:o,defaultProp:s??"",caller:an});return w.jsx(th,{scope:n,baseId:Kn(),value:d,onValueChange:h,orientation:i,dir:f,activationMode:l,children:w.jsx(le.div,{dir:f,"data-orientation":i,...u,ref:t})})});yi.displayName=an;var bi="TabsList",xi=g.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,s=or(bi,n),i=vi(n);return w.jsx(J1,{asChild:!0,...i,orientation:s.orientation,dir:s.dir,loop:r,children:w.jsx(le.div,{role:"tablist","aria-orientation":s.orientation,...o,ref:t})})});xi.displayName=bi;var wi="TabsTrigger",Ei=g.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...s}=e,i=or(wi,n),a=vi(n),l=Ci(i.baseId,r),u=Oi(i.baseId,r),f=r===i.value;return w.jsx(Q1,{asChild:!0,...a,focusable:!o,active:f,children:w.jsx(le.button,{type:"button",role:"tab","aria-selected":f,"aria-controls":u,"data-state":f?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l,...s,ref:t,onMouseDown:ae(e.onMouseDown,d=>{!o&&d.button===0&&d.ctrlKey===!1?i.onValueChange(r):d.preventDefault()}),onKeyDown:ae(e.onKeyDown,d=>{[" ","Enter"].includes(d.key)&&i.onValueChange(r)}),onFocus:ae(e.onFocus,()=>{const d=i.activationMode!=="manual";!f&&!o&&d&&i.onValueChange(r)})})})});Ei.displayName=wi;var Si="TabsContent",ki=g.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:s,...i}=e,a=or(Si,n),l=Ci(a.baseId,r),u=Oi(a.baseId,r),f=r===a.value,d=g.useRef(f);return g.useEffect(()=>{const h=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(h)},[]),w.jsx(nn,{present:o||f,children:({present:h})=>w.jsx(le.div,{"data-state":f?"active":"inactive","data-orientation":a.orientation,role:"tabpanel","aria-labelledby":l,hidden:!h,id:u,tabIndex:0,...i,ref:t,style:{...e.style,animationDuration:d.current?"0s":void 0},children:h&&s})})});ki.displayName=Si;function Ci(e,t){return`${e}-trigger-${t}`}function Oi(e,t){return`${e}-content-${t}`}var nh=yi,Ti=xi,Ri=Ei,Li=ki;const Pi=nh,sr=g.forwardRef(({className:e,...t},n)=>w.jsx(Ti,{ref:n,className:pe("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",e),...t}));sr.displayName=Ti.displayName;const zt=g.forwardRef(({className:e,...t},n)=>w.jsx(Ri,{ref:n,className:pe("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",e),...t}));zt.displayName=Ri.displayName;const Ai=g.forwardRef(({className:e,...t},n)=>w.jsx(Li,{ref:n,className:pe("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));Ai.displayName=Li.displayName;function Mi({scope:e="page",onScopeChange:t,query:n,onQueryChange:r,resultsCount:o=0,onNext:s,onPrev:i,className:a}){return w.jsxs(ci,{children:[w.jsx(li,{asChild:!0,children:w.jsx(ce,{variant:"ghost",size:"icon",className:pe("h-8 w-8 rounded-lg bg-[#F5F7FB] text-[#FF246E] hover:bg-[#F5F7FB] hover:brightness-95",a),icon:w.jsx(at,{size:20,variant:"Linear"})})}),w.jsx(rr,{className:"w-[calc(100vw-32px)] sm:w-[461px] rounded-xl border-none bg-[#F5F7FB] p-2 shadow-[0px_4px_17.6px_0px_rgba(0,0,0,0.25)]",align:"start",collisionPadding:16,children:w.jsxs("div",{className:"flex flex-col gap-4",children:[w.jsx(Pi,{value:e,onValueChange:l=>t?.(l),className:"w-full",children:w.jsxs(sr,{className:"flex h-auto w-full sm:w-fit justify-start gap-2.5 rounded-[6px] bg-[#487BFF] p-[5px]",children:[w.jsx(zt,{value:"page",className:"h-auto flex-1 sm:flex-none rounded-[3px] px-2 py-1 font-['Plus_Jakarta_Sans'] text-[12px] sm:text-[14px] font-bold leading-[1.42] text-muted-foreground data-[state=active]:bg-white data-[state=active]:text-muted-foreground data-[state=inactive]:bg-transparent data-[state=inactive]:text-white/80",children:"Apenas nessa página"}),w.jsx(zt,{value:"all",className:"h-auto flex-1 sm:flex-none rounded-[3px] px-2 py-1 font-['Plus_Jakarta_Sans'] text-[12px] sm:text-[14px] font-bold leading-[1.42] text-white data-[state=active]:bg-white data-[state=active]:text-muted-foreground data-[state=inactive]:bg-transparent data-[state=inactive]:text-white/80",children:"Em todas as páginas"})]})}),w.jsxs("div",{className:"relative",children:[w.jsx(at,{size:20,variant:"Linear",color:"#FF246E",className:"absolute left-4 top-1/2 -translate-y-1/2"}),w.jsx(Un,{value:n,onChange:l=>r?.(l.target.value),className:"h-10 rounded-xl border-2 border-[#CCCCCC] bg-white pl-[46px] pr-4 text-[16px] sm:text-[14px] placeholder:text-muted-foreground focus-visible:ring-0 focus-visible:ring-offset-0",placeholder:""})]}),w.jsxs("div",{className:"flex items-center justify-between px-1",children:[w.jsxs("span",{className:"font-['Plus_Jakarta_Sans'] text-[14px] font-bold leading-[1.42] text-muted-foreground",children:[o," Resultados"]}),w.jsxs("div",{className:"flex gap-4",children:[w.jsx(ce,{variant:"ghost",size:"icon",className:"h-6 w-6 text-muted-foreground hover:bg-transparent hover:text-black",onClick:i,disabled:!o,icon:w.jsx(Wt,{size:24,variant:"Linear"})}),w.jsx(ce,{variant:"ghost",size:"icon",className:"h-6 w-6 text-muted-foreground hover:bg-transparent hover:text-black",onClick:s,disabled:!o,icon:w.jsx(Vt,{size:24,variant:"Linear"})})]})]})]})})]})}function rh(e){const t=g.useRef({value:e,previous:e});return g.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var cn="Switch",[oh]=Xe(cn),[sh,ih]=oh(cn),Ni=g.forwardRef((e,t)=>{const{__scopeSwitch:n,name:r,checked:o,defaultChecked:s,required:i,disabled:a,value:l="on",onCheckedChange:u,form:f,...d}=e,[h,p]=g.useState(null),v=me(t,S=>p(S)),m=g.useRef(!1),b=h?f||!!h.closest("form"):!0,[E,C]=rn({prop:o,defaultProp:s??!1,onChange:u,caller:cn});return w.jsxs(sh,{scope:n,checked:E,disabled:a,children:[w.jsx(le.button,{type:"button",role:"switch","aria-checked":E,"aria-required":i,"data-state":Fi(E),"data-disabled":a?"":void 0,disabled:a,value:l,...d,ref:v,onClick:ae(e.onClick,S=>{C(k=>!k),b&&(m.current=S.isPropagationStopped(),m.current||S.stopPropagation())})}),b&&w.jsx($i,{control:h,bubbles:!m.current,name:r,value:l,checked:E,required:i,disabled:a,form:f,style:{transform:"translateX(-100%)"}})]})});Ni.displayName=cn;var ji="SwitchThumb",_i=g.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,o=ih(ji,n);return w.jsx(le.span,{"data-state":Fi(o.checked),"data-disabled":o.disabled?"":void 0,...r,ref:t})});_i.displayName=ji;var ah="SwitchBubbleInput",$i=g.forwardRef(({__scopeSwitch:e,control:t,checked:n,bubbles:r=!0,...o},s)=>{const i=g.useRef(null),a=me(i,s),l=rh(n),u=Ls(t);return g.useEffect(()=>{const f=i.current;if(!f)return;const d=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(d,"checked").set;if(l!==n&&p){const v=new Event("click",{bubbles:r});p.call(f,n),f.dispatchEvent(v)}},[l,n,r]),w.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...o,tabIndex:-1,ref:a,style:{...o.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});$i.displayName=ah;function Fi(e){return e?"checked":"unchecked"}var Ii=Ni,ch=_i;const ir=g.forwardRef(({className:e,...t},n)=>w.jsx(Ii,{className:pe("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",e),...t,ref:n,children:w.jsx(ch,{className:pe("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})}));ir.displayName=Ii.displayName;function lh({locale:e}={}){const{t}=Ie("heroBanner",e);return w.jsxs("div",{className:"flex flex-col items-center gap-4 text-center",children:[w.jsx("p",{className:"text-xs uppercase tracking-[0.3em] text-muted-foreground",children:t("subtitle")}),w.jsx("h1",{className:"text-balance text-4xl font-bold leading-tight md:text-5xl",children:t("title")}),w.jsx("p",{className:"text-balance text-lg text-muted-foreground md:max-w-2xl",children:t("description")})]})}function uh({locale:e}={}){const{t}=Ie("componentsPanel",e);return w.jsxs("section",{className:"space-y-5 rounded-3xl bg-card/95 p-6 text-card-foreground shadow-[0_25px_60px_rgba(8,6,20,0.25)]",children:[w.jsxs("div",{className:"flex items-center gap-3",children:[w.jsx(it,{size:28,variant:"Bold",className:"text-primary"}),w.jsxs("div",{children:[w.jsx("p",{className:"text-xs uppercase tracking-[0.2em] text-muted-foreground",children:t("sectionLabel")}),w.jsx("h2",{className:"text-2xl font-semibold",children:t("sectionTitle")})]})]}),w.jsxs("div",{className:"flex flex-wrap gap-3",children:[w.jsx(ce,{shine:!0,iconPosition:"right",icon:w.jsx(Ue,{size:24,variant:"Bold","aria-hidden":!0}),children:t("buttons.primary")}),w.jsx(ce,{variant:"secondary",children:t("buttons.secondary")}),w.jsx(ce,{shine:!0,variant:"neutral",children:t("buttons.neutral")}),w.jsx(ce,{variant:"primary",shape:"soft",children:t("buttons.ctaWithRadius")}),w.jsx(ce,{variant:"outline",children:t("buttons.outline")}),w.jsx(ce,{variant:"outline",shape:"soft",children:t("buttons.outlineWithRadius")}),w.jsx(ce,{variant:"ghost",children:t("buttons.ghost")}),w.jsx(ce,{variant:"icon",size:"icon","aria-label":t("buttons.createAriaLabel"),icon:w.jsx(it,{size:18,variant:"Bold","aria-hidden":!0})}),w.jsxs("div",{className:"flex items-center gap-2",children:[w.jsx(ir,{id:"airplane-mode"}),w.jsx("label",{htmlFor:"airplane-mode",className:"text-sm font-medium",children:t("switch.airplaneMode")})]}),w.jsx(Mi,{})]})]})}function dh({locale:e}={}){const{t}=Ie("callToActionPanel",e);return w.jsxs("section",{className:"space-y-5 rounded-3xl bg-card/95 p-6 text-card-foreground shadow-[0_25px_60px_rgba(8,6,20,0.25)]",children:[w.jsxs("div",{className:"flex items-center gap-3",children:[w.jsx(Ue,{size:28,variant:"Bold",className:"text-primary"}),w.jsxs("div",{children:[w.jsx("p",{className:"text-xs uppercase tracking-[0.2em] text-muted-foreground",children:t("sectionLabel")}),w.jsx("h2",{className:"text-2xl font-semibold",children:t("sectionTitle")})]})]}),w.jsx("p",{className:"text-sm text-muted-foreground",children:t("description")}),w.jsxs("div",{className:"flex flex-wrap gap-3",children:[w.jsx(ce,{size:"md",shine:!0,icon:w.jsx(Ue,{size:24,variant:"Bold","aria-hidden":!0}),iconPosition:"right",children:t("buttons.explore")}),w.jsx(ce,{variant:"neutral",size:"lg",children:t("buttons.documentation")}),w.jsx(ce,{variant:"danger",size:"lg",children:t("buttons.undo")})]})]})}function fh({locale:e}={}){const{t}=Ie("badgesPanel",e);return w.jsxs("section",{className:"w-full space-y-4 rounded-3xl bg-card/95 p-6 text-card-foreground shadow-[0_25px_60px_rgba(8,6,20,0.25)]",children:[w.jsxs("div",{children:[w.jsx("p",{className:"text-xs uppercase tracking-[0.2em] text-muted-foreground",children:t("sectionLabel")}),w.jsx("h2",{className:"text-2xl font-semibold",children:t("sectionTitle")}),w.jsx("p",{className:"text-sm text-muted-foreground",children:t("description")})]}),w.jsx("div",{className:"space-y-4",children:ds.map(n=>{const r=us.filter(o=>!o.onlyAppearances||o.onlyAppearances.includes(n.appearance));return w.jsxs("div",{className:"space-y-2",children:[w.jsx("p",{className:"text-[11px] font-semibold uppercase tracking-[0.2em] text-muted-foreground",children:n.label}),w.jsx("div",{className:"flex flex-wrap gap-2",children:r.map(o=>w.jsx(ls,{variant:o.variant,appearance:n.appearance,locale:e},`${n.appearance}-${o.variant}`))})]},n.appearance)})})]})}exports.BadgesPanel=fh;exports.Button=ce;exports.CallToActionPanel=dh;exports.ComponentsPanel=uh;exports.DEFAULT_LOCALE=jd;exports.HeroBanner=lh;exports.I18nProvider=$d;exports.Input=Un;exports.LOCALE_LABELS=is;exports.LanguageSwitcher=_d;exports.Popover=ci;exports.PopoverContent=rr;exports.PopoverTrigger=li;exports.ResourceBadge=ls;exports.SUPPORTED_LOCALES=Nd;exports.SearchPopover=Mi;exports.Switch=ir;exports.Tabs=Pi;exports.TabsContent=Ai;exports.TabsList=sr;exports.TabsTrigger=zt;exports.buttonVariants=Go;exports.i18n=ie;exports.resourceBadgeAppearances=ds;exports.resourceBadgeVariants=us;exports.useI18n=Ie;
47
+ `)},S1=0,We=[];function k1(e){var t=g.useRef([]),n=g.useRef([0,0]),r=g.useRef(),o=g.useState(S1++)[0],s=g.useState(Us)[0],i=g.useRef(e);g.useEffect(function(){i.current=e},[e]),g.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=Hp([e.lockRef.current],(e.shards||[]).map(Lo),!0).filter(Boolean);return m.forEach(function(b){return b.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=g.useCallback(function(m,b){if("touches"in m&&m.touches.length===2||m.type==="wheel"&&m.ctrlKey)return!i.current.allowPinchZoom;var E=Tt(m),C=n.current,S="deltaX"in m?m.deltaX:C[0]-E[0],k="deltaY"in m?m.deltaY:C[1]-E[1],x,_=m.target,M=Math.abs(S)>Math.abs(k)?"h":"v";if("touches"in m&&M==="h"&&_.type==="range")return!1;var R=To(M,_);if(!R)return!0;if(R?x=M:(x=M==="v"?"h":"v",R=To(M,_)),!R)return!1;if(!r.current&&"changedTouches"in m&&(S||k)&&(r.current=x),!x)return!0;var $=r.current||x;return x1($,b,m,$==="h"?S:k)},[]),l=g.useCallback(function(m){var b=m;if(!(!We.length||We[We.length-1]!==s)){var E="deltaY"in b?Ro(b):Tt(b),C=t.current.filter(function(x){return x.name===b.type&&(x.target===b.target||b.target===x.shadowParent)&&w1(x.delta,E)})[0];if(C&&C.should){b.cancelable&&b.preventDefault();return}if(!C){var S=(i.current.shards||[]).map(Lo).filter(Boolean).filter(function(x){return x.contains(b.target)}),k=S.length>0?a(b,S[0]):!i.current.noIsolation;k&&b.cancelable&&b.preventDefault()}}},[]),u=g.useCallback(function(m,b,E,C){var S={name:m,delta:b,target:E,should:C,shadowParent:C1(E)};t.current.push(S),setTimeout(function(){t.current=t.current.filter(function(k){return k!==S})},1)},[]),f=g.useCallback(function(m){n.current=Tt(m),r.current=void 0},[]),d=g.useCallback(function(m){u(m.type,Ro(m),m.target,a(m,e.lockRef.current))},[]),h=g.useCallback(function(m){u(m.type,Tt(m),m.target,a(m,e.lockRef.current))},[]);g.useEffect(function(){return We.push(s),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",l,Ve),document.addEventListener("touchmove",l,Ve),document.addEventListener("touchstart",f,Ve),function(){We=We.filter(function(m){return m!==s}),document.removeEventListener("wheel",l,Ve),document.removeEventListener("touchmove",l,Ve),document.removeEventListener("touchstart",f,Ve)}},[]);var p=e.removeScrollBar,v=e.inert;return g.createElement(g.Fragment,null,v?g.createElement(s,{styles:E1(o)}):null,p?g.createElement(p1,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function C1(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const O1=e1(Hs,k1);var qs=g.forwardRef(function(e,t){return g.createElement(on,be({},e,{ref:t,sideCar:O1}))});qs.classNames=on.classNames;var sn="Popover",[Xs]=Xe(sn,[As]),ft=As(),[T1,Ne]=Xs(sn),Js=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:s,modal:i=!1}=e,a=ft(t),l=g.useRef(null),[u,f]=g.useState(!1),[d,h]=rn({prop:r,defaultProp:o??!1,onChange:s,caller:sn});return w.jsx(Ap,{...a,children:w.jsx(T1,{scope:t,contentId:Kn(),triggerRef:l,open:d,onOpenChange:h,onOpenToggle:g.useCallback(()=>h(p=>!p),[h]),hasCustomAnchor:u,onCustomAnchorAdd:g.useCallback(()=>f(!0),[]),onCustomAnchorRemove:g.useCallback(()=>f(!1),[]),modal:i,children:n})})};Js.displayName=sn;var Qs="PopoverAnchor",R1=g.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Ne(Qs,n),s=ft(n),{onCustomAnchorAdd:i,onCustomAnchorRemove:a}=o;return g.useEffect(()=>(i(),()=>a()),[i,a]),w.jsx(Ds,{...s,...r,ref:t})});R1.displayName=Qs;var ei="PopoverTrigger",ti=g.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Ne(ei,n),s=ft(n),i=me(t,o.triggerRef),a=w.jsx(le.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":ii(o.open),...r,ref:i,onClick:ae(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?a:w.jsx(Ds,{asChild:!0,...s,children:a})});ti.displayName=ei;var nr="PopoverPortal",[L1,P1]=Xs(nr,{forceMount:void 0}),ni=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,s=Ne(nr,t);return w.jsx(L1,{scope:t,forceMount:n,children:w.jsx(nn,{present:n||s.open,children:w.jsx(zs,{asChild:!0,container:o,children:r})})})};ni.displayName=nr;var Ye="PopoverContent",ri=g.forwardRef((e,t)=>{const n=P1(Ye,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,s=Ne(Ye,e.__scopePopover);return w.jsx(nn,{present:r||s.open,children:s.modal?w.jsx(M1,{...o,ref:t}):w.jsx(N1,{...o,ref:t})})});ri.displayName=Ye;var A1=$t("PopoverContent.RemoveScroll"),M1=g.forwardRef((e,t)=>{const n=Ne(Ye,e.__scopePopover),r=g.useRef(null),o=me(t,r),s=g.useRef(!1);return g.useEffect(()=>{const i=r.current;if(i)return Zp(i)},[]),w.jsx(qs,{as:A1,allowPinchZoom:!0,children:w.jsx(oi,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ae(e.onCloseAutoFocus,i=>{i.preventDefault(),s.current||n.triggerRef.current?.focus()}),onPointerDownOutside:ae(e.onPointerDownOutside,i=>{const a=i.detail.originalEvent,l=a.button===0&&a.ctrlKey===!0,u=a.button===2||l;s.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:ae(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})})}),N1=g.forwardRef((e,t)=>{const n=Ne(Ye,e.__scopePopover),r=g.useRef(!1),o=g.useRef(!1);return w.jsx(oi,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{e.onCloseAutoFocus?.(s),s.defaultPrevented||(r.current||n.triggerRef.current?.focus(),s.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:s=>{e.onInteractOutside?.(s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const i=s.target;n.triggerRef.current?.contains(i)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&o.current&&s.preventDefault()}})}),oi=g.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:s,disableOutsidePointerEvents:i,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:f,...d}=e,h=Ne(Ye,n),p=ft(n);return nf(),w.jsx(ms,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:s,children:w.jsx(ps,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:f,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>h.onOpenChange(!1),children:w.jsx(Mp,{"data-state":ii(h.open),role:"dialog",id:h.contentId,...p,...d,ref:t,style:{...d.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)"}})})})}),si="PopoverClose",j1=g.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=Ne(si,n);return w.jsx(le.button,{type:"button",...r,ref:t,onClick:ae(e.onClick,()=>o.onOpenChange(!1))})});j1.displayName=si;var _1="PopoverArrow",$1=g.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,o=ft(n);return w.jsx(Np,{...o,...r,ref:t})});$1.displayName=_1;function ii(e){return e?"open":"closed"}var F1=Js,I1=ti,B1=ni,ai=ri;const ci=F1,li=I1,rr=g.forwardRef(({className:e,align:t="center",sideOffset:n=4,...r},o)=>w.jsx(B1,{children:w.jsx(ai,{ref:o,align:t,sideOffset:n,className:pe("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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",e),...r})}));rr.displayName=ai.displayName;function D1(e){const t=e+"CollectionProvider",[n,r]=Xe(t),[o,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=m=>{const{scope:b,children:E}=m,C=c.useRef(null),S=c.useRef(new Map).current;return w.jsx(o,{scope:b,itemMap:S,collectionRef:C,children:E})};i.displayName=t;const a=e+"CollectionSlot",l=$t(a),u=c.forwardRef((m,b)=>{const{scope:E,children:C}=m,S=s(a,E),k=me(b,S.collectionRef);return w.jsx(l,{ref:k,children:C})});u.displayName=a;const f=e+"CollectionItemSlot",d="data-radix-collection-item",h=$t(f),p=c.forwardRef((m,b)=>{const{scope:E,children:C,...S}=m,k=c.useRef(null),x=me(b,k),_=s(f,E);return c.useEffect(()=>(_.itemMap.set(k,{ref:k,...S}),()=>void _.itemMap.delete(k))),w.jsx(h,{[d]:"",ref:x,children:C})});p.displayName=f;function v(m){const b=s(e+"CollectionConsumer",m);return c.useCallback(()=>{const C=b.collectionRef.current;if(!C)return[];const S=Array.from(C.querySelectorAll(`[${d}]`));return Array.from(b.itemMap.values()).sort((_,M)=>S.indexOf(_.ref.current)-S.indexOf(M.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:i,Slot:u,ItemSlot:p},v,r]}var z1=g.createContext(void 0);function ui(e){const t=g.useContext(z1);return e||t||"ltr"}var An="rovingFocusGroup.onEntryFocus",V1={bubbles:!1,cancelable:!0},pt="RovingFocusGroup",[Vn,di,W1]=D1(pt),[Z1,fi]=Xe(pt,[W1]),[H1,U1]=Z1(pt),pi=g.forwardRef((e,t)=>w.jsx(Vn.Provider,{scope:e.__scopeRovingFocusGroup,children:w.jsx(Vn.Slot,{scope:e.__scopeRovingFocusGroup,children:w.jsx(K1,{...e,ref:t})})}));pi.displayName=pt;var K1=g.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:s,currentTabStopId:i,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:l,onEntryFocus:u,preventScrollOnEntryFocus:f=!1,...d}=e,h=g.useRef(null),p=me(t,h),v=ui(s),[m,b]=rn({prop:i,defaultProp:a??null,onChange:l,caller:pt}),[E,C]=g.useState(!1),S=$e(u),k=di(n),x=g.useRef(!1),[_,M]=g.useState(0);return g.useEffect(()=>{const R=h.current;if(R)return R.addEventListener(An,S),()=>R.removeEventListener(An,S)},[S]),w.jsx(H1,{scope:n,orientation:r,dir:v,loop:o,currentTabStopId:m,onItemFocus:g.useCallback(R=>b(R),[b]),onItemShiftTab:g.useCallback(()=>C(!0),[]),onFocusableItemAdd:g.useCallback(()=>M(R=>R+1),[]),onFocusableItemRemove:g.useCallback(()=>M(R=>R-1),[]),children:w.jsx(le.div,{tabIndex:E||_===0?-1:0,"data-orientation":r,...d,ref:p,style:{outline:"none",...e.style},onMouseDown:ae(e.onMouseDown,()=>{x.current=!0}),onFocus:ae(e.onFocus,R=>{const $=!x.current;if(R.target===R.currentTarget&&$&&!E){const F=new CustomEvent(An,V1);if(R.currentTarget.dispatchEvent(F),!F.defaultPrevented){const V=k().filter(D=>D.focusable),W=V.find(D=>D.active),U=V.find(D=>D.id===m),ee=[W,U,...V].filter(Boolean).map(D=>D.ref.current);gi(ee,f)}}x.current=!1}),onBlur:ae(e.onBlur,()=>C(!1))})})}),hi="RovingFocusGroupItem",mi=g.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:s,children:i,...a}=e,l=Kn(),u=s||l,f=U1(hi,n),d=f.currentTabStopId===u,h=di(n),{onFocusableItemAdd:p,onFocusableItemRemove:v,currentTabStopId:m}=f;return g.useEffect(()=>{if(r)return p(),()=>v()},[r,p,v]),w.jsx(Vn.ItemSlot,{scope:n,id:u,focusable:r,active:o,children:w.jsx(le.span,{tabIndex:d?0:-1,"data-orientation":f.orientation,...a,ref:t,onMouseDown:ae(e.onMouseDown,b=>{r?f.onItemFocus(u):b.preventDefault()}),onFocus:ae(e.onFocus,()=>f.onItemFocus(u)),onKeyDown:ae(e.onKeyDown,b=>{if(b.key==="Tab"&&b.shiftKey){f.onItemShiftTab();return}if(b.target!==b.currentTarget)return;const E=q1(b,f.orientation,f.dir);if(E!==void 0){if(b.metaKey||b.ctrlKey||b.altKey||b.shiftKey)return;b.preventDefault();let S=h().filter(k=>k.focusable).map(k=>k.ref.current);if(E==="last")S.reverse();else if(E==="prev"||E==="next"){E==="prev"&&S.reverse();const k=S.indexOf(b.currentTarget);S=f.loop?X1(S,k+1):S.slice(k+1)}setTimeout(()=>gi(S))}}),children:typeof i=="function"?i({isCurrentTabStop:d,hasTabStop:m!=null}):i})})});mi.displayName=hi;var Y1={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function G1(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function q1(e,t,n){const r=G1(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return Y1[r]}function gi(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function X1(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var J1=pi,Q1=mi,an="Tabs",[eh]=Xe(an,[fi]),vi=fi(),[th,or]=eh(an),yi=g.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:s,orientation:i="horizontal",dir:a,activationMode:l="automatic",...u}=e,f=ui(a),[d,h]=rn({prop:r,onChange:o,defaultProp:s??"",caller:an});return w.jsx(th,{scope:n,baseId:Kn(),value:d,onValueChange:h,orientation:i,dir:f,activationMode:l,children:w.jsx(le.div,{dir:f,"data-orientation":i,...u,ref:t})})});yi.displayName=an;var bi="TabsList",xi=g.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...o}=e,s=or(bi,n),i=vi(n);return w.jsx(J1,{asChild:!0,...i,orientation:s.orientation,dir:s.dir,loop:r,children:w.jsx(le.div,{role:"tablist","aria-orientation":s.orientation,...o,ref:t})})});xi.displayName=bi;var wi="TabsTrigger",Ei=g.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...s}=e,i=or(wi,n),a=vi(n),l=Ci(i.baseId,r),u=Oi(i.baseId,r),f=r===i.value;return w.jsx(Q1,{asChild:!0,...a,focusable:!o,active:f,children:w.jsx(le.button,{type:"button",role:"tab","aria-selected":f,"aria-controls":u,"data-state":f?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l,...s,ref:t,onMouseDown:ae(e.onMouseDown,d=>{!o&&d.button===0&&d.ctrlKey===!1?i.onValueChange(r):d.preventDefault()}),onKeyDown:ae(e.onKeyDown,d=>{[" ","Enter"].includes(d.key)&&i.onValueChange(r)}),onFocus:ae(e.onFocus,()=>{const d=i.activationMode!=="manual";!f&&!o&&d&&i.onValueChange(r)})})})});Ei.displayName=wi;var Si="TabsContent",ki=g.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:o,children:s,...i}=e,a=or(Si,n),l=Ci(a.baseId,r),u=Oi(a.baseId,r),f=r===a.value,d=g.useRef(f);return g.useEffect(()=>{const h=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(h)},[]),w.jsx(nn,{present:o||f,children:({present:h})=>w.jsx(le.div,{"data-state":f?"active":"inactive","data-orientation":a.orientation,role:"tabpanel","aria-labelledby":l,hidden:!h,id:u,tabIndex:0,...i,ref:t,style:{...e.style,animationDuration:d.current?"0s":void 0},children:h&&s})})});ki.displayName=Si;function Ci(e,t){return`${e}-trigger-${t}`}function Oi(e,t){return`${e}-content-${t}`}var nh=yi,Ti=xi,Ri=Ei,Li=ki;const Pi=nh,sr=g.forwardRef(({className:e,...t},n)=>w.jsx(Ti,{ref:n,className:pe("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",e),...t}));sr.displayName=Ti.displayName;const zt=g.forwardRef(({className:e,...t},n)=>w.jsx(Ri,{ref:n,className:pe("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",e),...t}));zt.displayName=Ri.displayName;const Ai=g.forwardRef(({className:e,...t},n)=>w.jsx(Li,{ref:n,className:pe("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));Ai.displayName=Li.displayName;function Mi({scope:e="page",onScopeChange:t,query:n,onQueryChange:r,resultsCount:o=0,onNext:s,onPrev:i,className:a}){return w.jsxs(ci,{children:[w.jsx(li,{asChild:!0,children:w.jsx(ce,{variant:"ghost",size:"icon",className:pe("h-8 w-8 rounded-lg bg-[#F5F7FB] text-[#FF246E] hover:bg-[#F5F7FB] hover:brightness-95",a),icon:w.jsx(at,{size:20,variant:"Linear"})})}),w.jsx(rr,{className:"w-[calc(100vw-32px)] sm:w-[461px] rounded-xl border-none bg-[#F5F7FB] p-2 shadow-[0px_4px_17.6px_0px_rgba(0,0,0,0.25)]",align:"start",collisionPadding:16,children:w.jsxs("div",{className:"flex flex-col gap-4",children:[w.jsx(Pi,{value:e,onValueChange:l=>t?.(l),className:"w-full",children:w.jsxs(sr,{className:"flex h-auto w-full sm:w-fit justify-start gap-2.5 rounded-[6px] bg-[#487BFF] p-[5px]",children:[w.jsx(zt,{value:"page",className:"h-auto flex-1 sm:flex-none rounded-[3px] px-2 py-1 font-['Plus_Jakarta_Sans'] text-[12px] sm:text-[14px] font-bold leading-[1.42] text-muted-foreground data-[state=active]:bg-white data-[state=active]:text-muted-foreground data-[state=inactive]:bg-transparent data-[state=inactive]:text-white/80",children:"Apenas nessa página"}),w.jsx(zt,{value:"all",className:"h-auto flex-1 sm:flex-none rounded-[3px] px-2 py-1 font-['Plus_Jakarta_Sans'] text-[12px] sm:text-[14px] font-bold leading-[1.42] text-white data-[state=active]:bg-white data-[state=active]:text-muted-foreground data-[state=inactive]:bg-transparent data-[state=inactive]:text-white/80",children:"Em todas as páginas"})]})}),w.jsxs("div",{className:"relative",children:[w.jsx(at,{size:20,variant:"Linear",color:"#FF246E",className:"absolute left-4 top-1/2 -translate-y-1/2"}),w.jsx(Un,{value:n,onChange:l=>r?.(l.target.value),className:"h-10 rounded-xl border-2 border-[#CCCCCC] bg-white pl-[46px] pr-4 text-[16px] sm:text-[14px] placeholder:text-muted-foreground focus-visible:ring-0 focus-visible:ring-offset-0",placeholder:""})]}),w.jsxs("div",{className:"flex items-center justify-between px-1",children:[w.jsxs("span",{className:"font-['Plus_Jakarta_Sans'] text-[14px] font-bold leading-[1.42] text-muted-foreground",children:[o," Resultados"]}),w.jsxs("div",{className:"flex gap-4",children:[w.jsx(ce,{variant:"ghost",size:"icon",className:"h-6 w-6 text-muted-foreground hover:bg-transparent hover:text-black",onClick:i,disabled:!o,icon:w.jsx(Wt,{size:24,variant:"Linear"})}),w.jsx(ce,{variant:"ghost",size:"icon",className:"h-6 w-6 text-muted-foreground hover:bg-transparent hover:text-black",onClick:s,disabled:!o,icon:w.jsx(Vt,{size:24,variant:"Linear"})})]})]})]})})]})}function rh(e){const t=g.useRef({value:e,previous:e});return g.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var cn="Switch",[oh]=Xe(cn),[sh,ih]=oh(cn),Ni=g.forwardRef((e,t)=>{const{__scopeSwitch:n,name:r,checked:o,defaultChecked:s,required:i,disabled:a,value:l="on",onCheckedChange:u,form:f,...d}=e,[h,p]=g.useState(null),v=me(t,S=>p(S)),m=g.useRef(!1),b=h?f||!!h.closest("form"):!0,[E,C]=rn({prop:o,defaultProp:s??!1,onChange:u,caller:cn});return w.jsxs(sh,{scope:n,checked:E,disabled:a,children:[w.jsx(le.button,{type:"button",role:"switch","aria-checked":E,"aria-required":i,"data-state":Fi(E),"data-disabled":a?"":void 0,disabled:a,value:l,...d,ref:v,onClick:ae(e.onClick,S=>{C(k=>!k),b&&(m.current=S.isPropagationStopped(),m.current||S.stopPropagation())})}),b&&w.jsx($i,{control:h,bubbles:!m.current,name:r,value:l,checked:E,required:i,disabled:a,form:f,style:{transform:"translateX(-100%)"}})]})});Ni.displayName=cn;var ji="SwitchThumb",_i=g.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,o=ih(ji,n);return w.jsx(le.span,{"data-state":Fi(o.checked),"data-disabled":o.disabled?"":void 0,...r,ref:t})});_i.displayName=ji;var ah="SwitchBubbleInput",$i=g.forwardRef(({__scopeSwitch:e,control:t,checked:n,bubbles:r=!0,...o},s)=>{const i=g.useRef(null),a=me(i,s),l=rh(n),u=Ls(t);return g.useEffect(()=>{const f=i.current;if(!f)return;const d=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(d,"checked").set;if(l!==n&&p){const v=new Event("click",{bubbles:r});p.call(f,n),f.dispatchEvent(v)}},[l,n,r]),w.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...o,tabIndex:-1,ref:a,style:{...o.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});$i.displayName=ah;function Fi(e){return e?"checked":"unchecked"}var Ii=Ni,ch=_i;const ir=g.forwardRef(({className:e,...t},n)=>w.jsx(Ii,{className:pe("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",e),...t,ref:n,children:w.jsx(ch,{className:pe("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})}));ir.displayName=Ii.displayName;function lh({locale:e}={}){const{t}=Ie("heroBanner",e);return w.jsxs("div",{className:"flex flex-col items-center gap-4 text-center",children:[w.jsx("p",{className:"text-xs uppercase tracking-[0.3em] text-muted-foreground",children:t("subtitle")}),w.jsx("h1",{className:"text-balance text-4xl font-bold leading-tight md:text-5xl",children:t("title")}),w.jsx("p",{className:"text-balance text-lg text-muted-foreground md:max-w-2xl",children:t("description")})]})}function uh({locale:e}={}){const{t}=Ie("componentsPanel",e);return w.jsxs("section",{className:"space-y-5 rounded-3xl bg-card/95 p-6 text-card-foreground shadow-[0_25px_60px_rgba(8,6,20,0.25)]",children:[w.jsxs("div",{className:"flex items-center gap-3",children:[w.jsx(it,{size:28,variant:"Bold",className:"text-primary"}),w.jsxs("div",{children:[w.jsx("p",{className:"text-xs uppercase tracking-[0.2em] text-muted-foreground",children:t("sectionLabel")}),w.jsx("h2",{className:"text-2xl font-semibold",children:t("sectionTitle")})]})]}),w.jsxs("div",{className:"flex flex-wrap gap-3",children:[w.jsx(ce,{shine:!0,iconPosition:"right",icon:w.jsx(Ue,{size:24,variant:"Bold","aria-hidden":!0}),children:t("buttons.primary")}),w.jsx(ce,{variant:"secondary",children:t("buttons.secondary")}),w.jsx(ce,{shine:!0,variant:"neutral",children:t("buttons.neutral")}),w.jsx(ce,{variant:"primary",shape:"soft",children:t("buttons.ctaWithRadius")}),w.jsx(ce,{variant:"outline",children:t("buttons.outline")}),w.jsx(ce,{variant:"outline",shape:"soft",children:t("buttons.outlineWithRadius")}),w.jsx(ce,{variant:"ghost",children:t("buttons.ghost")}),w.jsx(ce,{variant:"icon",size:"icon","aria-label":t("buttons.createAriaLabel"),icon:w.jsx(it,{size:18,variant:"Bold","aria-hidden":!0})}),w.jsxs("div",{className:"flex items-center gap-2",children:[w.jsx(ir,{id:"airplane-mode"}),w.jsx("label",{htmlFor:"airplane-mode",className:"text-sm font-medium",children:t("switch.airplaneMode")})]}),w.jsx(Mi,{})]})]})}function dh({locale:e}={}){const{t}=Ie("callToActionPanel",e);return w.jsxs("section",{className:"space-y-5 rounded-3xl bg-card/95 p-6 text-card-foreground shadow-[0_25px_60px_rgba(8,6,20,0.25)]",children:[w.jsxs("div",{className:"flex items-center gap-3",children:[w.jsx(Ue,{size:28,variant:"Bold",className:"text-primary"}),w.jsxs("div",{children:[w.jsx("p",{className:"text-xs uppercase tracking-[0.2em] text-muted-foreground",children:t("sectionLabel")}),w.jsx("h2",{className:"text-2xl font-semibold",children:t("sectionTitle")})]})]}),w.jsx("p",{className:"text-sm text-muted-foreground",children:t("description")}),w.jsxs("div",{className:"flex flex-wrap gap-3",children:[w.jsx(ce,{size:"md",shine:!0,icon:w.jsx(Ue,{size:24,variant:"Bold","aria-hidden":!0}),iconPosition:"right",children:t("buttons.explore")}),w.jsx(ce,{variant:"neutral",size:"lg",children:t("buttons.documentation")}),w.jsx(ce,{variant:"danger",size:"lg",children:t("buttons.undo")})]})]})}function fh({locale:e}={}){const{t}=Ie("badgesPanel",e);return w.jsxs("section",{className:"w-full space-y-4 rounded-3xl bg-card/95 p-6 text-card-foreground shadow-[0_25px_60px_rgba(8,6,20,0.25)]",children:[w.jsxs("div",{children:[w.jsx("p",{className:"text-xs uppercase tracking-[0.2em] text-muted-foreground",children:t("sectionLabel")}),w.jsx("h2",{className:"text-2xl font-semibold",children:t("sectionTitle")}),w.jsx("p",{className:"text-sm text-muted-foreground",children:t("description")})]}),w.jsx("div",{className:"space-y-4",children:ds.map(n=>{const r=us.filter(o=>!o.onlyAppearances||o.onlyAppearances.includes(n.appearance));return w.jsxs("div",{className:"space-y-2",children:[w.jsx("p",{className:"text-[11px] font-semibold uppercase tracking-[0.2em] text-muted-foreground",children:n.label}),w.jsx("div",{className:"flex flex-wrap gap-2",children:r.map(o=>w.jsx(ls,{variant:o.variant,appearance:n.appearance,locale:e},`${n.appearance}-${o.variant}`))})]},n.appearance)})})]})}exports.BadgesPanel=fh;exports.Button=ce;exports.CallToActionPanel=dh;exports.ComponentsPanel=uh;exports.DEFAULT_LOCALE=jd;exports.HeroBanner=lh;exports.I18nProvider=$d;exports.Input=Un;exports.LOCALE_LABELS=is;exports.LanguageSwitcher=_d;exports.Popover=ci;exports.PopoverContent=rr;exports.PopoverTrigger=li;exports.ResourceBadge=ls;exports.SUPPORTED_LOCALES=Nd;exports.SearchPopover=Mi;exports.Switch=ir;exports.Tabs=Pi;exports.TabsContent=Ai;exports.TabsList=sr;exports.TabsTrigger=zt;exports.buttonVariants=Go;exports.i18n=se;exports.resourceBadgeAppearances=ds;exports.resourceBadgeVariants=us;exports.useI18n=Ie;