tcce-design-system-test 0.3.27 → 0.3.28

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.
@@ -1,9 +1,9 @@
1
- (function(T,f){typeof exports=="object"&&typeof module<"u"?f(exports,require("react"),require("react/jsx-runtime"),require("react-dom"),require("formik")):typeof define=="function"&&define.amd?define(["exports","react","react/jsx-runtime","react-dom","formik"],f):(T=typeof globalThis<"u"?globalThis:T||self,f(T["tcce-design-system-components"]={},T.React,T["react/jsx-runtime"],T.ReactDOM,T.Formik))})(this,(function(T,f,p,li,Zc){"use strict";function qc(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const cn=qc(f);var ge=function(){return ge=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},ge.apply(this,arguments)};function mt(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))}typeof SuppressedError=="function"&&SuppressedError;function Jc(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Qc=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,ed=Jc(function(e){return Qc.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Z="-ms-",zt="-moz-",Y="-webkit-",ci="comm",dn="rule",nr="decl",td="@import",di="@keyframes",nd="@layer",ui=Math.abs,rr=String.fromCharCode,or=Object.assign;function rd(e,t){return se(e,0)^45?(((t<<2^se(e,0))<<2^se(e,1))<<2^se(e,2))<<2^se(e,3):0}function hi(e){return e.trim()}function Oe(e,t){return(e=t.exec(e))?e[0]:e}function j(e,t,n){return e.replace(t,n)}function un(e,t,n){return e.indexOf(t,n)}function se(e,t){return e.charCodeAt(t)|0}function gt(e,t,n){return e.slice(t,n)}function Le(e){return e.length}function fi(e){return e.length}function Rt(e,t){return t.push(e),e}function od(e,t){return e.map(t).join("")}function pi(e,t){return e.filter(function(n){return!Oe(n,t)})}var hn=1,yt=1,mi=0,Se=0,ne=0,vt="";function fn(e,t,n,r,o,s,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:s,line:hn,column:yt,length:i,return:"",siblings:a}}function Ue(e,t){return or(fn("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function bt(e){for(;e.root;)e=Ue(e.root,{children:[e]});Rt(e,e.siblings)}function id(){return ne}function sd(){return ne=Se>0?se(vt,--Se):0,yt--,ne===10&&(yt=1,hn--),ne}function Ae(){return ne=Se<mi?se(vt,Se++):0,yt++,ne===10&&(yt=1,hn++),ne}function et(){return se(vt,Se)}function pn(){return Se}function mn(e,t){return gt(vt,e,t)}function ir(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ad(e){return hn=yt=1,mi=Le(vt=e),Se=0,[]}function ld(e){return vt="",e}function sr(e){return hi(mn(Se-1,ar(e===91?e+2:e===40?e+1:e)))}function cd(e){for(;(ne=et())&&ne<33;)Ae();return ir(e)>2||ir(ne)>3?"":" "}function dd(e,t){for(;--t&&Ae()&&!(ne<48||ne>102||ne>57&&ne<65||ne>70&&ne<97););return mn(e,pn()+(t<6&&et()==32&&Ae()==32))}function ar(e){for(;Ae();)switch(ne){case e:return Se;case 34:case 39:e!==34&&e!==39&&ar(ne);break;case 40:e===41&&ar(e);break;case 92:Ae();break}return Se}function ud(e,t){for(;Ae()&&e+ne!==57;)if(e+ne===84&&et()===47)break;return"/*"+mn(t,Se-1)+"*"+rr(e===47?e:Ae())}function hd(e){for(;!ir(et());)Ae();return mn(e,Se)}function fd(e){return ld(gn("",null,null,null,[""],e=ad(e),0,[0],e))}function gn(e,t,n,r,o,s,i,a,l){for(var d=0,u=0,c=i,h=0,m=0,g=0,b=1,x=1,y=1,C=0,w="",A=o,P=s,k=r,E=w;x;)switch(g=C,C=Ae()){case 40:if(g!=108&&se(E,c-1)==58){un(E+=j(sr(C),"&","&\f"),"&\f",ui(d?a[d-1]:0))!=-1&&(y=-1);break}case 34:case 39:case 91:E+=sr(C);break;case 9:case 10:case 13:case 32:E+=cd(g);break;case 92:E+=dd(pn()-1,7);continue;case 47:switch(et()){case 42:case 47:Rt(pd(ud(Ae(),pn()),t,n,l),l);break;default:E+="/"}break;case 123*b:a[d++]=Le(E)*y;case 125*b:case 59:case 0:switch(C){case 0:case 125:x=0;case 59+u:y==-1&&(E=j(E,/\f/g,"")),m>0&&Le(E)-c&&Rt(m>32?yi(E+";",r,n,c-1,l):yi(j(E," ","")+";",r,n,c-2,l),l);break;case 59:E+=";";default:if(Rt(k=gi(E,t,n,d,u,o,a,w,A=[],P=[],c,s),s),C===123)if(u===0)gn(E,t,k,k,A,s,c,a,P);else switch(h===99&&se(E,3)===110?100:h){case 100:case 108:case 109:case 115:gn(e,k,k,r&&Rt(gi(e,k,k,0,0,o,a,w,o,A=[],c,P),P),o,P,c,a,r?A:P);break;default:gn(E,k,k,k,[""],P,0,a,P)}}d=u=m=0,b=y=1,w=E="",c=i;break;case 58:c=1+Le(E),m=g;default:if(b<1){if(C==123)--b;else if(C==125&&b++==0&&sd()==125)continue}switch(E+=rr(C),C*b){case 38:y=u>0?1:(E+="\f",-1);break;case 44:a[d++]=(Le(E)-1)*y,y=1;break;case 64:et()===45&&(E+=sr(Ae())),h=et(),u=c=Le(w=E+=hd(pn())),C++;break;case 45:g===45&&Le(E)==2&&(b=0)}}return s}function gi(e,t,n,r,o,s,i,a,l,d,u,c){for(var h=o-1,m=o===0?s:[""],g=fi(m),b=0,x=0,y=0;b<r;++b)for(var C=0,w=gt(e,h+1,h=ui(x=i[b])),A=e;C<g;++C)(A=hi(x>0?m[C]+" "+w:j(w,/&\f/g,m[C])))&&(l[y++]=A);return fn(e,t,n,o===0?dn:a,l,d,u,c)}function pd(e,t,n,r){return fn(e,t,n,ci,rr(id()),gt(e,2,-2),0,r)}function yi(e,t,n,r,o){return fn(e,t,n,nr,gt(e,0,r),gt(e,r+1,-1),r,o)}function vi(e,t,n){switch(rd(e,t)){case 5103:return Y+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Y+e+e;case 4789:return zt+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Y+e+zt+e+Z+e+e;case 5936:switch(se(e,t+11)){case 114:return Y+e+Z+j(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Y+e+Z+j(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Y+e+Z+j(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Y+e+Z+e+e;case 6165:return Y+e+Z+"flex-"+e+e;case 5187:return Y+e+j(e,/(\w+).+(:[^]+)/,Y+"box-$1$2"+Z+"flex-$1$2")+e;case 5443:return Y+e+Z+"flex-item-"+j(e,/flex-|-self/g,"")+(Oe(e,/flex-|baseline/)?"":Z+"grid-row-"+j(e,/flex-|-self/g,""))+e;case 4675:return Y+e+Z+"flex-line-pack"+j(e,/align-content|flex-|-self/g,"")+e;case 5548:return Y+e+Z+j(e,"shrink","negative")+e;case 5292:return Y+e+Z+j(e,"basis","preferred-size")+e;case 6060:return Y+"box-"+j(e,"-grow","")+Y+e+Z+j(e,"grow","positive")+e;case 4554:return Y+j(e,/([^-])(transform)/g,"$1"+Y+"$2")+e;case 6187:return j(j(j(e,/(zoom-|grab)/,Y+"$1"),/(image-set)/,Y+"$1"),e,"")+e;case 5495:case 3959:return j(e,/(image-set\([^]*)/,Y+"$1$`$1");case 4968:return j(j(e,/(.+:)(flex-)?(.*)/,Y+"box-pack:$3"+Z+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Y+e+e;case 4200:if(!Oe(e,/flex-|baseline/))return Z+"grid-column-align"+gt(e,t)+e;break;case 2592:case 3360:return Z+j(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,o){return t=o,Oe(r.props,/grid-\w+-end/)})?~un(e+(n=n[t].value),"span",0)?e:Z+j(e,"-start","")+e+Z+"grid-row-span:"+(~un(n,"span",0)?Oe(n,/\d+/):+Oe(n,/\d+/)-+Oe(e,/\d+/))+";":Z+j(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return Oe(r.props,/grid-\w+-start/)})?e:Z+j(j(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return j(e,/(.+)-inline(.+)/,Y+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Le(e)-1-t>6)switch(se(e,t+1)){case 109:if(se(e,t+4)!==45)break;case 102:return j(e,/(.+:)(.+)-([^]+)/,"$1"+Y+"$2-$3$1"+zt+(se(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~un(e,"stretch",0)?vi(j(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return j(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,o,s,i,a,l,d){return Z+o+":"+s+d+(i?Z+o+"-span:"+(a?l:+l-+s)+d:"")+e});case 4949:if(se(e,t+6)===121)return j(e,":",":"+Y)+e;break;case 6444:switch(se(e,se(e,14)===45?18:11)){case 120:return j(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Y+(se(e,14)===45?"inline-":"")+"box$3$1"+Y+"$2$3$1"+Z+"$2box$3")+e;case 100:return j(e,":",":"+Z)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return j(e,"scroll-","scroll-snap-")+e}return e}function yn(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function md(e,t,n,r){switch(e.type){case nd:if(e.children.length)break;case td:case nr:return e.return=e.return||e.value;case ci:return"";case di:return e.return=e.value+"{"+yn(e.children,r)+"}";case dn:if(!Le(e.value=e.props.join(",")))return""}return Le(n=yn(e.children,r))?e.return=e.value+"{"+n+"}":""}function gd(e){var t=fi(e);return function(n,r,o,s){for(var i="",a=0;a<t;a++)i+=e[a](n,r,o,s)||"";return i}}function yd(e){return function(t){t.root||(t=t.return)&&e(t)}}function vd(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case nr:e.return=vi(e.value,e.length,n);return;case di:return yn([Ue(e,{value:j(e.value,"@","@"+Y)})],r);case dn:if(e.length)return od(n=e.props,function(o){switch(Oe(o,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":bt(Ue(e,{props:[j(o,/:(read-\w+)/,":"+zt+"$1")]})),bt(Ue(e,{props:[o]})),or(e,{props:pi(n,r)});break;case"::placeholder":bt(Ue(e,{props:[j(o,/:(plac\w+)/,":"+Y+"input-$1")]})),bt(Ue(e,{props:[j(o,/:(plac\w+)/,":"+zt+"$1")]})),bt(Ue(e,{props:[j(o,/:(plac\w+)/,Z+"input-$1")]})),bt(Ue(e,{props:[o]})),or(e,{props:pi(n,r)});break}return""})}}var bd={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},tt=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",bi="active",wi="data-styled-version",vn="6.1.19",lr=`/*!sc*/
2
- `,bn=typeof window<"u"&&typeof document<"u",wd=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production"),xi=/invalid hook call/i,wn=new Set,xd=function(e,t){if(process.env.NODE_ENV!=="production"){var n=t?' with the id of "'.concat(t,'"'):"",r="The component ".concat(e).concat(n,` has been created dynamically.
1
+ (function(T,f){typeof exports=="object"&&typeof module<"u"?f(exports,require("react"),require("react/jsx-runtime"),require("react-dom"),require("formik")):typeof define=="function"&&define.amd?define(["exports","react","react/jsx-runtime","react-dom","formik"],f):(T=typeof globalThis<"u"?globalThis:T||self,f(T["tcce-design-system-components"]={},T.React,T["react/jsx-runtime"],T.ReactDOM,T.Formik))})(this,(function(T,f,p,li,qc){"use strict";function Jc(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const cn=Jc(f);var ge=function(){return ge=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},ge.apply(this,arguments)};function mt(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))}typeof SuppressedError=="function"&&SuppressedError;function Qc(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var ed=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,td=Qc(function(e){return ed.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Z="-ms-",zt="-moz-",Y="-webkit-",ci="comm",dn="rule",nr="decl",nd="@import",di="@keyframes",rd="@layer",ui=Math.abs,rr=String.fromCharCode,or=Object.assign;function od(e,t){return se(e,0)^45?(((t<<2^se(e,0))<<2^se(e,1))<<2^se(e,2))<<2^se(e,3):0}function hi(e){return e.trim()}function Fe(e,t){return(e=t.exec(e))?e[0]:e}function j(e,t,n){return e.replace(t,n)}function un(e,t,n){return e.indexOf(t,n)}function se(e,t){return e.charCodeAt(t)|0}function gt(e,t,n){return e.slice(t,n)}function Le(e){return e.length}function fi(e){return e.length}function Rt(e,t){return t.push(e),e}function id(e,t){return e.map(t).join("")}function pi(e,t){return e.filter(function(n){return!Fe(n,t)})}var hn=1,yt=1,mi=0,Se=0,ne=0,vt="";function fn(e,t,n,r,o,s,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:s,line:hn,column:yt,length:i,return:"",siblings:a}}function We(e,t){return or(fn("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function bt(e){for(;e.root;)e=We(e.root,{children:[e]});Rt(e,e.siblings)}function sd(){return ne}function ad(){return ne=Se>0?se(vt,--Se):0,yt--,ne===10&&(yt=1,hn--),ne}function Ae(){return ne=Se<mi?se(vt,Se++):0,yt++,ne===10&&(yt=1,hn++),ne}function et(){return se(vt,Se)}function pn(){return Se}function mn(e,t){return gt(vt,e,t)}function ir(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ld(e){return hn=yt=1,mi=Le(vt=e),Se=0,[]}function cd(e){return vt="",e}function sr(e){return hi(mn(Se-1,ar(e===91?e+2:e===40?e+1:e)))}function dd(e){for(;(ne=et())&&ne<33;)Ae();return ir(e)>2||ir(ne)>3?"":" "}function ud(e,t){for(;--t&&Ae()&&!(ne<48||ne>102||ne>57&&ne<65||ne>70&&ne<97););return mn(e,pn()+(t<6&&et()==32&&Ae()==32))}function ar(e){for(;Ae();)switch(ne){case e:return Se;case 34:case 39:e!==34&&e!==39&&ar(ne);break;case 40:e===41&&ar(e);break;case 92:Ae();break}return Se}function hd(e,t){for(;Ae()&&e+ne!==57;)if(e+ne===84&&et()===47)break;return"/*"+mn(t,Se-1)+"*"+rr(e===47?e:Ae())}function fd(e){for(;!ir(et());)Ae();return mn(e,Se)}function pd(e){return cd(gn("",null,null,null,[""],e=ld(e),0,[0],e))}function gn(e,t,n,r,o,s,i,a,l){for(var d=0,u=0,c=i,h=0,m=0,g=0,v=1,w=1,y=1,S=0,x="",A=o,P=s,k=r,E=x;w;)switch(g=S,S=Ae()){case 40:if(g!=108&&se(E,c-1)==58){un(E+=j(sr(S),"&","&\f"),"&\f",ui(d?a[d-1]:0))!=-1&&(y=-1);break}case 34:case 39:case 91:E+=sr(S);break;case 9:case 10:case 13:case 32:E+=dd(g);break;case 92:E+=ud(pn()-1,7);continue;case 47:switch(et()){case 42:case 47:Rt(md(hd(Ae(),pn()),t,n,l),l);break;default:E+="/"}break;case 123*v:a[d++]=Le(E)*y;case 125*v:case 59:case 0:switch(S){case 0:case 125:w=0;case 59+u:y==-1&&(E=j(E,/\f/g,"")),m>0&&Le(E)-c&&Rt(m>32?yi(E+";",r,n,c-1,l):yi(j(E," ","")+";",r,n,c-2,l),l);break;case 59:E+=";";default:if(Rt(k=gi(E,t,n,d,u,o,a,x,A=[],P=[],c,s),s),S===123)if(u===0)gn(E,t,k,k,A,s,c,a,P);else switch(h===99&&se(E,3)===110?100:h){case 100:case 108:case 109:case 115:gn(e,k,k,r&&Rt(gi(e,k,k,0,0,o,a,x,o,A=[],c,P),P),o,P,c,a,r?A:P);break;default:gn(E,k,k,k,[""],P,0,a,P)}}d=u=m=0,v=y=1,x=E="",c=i;break;case 58:c=1+Le(E),m=g;default:if(v<1){if(S==123)--v;else if(S==125&&v++==0&&ad()==125)continue}switch(E+=rr(S),S*v){case 38:y=u>0?1:(E+="\f",-1);break;case 44:a[d++]=(Le(E)-1)*y,y=1;break;case 64:et()===45&&(E+=sr(Ae())),h=et(),u=c=Le(x=E+=fd(pn())),S++;break;case 45:g===45&&Le(E)==2&&(v=0)}}return s}function gi(e,t,n,r,o,s,i,a,l,d,u,c){for(var h=o-1,m=o===0?s:[""],g=fi(m),v=0,w=0,y=0;v<r;++v)for(var S=0,x=gt(e,h+1,h=ui(w=i[v])),A=e;S<g;++S)(A=hi(w>0?m[S]+" "+x:j(x,/&\f/g,m[S])))&&(l[y++]=A);return fn(e,t,n,o===0?dn:a,l,d,u,c)}function md(e,t,n,r){return fn(e,t,n,ci,rr(sd()),gt(e,2,-2),0,r)}function yi(e,t,n,r,o){return fn(e,t,n,nr,gt(e,0,r),gt(e,r+1,-1),r,o)}function vi(e,t,n){switch(od(e,t)){case 5103:return Y+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Y+e+e;case 4789:return zt+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Y+e+zt+e+Z+e+e;case 5936:switch(se(e,t+11)){case 114:return Y+e+Z+j(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Y+e+Z+j(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Y+e+Z+j(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Y+e+Z+e+e;case 6165:return Y+e+Z+"flex-"+e+e;case 5187:return Y+e+j(e,/(\w+).+(:[^]+)/,Y+"box-$1$2"+Z+"flex-$1$2")+e;case 5443:return Y+e+Z+"flex-item-"+j(e,/flex-|-self/g,"")+(Fe(e,/flex-|baseline/)?"":Z+"grid-row-"+j(e,/flex-|-self/g,""))+e;case 4675:return Y+e+Z+"flex-line-pack"+j(e,/align-content|flex-|-self/g,"")+e;case 5548:return Y+e+Z+j(e,"shrink","negative")+e;case 5292:return Y+e+Z+j(e,"basis","preferred-size")+e;case 6060:return Y+"box-"+j(e,"-grow","")+Y+e+Z+j(e,"grow","positive")+e;case 4554:return Y+j(e,/([^-])(transform)/g,"$1"+Y+"$2")+e;case 6187:return j(j(j(e,/(zoom-|grab)/,Y+"$1"),/(image-set)/,Y+"$1"),e,"")+e;case 5495:case 3959:return j(e,/(image-set\([^]*)/,Y+"$1$`$1");case 4968:return j(j(e,/(.+:)(flex-)?(.*)/,Y+"box-pack:$3"+Z+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Y+e+e;case 4200:if(!Fe(e,/flex-|baseline/))return Z+"grid-column-align"+gt(e,t)+e;break;case 2592:case 3360:return Z+j(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,o){return t=o,Fe(r.props,/grid-\w+-end/)})?~un(e+(n=n[t].value),"span",0)?e:Z+j(e,"-start","")+e+Z+"grid-row-span:"+(~un(n,"span",0)?Fe(n,/\d+/):+Fe(n,/\d+/)-+Fe(e,/\d+/))+";":Z+j(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return Fe(r.props,/grid-\w+-start/)})?e:Z+j(j(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return j(e,/(.+)-inline(.+)/,Y+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Le(e)-1-t>6)switch(se(e,t+1)){case 109:if(se(e,t+4)!==45)break;case 102:return j(e,/(.+:)(.+)-([^]+)/,"$1"+Y+"$2-$3$1"+zt+(se(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~un(e,"stretch",0)?vi(j(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return j(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,o,s,i,a,l,d){return Z+o+":"+s+d+(i?Z+o+"-span:"+(a?l:+l-+s)+d:"")+e});case 4949:if(se(e,t+6)===121)return j(e,":",":"+Y)+e;break;case 6444:switch(se(e,se(e,14)===45?18:11)){case 120:return j(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Y+(se(e,14)===45?"inline-":"")+"box$3$1"+Y+"$2$3$1"+Z+"$2box$3")+e;case 100:return j(e,":",":"+Z)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return j(e,"scroll-","scroll-snap-")+e}return e}function yn(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function gd(e,t,n,r){switch(e.type){case rd:if(e.children.length)break;case nd:case nr:return e.return=e.return||e.value;case ci:return"";case di:return e.return=e.value+"{"+yn(e.children,r)+"}";case dn:if(!Le(e.value=e.props.join(",")))return""}return Le(n=yn(e.children,r))?e.return=e.value+"{"+n+"}":""}function yd(e){var t=fi(e);return function(n,r,o,s){for(var i="",a=0;a<t;a++)i+=e[a](n,r,o,s)||"";return i}}function vd(e){return function(t){t.root||(t=t.return)&&e(t)}}function bd(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case nr:e.return=vi(e.value,e.length,n);return;case di:return yn([We(e,{value:j(e.value,"@","@"+Y)})],r);case dn:if(e.length)return id(n=e.props,function(o){switch(Fe(o,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":bt(We(e,{props:[j(o,/:(read-\w+)/,":"+zt+"$1")]})),bt(We(e,{props:[o]})),or(e,{props:pi(n,r)});break;case"::placeholder":bt(We(e,{props:[j(o,/:(plac\w+)/,":"+Y+"input-$1")]})),bt(We(e,{props:[j(o,/:(plac\w+)/,":"+zt+"$1")]})),bt(We(e,{props:[j(o,/:(plac\w+)/,Z+"input-$1")]})),bt(We(e,{props:[o]})),or(e,{props:pi(n,r)});break}return""})}}var wd={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},tt=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",bi="active",wi="data-styled-version",vn="6.1.19",lr=`/*!sc*/
2
+ `,bn=typeof window<"u"&&typeof document<"u",xd=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production"),xi=/invalid hook call/i,wn=new Set,Sd=function(e,t){if(process.env.NODE_ENV!=="production"){var n=t?' with the id of "'.concat(t,'"'):"",r="The component ".concat(e).concat(n,` has been created dynamically.
3
3
  `)+`You may see this warning because you've called styled inside another component.
4
4
  To resolve this only create new StyledComponents outside of any render method and function component.
5
5
  See https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.
6
- `,o=console.error;try{var s=!0;console.error=function(i){for(var a=[],l=1;l<arguments.length;l++)a[l-1]=arguments[l];xi.test(i)?(s=!1,wn.delete(r)):o.apply(void 0,mt([i],a,!1))},f.useRef(),s&&!wn.has(r)&&(console.warn(r),wn.add(r))}catch(i){xi.test(i.message)&&wn.delete(r)}finally{console.error=o}}},xn=Object.freeze([]),wt=Object.freeze({});function Sd(e,t,n){return n===void 0&&(n=wt),e.theme!==n.theme&&e.theme||t||n.theme}var cr=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Cd=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Td=/(^-|-$)/g;function Si(e){return e.replace(Cd,"-").replace(Td,"")}var kd=/(a)(d)/gi,Sn=52,Ci=function(e){return String.fromCharCode(e+(e>25?39:97))};function dr(e){var t,n="";for(t=Math.abs(e);t>Sn;t=t/Sn|0)n=Ci(t%Sn)+n;return(Ci(t%Sn)+n).replace(kd,"$1-$2")}var ur,Ti=5381,nt=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},ki=function(e){return nt(Ti,e)};function Ed(e){return dr(ki(e)>>>0)}function Ei(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function hr(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var Pi=typeof Symbol=="function"&&Symbol.for,Ai=Pi?Symbol.for("react.memo"):60115,Pd=Pi?Symbol.for("react.forward_ref"):60112,Ad={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Dd={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Di={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},$d=((ur={})[Pd]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ur[Ai]=Di,ur);function $i(e){return("type"in(t=e)&&t.type.$$typeof)===Ai?Di:"$$typeof"in e?$d[e.$$typeof]:Ad;var t}var Md=Object.defineProperty,Vd=Object.getOwnPropertyNames,Mi=Object.getOwnPropertySymbols,Id=Object.getOwnPropertyDescriptor,Ld=Object.getPrototypeOf,Vi=Object.prototype;function Ii(e,t,n){if(typeof t!="string"){if(Vi){var r=Ld(t);r&&r!==Vi&&Ii(e,r,n)}var o=Vd(t);Mi&&(o=o.concat(Mi(t)));for(var s=$i(e),i=$i(t),a=0;a<o.length;++a){var l=o[a];if(!(l in Dd||n&&n[l]||i&&l in i||s&&l in s)){var d=Id(t,l);try{Md(e,l,d)}catch{}}}}return e}function xt(e){return typeof e=="function"}function fr(e){return typeof e=="object"&&"styledComponentId"in e}function rt(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Li(e,t){if(e.length===0)return"";for(var n=e[0],r=1;r<e.length;r++)n+=e[r];return n}function St(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function pr(e,t,n){if(n===void 0&&(n=!1),!n&&!St(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=pr(e[r],t[r]);else if(St(t))for(var r in t)e[r]=pr(e[r],t[r]);return e}function mr(e,t){Object.defineProperty(e,"toString",{value:t})}var Nd=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
6
+ `,o=console.error;try{var s=!0;console.error=function(i){for(var a=[],l=1;l<arguments.length;l++)a[l-1]=arguments[l];xi.test(i)?(s=!1,wn.delete(r)):o.apply(void 0,mt([i],a,!1))},f.useRef(),s&&!wn.has(r)&&(console.warn(r),wn.add(r))}catch(i){xi.test(i.message)&&wn.delete(r)}finally{console.error=o}}},xn=Object.freeze([]),wt=Object.freeze({});function Cd(e,t,n){return n===void 0&&(n=wt),e.theme!==n.theme&&e.theme||t||n.theme}var cr=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Td=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,kd=/(^-|-$)/g;function Si(e){return e.replace(Td,"-").replace(kd,"")}var Ed=/(a)(d)/gi,Sn=52,Ci=function(e){return String.fromCharCode(e+(e>25?39:97))};function dr(e){var t,n="";for(t=Math.abs(e);t>Sn;t=t/Sn|0)n=Ci(t%Sn)+n;return(Ci(t%Sn)+n).replace(Ed,"$1-$2")}var ur,Ti=5381,nt=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},ki=function(e){return nt(Ti,e)};function Pd(e){return dr(ki(e)>>>0)}function Ei(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function hr(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var Pi=typeof Symbol=="function"&&Symbol.for,Ai=Pi?Symbol.for("react.memo"):60115,Ad=Pi?Symbol.for("react.forward_ref"):60112,Dd={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},$d={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Di={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Md=((ur={})[Ad]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ur[Ai]=Di,ur);function $i(e){return("type"in(t=e)&&t.type.$$typeof)===Ai?Di:"$$typeof"in e?Md[e.$$typeof]:Dd;var t}var Vd=Object.defineProperty,Id=Object.getOwnPropertyNames,Mi=Object.getOwnPropertySymbols,Ld=Object.getOwnPropertyDescriptor,Nd=Object.getPrototypeOf,Vi=Object.prototype;function Ii(e,t,n){if(typeof t!="string"){if(Vi){var r=Nd(t);r&&r!==Vi&&Ii(e,r,n)}var o=Id(t);Mi&&(o=o.concat(Mi(t)));for(var s=$i(e),i=$i(t),a=0;a<o.length;++a){var l=o[a];if(!(l in $d||n&&n[l]||i&&l in i||s&&l in s)){var d=Ld(t,l);try{Vd(e,l,d)}catch{}}}}return e}function xt(e){return typeof e=="function"}function fr(e){return typeof e=="object"&&"styledComponentId"in e}function rt(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Li(e,t){if(e.length===0)return"";for(var n=e[0],r=1;r<e.length;r++)n+=e[r];return n}function St(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function pr(e,t,n){if(n===void 0&&(n=!1),!n&&!St(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=pr(e[r],t[r]);else if(St(t))for(var r in t)e[r]=pr(e[r],t[r]);return e}function mr(e,t){Object.defineProperty(e,"toString",{value:t})}var Bd=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
7
7
 
8
8
  `,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
9
9
 
@@ -44,7 +44,7 @@ as for instance in your render method then you may be running into this limitati
44
44
 
45
45
  `,17:`CSSStyleSheet could not be found on HTMLStyleElement.
46
46
  Has styled-components' style tag been unmounted or altered by another script?
47
- `,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Bd(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],r=[],o=1,s=e.length;o<s;o+=1)r.push(e[o]);return r.forEach(function(i){n=n.replace(/%[a-z]/,i)}),n}function Ct(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(Bd.apply(void 0,mt([Nd[e]],t,!1)).trim())}var Od=(function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r<t;r++)n+=this.groupSizes[r];return n},e.prototype.insertRules=function(t,n){if(t>=this.groupSizes.length){for(var r=this.groupSizes,o=r.length,s=o;t>=s;)if((s<<=1)<0)throw Ct(16,"".concat(t));this.groupSizes=new Uint32Array(s),this.groupSizes.set(r),this.length=s;for(var i=o;i<s;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(t+1),l=(i=0,n.length);i<l;i++)this.tag.insertRule(a,n[i])&&(this.groupSizes[t]++,a++)},e.prototype.clearGroup=function(t){if(t<this.length){var n=this.groupSizes[t],r=this.indexOfGroup(t),o=r+n;this.groupSizes[t]=0;for(var s=r;s<o;s++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(t){var n="";if(t>=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],o=this.indexOfGroup(t),s=o+r,i=o;i<s;i++)n+="".concat(this.tag.getRule(i)).concat(lr);return n},e})(),Fd=1<<30,Cn=new Map,Tn=new Map,kn=1,En=function(e){if(Cn.has(e))return Cn.get(e);for(;Tn.has(kn);)kn++;var t=kn++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>Fd))throw Ct(16,"".concat(t));return Cn.set(e,t),Tn.set(t,e),t},jd=function(e,t){kn=t+1,Cn.set(e,t),Tn.set(t,e)},zd="style[".concat(tt,"][").concat(wi,'="').concat(vn,'"]'),Rd=new RegExp("^".concat(tt,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),_d=function(e,t,n){for(var r,o=n.split(","),s=0,i=o.length;s<i;s++)(r=o[s])&&e.registerName(t,r)},Hd=function(e,t){for(var n,r=((n=t.textContent)!==null&&n!==void 0?n:"").split(lr),o=[],s=0,i=r.length;s<i;s++){var a=r[s].trim();if(a){var l=a.match(Rd);if(l){var d=0|parseInt(l[1],10),u=l[2];d!==0&&(jd(u,d),_d(e,u,l[3]),e.getTag().insertRules(d,o)),o.length=0}else o.push(a)}}},Ni=function(e){for(var t=document.querySelectorAll(zd),n=0,r=t.length;n<r;n++){var o=t[n];o&&o.getAttribute(tt)!==bi&&(Hd(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function Ud(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Bi=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=(function(a){var l=Array.from(a.querySelectorAll("style[".concat(tt,"]")));return l[l.length-1]})(n),s=o!==void 0?o.nextSibling:null;r.setAttribute(tt,bi),r.setAttribute(wi,vn);var i=Ud();return i&&r.setAttribute("nonce",i),n.insertBefore(r,s),r},Wd=(function(){function e(t){this.element=Bi(t),this.element.appendChild(document.createTextNode("")),this.sheet=(function(n){if(n.sheet)return n.sheet;for(var r=document.styleSheets,o=0,s=r.length;o<s;o++){var i=r[o];if(i.ownerNode===n)return i}throw Ct(17)})(this.element),this.length=0}return e.prototype.insertRule=function(t,n){try{return this.sheet.insertRule(n,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var n=this.sheet.cssRules[t];return n&&n.cssText?n.cssText:""},e})(),Kd=(function(){function e(t){this.element=Bi(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,n){if(t<=this.length&&t>=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e})(),Yd=(function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,n){return t<=this.length&&(this.rules.splice(t,0,n),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e})(),Oi=bn,Gd={isServer:!bn,useCSSOMInjection:!wd},Fi=(function(){function e(t,n,r){t===void 0&&(t=wt),n===void 0&&(n={});var o=this;this.options=ge(ge({},Gd),t),this.gs=n,this.names=new Map(r),this.server=!!t.isServer,!this.server&&bn&&Oi&&(Oi=!1,Ni(this)),mr(this,function(){return(function(s){for(var i=s.getTag(),a=i.length,l="",d=function(c){var h=(function(y){return Tn.get(y)})(c);if(h===void 0)return"continue";var m=s.names.get(h),g=i.getGroup(c);if(m===void 0||!m.size||g.length===0)return"continue";var b="".concat(tt,".g").concat(c,'[id="').concat(h,'"]'),x="";m!==void 0&&m.forEach(function(y){y.length>0&&(x+="".concat(y,","))}),l+="".concat(g).concat(b,'{content:"').concat(x,'"}').concat(lr)},u=0;u<a;u++)d(u);return l})(o)})}return e.registerId=function(t){return En(t)},e.prototype.rehydrate=function(){!this.server&&bn&&Ni(this)},e.prototype.reconstructWithOptions=function(t,n){return n===void 0&&(n=!0),new e(ge(ge({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=(function(n){var r=n.useCSSOMInjection,o=n.target;return n.isServer?new Yd(o):r?new Wd(o):new Kd(o)})(this.options),new Od(t)));var t},e.prototype.hasNameForId=function(t,n){return this.names.has(t)&&this.names.get(t).has(n)},e.prototype.registerName=function(t,n){if(En(t),this.names.has(t))this.names.get(t).add(n);else{var r=new Set;r.add(n),this.names.set(t,r)}},e.prototype.insertRules=function(t,n,r){this.registerName(t,n),this.getTag().insertRules(En(t),r)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(En(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e})(),Xd=/&/g,Zd=/^\s*\/\/.*$/gm;function ji(e,t){return e.map(function(n){return n.type==="rule"&&(n.value="".concat(t," ").concat(n.value),n.value=n.value.replaceAll(",",",".concat(t," ")),n.props=n.props.map(function(r){return"".concat(t," ").concat(r)})),Array.isArray(n.children)&&n.type!=="@keyframes"&&(n.children=ji(n.children,t)),n})}function qd(e){var t,n,r,o=wt,s=o.options,i=s===void 0?wt:s,a=o.plugins,l=a===void 0?xn:a,d=function(h,m,g){return g.startsWith(n)&&g.endsWith(n)&&g.replaceAll(n,"").length>0?".".concat(t):h},u=l.slice();u.push(function(h){h.type===dn&&h.value.includes("&")&&(h.props[0]=h.props[0].replace(Xd,n).replace(r,d))}),i.prefix&&u.push(vd),u.push(md);var c=function(h,m,g,b){m===void 0&&(m=""),g===void 0&&(g=""),b===void 0&&(b="&"),t=b,n=m,r=new RegExp("\\".concat(n,"\\b"),"g");var x=h.replace(Zd,""),y=fd(g||m?"".concat(g," ").concat(m," { ").concat(x," }"):x);i.namespace&&(y=ji(y,i.namespace));var C=[];return yn(y,gd(u.concat(yd(function(w){return C.push(w)})))),C};return c.hash=l.length?l.reduce(function(h,m){return m.name||Ct(15),nt(h,m.name)},Ti).toString():"",c}var Jd=new Fi,gr=qd(),zi=f.createContext({shouldForwardProp:void 0,styleSheet:Jd,stylis:gr});zi.Consumer,f.createContext(void 0);function Ri(){return f.useContext(zi)}var _i=(function(){function e(t,n){var r=this;this.inject=function(o,s){s===void 0&&(s=gr);var i=r.name+s.hash;o.hasNameForId(r.id,i)||o.insertRules(r.id,i,s(r.rules,i,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,mr(this,function(){throw Ct(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=gr),this.name+t.hash},e})(),Qd=function(e){return e>="A"&&e<="Z"};function Hi(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(n===1&&r==="-"&&e[0]==="-")return e;Qd(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var Ui=function(e){return e==null||e===!1||e===""},Wi=function(e){var t,n,r=[];for(var o in e){var s=e[o];e.hasOwnProperty(o)&&!Ui(s)&&(Array.isArray(s)&&s.isCss||xt(s)?r.push("".concat(Hi(o),":"),s,";"):St(s)?r.push.apply(r,mt(mt(["".concat(o," {")],Wi(s),!1),["}"],!1)):r.push("".concat(Hi(o),": ").concat((t=o,(n=s)==null||typeof n=="boolean"||n===""?"":typeof n!="number"||n===0||t in bd||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function ot(e,t,n,r){if(Ui(e))return[];if(fr(e))return[".".concat(e.styledComponentId)];if(xt(e)){if(!xt(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return[e];var o=e(t);return process.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof _i||St(o)||o===null||console.error("".concat(Ei(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),ot(o,t,n,r)}var s;return e instanceof _i?n?(e.inject(n,r),[e.getName(r)]):[e]:St(e)?Wi(e):Array.isArray(e)?Array.prototype.concat.apply(xn,e.map(function(i){return ot(i,t,n,r)})):[e.toString()]}function eu(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(xt(n)&&!fr(n))return!1}return!0}var tu=ki(vn),nu=(function(){function e(t,n,r){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(r===void 0||r.isStatic)&&eu(t),this.componentId=n,this.baseHash=nt(tu,n),this.baseStyle=r,Fi.registerId(n)}return e.prototype.generateAndInjectStyles=function(t,n,r){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,n,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&n.hasNameForId(this.componentId,this.staticRulesId))o=rt(o,this.staticRulesId);else{var s=Li(ot(this.rules,t,n,r)),i=dr(nt(this.baseHash,s)>>>0);if(!n.hasNameForId(this.componentId,i)){var a=r(s,".".concat(i),void 0,this.componentId);n.insertRules(this.componentId,i,a)}o=rt(o,i),this.staticRulesId=i}else{for(var l=nt(this.baseHash,r.hash),d="",u=0;u<this.rules.length;u++){var c=this.rules[u];if(typeof c=="string")d+=c,process.env.NODE_ENV!=="production"&&(l=nt(l,c));else if(c){var h=Li(ot(c,t,n,r));l=nt(l,h+u),d+=h}}if(d){var m=dr(l>>>0);n.hasNameForId(this.componentId,m)||n.insertRules(this.componentId,m,r(d,".".concat(m),void 0,this.componentId)),o=rt(o,m)}}return o},e})(),Ki=f.createContext(void 0);Ki.Consumer;var yr={},Yi=new Set;function ru(e,t,n){var r=fr(e),o=e,s=!hr(e),i=t.attrs,a=i===void 0?xn:i,l=t.componentId,d=l===void 0?(function(A,P){var k=typeof A!="string"?"sc":Si(A);yr[k]=(yr[k]||0)+1;var E="".concat(k,"-").concat(Ed(vn+k+yr[k]));return P?"".concat(P,"-").concat(E):E})(t.displayName,t.parentComponentId):l,u=t.displayName,c=u===void 0?(function(A){return hr(A)?"styled.".concat(A):"Styled(".concat(Ei(A),")")})(e):u,h=t.displayName&&t.componentId?"".concat(Si(t.displayName),"-").concat(t.componentId):t.componentId||d,m=r&&o.attrs?o.attrs.concat(a).filter(Boolean):a,g=t.shouldForwardProp;if(r&&o.shouldForwardProp){var b=o.shouldForwardProp;if(t.shouldForwardProp){var x=t.shouldForwardProp;g=function(A,P){return b(A,P)&&x(A,P)}}else g=b}var y=new nu(n,h,r?o.componentStyle:void 0);function C(A,P){return(function(k,E,D){var L=k.attrs,_=k.componentStyle,$=k.defaultProps,U=k.foldedComponentIds,I=k.styledComponentId,he=k.target,G=f.useContext(Ki),B=Ri(),N=k.shouldForwardProp||B.shouldForwardProp;process.env.NODE_ENV!=="production"&&f.useDebugValue(I);var H=Sd(E,G,$)||wt,O=(function(X,ae,Me){for(var K,be=ge(ge({},ae),{className:void 0,theme:Me}),Je=0;Je<X.length;Je+=1){var _e=xt(K=X[Je])?K(be):K;for(var me in _e)be[me]=me==="className"?rt(be[me],_e[me]):me==="style"?ge(ge({},be[me]),_e[me]):_e[me]}return ae.className&&(be.className=rt(be.className,ae.className)),be})(L,E,H),R=O.as||he,oe={};for(var ie in O)O[ie]===void 0||ie[0]==="$"||ie==="as"||ie==="theme"&&O.theme===H||(ie==="forwardedAs"?oe.as=O.forwardedAs:N&&!N(ie,R)||(oe[ie]=O[ie],N||process.env.NODE_ENV!=="development"||ed(ie)||Yi.has(ie)||!cr.has(R)||(Yi.add(ie),console.warn('styled-components: it looks like an unknown prop "'.concat(ie,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var z=(function(X,ae){var Me=Ri(),K=X.generateAndInjectStyles(ae,Me.styleSheet,Me.stylis);return process.env.NODE_ENV!=="production"&&f.useDebugValue(K),K})(_,O);process.env.NODE_ENV!=="production"&&k.warnTooManyClasses&&k.warnTooManyClasses(z);var q=rt(U,I);return z&&(q+=" "+z),O.className&&(q+=" "+O.className),oe[hr(R)&&!cr.has(R)?"class":"className"]=q,D&&(oe.ref=D),f.createElement(R,oe)})(w,A,P)}C.displayName=c;var w=f.forwardRef(C);return w.attrs=m,w.componentStyle=y,w.displayName=c,w.shouldForwardProp=g,w.foldedComponentIds=r?rt(o.foldedComponentIds,o.styledComponentId):"",w.styledComponentId=h,w.target=r?o.target:e,Object.defineProperty(w,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(A){this._foldedDefaultProps=r?(function(P){for(var k=[],E=1;E<arguments.length;E++)k[E-1]=arguments[E];for(var D=0,L=k;D<L.length;D++)pr(P,L[D],!0);return P})({},o.defaultProps,A):A}}),process.env.NODE_ENV!=="production"&&(xd(c,h),w.warnTooManyClasses=(function(A,P){var k={},E=!1;return function(D){if(!E&&(k[D]=!0,Object.keys(k).length>=200)){var L=P?' with the id of "'.concat(P,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(A).concat(L,`.
47
+ `,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Od(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],r=[],o=1,s=e.length;o<s;o+=1)r.push(e[o]);return r.forEach(function(i){n=n.replace(/%[a-z]/,i)}),n}function Ct(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(Od.apply(void 0,mt([Bd[e]],t,!1)).trim())}var Fd=(function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r<t;r++)n+=this.groupSizes[r];return n},e.prototype.insertRules=function(t,n){if(t>=this.groupSizes.length){for(var r=this.groupSizes,o=r.length,s=o;t>=s;)if((s<<=1)<0)throw Ct(16,"".concat(t));this.groupSizes=new Uint32Array(s),this.groupSizes.set(r),this.length=s;for(var i=o;i<s;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(t+1),l=(i=0,n.length);i<l;i++)this.tag.insertRule(a,n[i])&&(this.groupSizes[t]++,a++)},e.prototype.clearGroup=function(t){if(t<this.length){var n=this.groupSizes[t],r=this.indexOfGroup(t),o=r+n;this.groupSizes[t]=0;for(var s=r;s<o;s++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(t){var n="";if(t>=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],o=this.indexOfGroup(t),s=o+r,i=o;i<s;i++)n+="".concat(this.tag.getRule(i)).concat(lr);return n},e})(),jd=1<<30,Cn=new Map,Tn=new Map,kn=1,En=function(e){if(Cn.has(e))return Cn.get(e);for(;Tn.has(kn);)kn++;var t=kn++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>jd))throw Ct(16,"".concat(t));return Cn.set(e,t),Tn.set(t,e),t},zd=function(e,t){kn=t+1,Cn.set(e,t),Tn.set(t,e)},Rd="style[".concat(tt,"][").concat(wi,'="').concat(vn,'"]'),_d=new RegExp("^".concat(tt,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Hd=function(e,t,n){for(var r,o=n.split(","),s=0,i=o.length;s<i;s++)(r=o[s])&&e.registerName(t,r)},Ud=function(e,t){for(var n,r=((n=t.textContent)!==null&&n!==void 0?n:"").split(lr),o=[],s=0,i=r.length;s<i;s++){var a=r[s].trim();if(a){var l=a.match(_d);if(l){var d=0|parseInt(l[1],10),u=l[2];d!==0&&(zd(u,d),Hd(e,u,l[3]),e.getTag().insertRules(d,o)),o.length=0}else o.push(a)}}},Ni=function(e){for(var t=document.querySelectorAll(Rd),n=0,r=t.length;n<r;n++){var o=t[n];o&&o.getAttribute(tt)!==bi&&(Ud(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function Wd(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Bi=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=(function(a){var l=Array.from(a.querySelectorAll("style[".concat(tt,"]")));return l[l.length-1]})(n),s=o!==void 0?o.nextSibling:null;r.setAttribute(tt,bi),r.setAttribute(wi,vn);var i=Wd();return i&&r.setAttribute("nonce",i),n.insertBefore(r,s),r},Kd=(function(){function e(t){this.element=Bi(t),this.element.appendChild(document.createTextNode("")),this.sheet=(function(n){if(n.sheet)return n.sheet;for(var r=document.styleSheets,o=0,s=r.length;o<s;o++){var i=r[o];if(i.ownerNode===n)return i}throw Ct(17)})(this.element),this.length=0}return e.prototype.insertRule=function(t,n){try{return this.sheet.insertRule(n,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var n=this.sheet.cssRules[t];return n&&n.cssText?n.cssText:""},e})(),Yd=(function(){function e(t){this.element=Bi(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,n){if(t<=this.length&&t>=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e})(),Gd=(function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,n){return t<=this.length&&(this.rules.splice(t,0,n),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e})(),Oi=bn,Xd={isServer:!bn,useCSSOMInjection:!xd},Fi=(function(){function e(t,n,r){t===void 0&&(t=wt),n===void 0&&(n={});var o=this;this.options=ge(ge({},Xd),t),this.gs=n,this.names=new Map(r),this.server=!!t.isServer,!this.server&&bn&&Oi&&(Oi=!1,Ni(this)),mr(this,function(){return(function(s){for(var i=s.getTag(),a=i.length,l="",d=function(c){var h=(function(y){return Tn.get(y)})(c);if(h===void 0)return"continue";var m=s.names.get(h),g=i.getGroup(c);if(m===void 0||!m.size||g.length===0)return"continue";var v="".concat(tt,".g").concat(c,'[id="').concat(h,'"]'),w="";m!==void 0&&m.forEach(function(y){y.length>0&&(w+="".concat(y,","))}),l+="".concat(g).concat(v,'{content:"').concat(w,'"}').concat(lr)},u=0;u<a;u++)d(u);return l})(o)})}return e.registerId=function(t){return En(t)},e.prototype.rehydrate=function(){!this.server&&bn&&Ni(this)},e.prototype.reconstructWithOptions=function(t,n){return n===void 0&&(n=!0),new e(ge(ge({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=(function(n){var r=n.useCSSOMInjection,o=n.target;return n.isServer?new Gd(o):r?new Kd(o):new Yd(o)})(this.options),new Fd(t)));var t},e.prototype.hasNameForId=function(t,n){return this.names.has(t)&&this.names.get(t).has(n)},e.prototype.registerName=function(t,n){if(En(t),this.names.has(t))this.names.get(t).add(n);else{var r=new Set;r.add(n),this.names.set(t,r)}},e.prototype.insertRules=function(t,n,r){this.registerName(t,n),this.getTag().insertRules(En(t),r)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(En(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e})(),Zd=/&/g,qd=/^\s*\/\/.*$/gm;function ji(e,t){return e.map(function(n){return n.type==="rule"&&(n.value="".concat(t," ").concat(n.value),n.value=n.value.replaceAll(",",",".concat(t," ")),n.props=n.props.map(function(r){return"".concat(t," ").concat(r)})),Array.isArray(n.children)&&n.type!=="@keyframes"&&(n.children=ji(n.children,t)),n})}function Jd(e){var t,n,r,o=wt,s=o.options,i=s===void 0?wt:s,a=o.plugins,l=a===void 0?xn:a,d=function(h,m,g){return g.startsWith(n)&&g.endsWith(n)&&g.replaceAll(n,"").length>0?".".concat(t):h},u=l.slice();u.push(function(h){h.type===dn&&h.value.includes("&")&&(h.props[0]=h.props[0].replace(Zd,n).replace(r,d))}),i.prefix&&u.push(bd),u.push(gd);var c=function(h,m,g,v){m===void 0&&(m=""),g===void 0&&(g=""),v===void 0&&(v="&"),t=v,n=m,r=new RegExp("\\".concat(n,"\\b"),"g");var w=h.replace(qd,""),y=pd(g||m?"".concat(g," ").concat(m," { ").concat(w," }"):w);i.namespace&&(y=ji(y,i.namespace));var S=[];return yn(y,yd(u.concat(vd(function(x){return S.push(x)})))),S};return c.hash=l.length?l.reduce(function(h,m){return m.name||Ct(15),nt(h,m.name)},Ti).toString():"",c}var Qd=new Fi,gr=Jd(),zi=f.createContext({shouldForwardProp:void 0,styleSheet:Qd,stylis:gr});zi.Consumer,f.createContext(void 0);function Ri(){return f.useContext(zi)}var _i=(function(){function e(t,n){var r=this;this.inject=function(o,s){s===void 0&&(s=gr);var i=r.name+s.hash;o.hasNameForId(r.id,i)||o.insertRules(r.id,i,s(r.rules,i,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,mr(this,function(){throw Ct(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=gr),this.name+t.hash},e})(),eu=function(e){return e>="A"&&e<="Z"};function Hi(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(n===1&&r==="-"&&e[0]==="-")return e;eu(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var Ui=function(e){return e==null||e===!1||e===""},Wi=function(e){var t,n,r=[];for(var o in e){var s=e[o];e.hasOwnProperty(o)&&!Ui(s)&&(Array.isArray(s)&&s.isCss||xt(s)?r.push("".concat(Hi(o),":"),s,";"):St(s)?r.push.apply(r,mt(mt(["".concat(o," {")],Wi(s),!1),["}"],!1)):r.push("".concat(Hi(o),": ").concat((t=o,(n=s)==null||typeof n=="boolean"||n===""?"":typeof n!="number"||n===0||t in wd||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function ot(e,t,n,r){if(Ui(e))return[];if(fr(e))return[".".concat(e.styledComponentId)];if(xt(e)){if(!xt(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return[e];var o=e(t);return process.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof _i||St(o)||o===null||console.error("".concat(Ei(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),ot(o,t,n,r)}var s;return e instanceof _i?n?(e.inject(n,r),[e.getName(r)]):[e]:St(e)?Wi(e):Array.isArray(e)?Array.prototype.concat.apply(xn,e.map(function(i){return ot(i,t,n,r)})):[e.toString()]}function tu(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(xt(n)&&!fr(n))return!1}return!0}var nu=ki(vn),ru=(function(){function e(t,n,r){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(r===void 0||r.isStatic)&&tu(t),this.componentId=n,this.baseHash=nt(nu,n),this.baseStyle=r,Fi.registerId(n)}return e.prototype.generateAndInjectStyles=function(t,n,r){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,n,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&n.hasNameForId(this.componentId,this.staticRulesId))o=rt(o,this.staticRulesId);else{var s=Li(ot(this.rules,t,n,r)),i=dr(nt(this.baseHash,s)>>>0);if(!n.hasNameForId(this.componentId,i)){var a=r(s,".".concat(i),void 0,this.componentId);n.insertRules(this.componentId,i,a)}o=rt(o,i),this.staticRulesId=i}else{for(var l=nt(this.baseHash,r.hash),d="",u=0;u<this.rules.length;u++){var c=this.rules[u];if(typeof c=="string")d+=c,process.env.NODE_ENV!=="production"&&(l=nt(l,c));else if(c){var h=Li(ot(c,t,n,r));l=nt(l,h+u),d+=h}}if(d){var m=dr(l>>>0);n.hasNameForId(this.componentId,m)||n.insertRules(this.componentId,m,r(d,".".concat(m),void 0,this.componentId)),o=rt(o,m)}}return o},e})(),Ki=f.createContext(void 0);Ki.Consumer;var yr={},Yi=new Set;function ou(e,t,n){var r=fr(e),o=e,s=!hr(e),i=t.attrs,a=i===void 0?xn:i,l=t.componentId,d=l===void 0?(function(A,P){var k=typeof A!="string"?"sc":Si(A);yr[k]=(yr[k]||0)+1;var E="".concat(k,"-").concat(Pd(vn+k+yr[k]));return P?"".concat(P,"-").concat(E):E})(t.displayName,t.parentComponentId):l,u=t.displayName,c=u===void 0?(function(A){return hr(A)?"styled.".concat(A):"Styled(".concat(Ei(A),")")})(e):u,h=t.displayName&&t.componentId?"".concat(Si(t.displayName),"-").concat(t.componentId):t.componentId||d,m=r&&o.attrs?o.attrs.concat(a).filter(Boolean):a,g=t.shouldForwardProp;if(r&&o.shouldForwardProp){var v=o.shouldForwardProp;if(t.shouldForwardProp){var w=t.shouldForwardProp;g=function(A,P){return v(A,P)&&w(A,P)}}else g=v}var y=new ru(n,h,r?o.componentStyle:void 0);function S(A,P){return(function(k,E,D){var L=k.attrs,_=k.componentStyle,$=k.defaultProps,U=k.foldedComponentIds,V=k.styledComponentId,he=k.target,G=f.useContext(Ki),O=Ri(),N=k.shouldForwardProp||O.shouldForwardProp;process.env.NODE_ENV!=="production"&&f.useDebugValue(V);var H=Cd(E,G,$)||wt,B=(function(X,ae,Me){for(var K,be=ge(ge({},ae),{className:void 0,theme:Me}),Je=0;Je<X.length;Je+=1){var He=xt(K=X[Je])?K(be):K;for(var me in He)be[me]=me==="className"?rt(be[me],He[me]):me==="style"?ge(ge({},be[me]),He[me]):He[me]}return ae.className&&(be.className=rt(be.className,ae.className)),be})(L,E,H),R=B.as||he,oe={};for(var ie in B)B[ie]===void 0||ie[0]==="$"||ie==="as"||ie==="theme"&&B.theme===H||(ie==="forwardedAs"?oe.as=B.forwardedAs:N&&!N(ie,R)||(oe[ie]=B[ie],N||process.env.NODE_ENV!=="development"||td(ie)||Yi.has(ie)||!cr.has(R)||(Yi.add(ie),console.warn('styled-components: it looks like an unknown prop "'.concat(ie,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var z=(function(X,ae){var Me=Ri(),K=X.generateAndInjectStyles(ae,Me.styleSheet,Me.stylis);return process.env.NODE_ENV!=="production"&&f.useDebugValue(K),K})(_,B);process.env.NODE_ENV!=="production"&&k.warnTooManyClasses&&k.warnTooManyClasses(z);var q=rt(U,V);return z&&(q+=" "+z),B.className&&(q+=" "+B.className),oe[hr(R)&&!cr.has(R)?"class":"className"]=q,D&&(oe.ref=D),f.createElement(R,oe)})(x,A,P)}S.displayName=c;var x=f.forwardRef(S);return x.attrs=m,x.componentStyle=y,x.displayName=c,x.shouldForwardProp=g,x.foldedComponentIds=r?rt(o.foldedComponentIds,o.styledComponentId):"",x.styledComponentId=h,x.target=r?o.target:e,Object.defineProperty(x,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(A){this._foldedDefaultProps=r?(function(P){for(var k=[],E=1;E<arguments.length;E++)k[E-1]=arguments[E];for(var D=0,L=k;D<L.length;D++)pr(P,L[D],!0);return P})({},o.defaultProps,A):A}}),process.env.NODE_ENV!=="production"&&(Sd(c,h),x.warnTooManyClasses=(function(A,P){var k={},E=!1;return function(D){if(!E&&(k[D]=!0,Object.keys(k).length>=200)){var L=P?' with the id of "'.concat(P,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(A).concat(L,`.
48
48
  `)+`Consider using the attrs method, together with a style object for frequently changed styles.
49
49
  Example:
50
50
  const Component = styled.div.attrs(props => ({
@@ -53,167 +53,167 @@ Example:
53
53
  },
54
54
  }))\`width: 100%;\`
55
55
 
56
- <Component />`),E=!0,k={}}}})(c,h)),mr(w,function(){return".".concat(w.styledComponentId)}),s&&Ii(w,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),w}function Gi(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n}var Xi=function(e){return Object.assign(e,{isCss:!0})};function v(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(xt(e)||St(e))return Xi(ot(Gi(xn,mt([e],t,!0))));var r=e;return t.length===0&&r.length===1&&typeof r[0]=="string"?ot(r):Xi(ot(Gi(r,t)))}function vr(e,t,n){if(n===void 0&&(n=wt),!t)throw Ct(1,t);var r=function(o){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return e(t,n,v.apply(void 0,mt([o],s,!1)))};return r.attrs=function(o){return vr(e,t,ge(ge({},n),{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},r.withConfig=function(o){return vr(e,t,ge(ge({},n),o))},r}var Zi=function(e){return vr(ru,e)},S=Zi;cr.forEach(function(e){S[e]=Zi(e)}),process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
56
+ <Component />`),E=!0,k={}}}})(c,h)),mr(x,function(){return".".concat(x.styledComponentId)}),s&&Ii(x,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),x}function Gi(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n}var Xi=function(e){return Object.assign(e,{isCss:!0})};function b(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(xt(e)||St(e))return Xi(ot(Gi(xn,mt([e],t,!0))));var r=e;return t.length===0&&r.length===1&&typeof r[0]=="string"?ot(r):Xi(ot(Gi(r,t)))}function vr(e,t,n){if(n===void 0&&(n=wt),!t)throw Ct(1,t);var r=function(o){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return e(t,n,b.apply(void 0,mt([o],s,!1)))};return r.attrs=function(o){return vr(e,t,ge(ge({},n),{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},r.withConfig=function(o){return vr(e,t,ge(ge({},n),o))},r}var Zi=function(e){return vr(ou,e)},C=Zi;cr.forEach(function(e){C[e]=Zi(e)}),process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
57
57
  Perhaps you're looking to import 'styled-components/native'?
58
58
  Read more about this at https://www.styled-components.com/docs/basics#react-native`);var Pn="__sc-".concat(tt,"__");process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window[Pn]||(window[Pn]=0),window[Pn]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
59
59
 
60
- See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
60
+ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:b`
61
61
  font-family: 'Dax', serif;
62
62
  font-size: 5em;
63
63
  font-style: normal;
64
64
  font-weight: 700;
65
65
  line-height: 163.184%;
66
- `,60:v`
66
+ `,60:b`
67
67
  font-family: 'Dax', serif;
68
68
  font-size: 3.75em;
69
69
  font-style: normal;
70
70
  font-weight: 700;
71
71
  line-height: 161.76%;
72
- `,40:v`
72
+ `,40:b`
73
73
  font-family: 'Dax', serif;
74
74
  font-size: 2.5em;
75
75
  font-style: normal;
76
76
  font-weight: 700;
77
77
  line-height: 161.76%;
78
- `,30:v`
78
+ `,30:b`
79
79
  font-family: 'Dax', serif;
80
80
  font-size: 1.875em;
81
81
  font-style: normal;
82
82
  font-weight: 700;
83
83
  line-height: 161.76%;
84
- `,24:v`
84
+ `,24:b`
85
85
  font-family: 'Dax', serif;
86
86
  font-size: 1.5em;
87
87
  font-style: normal;
88
88
  font-weight: 700;
89
89
  line-height: 163.184%;
90
- `,20:v`
90
+ `,20:b`
91
91
  font-family: 'Dax', serif;
92
92
  font-size: 1.25em;
93
93
  font-style: normal;
94
94
  font-weight: 700;
95
95
  line-height: 161.76%;
96
- `,16:v`
96
+ `,16:b`
97
97
  font-family: 'Dax', serif;
98
98
  font-size: 1em;
99
99
  font-style: normal;
100
100
  font-weight: 700;
101
101
  line-height: 161.76%;
102
- `},qi={80:v`
102
+ `},qi={80:b`
103
103
  font-family: 'Dax', serif;
104
104
  font-size: 5em;
105
105
  font-style: normal;
106
106
  font-weight: 400;
107
107
  line-height: 163.184%;
108
- `,60:v`
108
+ `,60:b`
109
109
  font-family: 'Dax', serif;
110
110
  font-size: 3.75em;
111
111
  font-style: normal;
112
112
  font-weight: 400;
113
113
  line-height: 161.76%;
114
- `,40:v`
114
+ `,40:b`
115
115
  font-family: 'Dax', serif;
116
116
  font-size: 2.5em;
117
117
  font-style: normal;
118
118
  font-weight: 400;
119
119
  line-height: 161.76%;
120
- `,30:v`
120
+ `,30:b`
121
121
  font-family: 'Dax', serif;
122
122
  font-size: 1.875em;
123
123
  font-style: normal;
124
124
  font-weight: 400;
125
125
  line-height: 161.76%;
126
- `,24:v`
126
+ `,24:b`
127
127
  font-family: 'Dax', serif;
128
128
  font-size: 1.5em;
129
129
  font-style: normal;
130
130
  font-weight: 400;
131
131
  line-height: 163.184%;
132
- `,20:v`
132
+ `,20:b`
133
133
  font-family: 'Dax', serif;
134
134
  font-size: 1.25em;
135
135
  font-style: normal;
136
136
  font-weight: 400;
137
137
  line-height: 161.76%;
138
- `,16:v`
138
+ `,16:b`
139
139
  font-family: 'Dax', serif;
140
140
  font-size: 1em;
141
141
  font-style: normal;
142
142
  font-weight: 400;
143
143
  line-height: 161.76%;
144
- `},M={80:v`
144
+ `},I={80:b`
145
145
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
146
146
  font-size: 5em;
147
147
  font-style: normal;
148
148
  font-weight: 400;
149
149
  line-height: 155.962%;
150
- `,60:v`
150
+ `,60:b`
151
151
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
152
152
  font-size: 3.75em;
153
153
  font-style: normal;
154
154
  font-weight: 400;
155
155
  line-height: 176.782%;
156
- `,40:v`
156
+ `,40:b`
157
157
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
158
158
  font-size: 2.5em;
159
159
  font-style: normal;
160
160
  font-weight: 400;
161
161
  line-height: 176.782%;
162
- `,30:v`
162
+ `,30:b`
163
163
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
164
164
  font-size: 1.875em;
165
165
  font-style: normal;
166
166
  font-weight: 400;
167
167
  line-height: 176.782%;
168
- `,24:v`
168
+ `,24:b`
169
169
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
170
170
  font-size: 1.5em;
171
171
  font-style: normal;
172
172
  font-weight: 400;
173
173
  line-height: 176.782%;
174
- `,20:v`
174
+ `,20:b`
175
175
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
176
176
  font-size: 1.25em;
177
177
  font-style: normal;
178
178
  font-weight: 400;
179
179
  line-height: 155.962%;
180
- `,18:v`
180
+ `,18:b`
181
181
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
182
182
  font-size: 1.125em;
183
183
  font-style: normal;
184
184
  font-weight: 400;
185
185
  line-height: 150.782%;
186
- `,16:v`
186
+ `,16:b`
187
187
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
188
188
  font-size: 1em;
189
189
  font-style: normal;
190
190
  font-weight: 400;
191
191
  line-height: 140%;
192
- `,14:v`
192
+ `,14:b`
193
193
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
194
194
  font-size: 0.875em;
195
195
  font-style: normal;
196
196
  font-weight: 400;
197
197
  line-height: 140%;
198
- `,12:v`
198
+ `,12:b`
199
199
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
200
200
  font-size: 0.75em;
201
201
  font-style: normal;
202
202
  font-weight: 400;
203
203
  line-height: 133%;
204
- `},An=S.h1`
204
+ `},An=C.h1`
205
205
  ${({size:e=24})=>br[e]}
206
206
  margin: 0;
207
207
  color: ${({color:e})=>e||"var(--color-main-blue-primary)"};
208
- `,ou=S.h2`
208
+ `,iu=C.h2`
209
209
  ${({size:e=24})=>qi[e]}
210
210
  margin: 0;
211
211
  color: ${({color:e})=>e||"var(--color-main-blue-primary)"};
212
- `,We=S.span`
213
- ${({size:e=16})=>M[e]}
212
+ `,Ne=C.span`
213
+ ${({size:e=16})=>I[e]}
214
214
  margin: 0;
215
215
  color: ${({color:e})=>e||"var(--color-main-blue-primary)"};
216
- `,iu=S.span`
216
+ `,su=C.span`
217
217
  display: inline-flex;
218
218
  align-items: center;
219
219
  justify-content: center;
@@ -223,7 +223,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
223
223
  outline: none;
224
224
  box-shadow: var(--shadow-hover-black-card);
225
225
  }
226
- `,Ji={tn:"1rem",sm:"1.5rem",md:"2rem",lg:"3rem"},W=({component:e,size:t="1.5rem",color:n="currentColor",className:r,iconProps:o={}})=>{const s=typeof t=="string"&&t in Ji?Ji[t]:t;return p.jsx(iu,{$color:n,className:r,children:typeof e=="function"?p.jsx(e,{size:s,...o}):e})},wr=f.createContext({});function xr(e){const t=f.useRef(null);return t.current===null&&(t.current=e()),t.current}const Sr=typeof window<"u",Qi=Sr?f.useLayoutEffect:f.useEffect,Dn=f.createContext(null);function Cr(e,t){e.indexOf(t)===-1&&e.push(t)}function Tr(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Fe=(e,t,n)=>n>t?t:n<e?e:n;function kr(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let Tt=()=>{},je=()=>{};process.env.NODE_ENV!=="production"&&(Tt=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(kr(t,n))},je=(e,t,n)=>{if(!e)throw new Error(kr(t,n))});const ze={},es=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function ts(e){return typeof e=="object"&&e!==null}const ns=e=>/^0[^.\s]+$/u.test(e);function Er(e){let t;return()=>(t===void 0&&(t=e()),t)}const Ce=e=>e,su=(e,t)=>n=>t(e(n)),_t=(...e)=>e.reduce(su),Ht=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class Pr{constructor(){this.subscriptions=[]}add(t){return Cr(this.subscriptions,t),()=>Tr(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let s=0;s<o;s++){const i=this.subscriptions[s];i&&i(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const De=e=>e*1e3,Te=e=>e/1e3;function rs(e,t){return t?e*(1e3/t):0}const os=new Set;function Ar(e,t,n){e||os.has(t)||(console.warn(kr(t,n)),os.add(t))}const is=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,au=1e-7,lu=12;function cu(e,t,n,r,o){let s,i,a=0;do i=t+(n-t)/2,s=is(i,r,o)-e,s>0?n=i:t=i;while(Math.abs(s)>au&&++a<lu);return i}function Ut(e,t,n,r){if(e===t&&n===r)return Ce;const o=s=>cu(s,0,1,e,n);return s=>s===0||s===1?s:is(o(s),t,r)}const ss=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,as=e=>t=>1-e(1-t),ls=Ut(.33,1.53,.69,.99),Dr=as(ls),cs=ss(Dr),ds=e=>(e*=2)<1?.5*Dr(e):.5*(2-Math.pow(2,-10*(e-1))),$r=e=>1-Math.sin(Math.acos(e)),us=as($r),hs=ss($r),du=Ut(.42,0,1,1),uu=Ut(0,0,.58,1),fs=Ut(.42,0,.58,1),hu=e=>Array.isArray(e)&&typeof e[0]!="number",ps=e=>Array.isArray(e)&&typeof e[0]=="number",ms={linear:Ce,easeIn:du,easeInOut:fs,easeOut:uu,circIn:$r,circInOut:hs,circOut:us,backIn:Dr,backInOut:cs,backOut:ls,anticipate:ds},fu=e=>typeof e=="string",gs=e=>{if(ps(e)){je(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,o]=e;return Ut(t,n,r,o)}else if(fu(e))return je(ms[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),ms[e];return e},$n=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function pu(e,t){let n=new Set,r=new Set,o=!1,s=!1;const i=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function l(u){i.has(u)&&(d.schedule(u),e()),u(a)}const d={schedule:(u,c=!1,h=!1)=>{const g=h&&o?n:r;return c&&i.add(u),g.has(u)||g.add(u),u},cancel:u=>{r.delete(u),i.delete(u)},process:u=>{if(a=u,o){s=!0;return}o=!0,[n,r]=[r,n],n.forEach(l),n.clear(),o=!1,s&&(s=!1,d.process(u))}};return d}const mu=40;function ys(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,i=$n.reduce((w,A)=>(w[A]=pu(s),w),{}),{setup:a,read:l,resolveKeyframes:d,preUpdate:u,update:c,preRender:h,render:m,postRender:g}=i,b=()=>{const w=ze.useManualTiming?o.timestamp:performance.now();n=!1,ze.useManualTiming||(o.delta=r?1e3/60:Math.max(Math.min(w-o.timestamp,mu),1)),o.timestamp=w,o.isProcessing=!0,a.process(o),l.process(o),d.process(o),u.process(o),c.process(o),h.process(o),m.process(o),g.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(b))},x=()=>{n=!0,r=!0,o.isProcessing||e(b)};return{schedule:$n.reduce((w,A)=>{const P=i[A];return w[A]=(k,E=!1,D=!1)=>(n||x(),P.schedule(k,E,D)),w},{}),cancel:w=>{for(let A=0;A<$n.length;A++)i[$n[A]].cancel(w)},state:o,steps:i}}const{schedule:J,cancel:Ke,state:ce,steps:Mr}=ys(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ce,!0);let Mn;function gu(){Mn=void 0}const ye={now:()=>(Mn===void 0&&ye.set(ce.isProcessing||ze.useManualTiming?ce.timestamp:performance.now()),Mn),set:e=>{Mn=e,queueMicrotask(gu)}},vs=e=>t=>typeof t=="string"&&t.startsWith(e),Vr=vs("--"),yu=vs("var(--"),Ir=e=>yu(e)?vu.test(e.split("/*")[0].trim()):!1,vu=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,kt={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Wt={...kt,transform:e=>Fe(0,1,e)},Vn={...kt,default:1},Kt=e=>Math.round(e*1e5)/1e5,Lr=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function bu(e){return e==null}const wu=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Nr=(e,t)=>n=>!!(typeof n=="string"&&wu.test(n)&&n.startsWith(e)||t&&!bu(n)&&Object.prototype.hasOwnProperty.call(n,t)),bs=(e,t,n)=>r=>{if(typeof r!="string")return r;const[o,s,i,a]=r.match(Lr);return{[e]:parseFloat(o),[t]:parseFloat(s),[n]:parseFloat(i),alpha:a!==void 0?parseFloat(a):1}},xu=e=>Fe(0,255,e),Br={...kt,transform:e=>Math.round(xu(e))},it={test:Nr("rgb","red"),parse:bs("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Br.transform(e)+", "+Br.transform(t)+", "+Br.transform(n)+", "+Kt(Wt.transform(r))+")"};function Su(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const Or={test:Nr("#"),parse:Su,transform:it.transform},Yt=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ye=Yt("deg"),Ne=Yt("%"),V=Yt("px"),Cu=Yt("vh"),Tu=Yt("vw"),ws={...Ne,parse:e=>Ne.parse(e)/100,transform:e=>Ne.transform(e*100)},Et={test:Nr("hsl","hue"),parse:bs("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Ne.transform(Kt(t))+", "+Ne.transform(Kt(n))+", "+Kt(Wt.transform(r))+")"},re={test:e=>it.test(e)||Or.test(e)||Et.test(e),parse:e=>it.test(e)?it.parse(e):Et.test(e)?Et.parse(e):Or.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?it.transform(e):Et.transform(e),getAnimatableNone:e=>{const t=re.parse(e);return t.alpha=0,re.transform(t)}},ku=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Eu(e){return isNaN(e)&&typeof e=="string"&&(e.match(Lr)?.length||0)+(e.match(ku)?.length||0)>0}const xs="number",Ss="color",Pu="var",Au="var(",Cs="${}",Du=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Gt(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let s=0;const a=t.replace(Du,l=>(re.test(l)?(r.color.push(s),o.push(Ss),n.push(re.parse(l))):l.startsWith(Au)?(r.var.push(s),o.push(Pu),n.push(l)):(r.number.push(s),o.push(xs),n.push(parseFloat(l))),++s,Cs)).split(Cs);return{values:n,split:a,indexes:r,types:o}}function Ts(e){return Gt(e).values}function ks(e){const{split:t,types:n}=Gt(e),r=t.length;return o=>{let s="";for(let i=0;i<r;i++)if(s+=t[i],o[i]!==void 0){const a=n[i];a===xs?s+=Kt(o[i]):a===Ss?s+=re.transform(o[i]):s+=o[i]}return s}}const $u=e=>typeof e=="number"?0:re.test(e)?re.getAnimatableNone(e):e;function Mu(e){const t=Ts(e);return ks(e)(t.map($u))}const Ge={test:Eu,parse:Ts,createTransformer:ks,getAnimatableNone:Mu};function Fr(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Vu({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,s=0,i=0;if(!t)o=s=i=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;o=Fr(l,a,e+1/3),s=Fr(l,a,e),i=Fr(l,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(s*255),blue:Math.round(i*255),alpha:r}}function In(e,t){return n=>n>0?t:e}const Q=(e,t,n)=>e+(t-e)*n,jr=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},Iu=[Or,it,Et],Lu=e=>Iu.find(t=>t.test(e));function Es(e){const t=Lu(e);if(Tt(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===Et&&(n=Vu(n)),n}const Ps=(e,t)=>{const n=Es(e),r=Es(t);if(!n||!r)return In(e,t);const o={...n};return s=>(o.red=jr(n.red,r.red,s),o.green=jr(n.green,r.green,s),o.blue=jr(n.blue,r.blue,s),o.alpha=Q(n.alpha,r.alpha,s),it.transform(o))},zr=new Set(["none","hidden"]);function Nu(e,t){return zr.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Bu(e,t){return n=>Q(e,t,n)}function Rr(e){return typeof e=="number"?Bu:typeof e=="string"?Ir(e)?In:re.test(e)?Ps:ju:Array.isArray(e)?As:typeof e=="object"?re.test(e)?Ps:Ou:In}function As(e,t){const n=[...e],r=n.length,o=e.map((s,i)=>Rr(s)(s,t[i]));return s=>{for(let i=0;i<r;i++)n[i]=o[i](s);return n}}function Ou(e,t){const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=Rr(e[o])(e[o],t[o]));return o=>{for(const s in r)n[s]=r[s](o);return n}}function Fu(e,t){const n=[],r={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){const s=t.types[o],i=e.indexes[s][r[s]],a=e.values[i]??0;n[o]=a,r[s]++}return n}const ju=(e,t)=>{const n=Ge.createTransformer(t),r=Gt(e),o=Gt(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?zr.has(e)&&!o.values.length||zr.has(t)&&!r.values.length?Nu(e,t):_t(As(Fu(r,o),o.values),n):(Tt(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),In(e,t))};function Ds(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Q(e,t,n):Rr(e)(e,t)}const zu=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>J.update(t,n),stop:()=>Ke(t),now:()=>ce.isProcessing?ce.timestamp:ye.now()}},$s=(e,t,n=10)=>{let r="";const o=Math.max(Math.round(t/n),2);for(let s=0;s<o;s++)r+=Math.round(e(s/(o-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Ln=2e4;function _r(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Ln;)t+=n,r=e.next(t);return t>=Ln?1/0:t}function Ru(e,t=100,n){const r=n({...e,keyframes:[0,t]}),o=Math.min(_r(r),Ln);return{type:"keyframes",ease:s=>r.next(o*s).value/t,duration:Te(o)}}const _u=5;function Ms(e,t,n){const r=Math.max(t-_u,0);return rs(n-e(r),t-r)}const ee={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Hr=.001;function Hu({duration:e=ee.duration,bounce:t=ee.bounce,velocity:n=ee.velocity,mass:r=ee.mass}){let o,s;Tt(e<=De(ee.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let i=1-t;i=Fe(ee.minDamping,ee.maxDamping,i),e=Fe(ee.minDuration,ee.maxDuration,Te(e)),i<1?(o=d=>{const u=d*i,c=u*e,h=u-n,m=Ur(d,i),g=Math.exp(-c);return Hr-h/m*g},s=d=>{const c=d*i*e,h=c*n+n,m=Math.pow(i,2)*Math.pow(d,2)*e,g=Math.exp(-c),b=Ur(Math.pow(d,2),i);return(-o(d)+Hr>0?-1:1)*((h-m)*g)/b}):(o=d=>{const u=Math.exp(-d*e),c=(d-n)*e+1;return-Hr+u*c},s=d=>{const u=Math.exp(-d*e),c=(n-d)*(e*e);return u*c});const a=5/e,l=Wu(o,s,a);if(e=De(e),isNaN(l))return{stiffness:ee.stiffness,damping:ee.damping,duration:e};{const d=Math.pow(l,2)*r;return{stiffness:d,damping:i*2*Math.sqrt(r*d),duration:e}}}const Uu=12;function Wu(e,t,n){let r=n;for(let o=1;o<Uu;o++)r=r-e(r)/t(r);return r}function Ur(e,t){return e*Math.sqrt(1-t*t)}const Ku=["duration","bounce"],Yu=["stiffness","damping","mass"];function Vs(e,t){return t.some(n=>e[n]!==void 0)}function Gu(e){let t={velocity:ee.velocity,stiffness:ee.stiffness,damping:ee.damping,mass:ee.mass,isResolvedFromDuration:!1,...e};if(!Vs(e,Yu)&&Vs(e,Ku))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),o=r*r,s=2*Fe(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:ee.mass,stiffness:o,damping:s}}else{const n=Hu(e);t={...t,...n,mass:ee.mass},t.isResolvedFromDuration=!0}return t}function Nn(e=ee.visualDuration,t=ee.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:o}=n;const s=n.keyframes[0],i=n.keyframes[n.keyframes.length-1],a={done:!1,value:s},{stiffness:l,damping:d,mass:u,duration:c,velocity:h,isResolvedFromDuration:m}=Gu({...n,velocity:-Te(n.velocity||0)}),g=h||0,b=d/(2*Math.sqrt(l*u)),x=i-s,y=Te(Math.sqrt(l/u)),C=Math.abs(x)<5;r||(r=C?ee.restSpeed.granular:ee.restSpeed.default),o||(o=C?ee.restDelta.granular:ee.restDelta.default);let w;if(b<1){const P=Ur(y,b);w=k=>{const E=Math.exp(-b*y*k);return i-E*((g+b*y*x)/P*Math.sin(P*k)+x*Math.cos(P*k))}}else if(b===1)w=P=>i-Math.exp(-y*P)*(x+(g+y*x)*P);else{const P=y*Math.sqrt(b*b-1);w=k=>{const E=Math.exp(-b*y*k),D=Math.min(P*k,300);return i-E*((g+b*y*x)*Math.sinh(D)+P*x*Math.cosh(D))/P}}const A={calculatedDuration:m&&c||null,next:P=>{const k=w(P);if(m)a.done=P>=c;else{let E=P===0?g:0;b<1&&(E=P===0?De(g):Ms(w,P,k));const D=Math.abs(E)<=r,L=Math.abs(i-k)<=o;a.done=D&&L}return a.value=a.done?i:k,a},toString:()=>{const P=Math.min(_r(A),Ln),k=$s(E=>A.next(P*E).value,P,30);return P+"ms "+k},toTransition:()=>{}};return A}Nn.applyToOptions=e=>{const t=Ru(e,100,Nn);return e.ease=t.ease,e.duration=De(t.duration),e.type="keyframes",e};function Wr({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:s=500,modifyTarget:i,min:a,max:l,restDelta:d=.5,restSpeed:u}){const c=e[0],h={done:!1,value:c},m=D=>a!==void 0&&D<a||l!==void 0&&D>l,g=D=>a===void 0?l:l===void 0||Math.abs(a-D)<Math.abs(l-D)?a:l;let b=n*t;const x=c+b,y=i===void 0?x:i(x);y!==x&&(b=y-c);const C=D=>-b*Math.exp(-D/r),w=D=>y+C(D),A=D=>{const L=C(D),_=w(D);h.done=Math.abs(L)<=d,h.value=h.done?y:_};let P,k;const E=D=>{m(h.value)&&(P=D,k=Nn({keyframes:[h.value,g(h.value)],velocity:Ms(w,D,h.value),damping:o,stiffness:s,restDelta:d,restSpeed:u}))};return E(0),{calculatedDuration:null,next:D=>{let L=!1;return!k&&P===void 0&&(L=!0,A(D),E(D)),P!==void 0&&D>=P?k.next(D-P):(!L&&A(D),h)}}}function Xu(e,t,n){const r=[],o=n||ze.mix||Ds,s=e.length-1;for(let i=0;i<s;i++){let a=o(e[i],e[i+1]);if(t){const l=Array.isArray(t)?t[i]||Ce:t;a=_t(l,a)}r.push(a)}return r}function Zu(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const s=e.length;if(je(s===t.length,"Both input and output ranges must be the same length","range-length"),s===1)return()=>t[0];if(s===2&&t[0]===t[1])return()=>t[1];const i=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=Xu(t,r,o),l=a.length,d=u=>{if(i&&u<e[0])return t[0];let c=0;if(l>1)for(;c<e.length-2&&!(u<e[c+1]);c++);const h=Ht(e[c],e[c+1],u);return a[c](h)};return n?u=>d(Fe(e[0],e[s-1],u)):d}function qu(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Ht(0,t,r);e.push(Q(n,1,o))}}function Ju(e){const t=[0];return qu(t,e.length-1),t}function Qu(e,t){return e.map(n=>n*t)}function eh(e,t){return e.map(()=>t||fs).splice(0,e.length-1)}function Pt({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=hu(r)?r.map(gs):gs(r),s={done:!1,value:t[0]},i=Qu(n&&n.length===t.length?n:Ju(t),e),a=Zu(i,t,{ease:Array.isArray(o)?o:eh(t,o)});return{calculatedDuration:e,next:l=>(s.value=a(l),s.done=l>=e,s)}}const th=e=>e!==null;function Kr(e,{repeat:t,repeatType:n="loop"},r,o=1){const s=e.filter(th),a=o<0||t&&n!=="loop"&&t%2===1?0:s.length-1;return!a||r===void 0?s[a]:r}const nh={decay:Wr,inertia:Wr,tween:Pt,keyframes:Pt,spring:Nn};function Is(e){typeof e.type=="string"&&(e.type=nh[e.type])}class Yr{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const rh=e=>e/100;class Gr extends Yr{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==ye.now()&&this.tick(ye.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Is(t);const{type:n=Pt,repeat:r=0,repeatDelay:o=0,repeatType:s,velocity:i=0}=t;let{keyframes:a}=t;const l=n||Pt;process.env.NODE_ENV!=="production"&&l!==Pt&&je(a.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${a}`,"spring-two-frames"),l!==Pt&&typeof a[0]!="number"&&(this.mixKeyframes=_t(rh,Ds(a[0],a[1])),a=[0,100]);const d=l({...t,keyframes:a});s==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-i})),d.calculatedDuration===null&&(d.calculatedDuration=_r(d));const{calculatedDuration:u}=d;this.calculatedDuration=u,this.resolvedDuration=u+o,this.totalDuration=this.resolvedDuration*(r+1)-o,this.generator=d}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:o,mixKeyframes:s,mirroredGenerator:i,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:d=0,keyframes:u,repeat:c,repeatType:h,repeatDelay:m,type:g,onUpdate:b,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-o/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const y=this.currentTime-d*(this.playbackSpeed>=0?1:-1),C=this.playbackSpeed>=0?y<0:y>o;this.currentTime=Math.max(y,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let w=this.currentTime,A=r;if(c){const D=Math.min(this.currentTime,o)/a;let L=Math.floor(D),_=D%1;!_&&D>=1&&(_=1),_===1&&L--,L=Math.min(L,c+1),!!(L%2)&&(h==="reverse"?(_=1-_,m&&(_-=m/a)):h==="mirror"&&(A=i)),w=Fe(0,1,_)*a}const P=C?{done:!1,value:u[0]}:A.next(w);s&&(P.value=s(P.value));let{done:k}=P;!C&&l!==null&&(k=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);const E=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&k);return E&&g!==Wr&&(P.value=Kr(u,this.options,x,this.speed)),b&&b(P.value),E&&this.finish(),P}then(t,n){return this.finished.then(t,n)}get duration(){return Te(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Te(t)}get time(){return Te(this.currentTime)}set time(t){t=De(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(ye.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Te(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=zu,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(ye.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function oh(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const st=e=>e*180/Math.PI,Xr=e=>{const t=st(Math.atan2(e[1],e[0]));return Zr(t)},ih={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Xr,rotateZ:Xr,skewX:e=>st(Math.atan(e[1])),skewY:e=>st(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Zr=e=>(e=e%360,e<0&&(e+=360),e),Ls=Xr,Ns=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Bs=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),sh={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Ns,scaleY:Bs,scale:e=>(Ns(e)+Bs(e))/2,rotateX:e=>Zr(st(Math.atan2(e[6],e[5]))),rotateY:e=>Zr(st(Math.atan2(-e[2],e[0]))),rotateZ:Ls,rotate:Ls,skewX:e=>st(Math.atan(e[4])),skewY:e=>st(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function qr(e){return e.includes("scale")?1:0}function Jr(e,t){if(!e||e==="none")return qr(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,o;if(n)r=sh,o=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=ih,o=a}if(!o)return qr(t);const s=r[t],i=o[1].split(",").map(lh);return typeof s=="function"?s(i):i[s]}const ah=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Jr(n,t)};function lh(e){return parseFloat(e.trim())}const At=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Dt=new Set(At),Os=e=>e===kt||e===V,ch=new Set(["x","y","z"]),dh=At.filter(e=>!ch.has(e));function uh(e){const t=[];return dh.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const at={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Jr(t,"x"),y:(e,{transform:t})=>Jr(t,"y")};at.translateX=at.x,at.translateY=at.y;const lt=new Set;let Qr=!1,eo=!1,to=!1;function Fs(){if(eo){const e=Array.from(lt).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const o=uh(r);o.length&&(n.set(r,o),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const o=n.get(r);o&&o.forEach(([s,i])=>{r.getValue(s)?.set(i)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}eo=!1,Qr=!1,lt.forEach(e=>e.complete(to)),lt.clear()}function js(){lt.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(eo=!0)})}function hh(){to=!0,js(),Fs(),to=!1}class no{constructor(t,n,r,o,s,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=o,this.element=s,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(lt.add(this),Qr||(Qr=!0,J.read(js),J.resolveKeyframes(Fs))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:o}=this;if(t[0]===null){const s=o?.get(),i=t[t.length-1];if(s!==void 0)t[0]=s;else if(r&&n){const a=r.readValue(n,i);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=i),o&&s===void 0&&o.set(t[0])}oh(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),lt.delete(this)}cancel(){this.state==="scheduled"&&(lt.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const fh=e=>e.startsWith("--");function ph(e,t,n){fh(t)?e.style.setProperty(t,n):e.style[t]=n}const mh=Er(()=>window.ScrollTimeline!==void 0),gh={};function yh(e,t){const n=Er(e);return()=>gh[t]??n()}const zs=yh(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Xt=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Rs={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Xt([0,.65,.55,1]),circOut:Xt([.55,0,1,.45]),backIn:Xt([.31,.01,.66,-.59]),backOut:Xt([.33,1.53,.69,.99])};function _s(e,t){if(e)return typeof e=="function"?zs()?$s(e,t):"ease-out":ps(e)?Xt(e):Array.isArray(e)?e.map(n=>_s(n,t)||Rs.easeOut):Rs[e]}function vh(e,t,n,{delay:r=0,duration:o=300,repeat:s=0,repeatType:i="loop",ease:a="easeOut",times:l}={},d=void 0){const u={[t]:n};l&&(u.offset=l);const c=_s(a,o);Array.isArray(c)&&(u.easing=c);const h={delay:r,duration:o,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:i==="reverse"?"alternate":"normal"};return d&&(h.pseudoElement=d),e.animate(u,h)}function Hs(e){return typeof e=="function"&&"applyToOptions"in e}function bh({type:e,...t}){return Hs(e)&&zs()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class wh extends Yr{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:r,keyframes:o,pseudoElement:s,allowFlatten:i=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!s,this.allowFlatten=i,this.options=t,je(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const d=bh(t);this.animation=vh(n,r,o,d,s),d.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){const u=Kr(o,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(u):ph(n,r,u),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return Te(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Te(t)}get time(){return Te(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=De(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&mh()?(this.animation.timeline=t,Ce):n(this)}}const Us={anticipate:ds,backInOut:cs,circInOut:hs};function xh(e){return e in Us}function Sh(e){typeof e.ease=="string"&&xh(e.ease)&&(e.ease=Us[e.ease])}const Ws=10;class Ch extends wh{constructor(t){Sh(t),Is(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:o,element:s,...i}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new Gr({...i,autoplay:!1}),l=De(this.finishedTime??this.time);n.setWithVelocity(a.sample(l-Ws).value,a.sample(l).value,Ws),a.stop()}}const Ks=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ge.test(e)||e==="0")&&!e.startsWith("url("));function Th(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function kh(e,t,n,r){const o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;const s=e[e.length-1],i=Ks(o,t),a=Ks(s,t);return Tt(i===a,`You are trying to animate ${t} from "${o}" to "${s}". "${i?s:o}" is not an animatable value.`,"value-not-animatable"),!i||!a?!1:Th(e)||(n==="spring"||Hs(n))&&r}function ro(e){e.duration=0,e.type="keyframes"}const Eh=new Set(["opacity","clipPath","filter","transform"]),Ph=Er(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Ah(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:o,damping:s,type:i}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:d}=t.owner.getProps();return Ph()&&n&&Eh.has(n)&&(n!=="transform"||!d)&&!l&&!r&&o!=="mirror"&&s!==0&&i!=="inertia"}const Dh=40;class $h extends Yr{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:o=0,repeatDelay:s=0,repeatType:i="loop",keyframes:a,name:l,motionValue:d,element:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=ye.now();const h={autoplay:t,delay:n,type:r,repeat:o,repeatDelay:s,repeatType:i,name:l,motionValue:d,element:u,...c},m=u?.KeyframeResolver||no;this.keyframeResolver=new m(a,(g,b,x)=>this.onKeyframesResolved(g,b,h,!x),l,d,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,r,o){this.keyframeResolver=void 0;const{name:s,type:i,velocity:a,delay:l,isHandoff:d,onUpdate:u}=r;this.resolvedAt=ye.now(),kh(t,s,i,a)||((ze.instantAnimations||!l)&&u?.(Kr(t,r,n)),t[0]=t[t.length-1],ro(r),r.repeat=0);const h={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>Dh?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},m=!d&&Ah(h)?new Ch({...h,element:h.motionValue.owner.current}):new Gr(h);m.finished.then(()=>this.notifyFinished()).catch(Ce),this.pendingTimeline&&(this.stopTimeline=m.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),hh()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const Mh=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Vh(e){const t=Mh.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}const Ih=4;function Ys(e,t,n=1){je(n<=Ih,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,o]=Vh(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const i=s.trim();return es(i)?parseFloat(i):i}return Ir(o)?Ys(o,t,n+1):o}function oo(e,t){return e?.[t]??e?.default??e}const Gs=new Set(["width","height","top","left","right","bottom",...At]),Lh={test:e=>e==="auto",parse:e=>e},Xs=e=>t=>t.test(e),Zs=[kt,V,Ne,Ye,Tu,Cu,Lh],qs=e=>Zs.find(Xs(e));function Nh(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||ns(e):!0}const Bh=new Set(["brightness","contrast","saturate","opacity"]);function Oh(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Lr)||[];if(!r)return e;const o=n.replace(r,"");let s=Bh.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+o+")"}const Fh=/\b([a-z-]*)\(.*?\)/gu,io={...Ge,getAnimatableNone:e=>{const t=e.match(Fh);return t?t.map(Oh).join(" "):e}},Js={...kt,transform:Math.round},so={borderWidth:V,borderTopWidth:V,borderRightWidth:V,borderBottomWidth:V,borderLeftWidth:V,borderRadius:V,radius:V,borderTopLeftRadius:V,borderTopRightRadius:V,borderBottomRightRadius:V,borderBottomLeftRadius:V,width:V,maxWidth:V,height:V,maxHeight:V,top:V,right:V,bottom:V,left:V,padding:V,paddingTop:V,paddingRight:V,paddingBottom:V,paddingLeft:V,margin:V,marginTop:V,marginRight:V,marginBottom:V,marginLeft:V,backgroundPositionX:V,backgroundPositionY:V,...{rotate:Ye,rotateX:Ye,rotateY:Ye,rotateZ:Ye,scale:Vn,scaleX:Vn,scaleY:Vn,scaleZ:Vn,skew:Ye,skewX:Ye,skewY:Ye,distance:V,translateX:V,translateY:V,translateZ:V,x:V,y:V,z:V,perspective:V,transformPerspective:V,opacity:Wt,originX:ws,originY:ws,originZ:V},zIndex:Js,fillOpacity:Wt,strokeOpacity:Wt,numOctaves:Js},jh={...so,color:re,backgroundColor:re,outlineColor:re,fill:re,stroke:re,borderColor:re,borderTopColor:re,borderRightColor:re,borderBottomColor:re,borderLeftColor:re,filter:io,WebkitFilter:io},Qs=e=>jh[e];function ea(e,t){let n=Qs(e);return n!==io&&(n=Ge),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const zh=new Set(["auto","none","0"]);function Rh(e,t,n){let r=0,o;for(;r<e.length&&!o;){const s=e[r];typeof s=="string"&&!zh.has(s)&&Gt(s).values.length&&(o=e[r]),r++}if(o&&n)for(const s of t)e[s]=ea(n,o)}class _h extends no{constructor(t,n,r,o,s){super(t,n,r,o,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let d=t[l];if(typeof d=="string"&&(d=d.trim(),Ir(d))){const u=Ys(d,n.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!Gs.has(r)||t.length!==2)return;const[o,s]=t,i=qs(o),a=qs(s);if(i!==a)if(Os(i)&&Os(a))for(let l=0;l<t.length;l++){const d=t[l];typeof d=="string"&&(t[l]=parseFloat(d))}else at[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let o=0;o<t.length;o++)(t[o]===null||Nh(t[o]))&&r.push(o);r.length&&Rh(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=at[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const o=n[n.length-1];o!==void 0&&t.getValue(r,o).jump(o,!1)}measureEndState(){const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const o=t.getValue(n);o&&o.jump(this.measuredOrigin,!1);const s=r.length-1,i=r[s];r[s]=at[n](t.measureViewportBox(),window.getComputedStyle(t.current)),i!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=i),this.removedTransforms?.length&&this.removedTransforms.forEach(([a,l])=>{t.getValue(a).set(l)}),this.resolveNoneKeyframes()}}function Hh(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;const o=n?.[e]??r.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e)}const ta=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function na(e){return ts(e)&&"offsetHeight"in e}const ra=30,Uh=e=>!isNaN(parseFloat(e));class Wh{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const o=ye.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const s of this.dependents)s.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=ye.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Uh(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&Ar(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Pr);const r=this.events[t].add(n);return t==="change"?()=>{r(),J.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=ye.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>ra)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,ra);return rs(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function $t(e,t){return new Wh(e,t)}const{schedule:ao}=ys(queueMicrotask,!1),$e={x:!1,y:!1};function oa(){return $e.x||$e.y}function Kh(e){return e==="x"||e==="y"?$e[e]?null:($e[e]=!0,()=>{$e[e]=!1}):$e.x||$e.y?null:($e.x=$e.y=!0,()=>{$e.x=$e.y=!1})}function ia(e,t){const n=Hh(e),r=new AbortController,o={passive:!0,...t,signal:r.signal};return[n,o,()=>r.abort()]}function sa(e){return!(e.pointerType==="touch"||oa())}function Yh(e,t,n={}){const[r,o,s]=ia(e,n),i=a=>{if(!sa(a))return;const{target:l}=a,d=t(l,a);if(typeof d!="function"||!l)return;const u=c=>{sa(c)&&(d(c),l.removeEventListener("pointerleave",u))};l.addEventListener("pointerleave",u,o)};return r.forEach(a=>{a.addEventListener("pointerenter",i,o)}),s}const aa=(e,t)=>t?e===t?!0:aa(e,t.parentElement):!1,lo=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,Gh=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Xh(e){return Gh.has(e.tagName)||e.tabIndex!==-1}const Bn=new WeakSet;function la(e){return t=>{t.key==="Enter"&&e(t)}}function co(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const Zh=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=la(()=>{if(Bn.has(n))return;co(n,"down");const o=la(()=>{co(n,"up")}),s=()=>co(n,"cancel");n.addEventListener("keyup",o,t),n.addEventListener("blur",s,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function ca(e){return lo(e)&&!oa()}function qh(e,t,n={}){const[r,o,s]=ia(e,n),i=a=>{const l=a.currentTarget;if(!ca(a))return;Bn.add(l);const d=t(l,a),u=(m,g)=>{window.removeEventListener("pointerup",c),window.removeEventListener("pointercancel",h),Bn.has(l)&&Bn.delete(l),ca(m)&&typeof d=="function"&&d(m,{success:g})},c=m=>{u(m,l===window||l===document||n.useGlobalTarget||aa(l,m.target))},h=m=>{u(m,!1)};window.addEventListener("pointerup",c,o),window.addEventListener("pointercancel",h,o)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",i,o),na(a)&&(a.addEventListener("focus",d=>Zh(d,o)),!Xh(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),s}function da(e){return ts(e)&&"ownerSVGElement"in e}function Jh(e){return da(e)&&e.tagName==="svg"}const ue=e=>!!(e&&e.getVelocity),Qh=[...Zs,re,Ge],ef=e=>Qh.find(Xs(e)),uo=f.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function ua(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function tf(...e){return t=>{let n=!1;const r=e.map(o=>{const s=ua(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():ua(e[o],null)}}}}function nf(...e){return cn.useCallback(tf(...e),e)}class rf extends cn.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=n.offsetParent,o=na(r)&&r.offsetWidth||0,s=this.props.sizeRef.current;s.height=n.offsetHeight||0,s.width=n.offsetWidth||0,s.top=n.offsetTop,s.left=n.offsetLeft,s.right=o-s.width-s.left}return null}componentDidUpdate(){}render(){return this.props.children}}function of({children:e,isPresent:t,anchorX:n,root:r}){const o=f.useId(),s=f.useRef(null),i=f.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:a}=f.useContext(uo),l=nf(s,e?.ref);return f.useInsertionEffect(()=>{const{width:d,height:u,top:c,left:h,right:m}=i.current;if(t||!s.current||!d||!u)return;const g=n==="left"?`left: ${h}`:`right: ${m}`;s.current.dataset.motionPopId=o;const b=document.createElement("style");a&&(b.nonce=a);const x=r??document.head;return x.appendChild(b),b.sheet&&b.sheet.insertRule(`
226
+ `,Ji={tn:"1rem",sm:"1.5rem",md:"2rem",lg:"3rem"},W=({component:e,size:t="1.5rem",color:n="currentColor",className:r,iconProps:o={}})=>{const s=typeof t=="string"&&t in Ji?Ji[t]:t;return p.jsx(su,{$color:n,className:r,children:typeof e=="function"?p.jsx(e,{size:s,...o}):e})},wr=f.createContext({});function xr(e){const t=f.useRef(null);return t.current===null&&(t.current=e()),t.current}const Sr=typeof window<"u",Qi=Sr?f.useLayoutEffect:f.useEffect,Dn=f.createContext(null);function Cr(e,t){e.indexOf(t)===-1&&e.push(t)}function Tr(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const je=(e,t,n)=>n>t?t:n<e?e:n;function kr(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let Tt=()=>{},ze=()=>{};process.env.NODE_ENV!=="production"&&(Tt=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(kr(t,n))},ze=(e,t,n)=>{if(!e)throw new Error(kr(t,n))});const Re={},es=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function ts(e){return typeof e=="object"&&e!==null}const ns=e=>/^0[^.\s]+$/u.test(e);function Er(e){let t;return()=>(t===void 0&&(t=e()),t)}const Ce=e=>e,au=(e,t)=>n=>t(e(n)),_t=(...e)=>e.reduce(au),Ht=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class Pr{constructor(){this.subscriptions=[]}add(t){return Cr(this.subscriptions,t),()=>Tr(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let s=0;s<o;s++){const i=this.subscriptions[s];i&&i(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const De=e=>e*1e3,Te=e=>e/1e3;function rs(e,t){return t?e*(1e3/t):0}const os=new Set;function Ar(e,t,n){e||os.has(t)||(console.warn(kr(t,n)),os.add(t))}const is=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,lu=1e-7,cu=12;function du(e,t,n,r,o){let s,i,a=0;do i=t+(n-t)/2,s=is(i,r,o)-e,s>0?n=i:t=i;while(Math.abs(s)>lu&&++a<cu);return i}function Ut(e,t,n,r){if(e===t&&n===r)return Ce;const o=s=>du(s,0,1,e,n);return s=>s===0||s===1?s:is(o(s),t,r)}const ss=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,as=e=>t=>1-e(1-t),ls=Ut(.33,1.53,.69,.99),Dr=as(ls),cs=ss(Dr),ds=e=>(e*=2)<1?.5*Dr(e):.5*(2-Math.pow(2,-10*(e-1))),$r=e=>1-Math.sin(Math.acos(e)),us=as($r),hs=ss($r),uu=Ut(.42,0,1,1),hu=Ut(0,0,.58,1),fs=Ut(.42,0,.58,1),fu=e=>Array.isArray(e)&&typeof e[0]!="number",ps=e=>Array.isArray(e)&&typeof e[0]=="number",ms={linear:Ce,easeIn:uu,easeInOut:fs,easeOut:hu,circIn:$r,circInOut:hs,circOut:us,backIn:Dr,backInOut:cs,backOut:ls,anticipate:ds},pu=e=>typeof e=="string",gs=e=>{if(ps(e)){ze(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,o]=e;return Ut(t,n,r,o)}else if(pu(e))return ze(ms[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),ms[e];return e},$n=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function mu(e,t){let n=new Set,r=new Set,o=!1,s=!1;const i=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function l(u){i.has(u)&&(d.schedule(u),e()),u(a)}const d={schedule:(u,c=!1,h=!1)=>{const g=h&&o?n:r;return c&&i.add(u),g.has(u)||g.add(u),u},cancel:u=>{r.delete(u),i.delete(u)},process:u=>{if(a=u,o){s=!0;return}o=!0,[n,r]=[r,n],n.forEach(l),n.clear(),o=!1,s&&(s=!1,d.process(u))}};return d}const gu=40;function ys(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,i=$n.reduce((x,A)=>(x[A]=mu(s),x),{}),{setup:a,read:l,resolveKeyframes:d,preUpdate:u,update:c,preRender:h,render:m,postRender:g}=i,v=()=>{const x=Re.useManualTiming?o.timestamp:performance.now();n=!1,Re.useManualTiming||(o.delta=r?1e3/60:Math.max(Math.min(x-o.timestamp,gu),1)),o.timestamp=x,o.isProcessing=!0,a.process(o),l.process(o),d.process(o),u.process(o),c.process(o),h.process(o),m.process(o),g.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(v))},w=()=>{n=!0,r=!0,o.isProcessing||e(v)};return{schedule:$n.reduce((x,A)=>{const P=i[A];return x[A]=(k,E=!1,D=!1)=>(n||w(),P.schedule(k,E,D)),x},{}),cancel:x=>{for(let A=0;A<$n.length;A++)i[$n[A]].cancel(x)},state:o,steps:i}}const{schedule:J,cancel:Ke,state:ce,steps:Mr}=ys(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ce,!0);let Mn;function yu(){Mn=void 0}const ye={now:()=>(Mn===void 0&&ye.set(ce.isProcessing||Re.useManualTiming?ce.timestamp:performance.now()),Mn),set:e=>{Mn=e,queueMicrotask(yu)}},vs=e=>t=>typeof t=="string"&&t.startsWith(e),Vr=vs("--"),vu=vs("var(--"),Ir=e=>vu(e)?bu.test(e.split("/*")[0].trim()):!1,bu=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,kt={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Wt={...kt,transform:e=>je(0,1,e)},Vn={...kt,default:1},Kt=e=>Math.round(e*1e5)/1e5,Lr=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function wu(e){return e==null}const xu=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Nr=(e,t)=>n=>!!(typeof n=="string"&&xu.test(n)&&n.startsWith(e)||t&&!wu(n)&&Object.prototype.hasOwnProperty.call(n,t)),bs=(e,t,n)=>r=>{if(typeof r!="string")return r;const[o,s,i,a]=r.match(Lr);return{[e]:parseFloat(o),[t]:parseFloat(s),[n]:parseFloat(i),alpha:a!==void 0?parseFloat(a):1}},Su=e=>je(0,255,e),Br={...kt,transform:e=>Math.round(Su(e))},it={test:Nr("rgb","red"),parse:bs("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Br.transform(e)+", "+Br.transform(t)+", "+Br.transform(n)+", "+Kt(Wt.transform(r))+")"};function Cu(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const Or={test:Nr("#"),parse:Cu,transform:it.transform},Yt=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ye=Yt("deg"),Be=Yt("%"),M=Yt("px"),Tu=Yt("vh"),ku=Yt("vw"),ws={...Be,parse:e=>Be.parse(e)/100,transform:e=>Be.transform(e*100)},Et={test:Nr("hsl","hue"),parse:bs("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Be.transform(Kt(t))+", "+Be.transform(Kt(n))+", "+Kt(Wt.transform(r))+")"},re={test:e=>it.test(e)||Or.test(e)||Et.test(e),parse:e=>it.test(e)?it.parse(e):Et.test(e)?Et.parse(e):Or.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?it.transform(e):Et.transform(e),getAnimatableNone:e=>{const t=re.parse(e);return t.alpha=0,re.transform(t)}},Eu=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Pu(e){return isNaN(e)&&typeof e=="string"&&(e.match(Lr)?.length||0)+(e.match(Eu)?.length||0)>0}const xs="number",Ss="color",Au="var",Du="var(",Cs="${}",$u=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Gt(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let s=0;const a=t.replace($u,l=>(re.test(l)?(r.color.push(s),o.push(Ss),n.push(re.parse(l))):l.startsWith(Du)?(r.var.push(s),o.push(Au),n.push(l)):(r.number.push(s),o.push(xs),n.push(parseFloat(l))),++s,Cs)).split(Cs);return{values:n,split:a,indexes:r,types:o}}function Ts(e){return Gt(e).values}function ks(e){const{split:t,types:n}=Gt(e),r=t.length;return o=>{let s="";for(let i=0;i<r;i++)if(s+=t[i],o[i]!==void 0){const a=n[i];a===xs?s+=Kt(o[i]):a===Ss?s+=re.transform(o[i]):s+=o[i]}return s}}const Mu=e=>typeof e=="number"?0:re.test(e)?re.getAnimatableNone(e):e;function Vu(e){const t=Ts(e);return ks(e)(t.map(Mu))}const Ge={test:Pu,parse:Ts,createTransformer:ks,getAnimatableNone:Vu};function Fr(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Iu({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,s=0,i=0;if(!t)o=s=i=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;o=Fr(l,a,e+1/3),s=Fr(l,a,e),i=Fr(l,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(s*255),blue:Math.round(i*255),alpha:r}}function In(e,t){return n=>n>0?t:e}const Q=(e,t,n)=>e+(t-e)*n,jr=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},Lu=[Or,it,Et],Nu=e=>Lu.find(t=>t.test(e));function Es(e){const t=Nu(e);if(Tt(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===Et&&(n=Iu(n)),n}const Ps=(e,t)=>{const n=Es(e),r=Es(t);if(!n||!r)return In(e,t);const o={...n};return s=>(o.red=jr(n.red,r.red,s),o.green=jr(n.green,r.green,s),o.blue=jr(n.blue,r.blue,s),o.alpha=Q(n.alpha,r.alpha,s),it.transform(o))},zr=new Set(["none","hidden"]);function Bu(e,t){return zr.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Ou(e,t){return n=>Q(e,t,n)}function Rr(e){return typeof e=="number"?Ou:typeof e=="string"?Ir(e)?In:re.test(e)?Ps:zu:Array.isArray(e)?As:typeof e=="object"?re.test(e)?Ps:Fu:In}function As(e,t){const n=[...e],r=n.length,o=e.map((s,i)=>Rr(s)(s,t[i]));return s=>{for(let i=0;i<r;i++)n[i]=o[i](s);return n}}function Fu(e,t){const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=Rr(e[o])(e[o],t[o]));return o=>{for(const s in r)n[s]=r[s](o);return n}}function ju(e,t){const n=[],r={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){const s=t.types[o],i=e.indexes[s][r[s]],a=e.values[i]??0;n[o]=a,r[s]++}return n}const zu=(e,t)=>{const n=Ge.createTransformer(t),r=Gt(e),o=Gt(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?zr.has(e)&&!o.values.length||zr.has(t)&&!r.values.length?Bu(e,t):_t(As(ju(r,o),o.values),n):(Tt(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),In(e,t))};function Ds(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Q(e,t,n):Rr(e)(e,t)}const Ru=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>J.update(t,n),stop:()=>Ke(t),now:()=>ce.isProcessing?ce.timestamp:ye.now()}},$s=(e,t,n=10)=>{let r="";const o=Math.max(Math.round(t/n),2);for(let s=0;s<o;s++)r+=Math.round(e(s/(o-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Ln=2e4;function _r(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Ln;)t+=n,r=e.next(t);return t>=Ln?1/0:t}function _u(e,t=100,n){const r=n({...e,keyframes:[0,t]}),o=Math.min(_r(r),Ln);return{type:"keyframes",ease:s=>r.next(o*s).value/t,duration:Te(o)}}const Hu=5;function Ms(e,t,n){const r=Math.max(t-Hu,0);return rs(n-e(r),t-r)}const ee={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Hr=.001;function Uu({duration:e=ee.duration,bounce:t=ee.bounce,velocity:n=ee.velocity,mass:r=ee.mass}){let o,s;Tt(e<=De(ee.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let i=1-t;i=je(ee.minDamping,ee.maxDamping,i),e=je(ee.minDuration,ee.maxDuration,Te(e)),i<1?(o=d=>{const u=d*i,c=u*e,h=u-n,m=Ur(d,i),g=Math.exp(-c);return Hr-h/m*g},s=d=>{const c=d*i*e,h=c*n+n,m=Math.pow(i,2)*Math.pow(d,2)*e,g=Math.exp(-c),v=Ur(Math.pow(d,2),i);return(-o(d)+Hr>0?-1:1)*((h-m)*g)/v}):(o=d=>{const u=Math.exp(-d*e),c=(d-n)*e+1;return-Hr+u*c},s=d=>{const u=Math.exp(-d*e),c=(n-d)*(e*e);return u*c});const a=5/e,l=Ku(o,s,a);if(e=De(e),isNaN(l))return{stiffness:ee.stiffness,damping:ee.damping,duration:e};{const d=Math.pow(l,2)*r;return{stiffness:d,damping:i*2*Math.sqrt(r*d),duration:e}}}const Wu=12;function Ku(e,t,n){let r=n;for(let o=1;o<Wu;o++)r=r-e(r)/t(r);return r}function Ur(e,t){return e*Math.sqrt(1-t*t)}const Yu=["duration","bounce"],Gu=["stiffness","damping","mass"];function Vs(e,t){return t.some(n=>e[n]!==void 0)}function Xu(e){let t={velocity:ee.velocity,stiffness:ee.stiffness,damping:ee.damping,mass:ee.mass,isResolvedFromDuration:!1,...e};if(!Vs(e,Gu)&&Vs(e,Yu))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),o=r*r,s=2*je(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:ee.mass,stiffness:o,damping:s}}else{const n=Uu(e);t={...t,...n,mass:ee.mass},t.isResolvedFromDuration=!0}return t}function Nn(e=ee.visualDuration,t=ee.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:o}=n;const s=n.keyframes[0],i=n.keyframes[n.keyframes.length-1],a={done:!1,value:s},{stiffness:l,damping:d,mass:u,duration:c,velocity:h,isResolvedFromDuration:m}=Xu({...n,velocity:-Te(n.velocity||0)}),g=h||0,v=d/(2*Math.sqrt(l*u)),w=i-s,y=Te(Math.sqrt(l/u)),S=Math.abs(w)<5;r||(r=S?ee.restSpeed.granular:ee.restSpeed.default),o||(o=S?ee.restDelta.granular:ee.restDelta.default);let x;if(v<1){const P=Ur(y,v);x=k=>{const E=Math.exp(-v*y*k);return i-E*((g+v*y*w)/P*Math.sin(P*k)+w*Math.cos(P*k))}}else if(v===1)x=P=>i-Math.exp(-y*P)*(w+(g+y*w)*P);else{const P=y*Math.sqrt(v*v-1);x=k=>{const E=Math.exp(-v*y*k),D=Math.min(P*k,300);return i-E*((g+v*y*w)*Math.sinh(D)+P*w*Math.cosh(D))/P}}const A={calculatedDuration:m&&c||null,next:P=>{const k=x(P);if(m)a.done=P>=c;else{let E=P===0?g:0;v<1&&(E=P===0?De(g):Ms(x,P,k));const D=Math.abs(E)<=r,L=Math.abs(i-k)<=o;a.done=D&&L}return a.value=a.done?i:k,a},toString:()=>{const P=Math.min(_r(A),Ln),k=$s(E=>A.next(P*E).value,P,30);return P+"ms "+k},toTransition:()=>{}};return A}Nn.applyToOptions=e=>{const t=_u(e,100,Nn);return e.ease=t.ease,e.duration=De(t.duration),e.type="keyframes",e};function Wr({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:s=500,modifyTarget:i,min:a,max:l,restDelta:d=.5,restSpeed:u}){const c=e[0],h={done:!1,value:c},m=D=>a!==void 0&&D<a||l!==void 0&&D>l,g=D=>a===void 0?l:l===void 0||Math.abs(a-D)<Math.abs(l-D)?a:l;let v=n*t;const w=c+v,y=i===void 0?w:i(w);y!==w&&(v=y-c);const S=D=>-v*Math.exp(-D/r),x=D=>y+S(D),A=D=>{const L=S(D),_=x(D);h.done=Math.abs(L)<=d,h.value=h.done?y:_};let P,k;const E=D=>{m(h.value)&&(P=D,k=Nn({keyframes:[h.value,g(h.value)],velocity:Ms(x,D,h.value),damping:o,stiffness:s,restDelta:d,restSpeed:u}))};return E(0),{calculatedDuration:null,next:D=>{let L=!1;return!k&&P===void 0&&(L=!0,A(D),E(D)),P!==void 0&&D>=P?k.next(D-P):(!L&&A(D),h)}}}function Zu(e,t,n){const r=[],o=n||Re.mix||Ds,s=e.length-1;for(let i=0;i<s;i++){let a=o(e[i],e[i+1]);if(t){const l=Array.isArray(t)?t[i]||Ce:t;a=_t(l,a)}r.push(a)}return r}function qu(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const s=e.length;if(ze(s===t.length,"Both input and output ranges must be the same length","range-length"),s===1)return()=>t[0];if(s===2&&t[0]===t[1])return()=>t[1];const i=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=Zu(t,r,o),l=a.length,d=u=>{if(i&&u<e[0])return t[0];let c=0;if(l>1)for(;c<e.length-2&&!(u<e[c+1]);c++);const h=Ht(e[c],e[c+1],u);return a[c](h)};return n?u=>d(je(e[0],e[s-1],u)):d}function Ju(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Ht(0,t,r);e.push(Q(n,1,o))}}function Qu(e){const t=[0];return Ju(t,e.length-1),t}function eh(e,t){return e.map(n=>n*t)}function th(e,t){return e.map(()=>t||fs).splice(0,e.length-1)}function Pt({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=fu(r)?r.map(gs):gs(r),s={done:!1,value:t[0]},i=eh(n&&n.length===t.length?n:Qu(t),e),a=qu(i,t,{ease:Array.isArray(o)?o:th(t,o)});return{calculatedDuration:e,next:l=>(s.value=a(l),s.done=l>=e,s)}}const nh=e=>e!==null;function Kr(e,{repeat:t,repeatType:n="loop"},r,o=1){const s=e.filter(nh),a=o<0||t&&n!=="loop"&&t%2===1?0:s.length-1;return!a||r===void 0?s[a]:r}const rh={decay:Wr,inertia:Wr,tween:Pt,keyframes:Pt,spring:Nn};function Is(e){typeof e.type=="string"&&(e.type=rh[e.type])}class Yr{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const oh=e=>e/100;class Gr extends Yr{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==ye.now()&&this.tick(ye.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Is(t);const{type:n=Pt,repeat:r=0,repeatDelay:o=0,repeatType:s,velocity:i=0}=t;let{keyframes:a}=t;const l=n||Pt;process.env.NODE_ENV!=="production"&&l!==Pt&&ze(a.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${a}`,"spring-two-frames"),l!==Pt&&typeof a[0]!="number"&&(this.mixKeyframes=_t(oh,Ds(a[0],a[1])),a=[0,100]);const d=l({...t,keyframes:a});s==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-i})),d.calculatedDuration===null&&(d.calculatedDuration=_r(d));const{calculatedDuration:u}=d;this.calculatedDuration=u,this.resolvedDuration=u+o,this.totalDuration=this.resolvedDuration*(r+1)-o,this.generator=d}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:o,mixKeyframes:s,mirroredGenerator:i,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:d=0,keyframes:u,repeat:c,repeatType:h,repeatDelay:m,type:g,onUpdate:v,finalKeyframe:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-o/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const y=this.currentTime-d*(this.playbackSpeed>=0?1:-1),S=this.playbackSpeed>=0?y<0:y>o;this.currentTime=Math.max(y,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let x=this.currentTime,A=r;if(c){const D=Math.min(this.currentTime,o)/a;let L=Math.floor(D),_=D%1;!_&&D>=1&&(_=1),_===1&&L--,L=Math.min(L,c+1),!!(L%2)&&(h==="reverse"?(_=1-_,m&&(_-=m/a)):h==="mirror"&&(A=i)),x=je(0,1,_)*a}const P=S?{done:!1,value:u[0]}:A.next(x);s&&(P.value=s(P.value));let{done:k}=P;!S&&l!==null&&(k=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);const E=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&k);return E&&g!==Wr&&(P.value=Kr(u,this.options,w,this.speed)),v&&v(P.value),E&&this.finish(),P}then(t,n){return this.finished.then(t,n)}get duration(){return Te(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Te(t)}get time(){return Te(this.currentTime)}set time(t){t=De(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(ye.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Te(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=Ru,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(ye.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function ih(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const st=e=>e*180/Math.PI,Xr=e=>{const t=st(Math.atan2(e[1],e[0]));return Zr(t)},sh={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Xr,rotateZ:Xr,skewX:e=>st(Math.atan(e[1])),skewY:e=>st(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Zr=e=>(e=e%360,e<0&&(e+=360),e),Ls=Xr,Ns=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Bs=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),ah={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Ns,scaleY:Bs,scale:e=>(Ns(e)+Bs(e))/2,rotateX:e=>Zr(st(Math.atan2(e[6],e[5]))),rotateY:e=>Zr(st(Math.atan2(-e[2],e[0]))),rotateZ:Ls,rotate:Ls,skewX:e=>st(Math.atan(e[4])),skewY:e=>st(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function qr(e){return e.includes("scale")?1:0}function Jr(e,t){if(!e||e==="none")return qr(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,o;if(n)r=ah,o=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=sh,o=a}if(!o)return qr(t);const s=r[t],i=o[1].split(",").map(ch);return typeof s=="function"?s(i):i[s]}const lh=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Jr(n,t)};function ch(e){return parseFloat(e.trim())}const At=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Dt=new Set(At),Os=e=>e===kt||e===M,dh=new Set(["x","y","z"]),uh=At.filter(e=>!dh.has(e));function hh(e){const t=[];return uh.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const at={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Jr(t,"x"),y:(e,{transform:t})=>Jr(t,"y")};at.translateX=at.x,at.translateY=at.y;const lt=new Set;let Qr=!1,eo=!1,to=!1;function Fs(){if(eo){const e=Array.from(lt).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const o=hh(r);o.length&&(n.set(r,o),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const o=n.get(r);o&&o.forEach(([s,i])=>{r.getValue(s)?.set(i)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}eo=!1,Qr=!1,lt.forEach(e=>e.complete(to)),lt.clear()}function js(){lt.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(eo=!0)})}function fh(){to=!0,js(),Fs(),to=!1}class no{constructor(t,n,r,o,s,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=o,this.element=s,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(lt.add(this),Qr||(Qr=!0,J.read(js),J.resolveKeyframes(Fs))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:o}=this;if(t[0]===null){const s=o?.get(),i=t[t.length-1];if(s!==void 0)t[0]=s;else if(r&&n){const a=r.readValue(n,i);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=i),o&&s===void 0&&o.set(t[0])}ih(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),lt.delete(this)}cancel(){this.state==="scheduled"&&(lt.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const ph=e=>e.startsWith("--");function mh(e,t,n){ph(t)?e.style.setProperty(t,n):e.style[t]=n}const gh=Er(()=>window.ScrollTimeline!==void 0),yh={};function vh(e,t){const n=Er(e);return()=>yh[t]??n()}const zs=vh(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Xt=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Rs={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Xt([0,.65,.55,1]),circOut:Xt([.55,0,1,.45]),backIn:Xt([.31,.01,.66,-.59]),backOut:Xt([.33,1.53,.69,.99])};function _s(e,t){if(e)return typeof e=="function"?zs()?$s(e,t):"ease-out":ps(e)?Xt(e):Array.isArray(e)?e.map(n=>_s(n,t)||Rs.easeOut):Rs[e]}function bh(e,t,n,{delay:r=0,duration:o=300,repeat:s=0,repeatType:i="loop",ease:a="easeOut",times:l}={},d=void 0){const u={[t]:n};l&&(u.offset=l);const c=_s(a,o);Array.isArray(c)&&(u.easing=c);const h={delay:r,duration:o,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:i==="reverse"?"alternate":"normal"};return d&&(h.pseudoElement=d),e.animate(u,h)}function Hs(e){return typeof e=="function"&&"applyToOptions"in e}function wh({type:e,...t}){return Hs(e)&&zs()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class xh extends Yr{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:r,keyframes:o,pseudoElement:s,allowFlatten:i=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!s,this.allowFlatten=i,this.options=t,ze(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const d=wh(t);this.animation=bh(n,r,o,d,s),d.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){const u=Kr(o,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(u):mh(n,r,u),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return Te(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Te(t)}get time(){return Te(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=De(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&gh()?(this.animation.timeline=t,Ce):n(this)}}const Us={anticipate:ds,backInOut:cs,circInOut:hs};function Sh(e){return e in Us}function Ch(e){typeof e.ease=="string"&&Sh(e.ease)&&(e.ease=Us[e.ease])}const Ws=10;class Th extends xh{constructor(t){Ch(t),Is(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:o,element:s,...i}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new Gr({...i,autoplay:!1}),l=De(this.finishedTime??this.time);n.setWithVelocity(a.sample(l-Ws).value,a.sample(l).value,Ws),a.stop()}}const Ks=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ge.test(e)||e==="0")&&!e.startsWith("url("));function kh(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Eh(e,t,n,r){const o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;const s=e[e.length-1],i=Ks(o,t),a=Ks(s,t);return Tt(i===a,`You are trying to animate ${t} from "${o}" to "${s}". "${i?s:o}" is not an animatable value.`,"value-not-animatable"),!i||!a?!1:kh(e)||(n==="spring"||Hs(n))&&r}function ro(e){e.duration=0,e.type="keyframes"}const Ph=new Set(["opacity","clipPath","filter","transform"]),Ah=Er(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Dh(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:o,damping:s,type:i}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:d}=t.owner.getProps();return Ah()&&n&&Ph.has(n)&&(n!=="transform"||!d)&&!l&&!r&&o!=="mirror"&&s!==0&&i!=="inertia"}const $h=40;class Mh extends Yr{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:o=0,repeatDelay:s=0,repeatType:i="loop",keyframes:a,name:l,motionValue:d,element:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=ye.now();const h={autoplay:t,delay:n,type:r,repeat:o,repeatDelay:s,repeatType:i,name:l,motionValue:d,element:u,...c},m=u?.KeyframeResolver||no;this.keyframeResolver=new m(a,(g,v,w)=>this.onKeyframesResolved(g,v,h,!w),l,d,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,r,o){this.keyframeResolver=void 0;const{name:s,type:i,velocity:a,delay:l,isHandoff:d,onUpdate:u}=r;this.resolvedAt=ye.now(),Eh(t,s,i,a)||((Re.instantAnimations||!l)&&u?.(Kr(t,r,n)),t[0]=t[t.length-1],ro(r),r.repeat=0);const h={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>$h?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},m=!d&&Dh(h)?new Th({...h,element:h.motionValue.owner.current}):new Gr(h);m.finished.then(()=>this.notifyFinished()).catch(Ce),this.pendingTimeline&&(this.stopTimeline=m.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),fh()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const Vh=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Ih(e){const t=Vh.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}const Lh=4;function Ys(e,t,n=1){ze(n<=Lh,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,o]=Ih(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const i=s.trim();return es(i)?parseFloat(i):i}return Ir(o)?Ys(o,t,n+1):o}function oo(e,t){return e?.[t]??e?.default??e}const Gs=new Set(["width","height","top","left","right","bottom",...At]),Nh={test:e=>e==="auto",parse:e=>e},Xs=e=>t=>t.test(e),Zs=[kt,M,Be,Ye,ku,Tu,Nh],qs=e=>Zs.find(Xs(e));function Bh(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||ns(e):!0}const Oh=new Set(["brightness","contrast","saturate","opacity"]);function Fh(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Lr)||[];if(!r)return e;const o=n.replace(r,"");let s=Oh.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+o+")"}const jh=/\b([a-z-]*)\(.*?\)/gu,io={...Ge,getAnimatableNone:e=>{const t=e.match(jh);return t?t.map(Fh).join(" "):e}},Js={...kt,transform:Math.round},so={borderWidth:M,borderTopWidth:M,borderRightWidth:M,borderBottomWidth:M,borderLeftWidth:M,borderRadius:M,radius:M,borderTopLeftRadius:M,borderTopRightRadius:M,borderBottomRightRadius:M,borderBottomLeftRadius:M,width:M,maxWidth:M,height:M,maxHeight:M,top:M,right:M,bottom:M,left:M,padding:M,paddingTop:M,paddingRight:M,paddingBottom:M,paddingLeft:M,margin:M,marginTop:M,marginRight:M,marginBottom:M,marginLeft:M,backgroundPositionX:M,backgroundPositionY:M,...{rotate:Ye,rotateX:Ye,rotateY:Ye,rotateZ:Ye,scale:Vn,scaleX:Vn,scaleY:Vn,scaleZ:Vn,skew:Ye,skewX:Ye,skewY:Ye,distance:M,translateX:M,translateY:M,translateZ:M,x:M,y:M,z:M,perspective:M,transformPerspective:M,opacity:Wt,originX:ws,originY:ws,originZ:M},zIndex:Js,fillOpacity:Wt,strokeOpacity:Wt,numOctaves:Js},zh={...so,color:re,backgroundColor:re,outlineColor:re,fill:re,stroke:re,borderColor:re,borderTopColor:re,borderRightColor:re,borderBottomColor:re,borderLeftColor:re,filter:io,WebkitFilter:io},Qs=e=>zh[e];function ea(e,t){let n=Qs(e);return n!==io&&(n=Ge),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Rh=new Set(["auto","none","0"]);function _h(e,t,n){let r=0,o;for(;r<e.length&&!o;){const s=e[r];typeof s=="string"&&!Rh.has(s)&&Gt(s).values.length&&(o=e[r]),r++}if(o&&n)for(const s of t)e[s]=ea(n,o)}class Hh extends no{constructor(t,n,r,o,s){super(t,n,r,o,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let d=t[l];if(typeof d=="string"&&(d=d.trim(),Ir(d))){const u=Ys(d,n.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!Gs.has(r)||t.length!==2)return;const[o,s]=t,i=qs(o),a=qs(s);if(i!==a)if(Os(i)&&Os(a))for(let l=0;l<t.length;l++){const d=t[l];typeof d=="string"&&(t[l]=parseFloat(d))}else at[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let o=0;o<t.length;o++)(t[o]===null||Bh(t[o]))&&r.push(o);r.length&&_h(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=at[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const o=n[n.length-1];o!==void 0&&t.getValue(r,o).jump(o,!1)}measureEndState(){const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const o=t.getValue(n);o&&o.jump(this.measuredOrigin,!1);const s=r.length-1,i=r[s];r[s]=at[n](t.measureViewportBox(),window.getComputedStyle(t.current)),i!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=i),this.removedTransforms?.length&&this.removedTransforms.forEach(([a,l])=>{t.getValue(a).set(l)}),this.resolveNoneKeyframes()}}function Uh(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;const o=n?.[e]??r.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e)}const ta=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function na(e){return ts(e)&&"offsetHeight"in e}const ra=30,Wh=e=>!isNaN(parseFloat(e));class Kh{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const o=ye.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const s of this.dependents)s.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=ye.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Wh(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&Ar(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Pr);const r=this.events[t].add(n);return t==="change"?()=>{r(),J.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=ye.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>ra)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,ra);return rs(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function $t(e,t){return new Kh(e,t)}const{schedule:ao}=ys(queueMicrotask,!1),$e={x:!1,y:!1};function oa(){return $e.x||$e.y}function Yh(e){return e==="x"||e==="y"?$e[e]?null:($e[e]=!0,()=>{$e[e]=!1}):$e.x||$e.y?null:($e.x=$e.y=!0,()=>{$e.x=$e.y=!1})}function ia(e,t){const n=Uh(e),r=new AbortController,o={passive:!0,...t,signal:r.signal};return[n,o,()=>r.abort()]}function sa(e){return!(e.pointerType==="touch"||oa())}function Gh(e,t,n={}){const[r,o,s]=ia(e,n),i=a=>{if(!sa(a))return;const{target:l}=a,d=t(l,a);if(typeof d!="function"||!l)return;const u=c=>{sa(c)&&(d(c),l.removeEventListener("pointerleave",u))};l.addEventListener("pointerleave",u,o)};return r.forEach(a=>{a.addEventListener("pointerenter",i,o)}),s}const aa=(e,t)=>t?e===t?!0:aa(e,t.parentElement):!1,lo=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,Xh=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Zh(e){return Xh.has(e.tagName)||e.tabIndex!==-1}const Bn=new WeakSet;function la(e){return t=>{t.key==="Enter"&&e(t)}}function co(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const qh=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=la(()=>{if(Bn.has(n))return;co(n,"down");const o=la(()=>{co(n,"up")}),s=()=>co(n,"cancel");n.addEventListener("keyup",o,t),n.addEventListener("blur",s,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function ca(e){return lo(e)&&!oa()}function Jh(e,t,n={}){const[r,o,s]=ia(e,n),i=a=>{const l=a.currentTarget;if(!ca(a))return;Bn.add(l);const d=t(l,a),u=(m,g)=>{window.removeEventListener("pointerup",c),window.removeEventListener("pointercancel",h),Bn.has(l)&&Bn.delete(l),ca(m)&&typeof d=="function"&&d(m,{success:g})},c=m=>{u(m,l===window||l===document||n.useGlobalTarget||aa(l,m.target))},h=m=>{u(m,!1)};window.addEventListener("pointerup",c,o),window.addEventListener("pointercancel",h,o)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",i,o),na(a)&&(a.addEventListener("focus",d=>qh(d,o)),!Zh(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),s}function da(e){return ts(e)&&"ownerSVGElement"in e}function Qh(e){return da(e)&&e.tagName==="svg"}const ue=e=>!!(e&&e.getVelocity),ef=[...Zs,re,Ge],tf=e=>ef.find(Xs(e)),uo=f.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function ua(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function nf(...e){return t=>{let n=!1;const r=e.map(o=>{const s=ua(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():ua(e[o],null)}}}}function rf(...e){return cn.useCallback(nf(...e),e)}class of extends cn.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=n.offsetParent,o=na(r)&&r.offsetWidth||0,s=this.props.sizeRef.current;s.height=n.offsetHeight||0,s.width=n.offsetWidth||0,s.top=n.offsetTop,s.left=n.offsetLeft,s.right=o-s.width-s.left}return null}componentDidUpdate(){}render(){return this.props.children}}function sf({children:e,isPresent:t,anchorX:n,root:r}){const o=f.useId(),s=f.useRef(null),i=f.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:a}=f.useContext(uo),l=rf(s,e?.ref);return f.useInsertionEffect(()=>{const{width:d,height:u,top:c,left:h,right:m}=i.current;if(t||!s.current||!d||!u)return;const g=n==="left"?`left: ${h}`:`right: ${m}`;s.current.dataset.motionPopId=o;const v=document.createElement("style");a&&(v.nonce=a);const w=r??document.head;return w.appendChild(v),v.sheet&&v.sheet.insertRule(`
227
227
  [data-motion-pop-id="${o}"] {
228
228
  position: absolute !important;
229
229
  width: ${d}px !important;
@@ -231,49 +231,49 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
231
231
  ${g}px !important;
232
232
  top: ${c}px !important;
233
233
  }
234
- `),()=>{x.contains(b)&&x.removeChild(b)}},[t]),p.jsx(rf,{isPresent:t,childRef:s,sizeRef:i,children:cn.cloneElement(e,{ref:l})})}const sf=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:s,mode:i,anchorX:a,root:l})=>{const d=xr(af),u=f.useId();let c=!0,h=f.useMemo(()=>(c=!1,{id:u,initial:t,isPresent:n,custom:o,onExitComplete:m=>{d.set(m,!0);for(const g of d.values())if(!g)return;r&&r()},register:m=>(d.set(m,!1),()=>d.delete(m))}),[n,d,r]);return s&&c&&(h={...h}),f.useMemo(()=>{d.forEach((m,g)=>d.set(g,!1))},[n]),cn.useEffect(()=>{!n&&!d.size&&r&&r()},[n]),i==="popLayout"&&(e=p.jsx(of,{isPresent:n,anchorX:a,root:l,children:e})),p.jsx(Dn.Provider,{value:h,children:e})};function af(){return new Map}function ha(e=!0){const t=f.useContext(Dn);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:o}=t,s=f.useId();f.useEffect(()=>{if(e)return o(s)},[e]);const i=f.useCallback(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,i]:[!0]}const On=e=>e.key||"";function fa(e){const t=[];return f.Children.forEach(e,n=>{f.isValidElement(n)&&t.push(n)}),t}const Zt=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:o=!0,mode:s="sync",propagate:i=!1,anchorX:a="left",root:l})=>{const[d,u]=ha(i),c=f.useMemo(()=>fa(e),[e]),h=i&&!d?[]:c.map(On),m=f.useRef(!0),g=f.useRef(c),b=xr(()=>new Map),[x,y]=f.useState(c),[C,w]=f.useState(c);Qi(()=>{m.current=!1,g.current=c;for(let k=0;k<C.length;k++){const E=On(C[k]);h.includes(E)?b.delete(E):b.get(E)!==!0&&b.set(E,!1)}},[C,h.length,h.join("-")]);const A=[];if(c!==x){let k=[...c];for(let E=0;E<C.length;E++){const D=C[E],L=On(D);h.includes(L)||(k.splice(E,0,D),A.push(D))}return s==="wait"&&A.length&&(k=A),w(fa(k)),y(c),null}process.env.NODE_ENV!=="production"&&s==="wait"&&C.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:P}=f.useContext(wr);return p.jsx(p.Fragment,{children:C.map(k=>{const E=On(k),D=i&&!d?!1:c===C||h.includes(E),L=()=>{if(b.has(E))b.set(E,!0);else return;let _=!0;b.forEach($=>{$||(_=!1)}),_&&(P?.(),w(g.current),i&&u?.(),r&&r())};return p.jsx(sf,{isPresent:D,initial:!m.current||n?void 0:!1,custom:t,presenceAffectsLayout:o,mode:s,root:l,onExitComplete:D?void 0:L,anchorX:a,children:k},E)})})},pa=f.createContext({strict:!1}),ma={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Mt={};for(const e in ma)Mt[e]={isEnabled:t=>ma[e].some(n=>!!t[n])};function lf(e){for(const t in e)Mt[t]={...Mt[t],...e[t]}}const cf=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Fn(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||cf.has(e)}let ga=e=>!Fn(e);function df(e){typeof e=="function"&&(ga=t=>t.startsWith("on")?!Fn(t):e(t))}try{df(require("@emotion/is-prop-valid").default)}catch{}function uf(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(ga(o)||n===!0&&Fn(o)||!t&&!Fn(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}const jn=f.createContext({});function zn(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function qt(e){return typeof e=="string"||Array.isArray(e)}const ho=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],fo=["initial",...ho];function Rn(e){return zn(e.animate)||fo.some(t=>qt(e[t]))}function ya(e){return!!(Rn(e)||e.variants)}function hf(e,t){if(Rn(e)){const{initial:n,animate:r}=e;return{initial:n===!1||qt(n)?n:void 0,animate:qt(r)?r:void 0}}return e.inherit!==!1?t:{}}function ff(e){const{initial:t,animate:n}=hf(e,f.useContext(jn));return f.useMemo(()=>({initial:t,animate:n}),[va(t),va(n)])}function va(e){return Array.isArray(e)?e.join(" "):e}const Jt={};function pf(e){for(const t in e)Jt[t]=e[t],Vr(t)&&(Jt[t].isCSSVariable=!0)}function ba(e,{layout:t,layoutId:n}){return Dt.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Jt[e]||e==="opacity")}const mf={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},gf=At.length;function yf(e,t,n){let r="",o=!0;for(let s=0;s<gf;s++){const i=At[s],a=e[i];if(a===void 0)continue;let l=!0;if(typeof a=="number"?l=a===(i.startsWith("scale")?1:0):l=parseFloat(a)===0,!l||n){const d=ta(a,so[i]);if(!l){o=!1;const u=mf[i]||i;r+=`${u}(${d}) `}n&&(t[i]=d)}}return r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}function po(e,t,n){const{style:r,vars:o,transformOrigin:s}=e;let i=!1,a=!1;for(const l in t){const d=t[l];if(Dt.has(l)){i=!0;continue}else if(Vr(l)){o[l]=d;continue}else{const u=ta(d,so[l]);l.startsWith("origin")?(a=!0,s[l]=u):r[l]=u}}if(t.transform||(i||n?r.transform=yf(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:d="50%",originZ:u=0}=s;r.transformOrigin=`${l} ${d} ${u}`}}const mo=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function wa(e,t,n){for(const r in t)!ue(t[r])&&!ba(r,n)&&(e[r]=t[r])}function vf({transformTemplate:e},t){return f.useMemo(()=>{const n=mo();return po(n,t,e),Object.assign({},n.vars,n.style)},[t])}function bf(e,t){const n=e.style||{},r={};return wa(r,n,e),Object.assign(r,vf(e,t)),r}function wf(e,t){const n={},r=bf(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const xf={offset:"stroke-dashoffset",array:"stroke-dasharray"},Sf={offset:"strokeDashoffset",array:"strokeDasharray"};function Cf(e,t,n=1,r=0,o=!0){e.pathLength=1;const s=o?xf:Sf;e[s.offset]=V.transform(-r);const i=V.transform(t),a=V.transform(n);e[s.array]=`${i} ${a}`}function xa(e,{attrX:t,attrY:n,attrScale:r,pathLength:o,pathSpacing:s=1,pathOffset:i=0,...a},l,d,u){if(po(e,a,d),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:c,style:h}=e;c.transform&&(h.transform=c.transform,delete c.transform),(h.transform||c.transformOrigin)&&(h.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),h.transform&&(h.transformBox=u?.transformBox??"fill-box",delete c.transformBox),t!==void 0&&(c.x=t),n!==void 0&&(c.y=n),r!==void 0&&(c.scale=r),o!==void 0&&Cf(c,o,s,i,!1)}const Sa=()=>({...mo(),attrs:{}}),Ca=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Tf(e,t,n,r){const o=f.useMemo(()=>{const s=Sa();return xa(s,t,Ca(r),e.transformTemplate,e.style),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};wa(s,e.style,e),o.style={...s,...o.style}}return o}const kf=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function go(e){return typeof e!="string"||e.includes("-")?!1:!!(kf.indexOf(e)>-1||/[A-Z]/u.test(e))}function Ef(e,t,n,{latestValues:r},o,s=!1){const a=(go(e)?Tf:wf)(t,r,o,e),l=uf(t,typeof e=="string",s),d=e!==f.Fragment?{...l,...a,ref:n}:{},{children:u}=t,c=f.useMemo(()=>ue(u)?u.get():u,[u]);return f.createElement(e,{...d,children:c})}function Ta(e){const t=[{},{}];return e?.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function yo(e,t,n,r){if(typeof t=="function"){const[o,s]=Ta(r);t=t(n!==void 0?n:e.custom,o,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[o,s]=Ta(r);t=t(n!==void 0?n:e.custom,o,s)}return t}function _n(e){return ue(e)?e.get():e}function Pf({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,o){return{latestValues:Af(n,r,o,e),renderState:t()}}function Af(e,t,n,r){const o={},s=r(e,{});for(const h in s)o[h]=_n(s[h]);let{initial:i,animate:a}=e;const l=Rn(e),d=ya(e);t&&d&&!l&&e.inherit!==!1&&(i===void 0&&(i=t.initial),a===void 0&&(a=t.animate));let u=n?n.initial===!1:!1;u=u||i===!1;const c=u?a:i;if(c&&typeof c!="boolean"&&!zn(c)){const h=Array.isArray(c)?c:[c];for(let m=0;m<h.length;m++){const g=yo(e,h[m]);if(g){const{transitionEnd:b,transition:x,...y}=g;for(const C in y){let w=y[C];if(Array.isArray(w)){const A=u?w.length-1:0;w=w[A]}w!==null&&(o[C]=w)}for(const C in b)o[C]=b[C]}}}return o}const ka=e=>(t,n)=>{const r=f.useContext(jn),o=f.useContext(Dn),s=()=>Pf(e,t,r,o);return n?s():xr(s)};function vo(e,t,n){const{style:r}=e,o={};for(const s in r)(ue(r[s])||t.style&&ue(t.style[s])||ba(s,e)||n?.getValue(s)?.liveStyle!==void 0)&&(o[s]=r[s]);return o}const Df=ka({scrapeMotionValuesFromProps:vo,createRenderState:mo});function Ea(e,t,n){const r=vo(e,t,n);for(const o in e)if(ue(e[o])||ue(t[o])){const s=At.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[s]=e[o]}return r}const $f=ka({scrapeMotionValuesFromProps:Ea,createRenderState:Sa}),Mf=Symbol.for("motionComponentSymbol");function Vt(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Vf(e,t,n){return f.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Vt(n)&&(n.current=r))},[t])}const bo=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Pa="data-"+bo("framerAppearId"),Aa=f.createContext({});function If(e,t,n,r,o){const{visualElement:s}=f.useContext(jn),i=f.useContext(pa),a=f.useContext(Dn),l=f.useContext(uo).reducedMotion,d=f.useRef(null);r=r||i.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:s,props:n,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:l}));const u=d.current,c=f.useContext(Aa);u&&!u.projection&&o&&(u.type==="html"||u.type==="svg")&&Lf(d.current,n,o,c);const h=f.useRef(!1);f.useInsertionEffect(()=>{u&&h.current&&u.update(n,a)});const m=n[Pa],g=f.useRef(!!m&&!window.MotionHandoffIsComplete?.(m)&&window.MotionHasOptimisedAnimation?.(m));return Qi(()=>{u&&(h.current=!0,window.MotionIsMounted=!0,u.updateFeatures(),u.scheduleRenderMicrotask(),g.current&&u.animationState&&u.animationState.animateChanges())}),f.useEffect(()=>{u&&(!g.current&&u.animationState&&u.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(m)}),g.current=!1),u.enteringChildren=void 0)}),u}function Lf(e,t,n,r){const{layoutId:o,layout:s,drag:i,dragConstraints:a,layoutScroll:l,layoutRoot:d,layoutCrossfade:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Da(e.parent)),e.projection.setOptions({layoutId:o,layout:s,alwaysMeasureLayout:!!i||a&&Vt(a),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:r,crossfade:u,layoutScroll:l,layoutRoot:d})}function Da(e){if(e)return e.options.allowProjection!==!1?e.projection:Da(e.parent)}function wo(e,{forwardMotionProps:t=!1}={},n,r){n&&lf(n);const o=go(e)?$f:Df;function s(a,l){let d;const u={...f.useContext(uo),...a,layoutId:Nf(a)},{isStatic:c}=u,h=ff(a),m=o(a,c);if(!c&&Sr){Bf(u,n);const g=Of(u);d=g.MeasureLayout,h.visualElement=If(e,m,u,r,g.ProjectionNode)}return p.jsxs(jn.Provider,{value:h,children:[d&&h.visualElement?p.jsx(d,{visualElement:h.visualElement,...u}):null,Ef(e,a,Vf(m,h.visualElement,l),m,c,t)]})}s.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const i=f.forwardRef(s);return i[Mf]=e,i}function Nf({layoutId:e}){const t=f.useContext(wr).id;return t&&e!==void 0?t+"-"+e:e}function Bf(e,t){const n=f.useContext(pa).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const r="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?Tt(!1,r,"lazy-strict-mode"):je(!1,r,"lazy-strict-mode")}}function Of(e){const{drag:t,layout:n}=Mt;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function Ff(e,t){if(typeof Proxy>"u")return wo;const n=new Map,r=(s,i)=>wo(s,i,e,t),o=(s,i)=>(process.env.NODE_ENV!=="production"&&Ar(!1,"motion() is deprecated. Use motion.create() instead."),r(s,i));return new Proxy(o,{get:(s,i)=>i==="create"?r:(n.has(i)||n.set(i,wo(i,void 0,e,t)),n.get(i))})}function $a({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function jf({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function zf(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function xo(e){return e===void 0||e===1}function So({scale:e,scaleX:t,scaleY:n}){return!xo(e)||!xo(t)||!xo(n)}function ct(e){return So(e)||Ma(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Ma(e){return Va(e.x)||Va(e.y)}function Va(e){return e&&e!=="0%"}function Hn(e,t,n){const r=e-n,o=t*r;return n+o}function Ia(e,t,n,r,o){return o!==void 0&&(e=Hn(e,o,r)),Hn(e,n,r)+t}function Co(e,t=0,n=1,r,o){e.min=Ia(e.min,t,n,r,o),e.max=Ia(e.max,t,n,r,o)}function La(e,{x:t,y:n}){Co(e.x,t.translate,t.scale,t.originPoint),Co(e.y,n.translate,n.scale,n.originPoint)}const Na=.999999999999,Ba=1.0000000000001;function Rf(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let s,i;for(let a=0;a<o;a++){s=n[a],i=s.projectionDelta;const{visualElement:l}=s.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&Lt(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),i&&(t.x*=i.x.scale,t.y*=i.y.scale,La(e,i)),r&&ct(s.latestValues)&&Lt(e,s.latestValues))}t.x<Ba&&t.x>Na&&(t.x=1),t.y<Ba&&t.y>Na&&(t.y=1)}function It(e,t){e.min=e.min+t,e.max=e.max+t}function Oa(e,t,n,r,o=.5){const s=Q(e.min,e.max,o);Co(e,t,n,s,r)}function Lt(e,t){Oa(e.x,t.x,t.scaleX,t.scale,t.originX),Oa(e.y,t.y,t.scaleY,t.scale,t.originY)}function Fa(e,t){return $a(zf(e.getBoundingClientRect(),t))}function _f(e,t,n){const r=Fa(e,n),{scroll:o}=t;return o&&(It(r.x,o.offset.x),It(r.y,o.offset.y)),r}const ja=()=>({translate:0,scale:1,origin:0,originPoint:0}),Nt=()=>({x:ja(),y:ja()}),za=()=>({min:0,max:0}),te=()=>({x:za(),y:za()}),To={current:null},Ra={current:!1};function Hf(){if(Ra.current=!0,!!Sr)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>To.current=e.matches;e.addEventListener("change",t),t()}else To.current=!1}const Uf=new WeakMap;function Wf(e,t,n){for(const r in t){const o=t[r],s=n[r];if(ue(o))e.addValue(r,o);else if(ue(s))e.addValue(r,$t(o,{owner:e}));else if(s!==o)if(e.hasValue(r)){const i=e.getValue(r);i.liveStyle===!0?i.jump(o):i.hasAnimated||i.set(o)}else{const i=e.getStaticValue(r);e.addValue(r,$t(i!==void 0?i:o,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const _a=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Kf{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,blockInitialAnimation:s,visualState:i},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=no,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const h=ye.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,J.render(this.render,!1,!0))};const{latestValues:l,renderState:d}=i;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=d,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=Rn(n),this.isVariantNode=ya(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...c}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in c){const m=c[h];l[h]!==void 0&&ue(m)&&m.set(l[h])}}mount(t){this.current=t,Uf.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),Ra.current||Hf(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:To.current,process.env.NODE_ENV!=="production"&&Ar(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Ke(this.notifyUpdate),Ke(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=Dt.has(t);r&&this.onBindTransform&&this.onBindTransform();const o=n.on("change",i=>{this.latestValues[t]=i,this.props.onUpdate&&J.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let s;window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{o(),s&&s(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Mt){const n=Mt[t];if(!n)continue;const{isEnabled:r,Feature:o}=n;if(!this.features[t]&&o&&r(this.props)&&(this.features[t]=new o(this)),this.features[t]){const s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):te()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<_a.length;r++){const o=_a[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const s="on"+o,i=t[s];i&&(this.propEventSubscriptions[o]=this.on(o,i))}this.prevMotionValues=Wf(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=$t(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(es(r)||ns(r))?r=parseFloat(r):!ef(r)&&Ge.test(n)&&(r=ea(t,n)),this.setBaseTarget(t,ue(r)?r.get():r)),ue(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const s=yo(this.props,n,this.presenceContext?.custom);s&&(r=s[t])}if(n&&r!==void 0)return r;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!ue(o)?o:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Pr),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){ao.render(this.render)}}class Ha extends Kf{constructor(){super(...arguments),this.KeyframeResolver=_h}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;ue(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function Ua(e,{style:t,vars:n},r,o){const s=e.style;let i;for(i in t)s[i]=t[i];o?.applyProjectionStyles(s,r);for(i in n)s.setProperty(i,n[i])}function Yf(e){return window.getComputedStyle(e)}class Gf extends Ha{constructor(){super(...arguments),this.type="html",this.renderInstance=Ua}readValueFromInstance(t,n){if(Dt.has(n))return this.projection?.isProjecting?qr(n):ah(t,n);{const r=Yf(t),o=(Vr(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Fa(t,n)}build(t,n,r){po(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return vo(t,n,r)}}const Wa=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Xf(e,t,n,r){Ua(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(Wa.has(o)?o:bo(o),t.attrs[o])}class Zf extends Ha{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=te}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Dt.has(n)){const r=Qs(n);return r&&r.default||0}return n=Wa.has(n)?n:bo(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Ea(t,n,r)}build(t,n,r){xa(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,o){Xf(t,n,r,o)}mount(t){this.isSVGTag=Ca(t.tagName),super.mount(t)}}const qf=(e,t)=>go(e)?new Zf(t):new Gf(t,{allowProjection:e!==f.Fragment});function Bt(e,t,n){const r=e.getProps();return yo(r,t,n!==void 0?n:r.custom,e)}const ko=e=>Array.isArray(e);function Jf(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,$t(n))}function Qf(e){return ko(e)?e[e.length-1]||0:e}function ep(e,t){const n=Bt(e,t);let{transitionEnd:r={},transition:o={},...s}=n||{};s={...s,...r};for(const i in s){const a=Qf(s[i]);Jf(e,i,a)}}function tp(e){return!!(ue(e)&&e.add)}function Eo(e,t){const n=e.getValue("willChange");if(tp(n))return n.add(t);if(!n&&ze.WillChange){const r=new ze.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function Ka(e){return e.props[Pa]}const np=e=>e!==null;function rp(e,{repeat:t,repeatType:n="loop"},r){const o=e.filter(np),s=t&&n!=="loop"&&t%2===1?0:o.length-1;return o[s]}const op={type:"spring",stiffness:500,damping:25,restSpeed:10},ip=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),sp={type:"keyframes",duration:.8},ap={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},lp=(e,{keyframes:t})=>t.length>2?sp:Dt.has(e)?e.startsWith("scale")?ip(t[1]):op:ap;function cp({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:s,repeatType:i,repeatDelay:a,from:l,elapsed:d,...u}){return!!Object.keys(u).length}const Po=(e,t,n,r={},o,s)=>i=>{const a=oo(r,e)||{},l=a.delay||r.delay||0;let{elapsed:d=0}=r;d=d-De(l);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-d,onUpdate:h=>{t.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{i(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:o};cp(a)||Object.assign(u,lp(e,u)),u.duration&&(u.duration=De(u.duration)),u.repeatDelay&&(u.repeatDelay=De(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let c=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(ro(u),u.delay===0&&(c=!0)),(ze.instantAnimations||ze.skipAnimations)&&(c=!0,ro(u),u.delay=0),u.allowFlatten=!a.type&&!a.ease,c&&!s&&t.get()!==void 0){const h=rp(u.keyframes,a);if(h!==void 0){J.update(()=>{u.onUpdate(h),u.onComplete()});return}}return a.isSync?new Gr(u):new $h(u)};function dp({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Ya(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:s=e.getDefaultTransition(),transitionEnd:i,...a}=t;r&&(s=r);const l=[],d=o&&e.animationState&&e.animationState.getState()[o];for(const u in a){const c=e.getValue(u,e.latestValues[u]??null),h=a[u];if(h===void 0||d&&dp(d,u))continue;const m={delay:n,...oo(s||{},u)},g=c.get();if(g!==void 0&&!c.isAnimating&&!Array.isArray(h)&&h===g&&!m.velocity)continue;let b=!1;if(window.MotionHandoffAnimation){const y=Ka(e);if(y){const C=window.MotionHandoffAnimation(y,u,J);C!==null&&(m.startTime=C,b=!0)}}Eo(e,u),c.start(Po(u,c,h,e.shouldReduceMotion&&Gs.has(u)?{type:!1}:m,e,b));const x=c.animation;x&&l.push(x)}return i&&Promise.all(l).then(()=>{J.update(()=>{i&&ep(e,i)})}),l}function Ga(e,t,n,r=0,o=1){const s=Array.from(e).sort((d,u)=>d.sortNodePosition(u)).indexOf(t),i=e.size,a=(i-1)*r;return typeof n=="function"?n(s,i):o===1?s*r:a-s*r}function Ao(e,t,n={}){const r=Bt(e,t,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const s=r?()=>Promise.all(Ya(e,r,n)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:d=0,staggerChildren:u,staggerDirection:c}=o;return up(e,t,l,d,u,c,n)}:()=>Promise.resolve(),{when:a}=o;if(a){const[l,d]=a==="beforeChildren"?[s,i]:[i,s];return l().then(()=>d())}else return Promise.all([s(),i(n.delay)])}function up(e,t,n=0,r=0,o=0,s=1,i){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push(Ao(l,t,{...i,delay:n+(typeof r=="function"?0:r)+Ga(e.variantChildren,l,r,o,s)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function hp(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(s=>Ao(e,s,n));r=Promise.all(o)}else if(typeof t=="string")r=Ao(e,t,n);else{const o=typeof t=="function"?Bt(e,t,n.custom):t;r=Promise.all(Ya(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}function Xa(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const fp=fo.length;function Za(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Za(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<fp;n++){const r=fo[n],o=e.props[r];(qt(o)||o===!1)&&(t[r]=o)}return t}const pp=[...ho].reverse(),mp=ho.length;function gp(e){return t=>Promise.all(t.map(({animation:n,options:r})=>hp(e,n,r)))}function yp(e){let t=gp(e),n=qa(),r=!0;const o=l=>(d,u)=>{const c=Bt(e,u,l==="exit"?e.presenceContext?.custom:void 0);if(c){const{transition:h,transitionEnd:m,...g}=c;d={...d,...g,...m}}return d};function s(l){t=l(e)}function i(l){const{props:d}=e,u=Za(e.parent)||{},c=[],h=new Set;let m={},g=1/0;for(let x=0;x<mp;x++){const y=pp[x],C=n[y],w=d[y]!==void 0?d[y]:u[y],A=qt(w),P=y===l?C.isActive:null;P===!1&&(g=x);let k=w===u[y]&&w!==d[y]&&A;if(k&&r&&e.manuallyAnimateOnMount&&(k=!1),C.protectedKeys={...m},!C.isActive&&P===null||!w&&!C.prevProp||zn(w)||typeof w=="boolean")continue;const E=vp(C.prevProp,w);let D=E||y===l&&C.isActive&&!k&&A||x>g&&A,L=!1;const _=Array.isArray(w)?w:[w];let $=_.reduce(o(y),{});P===!1&&($={});const{prevResolvedValues:U={}}=C,I={...U,...$},he=N=>{D=!0,h.has(N)&&(L=!0,h.delete(N)),C.needsAnimating[N]=!0;const H=e.getValue(N);H&&(H.liveStyle=!1)};for(const N in I){const H=$[N],O=U[N];if(m.hasOwnProperty(N))continue;let R=!1;ko(H)&&ko(O)?R=!Xa(H,O):R=H!==O,R?H!=null?he(N):h.add(N):H!==void 0&&h.has(N)?he(N):C.protectedKeys[N]=!0}C.prevProp=w,C.prevResolvedValues=$,C.isActive&&(m={...m,...$}),r&&e.blockInitialAnimation&&(D=!1);const G=k&&E;D&&(!G||L)&&c.push(..._.map(N=>{const H={type:y};if(typeof N=="string"&&r&&!G&&e.manuallyAnimateOnMount&&e.parent){const{parent:O}=e,R=Bt(O,N);if(O.enteringChildren&&R){const{delayChildren:oe}=R.transition||{};H.delay=Ga(O.enteringChildren,e,oe)}}return{animation:N,options:H}}))}if(h.size){const x={};if(typeof d.initial!="boolean"){const y=Bt(e,Array.isArray(d.initial)?d.initial[0]:d.initial);y&&y.transition&&(x.transition=y.transition)}h.forEach(y=>{const C=e.getBaseTarget(y),w=e.getValue(y);w&&(w.liveStyle=!0),x[y]=C??null}),c.push({animation:x})}let b=!!c.length;return r&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(b=!1),r=!1,b?t(c):Promise.resolve()}function a(l,d){if(n[l].isActive===d)return Promise.resolve();e.variantChildren?.forEach(c=>c.animationState?.setActive(l,d)),n[l].isActive=d;const u=i(l);for(const c in n)n[c].protectedKeys={};return u}return{animateChanges:i,setActive:a,setAnimateFunction:s,getState:()=>n,reset:()=>{n=qa(),r=!0}}}function vp(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Xa(t,e):!1}function dt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function qa(){return{animate:dt(!0),whileInView:dt(),whileHover:dt(),whileTap:dt(),whileDrag:dt(),whileFocus:dt(),exit:dt()}}class Xe{constructor(t){this.isMounted=!1,this.node=t}update(){}}class bp extends Xe{constructor(t){super(t),t.animationState||(t.animationState=yp(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();zn(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let wp=0;class xp extends Xe{constructor(){super(...arguments),this.id=wp++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const o=this.node.animationState.setActive("exit",!t);n&&!t&&o.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const Sp={animation:{Feature:bp},exit:{Feature:xp}};function Qt(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function en(e){return{point:{x:e.pageX,y:e.pageY}}}const Cp=e=>t=>lo(t)&&e(t,en(t));function tn(e,t,n,r){return Qt(e,t,Cp(n),r)}const Ja=1e-4,Tp=1-Ja,kp=1+Ja,Qa=.01,Ep=0-Qa,Pp=0+Qa;function pe(e){return e.max-e.min}function Ap(e,t,n){return Math.abs(e-t)<=n}function el(e,t,n,r=.5){e.origin=r,e.originPoint=Q(t.min,t.max,e.origin),e.scale=pe(n)/pe(t),e.translate=Q(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Tp&&e.scale<=kp||isNaN(e.scale))&&(e.scale=1),(e.translate>=Ep&&e.translate<=Pp||isNaN(e.translate))&&(e.translate=0)}function nn(e,t,n,r){el(e.x,t.x,n.x,r?r.originX:void 0),el(e.y,t.y,n.y,r?r.originY:void 0)}function tl(e,t,n){e.min=n.min+t.min,e.max=e.min+pe(t)}function Dp(e,t,n){tl(e.x,t.x,n.x),tl(e.y,t.y,n.y)}function nl(e,t,n){e.min=t.min-n.min,e.max=e.min+pe(t)}function rn(e,t,n){nl(e.x,t.x,n.x),nl(e.y,t.y,n.y)}function ke(e){return[e("x"),e("y")]}const rl=({current:e})=>e?e.ownerDocument.defaultView:null,ol=(e,t)=>Math.abs(e-t);function $p(e,t){const n=ol(e.x,t.x),r=ol(e.y,t.y);return Math.sqrt(n**2+r**2)}class il{constructor(t,n,{transformPagePoint:r,contextWindow:o=window,dragSnapToOrigin:s=!1,distanceThreshold:i=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const h=$o(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,g=$p(h.offset,{x:0,y:0})>=this.distanceThreshold;if(!m&&!g)return;const{point:b}=h,{timestamp:x}=ce;this.history.push({...b,timestamp:x});const{onStart:y,onMove:C}=this.handlers;m||(y&&y(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),C&&C(this.lastMoveEvent,h)},this.handlePointerMove=(h,m)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=Do(m,this.transformPagePoint),J.update(this.updatePoint,!0)},this.handlePointerUp=(h,m)=>{this.end();const{onEnd:g,onSessionEnd:b,resumeAnimation:x}=this.handlers;if(this.dragSnapToOrigin&&x&&x(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=$o(h.type==="pointercancel"?this.lastMoveEventInfo:Do(m,this.transformPagePoint),this.history);this.startEvent&&g&&g(h,y),b&&b(h,y)},!lo(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=i,this.contextWindow=o||window;const a=en(t),l=Do(a,this.transformPagePoint),{point:d}=l,{timestamp:u}=ce;this.history=[{...d,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,$o(l,this.history)),this.removeListeners=_t(tn(this.contextWindow,"pointermove",this.handlePointerMove),tn(this.contextWindow,"pointerup",this.handlePointerUp),tn(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Ke(this.updatePoint)}}function Do(e,t){return t?{point:t(e.point)}:e}function sl(e,t){return{x:e.x-t.x,y:e.y-t.y}}function $o({point:e},t){return{point:e,delta:sl(e,al(t)),offset:sl(e,Mp(t)),velocity:Vp(t,.1)}}function Mp(e){return e[0]}function al(e){return e[e.length-1]}function Vp(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=al(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>De(t)));)n--;if(!r)return{x:0,y:0};const s=Te(o.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const i={x:(o.x-r.x)/s,y:(o.y-r.y)/s};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function Ip(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?Q(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?Q(n,e,r.max):Math.min(e,n)),e}function ll(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function Lp(e,{top:t,left:n,bottom:r,right:o}){return{x:ll(e.x,n,o),y:ll(e.y,t,r)}}function cl(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function Np(e,t){return{x:cl(e.x,t.x),y:cl(e.y,t.y)}}function Bp(e,t){let n=.5;const r=pe(e),o=pe(t);return o>r?n=Ht(t.min,t.max-r,e.min):r>o&&(n=Ht(e.min,e.max-o,t.min)),Fe(0,1,n)}function Op(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const Mo=.35;function Fp(e=Mo){return e===!1?e=0:e===!0&&(e=Mo),{x:dl(e,"left","right"),y:dl(e,"top","bottom")}}function dl(e,t,n){return{min:ul(e,t),max:ul(e,n)}}function ul(e,t){return typeof e=="number"?e:e[t]||0}const jp=new WeakMap;class zp{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=te(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const s=c=>{const{dragSnapToOrigin:h}=this.getProps();h?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(en(c).point)},i=(c,h)=>{const{drag:m,dragPropagation:g,onDragStart:b}=this.getProps();if(m&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Kh(m),!this.openDragLock))return;this.latestPointerEvent=c,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ke(y=>{let C=this.getAxisMotionValue(y).get()||0;if(Ne.test(C)){const{projection:w}=this.visualElement;if(w&&w.layout){const A=w.layout.layoutBox[y];A&&(C=pe(A)*(parseFloat(C)/100))}}this.originPoint[y]=C}),b&&J.postRender(()=>b(c,h)),Eo(this.visualElement,"transform");const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},a=(c,h)=>{this.latestPointerEvent=c,this.latestPanInfo=h;const{dragPropagation:m,dragDirectionLock:g,onDirectionLock:b,onDrag:x}=this.getProps();if(!m&&!this.openDragLock)return;const{offset:y}=h;if(g&&this.currentDirection===null){this.currentDirection=Rp(y),this.currentDirection!==null&&b&&b(this.currentDirection);return}this.updateAxis("x",h.point,y),this.updateAxis("y",h.point,y),this.visualElement.render(),x&&x(c,h)},l=(c,h)=>{this.latestPointerEvent=c,this.latestPanInfo=h,this.stop(c,h),this.latestPointerEvent=null,this.latestPanInfo=null},d=()=>ke(c=>this.getAnimationState(c)==="paused"&&this.getAxisMotionValue(c).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new il(t,{onSessionStart:s,onStart:i,onMove:a,onSessionEnd:l,resumeAnimation:d},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:r,contextWindow:rl(this.visualElement)})}stop(t,n){const r=t||this.latestPointerEvent,o=n||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!o||!r)return;const{velocity:i}=o;this.startAnimation(i);const{onDragEnd:a}=this.getProps();a&&J.postRender(()=>a(r,o))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:o}=this.getProps();if(!r||!Un(t,o,this.currentDirection))return;const s=this.getAxisMotionValue(t);let i=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(i=Ip(i,this.constraints[t],this.elastic[t])),s.set(i)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,o=this.constraints;t&&Vt(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=Lp(r.layoutBox,t):this.constraints=!1,this.elastic=Fp(n),o!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&ke(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=Op(r.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Vt(t))return!1;const r=t.current;je(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const s=_f(r,o.root,this.visualElement.getTransformPagePoint());let i=Np(o.layout.layoutBox,s);if(n){const a=n(jf(i));this.hasMutatedConstraints=!!a,a&&(i=$a(a))}return i}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:s,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},d=ke(u=>{if(!Un(u,n,this.currentDirection))return;let c=l&&l[u]||{};i&&(c={min:0,max:0});const h=o?200:1e6,m=o?40:1e7,g={type:"inertia",velocity:r?t[u]:0,bounceStiffness:h,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...s,...c};return this.startAxisValueAnimation(u,g)});return Promise.all(d).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Eo(this.visualElement,t),r.start(Po(t,r,0,n,this.visualElement,!1))}stopAnimation(){ke(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){ke(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){ke(n=>{const{drag:r}=this.getProps();if(!Un(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,s=this.getAxisMotionValue(n);if(o&&o.layout){const{min:i,max:a}=o.layout.layoutBox[n];s.set(t[n]-Q(i,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Vt(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};ke(i=>{const a=this.getAxisMotionValue(i);if(a&&this.constraints!==!1){const l=a.get();o[i]=Bp({min:l,max:l},this.constraints[i])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),ke(i=>{if(!Un(i,t,null))return;const a=this.getAxisMotionValue(i),{min:l,max:d}=this.constraints[i];a.set(Q(l,d,o[i]))})}addListeners(){if(!this.visualElement.current)return;jp.set(this.visualElement,this);const t=this.visualElement.current,n=tn(t,"pointerdown",l=>{const{drag:d,dragListener:u=!0}=this.getProps();d&&u&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();Vt(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,s=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),J.read(r);const i=Qt(window,"resize",()=>this.scalePositionWithinConstraints()),a=o.addEventListener("didUpdate",(({delta:l,hasLayoutChanged:d})=>{this.isDragging&&d&&(ke(u=>{const c=this.getAxisMotionValue(u);c&&(this.originPoint[u]+=l[u].translate,c.set(c.get()+l[u].translate))}),this.visualElement.render())}));return()=>{i(),n(),s(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:s=!1,dragElastic:i=Mo,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:s,dragElastic:i,dragMomentum:a}}}function Un(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Rp(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class _p extends Xe{constructor(t){super(t),this.removeGroupControls=Ce,this.removeListeners=Ce,this.controls=new zp(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ce}unmount(){this.removeGroupControls(),this.removeListeners()}}const hl=e=>(t,n)=>{e&&J.postRender(()=>e(t,n))};class Hp extends Xe{constructor(){super(...arguments),this.removePointerDownListener=Ce}onPointerDown(t){this.session=new il(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rl(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:hl(t),onStart:hl(n),onMove:r,onEnd:(s,i)=>{delete this.session,o&&J.postRender(()=>o(s,i))}}}mount(){this.removePointerDownListener=tn(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Wn={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function fl(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const on={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(V.test(e))e=parseFloat(e);else return e;const n=fl(e,t.target.x),r=fl(e,t.target.y);return`${n}% ${r}%`}},Up={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=Ge.parse(e);if(o.length>5)return r;const s=Ge.createTransformer(e),i=typeof o[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;o[0+i]/=a,o[1+i]/=l;const d=Q(a,l,.5);return typeof o[2+i]=="number"&&(o[2+i]/=d),typeof o[3+i]=="number"&&(o[3+i]/=d),s(o)}};let Vo=!1;class Wp extends f.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:s}=t;pf(Kp),s&&(n.group&&n.group.add(s),r&&r.register&&o&&r.register(s),Vo&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),Wn.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:s}=this.props,{projection:i}=r;return i&&(i.isPresent=s,Vo=!0,o||t.layoutDependency!==n||n===void 0||t.isPresent!==s?i.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?i.promote():i.relegate()||J.postRender(()=>{const a=i.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),ao.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;Vo=!0,o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function pl(e){const[t,n]=ha(),r=f.useContext(wr);return p.jsx(Wp,{...e,layoutGroup:r,switchLayoutGroup:f.useContext(Aa),isPresent:t,safeToRemove:n})}const Kp={borderRadius:{...on,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:on,borderTopRightRadius:on,borderBottomLeftRadius:on,borderBottomRightRadius:on,boxShadow:Up};function Yp(e,t,n){const r=ue(e)?e:$t(e);return r.start(Po("",r,t,n)),r.animation}const Gp=(e,t)=>e.depth-t.depth;class Xp{constructor(){this.children=[],this.isDirty=!1}add(t){Cr(this.children,t),this.isDirty=!0}remove(t){Tr(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Gp),this.isDirty=!1,this.children.forEach(t)}}function Zp(e,t){const n=ye.now(),r=({timestamp:o})=>{const s=o-n;s>=t&&(Ke(r),e(s-t))};return J.setup(r,!0),()=>Ke(r)}const ml=["TopLeft","TopRight","BottomLeft","BottomRight"],qp=ml.length,gl=e=>typeof e=="string"?parseFloat(e):e,yl=e=>typeof e=="number"||V.test(e);function Jp(e,t,n,r,o,s){o?(e.opacity=Q(0,n.opacity??1,Qp(r)),e.opacityExit=Q(t.opacity??1,0,em(r))):s&&(e.opacity=Q(t.opacity??1,n.opacity??1,r));for(let i=0;i<qp;i++){const a=`border${ml[i]}Radius`;let l=vl(t,a),d=vl(n,a);if(l===void 0&&d===void 0)continue;l||(l=0),d||(d=0),l===0||d===0||yl(l)===yl(d)?(e[a]=Math.max(Q(gl(l),gl(d),r),0),(Ne.test(d)||Ne.test(l))&&(e[a]+="%")):e[a]=d}(t.rotate||n.rotate)&&(e.rotate=Q(t.rotate||0,n.rotate||0,r))}function vl(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Qp=bl(0,.5,us),em=bl(.5,.95,Ce);function bl(e,t,n){return r=>r<e?0:r>t?1:n(Ht(e,t,r))}function wl(e,t){e.min=t.min,e.max=t.max}function Ee(e,t){wl(e.x,t.x),wl(e.y,t.y)}function xl(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Sl(e,t,n,r,o){return e-=t,e=Hn(e,1/n,r),o!==void 0&&(e=Hn(e,1/o,r)),e}function tm(e,t=0,n=1,r=.5,o,s=e,i=e){if(Ne.test(t)&&(t=parseFloat(t),t=Q(i.min,i.max,t/100)-i.min),typeof t!="number")return;let a=Q(s.min,s.max,r);e===s&&(a-=t),e.min=Sl(e.min,t,n,a,o),e.max=Sl(e.max,t,n,a,o)}function Cl(e,t,[n,r,o],s,i){tm(e,t[n],t[r],t[o],t.scale,s,i)}const nm=["x","scaleX","originX"],rm=["y","scaleY","originY"];function Tl(e,t,n,r){Cl(e.x,t,nm,n?n.x:void 0,r?r.x:void 0),Cl(e.y,t,rm,n?n.y:void 0,r?r.y:void 0)}function kl(e){return e.translate===0&&e.scale===1}function El(e){return kl(e.x)&&kl(e.y)}function Pl(e,t){return e.min===t.min&&e.max===t.max}function om(e,t){return Pl(e.x,t.x)&&Pl(e.y,t.y)}function Al(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Dl(e,t){return Al(e.x,t.x)&&Al(e.y,t.y)}function $l(e){return pe(e.x)/pe(e.y)}function Ml(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class im{constructor(){this.members=[]}add(t){Cr(this.members,t),t.scheduleRender()}remove(t){if(Tr(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(o=>t===o);if(n===0)return!1;let r;for(let o=n;o>=0;o--){const s=this.members[o];if(s.isPresent!==!1){r=s;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function sm(e,t,n){let r="";const o=e.x.translate/t.x,s=e.y.translate/t.y,i=n?.z||0;if((o||s||i)&&(r=`translate3d(${o}px, ${s}px, ${i}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:d,rotate:u,rotateX:c,rotateY:h,skewX:m,skewY:g}=n;d&&(r=`perspective(${d}px) ${r}`),u&&(r+=`rotate(${u}deg) `),c&&(r+=`rotateX(${c}deg) `),h&&(r+=`rotateY(${h}deg) `),m&&(r+=`skewX(${m}deg) `),g&&(r+=`skewY(${g}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const Io=["","X","Y","Z"],am=1e3;let lm=0;function Lo(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Vl(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Ka(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",J,!(o||s))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Vl(r)}function Il({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(i={},a=t?.()){this.id=lm++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(um),this.nodes.forEach(mm),this.nodes.forEach(gm),this.nodes.forEach(hm)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=i,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new Xp)}addEventListener(i,a){return this.eventHandlers.has(i)||this.eventHandlers.set(i,new Pr),this.eventHandlers.get(i).add(a)}notifyListeners(i,...a){const l=this.eventHandlers.get(i);l&&l.notify(...a)}hasListeners(i){return this.eventHandlers.has(i)}mount(i){if(this.instance)return;this.isSVG=da(i)&&!Jh(i),this.instance=i;const{layoutId:a,layout:l,visualElement:d}=this.options;if(d&&!d.current&&d.mount(i),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),e){let u,c=0;const h=()=>this.root.updateBlockedByResize=!1;J.read(()=>{c=window.innerWidth}),e(i,()=>{const m=window.innerWidth;m!==c&&(c=m,this.root.updateBlockedByResize=!0,u&&u(),u=Zp(h,250),Wn.hasAnimatedSinceResize&&(Wn.hasAnimatedSinceResize=!1,this.nodes.forEach(Bl)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&d&&(a||l)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:c,hasRelativeLayoutChanged:h,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||d.getDefaultTransition()||xm,{onLayoutAnimationStart:b,onLayoutAnimationComplete:x}=d.getProps(),y=!this.targetLayout||!Dl(this.targetLayout,m),C=!c&&h;if(this.options.layoutRoot||this.resumeFrom||C||c&&(y||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const w={...oo(g,"layout"),onPlay:b,onComplete:x};(d.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w),this.setAnimationOrigin(u,C)}else c||Bl(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const i=this.getStack();i&&i.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Ke(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(ym),this.animationId++)}getTransformTemplate(){const{visualElement:i}=this.options;return i&&i.getProps().transformTemplate}willUpdate(i=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Vl(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const c=this.path[u];c.shouldResetTransform=!0,c.updateScroll("snapshot"),c.options.layoutRoot&&c.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const d=this.getTransformTemplate();this.prevTransformTemplateValue=d?d(this.latestValues,""):void 0,this.updateSnapshot(),i&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Ll);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Nl);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(pm),this.nodes.forEach(cm),this.nodes.forEach(dm)):this.nodes.forEach(Nl),this.clearAllSnapshots();const a=ye.now();ce.delta=Fe(0,1e3/60,a-ce.timestamp),ce.timestamp=a,ce.isProcessing=!0,Mr.update.process(ce),Mr.preRender.process(ce),Mr.render.process(ce),ce.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ao.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(fm),this.sharedNodes.forEach(vm)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,J.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){J.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!pe(this.snapshot.measuredBox.x)&&!pe(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const i=this.layout;this.layout=this.measure(!1),this.layoutCorrected=te(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,i?i.layoutBox:void 0)}updateScroll(i="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===i&&(a=!1),a&&this.instance){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:i,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!o)return;const i=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!El(this.projectionDelta),l=this.getTransformTemplate(),d=l?l(this.latestValues,""):void 0,u=d!==this.prevTransformTemplateValue;i&&this.instance&&(a||ct(this.latestValues)||u)&&(o(this.instance,d),this.shouldResetTransform=!1,this.scheduleRender())}measure(i=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return i&&(l=this.removeTransform(l)),Sm(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:i}=this.options;if(!i)return te();const a=i.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Cm))){const{scroll:d}=this.root;d&&(It(a.x,d.offset.x),It(a.y,d.offset.y))}return a}removeElementScroll(i){const a=te();if(Ee(a,i),this.scroll?.wasRoot)return a;for(let l=0;l<this.path.length;l++){const d=this.path[l],{scroll:u,options:c}=d;d!==this.root&&u&&c.layoutScroll&&(u.wasRoot&&Ee(a,i),It(a.x,u.offset.x),It(a.y,u.offset.y))}return a}applyTransform(i,a=!1){const l=te();Ee(l,i);for(let d=0;d<this.path.length;d++){const u=this.path[d];!a&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Lt(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),ct(u.latestValues)&&Lt(l,u.latestValues)}return ct(this.latestValues)&&Lt(l,this.latestValues),l}removeTransform(i){const a=te();Ee(a,i);for(let l=0;l<this.path.length;l++){const d=this.path[l];if(!d.instance||!ct(d.latestValues))continue;So(d.latestValues)&&d.updateSnapshot();const u=te(),c=d.measurePageBox();Ee(u,c),Tl(a,d.latestValues,d.snapshot?d.snapshot.layoutBox:void 0,u)}return ct(this.latestValues)&&Tl(a,this.latestValues),a}setTargetDelta(i){this.targetDelta=i,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(i){this.options={...this.options,...i,crossfade:i.crossfade!==void 0?i.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==ce.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(i=!1){const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(i||l&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:c}=this.options;if(!(!this.layout||!(u||c))){if(this.resolvedRelativeTargetAt=ce.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=te(),this.relativeTargetOrigin=te(),rn(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),Ee(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=te(),this.targetWithTransforms=te()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Dp(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ee(this.target,this.layout.layoutBox),La(this.target,this.targetDelta)):Ee(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=te(),this.relativeTargetOrigin=te(),rn(this.relativeTargetOrigin,this.target,h.target),Ee(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||So(this.parent.latestValues)||Ma(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const i=this.getLead(),a=!!this.resumingFrom||this!==i;let l=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===ce.timestamp&&(l=!1),l)return;const{layout:d,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(d||u))return;Ee(this.layoutCorrected,this.layout.layoutBox);const c=this.treeScale.x,h=this.treeScale.y;Rf(this.layoutCorrected,this.treeScale,this.path,a),i.layout&&!i.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(i.target=i.layout.layoutBox,i.targetWithTransforms=te());const{target:m}=i;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(xl(this.prevProjectionDelta.x,this.projectionDelta.x),xl(this.prevProjectionDelta.y,this.projectionDelta.y)),nn(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==c||this.treeScale.y!==h||!Ml(this.projectionDelta.x,this.prevProjectionDelta.x)||!Ml(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(i=!0){if(this.options.visualElement?.scheduleRender(),i){const a=this.getStack();a&&a.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Nt(),this.projectionDelta=Nt(),this.projectionDeltaWithTransform=Nt()}setAnimationOrigin(i,a=!1){const l=this.snapshot,d=l?l.latestValues:{},u={...this.latestValues},c=Nt();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const h=te(),m=l?l.source:void 0,g=this.layout?this.layout.source:void 0,b=m!==g,x=this.getStack(),y=!x||x.members.length<=1,C=!!(b&&!y&&this.options.crossfade===!0&&!this.path.some(wm));this.animationProgress=0;let w;this.mixTargetDelta=A=>{const P=A/1e3;Ol(c.x,i.x,P),Ol(c.y,i.y,P),this.setTargetDelta(c),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(rn(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),bm(this.relativeTarget,this.relativeTargetOrigin,h,P),w&&om(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=te()),Ee(w,this.relativeTarget)),b&&(this.animationValues=u,Jp(u,d,this.latestValues,P,C,y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(i){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Ke(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=J.update(()=>{Wn.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=$t(0)),this.currentAnimation=Yp(this.motionValue,[0,1e3],{...i,velocity:0,isSync:!0,onUpdate:a=>{this.mixTargetDelta(a),i.onUpdate&&i.onUpdate(a)},onStop:()=>{},onComplete:()=>{i.onComplete&&i.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const i=this.getStack();i&&i.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(am),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const i=this.getLead();let{targetWithTransforms:a,target:l,layout:d,latestValues:u}=i;if(!(!a||!l||!d)){if(this!==i&&this.layout&&d&&_l(this.options.animationType,this.layout.layoutBox,d.layoutBox)){l=this.target||te();const c=pe(this.layout.layoutBox.x);l.x.min=i.target.x.min,l.x.max=l.x.min+c;const h=pe(this.layout.layoutBox.y);l.y.min=i.target.y.min,l.y.max=l.y.min+h}Ee(a,l),Lt(a,u),nn(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(i,a){this.sharedNodes.has(i)||this.sharedNodes.set(i,new im),this.sharedNodes.get(i).add(a);const d=a.options.initialPromotionConfig;a.promote({transition:d?d.transition:void 0,preserveFollowOpacity:d&&d.shouldPreserveFollowOpacity?d.shouldPreserveFollowOpacity(a):void 0})}isLead(){const i=this.getStack();return i?i.lead===this:!0}getLead(){const{layoutId:i}=this.options;return i?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:i}=this.options;return i?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:i}=this.options;if(i)return this.root.sharedNodes.get(i)}promote({needsReset:i,transition:a,preserveFollowOpacity:l}={}){const d=this.getStack();d&&d.promote(this,l),i&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const i=this.getStack();return i?i.relegate(this):!1}resetSkewAndRotation(){const{visualElement:i}=this.options;if(!i)return;let a=!1;const{latestValues:l}=i;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const d={};l.z&&Lo("z",i,d,this.animationValues);for(let u=0;u<Io.length;u++)Lo(`rotate${Io[u]}`,i,d,this.animationValues),Lo(`skew${Io[u]}`,i,d,this.animationValues);i.render();for(const u in d)i.setStaticValue(u,d[u]),this.animationValues&&(this.animationValues[u]=d[u]);i.scheduleRender()}applyProjectionStyles(i,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){i.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,i.visibility="",i.opacity="",i.pointerEvents=_n(a?.pointerEvents)||"",i.transform=l?l(this.latestValues,""):"none";return}const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){this.options.layoutId&&(i.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,i.pointerEvents=_n(a?.pointerEvents)||""),this.hasProjected&&!ct(this.latestValues)&&(i.transform=l?l({},""):"none",this.hasProjected=!1);return}i.visibility="";const u=d.animationValues||d.latestValues;this.applyTransformsToTarget();let c=sm(this.projectionDeltaWithTransform,this.treeScale,u);l&&(c=l(u,c)),i.transform=c;const{x:h,y:m}=this.projectionDelta;i.transformOrigin=`${h.origin*100}% ${m.origin*100}% 0`,d.animationValues?i.opacity=d===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:i.opacity=d===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const g in Jt){if(u[g]===void 0)continue;const{correct:b,applyTo:x,isCSSVariable:y}=Jt[g],C=c==="none"?u[g]:b(u[g],d);if(x){const w=x.length;for(let A=0;A<w;A++)i[x[A]]=C}else y?this.options.visualElement.renderState.vars[g]=C:i[g]=C}this.options.layoutId&&(i.pointerEvents=d===this?_n(a?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(i=>i.currentAnimation?.stop()),this.root.nodes.forEach(Ll),this.root.sharedNodes.clear()}}}function cm(e){e.updateLayout()}function dm(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:r}=e.layout,{animationType:o}=e.options,s=t.source!==e.layout.source;o==="size"?ke(u=>{const c=s?t.measuredBox[u]:t.layoutBox[u],h=pe(c);c.min=n[u].min,c.max=c.min+h}):_l(o,t.layoutBox,n)&&ke(u=>{const c=s?t.measuredBox[u]:t.layoutBox[u],h=pe(n[u]);c.max=c.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[u].max=e.relativeTarget[u].min+h)});const i=Nt();nn(i,n,t.layoutBox);const a=Nt();s?nn(a,e.applyTransform(r,!0),t.measuredBox):nn(a,n,t.layoutBox);const l=!El(i);let d=!1;if(!e.resumeFrom){const u=e.getClosestProjectingParent();if(u&&!u.resumeFrom){const{snapshot:c,layout:h}=u;if(c&&h){const m=te();rn(m,t.layoutBox,c.layoutBox);const g=te();rn(g,n,h.layoutBox),Dl(m,g)||(d=!0),u.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=m,e.relativeParent=u)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:a,layoutDelta:i,hasLayoutChanged:l,hasRelativeLayoutChanged:d})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function um(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function hm(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function fm(e){e.clearSnapshot()}function Ll(e){e.clearMeasurements()}function Nl(e){e.isLayoutDirty=!1}function pm(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Bl(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function mm(e){e.resolveTargetDelta()}function gm(e){e.calcProjection()}function ym(e){e.resetSkewAndRotation()}function vm(e){e.removeLeadSnapshot()}function Ol(e,t,n){e.translate=Q(t.translate,0,n),e.scale=Q(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Fl(e,t,n,r){e.min=Q(t.min,n.min,r),e.max=Q(t.max,n.max,r)}function bm(e,t,n,r){Fl(e.x,t.x,n.x,r),Fl(e.y,t.y,n.y,r)}function wm(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const xm={duration:.45,ease:[.4,0,.1,1]},jl=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),zl=jl("applewebkit/")&&!jl("chrome/")?Math.round:Ce;function Rl(e){e.min=zl(e.min),e.max=zl(e.max)}function Sm(e){Rl(e.x),Rl(e.y)}function _l(e,t,n){return e==="position"||e==="preserve-aspect"&&!Ap($l(t),$l(n),.2)}function Cm(e){return e!==e.root&&e.scroll?.wasRoot}const Tm=Il({attachResizeListener:(e,t)=>Qt(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),No={current:void 0},Hl=Il({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!No.current){const e=new Tm({});e.mount(window),e.setOptions({layoutScroll:!0}),No.current=e}return No.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),km={pan:{Feature:Hp},drag:{Feature:_p,ProjectionNode:Hl,MeasureLayout:pl}};function Ul(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const o="onHover"+n,s=r[o];s&&J.postRender(()=>s(t,en(t)))}class Em extends Xe{mount(){const{current:t}=this.node;t&&(this.unmount=Yh(t,(n,r)=>(Ul(this.node,r,"Start"),o=>Ul(this.node,o,"End"))))}unmount(){}}class Pm extends Xe{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=_t(Qt(this.node.current,"focus",()=>this.onFocus()),Qt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Wl(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const o="onTap"+(n==="End"?"":n),s=r[o];s&&J.postRender(()=>s(t,en(t)))}class Am extends Xe{mount(){const{current:t}=this.node;t&&(this.unmount=qh(t,(n,r)=>(Wl(this.node,r,"Start"),(o,{success:s})=>Wl(this.node,o,s?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Bo=new WeakMap,Oo=new WeakMap,Dm=e=>{const t=Bo.get(e.target);t&&t(e)},$m=e=>{e.forEach(Dm)};function Mm({root:e,...t}){const n=e||document;Oo.has(n)||Oo.set(n,{});const r=Oo.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver($m,{root:e,...t})),r[o]}function Vm(e,t,n){const r=Mm(t);return Bo.set(e,n),r.observe(e),()=>{Bo.delete(e),r.unobserve(e)}}const Im={some:0,all:1};class Lm extends Xe{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:s}=t,i={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:Im[o]},a=l=>{const{isIntersecting:d}=l;if(this.isInView===d||(this.isInView=d,s&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:u,onViewportLeave:c}=this.node.getProps(),h=d?u:c;h&&h(l)};return Vm(this.node.current,i,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(Nm(t,n))&&this.startObserver()}unmount(){}}function Nm({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Bm={...Sp,...{inView:{Feature:Lm},tap:{Feature:Am},focus:{Feature:Pm},hover:{Feature:Em}},...km,...{layout:{ProjectionNode:Hl,MeasureLayout:pl}}},Re=Ff(Bm,qf),Om={sm:v`
234
+ `),()=>{w.contains(v)&&w.removeChild(v)}},[t]),p.jsx(of,{isPresent:t,childRef:s,sizeRef:i,children:cn.cloneElement(e,{ref:l})})}const af=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:s,mode:i,anchorX:a,root:l})=>{const d=xr(lf),u=f.useId();let c=!0,h=f.useMemo(()=>(c=!1,{id:u,initial:t,isPresent:n,custom:o,onExitComplete:m=>{d.set(m,!0);for(const g of d.values())if(!g)return;r&&r()},register:m=>(d.set(m,!1),()=>d.delete(m))}),[n,d,r]);return s&&c&&(h={...h}),f.useMemo(()=>{d.forEach((m,g)=>d.set(g,!1))},[n]),cn.useEffect(()=>{!n&&!d.size&&r&&r()},[n]),i==="popLayout"&&(e=p.jsx(sf,{isPresent:n,anchorX:a,root:l,children:e})),p.jsx(Dn.Provider,{value:h,children:e})};function lf(){return new Map}function ha(e=!0){const t=f.useContext(Dn);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:o}=t,s=f.useId();f.useEffect(()=>{if(e)return o(s)},[e]);const i=f.useCallback(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,i]:[!0]}const On=e=>e.key||"";function fa(e){const t=[];return f.Children.forEach(e,n=>{f.isValidElement(n)&&t.push(n)}),t}const Zt=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:o=!0,mode:s="sync",propagate:i=!1,anchorX:a="left",root:l})=>{const[d,u]=ha(i),c=f.useMemo(()=>fa(e),[e]),h=i&&!d?[]:c.map(On),m=f.useRef(!0),g=f.useRef(c),v=xr(()=>new Map),[w,y]=f.useState(c),[S,x]=f.useState(c);Qi(()=>{m.current=!1,g.current=c;for(let k=0;k<S.length;k++){const E=On(S[k]);h.includes(E)?v.delete(E):v.get(E)!==!0&&v.set(E,!1)}},[S,h.length,h.join("-")]);const A=[];if(c!==w){let k=[...c];for(let E=0;E<S.length;E++){const D=S[E],L=On(D);h.includes(L)||(k.splice(E,0,D),A.push(D))}return s==="wait"&&A.length&&(k=A),x(fa(k)),y(c),null}process.env.NODE_ENV!=="production"&&s==="wait"&&S.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:P}=f.useContext(wr);return p.jsx(p.Fragment,{children:S.map(k=>{const E=On(k),D=i&&!d?!1:c===S||h.includes(E),L=()=>{if(v.has(E))v.set(E,!0);else return;let _=!0;v.forEach($=>{$||(_=!1)}),_&&(P?.(),x(g.current),i&&u?.(),r&&r())};return p.jsx(af,{isPresent:D,initial:!m.current||n?void 0:!1,custom:t,presenceAffectsLayout:o,mode:s,root:l,onExitComplete:D?void 0:L,anchorX:a,children:k},E)})})},pa=f.createContext({strict:!1}),ma={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Mt={};for(const e in ma)Mt[e]={isEnabled:t=>ma[e].some(n=>!!t[n])};function cf(e){for(const t in e)Mt[t]={...Mt[t],...e[t]}}const df=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Fn(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||df.has(e)}let ga=e=>!Fn(e);function uf(e){typeof e=="function"&&(ga=t=>t.startsWith("on")?!Fn(t):e(t))}try{uf(require("@emotion/is-prop-valid").default)}catch{}function hf(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(ga(o)||n===!0&&Fn(o)||!t&&!Fn(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}const jn=f.createContext({});function zn(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function qt(e){return typeof e=="string"||Array.isArray(e)}const ho=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],fo=["initial",...ho];function Rn(e){return zn(e.animate)||fo.some(t=>qt(e[t]))}function ya(e){return!!(Rn(e)||e.variants)}function ff(e,t){if(Rn(e)){const{initial:n,animate:r}=e;return{initial:n===!1||qt(n)?n:void 0,animate:qt(r)?r:void 0}}return e.inherit!==!1?t:{}}function pf(e){const{initial:t,animate:n}=ff(e,f.useContext(jn));return f.useMemo(()=>({initial:t,animate:n}),[va(t),va(n)])}function va(e){return Array.isArray(e)?e.join(" "):e}const Jt={};function mf(e){for(const t in e)Jt[t]=e[t],Vr(t)&&(Jt[t].isCSSVariable=!0)}function ba(e,{layout:t,layoutId:n}){return Dt.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Jt[e]||e==="opacity")}const gf={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},yf=At.length;function vf(e,t,n){let r="",o=!0;for(let s=0;s<yf;s++){const i=At[s],a=e[i];if(a===void 0)continue;let l=!0;if(typeof a=="number"?l=a===(i.startsWith("scale")?1:0):l=parseFloat(a)===0,!l||n){const d=ta(a,so[i]);if(!l){o=!1;const u=gf[i]||i;r+=`${u}(${d}) `}n&&(t[i]=d)}}return r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}function po(e,t,n){const{style:r,vars:o,transformOrigin:s}=e;let i=!1,a=!1;for(const l in t){const d=t[l];if(Dt.has(l)){i=!0;continue}else if(Vr(l)){o[l]=d;continue}else{const u=ta(d,so[l]);l.startsWith("origin")?(a=!0,s[l]=u):r[l]=u}}if(t.transform||(i||n?r.transform=vf(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:d="50%",originZ:u=0}=s;r.transformOrigin=`${l} ${d} ${u}`}}const mo=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function wa(e,t,n){for(const r in t)!ue(t[r])&&!ba(r,n)&&(e[r]=t[r])}function bf({transformTemplate:e},t){return f.useMemo(()=>{const n=mo();return po(n,t,e),Object.assign({},n.vars,n.style)},[t])}function wf(e,t){const n=e.style||{},r={};return wa(r,n,e),Object.assign(r,bf(e,t)),r}function xf(e,t){const n={},r=wf(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const Sf={offset:"stroke-dashoffset",array:"stroke-dasharray"},Cf={offset:"strokeDashoffset",array:"strokeDasharray"};function Tf(e,t,n=1,r=0,o=!0){e.pathLength=1;const s=o?Sf:Cf;e[s.offset]=M.transform(-r);const i=M.transform(t),a=M.transform(n);e[s.array]=`${i} ${a}`}function xa(e,{attrX:t,attrY:n,attrScale:r,pathLength:o,pathSpacing:s=1,pathOffset:i=0,...a},l,d,u){if(po(e,a,d),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:c,style:h}=e;c.transform&&(h.transform=c.transform,delete c.transform),(h.transform||c.transformOrigin)&&(h.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),h.transform&&(h.transformBox=u?.transformBox??"fill-box",delete c.transformBox),t!==void 0&&(c.x=t),n!==void 0&&(c.y=n),r!==void 0&&(c.scale=r),o!==void 0&&Tf(c,o,s,i,!1)}const Sa=()=>({...mo(),attrs:{}}),Ca=e=>typeof e=="string"&&e.toLowerCase()==="svg";function kf(e,t,n,r){const o=f.useMemo(()=>{const s=Sa();return xa(s,t,Ca(r),e.transformTemplate,e.style),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};wa(s,e.style,e),o.style={...s,...o.style}}return o}const Ef=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function go(e){return typeof e!="string"||e.includes("-")?!1:!!(Ef.indexOf(e)>-1||/[A-Z]/u.test(e))}function Pf(e,t,n,{latestValues:r},o,s=!1){const a=(go(e)?kf:xf)(t,r,o,e),l=hf(t,typeof e=="string",s),d=e!==f.Fragment?{...l,...a,ref:n}:{},{children:u}=t,c=f.useMemo(()=>ue(u)?u.get():u,[u]);return f.createElement(e,{...d,children:c})}function Ta(e){const t=[{},{}];return e?.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function yo(e,t,n,r){if(typeof t=="function"){const[o,s]=Ta(r);t=t(n!==void 0?n:e.custom,o,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[o,s]=Ta(r);t=t(n!==void 0?n:e.custom,o,s)}return t}function _n(e){return ue(e)?e.get():e}function Af({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,o){return{latestValues:Df(n,r,o,e),renderState:t()}}function Df(e,t,n,r){const o={},s=r(e,{});for(const h in s)o[h]=_n(s[h]);let{initial:i,animate:a}=e;const l=Rn(e),d=ya(e);t&&d&&!l&&e.inherit!==!1&&(i===void 0&&(i=t.initial),a===void 0&&(a=t.animate));let u=n?n.initial===!1:!1;u=u||i===!1;const c=u?a:i;if(c&&typeof c!="boolean"&&!zn(c)){const h=Array.isArray(c)?c:[c];for(let m=0;m<h.length;m++){const g=yo(e,h[m]);if(g){const{transitionEnd:v,transition:w,...y}=g;for(const S in y){let x=y[S];if(Array.isArray(x)){const A=u?x.length-1:0;x=x[A]}x!==null&&(o[S]=x)}for(const S in v)o[S]=v[S]}}}return o}const ka=e=>(t,n)=>{const r=f.useContext(jn),o=f.useContext(Dn),s=()=>Af(e,t,r,o);return n?s():xr(s)};function vo(e,t,n){const{style:r}=e,o={};for(const s in r)(ue(r[s])||t.style&&ue(t.style[s])||ba(s,e)||n?.getValue(s)?.liveStyle!==void 0)&&(o[s]=r[s]);return o}const $f=ka({scrapeMotionValuesFromProps:vo,createRenderState:mo});function Ea(e,t,n){const r=vo(e,t,n);for(const o in e)if(ue(e[o])||ue(t[o])){const s=At.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[s]=e[o]}return r}const Mf=ka({scrapeMotionValuesFromProps:Ea,createRenderState:Sa}),Vf=Symbol.for("motionComponentSymbol");function Vt(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function If(e,t,n){return f.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Vt(n)&&(n.current=r))},[t])}const bo=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Pa="data-"+bo("framerAppearId"),Aa=f.createContext({});function Lf(e,t,n,r,o){const{visualElement:s}=f.useContext(jn),i=f.useContext(pa),a=f.useContext(Dn),l=f.useContext(uo).reducedMotion,d=f.useRef(null);r=r||i.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:s,props:n,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:l}));const u=d.current,c=f.useContext(Aa);u&&!u.projection&&o&&(u.type==="html"||u.type==="svg")&&Nf(d.current,n,o,c);const h=f.useRef(!1);f.useInsertionEffect(()=>{u&&h.current&&u.update(n,a)});const m=n[Pa],g=f.useRef(!!m&&!window.MotionHandoffIsComplete?.(m)&&window.MotionHasOptimisedAnimation?.(m));return Qi(()=>{u&&(h.current=!0,window.MotionIsMounted=!0,u.updateFeatures(),u.scheduleRenderMicrotask(),g.current&&u.animationState&&u.animationState.animateChanges())}),f.useEffect(()=>{u&&(!g.current&&u.animationState&&u.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(m)}),g.current=!1),u.enteringChildren=void 0)}),u}function Nf(e,t,n,r){const{layoutId:o,layout:s,drag:i,dragConstraints:a,layoutScroll:l,layoutRoot:d,layoutCrossfade:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Da(e.parent)),e.projection.setOptions({layoutId:o,layout:s,alwaysMeasureLayout:!!i||a&&Vt(a),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:r,crossfade:u,layoutScroll:l,layoutRoot:d})}function Da(e){if(e)return e.options.allowProjection!==!1?e.projection:Da(e.parent)}function wo(e,{forwardMotionProps:t=!1}={},n,r){n&&cf(n);const o=go(e)?Mf:$f;function s(a,l){let d;const u={...f.useContext(uo),...a,layoutId:Bf(a)},{isStatic:c}=u,h=pf(a),m=o(a,c);if(!c&&Sr){Of(u,n);const g=Ff(u);d=g.MeasureLayout,h.visualElement=Lf(e,m,u,r,g.ProjectionNode)}return p.jsxs(jn.Provider,{value:h,children:[d&&h.visualElement?p.jsx(d,{visualElement:h.visualElement,...u}):null,Pf(e,a,If(m,h.visualElement,l),m,c,t)]})}s.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const i=f.forwardRef(s);return i[Vf]=e,i}function Bf({layoutId:e}){const t=f.useContext(wr).id;return t&&e!==void 0?t+"-"+e:e}function Of(e,t){const n=f.useContext(pa).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const r="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?Tt(!1,r,"lazy-strict-mode"):ze(!1,r,"lazy-strict-mode")}}function Ff(e){const{drag:t,layout:n}=Mt;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function jf(e,t){if(typeof Proxy>"u")return wo;const n=new Map,r=(s,i)=>wo(s,i,e,t),o=(s,i)=>(process.env.NODE_ENV!=="production"&&Ar(!1,"motion() is deprecated. Use motion.create() instead."),r(s,i));return new Proxy(o,{get:(s,i)=>i==="create"?r:(n.has(i)||n.set(i,wo(i,void 0,e,t)),n.get(i))})}function $a({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function zf({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Rf(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function xo(e){return e===void 0||e===1}function So({scale:e,scaleX:t,scaleY:n}){return!xo(e)||!xo(t)||!xo(n)}function ct(e){return So(e)||Ma(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Ma(e){return Va(e.x)||Va(e.y)}function Va(e){return e&&e!=="0%"}function Hn(e,t,n){const r=e-n,o=t*r;return n+o}function Ia(e,t,n,r,o){return o!==void 0&&(e=Hn(e,o,r)),Hn(e,n,r)+t}function Co(e,t=0,n=1,r,o){e.min=Ia(e.min,t,n,r,o),e.max=Ia(e.max,t,n,r,o)}function La(e,{x:t,y:n}){Co(e.x,t.translate,t.scale,t.originPoint),Co(e.y,n.translate,n.scale,n.originPoint)}const Na=.999999999999,Ba=1.0000000000001;function _f(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let s,i;for(let a=0;a<o;a++){s=n[a],i=s.projectionDelta;const{visualElement:l}=s.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&Lt(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),i&&(t.x*=i.x.scale,t.y*=i.y.scale,La(e,i)),r&&ct(s.latestValues)&&Lt(e,s.latestValues))}t.x<Ba&&t.x>Na&&(t.x=1),t.y<Ba&&t.y>Na&&(t.y=1)}function It(e,t){e.min=e.min+t,e.max=e.max+t}function Oa(e,t,n,r,o=.5){const s=Q(e.min,e.max,o);Co(e,t,n,s,r)}function Lt(e,t){Oa(e.x,t.x,t.scaleX,t.scale,t.originX),Oa(e.y,t.y,t.scaleY,t.scale,t.originY)}function Fa(e,t){return $a(Rf(e.getBoundingClientRect(),t))}function Hf(e,t,n){const r=Fa(e,n),{scroll:o}=t;return o&&(It(r.x,o.offset.x),It(r.y,o.offset.y)),r}const ja=()=>({translate:0,scale:1,origin:0,originPoint:0}),Nt=()=>({x:ja(),y:ja()}),za=()=>({min:0,max:0}),te=()=>({x:za(),y:za()}),To={current:null},Ra={current:!1};function Uf(){if(Ra.current=!0,!!Sr)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>To.current=e.matches;e.addEventListener("change",t),t()}else To.current=!1}const Wf=new WeakMap;function Kf(e,t,n){for(const r in t){const o=t[r],s=n[r];if(ue(o))e.addValue(r,o);else if(ue(s))e.addValue(r,$t(o,{owner:e}));else if(s!==o)if(e.hasValue(r)){const i=e.getValue(r);i.liveStyle===!0?i.jump(o):i.hasAnimated||i.set(o)}else{const i=e.getStaticValue(r);e.addValue(r,$t(i!==void 0?i:o,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const _a=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Yf{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,blockInitialAnimation:s,visualState:i},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=no,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const h=ye.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,J.render(this.render,!1,!0))};const{latestValues:l,renderState:d}=i;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=d,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=Rn(n),this.isVariantNode=ya(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...c}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in c){const m=c[h];l[h]!==void 0&&ue(m)&&m.set(l[h])}}mount(t){this.current=t,Wf.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),Ra.current||Uf(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:To.current,process.env.NODE_ENV!=="production"&&Ar(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Ke(this.notifyUpdate),Ke(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=Dt.has(t);r&&this.onBindTransform&&this.onBindTransform();const o=n.on("change",i=>{this.latestValues[t]=i,this.props.onUpdate&&J.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let s;window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{o(),s&&s(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Mt){const n=Mt[t];if(!n)continue;const{isEnabled:r,Feature:o}=n;if(!this.features[t]&&o&&r(this.props)&&(this.features[t]=new o(this)),this.features[t]){const s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):te()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<_a.length;r++){const o=_a[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const s="on"+o,i=t[s];i&&(this.propEventSubscriptions[o]=this.on(o,i))}this.prevMotionValues=Kf(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=$t(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(es(r)||ns(r))?r=parseFloat(r):!tf(r)&&Ge.test(n)&&(r=ea(t,n)),this.setBaseTarget(t,ue(r)?r.get():r)),ue(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const s=yo(this.props,n,this.presenceContext?.custom);s&&(r=s[t])}if(n&&r!==void 0)return r;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!ue(o)?o:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Pr),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){ao.render(this.render)}}class Ha extends Yf{constructor(){super(...arguments),this.KeyframeResolver=Hh}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;ue(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function Ua(e,{style:t,vars:n},r,o){const s=e.style;let i;for(i in t)s[i]=t[i];o?.applyProjectionStyles(s,r);for(i in n)s.setProperty(i,n[i])}function Gf(e){return window.getComputedStyle(e)}class Xf extends Ha{constructor(){super(...arguments),this.type="html",this.renderInstance=Ua}readValueFromInstance(t,n){if(Dt.has(n))return this.projection?.isProjecting?qr(n):lh(t,n);{const r=Gf(t),o=(Vr(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Fa(t,n)}build(t,n,r){po(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return vo(t,n,r)}}const Wa=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Zf(e,t,n,r){Ua(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(Wa.has(o)?o:bo(o),t.attrs[o])}class qf extends Ha{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=te}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Dt.has(n)){const r=Qs(n);return r&&r.default||0}return n=Wa.has(n)?n:bo(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Ea(t,n,r)}build(t,n,r){xa(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,o){Zf(t,n,r,o)}mount(t){this.isSVGTag=Ca(t.tagName),super.mount(t)}}const Jf=(e,t)=>go(e)?new qf(t):new Xf(t,{allowProjection:e!==f.Fragment});function Bt(e,t,n){const r=e.getProps();return yo(r,t,n!==void 0?n:r.custom,e)}const ko=e=>Array.isArray(e);function Qf(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,$t(n))}function ep(e){return ko(e)?e[e.length-1]||0:e}function tp(e,t){const n=Bt(e,t);let{transitionEnd:r={},transition:o={},...s}=n||{};s={...s,...r};for(const i in s){const a=ep(s[i]);Qf(e,i,a)}}function np(e){return!!(ue(e)&&e.add)}function Eo(e,t){const n=e.getValue("willChange");if(np(n))return n.add(t);if(!n&&Re.WillChange){const r=new Re.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function Ka(e){return e.props[Pa]}const rp=e=>e!==null;function op(e,{repeat:t,repeatType:n="loop"},r){const o=e.filter(rp),s=t&&n!=="loop"&&t%2===1?0:o.length-1;return o[s]}const ip={type:"spring",stiffness:500,damping:25,restSpeed:10},sp=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),ap={type:"keyframes",duration:.8},lp={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},cp=(e,{keyframes:t})=>t.length>2?ap:Dt.has(e)?e.startsWith("scale")?sp(t[1]):ip:lp;function dp({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:s,repeatType:i,repeatDelay:a,from:l,elapsed:d,...u}){return!!Object.keys(u).length}const Po=(e,t,n,r={},o,s)=>i=>{const a=oo(r,e)||{},l=a.delay||r.delay||0;let{elapsed:d=0}=r;d=d-De(l);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-d,onUpdate:h=>{t.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{i(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:o};dp(a)||Object.assign(u,cp(e,u)),u.duration&&(u.duration=De(u.duration)),u.repeatDelay&&(u.repeatDelay=De(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let c=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(ro(u),u.delay===0&&(c=!0)),(Re.instantAnimations||Re.skipAnimations)&&(c=!0,ro(u),u.delay=0),u.allowFlatten=!a.type&&!a.ease,c&&!s&&t.get()!==void 0){const h=op(u.keyframes,a);if(h!==void 0){J.update(()=>{u.onUpdate(h),u.onComplete()});return}}return a.isSync?new Gr(u):new Mh(u)};function up({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Ya(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:s=e.getDefaultTransition(),transitionEnd:i,...a}=t;r&&(s=r);const l=[],d=o&&e.animationState&&e.animationState.getState()[o];for(const u in a){const c=e.getValue(u,e.latestValues[u]??null),h=a[u];if(h===void 0||d&&up(d,u))continue;const m={delay:n,...oo(s||{},u)},g=c.get();if(g!==void 0&&!c.isAnimating&&!Array.isArray(h)&&h===g&&!m.velocity)continue;let v=!1;if(window.MotionHandoffAnimation){const y=Ka(e);if(y){const S=window.MotionHandoffAnimation(y,u,J);S!==null&&(m.startTime=S,v=!0)}}Eo(e,u),c.start(Po(u,c,h,e.shouldReduceMotion&&Gs.has(u)?{type:!1}:m,e,v));const w=c.animation;w&&l.push(w)}return i&&Promise.all(l).then(()=>{J.update(()=>{i&&tp(e,i)})}),l}function Ga(e,t,n,r=0,o=1){const s=Array.from(e).sort((d,u)=>d.sortNodePosition(u)).indexOf(t),i=e.size,a=(i-1)*r;return typeof n=="function"?n(s,i):o===1?s*r:a-s*r}function Ao(e,t,n={}){const r=Bt(e,t,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const s=r?()=>Promise.all(Ya(e,r,n)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:d=0,staggerChildren:u,staggerDirection:c}=o;return hp(e,t,l,d,u,c,n)}:()=>Promise.resolve(),{when:a}=o;if(a){const[l,d]=a==="beforeChildren"?[s,i]:[i,s];return l().then(()=>d())}else return Promise.all([s(),i(n.delay)])}function hp(e,t,n=0,r=0,o=0,s=1,i){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push(Ao(l,t,{...i,delay:n+(typeof r=="function"?0:r)+Ga(e.variantChildren,l,r,o,s)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function fp(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(s=>Ao(e,s,n));r=Promise.all(o)}else if(typeof t=="string")r=Ao(e,t,n);else{const o=typeof t=="function"?Bt(e,t,n.custom):t;r=Promise.all(Ya(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}function Xa(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const pp=fo.length;function Za(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Za(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<pp;n++){const r=fo[n],o=e.props[r];(qt(o)||o===!1)&&(t[r]=o)}return t}const mp=[...ho].reverse(),gp=ho.length;function yp(e){return t=>Promise.all(t.map(({animation:n,options:r})=>fp(e,n,r)))}function vp(e){let t=yp(e),n=qa(),r=!0;const o=l=>(d,u)=>{const c=Bt(e,u,l==="exit"?e.presenceContext?.custom:void 0);if(c){const{transition:h,transitionEnd:m,...g}=c;d={...d,...g,...m}}return d};function s(l){t=l(e)}function i(l){const{props:d}=e,u=Za(e.parent)||{},c=[],h=new Set;let m={},g=1/0;for(let w=0;w<gp;w++){const y=mp[w],S=n[y],x=d[y]!==void 0?d[y]:u[y],A=qt(x),P=y===l?S.isActive:null;P===!1&&(g=w);let k=x===u[y]&&x!==d[y]&&A;if(k&&r&&e.manuallyAnimateOnMount&&(k=!1),S.protectedKeys={...m},!S.isActive&&P===null||!x&&!S.prevProp||zn(x)||typeof x=="boolean")continue;const E=bp(S.prevProp,x);let D=E||y===l&&S.isActive&&!k&&A||w>g&&A,L=!1;const _=Array.isArray(x)?x:[x];let $=_.reduce(o(y),{});P===!1&&($={});const{prevResolvedValues:U={}}=S,V={...U,...$},he=N=>{D=!0,h.has(N)&&(L=!0,h.delete(N)),S.needsAnimating[N]=!0;const H=e.getValue(N);H&&(H.liveStyle=!1)};for(const N in V){const H=$[N],B=U[N];if(m.hasOwnProperty(N))continue;let R=!1;ko(H)&&ko(B)?R=!Xa(H,B):R=H!==B,R?H!=null?he(N):h.add(N):H!==void 0&&h.has(N)?he(N):S.protectedKeys[N]=!0}S.prevProp=x,S.prevResolvedValues=$,S.isActive&&(m={...m,...$}),r&&e.blockInitialAnimation&&(D=!1);const G=k&&E;D&&(!G||L)&&c.push(..._.map(N=>{const H={type:y};if(typeof N=="string"&&r&&!G&&e.manuallyAnimateOnMount&&e.parent){const{parent:B}=e,R=Bt(B,N);if(B.enteringChildren&&R){const{delayChildren:oe}=R.transition||{};H.delay=Ga(B.enteringChildren,e,oe)}}return{animation:N,options:H}}))}if(h.size){const w={};if(typeof d.initial!="boolean"){const y=Bt(e,Array.isArray(d.initial)?d.initial[0]:d.initial);y&&y.transition&&(w.transition=y.transition)}h.forEach(y=>{const S=e.getBaseTarget(y),x=e.getValue(y);x&&(x.liveStyle=!0),w[y]=S??null}),c.push({animation:w})}let v=!!c.length;return r&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(v=!1),r=!1,v?t(c):Promise.resolve()}function a(l,d){if(n[l].isActive===d)return Promise.resolve();e.variantChildren?.forEach(c=>c.animationState?.setActive(l,d)),n[l].isActive=d;const u=i(l);for(const c in n)n[c].protectedKeys={};return u}return{animateChanges:i,setActive:a,setAnimateFunction:s,getState:()=>n,reset:()=>{n=qa(),r=!0}}}function bp(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Xa(t,e):!1}function dt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function qa(){return{animate:dt(!0),whileInView:dt(),whileHover:dt(),whileTap:dt(),whileDrag:dt(),whileFocus:dt(),exit:dt()}}class Xe{constructor(t){this.isMounted=!1,this.node=t}update(){}}class wp extends Xe{constructor(t){super(t),t.animationState||(t.animationState=vp(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();zn(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let xp=0;class Sp extends Xe{constructor(){super(...arguments),this.id=xp++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const o=this.node.animationState.setActive("exit",!t);n&&!t&&o.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const Cp={animation:{Feature:wp},exit:{Feature:Sp}};function Qt(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function en(e){return{point:{x:e.pageX,y:e.pageY}}}const Tp=e=>t=>lo(t)&&e(t,en(t));function tn(e,t,n,r){return Qt(e,t,Tp(n),r)}const Ja=1e-4,kp=1-Ja,Ep=1+Ja,Qa=.01,Pp=0-Qa,Ap=0+Qa;function pe(e){return e.max-e.min}function Dp(e,t,n){return Math.abs(e-t)<=n}function el(e,t,n,r=.5){e.origin=r,e.originPoint=Q(t.min,t.max,e.origin),e.scale=pe(n)/pe(t),e.translate=Q(n.min,n.max,e.origin)-e.originPoint,(e.scale>=kp&&e.scale<=Ep||isNaN(e.scale))&&(e.scale=1),(e.translate>=Pp&&e.translate<=Ap||isNaN(e.translate))&&(e.translate=0)}function nn(e,t,n,r){el(e.x,t.x,n.x,r?r.originX:void 0),el(e.y,t.y,n.y,r?r.originY:void 0)}function tl(e,t,n){e.min=n.min+t.min,e.max=e.min+pe(t)}function $p(e,t,n){tl(e.x,t.x,n.x),tl(e.y,t.y,n.y)}function nl(e,t,n){e.min=t.min-n.min,e.max=e.min+pe(t)}function rn(e,t,n){nl(e.x,t.x,n.x),nl(e.y,t.y,n.y)}function ke(e){return[e("x"),e("y")]}const rl=({current:e})=>e?e.ownerDocument.defaultView:null,ol=(e,t)=>Math.abs(e-t);function Mp(e,t){const n=ol(e.x,t.x),r=ol(e.y,t.y);return Math.sqrt(n**2+r**2)}class il{constructor(t,n,{transformPagePoint:r,contextWindow:o=window,dragSnapToOrigin:s=!1,distanceThreshold:i=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const h=$o(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,g=Mp(h.offset,{x:0,y:0})>=this.distanceThreshold;if(!m&&!g)return;const{point:v}=h,{timestamp:w}=ce;this.history.push({...v,timestamp:w});const{onStart:y,onMove:S}=this.handlers;m||(y&&y(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),S&&S(this.lastMoveEvent,h)},this.handlePointerMove=(h,m)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=Do(m,this.transformPagePoint),J.update(this.updatePoint,!0)},this.handlePointerUp=(h,m)=>{this.end();const{onEnd:g,onSessionEnd:v,resumeAnimation:w}=this.handlers;if(this.dragSnapToOrigin&&w&&w(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=$o(h.type==="pointercancel"?this.lastMoveEventInfo:Do(m,this.transformPagePoint),this.history);this.startEvent&&g&&g(h,y),v&&v(h,y)},!lo(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=i,this.contextWindow=o||window;const a=en(t),l=Do(a,this.transformPagePoint),{point:d}=l,{timestamp:u}=ce;this.history=[{...d,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,$o(l,this.history)),this.removeListeners=_t(tn(this.contextWindow,"pointermove",this.handlePointerMove),tn(this.contextWindow,"pointerup",this.handlePointerUp),tn(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Ke(this.updatePoint)}}function Do(e,t){return t?{point:t(e.point)}:e}function sl(e,t){return{x:e.x-t.x,y:e.y-t.y}}function $o({point:e},t){return{point:e,delta:sl(e,al(t)),offset:sl(e,Vp(t)),velocity:Ip(t,.1)}}function Vp(e){return e[0]}function al(e){return e[e.length-1]}function Ip(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=al(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>De(t)));)n--;if(!r)return{x:0,y:0};const s=Te(o.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const i={x:(o.x-r.x)/s,y:(o.y-r.y)/s};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function Lp(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?Q(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?Q(n,e,r.max):Math.min(e,n)),e}function ll(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function Np(e,{top:t,left:n,bottom:r,right:o}){return{x:ll(e.x,n,o),y:ll(e.y,t,r)}}function cl(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function Bp(e,t){return{x:cl(e.x,t.x),y:cl(e.y,t.y)}}function Op(e,t){let n=.5;const r=pe(e),o=pe(t);return o>r?n=Ht(t.min,t.max-r,e.min):r>o&&(n=Ht(e.min,e.max-o,t.min)),je(0,1,n)}function Fp(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const Mo=.35;function jp(e=Mo){return e===!1?e=0:e===!0&&(e=Mo),{x:dl(e,"left","right"),y:dl(e,"top","bottom")}}function dl(e,t,n){return{min:ul(e,t),max:ul(e,n)}}function ul(e,t){return typeof e=="number"?e:e[t]||0}const zp=new WeakMap;class Rp{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=te(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const s=c=>{const{dragSnapToOrigin:h}=this.getProps();h?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(en(c).point)},i=(c,h)=>{const{drag:m,dragPropagation:g,onDragStart:v}=this.getProps();if(m&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Yh(m),!this.openDragLock))return;this.latestPointerEvent=c,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ke(y=>{let S=this.getAxisMotionValue(y).get()||0;if(Be.test(S)){const{projection:x}=this.visualElement;if(x&&x.layout){const A=x.layout.layoutBox[y];A&&(S=pe(A)*(parseFloat(S)/100))}}this.originPoint[y]=S}),v&&J.postRender(()=>v(c,h)),Eo(this.visualElement,"transform");const{animationState:w}=this.visualElement;w&&w.setActive("whileDrag",!0)},a=(c,h)=>{this.latestPointerEvent=c,this.latestPanInfo=h;const{dragPropagation:m,dragDirectionLock:g,onDirectionLock:v,onDrag:w}=this.getProps();if(!m&&!this.openDragLock)return;const{offset:y}=h;if(g&&this.currentDirection===null){this.currentDirection=_p(y),this.currentDirection!==null&&v&&v(this.currentDirection);return}this.updateAxis("x",h.point,y),this.updateAxis("y",h.point,y),this.visualElement.render(),w&&w(c,h)},l=(c,h)=>{this.latestPointerEvent=c,this.latestPanInfo=h,this.stop(c,h),this.latestPointerEvent=null,this.latestPanInfo=null},d=()=>ke(c=>this.getAnimationState(c)==="paused"&&this.getAxisMotionValue(c).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new il(t,{onSessionStart:s,onStart:i,onMove:a,onSessionEnd:l,resumeAnimation:d},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:r,contextWindow:rl(this.visualElement)})}stop(t,n){const r=t||this.latestPointerEvent,o=n||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!o||!r)return;const{velocity:i}=o;this.startAnimation(i);const{onDragEnd:a}=this.getProps();a&&J.postRender(()=>a(r,o))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:o}=this.getProps();if(!r||!Un(t,o,this.currentDirection))return;const s=this.getAxisMotionValue(t);let i=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(i=Lp(i,this.constraints[t],this.elastic[t])),s.set(i)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,o=this.constraints;t&&Vt(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=Np(r.layoutBox,t):this.constraints=!1,this.elastic=jp(n),o!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&ke(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=Fp(r.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Vt(t))return!1;const r=t.current;ze(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const s=Hf(r,o.root,this.visualElement.getTransformPagePoint());let i=Bp(o.layout.layoutBox,s);if(n){const a=n(zf(i));this.hasMutatedConstraints=!!a,a&&(i=$a(a))}return i}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:s,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},d=ke(u=>{if(!Un(u,n,this.currentDirection))return;let c=l&&l[u]||{};i&&(c={min:0,max:0});const h=o?200:1e6,m=o?40:1e7,g={type:"inertia",velocity:r?t[u]:0,bounceStiffness:h,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...s,...c};return this.startAxisValueAnimation(u,g)});return Promise.all(d).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Eo(this.visualElement,t),r.start(Po(t,r,0,n,this.visualElement,!1))}stopAnimation(){ke(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){ke(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){ke(n=>{const{drag:r}=this.getProps();if(!Un(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,s=this.getAxisMotionValue(n);if(o&&o.layout){const{min:i,max:a}=o.layout.layoutBox[n];s.set(t[n]-Q(i,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Vt(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};ke(i=>{const a=this.getAxisMotionValue(i);if(a&&this.constraints!==!1){const l=a.get();o[i]=Op({min:l,max:l},this.constraints[i])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),ke(i=>{if(!Un(i,t,null))return;const a=this.getAxisMotionValue(i),{min:l,max:d}=this.constraints[i];a.set(Q(l,d,o[i]))})}addListeners(){if(!this.visualElement.current)return;zp.set(this.visualElement,this);const t=this.visualElement.current,n=tn(t,"pointerdown",l=>{const{drag:d,dragListener:u=!0}=this.getProps();d&&u&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();Vt(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,s=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),J.read(r);const i=Qt(window,"resize",()=>this.scalePositionWithinConstraints()),a=o.addEventListener("didUpdate",(({delta:l,hasLayoutChanged:d})=>{this.isDragging&&d&&(ke(u=>{const c=this.getAxisMotionValue(u);c&&(this.originPoint[u]+=l[u].translate,c.set(c.get()+l[u].translate))}),this.visualElement.render())}));return()=>{i(),n(),s(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:s=!1,dragElastic:i=Mo,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:s,dragElastic:i,dragMomentum:a}}}function Un(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function _p(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Hp extends Xe{constructor(t){super(t),this.removeGroupControls=Ce,this.removeListeners=Ce,this.controls=new Rp(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ce}unmount(){this.removeGroupControls(),this.removeListeners()}}const hl=e=>(t,n)=>{e&&J.postRender(()=>e(t,n))};class Up extends Xe{constructor(){super(...arguments),this.removePointerDownListener=Ce}onPointerDown(t){this.session=new il(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rl(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:hl(t),onStart:hl(n),onMove:r,onEnd:(s,i)=>{delete this.session,o&&J.postRender(()=>o(s,i))}}}mount(){this.removePointerDownListener=tn(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Wn={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function fl(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const on={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(M.test(e))e=parseFloat(e);else return e;const n=fl(e,t.target.x),r=fl(e,t.target.y);return`${n}% ${r}%`}},Wp={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=Ge.parse(e);if(o.length>5)return r;const s=Ge.createTransformer(e),i=typeof o[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;o[0+i]/=a,o[1+i]/=l;const d=Q(a,l,.5);return typeof o[2+i]=="number"&&(o[2+i]/=d),typeof o[3+i]=="number"&&(o[3+i]/=d),s(o)}};let Vo=!1;class Kp extends f.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:s}=t;mf(Yp),s&&(n.group&&n.group.add(s),r&&r.register&&o&&r.register(s),Vo&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),Wn.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:s}=this.props,{projection:i}=r;return i&&(i.isPresent=s,Vo=!0,o||t.layoutDependency!==n||n===void 0||t.isPresent!==s?i.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?i.promote():i.relegate()||J.postRender(()=>{const a=i.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),ao.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;Vo=!0,o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function pl(e){const[t,n]=ha(),r=f.useContext(wr);return p.jsx(Kp,{...e,layoutGroup:r,switchLayoutGroup:f.useContext(Aa),isPresent:t,safeToRemove:n})}const Yp={borderRadius:{...on,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:on,borderTopRightRadius:on,borderBottomLeftRadius:on,borderBottomRightRadius:on,boxShadow:Wp};function Gp(e,t,n){const r=ue(e)?e:$t(e);return r.start(Po("",r,t,n)),r.animation}const Xp=(e,t)=>e.depth-t.depth;class Zp{constructor(){this.children=[],this.isDirty=!1}add(t){Cr(this.children,t),this.isDirty=!0}remove(t){Tr(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Xp),this.isDirty=!1,this.children.forEach(t)}}function qp(e,t){const n=ye.now(),r=({timestamp:o})=>{const s=o-n;s>=t&&(Ke(r),e(s-t))};return J.setup(r,!0),()=>Ke(r)}const ml=["TopLeft","TopRight","BottomLeft","BottomRight"],Jp=ml.length,gl=e=>typeof e=="string"?parseFloat(e):e,yl=e=>typeof e=="number"||M.test(e);function Qp(e,t,n,r,o,s){o?(e.opacity=Q(0,n.opacity??1,em(r)),e.opacityExit=Q(t.opacity??1,0,tm(r))):s&&(e.opacity=Q(t.opacity??1,n.opacity??1,r));for(let i=0;i<Jp;i++){const a=`border${ml[i]}Radius`;let l=vl(t,a),d=vl(n,a);if(l===void 0&&d===void 0)continue;l||(l=0),d||(d=0),l===0||d===0||yl(l)===yl(d)?(e[a]=Math.max(Q(gl(l),gl(d),r),0),(Be.test(d)||Be.test(l))&&(e[a]+="%")):e[a]=d}(t.rotate||n.rotate)&&(e.rotate=Q(t.rotate||0,n.rotate||0,r))}function vl(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const em=bl(0,.5,us),tm=bl(.5,.95,Ce);function bl(e,t,n){return r=>r<e?0:r>t?1:n(Ht(e,t,r))}function wl(e,t){e.min=t.min,e.max=t.max}function Ee(e,t){wl(e.x,t.x),wl(e.y,t.y)}function xl(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Sl(e,t,n,r,o){return e-=t,e=Hn(e,1/n,r),o!==void 0&&(e=Hn(e,1/o,r)),e}function nm(e,t=0,n=1,r=.5,o,s=e,i=e){if(Be.test(t)&&(t=parseFloat(t),t=Q(i.min,i.max,t/100)-i.min),typeof t!="number")return;let a=Q(s.min,s.max,r);e===s&&(a-=t),e.min=Sl(e.min,t,n,a,o),e.max=Sl(e.max,t,n,a,o)}function Cl(e,t,[n,r,o],s,i){nm(e,t[n],t[r],t[o],t.scale,s,i)}const rm=["x","scaleX","originX"],om=["y","scaleY","originY"];function Tl(e,t,n,r){Cl(e.x,t,rm,n?n.x:void 0,r?r.x:void 0),Cl(e.y,t,om,n?n.y:void 0,r?r.y:void 0)}function kl(e){return e.translate===0&&e.scale===1}function El(e){return kl(e.x)&&kl(e.y)}function Pl(e,t){return e.min===t.min&&e.max===t.max}function im(e,t){return Pl(e.x,t.x)&&Pl(e.y,t.y)}function Al(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Dl(e,t){return Al(e.x,t.x)&&Al(e.y,t.y)}function $l(e){return pe(e.x)/pe(e.y)}function Ml(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class sm{constructor(){this.members=[]}add(t){Cr(this.members,t),t.scheduleRender()}remove(t){if(Tr(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(o=>t===o);if(n===0)return!1;let r;for(let o=n;o>=0;o--){const s=this.members[o];if(s.isPresent!==!1){r=s;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function am(e,t,n){let r="";const o=e.x.translate/t.x,s=e.y.translate/t.y,i=n?.z||0;if((o||s||i)&&(r=`translate3d(${o}px, ${s}px, ${i}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:d,rotate:u,rotateX:c,rotateY:h,skewX:m,skewY:g}=n;d&&(r=`perspective(${d}px) ${r}`),u&&(r+=`rotate(${u}deg) `),c&&(r+=`rotateX(${c}deg) `),h&&(r+=`rotateY(${h}deg) `),m&&(r+=`skewX(${m}deg) `),g&&(r+=`skewY(${g}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const Io=["","X","Y","Z"],lm=1e3;let cm=0;function Lo(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Vl(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Ka(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",J,!(o||s))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Vl(r)}function Il({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(i={},a=t?.()){this.id=cm++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(hm),this.nodes.forEach(gm),this.nodes.forEach(ym),this.nodes.forEach(fm)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=i,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new Zp)}addEventListener(i,a){return this.eventHandlers.has(i)||this.eventHandlers.set(i,new Pr),this.eventHandlers.get(i).add(a)}notifyListeners(i,...a){const l=this.eventHandlers.get(i);l&&l.notify(...a)}hasListeners(i){return this.eventHandlers.has(i)}mount(i){if(this.instance)return;this.isSVG=da(i)&&!Qh(i),this.instance=i;const{layoutId:a,layout:l,visualElement:d}=this.options;if(d&&!d.current&&d.mount(i),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),e){let u,c=0;const h=()=>this.root.updateBlockedByResize=!1;J.read(()=>{c=window.innerWidth}),e(i,()=>{const m=window.innerWidth;m!==c&&(c=m,this.root.updateBlockedByResize=!0,u&&u(),u=qp(h,250),Wn.hasAnimatedSinceResize&&(Wn.hasAnimatedSinceResize=!1,this.nodes.forEach(Bl)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&d&&(a||l)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:c,hasRelativeLayoutChanged:h,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||d.getDefaultTransition()||Sm,{onLayoutAnimationStart:v,onLayoutAnimationComplete:w}=d.getProps(),y=!this.targetLayout||!Dl(this.targetLayout,m),S=!c&&h;if(this.options.layoutRoot||this.resumeFrom||S||c&&(y||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const x={...oo(g,"layout"),onPlay:v,onComplete:w};(d.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x),this.setAnimationOrigin(u,S)}else c||Bl(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const i=this.getStack();i&&i.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Ke(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(vm),this.animationId++)}getTransformTemplate(){const{visualElement:i}=this.options;return i&&i.getProps().transformTemplate}willUpdate(i=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Vl(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const c=this.path[u];c.shouldResetTransform=!0,c.updateScroll("snapshot"),c.options.layoutRoot&&c.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const d=this.getTransformTemplate();this.prevTransformTemplateValue=d?d(this.latestValues,""):void 0,this.updateSnapshot(),i&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Ll);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Nl);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(mm),this.nodes.forEach(dm),this.nodes.forEach(um)):this.nodes.forEach(Nl),this.clearAllSnapshots();const a=ye.now();ce.delta=je(0,1e3/60,a-ce.timestamp),ce.timestamp=a,ce.isProcessing=!0,Mr.update.process(ce),Mr.preRender.process(ce),Mr.render.process(ce),ce.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ao.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(pm),this.sharedNodes.forEach(bm)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,J.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){J.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!pe(this.snapshot.measuredBox.x)&&!pe(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const i=this.layout;this.layout=this.measure(!1),this.layoutCorrected=te(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,i?i.layoutBox:void 0)}updateScroll(i="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===i&&(a=!1),a&&this.instance){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:i,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!o)return;const i=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!El(this.projectionDelta),l=this.getTransformTemplate(),d=l?l(this.latestValues,""):void 0,u=d!==this.prevTransformTemplateValue;i&&this.instance&&(a||ct(this.latestValues)||u)&&(o(this.instance,d),this.shouldResetTransform=!1,this.scheduleRender())}measure(i=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return i&&(l=this.removeTransform(l)),Cm(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:i}=this.options;if(!i)return te();const a=i.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Tm))){const{scroll:d}=this.root;d&&(It(a.x,d.offset.x),It(a.y,d.offset.y))}return a}removeElementScroll(i){const a=te();if(Ee(a,i),this.scroll?.wasRoot)return a;for(let l=0;l<this.path.length;l++){const d=this.path[l],{scroll:u,options:c}=d;d!==this.root&&u&&c.layoutScroll&&(u.wasRoot&&Ee(a,i),It(a.x,u.offset.x),It(a.y,u.offset.y))}return a}applyTransform(i,a=!1){const l=te();Ee(l,i);for(let d=0;d<this.path.length;d++){const u=this.path[d];!a&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Lt(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),ct(u.latestValues)&&Lt(l,u.latestValues)}return ct(this.latestValues)&&Lt(l,this.latestValues),l}removeTransform(i){const a=te();Ee(a,i);for(let l=0;l<this.path.length;l++){const d=this.path[l];if(!d.instance||!ct(d.latestValues))continue;So(d.latestValues)&&d.updateSnapshot();const u=te(),c=d.measurePageBox();Ee(u,c),Tl(a,d.latestValues,d.snapshot?d.snapshot.layoutBox:void 0,u)}return ct(this.latestValues)&&Tl(a,this.latestValues),a}setTargetDelta(i){this.targetDelta=i,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(i){this.options={...this.options,...i,crossfade:i.crossfade!==void 0?i.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==ce.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(i=!1){const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(i||l&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:c}=this.options;if(!(!this.layout||!(u||c))){if(this.resolvedRelativeTargetAt=ce.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=te(),this.relativeTargetOrigin=te(),rn(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),Ee(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=te(),this.targetWithTransforms=te()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),$p(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ee(this.target,this.layout.layoutBox),La(this.target,this.targetDelta)):Ee(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=te(),this.relativeTargetOrigin=te(),rn(this.relativeTargetOrigin,this.target,h.target),Ee(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||So(this.parent.latestValues)||Ma(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const i=this.getLead(),a=!!this.resumingFrom||this!==i;let l=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===ce.timestamp&&(l=!1),l)return;const{layout:d,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(d||u))return;Ee(this.layoutCorrected,this.layout.layoutBox);const c=this.treeScale.x,h=this.treeScale.y;_f(this.layoutCorrected,this.treeScale,this.path,a),i.layout&&!i.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(i.target=i.layout.layoutBox,i.targetWithTransforms=te());const{target:m}=i;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(xl(this.prevProjectionDelta.x,this.projectionDelta.x),xl(this.prevProjectionDelta.y,this.projectionDelta.y)),nn(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==c||this.treeScale.y!==h||!Ml(this.projectionDelta.x,this.prevProjectionDelta.x)||!Ml(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(i=!0){if(this.options.visualElement?.scheduleRender(),i){const a=this.getStack();a&&a.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Nt(),this.projectionDelta=Nt(),this.projectionDeltaWithTransform=Nt()}setAnimationOrigin(i,a=!1){const l=this.snapshot,d=l?l.latestValues:{},u={...this.latestValues},c=Nt();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const h=te(),m=l?l.source:void 0,g=this.layout?this.layout.source:void 0,v=m!==g,w=this.getStack(),y=!w||w.members.length<=1,S=!!(v&&!y&&this.options.crossfade===!0&&!this.path.some(xm));this.animationProgress=0;let x;this.mixTargetDelta=A=>{const P=A/1e3;Ol(c.x,i.x,P),Ol(c.y,i.y,P),this.setTargetDelta(c),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(rn(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),wm(this.relativeTarget,this.relativeTargetOrigin,h,P),x&&im(this.relativeTarget,x)&&(this.isProjectionDirty=!1),x||(x=te()),Ee(x,this.relativeTarget)),v&&(this.animationValues=u,Qp(u,d,this.latestValues,P,S,y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(i){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Ke(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=J.update(()=>{Wn.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=$t(0)),this.currentAnimation=Gp(this.motionValue,[0,1e3],{...i,velocity:0,isSync:!0,onUpdate:a=>{this.mixTargetDelta(a),i.onUpdate&&i.onUpdate(a)},onStop:()=>{},onComplete:()=>{i.onComplete&&i.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const i=this.getStack();i&&i.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(lm),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const i=this.getLead();let{targetWithTransforms:a,target:l,layout:d,latestValues:u}=i;if(!(!a||!l||!d)){if(this!==i&&this.layout&&d&&_l(this.options.animationType,this.layout.layoutBox,d.layoutBox)){l=this.target||te();const c=pe(this.layout.layoutBox.x);l.x.min=i.target.x.min,l.x.max=l.x.min+c;const h=pe(this.layout.layoutBox.y);l.y.min=i.target.y.min,l.y.max=l.y.min+h}Ee(a,l),Lt(a,u),nn(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(i,a){this.sharedNodes.has(i)||this.sharedNodes.set(i,new sm),this.sharedNodes.get(i).add(a);const d=a.options.initialPromotionConfig;a.promote({transition:d?d.transition:void 0,preserveFollowOpacity:d&&d.shouldPreserveFollowOpacity?d.shouldPreserveFollowOpacity(a):void 0})}isLead(){const i=this.getStack();return i?i.lead===this:!0}getLead(){const{layoutId:i}=this.options;return i?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:i}=this.options;return i?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:i}=this.options;if(i)return this.root.sharedNodes.get(i)}promote({needsReset:i,transition:a,preserveFollowOpacity:l}={}){const d=this.getStack();d&&d.promote(this,l),i&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const i=this.getStack();return i?i.relegate(this):!1}resetSkewAndRotation(){const{visualElement:i}=this.options;if(!i)return;let a=!1;const{latestValues:l}=i;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const d={};l.z&&Lo("z",i,d,this.animationValues);for(let u=0;u<Io.length;u++)Lo(`rotate${Io[u]}`,i,d,this.animationValues),Lo(`skew${Io[u]}`,i,d,this.animationValues);i.render();for(const u in d)i.setStaticValue(u,d[u]),this.animationValues&&(this.animationValues[u]=d[u]);i.scheduleRender()}applyProjectionStyles(i,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){i.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,i.visibility="",i.opacity="",i.pointerEvents=_n(a?.pointerEvents)||"",i.transform=l?l(this.latestValues,""):"none";return}const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){this.options.layoutId&&(i.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,i.pointerEvents=_n(a?.pointerEvents)||""),this.hasProjected&&!ct(this.latestValues)&&(i.transform=l?l({},""):"none",this.hasProjected=!1);return}i.visibility="";const u=d.animationValues||d.latestValues;this.applyTransformsToTarget();let c=am(this.projectionDeltaWithTransform,this.treeScale,u);l&&(c=l(u,c)),i.transform=c;const{x:h,y:m}=this.projectionDelta;i.transformOrigin=`${h.origin*100}% ${m.origin*100}% 0`,d.animationValues?i.opacity=d===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:i.opacity=d===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const g in Jt){if(u[g]===void 0)continue;const{correct:v,applyTo:w,isCSSVariable:y}=Jt[g],S=c==="none"?u[g]:v(u[g],d);if(w){const x=w.length;for(let A=0;A<x;A++)i[w[A]]=S}else y?this.options.visualElement.renderState.vars[g]=S:i[g]=S}this.options.layoutId&&(i.pointerEvents=d===this?_n(a?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(i=>i.currentAnimation?.stop()),this.root.nodes.forEach(Ll),this.root.sharedNodes.clear()}}}function dm(e){e.updateLayout()}function um(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:r}=e.layout,{animationType:o}=e.options,s=t.source!==e.layout.source;o==="size"?ke(u=>{const c=s?t.measuredBox[u]:t.layoutBox[u],h=pe(c);c.min=n[u].min,c.max=c.min+h}):_l(o,t.layoutBox,n)&&ke(u=>{const c=s?t.measuredBox[u]:t.layoutBox[u],h=pe(n[u]);c.max=c.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[u].max=e.relativeTarget[u].min+h)});const i=Nt();nn(i,n,t.layoutBox);const a=Nt();s?nn(a,e.applyTransform(r,!0),t.measuredBox):nn(a,n,t.layoutBox);const l=!El(i);let d=!1;if(!e.resumeFrom){const u=e.getClosestProjectingParent();if(u&&!u.resumeFrom){const{snapshot:c,layout:h}=u;if(c&&h){const m=te();rn(m,t.layoutBox,c.layoutBox);const g=te();rn(g,n,h.layoutBox),Dl(m,g)||(d=!0),u.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=m,e.relativeParent=u)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:a,layoutDelta:i,hasLayoutChanged:l,hasRelativeLayoutChanged:d})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function hm(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function fm(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function pm(e){e.clearSnapshot()}function Ll(e){e.clearMeasurements()}function Nl(e){e.isLayoutDirty=!1}function mm(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Bl(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function gm(e){e.resolveTargetDelta()}function ym(e){e.calcProjection()}function vm(e){e.resetSkewAndRotation()}function bm(e){e.removeLeadSnapshot()}function Ol(e,t,n){e.translate=Q(t.translate,0,n),e.scale=Q(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Fl(e,t,n,r){e.min=Q(t.min,n.min,r),e.max=Q(t.max,n.max,r)}function wm(e,t,n,r){Fl(e.x,t.x,n.x,r),Fl(e.y,t.y,n.y,r)}function xm(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Sm={duration:.45,ease:[.4,0,.1,1]},jl=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),zl=jl("applewebkit/")&&!jl("chrome/")?Math.round:Ce;function Rl(e){e.min=zl(e.min),e.max=zl(e.max)}function Cm(e){Rl(e.x),Rl(e.y)}function _l(e,t,n){return e==="position"||e==="preserve-aspect"&&!Dp($l(t),$l(n),.2)}function Tm(e){return e!==e.root&&e.scroll?.wasRoot}const km=Il({attachResizeListener:(e,t)=>Qt(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),No={current:void 0},Hl=Il({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!No.current){const e=new km({});e.mount(window),e.setOptions({layoutScroll:!0}),No.current=e}return No.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Em={pan:{Feature:Up},drag:{Feature:Hp,ProjectionNode:Hl,MeasureLayout:pl}};function Ul(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const o="onHover"+n,s=r[o];s&&J.postRender(()=>s(t,en(t)))}class Pm extends Xe{mount(){const{current:t}=this.node;t&&(this.unmount=Gh(t,(n,r)=>(Ul(this.node,r,"Start"),o=>Ul(this.node,o,"End"))))}unmount(){}}class Am extends Xe{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=_t(Qt(this.node.current,"focus",()=>this.onFocus()),Qt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Wl(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const o="onTap"+(n==="End"?"":n),s=r[o];s&&J.postRender(()=>s(t,en(t)))}class Dm extends Xe{mount(){const{current:t}=this.node;t&&(this.unmount=Jh(t,(n,r)=>(Wl(this.node,r,"Start"),(o,{success:s})=>Wl(this.node,o,s?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Bo=new WeakMap,Oo=new WeakMap,$m=e=>{const t=Bo.get(e.target);t&&t(e)},Mm=e=>{e.forEach($m)};function Vm({root:e,...t}){const n=e||document;Oo.has(n)||Oo.set(n,{});const r=Oo.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(Mm,{root:e,...t})),r[o]}function Im(e,t,n){const r=Vm(t);return Bo.set(e,n),r.observe(e),()=>{Bo.delete(e),r.unobserve(e)}}const Lm={some:0,all:1};class Nm extends Xe{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:s}=t,i={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:Lm[o]},a=l=>{const{isIntersecting:d}=l;if(this.isInView===d||(this.isInView=d,s&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:u,onViewportLeave:c}=this.node.getProps(),h=d?u:c;h&&h(l)};return Im(this.node.current,i,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(Bm(t,n))&&this.startObserver()}unmount(){}}function Bm({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Om={...Cp,...{inView:{Feature:Nm},tap:{Feature:Dm},focus:{Feature:Am},hover:{Feature:Pm}},...Em,...{layout:{ProjectionNode:Hl,MeasureLayout:pl}}},_e=jf(Om,Jf),Fm={sm:b`
235
235
  width: 1.25rem;
236
236
  height: 1.25rem;
237
- `,md:v`
237
+ `,md:b`
238
238
  width: 1.75rem;
239
239
  height: 1.75rem;
240
- `,lg:v`
240
+ `,lg:b`
241
241
  width: 3rem;
242
242
  height: 3rem;
243
- `,xl:v`
243
+ `,xl:b`
244
244
  width: 4rem;
245
245
  height: 4rem;
246
- `},Kl={primary:v`
246
+ `},Kl={primary:b`
247
247
  color: var(--color-main-blue-primary);
248
- `,orange:v`
248
+ `,orange:b`
249
249
  color: var(--color-main-orange-primary);
250
- `,white:v`
250
+ `,white:b`
251
251
  color: var(--color-main-white);
252
- `,gray:v`
252
+ `,gray:b`
253
253
  color: var(--color-main-grey);
254
- `},Fm=S.div`
254
+ `},jm=C.div`
255
255
  position: relative;
256
256
  display: block;
257
- ${({$size:e="md"})=>Om[e]}
257
+ ${({$size:e="md"})=>Fm[e]}
258
258
  ${({$color:e="primary"})=>Kl[e]}
259
259
  user-select: none;
260
- `,jm=S.div`
260
+ `,zm=C.div`
261
261
  display: flex;
262
262
  flex-direction: column;
263
263
  align-items: center;
264
264
  gap: 0.5rem;
265
265
  padding: 2.5px 2.5px 2.5px 0px;
266
- `,zm=S.div`
266
+ `,Rm=C.div`
267
267
  display: flex;
268
268
  align-items: center;
269
269
  justify-content: center;
270
270
  min-height: 12.5rem;
271
271
  width: 100%;
272
- `,Rm=S(Re.p)`
273
- ${M[16]}
272
+ `,_m=C(_e.p)`
273
+ ${I[16]}
274
274
  ${({$color:e="primary"})=>Kl[e]}
275
275
  margin: 0;
276
- `,Kn=({size:e="md",color:t="primary",centered:n=!0,message:r,title:o,variant:s="rotate"})=>{const i=p.jsxs(jm,{children:[p.jsxs(Fm,{$size:e,$color:t,$variant:s,children:[p.jsx(Re.svg,{width:"100%",height:"100%",viewBox:"0 0 50 50",style:{position:"absolute",top:0,left:0,zIndex:1,padding:"2.1px 2.5px 2.5px 0px"},animate:s==="rotate"?{rotate:[0,360]}:{scale:[1,.7,1]},transition:s==="rotate"?{repeat:1/0,duration:2,ease:"linear"}:{repeat:1/0,duration:2,ease:"easeInOut"},children:p.jsx("g",{transform:"scale(0.15) translate(-10, -1)",children:p.jsx("path",{fill:"currentColor",d:`M67.251411,286.749390
276
+ `,Kn=({size:e="md",color:t="primary",centered:n=!0,message:r,title:o,variant:s="rotate"})=>{const i=p.jsxs(zm,{children:[p.jsxs(jm,{$size:e,$color:t,$variant:s,children:[p.jsx(_e.svg,{width:"100%",height:"100%",viewBox:"0 0 50 50",style:{position:"absolute",top:0,left:0,zIndex:1,padding:"2.1px 2.5px 2.5px 0px"},animate:s==="rotate"?{rotate:[0,360]}:{scale:[1,.7,1]},transition:s==="rotate"?{repeat:1/0,duration:2,ease:"linear"}:{repeat:1/0,duration:2,ease:"easeInOut"},children:p.jsx("g",{transform:"scale(0.15) translate(-10, -1)",children:p.jsx("path",{fill:"currentColor",d:`M67.251411,286.749390
277
277
  C42.999393,262.534088 27.711603,233.886490 21.140957,200.638245
278
278
  C20.527918,197.536194 19.462318,196.344513 16.327942,196.535400
279
279
  C12.711285,196.755646 9.070918,196.586609 4.251685,196.586609
@@ -290,7 +290,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
290
290
  C231.681030,-17.750278 329.482361,42.974667 346.823608,138.519577
291
291
  C363.551025,230.682480 301.903687,318.479523 209.509521,332.564972
292
292
  C155.049683,340.867371 107.495514,325.072021 67.251411,286.749390
293
- z`})})}),o&&p.jsx("title",{children:o})]}),r&&p.jsx(Rm,{$color:t,animate:{opacity:[1,.5,1]},transition:{repeat:1/0,duration:2,ease:"easeInOut"},children:r})]});return n?p.jsx(zm,{children:i}):i},_m=S.div`
293
+ z`})})}),o&&p.jsx("title",{children:o})]}),r&&p.jsx(_m,{$color:t,animate:{opacity:[1,.5,1]},transition:{repeat:1/0,duration:2,ease:"easeInOut"},children:r})]});return n?p.jsx(Rm,{children:i}):i},Hm=C.div`
294
294
  position: fixed;
295
295
  inset: 0;
296
296
  background-color: rgba(255, 255, 255, 0.8);
@@ -299,7 +299,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
299
299
  align-items: center;
300
300
  justify-content: center;
301
301
  z-index: 50;
302
- `,Hm=S.div`
302
+ `,Um=C.div`
303
303
  background-color: var(--color-main-white);
304
304
  border-radius: var(--border-radius-card);
305
305
  box-shadow: var(--shadow-black-card);
@@ -310,18 +310,18 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
310
310
  gap: 1rem;
311
311
  width: 90%;
312
312
  max-width: 24rem;
313
- `,Um=S.h2`
313
+ `,Wm=C.h2`
314
314
  ${br[30]}
315
315
  color: var(--color-main-blue-primary);
316
316
  margin: 0 auto;
317
317
  text-align: center;
318
- `,Wm=({message:e="Loading...",color:t="primary",variant:n="rotate"})=>p.jsx(_m,{role:"status","aria-live":"polite",children:p.jsxs(Hm,{children:[p.jsx(Kn,{size:"xl",color:t,centered:!1,title:e,variant:n}),p.jsx(Um,{children:e})]})}),Km=S.div`
318
+ `,Km=({message:e="Loading...",color:t="primary",variant:n="rotate"})=>p.jsx(Hm,{role:"status","aria-live":"polite",children:p.jsxs(Um,{children:[p.jsx(Kn,{size:"xl",color:t,centered:!1,title:e,variant:n}),p.jsx(Wm,{children:e})]})}),Ym=C.div`
319
319
  display: flex;
320
320
  flex-direction: column;
321
321
  align-items: center;
322
322
  justify-content: center;
323
323
  padding: 3rem 1rem;
324
- `,Ym=({message:e,color:t="primary",variant:n="rotate"})=>p.jsx(Km,{role:"status","aria-live":"polite",children:p.jsx(Kn,{size:"lg",color:t,centered:!1,message:e,title:e,variant:n})}),Yl=({color:e="white",variant:t="rotate"})=>p.jsx(Kn,{size:"sm",color:e,centered:!1,variant:t}),Gm={primary:v`
324
+ `,Gm=({message:e,color:t="primary",variant:n="rotate"})=>p.jsx(Ym,{role:"status","aria-live":"polite",children:p.jsx(Kn,{size:"lg",color:t,centered:!1,message:e,title:e,variant:n})}),Yl=({color:e="white",variant:t="rotate"})=>p.jsx(Kn,{size:"sm",color:e,centered:!1,variant:t}),Xm={primary:b`
325
325
  background-color: var(--color-main-blue-primary);
326
326
  color: var(--color-main-white);
327
327
 
@@ -336,7 +336,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
336
336
  &:focus-visible {
337
337
  outline-color: var(--color-main-blue-primary);
338
338
  }
339
- `,secondary:v`
339
+ `,secondary:b`
340
340
  background-color: var(--color-main-orange-primary);
341
341
  color: var(--color-main-white);
342
342
 
@@ -348,7 +348,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
348
348
  &:focus-visible {
349
349
  outline-color: var(--color-main-orange-primary);
350
350
  }
351
- `,cancel:v`
351
+ `,cancel:b`
352
352
  background-color: var(--color-main-warning-state);
353
353
  color: var(--color-main-white);
354
354
 
@@ -360,7 +360,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
360
360
  &:focus-visible {
361
361
  outline-color: var(--color-main-warning-state);
362
362
  }
363
- `,outline:v`
363
+ `,outline:b`
364
364
  background-color: transparent;
365
365
  color: var(--color-main-blue-primary);
366
366
  border: 2px solid var(--color-main-blue-primary);
@@ -376,24 +376,24 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
376
376
  &:focus-visible {
377
377
  outline-color: var(--color-main-blue-primary);
378
378
  }
379
- `},Xm=v`
379
+ `},Zm=b`
380
380
  background-color: var(--color-main-grey);
381
381
  color: var(--color-dark-200);
382
382
  cursor: not-allowed;
383
383
  box-shadow: none;
384
- `,Zm={sm:v`
384
+ `,qm={sm:b`
385
385
  padding: 0.375rem 0.75rem;
386
386
  min-height: 2.75rem;
387
- ${M[12]}
388
- `,md:v`
387
+ ${I[12]}
388
+ `,md:b`
389
389
  padding: 0.625rem 1.25rem;
390
390
  min-height: 3.175rem;
391
- ${M[16]}
392
- `,lg:v`
391
+ ${I[16]}
392
+ `,lg:b`
393
393
  padding: 0.75rem 1.5rem;
394
394
  min-height: 3.5rem;
395
- ${M[20]}
396
- `},qm=S.button`
395
+ ${I[20]}
396
+ `},Jm=C.button`
397
397
  border: none;
398
398
  border-radius: var(--border-radius-button);
399
399
  transition:
@@ -408,43 +408,43 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
408
408
  outline: 2px solid transparent;
409
409
  outline-offset: 2px;
410
410
 
411
- ${({$variant:e})=>Gm[e]}
412
- ${({$size:e})=>Zm[e]}
411
+ ${({$variant:e})=>Xm[e]}
412
+ ${({$size:e})=>qm[e]}
413
413
 
414
414
  &:disabled {
415
- ${Xm}
415
+ ${Zm}
416
416
  }
417
- `,Fo=({children:e,variant:t="primary",size:n="md",isLoading:r,disabled:o,leftIcon:s,rightIcon:i,iconSize:a="md",iconColor:l="currentColor",...d})=>p.jsxs(qm,{$variant:t,$size:n,disabled:o||r,"aria-busy":r,...d,children:[s&&p.jsx(W,{color:l,size:a,component:s}),r?"Loading...":e,i&&p.jsx(W,{color:l,size:a,component:i})]}),Jm={sm:v`
417
+ `,Fo=({children:e,variant:t="primary",size:n="md",isLoading:r,disabled:o,leftIcon:s,rightIcon:i,iconSize:a="md",iconColor:l="currentColor",...d})=>p.jsxs(Jm,{$variant:t,$size:n,disabled:o||r,"aria-busy":r,...d,children:[s&&p.jsx(W,{color:l,size:a,component:s}),r?"Loading...":e,i&&p.jsx(W,{color:l,size:a,component:i})]}),Qm={sm:b`
418
418
  padding: 0.2rem 0.625rem;
419
419
  border-radius: var(--border-radius-button);
420
- ${M[12]}
421
- `,md:v`
420
+ ${I[12]}
421
+ `,md:b`
422
422
  padding: 0.375rem 0.75rem;
423
423
  border-radius: var(--border-radius-button);
424
- ${M[14]}
425
- `,lg:v`
424
+ ${I[14]}
425
+ `,lg:b`
426
426
  padding: 0.5rem 1rem;
427
427
  border-radius: var(--border-radius-button);
428
- ${M[16]}
429
- `},Qm={primary:v`
428
+ ${I[16]}
429
+ `},eg={primary:b`
430
430
  background-color: var(--color-main-blue-primary);
431
431
  color: var(--color-main-white);
432
- `,secondary:v`
432
+ `,secondary:b`
433
433
  background-color: var(--color-main-orange-primary);
434
434
  color: var(--color-main-white);
435
- `,success:v`
435
+ `,success:b`
436
436
  background-color: var(--color-main-positive-state);
437
437
  color: var(--color-main-white);
438
- `,warning:v`
438
+ `,warning:b`
439
439
  background-color: var(--color-main-yellow-primary);
440
440
  color: var(--color-main-black);
441
- `,danger:v`
441
+ `,danger:b`
442
442
  background-color: var(--color-main-warning-state);
443
443
  color: var(--color-main-white);
444
- `,neutral:v`
444
+ `,neutral:b`
445
445
  background-color: var(--color-light-200);
446
446
  color: var(--color-main-grey);
447
- `,outline:v``},eg=S.span`
447
+ `,outline:b``},tg=C.span`
448
448
  display: inline-flex;
449
449
  align-items: center;
450
450
  gap: 0.375rem;
@@ -452,15 +452,15 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
452
452
  white-space: nowrap;
453
453
  user-select: none;
454
454
 
455
- ${({$size:e})=>Jm[e]}
456
- ${({$variant:e})=>Qm[e]}
455
+ ${({$size:e})=>Qm[e]}
456
+ ${({$variant:e})=>eg[e]}
457
457
 
458
- ${({$variant:e,$outlineColor:t})=>e==="outline"?v`
458
+ ${({$variant:e,$outlineColor:t})=>e==="outline"?b`
459
459
  background-color: transparent;
460
460
  color: ${t||"var(--color-main-blue-primary)"};
461
461
  border: 1px solid ${t||"var(--color-main-blue-primary)"};
462
462
  `:""}
463
- `,tg=({children:e,variant:t="neutral",size:n="md",color:r,leftIcon:o,rightIcon:s,iconColor:i="currentColor",iconSize:a="sm",...l})=>p.jsxs(eg,{$variant:t,$size:n,$outlineColor:r,...l,children:[o&&p.jsx(W,{color:i,size:a,component:o}),e,s&&p.jsx(W,{color:i,size:a,component:s})]}),ng=S.div`
463
+ `,ng=({children:e,variant:t="neutral",size:n="md",color:r,leftIcon:o,rightIcon:s,iconColor:i="currentColor",iconSize:a="sm",...l})=>p.jsxs(tg,{$variant:t,$size:n,$outlineColor:r,...l,children:[o&&p.jsx(W,{color:i,size:a,component:o}),e,s&&p.jsx(W,{color:i,size:a,component:s})]}),rg=C.div`
464
464
  background-color: ${({$color:e})=>e};
465
465
  ${({$orientation:e,$length:t,$thickness:n})=>e==="horizontal"?`
466
466
  height: ${n||"1px"};
@@ -469,10 +469,10 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
469
469
  width: ${n||"1px"};
470
470
  height: ${t||"100%"};
471
471
  `}
472
- `,rg=({orientation:e="horizontal",color:t="var(--color-dark-300)",length:n,thickness:r,className:o=""})=>p.jsx(ng,{$orientation:e,$color:t,$length:n,$thickness:r,className:o,role:"separator","aria-orientation":e}),og=S.span`
473
- ${({$size:e})=>M[e]}
472
+ `,og=({orientation:e="horizontal",color:t="var(--color-dark-300)",length:n,thickness:r,className:o=""})=>p.jsx(rg,{$orientation:e,$color:t,$length:n,$thickness:r,className:o,role:"separator","aria-orientation":e}),ig=C.span`
473
+ ${({$size:e})=>I[e]}
474
474
  color: ${({$color:e})=>e||"var(--color-main-grey)"};
475
- `,ig=({children:e,size:t=16,color:n,className:r,style:o})=>p.jsx(og,{$size:t,$color:n,className:r,style:o,children:e});function sg(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}const ag=e=>{switch(e){case"success":return dg;case"info":return hg;case"warning":return ug;case"error":return fg;default:return null}},lg=Array(12).fill(0),cg=({visible:e,className:t})=>f.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},f.createElement("div",{className:"sonner-spinner"},lg.map((n,r)=>f.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),dg=f.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},f.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),ug=f.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},f.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),hg=f.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},f.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),fg=f.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},f.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),pg=f.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},f.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),f.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),mg=()=>{const[e,t]=f.useState(document.hidden);return f.useEffect(()=>{const n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e};let jo=1;class gg{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const n=this.subscribers.indexOf(t);this.subscribers.splice(n,1)}),this.publish=t=>{this.subscribers.forEach(n=>n(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var n;const{message:r,...o}=t,s=typeof t?.id=="number"||((n=t.id)==null?void 0:n.length)>0?t.id:jo++,i=this.toasts.find(l=>l.id===s),a=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),i?this.toasts=this.toasts.map(l=>l.id===s?(this.publish({...l,...t,id:s,title:r}),{...l,...t,id:s,dismissible:a,title:r}):l):this.addToast({title:r,...o,dismissible:a,id:s}),s},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(n=>n({id:t,dismiss:!0})))):this.toasts.forEach(n=>{this.subscribers.forEach(r=>r({id:n.id,dismiss:!0}))}),t),this.message=(t,n)=>this.create({...n,message:t}),this.error=(t,n)=>this.create({...n,message:t,type:"error"}),this.success=(t,n)=>this.create({...n,type:"success",message:t}),this.info=(t,n)=>this.create({...n,type:"info",message:t}),this.warning=(t,n)=>this.create({...n,type:"warning",message:t}),this.loading=(t,n)=>this.create({...n,type:"loading",message:t}),this.promise=(t,n)=>{if(!n)return;let r;n.loading!==void 0&&(r=this.create({...n,promise:t,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const o=Promise.resolve(t instanceof Function?t():t);let s=r!==void 0,i;const a=o.then(async d=>{if(i=["resolve",d],f.isValidElement(d))s=!1,this.create({id:r,type:"default",message:d});else if(vg(d)&&!d.ok){s=!1;const c=typeof n.error=="function"?await n.error(`HTTP error! status: ${d.status}`):n.error,h=typeof n.description=="function"?await n.description(`HTTP error! status: ${d.status}`):n.description,g=typeof c=="object"&&!f.isValidElement(c)?c:{message:c};this.create({id:r,type:"error",description:h,...g})}else if(d instanceof Error){s=!1;const c=typeof n.error=="function"?await n.error(d):n.error,h=typeof n.description=="function"?await n.description(d):n.description,g=typeof c=="object"&&!f.isValidElement(c)?c:{message:c};this.create({id:r,type:"error",description:h,...g})}else if(n.success!==void 0){s=!1;const c=typeof n.success=="function"?await n.success(d):n.success,h=typeof n.description=="function"?await n.description(d):n.description,g=typeof c=="object"&&!f.isValidElement(c)?c:{message:c};this.create({id:r,type:"success",description:h,...g})}}).catch(async d=>{if(i=["reject",d],n.error!==void 0){s=!1;const u=typeof n.error=="function"?await n.error(d):n.error,c=typeof n.description=="function"?await n.description(d):n.description,m=typeof u=="object"&&!f.isValidElement(u)?u:{message:u};this.create({id:r,type:"error",description:c,...m})}}).finally(()=>{s&&(this.dismiss(r),r=void 0),n.finally==null||n.finally.call(n)}),l=()=>new Promise((d,u)=>a.then(()=>i[0]==="reject"?u(i[1]):d(i[1])).catch(u));return typeof r!="string"&&typeof r!="number"?{unwrap:l}:Object.assign(r,{unwrap:l})},this.custom=(t,n)=>{const r=n?.id||jo++;return this.create({jsx:t(r),id:r,...n}),r},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const ve=new gg,yg=(e,t)=>{const n=t?.id||jo++;return ve.addToast({title:e,...t,id:n}),n},vg=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",bg=yg,wg=()=>ve.toasts,xg=()=>ve.getActiveToasts(),Sg=Object.assign(bg,{success:ve.success,info:ve.info,warning:ve.warning,error:ve.error,custom:ve.custom,message:ve.message,promise:ve.promise,dismiss:ve.dismiss,loading:ve.loading},{getHistory:wg,getToasts:xg});sg("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function Yn(e){return e.label!==void 0}const Cg=3,Tg="24px",kg="16px",Gl=4e3,Eg=356,Pg=14,Ag=45,Dg=200;function Be(...e){return e.filter(Boolean).join(" ")}function $g(e){const[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}const Mg=e=>{var t,n,r,o,s,i,a,l,d;const{invert:u,toast:c,unstyled:h,interacting:m,setHeights:g,visibleToasts:b,heights:x,index:y,toasts:C,expanded:w,removeToast:A,defaultRichColors:P,closeButton:k,style:E,cancelButtonStyle:D,actionButtonStyle:L,className:_="",descriptionClassName:$="",duration:U,position:I,gap:he,expandByDefault:G,classNames:B,icons:N,closeButtonAriaLabel:H="Close toast"}=e,[O,R]=f.useState(null),[oe,ie]=f.useState(null),[z,q]=f.useState(!1),[X,ae]=f.useState(!1),[Me,K]=f.useState(!1),[be,Je]=f.useState(!1),[_e,me]=f.useState(!1),[C1,ii]=f.useState(0),[T1,Rc]=f.useState(0),ln=f.useRef(c.duration||U||Gl),_c=f.useRef(null),He=f.useRef(null),k1=y===0,E1=y+1<=b,we=c.type,Ot=c.dismissible!==!1,P1=c.className||"",A1=c.descriptionClassName||"",Qn=f.useMemo(()=>x.findIndex(F=>F.toastId===c.id)||0,[x,c.id]),D1=f.useMemo(()=>{var F;return(F=c.closeButton)!=null?F:k},[c.closeButton,k]),Hc=f.useMemo(()=>c.duration||U||Gl,[c.duration,U]),si=f.useRef(0),Ft=f.useRef(0),Uc=f.useRef(0),jt=f.useRef(null),[$1,M1]=I.split("-"),Wc=f.useMemo(()=>x.reduce((F,le,fe)=>fe>=Qn?F:F+le.height,0),[x,Qn]),Kc=mg(),V1=c.invert||u,ai=we==="loading";Ft.current=f.useMemo(()=>Qn*he+Wc,[Qn,Wc]),f.useEffect(()=>{ln.current=Hc},[Hc]),f.useEffect(()=>{q(!0)},[]),f.useEffect(()=>{const F=He.current;if(F){const le=F.getBoundingClientRect().height;return Rc(le),g(fe=>[{toastId:c.id,height:le,position:c.position},...fe]),()=>g(fe=>fe.filter(xe=>xe.toastId!==c.id))}},[g,c.id]),f.useLayoutEffect(()=>{if(!z)return;const F=He.current,le=F.style.height;F.style.height="auto";const fe=F.getBoundingClientRect().height;F.style.height=le,Rc(fe),g(xe=>xe.find(de=>de.toastId===c.id)?xe.map(de=>de.toastId===c.id?{...de,height:fe}:de):[{toastId:c.id,height:fe,position:c.position},...xe])},[z,c.title,c.description,g,c.id,c.jsx,c.action,c.cancel]);const Qe=f.useCallback(()=>{ae(!0),ii(Ft.current),g(F=>F.filter(le=>le.toastId!==c.id)),setTimeout(()=>{A(c)},Dg)},[c,A,g,Ft]);f.useEffect(()=>{if(c.promise&&we==="loading"||c.duration===1/0||c.type==="loading")return;let F;return w||m||Kc?(()=>{if(Uc.current<si.current){const xe=new Date().getTime()-si.current;ln.current=ln.current-xe}Uc.current=new Date().getTime()})():(()=>{ln.current!==1/0&&(si.current=new Date().getTime(),F=setTimeout(()=>{c.onAutoClose==null||c.onAutoClose.call(c,c),Qe()},ln.current))})(),()=>clearTimeout(F)},[w,m,c,we,Kc,Qe]),f.useEffect(()=>{c.delete&&(Qe(),c.onDismiss==null||c.onDismiss.call(c,c))},[Qe,c.delete]);function I1(){var F;if(N?.loading){var le;return f.createElement("div",{className:Be(B?.loader,c==null||(le=c.classNames)==null?void 0:le.loader,"sonner-loader"),"data-visible":we==="loading"},N.loading)}return f.createElement(cg,{className:Be(B?.loader,c==null||(F=c.classNames)==null?void 0:F.loader),visible:we==="loading"})}const L1=c.icon||N?.[we]||ag(we);var Yc,Gc;return f.createElement("li",{tabIndex:0,ref:He,className:Be(_,P1,B?.toast,c==null||(t=c.classNames)==null?void 0:t.toast,B?.default,B?.[we],c==null||(n=c.classNames)==null?void 0:n[we]),"data-sonner-toast":"","data-rich-colors":(Yc=c.richColors)!=null?Yc:P,"data-styled":!(c.jsx||c.unstyled||h),"data-mounted":z,"data-promise":!!c.promise,"data-swiped":_e,"data-removed":X,"data-visible":E1,"data-y-position":$1,"data-x-position":M1,"data-index":y,"data-front":k1,"data-swiping":Me,"data-dismissible":Ot,"data-type":we,"data-invert":V1,"data-swipe-out":be,"data-swipe-direction":oe,"data-expanded":!!(w||G&&z),"data-testid":c.testId,style:{"--index":y,"--toasts-before":y,"--z-index":C.length-y,"--offset":`${X?C1:Ft.current}px`,"--initial-height":G?"auto":`${T1}px`,...E,...c.style},onDragEnd:()=>{K(!1),R(null),jt.current=null},onPointerDown:F=>{F.button!==2&&(ai||!Ot||(_c.current=new Date,ii(Ft.current),F.target.setPointerCapture(F.pointerId),F.target.tagName!=="BUTTON"&&(K(!0),jt.current={x:F.clientX,y:F.clientY})))},onPointerUp:()=>{var F,le,fe;if(be||!Ot)return;jt.current=null;const xe=Number(((F=He.current)==null?void 0:F.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),er=Number(((le=He.current)==null?void 0:le.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),de=new Date().getTime()-((fe=_c.current)==null?void 0:fe.getTime()),Pe=O==="x"?xe:er,tr=Math.abs(Pe)/de;if(Math.abs(Pe)>=Ag||tr>.11){ii(Ft.current),c.onDismiss==null||c.onDismiss.call(c,c),ie(O==="x"?xe>0?"right":"left":er>0?"down":"up"),Qe(),Je(!0);return}else{var Ve,Ie;(Ve=He.current)==null||Ve.style.setProperty("--swipe-amount-x","0px"),(Ie=He.current)==null||Ie.style.setProperty("--swipe-amount-y","0px")}me(!1),K(!1),R(null)},onPointerMove:F=>{var le,fe,xe;if(!jt.current||!Ot||((le=window.getSelection())==null?void 0:le.toString().length)>0)return;const de=F.clientY-jt.current.y,Pe=F.clientX-jt.current.x;var tr;const Ve=(tr=e.swipeDirections)!=null?tr:$g(I);!O&&(Math.abs(Pe)>1||Math.abs(de)>1)&&R(Math.abs(Pe)>Math.abs(de)?"x":"y");let Ie={x:0,y:0};const Xc=pt=>1/(1.5+Math.abs(pt)/20);if(O==="y"){if(Ve.includes("top")||Ve.includes("bottom"))if(Ve.includes("top")&&de<0||Ve.includes("bottom")&&de>0)Ie.y=de;else{const pt=de*Xc(de);Ie.y=Math.abs(pt)<Math.abs(de)?pt:de}}else if(O==="x"&&(Ve.includes("left")||Ve.includes("right")))if(Ve.includes("left")&&Pe<0||Ve.includes("right")&&Pe>0)Ie.x=Pe;else{const pt=Pe*Xc(Pe);Ie.x=Math.abs(pt)<Math.abs(Pe)?pt:Pe}(Math.abs(Ie.x)>0||Math.abs(Ie.y)>0)&&me(!0),(fe=He.current)==null||fe.style.setProperty("--swipe-amount-x",`${Ie.x}px`),(xe=He.current)==null||xe.style.setProperty("--swipe-amount-y",`${Ie.y}px`)}},D1&&!c.jsx&&we!=="loading"?f.createElement("button",{"aria-label":H,"data-disabled":ai,"data-close-button":!0,onClick:ai||!Ot?()=>{}:()=>{Qe(),c.onDismiss==null||c.onDismiss.call(c,c)},className:Be(B?.closeButton,c==null||(r=c.classNames)==null?void 0:r.closeButton)},(Gc=N?.close)!=null?Gc:pg):null,(we||c.icon||c.promise)&&c.icon!==null&&(N?.[we]!==null||c.icon)?f.createElement("div",{"data-icon":"",className:Be(B?.icon,c==null||(o=c.classNames)==null?void 0:o.icon)},c.promise||c.type==="loading"&&!c.icon?c.icon||I1():null,c.type!=="loading"?L1:null):null,f.createElement("div",{"data-content":"",className:Be(B?.content,c==null||(s=c.classNames)==null?void 0:s.content)},f.createElement("div",{"data-title":"",className:Be(B?.title,c==null||(i=c.classNames)==null?void 0:i.title)},c.jsx?c.jsx:typeof c.title=="function"?c.title():c.title),c.description?f.createElement("div",{"data-description":"",className:Be($,A1,B?.description,c==null||(a=c.classNames)==null?void 0:a.description)},typeof c.description=="function"?c.description():c.description):null),f.isValidElement(c.cancel)?c.cancel:c.cancel&&Yn(c.cancel)?f.createElement("button",{"data-button":!0,"data-cancel":!0,style:c.cancelButtonStyle||D,onClick:F=>{Yn(c.cancel)&&Ot&&(c.cancel.onClick==null||c.cancel.onClick.call(c.cancel,F),Qe())},className:Be(B?.cancelButton,c==null||(l=c.classNames)==null?void 0:l.cancelButton)},c.cancel.label):null,f.isValidElement(c.action)?c.action:c.action&&Yn(c.action)?f.createElement("button",{"data-button":!0,"data-action":!0,style:c.actionButtonStyle||L,onClick:F=>{Yn(c.action)&&(c.action.onClick==null||c.action.onClick.call(c.action,F),!F.defaultPrevented&&Qe())},className:Be(B?.actionButton,c==null||(d=c.classNames)==null?void 0:d.actionButton)},c.action.label):null)};function Xl(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function Vg(e,t){const n={};return[e,t].forEach((r,o)=>{const s=o===1,i=s?"--mobile-offset":"--offset",a=s?kg:Tg;function l(d){["top","right","bottom","left"].forEach(u=>{n[`${i}-${u}`]=typeof d=="number"?`${d}px`:d})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(d=>{r[d]===void 0?n[`${i}-${d}`]=a:n[`${i}-${d}`]=typeof r[d]=="number"?`${r[d]}px`:r[d]}):l(a)}),n}const Ig=f.forwardRef(function(t,n){const{id:r,invert:o,position:s="bottom-right",hotkey:i=["altKey","KeyT"],expand:a,closeButton:l,className:d,offset:u,mobileOffset:c,theme:h="light",richColors:m,duration:g,style:b,visibleToasts:x=Cg,toastOptions:y,dir:C=Xl(),gap:w=Pg,icons:A,containerAriaLabel:P="Notifications"}=t,[k,E]=f.useState([]),D=f.useMemo(()=>r?k.filter(z=>z.toasterId===r):k.filter(z=>!z.toasterId),[k,r]),L=f.useMemo(()=>Array.from(new Set([s].concat(D.filter(z=>z.position).map(z=>z.position)))),[D,s]),[_,$]=f.useState([]),[U,I]=f.useState(!1),[he,G]=f.useState(!1),[B,N]=f.useState(h!=="system"?h:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),H=f.useRef(null),O=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),R=f.useRef(null),oe=f.useRef(!1),ie=f.useCallback(z=>{E(q=>{var X;return(X=q.find(ae=>ae.id===z.id))!=null&&X.delete||ve.dismiss(z.id),q.filter(({id:ae})=>ae!==z.id)})},[]);return f.useEffect(()=>ve.subscribe(z=>{if(z.dismiss){requestAnimationFrame(()=>{E(q=>q.map(X=>X.id===z.id?{...X,delete:!0}:X))});return}setTimeout(()=>{li.flushSync(()=>{E(q=>{const X=q.findIndex(ae=>ae.id===z.id);return X!==-1?[...q.slice(0,X),{...q[X],...z},...q.slice(X+1)]:[z,...q]})})})}),[k]),f.useEffect(()=>{if(h!=="system"){N(h);return}if(h==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?N("dark"):N("light")),typeof window>"u")return;const z=window.matchMedia("(prefers-color-scheme: dark)");try{z.addEventListener("change",({matches:q})=>{N(q?"dark":"light")})}catch{z.addListener(({matches:X})=>{try{N(X?"dark":"light")}catch(ae){console.error(ae)}})}},[h]),f.useEffect(()=>{k.length<=1&&I(!1)},[k]),f.useEffect(()=>{const z=q=>{var X;if(i.every(K=>q[K]||q.code===K)){var Me;I(!0),(Me=H.current)==null||Me.focus()}q.code==="Escape"&&(document.activeElement===H.current||(X=H.current)!=null&&X.contains(document.activeElement))&&I(!1)};return document.addEventListener("keydown",z),()=>document.removeEventListener("keydown",z)},[i]),f.useEffect(()=>{if(H.current)return()=>{R.current&&(R.current.focus({preventScroll:!0}),R.current=null,oe.current=!1)}},[H.current]),f.createElement("section",{ref:n,"aria-label":`${P} ${O}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},L.map((z,q)=>{var X;const[ae,Me]=z.split("-");return D.length?f.createElement("ol",{key:z,dir:C==="auto"?Xl():C,tabIndex:-1,ref:H,className:d,"data-sonner-toaster":!0,"data-sonner-theme":B,"data-y-position":ae,"data-x-position":Me,style:{"--front-toast-height":`${((X=_[0])==null?void 0:X.height)||0}px`,"--width":`${Eg}px`,"--gap":`${w}px`,...b,...Vg(u,c)},onBlur:K=>{oe.current&&!K.currentTarget.contains(K.relatedTarget)&&(oe.current=!1,R.current&&(R.current.focus({preventScroll:!0}),R.current=null))},onFocus:K=>{K.target instanceof HTMLElement&&K.target.dataset.dismissible==="false"||oe.current||(oe.current=!0,R.current=K.relatedTarget)},onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>{he||I(!1)},onDragEnd:()=>I(!1),onPointerDown:K=>{K.target instanceof HTMLElement&&K.target.dataset.dismissible==="false"||G(!0)},onPointerUp:()=>G(!1)},D.filter(K=>!K.position&&q===0||K.position===z).map((K,be)=>{var Je,_e;return f.createElement(Mg,{key:K.id,icons:A,index:be,toast:K,defaultRichColors:m,duration:(Je=y?.duration)!=null?Je:g,className:y?.className,descriptionClassName:y?.descriptionClassName,invert:o,visibleToasts:x,closeButton:(_e=y?.closeButton)!=null?_e:l,interacting:he,position:z,style:y?.style,unstyled:y?.unstyled,classNames:y?.classNames,cancelButtonStyle:y?.cancelButtonStyle,actionButtonStyle:y?.actionButtonStyle,closeButtonAriaLabel:y?.closeButtonAriaLabel,removeToast:ie,toasts:D.filter(me=>me.position==K.position),heights:_.filter(me=>me.position==K.position),setHeights:$,expandByDefault:a,gap:w,expanded:U,swipeDirections:t.swipeDirections})})):null}))}),Lg=({spinnerColor:e="orange",...t})=>p.jsx(Ig,{position:"bottom-center",theme:"light",richColors:!0,visibleToasts:3,closeButton:!0,duration:3e3,mobileOffset:{bottom:"16px"},toastOptions:{className:"my-toast"},icons:{loading:p.jsx(Yl,{color:e})},...t}),Ng={elevated:v`
475
+ `,Gl=({children:e,size:t=16,color:n,className:r,style:o})=>p.jsx(ig,{$size:t,$color:n,className:r,style:o,children:e});function sg(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}const ag=e=>{switch(e){case"success":return dg;case"info":return hg;case"warning":return ug;case"error":return fg;default:return null}},lg=Array(12).fill(0),cg=({visible:e,className:t})=>f.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},f.createElement("div",{className:"sonner-spinner"},lg.map((n,r)=>f.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),dg=f.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},f.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),ug=f.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},f.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),hg=f.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},f.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),fg=f.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},f.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),pg=f.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},f.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),f.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),mg=()=>{const[e,t]=f.useState(document.hidden);return f.useEffect(()=>{const n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e};let jo=1;class gg{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const n=this.subscribers.indexOf(t);this.subscribers.splice(n,1)}),this.publish=t=>{this.subscribers.forEach(n=>n(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var n;const{message:r,...o}=t,s=typeof t?.id=="number"||((n=t.id)==null?void 0:n.length)>0?t.id:jo++,i=this.toasts.find(l=>l.id===s),a=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),i?this.toasts=this.toasts.map(l=>l.id===s?(this.publish({...l,...t,id:s,title:r}),{...l,...t,id:s,dismissible:a,title:r}):l):this.addToast({title:r,...o,dismissible:a,id:s}),s},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(n=>n({id:t,dismiss:!0})))):this.toasts.forEach(n=>{this.subscribers.forEach(r=>r({id:n.id,dismiss:!0}))}),t),this.message=(t,n)=>this.create({...n,message:t}),this.error=(t,n)=>this.create({...n,message:t,type:"error"}),this.success=(t,n)=>this.create({...n,type:"success",message:t}),this.info=(t,n)=>this.create({...n,type:"info",message:t}),this.warning=(t,n)=>this.create({...n,type:"warning",message:t}),this.loading=(t,n)=>this.create({...n,type:"loading",message:t}),this.promise=(t,n)=>{if(!n)return;let r;n.loading!==void 0&&(r=this.create({...n,promise:t,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const o=Promise.resolve(t instanceof Function?t():t);let s=r!==void 0,i;const a=o.then(async d=>{if(i=["resolve",d],f.isValidElement(d))s=!1,this.create({id:r,type:"default",message:d});else if(vg(d)&&!d.ok){s=!1;const c=typeof n.error=="function"?await n.error(`HTTP error! status: ${d.status}`):n.error,h=typeof n.description=="function"?await n.description(`HTTP error! status: ${d.status}`):n.description,g=typeof c=="object"&&!f.isValidElement(c)?c:{message:c};this.create({id:r,type:"error",description:h,...g})}else if(d instanceof Error){s=!1;const c=typeof n.error=="function"?await n.error(d):n.error,h=typeof n.description=="function"?await n.description(d):n.description,g=typeof c=="object"&&!f.isValidElement(c)?c:{message:c};this.create({id:r,type:"error",description:h,...g})}else if(n.success!==void 0){s=!1;const c=typeof n.success=="function"?await n.success(d):n.success,h=typeof n.description=="function"?await n.description(d):n.description,g=typeof c=="object"&&!f.isValidElement(c)?c:{message:c};this.create({id:r,type:"success",description:h,...g})}}).catch(async d=>{if(i=["reject",d],n.error!==void 0){s=!1;const u=typeof n.error=="function"?await n.error(d):n.error,c=typeof n.description=="function"?await n.description(d):n.description,m=typeof u=="object"&&!f.isValidElement(u)?u:{message:u};this.create({id:r,type:"error",description:c,...m})}}).finally(()=>{s&&(this.dismiss(r),r=void 0),n.finally==null||n.finally.call(n)}),l=()=>new Promise((d,u)=>a.then(()=>i[0]==="reject"?u(i[1]):d(i[1])).catch(u));return typeof r!="string"&&typeof r!="number"?{unwrap:l}:Object.assign(r,{unwrap:l})},this.custom=(t,n)=>{const r=n?.id||jo++;return this.create({jsx:t(r),id:r,...n}),r},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const ve=new gg,yg=(e,t)=>{const n=t?.id||jo++;return ve.addToast({title:e,...t,id:n}),n},vg=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",bg=yg,wg=()=>ve.toasts,xg=()=>ve.getActiveToasts(),Sg=Object.assign(bg,{success:ve.success,info:ve.info,warning:ve.warning,error:ve.error,custom:ve.custom,message:ve.message,promise:ve.promise,dismiss:ve.dismiss,loading:ve.loading},{getHistory:wg,getToasts:xg});sg("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function Yn(e){return e.label!==void 0}const Cg=3,Tg="24px",kg="16px",Xl=4e3,Eg=356,Pg=14,Ag=45,Dg=200;function Oe(...e){return e.filter(Boolean).join(" ")}function $g(e){const[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}const Mg=e=>{var t,n,r,o,s,i,a,l,d;const{invert:u,toast:c,unstyled:h,interacting:m,setHeights:g,visibleToasts:v,heights:w,index:y,toasts:S,expanded:x,removeToast:A,defaultRichColors:P,closeButton:k,style:E,cancelButtonStyle:D,actionButtonStyle:L,className:_="",descriptionClassName:$="",duration:U,position:V,gap:he,expandByDefault:G,classNames:O,icons:N,closeButtonAriaLabel:H="Close toast"}=e,[B,R]=f.useState(null),[oe,ie]=f.useState(null),[z,q]=f.useState(!1),[X,ae]=f.useState(!1),[Me,K]=f.useState(!1),[be,Je]=f.useState(!1),[He,me]=f.useState(!1),[w1,ii]=f.useState(0),[x1,_c]=f.useState(0),ln=f.useRef(c.duration||U||Xl),Hc=f.useRef(null),Ue=f.useRef(null),S1=y===0,C1=y+1<=v,we=c.type,Ot=c.dismissible!==!1,T1=c.className||"",k1=c.descriptionClassName||"",Qn=f.useMemo(()=>w.findIndex(F=>F.toastId===c.id)||0,[w,c.id]),E1=f.useMemo(()=>{var F;return(F=c.closeButton)!=null?F:k},[c.closeButton,k]),Uc=f.useMemo(()=>c.duration||U||Xl,[c.duration,U]),si=f.useRef(0),Ft=f.useRef(0),Wc=f.useRef(0),jt=f.useRef(null),[P1,A1]=V.split("-"),Kc=f.useMemo(()=>w.reduce((F,le,fe)=>fe>=Qn?F:F+le.height,0),[w,Qn]),Yc=mg(),D1=c.invert||u,ai=we==="loading";Ft.current=f.useMemo(()=>Qn*he+Kc,[Qn,Kc]),f.useEffect(()=>{ln.current=Uc},[Uc]),f.useEffect(()=>{q(!0)},[]),f.useEffect(()=>{const F=Ue.current;if(F){const le=F.getBoundingClientRect().height;return _c(le),g(fe=>[{toastId:c.id,height:le,position:c.position},...fe]),()=>g(fe=>fe.filter(xe=>xe.toastId!==c.id))}},[g,c.id]),f.useLayoutEffect(()=>{if(!z)return;const F=Ue.current,le=F.style.height;F.style.height="auto";const fe=F.getBoundingClientRect().height;F.style.height=le,_c(fe),g(xe=>xe.find(de=>de.toastId===c.id)?xe.map(de=>de.toastId===c.id?{...de,height:fe}:de):[{toastId:c.id,height:fe,position:c.position},...xe])},[z,c.title,c.description,g,c.id,c.jsx,c.action,c.cancel]);const Qe=f.useCallback(()=>{ae(!0),ii(Ft.current),g(F=>F.filter(le=>le.toastId!==c.id)),setTimeout(()=>{A(c)},Dg)},[c,A,g,Ft]);f.useEffect(()=>{if(c.promise&&we==="loading"||c.duration===1/0||c.type==="loading")return;let F;return x||m||Yc?(()=>{if(Wc.current<si.current){const xe=new Date().getTime()-si.current;ln.current=ln.current-xe}Wc.current=new Date().getTime()})():(()=>{ln.current!==1/0&&(si.current=new Date().getTime(),F=setTimeout(()=>{c.onAutoClose==null||c.onAutoClose.call(c,c),Qe()},ln.current))})(),()=>clearTimeout(F)},[x,m,c,we,Yc,Qe]),f.useEffect(()=>{c.delete&&(Qe(),c.onDismiss==null||c.onDismiss.call(c,c))},[Qe,c.delete]);function $1(){var F;if(N?.loading){var le;return f.createElement("div",{className:Oe(O?.loader,c==null||(le=c.classNames)==null?void 0:le.loader,"sonner-loader"),"data-visible":we==="loading"},N.loading)}return f.createElement(cg,{className:Oe(O?.loader,c==null||(F=c.classNames)==null?void 0:F.loader),visible:we==="loading"})}const M1=c.icon||N?.[we]||ag(we);var Gc,Xc;return f.createElement("li",{tabIndex:0,ref:Ue,className:Oe(_,T1,O?.toast,c==null||(t=c.classNames)==null?void 0:t.toast,O?.default,O?.[we],c==null||(n=c.classNames)==null?void 0:n[we]),"data-sonner-toast":"","data-rich-colors":(Gc=c.richColors)!=null?Gc:P,"data-styled":!(c.jsx||c.unstyled||h),"data-mounted":z,"data-promise":!!c.promise,"data-swiped":He,"data-removed":X,"data-visible":C1,"data-y-position":P1,"data-x-position":A1,"data-index":y,"data-front":S1,"data-swiping":Me,"data-dismissible":Ot,"data-type":we,"data-invert":D1,"data-swipe-out":be,"data-swipe-direction":oe,"data-expanded":!!(x||G&&z),"data-testid":c.testId,style:{"--index":y,"--toasts-before":y,"--z-index":S.length-y,"--offset":`${X?w1:Ft.current}px`,"--initial-height":G?"auto":`${x1}px`,...E,...c.style},onDragEnd:()=>{K(!1),R(null),jt.current=null},onPointerDown:F=>{F.button!==2&&(ai||!Ot||(Hc.current=new Date,ii(Ft.current),F.target.setPointerCapture(F.pointerId),F.target.tagName!=="BUTTON"&&(K(!0),jt.current={x:F.clientX,y:F.clientY})))},onPointerUp:()=>{var F,le,fe;if(be||!Ot)return;jt.current=null;const xe=Number(((F=Ue.current)==null?void 0:F.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),er=Number(((le=Ue.current)==null?void 0:le.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),de=new Date().getTime()-((fe=Hc.current)==null?void 0:fe.getTime()),Pe=B==="x"?xe:er,tr=Math.abs(Pe)/de;if(Math.abs(Pe)>=Ag||tr>.11){ii(Ft.current),c.onDismiss==null||c.onDismiss.call(c,c),ie(B==="x"?xe>0?"right":"left":er>0?"down":"up"),Qe(),Je(!0);return}else{var Ve,Ie;(Ve=Ue.current)==null||Ve.style.setProperty("--swipe-amount-x","0px"),(Ie=Ue.current)==null||Ie.style.setProperty("--swipe-amount-y","0px")}me(!1),K(!1),R(null)},onPointerMove:F=>{var le,fe,xe;if(!jt.current||!Ot||((le=window.getSelection())==null?void 0:le.toString().length)>0)return;const de=F.clientY-jt.current.y,Pe=F.clientX-jt.current.x;var tr;const Ve=(tr=e.swipeDirections)!=null?tr:$g(V);!B&&(Math.abs(Pe)>1||Math.abs(de)>1)&&R(Math.abs(Pe)>Math.abs(de)?"x":"y");let Ie={x:0,y:0};const Zc=pt=>1/(1.5+Math.abs(pt)/20);if(B==="y"){if(Ve.includes("top")||Ve.includes("bottom"))if(Ve.includes("top")&&de<0||Ve.includes("bottom")&&de>0)Ie.y=de;else{const pt=de*Zc(de);Ie.y=Math.abs(pt)<Math.abs(de)?pt:de}}else if(B==="x"&&(Ve.includes("left")||Ve.includes("right")))if(Ve.includes("left")&&Pe<0||Ve.includes("right")&&Pe>0)Ie.x=Pe;else{const pt=Pe*Zc(Pe);Ie.x=Math.abs(pt)<Math.abs(Pe)?pt:Pe}(Math.abs(Ie.x)>0||Math.abs(Ie.y)>0)&&me(!0),(fe=Ue.current)==null||fe.style.setProperty("--swipe-amount-x",`${Ie.x}px`),(xe=Ue.current)==null||xe.style.setProperty("--swipe-amount-y",`${Ie.y}px`)}},E1&&!c.jsx&&we!=="loading"?f.createElement("button",{"aria-label":H,"data-disabled":ai,"data-close-button":!0,onClick:ai||!Ot?()=>{}:()=>{Qe(),c.onDismiss==null||c.onDismiss.call(c,c)},className:Oe(O?.closeButton,c==null||(r=c.classNames)==null?void 0:r.closeButton)},(Xc=N?.close)!=null?Xc:pg):null,(we||c.icon||c.promise)&&c.icon!==null&&(N?.[we]!==null||c.icon)?f.createElement("div",{"data-icon":"",className:Oe(O?.icon,c==null||(o=c.classNames)==null?void 0:o.icon)},c.promise||c.type==="loading"&&!c.icon?c.icon||$1():null,c.type!=="loading"?M1:null):null,f.createElement("div",{"data-content":"",className:Oe(O?.content,c==null||(s=c.classNames)==null?void 0:s.content)},f.createElement("div",{"data-title":"",className:Oe(O?.title,c==null||(i=c.classNames)==null?void 0:i.title)},c.jsx?c.jsx:typeof c.title=="function"?c.title():c.title),c.description?f.createElement("div",{"data-description":"",className:Oe($,k1,O?.description,c==null||(a=c.classNames)==null?void 0:a.description)},typeof c.description=="function"?c.description():c.description):null),f.isValidElement(c.cancel)?c.cancel:c.cancel&&Yn(c.cancel)?f.createElement("button",{"data-button":!0,"data-cancel":!0,style:c.cancelButtonStyle||D,onClick:F=>{Yn(c.cancel)&&Ot&&(c.cancel.onClick==null||c.cancel.onClick.call(c.cancel,F),Qe())},className:Oe(O?.cancelButton,c==null||(l=c.classNames)==null?void 0:l.cancelButton)},c.cancel.label):null,f.isValidElement(c.action)?c.action:c.action&&Yn(c.action)?f.createElement("button",{"data-button":!0,"data-action":!0,style:c.actionButtonStyle||L,onClick:F=>{Yn(c.action)&&(c.action.onClick==null||c.action.onClick.call(c.action,F),!F.defaultPrevented&&Qe())},className:Oe(O?.actionButton,c==null||(d=c.classNames)==null?void 0:d.actionButton)},c.action.label):null)};function Zl(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function Vg(e,t){const n={};return[e,t].forEach((r,o)=>{const s=o===1,i=s?"--mobile-offset":"--offset",a=s?kg:Tg;function l(d){["top","right","bottom","left"].forEach(u=>{n[`${i}-${u}`]=typeof d=="number"?`${d}px`:d})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(d=>{r[d]===void 0?n[`${i}-${d}`]=a:n[`${i}-${d}`]=typeof r[d]=="number"?`${r[d]}px`:r[d]}):l(a)}),n}const Ig=f.forwardRef(function(t,n){const{id:r,invert:o,position:s="bottom-right",hotkey:i=["altKey","KeyT"],expand:a,closeButton:l,className:d,offset:u,mobileOffset:c,theme:h="light",richColors:m,duration:g,style:v,visibleToasts:w=Cg,toastOptions:y,dir:S=Zl(),gap:x=Pg,icons:A,containerAriaLabel:P="Notifications"}=t,[k,E]=f.useState([]),D=f.useMemo(()=>r?k.filter(z=>z.toasterId===r):k.filter(z=>!z.toasterId),[k,r]),L=f.useMemo(()=>Array.from(new Set([s].concat(D.filter(z=>z.position).map(z=>z.position)))),[D,s]),[_,$]=f.useState([]),[U,V]=f.useState(!1),[he,G]=f.useState(!1),[O,N]=f.useState(h!=="system"?h:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),H=f.useRef(null),B=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),R=f.useRef(null),oe=f.useRef(!1),ie=f.useCallback(z=>{E(q=>{var X;return(X=q.find(ae=>ae.id===z.id))!=null&&X.delete||ve.dismiss(z.id),q.filter(({id:ae})=>ae!==z.id)})},[]);return f.useEffect(()=>ve.subscribe(z=>{if(z.dismiss){requestAnimationFrame(()=>{E(q=>q.map(X=>X.id===z.id?{...X,delete:!0}:X))});return}setTimeout(()=>{li.flushSync(()=>{E(q=>{const X=q.findIndex(ae=>ae.id===z.id);return X!==-1?[...q.slice(0,X),{...q[X],...z},...q.slice(X+1)]:[z,...q]})})})}),[k]),f.useEffect(()=>{if(h!=="system"){N(h);return}if(h==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?N("dark"):N("light")),typeof window>"u")return;const z=window.matchMedia("(prefers-color-scheme: dark)");try{z.addEventListener("change",({matches:q})=>{N(q?"dark":"light")})}catch{z.addListener(({matches:X})=>{try{N(X?"dark":"light")}catch(ae){console.error(ae)}})}},[h]),f.useEffect(()=>{k.length<=1&&V(!1)},[k]),f.useEffect(()=>{const z=q=>{var X;if(i.every(K=>q[K]||q.code===K)){var Me;V(!0),(Me=H.current)==null||Me.focus()}q.code==="Escape"&&(document.activeElement===H.current||(X=H.current)!=null&&X.contains(document.activeElement))&&V(!1)};return document.addEventListener("keydown",z),()=>document.removeEventListener("keydown",z)},[i]),f.useEffect(()=>{if(H.current)return()=>{R.current&&(R.current.focus({preventScroll:!0}),R.current=null,oe.current=!1)}},[H.current]),f.createElement("section",{ref:n,"aria-label":`${P} ${B}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},L.map((z,q)=>{var X;const[ae,Me]=z.split("-");return D.length?f.createElement("ol",{key:z,dir:S==="auto"?Zl():S,tabIndex:-1,ref:H,className:d,"data-sonner-toaster":!0,"data-sonner-theme":O,"data-y-position":ae,"data-x-position":Me,style:{"--front-toast-height":`${((X=_[0])==null?void 0:X.height)||0}px`,"--width":`${Eg}px`,"--gap":`${x}px`,...v,...Vg(u,c)},onBlur:K=>{oe.current&&!K.currentTarget.contains(K.relatedTarget)&&(oe.current=!1,R.current&&(R.current.focus({preventScroll:!0}),R.current=null))},onFocus:K=>{K.target instanceof HTMLElement&&K.target.dataset.dismissible==="false"||oe.current||(oe.current=!0,R.current=K.relatedTarget)},onMouseEnter:()=>V(!0),onMouseMove:()=>V(!0),onMouseLeave:()=>{he||V(!1)},onDragEnd:()=>V(!1),onPointerDown:K=>{K.target instanceof HTMLElement&&K.target.dataset.dismissible==="false"||G(!0)},onPointerUp:()=>G(!1)},D.filter(K=>!K.position&&q===0||K.position===z).map((K,be)=>{var Je,He;return f.createElement(Mg,{key:K.id,icons:A,index:be,toast:K,defaultRichColors:m,duration:(Je=y?.duration)!=null?Je:g,className:y?.className,descriptionClassName:y?.descriptionClassName,invert:o,visibleToasts:w,closeButton:(He=y?.closeButton)!=null?He:l,interacting:he,position:z,style:y?.style,unstyled:y?.unstyled,classNames:y?.classNames,cancelButtonStyle:y?.cancelButtonStyle,actionButtonStyle:y?.actionButtonStyle,closeButtonAriaLabel:y?.closeButtonAriaLabel,removeToast:ie,toasts:D.filter(me=>me.position==K.position),heights:_.filter(me=>me.position==K.position),setHeights:$,expandByDefault:a,gap:x,expanded:U,swipeDirections:t.swipeDirections})})):null}))}),Lg=({spinnerColor:e="orange",...t})=>p.jsx(Ig,{position:"bottom-center",theme:"light",richColors:!0,visibleToasts:3,closeButton:!0,duration:3e3,mobileOffset:{bottom:"16px"},toastOptions:{className:"my-toast"},icons:{loading:p.jsx(Yl,{color:e})},...t}),Ng={elevated:b`
476
476
  background-color: var(--color-main-white);
477
477
  box-shadow: var(--shadow-black-card);
478
478
  border: none;
@@ -480,7 +480,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
480
480
  &:hover {
481
481
  box-shadow: var(--shadow-hover-black-card);
482
482
  }
483
- `,flat:v`
483
+ `,flat:b`
484
484
  background-color: var(--color-main-white);
485
485
  box-shadow: none;
486
486
  border: none;
@@ -488,7 +488,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
488
488
  &:hover {
489
489
  background-color: var(--color-main-alternative-secondary);
490
490
  }
491
- `,info:v`
491
+ `,info:b`
492
492
  background-color: var(--color-main-white);
493
493
  box-shadow: none;
494
494
 
@@ -499,16 +499,16 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
499
499
  &:active {
500
500
  border: none;
501
501
  }
502
- `},Bg={sm:v`
502
+ `},Bg={sm:b`
503
503
  padding: 0.75rem;
504
504
  gap: 0.5rem;
505
- `,md:v`
505
+ `,md:b`
506
506
  padding: 1rem;
507
507
  gap: 0.5rem;
508
- `,lg:v`
508
+ `,lg:b`
509
509
  padding: 1.25rem;
510
510
  gap: 0.5rem;
511
- `},Og=v`
511
+ `},Og=b`
512
512
  transition:
513
513
  box-shadow 0.3s ease-out,
514
514
  background-color 0.3s ease-out,
@@ -528,7 +528,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
528
528
  &:focus-visible {
529
529
  outline-color: var(--color-main-blue-primary);
530
530
  }
531
- `,Fg=v`
531
+ `,Fg=b`
532
532
  opacity: 0.6;
533
533
  cursor: not-allowed;
534
534
  pointer-events: none;
@@ -537,7 +537,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
537
537
  transform: none;
538
538
  box-shadow: inherit;
539
539
  }
540
- `,jg=S.div`
540
+ `,jg=C.div`
541
541
  display: flex;
542
542
  flex-direction: column;
543
543
  border-radius: var(--border-radius-card);
@@ -549,27 +549,27 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
549
549
  ${({$clickable:e})=>e&&Og}
550
550
  ${({$disabled:e})=>e&&Fg}
551
551
  ${({$size:e})=>Bg[e]}
552
- `,zg=({variant:e="elevated",size:t="md",disabled:n=!1,onClick:r=void 0,children:o,...s})=>{const i=a=>{n||r&&r(a)};return p.jsx(jg,{$variant:e,$size:t,$disabled:n,$clickable:!!r,onClick:i,role:r?"button":void 0,tabIndex:r&&!n?0:void 0,onKeyDown:r&&!n?a=>{(a.key==="Enter"||a.key===" ")&&(a.preventDefault(),i(a))}:void 0,...s,children:o})},Rg=S.div`
552
+ `,zg=({variant:e="elevated",size:t="md",disabled:n=!1,onClick:r=void 0,children:o,...s})=>{const i=a=>{n||r&&r(a)};return p.jsx(jg,{$variant:e,$size:t,$disabled:n,$clickable:!!r,onClick:i,role:r?"button":void 0,tabIndex:r&&!n?0:void 0,onKeyDown:r&&!n?a=>{(a.key==="Enter"||a.key===" ")&&(a.preventDefault(),i(a))}:void 0,...s,children:o})},Rg=C.div`
553
553
  display: flex;
554
554
  align-items: center;
555
555
  align-self: stretch;
556
556
  gap: 0.5rem;
557
- `,_g=({children:e,...t})=>p.jsx(Rg,{...t,children:e}),Hg=S.div`
557
+ `,_g=({children:e,...t})=>p.jsx(Rg,{...t,children:e}),Hg=C.div`
558
558
  flex: 1;
559
559
  display: flex;
560
560
  flex-direction: column;
561
- `,Ug=({children:e,...t})=>p.jsx(Hg,{...t,children:e}),Wg=S.div`
561
+ `,Ug=({children:e,...t})=>p.jsx(Hg,{...t,children:e}),Wg=C.div`
562
562
  display: flex;
563
563
  align-items: center;
564
564
  align-self: stretch;
565
565
  gap: 0.5rem;
566
- `,Kg=({children:e,...t})=>p.jsx(Wg,{...t,children:e}),Yg={sm:v`
567
- ${M[12]}
568
- `,md:v`
569
- ${M[16]}
570
- `,lg:v`
571
- ${M[18]}
572
- `},Gg=S.div`
566
+ `,Kg=({children:e,...t})=>p.jsx(Wg,{...t,children:e}),Yg={sm:b`
567
+ ${I[12]}
568
+ `,md:b`
569
+ ${I[16]}
570
+ `,lg:b`
571
+ ${I[18]}
572
+ `},Gg=C.div`
573
573
  color: var(--color-main-warning-state);
574
574
  ${({$size:e})=>Yg[e]}
575
575
  font-weight: 400;
@@ -577,21 +577,21 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
577
577
  display: flex;
578
578
  align-items: flex-start;
579
579
  gap: 0.25rem;
580
- `,Gn=({children:e,className:t,size:n="md",...r})=>p.jsx(Gg,{className:t,$size:n,...r,children:e}),Xg={sm:v`
581
- ${M[16]}
582
- `,md:v`
583
- ${M[24]}
584
- `,lg:v`
585
- ${M[30]}
586
- `},Zg=S.label`
580
+ `,Gn=({children:e,className:t,size:n="md",...r})=>p.jsx(Gg,{className:t,$size:n,...r,children:e}),Xg={sm:b`
581
+ ${I[16]}
582
+ `,md:b`
583
+ ${I[24]}
584
+ `,lg:b`
585
+ ${I[30]}
586
+ `},Zg=C.label`
587
587
  color: var(--color-main-blue-primary);
588
588
  ${({$size:e})=>Xg[e]}
589
589
  ${({$disabled:e})=>e&&qg}
590
590
  cursor: ${({$disabled:e,$htmlFor:t})=>e||!t?"default":"pointer"};
591
- `,qg=v`
591
+ `,qg=b`
592
592
  cursor: not-allowed;
593
593
  opacity: 0.6;
594
- `,Xn=({children:e,htmlFor:t,className:n,required:r,disabled:o=!1,size:s="md",...i})=>p.jsxs(Zg,{className:n,htmlFor:t,$htmlFor:t,$size:s,$disabled:o,...i,children:[e,r&&p.jsx("span",{style:{color:"var(--color-main-warning-state)"},children:"*"})]}),Zl=["text","email","password","number","tel","url","date","datetime-local","time","search","textarea","select","checkbox","radio","pin"],ql=e=>Zl.includes(e),Ze=e=>e.map(t=>({name:t.name||"",label:t.label||"",type:t.type&&ql(t.type)?t.type:"text",placeholder:t.placeholder,required:t.required||!1,disabled:t.disabled||!1,options:t.options||[],validation:t.validation,checkboxLabel:t.checkboxLabel,radioName:t.radioName,pinLength:t.pinLength||6,pinType:t.pinType||"number",rows:t.rows||4,size:t.size||"md",inputClassName:t.inputClassName,labelClassName:t.labelClassName,messageErrorClassName:t.messageErrorClassName})),Jg=e=>e.map(t=>({value:t.value,label:t.label})),Qg={text:(e,t,n)=>Ze([{name:e,label:t,type:"text",...n}])[0],email:(e,t,n)=>Ze([{name:e,label:t,type:"email",required:!0,...n}])[0],password:(e,t,n)=>Ze([{name:e,label:t,type:"password",required:!0,validation:{pattern:"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)[a-zA-Z\\d@$!%*?&]{8,}$",custom:r=>{if(r&&r.length<8)return"Password must be at least 8 characters long"}},...n}])[0],select:(e,t,n,r)=>Ze([{name:e,label:t,type:"select",options:n,required:!0,...r}])[0],checkbox:(e,t,n)=>Ze([{name:e,label:t,type:"checkbox",checkboxLabel:t,...n}])[0],radio:(e,t,n,r)=>Ze([{name:e,label:t,type:"radio",options:n,radioName:e,required:!0,...r}])[0],pin:(e,t,n=6,r)=>Ze([{name:e,label:t,type:"pin",pinLength:n,pinType:"number",required:!0,validation:{custom:o=>{if(o&&o.length!==n)return`${t} must be ${n} digits long`}},...r}])[0]},e0=(e,t,n,r,o,s,i,a)=>{const{field:l,...d}=t,u={...l,...d,size:d.size,hasError:d.hasError,disabled:d.disabled,placeholder:d.placeholder,className:d.className};switch(e){case"textarea":return{component:"textarea",props:{...u,rows:i?.rows||4}};case"select":return{component:"select",props:{...u,options:n?.options||[],onOptionSelect:n?.onOptionSelect,placeholder:t.placeholder||"Selecciona una opción"}};case"checkbox":return{component:"checkbox",props:{...u,label:r?.checkboxLabel||r?.label,checked:t.field.value||r?.checked||!1}};case"radio":return{component:"radio",props:{...u,options:o?.options||[],radioName:o?.radioName||t.name,onRadioChange:o?.onRadioChange}};case"pin":return{component:"pin",props:{...u,length:s?.pinLength||6,type:s?.pinType||"number",onComplete:s?.onPinComplete}};case"password":return{component:"password",props:{...u,type:"password"}};case"search":return{component:"search",props:{...u,onSearch:a?.onSearch}};default:return{component:"base",props:{...u,type:t.type||e||"text"}}}},ut=v`
594
+ `,Xn=({children:e,htmlFor:t,className:n,required:r,disabled:o=!1,size:s="md",...i})=>p.jsxs(Zg,{className:n,htmlFor:t,$htmlFor:t,$size:s,$disabled:o,...i,children:[e,r&&p.jsx("span",{style:{color:"var(--color-main-warning-state)"},children:"*"})]}),ql=["text","email","password","number","tel","url","date","datetime-local","time","search","textarea","select","checkbox","radio","pin"],Jl=e=>ql.includes(e),Ze=e=>e.map(t=>({name:t.name||"",label:t.label||"",type:t.type&&Jl(t.type)?t.type:"text",placeholder:t.placeholder,required:t.required||!1,disabled:t.disabled||!1,options:t.options||[],validation:t.validation,checkboxLabel:t.checkboxLabel,radioName:t.radioName,pinLength:t.pinLength||6,pinType:t.pinType||"number",rows:t.rows||4,size:t.size||"md",inputClassName:t.inputClassName,labelClassName:t.labelClassName,messageErrorClassName:t.messageErrorClassName})),Jg=e=>e.map(t=>({value:t.value,label:t.label})),Qg={text:(e,t,n)=>Ze([{name:e,label:t,type:"text",...n}])[0],email:(e,t,n)=>Ze([{name:e,label:t,type:"email",required:!0,...n}])[0],password:(e,t,n)=>Ze([{name:e,label:t,type:"password",required:!0,validation:{pattern:"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)[a-zA-Z\\d@$!%*?&]{8,}$",custom:r=>{if(r&&r.length<8)return"Password must be at least 8 characters long"}},...n}])[0],select:(e,t,n,r)=>Ze([{name:e,label:t,type:"select",options:n,required:!0,...r}])[0],checkbox:(e,t,n)=>Ze([{name:e,label:t,type:"checkbox",checkboxLabel:t,...n}])[0],radio:(e,t,n,r)=>Ze([{name:e,label:t,type:"radio",options:n,radioName:e,required:!0,...r}])[0],pin:(e,t,n=6,r)=>Ze([{name:e,label:t,type:"pin",pinLength:n,pinType:"number",required:!0,validation:{custom:o=>{if(o&&o.length!==n)return`${t} must be ${n} digits long`}},...r}])[0]},e0=(e,t,n,r,o,s,i,a)=>{const{field:l,...d}=t,u={...l,...d,size:d.size,hasError:d.hasError,disabled:d.disabled,placeholder:d.placeholder,className:d.className};switch(e){case"textarea":return{component:"textarea",props:{...u,rows:i?.rows||4}};case"select":return{component:"select",props:{...u,options:n?.options||[],onOptionSelect:n?.onOptionSelect,placeholder:t.placeholder||"Selecciona una opción"}};case"checkbox":return{component:"checkbox",props:{...u,label:r?.checkboxLabel||r?.label,checked:t.field.value||r?.checked||!1}};case"radio":return{component:"radio",props:{...u,options:o?.options||[],radioName:o?.radioName||t.name,onRadioChange:o?.onRadioChange}};case"pin":return{component:"pin",props:{...u,length:s?.pinLength||6,type:s?.pinType||"number",onComplete:s?.onPinComplete}};case"password":return{component:"password",props:{...u,type:"password"}};case"search":return{component:"search",props:{...u,onSearch:a?.onSearch}};default:return{component:"base",props:{...u,type:t.type||e||"text"}}}},ut=b`
595
595
  display: flex;
596
596
  justify-content: space-between;
597
597
  align-items: center;
@@ -622,7 +622,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
622
622
  &:disabled {
623
623
  cursor: not-allowed;
624
624
  }
625
- `,Zn=v`
625
+ `,Zn=b`
626
626
  width: 100%;
627
627
  border: none;
628
628
  outline: none;
@@ -639,18 +639,18 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
639
639
  &::placeholder {
640
640
  color: var(--color-dark-200);
641
641
  }
642
- `,ht=v`
642
+ `,ht=b`
643
643
  border: var(--border-input-error) !important;
644
644
 
645
645
  &:focus-within {
646
646
  border: 1px solid var(--color-main-warning-state) !important;
647
647
  outline: none;
648
648
  }
649
- `,qe=v`
649
+ `,qe=b`
650
650
  border: var(--border-input-disabled) !important;
651
651
  cursor: not-allowed;
652
652
  opacity: 0.6;
653
- `,Jl=v`
653
+ `,Ql=b`
654
654
  border: none;
655
655
  border-top: 0;
656
656
  border-right: 0;
@@ -676,47 +676,47 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
676
676
  border-bottom: var(--border-input-focus);
677
677
  outline: none;
678
678
  }
679
- `,sn={sm:v`
679
+ `,sn={sm:b`
680
680
  padding: 0.5rem 1rem;
681
681
  height: 2.5rem;
682
- ${M[18]}
683
- `,md:v`
682
+ ${I[18]}
683
+ `,md:b`
684
684
  padding: 0.5rem 1rem;
685
685
  height: 2.75rem;
686
- ${M[20]}
687
- `,lg:v`
686
+ ${I[20]}
687
+ `,lg:b`
688
688
  padding: 0.5rem 1rem;
689
689
  height: 3rem;
690
- ${M[20]}
691
- `},qn=v`
690
+ ${I[20]}
691
+ `},qn=b`
692
692
  display: flex;
693
693
  align-items: center;
694
694
  justify-content: center;
695
695
  flex-shrink: 0;
696
696
  user-select: none;
697
- `,t0=S.div`
697
+ `,t0=C.div`
698
698
  ${ut}
699
699
  ${({$size:e})=>sn[e]}
700
700
  ${({$hasError:e})=>e&&ht}
701
701
  ${({$disabled:e})=>e&&qe}
702
- ${({$isFlushed:e})=>e&&Jl}
703
- `,n0=S.input`
702
+ ${({$isFlushed:e})=>e&&Ql}
703
+ `,n0=C.input`
704
704
  ${Zn}
705
- `,zo=f.forwardRef(({size:e="md",hasError:t=!1,disabled:n=!1,type:r="text",flushed:o=!1,leftIcon:s,rightIcon:i,iconSize:a="md",iconColor:l="currentColor",className:d,...u},c)=>p.jsxs(t0,{$size:e,$hasError:t,className:d,$isFlushed:o,children:[s&&p.jsx(W,{component:s,size:a,color:n?"var(--color-dark-200)":l}),p.jsx(n0,{ref:c,type:r,$hasError:t,disabled:n,...u}),i&&p.jsx(W,{component:i,size:a,color:n?"var(--color-dark-200)":l})]}));zo.displayName="BaseInput";const r0=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z"})),o0=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z"})),i0=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z"})),s0=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z"})),Ql=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z"})),a0=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z"})),l0=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z"})),c0=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M17.8827 19.2968C16.1814 20.3755 14.1638 21.0002 12.0003 21.0002C6.60812 21.0002 2.12215 17.1204 1.18164 12.0002C1.61832 9.62282 2.81932 7.5129 4.52047 5.93457L1.39366 2.80777L2.80788 1.39355L22.6069 21.1925L21.1927 22.6068L17.8827 19.2968ZM5.9356 7.3497C4.60673 8.56015 3.6378 10.1672 3.22278 12.0002C4.14022 16.0521 7.7646 19.0002 12.0003 19.0002C13.5997 19.0002 15.112 18.5798 16.4243 17.8384L14.396 15.8101C13.7023 16.2472 12.8808 16.5002 12.0003 16.5002C9.51498 16.5002 7.50026 14.4854 7.50026 12.0002C7.50026 11.1196 7.75317 10.2981 8.19031 9.60442L5.9356 7.3497ZM12.9139 14.328L9.67246 11.0866C9.5613 11.3696 9.50026 11.6777 9.50026 12.0002C9.50026 13.3809 10.6196 14.5002 12.0003 14.5002C12.3227 14.5002 12.6309 14.4391 12.9139 14.328ZM20.8068 16.5925L19.376 15.1617C20.0319 14.2268 20.5154 13.1586 20.7777 12.0002C19.8603 7.94818 16.2359 5.00016 12.0003 5.00016C11.1544 5.00016 10.3329 5.11773 9.55249 5.33818L7.97446 3.76015C9.22127 3.26959 10.5793 3.00016 12.0003 3.00016C17.3924 3.00016 21.8784 6.87992 22.8189 12.0002C22.5067 13.6998 21.8038 15.2628 20.8068 16.5925ZM11.7229 7.50857C11.8146 7.50299 11.9071 7.50016 12.0003 7.50016C14.4855 7.50016 16.5003 9.51488 16.5003 12.0002C16.5003 12.0933 16.4974 12.1858 16.4919 12.2775L11.7229 7.50857Z"})),d0=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M5 22C4.44772 22 4 21.5523 4 21V3C4 2.44772 4.44772 2 5 2H19C19.5523 2 20 2.44772 20 3V6H18V4H6V20H18V18H20V21C20 21.5523 19.5523 22 19 22H5ZM18 16V13H11V11H18V8L23 12L18 16Z"})),ec=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M3 4H21V6H3V4ZM3 11H21V13H3V11ZM3 18H21V20H3V18Z"})),u0=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M20 17H22V19H2V17H4V10C4 5.58172 7.58172 2 12 2C16.4183 2 20 5.58172 20 10V17ZM9 21H15V23H9V21Z"})),h0=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M20 17H22V19H2V17H4V10C4 5.58172 7.58172 2 12 2C16.4183 2 20 5.58172 20 10V17ZM18 17V10C18 6.68629 15.3137 4 12 4C8.68629 4 6 6.68629 6 10V17H18ZM9 21H15V23H9V21Z"})),tc=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z"})),f0=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M12 12.5858L16.2426 16.8284L14.8284 18.2426L13 16.415V22H11V16.413L9.17157 18.2426L7.75736 16.8284L12 12.5858ZM12 2C15.5934 2 18.5544 4.70761 18.9541 8.19395C21.2858 8.83154 23 10.9656 23 13.5C23 16.3688 20.8036 18.7246 18.0006 18.9776L18.0009 16.9644C19.6966 16.7214 21 15.2629 21 13.5C21 11.567 19.433 10 17.5 10C17.2912 10 17.0867 10.0183 16.8887 10.054C16.9616 9.7142 17 9.36158 17 9C17 6.23858 14.7614 4 12 4C9.23858 4 7 6.23858 7 9C7 9.36158 7.03838 9.7142 7.11205 10.0533C6.91331 10.0183 6.70879 10 6.5 10C4.567 10 3 11.567 3 13.5C3 15.2003 4.21241 16.6174 5.81986 16.934L6.00005 16.9646L6.00039 18.9776C3.19696 18.7252 1 16.3692 1 13.5C1 10.9656 2.71424 8.83154 5.04648 8.19411C5.44561 4.70761 8.40661 2 12 2Z"})),p0=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M20 22H18V20C18 18.3431 16.6569 17 15 17H9C7.34315 17 6 18.3431 6 20V22H4V20C4 17.2386 6.23858 15 9 15H15C17.7614 15 20 17.2386 20 20V22ZM12 13C8.68629 13 6 10.3137 6 7C6 3.68629 8.68629 1 12 1C15.3137 1 18 3.68629 18 7C18 10.3137 15.3137 13 12 13ZM12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z"})),m0=S.div`
705
+ `,zo=f.forwardRef(({size:e="md",hasError:t=!1,disabled:n=!1,type:r="text",flushed:o=!1,leftIcon:s,rightIcon:i,iconSize:a="md",iconColor:l="currentColor",className:d,...u},c)=>p.jsxs(t0,{$size:e,$hasError:t,className:d,$isFlushed:o,children:[s&&p.jsx(W,{component:s,size:a,color:n?"var(--color-dark-200)":l}),p.jsx(n0,{ref:c,type:r,$hasError:t,disabled:n,...u}),i&&p.jsx(W,{component:i,size:a,color:n?"var(--color-dark-200)":l})]}));zo.displayName="BaseInput";const r0=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z"})),o0=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z"})),i0=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z"})),s0=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z"})),ec=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z"})),a0=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z"})),l0=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z"})),c0=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M17.8827 19.2968C16.1814 20.3755 14.1638 21.0002 12.0003 21.0002C6.60812 21.0002 2.12215 17.1204 1.18164 12.0002C1.61832 9.62282 2.81932 7.5129 4.52047 5.93457L1.39366 2.80777L2.80788 1.39355L22.6069 21.1925L21.1927 22.6068L17.8827 19.2968ZM5.9356 7.3497C4.60673 8.56015 3.6378 10.1672 3.22278 12.0002C4.14022 16.0521 7.7646 19.0002 12.0003 19.0002C13.5997 19.0002 15.112 18.5798 16.4243 17.8384L14.396 15.8101C13.7023 16.2472 12.8808 16.5002 12.0003 16.5002C9.51498 16.5002 7.50026 14.4854 7.50026 12.0002C7.50026 11.1196 7.75317 10.2981 8.19031 9.60442L5.9356 7.3497ZM12.9139 14.328L9.67246 11.0866C9.5613 11.3696 9.50026 11.6777 9.50026 12.0002C9.50026 13.3809 10.6196 14.5002 12.0003 14.5002C12.3227 14.5002 12.6309 14.4391 12.9139 14.328ZM20.8068 16.5925L19.376 15.1617C20.0319 14.2268 20.5154 13.1586 20.7777 12.0002C19.8603 7.94818 16.2359 5.00016 12.0003 5.00016C11.1544 5.00016 10.3329 5.11773 9.55249 5.33818L7.97446 3.76015C9.22127 3.26959 10.5793 3.00016 12.0003 3.00016C17.3924 3.00016 21.8784 6.87992 22.8189 12.0002C22.5067 13.6998 21.8038 15.2628 20.8068 16.5925ZM11.7229 7.50857C11.8146 7.50299 11.9071 7.50016 12.0003 7.50016C14.4855 7.50016 16.5003 9.51488 16.5003 12.0002C16.5003 12.0933 16.4974 12.1858 16.4919 12.2775L11.7229 7.50857Z"})),d0=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M5 22C4.44772 22 4 21.5523 4 21V3C4 2.44772 4.44772 2 5 2H19C19.5523 2 20 2.44772 20 3V6H18V4H6V20H18V18H20V21C20 21.5523 19.5523 22 19 22H5ZM18 16V13H11V11H18V8L23 12L18 16Z"})),tc=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M3 4H21V6H3V4ZM3 11H21V13H3V11ZM3 18H21V20H3V18Z"})),u0=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M20 17H22V19H2V17H4V10C4 5.58172 7.58172 2 12 2C16.4183 2 20 5.58172 20 10V17ZM9 21H15V23H9V21Z"})),h0=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M20 17H22V19H2V17H4V10C4 5.58172 7.58172 2 12 2C16.4183 2 20 5.58172 20 10V17ZM18 17V10C18 6.68629 15.3137 4 12 4C8.68629 4 6 6.68629 6 10V17H18ZM9 21H15V23H9V21Z"})),nc=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z"})),f0=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M12 12.5858L16.2426 16.8284L14.8284 18.2426L13 16.415V22H11V16.413L9.17157 18.2426L7.75736 16.8284L12 12.5858ZM12 2C15.5934 2 18.5544 4.70761 18.9541 8.19395C21.2858 8.83154 23 10.9656 23 13.5C23 16.3688 20.8036 18.7246 18.0006 18.9776L18.0009 16.9644C19.6966 16.7214 21 15.2629 21 13.5C21 11.567 19.433 10 17.5 10C17.2912 10 17.0867 10.0183 16.8887 10.054C16.9616 9.7142 17 9.36158 17 9C17 6.23858 14.7614 4 12 4C9.23858 4 7 6.23858 7 9C7 9.36158 7.03838 9.7142 7.11205 10.0533C6.91331 10.0183 6.70879 10 6.5 10C4.567 10 3 11.567 3 13.5C3 15.2003 4.21241 16.6174 5.81986 16.934L6.00005 16.9646L6.00039 18.9776C3.19696 18.7252 1 16.3692 1 13.5C1 10.9656 2.71424 8.83154 5.04648 8.19411C5.44561 4.70761 8.40661 2 12 2Z"})),p0=({color:e="currentColor",size:t=24,className:n,...r})=>f.createElement("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:e,...r,className:"remixicon "+(n||"")},f.createElement("path",{d:"M20 22H18V20C18 18.3431 16.6569 17 15 17H9C7.34315 17 6 18.3431 6 20V22H4V20C4 17.2386 6.23858 15 9 15H15C17.7614 15 20 17.2386 20 20V22ZM12 13C8.68629 13 6 10.3137 6 7C6 3.68629 8.68629 1 12 1C15.3137 1 18 3.68629 18 7C18 10.3137 15.3137 13 12 13ZM12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z"})),m0=C.div`
706
706
  ${ut}
707
707
  ${({$size:e})=>sn[e??"md"]}
708
708
  ${({$hasError:e})=>e&&ht}
709
709
  ${({$disabled:e})=>e&&qe}
710
710
  position: relative;
711
- `,g0=S.input`
711
+ `,g0=C.input`
712
712
  ${Zn}
713
- `,y0=S.span`
713
+ `,y0=C.span`
714
714
  ${qn}
715
715
  cursor: ${({$disabled:e})=>e?"not-allowed":"pointer"};
716
- `,nc=({size:e="md",leftIcon:t,iconSize:n="sm",iconColor:r="currentColor",placeholder:o="Contraseña...",hasError:s=!1,disabled:i=!1,className:a,...l})=>{const[d,u]=f.useState(!1),c=()=>u(h=>!h);return p.jsxs(m0,{$size:e,$hasError:s,$disabled:i,className:a,children:[t&&p.jsx(W,{component:t,size:n,color:i?"var(--color-dark-200)":r}),p.jsx(g0,{type:d?"text":"password",placeholder:o,disabled:i,...l}),p.jsx(y0,{$disabled:i,onClick:i?void 0:c,children:p.jsx(W,{component:d?c0:l0,size:n,color:i?"var(--color-dark-200)":r})})]})},rc=e=>{const t=e.findIndex(n=>!n.disabled);return t!==-1?t:0},v0=e=>{const t=e.map((n,r)=>({...n,index:r})).reverse().find(n=>!n.disabled)?.index;return t!==void 0?t:e.length-1},b0=(e,t,n)=>{let r=e;do r=(r+t+n.length)%n.length;while(n[r]?.disabled&&r!==e);return r},w0=(e,t)=>({target:{value:String(e),name:t},currentTarget:{value:String(e),name:t}}),x0=(e,t)=>{if(t>=0&&e.current){const n=e.current.children[t];n&&n.scrollIntoView({block:"nearest",behavior:"smooth"})}},S0=(e,t)=>{if(typeof e=="string"||typeof e=="number"){const n=t.findIndex(r=>r.value===e);if(n!==-1&&!t[n].disabled)return n}return rc(t)},C0=S.div`
716
+ `,rc=({size:e="md",leftIcon:t,iconSize:n="sm",iconColor:r="currentColor",placeholder:o="Contraseña...",hasError:s=!1,disabled:i=!1,className:a,...l})=>{const[d,u]=f.useState(!1),c=()=>u(h=>!h);return p.jsxs(m0,{$size:e,$hasError:s,$disabled:i,className:a,children:[t&&p.jsx(W,{component:t,size:n,color:i?"var(--color-dark-200)":r}),p.jsx(g0,{type:d?"text":"password",placeholder:o,disabled:i,...l}),p.jsx(y0,{$disabled:i,onClick:i?void 0:c,children:p.jsx(W,{component:d?c0:l0,size:n,color:i?"var(--color-dark-200)":r})})]})},oc=e=>{const t=e.findIndex(n=>!n.disabled);return t!==-1?t:0},v0=e=>{const t=e.map((n,r)=>({...n,index:r})).reverse().find(n=>!n.disabled)?.index;return t!==void 0?t:e.length-1},b0=(e,t,n)=>{let r=e;do r=(r+t+n.length)%n.length;while(n[r]?.disabled&&r!==e);return r},w0=(e,t)=>({target:{value:String(e),name:t},currentTarget:{value:String(e),name:t}}),x0=(e,t)=>{if(t>=0&&e.current){const n=e.current.children[t];n&&n.scrollIntoView({block:"nearest",behavior:"smooth"})}},S0=(e,t)=>{if(typeof e=="string"||typeof e=="number"){const n=t.findIndex(r=>r.value===e);if(n!==-1&&!t[n].disabled)return n}return oc(t)},C0=C.div`
717
717
  position: relative;
718
718
  width: 100%;
719
- `,T0=S.div`
719
+ `,T0=C.div`
720
720
  ${qn}
721
721
  position: absolute;
722
722
  right: 1rem;
@@ -724,7 +724,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
724
724
  transform: translateY(-50%) rotate(${({$open:e})=>e?"180deg":"0deg"});
725
725
  pointer-events: none;
726
726
  transition: transform 0.3s ease-out;
727
- `,k0=S.button`
727
+ `,k0=C.button`
728
728
  ${ut}
729
729
  ${({$size:e})=>sn[e]}
730
730
  ${({$hasError:e})=>e&&ht}
@@ -746,7 +746,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
746
746
  &:hover {
747
747
  background-color: var(--color-main-alternative-secondary);
748
748
  }
749
- `,E0=S(Re.ul)`
749
+ `,E0=C(_e.ul)`
750
750
  position: absolute;
751
751
  z-index: 50;
752
752
  left: 0;
@@ -768,11 +768,11 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
768
768
  border: var(--border-input-focus);
769
769
  outline: none;
770
770
  }
771
- `,P0=S.div`
771
+ `,P0=C.div`
772
772
  max-height: 15rem;
773
773
  overflow-y: auto;
774
774
  outline: none;
775
- `,A0=S.li`
775
+ `,A0=C.li`
776
776
  display: flex;
777
777
  align-items: center;
778
778
  gap: 0.5rem;
@@ -786,18 +786,18 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
786
786
 
787
787
  background-color: ${({$active:e})=>e?"var(--color-main-alternative-secondary)":"transparent"};
788
788
  color: ${({$disabled:e})=>e?"var(--color-dark-200)":"var(--color-main-blue-primary)"};
789
- `,D0={sm:v`
790
- ${M[16]}
791
- `,md:v`
792
- ${M[18]}
793
- `,lg:v`
794
- ${M[18]}
795
- `},Ro=f.forwardRef(({size:e="md",hasError:t=!1,disabled:n=!1,options:r=[],placeholder:o,onOptionSelect:s,onChange:i,value:a,name:l,className:d,inputClassName:u,optionsClassName:c,optionClassName:h},m)=>{const g=f.useRef(null),b=f.useRef(null),x=f.useRef(null),y=f.useRef(null),C=f.useId(),[w,A]=f.useState(!1),[P,k]=f.useState(-1),E=r.find($=>$.value===a);f.useEffect(()=>{w&&b.current&&(b.current.focus(),k(S0(a,r)))},[w,r,a]),f.useEffect(()=>{x0(x,P)},[P]),f.useEffect(()=>{if(!w)return;const $=U=>{g.current&&(g.current.contains(U.target)||A(!1))};return document.addEventListener("mousedown",$),()=>document.removeEventListener("mousedown",$)},[w]),f.useEffect(()=>{w||requestAnimationFrame(()=>{m?.current?.focus?.(),y.current?.focus()})},[w,m]);const D=$=>{$.disabled||(s?.($),i&&i(w0($.value,l)),A(!1),k(-1))},L=$=>{n||($.key==="ArrowDown"||$.key==="ArrowUp"?($.preventDefault(),A(!0)):($.key==="Enter"||$.key===" ")&&($.preventDefault(),A(U=>!U)))},_=$=>{if($.key==="Escape"){$.preventDefault(),A(!1),k(-1);return}if($.key==="ArrowDown"||$.key==="ArrowUp"){$.preventDefault();const U=$.key==="ArrowDown"?1:-1;k(b0(P,U,r))}else if($.key==="Enter"){$.preventDefault();const U=r[P];U&&!U.disabled&&D(U)}else $.key==="Home"?($.preventDefault(),k(rc(r))):$.key==="End"&&($.preventDefault(),k(v0(r)))};return p.jsxs(C0,{ref:g,className:d,children:[l&&p.jsx("input",{type:"hidden",name:l,value:E?.value??""}),p.jsx(k0,{type:"button",$size:e,$hasError:t,$hasValue:!!E,$disabled:n,disabled:n,className:u,ref:$=>{y.current=$,typeof m=="function"?m($):m&&"current"in m&&(m.current=$)},onClick:()=>!n&&A($=>!$),onKeyDown:L,"aria-haspopup":"listbox","aria-expanded":w,"aria-controls":`${C}-listbox`,"aria-invalid":t||void 0,title:E?.label??o??"Select an option",children:E?.label??o??""}),p.jsx(T0,{$size:e,$disabled:n,$open:w,children:p.jsx(W,{component:s0,size:e==="sm"||e==="md"?"sm":"md",color:n?"var(--color-dark-200)":"var(--color-main-blue-primary)"})}),p.jsx(Zt,{children:w&&p.jsx(E0,{ref:b,className:"custom-scrollbar",id:`${C}-listbox`,role:"listbox",tabIndex:0,"aria-activedescendant":P>=0?`${C}-option-${P}`:void 0,initial:{opacity:0,height:0,scaleY:.8},animate:{opacity:1,height:"auto",scaleY:1},exit:{opacity:0,height:0,scaleY:.8},transition:{duration:.25,ease:[.4,0,.2,1]},onKeyDown:_,children:p.jsx(P0,{ref:x,className:c,children:r.map(($,U)=>{const I=U===P;return p.jsx(A0,{id:`${C}-option-${U}`,className:h,role:"option",$size:e,"aria-selected":a===$.value,$active:I,$disabled:$.disabled,onMouseEnter:()=>{!$.disabled&&w&&k(U)},onClick:()=>D($),children:$.label},$.value)})})})})]})});Ro.displayName="SelectInput";const $0=S.textarea`
789
+ `,D0={sm:b`
790
+ ${I[16]}
791
+ `,md:b`
792
+ ${I[18]}
793
+ `,lg:b`
794
+ ${I[18]}
795
+ `},Ro=f.forwardRef(({size:e="md",hasError:t=!1,disabled:n=!1,options:r=[],placeholder:o,onOptionSelect:s,onChange:i,value:a,name:l,className:d,inputClassName:u,optionsClassName:c,optionClassName:h},m)=>{const g=f.useRef(null),v=f.useRef(null),w=f.useRef(null),y=f.useRef(null),S=f.useId(),[x,A]=f.useState(!1),[P,k]=f.useState(-1),E=r.find($=>$.value===a);f.useEffect(()=>{x&&v.current&&(v.current.focus(),k(S0(a,r)))},[x,r,a]),f.useEffect(()=>{x0(w,P)},[P]),f.useEffect(()=>{if(!x)return;const $=U=>{g.current&&(g.current.contains(U.target)||A(!1))};return document.addEventListener("mousedown",$),()=>document.removeEventListener("mousedown",$)},[x]),f.useEffect(()=>{x||requestAnimationFrame(()=>{m?.current?.focus?.(),y.current?.focus()})},[x,m]);const D=$=>{$.disabled||(s?.($),i&&i(w0($.value,l)),A(!1),k(-1))},L=$=>{n||($.key==="ArrowDown"||$.key==="ArrowUp"?($.preventDefault(),A(!0)):($.key==="Enter"||$.key===" ")&&($.preventDefault(),A(U=>!U)))},_=$=>{if($.key==="Escape"){$.preventDefault(),A(!1),k(-1);return}if($.key==="ArrowDown"||$.key==="ArrowUp"){$.preventDefault();const U=$.key==="ArrowDown"?1:-1;k(b0(P,U,r))}else if($.key==="Enter"){$.preventDefault();const U=r[P];U&&!U.disabled&&D(U)}else $.key==="Home"?($.preventDefault(),k(oc(r))):$.key==="End"&&($.preventDefault(),k(v0(r)))};return p.jsxs(C0,{ref:g,className:d,children:[l&&p.jsx("input",{type:"hidden",name:l,value:E?.value??""}),p.jsx(k0,{type:"button",$size:e,$hasError:t,$hasValue:!!E,$disabled:n,disabled:n,className:u,ref:$=>{y.current=$,typeof m=="function"?m($):m&&"current"in m&&(m.current=$)},onClick:()=>!n&&A($=>!$),onKeyDown:L,"aria-haspopup":"listbox","aria-expanded":x,"aria-controls":`${S}-listbox`,"aria-invalid":t||void 0,title:E?.label??o??"Select an option",children:E?.label??o??""}),p.jsx(T0,{$size:e,$disabled:n,$open:x,children:p.jsx(W,{component:s0,size:e==="sm"||e==="md"?"sm":"md",color:n?"var(--color-dark-200)":"var(--color-main-blue-primary)"})}),p.jsx(Zt,{children:x&&p.jsx(E0,{ref:v,className:"custom-scrollbar",id:`${S}-listbox`,role:"listbox",tabIndex:0,"aria-activedescendant":P>=0?`${S}-option-${P}`:void 0,initial:{opacity:0,height:0,scaleY:.8},animate:{opacity:1,height:"auto",scaleY:1},exit:{opacity:0,height:0,scaleY:.8},transition:{duration:.25,ease:[.4,0,.2,1]},onKeyDown:_,children:p.jsx(P0,{ref:w,className:c,children:r.map(($,U)=>{const V=U===P;return p.jsx(A0,{id:`${S}-option-${U}`,className:h,role:"option",$size:e,"aria-selected":a===$.value,$active:V,$disabled:$.disabled,onMouseEnter:()=>{!$.disabled&&x&&k(U)},onClick:()=>D($),children:$.label},$.value)})})})})]})});Ro.displayName="SelectInput";const $0=C.textarea`
796
796
  ${ut}
797
797
  ${({$size:e})=>M0[e]}
798
798
  ${({$hasError:e})=>e&&ht}
799
799
  ${({$disabled:e})=>e&&qe}
800
- ${M[20]}
800
+ ${I[20]}
801
801
 
802
802
  resize: ${({$resize:e})=>e};
803
803
 
@@ -811,61 +811,61 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
811
811
  opacity: 1;
812
812
  }
813
813
  `,M0={sm:`
814
- ${M[20]}
814
+ ${I[20]}
815
815
  height: 6rem;
816
816
  max-height: 12rem;
817
817
  padding: 1rem 1.25rem;
818
818
  `,md:`
819
- ${M[24]}
819
+ ${I[24]}
820
820
  height: 8rem;
821
821
  max-height: 16rem;
822
822
  padding: 1rem 1.25rem;
823
823
  `,lg:`
824
- ${M[24]}
824
+ ${I[24]}
825
825
  height:12rem;
826
826
  max-height: 20rem;
827
827
  padding: 1rem 1.25rem;
828
- `},_o=f.forwardRef(({size:e="md",hasError:t=!1,disabled:n=!1,resize:r="vertical",autoResize:o=!1,minRows:s=3,maxRows:i,className:a,onChange:l,...d},u)=>{const c=h=>{if(o){const m=h.target;m.style.height="auto";const g=m.scrollHeight,b=s*24,x=i?i*24:g;g>x?(m.style.height=`${x}px`,m.style.overflowY="scroll"):(m.style.height=`${Math.max(g,b)}px`,m.style.overflowY="hidden")}l?.(h)};return p.jsx($0,{ref:u,$size:e,$hasError:t,$disabled:n,$resize:r,$autoResize:o,disabled:n,rows:s,className:a,onChange:c,...d})});_o.displayName="TextAreaInput";const V0=S.div`
828
+ `},_o=f.forwardRef(({size:e="md",hasError:t=!1,disabled:n=!1,resize:r="vertical",autoResize:o=!1,minRows:s=3,maxRows:i,className:a,onChange:l,...d},u)=>{const c=h=>{if(o){const m=h.target;m.style.height="auto";const g=m.scrollHeight,v=s*24,w=i?i*24:g;g>w?(m.style.height=`${w}px`,m.style.overflowY="scroll"):(m.style.height=`${Math.max(g,v)}px`,m.style.overflowY="hidden")}l?.(h)};return p.jsx($0,{ref:u,$size:e,$hasError:t,$disabled:n,$resize:r,$autoResize:o,disabled:n,rows:s,className:a,onChange:c,...d})});_o.displayName="TextAreaInput";const V0=C.div`
829
829
  ${ut}
830
830
  ${({$size:e})=>sn[e??"md"]}
831
- `,I0=S.input`
831
+ `,I0=C.input`
832
832
  ${Zn}
833
- `,oc=({size:e="md",leftIcon:t,rightIcon:n=tc,iconSize:r="sm",iconColor:o="currentColor",placeholder:s="Buscar...",onSearch:i,className:a,...l})=>{const d=u=>{i?.(u.target.value)};return p.jsxs(V0,{$size:e,className:a,children:[t&&p.jsx(W,{component:t,size:r,color:o}),p.jsx(I0,{placeholder:s,onChange:d,...l}),n?p.jsx(W,{component:n,size:r,color:o}):p.jsx(W,{component:tc,size:r,color:o})]})},L0={default:v`
833
+ `,ic=({size:e="md",leftIcon:t,rightIcon:n=nc,iconSize:r="sm",iconColor:o="currentColor",placeholder:s="Buscar...",onSearch:i,className:a,...l})=>{const d=u=>{i?.(u.target.value)};return p.jsxs(V0,{$size:e,className:a,children:[t&&p.jsx(W,{component:t,size:r,color:o}),p.jsx(I0,{placeholder:s,onChange:d,...l}),n?p.jsx(W,{component:n,size:r,color:o}):p.jsx(W,{component:nc,size:r,color:o})]})},L0={default:b`
834
834
  min-height: 18rem;
835
835
  padding: 2rem;
836
- `,compact:v`
836
+ `,compact:b`
837
837
  min-height: 6rem;
838
838
  padding: 1rem;
839
839
  flex-direction: row;
840
- `},N0={sm:v`
841
- ${M[12]}
842
- `,md:v`
843
- ${M[16]}
844
- `,lg:v`
845
- ${M[20]}
846
- `},B0=v`
840
+ `},N0={sm:b`
841
+ ${I[12]}
842
+ `,md:b`
843
+ ${I[16]}
844
+ `,lg:b`
845
+ ${I[20]}
846
+ `},B0=b`
847
847
  border: 2px dashed var(--color-main-input-borders);
848
848
  background-color: transparent;
849
- `,O0=v`
849
+ `,O0=b`
850
850
  border-color: var(--color-main-blue-primary);
851
851
  background-color: var(--color-main-alternative-secondary);
852
- `,F0=v`
852
+ `,F0=b`
853
853
  border: 2px dashed var(--color-main-positive-state);
854
854
  background-color: var(--color-green-100);
855
- `,j0=v`
855
+ `,j0=b`
856
856
  border-color: var(--color-main-warning-state);
857
857
  background-color: var(--color-red-100);
858
- `,z0=v`
858
+ `,z0=b`
859
859
  border-color: var(--color-dark-200);
860
860
  cursor: not-allowed;
861
861
  opacity: 0.6;
862
- `,R0=S.div`
862
+ `,R0=C.div`
863
863
  display: flex;
864
864
  flex-direction: column;
865
865
  gap: 0.5rem;
866
866
  width: 100%;
867
867
  ${({$size:e})=>N0[e]}
868
- `,_0=S.div`
868
+ `,_0=C.div`
869
869
  display: flex;
870
870
  flex-direction: column;
871
871
  align-items: center;
@@ -880,11 +880,12 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
880
880
  text-align: center;
881
881
  outline: 2px solid transparent;
882
882
  outline-offset: 2px;
883
+ background-color: var(--color-main-white);
883
884
 
884
885
  ${({$variant:e})=>L0[e]}
885
886
  ${B0}
886
887
 
887
- ${({$disabled:e})=>e?z0:v`
888
+ ${({$disabled:e})=>e?z0:b`
888
889
  &:hover {
889
890
  ${O0}
890
891
  }
@@ -897,29 +898,19 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
897
898
  outline-color: var(--color-main-blue-primary);
898
899
  outline-offset: 2px;
899
900
  }
900
- `;S.div`
901
- font-size: 2.5rem;
902
- color: ${({$disabled:e})=>e?"var(--color-dark-200)":"var(--color-main-blue-primary)"};
903
- display: flex;
904
- align-items: center;
905
- justify-content: center;
906
- `;const H0=S.div`
901
+ `,H0=C.div`
907
902
  color: ${({$disabled:e})=>e?"var(--color-dark-200)":"var(--color-main-blue-primary)"};
908
903
 
909
904
  strong {
910
905
  color: ${({$disabled:e})=>e?"var(--color-dark-200)":"var(--color-main-blue-primary)"};
911
906
  font-weight: 700;
912
907
  }
913
- `,U0=S.div`
914
- color: var(--color-main-grey);
915
- ${M[14]}
916
- margin-top: 0.25rem;
917
- `,W0=S.div`
908
+ `,U0=C.div`
918
909
  display: flex;
919
910
  flex-direction: column;
920
911
  gap: 0.5rem;
921
912
  margin-top: 1rem;
922
- `,K0=S.div`
913
+ `,W0=C.div`
923
914
  display: flex;
924
915
  align-items: center;
925
916
  justify-content: space-between;
@@ -936,24 +927,12 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
936
927
  &:hover {
937
928
  background-color: var(--color-main-alternative-secondary);
938
929
  }
939
- `,Y0=S.div`
940
- display: flex;
941
- flex-direction: column;
942
- gap: 0.25rem;
943
- flex: 1;
944
- min-width: 0;
945
- `,G0=S.div`
946
- color: var(--color-dark-700);
930
+ `,K0=C(Ne)`
947
931
  font-weight: 500;
948
- ${M[14]}
949
932
  overflow: hidden;
950
933
  text-overflow: ellipsis;
951
934
  white-space: nowrap;
952
- `,X0=S.div`
953
- color: var(--color-dark-400);
954
- ${M[12]}
955
- font-weight: 400;
956
- `,Z0=S.button`
935
+ `,Y0=C.button`
957
936
  background: none;
958
937
  border: none;
959
938
  color: var(--color-dark-400);
@@ -980,9 +959,9 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
980
959
  cursor: not-allowed;
981
960
  opacity: 0.5;
982
961
  }
983
- `,q0=(e,t)=>{const[n,r]=f.useState(!1),o=f.useCallback(l=>{l.preventDefault(),l.stopPropagation(),t||r(!0)},[t]),s=f.useCallback(l=>{l.preventDefault(),l.stopPropagation(),t||r(!1)},[t]),i=f.useCallback(l=>{l.preventDefault(),l.stopPropagation()},[]),a=f.useCallback(l=>{l.preventDefault(),l.stopPropagation(),t||(r(!1),e(l.dataTransfer.files))},[t,e]);return{isDragging:n,dragHandlers:{onDragEnter:o,onDragLeave:s,onDragOver:i,onDrop:a}}},J0=({maxFileSize:e,accept:t,multiple:n,onError:r})=>{const[o,s]=f.useState(""),i=f.useCallback(l=>{s(l),r?.(l)},[r]),a=f.useCallback(l=>{if(e&&l.some(d=>d.size>e)){const d=`File size exceeds maximum allowed size of ${Math.round(e/1024)} KB`;return i(d),!1}if(t){const d=t.split(",").map(c=>c.trim());if(l.find(c=>{const h=c.type,m=`.${c.name.split(".").pop()}`;return!d.some(g=>g===h||g===m)})){const c=`File type not accepted. Allowed: ${t}`;return i(c),!1}}return!n&&l.length>1?(i("Only one file is allowed"),!1):(s(""),!0)},[e,t,n,i]);return{error:o,validateFiles:a,clearError:()=>s("")}},ic=({files:e,onRemove:t,disabled:n})=>{const r=o=>{const s=["Bytes","KB","MB"],i=Math.floor(Math.log(o)/Math.log(1024));return`${(o/Math.pow(1024,i)).toFixed(2)} ${s[i]}`};return e.length===0?null:p.jsx(W0,{children:e.map((o,s)=>p.jsxs(K0,{children:[p.jsxs(Y0,{children:[p.jsx(G0,{children:o.name}),p.jsx(X0,{children:r(o.size)})]}),p.jsx(Z0,{type:"button",onClick:()=>t(s),"aria-label":`Remove ${o.name}`,disabled:n,children:p.jsx(Ql,{})})]},`${o.name}-${s}`))})},Q0=({variant:e="default",multiple:t=!1,maxFileSize:n=10*1024*1024,accept:r="image/*,application/pdf",helperText:o="Upload files here",value:s,defaultValue:i,onChange:a,onError:l,onFileRemove:d,onFilesSelected:u,disabled:c=!1,hasError:h=!1,errorMessage:m="",className:g="",size:b="md"})=>{const x=s!==void 0,[y,C]=f.useState(i||[]),w=x?s:y,{error:A,validateFiles:P,clearError:k}=J0({maxFileSize:n,accept:r,multiple:t,onError:l}),E=(I,he)=>{if(!I||I.length===0)return;const G=Array.from(I);if(!P(G))return;const B=t?[...w,...G]:G;x||C(B),a?.(B,he),u?.(B)},D=I=>{const he=w[I],G=w.filter((B,N)=>N!==I);x||C(G),d?.(he,I),a?.(G),u?.(G),G.length===0&&k()},{isDragging:L,dragHandlers:_}=q0(E,c),$=h||!!A,U=m||A;return p.jsxs(R0,{$size:b,className:g,children:[p.jsxs("label",{"aria-label":"File upload area",children:[p.jsxs(_0,{$variant:e,$isDragging:L,$hasError:$,$disabled:c,role:"button",tabIndex:c?-1:0,"aria-disabled":c,onKeyDown:I=>{(I.key==="Enter"||I.key===" ")&&(I.preventDefault(),I.currentTarget.querySelector("input")?.click())},..._,children:[p.jsx(W,{component:f0,size:"lg",color:c?"var(--color-dark-200)":"var(--color-main-blue-primary)"}),p.jsxs(H0,{$disabled:c,children:[p.jsx("strong",{children:"Click to upload"})," or drag and drop"]}),o&&!$&&p.jsx(U0,{children:o})]}),p.jsx("input",{type:"file",multiple:t,accept:r,disabled:c,onChange:I=>E(I.target.files,I.nativeEvent),style:{display:"none"},"aria-label":"File input"})]}),$&&U&&p.jsx(Gn,{size:"sm",children:U}),p.jsx(ic,{files:w,onRemove:D,disabled:c})]})},ey=S.div`
962
+ `,G0=(e,t)=>{const[n,r]=f.useState(!1),o=f.useCallback(l=>{l.preventDefault(),l.stopPropagation(),t||r(!0)},[t]),s=f.useCallback(l=>{l.preventDefault(),l.stopPropagation(),t||r(!1)},[t]),i=f.useCallback(l=>{l.preventDefault(),l.stopPropagation()},[]),a=f.useCallback(l=>{l.preventDefault(),l.stopPropagation(),t||(r(!1),e(l.dataTransfer.files))},[t,e]);return{isDragging:n,dragHandlers:{onDragEnter:o,onDragLeave:s,onDragOver:i,onDrop:a}}},X0=({maxFileSize:e,accept:t,multiple:n,onError:r})=>{const[o,s]=f.useState(""),i=f.useCallback(l=>{s(l),r?.(l)},[r]),a=f.useCallback(l=>{if(e&&l.some(d=>d.size>e)){const d=`File size exceeds maximum allowed size of ${Math.round(e/1024)} KB or ${Math.round(e/1048576)} MB`;return i(d),!1}if(t){const d=t.split(",").map(c=>c.trim());if(l.find(c=>{const h=c.type,m=`.${c.name.split(".").pop()}`;return!d.some(g=>g===h||g===m)})){const c=`File type not accepted. Allowed: ${t}`;return i(c),!1}}return!n&&l.length>1?(i("Only one file is allowed"),!1):(s(""),!0)},[e,t,n,i]);return{error:o,validateFiles:a,clearError:()=>s("")}},sc=({files:e,onRemove:t,disabled:n})=>{const r=o=>{const s=["Bytes","KB","MB"],i=Math.floor(Math.log(o)/Math.log(1024));return`${(o/Math.pow(1024,i)).toFixed(2)} ${s[i]}`};return e.length===0?null:p.jsx(U0,{children:e.map((o,s)=>p.jsxs(W0,{children:[p.jsxs("div",{className:"flex min-w-[0] flex-col gap-1",children:[p.jsx(K0,{size:14,children:o.name}),p.jsx(Gl,{size:12,children:r(o.size)})]}),p.jsx(Y0,{type:"button",onClick:()=>t(s),"aria-label":`Remove ${o.name}`,disabled:n,children:p.jsx(ec,{})})]},`${o.name}-${s}`))})},Z0=({variant:e="default",multiple:t=!1,maxFileSize:n=10,accept:r="image/*,application/pdf",helperText:o="Upload files here",value:s,defaultValue:i,onChange:a,onError:l,onFileRemove:d,disabled:u=!1,hasError:c=!1,errorMessage:h="",className:m="",size:g="md"})=>{const v=s!==void 0,[w,y]=f.useState(i||[]),S=v?s:w,x=n*1024*1024,{error:A,validateFiles:P,clearError:k}=X0({maxFileSize:x,accept:r,multiple:t,onError:l}),E=(V,he)=>{if(!V||V.length===0)return;const G=Array.from(V);if(!P(G))return;const O=t?[...S,...G]:G;v||y(O),a?.(O,he)},D=V=>{const he=S[V],G=S.filter((O,N)=>N!==V);v||y(G),d?.(he,V),a?.(G),G.length===0&&k()},{isDragging:L,dragHandlers:_}=G0(E,u),$=c||!!A,U=h||A;return p.jsxs(R0,{$size:g,className:m,children:[p.jsxs("label",{"aria-label":"File upload area",children:[p.jsxs(_0,{$variant:e,$isDragging:L,$hasError:$,$disabled:u,role:"button",tabIndex:u?-1:0,"aria-disabled":u,onKeyDown:V=>{(V.key==="Enter"||V.key===" ")&&(V.preventDefault(),V.currentTarget.querySelector("input")?.click())},..._,children:[p.jsx(W,{component:f0,size:"lg",color:u?"var(--color-dark-200)":"var(--color-main-blue-primary)",className:"!text-[5rem]"}),p.jsxs(H0,{$disabled:u,children:[p.jsx("strong",{children:"Click to upload"})," or drag and drop"]}),o&&!$&&p.jsx(Ne,{size:14,color:"var(--color-main-grey)",children:o})]}),p.jsx("input",{type:"file",multiple:t,accept:r,disabled:u,onChange:V=>E(V.target.files,V.nativeEvent),style:{display:"none"},"aria-label":"File input"})]}),$&&U&&p.jsx(Gn,{size:"sm",children:U}),p.jsx(sc,{files:S,onRemove:D,disabled:u})]})},q0=C.div`
984
963
  position: relative;
985
- `,ty=S.input`
964
+ `,J0=C.input`
986
965
  position: absolute;
987
966
  height: 1.5rem;
988
967
  width: 1.5rem;
@@ -999,7 +978,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
999
978
  outline-color: var(--color-main-orange-primary);
1000
979
  outline-offset: 2px;
1001
980
  }
1002
- `,ny=S.div`
981
+ `,Q0=C.div`
1003
982
  height: 1.5rem;
1004
983
  width: 1.5rem;
1005
984
  border: 2px solid;
@@ -1020,31 +999,31 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1020
999
 
1021
1000
  ${({$hasError:e})=>e&&ht}
1022
1001
  ${({$disabled:e})=>e&&qe}
1023
- ${({$checked:e})=>e&&ry}
1024
- `,ry=v`
1002
+ ${({$checked:e})=>e&&ey}
1003
+ `,ey=b`
1025
1004
  background-color: var(--color-main-orange-primary);
1026
1005
  border-color: var(--color-main-orange-primary);
1027
- `,oy=S.svg`
1006
+ `,ty=C.svg`
1028
1007
  height: 1.5rem;
1029
1008
  width: 1.5rem;
1030
1009
  color: ${({$disabled:e})=>e?"var(--color-dark-200)":"white"};
1031
1010
  fill: none;
1032
1011
  stroke: currentColor;
1033
- `,iy=S.span`
1012
+ `,ny=C.span`
1034
1013
  display: block;
1035
1014
  width: 60%;
1036
1015
  height: 2px;
1037
1016
  background-color: white;
1038
1017
  border-radius: 1px;
1039
- `,Ho=f.forwardRef(({hasError:e=!1,indeterminate:t=!1,checked:n,disabled:r=!1,onChange:o,className:s,checkboxClassName:i,...a},l)=>{const d=f.useId(),u=a.id??d,c=!!n,{size:h,...m}=a,g=f.useRef(null),b=f.useCallback(x=>{if(g.current=x,!!l)if(typeof l=="function")try{l(x)}catch{}else l.current=x},[l]);return f.useEffect(()=>{g.current&&(g.current.indeterminate=!!t)},[t]),p.jsxs(ey,{className:s,children:[p.jsx(ty,{ref:b,type:"checkbox",checked:c||!1,disabled:r,onChange:o,id:u,name:m.name,"aria-invalid":e||void 0,"aria-disabled":r||void 0,"aria-checked":t?"mixed":c?"true":"false",...m}),p.jsxs(ny,{$checked:!!c||!!t,$hasError:e,$disabled:r,className:i,children:[c&&!t&&p.jsx(oy,{$disabled:r,viewBox:"0 0 24 24",children:p.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7"})}),t&&p.jsx(iy,{})]})]})});Ho.displayName="CheckboxInput";const sc=({children:e,size:t="md",disabled:n=!1,htmlFor:r,onLabelClick:o,className:s,onClick:i,...a})=>{const l=d=>{n||(o&&o(),i&&i(d))};return p.jsx(Xn,{size:t,disabled:n,htmlFor:r,onClick:l,className:s,...a,children:e})},sy=S.section`
1018
+ `,Ho=f.forwardRef(({hasError:e=!1,indeterminate:t=!1,checked:n,disabled:r=!1,onChange:o,className:s,checkboxClassName:i,...a},l)=>{const d=f.useId(),u=a.id??d,c=!!n,{size:h,...m}=a,g=f.useRef(null),v=f.useCallback(w=>{if(g.current=w,!!l)if(typeof l=="function")try{l(w)}catch{}else l.current=w},[l]);return f.useEffect(()=>{g.current&&(g.current.indeterminate=!!t)},[t]),p.jsxs(q0,{className:s,children:[p.jsx(J0,{ref:v,type:"checkbox",checked:c||!1,disabled:r,onChange:o,id:u,name:m.name,"aria-invalid":e||void 0,"aria-disabled":r||void 0,"aria-checked":t?"mixed":c?"true":"false",...m}),p.jsxs(Q0,{$checked:!!c||!!t,$hasError:e,$disabled:r,className:i,children:[c&&!t&&p.jsx(ty,{$disabled:r,viewBox:"0 0 24 24",children:p.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7"})}),t&&p.jsx(ny,{})]})]})});Ho.displayName="CheckboxInput";const ac=({children:e,size:t="md",disabled:n=!1,htmlFor:r,onLabelClick:o,className:s,onClick:i,...a})=>{const l=d=>{n||(o&&o(),i&&i(d))};return p.jsx(Xn,{size:t,disabled:n,htmlFor:r,onClick:l,className:s,...a,children:e})},ry=C.section`
1040
1019
  display: flex;
1041
1020
  align-items: center;
1042
1021
  justify-content: center;
1043
1022
  gap: 1rem;
1044
- `,Jn=f.forwardRef(({size:e="md",label:t,hasError:n=!1,indeterminate:r=!1,checked:o,disabled:s=!1,onChange:i,onLabelClick:a,className:l,checkboxClassName:d,labelClassName:u,...c},h)=>{const m=f.useId(),g=c.id??m;return p.jsxs(sy,{className:l,children:[p.jsx(Ho,{ref:h,size:e,hasError:n,indeterminate:r,checked:o,disabled:s,onChange:i,checkboxClassName:d,id:g,...c}),t&&p.jsx(sc,{size:e,disabled:s,htmlFor:g,onLabelClick:a,className:u,children:t})]})});Jn.displayName="Checkbox";const ay=S.div`
1023
+ `,Jn=f.forwardRef(({size:e="md",label:t,hasError:n=!1,indeterminate:r=!1,checked:o,disabled:s=!1,onChange:i,onLabelClick:a,className:l,checkboxClassName:d,labelClassName:u,...c},h)=>{const m=f.useId(),g=c.id??m;return p.jsxs(ry,{className:l,children:[p.jsx(Ho,{ref:h,size:e,hasError:n,indeterminate:r,checked:o,disabled:s,onChange:i,checkboxClassName:d,id:g,...c}),t&&p.jsx(ac,{size:e,disabled:s,htmlFor:g,onLabelClick:a,className:u,children:t})]})});Jn.displayName="Checkbox";const oy=C.div`
1045
1024
  position: relative;
1046
1025
  display: inline-block;
1047
- `,ly=S.input`
1026
+ `,iy=C.input`
1048
1027
  ${ut}
1049
1028
  text-align: center;
1050
1029
  padding: 0;
@@ -1058,15 +1037,15 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1058
1037
  &[type='number'] {
1059
1038
  -moz-appearance: textfield;
1060
1039
  }
1061
- ${({$size:e})=>dy[e]}
1062
- ${({$variant:e})=>e&&cy[e??"outlined"]}
1040
+ ${({$size:e})=>ay[e]}
1041
+ ${({$variant:e})=>e&&sy[e??"outlined"]}
1063
1042
  ${({$hasError:e})=>e&&ht}
1064
1043
  ${({$disabled:e})=>e&&qe}
1065
1044
 
1066
1045
  &:focus {
1067
1046
  border: 2px solid var(--color-main-blue-primary);
1068
1047
  }
1069
- `,cy={outlined:`
1048
+ `,sy={outlined:`
1070
1049
  background-color: var(--color-main-white);
1071
1050
  border: 2px solid var(--color-main-input-borders);
1072
1051
 
@@ -1085,28 +1064,28 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1085
1064
  background-color: var(--color-main-white);
1086
1065
  border: 2px solid var(--color-main-blue-primary);
1087
1066
  }
1088
- `},dy={sm:`
1067
+ `},ay={sm:`
1089
1068
  padding: 0.375rem;
1090
1069
  width: 2.5rem;
1091
1070
  height: 2.5rem;
1092
- ${M[24]}
1071
+ ${I[24]}
1093
1072
  `,md:`
1094
1073
  padding: 0.625rem;
1095
1074
  width: 3rem;
1096
1075
  height: 3.5rem;
1097
- ${M[30]}
1076
+ ${I[30]}
1098
1077
  `,lg:`
1099
1078
  padding: 0.75rem;
1100
1079
  width: 3.5rem;
1101
1080
  height: 4rem;
1102
- ${M[40]}
1103
- `},Uo=f.forwardRef(({size:e="md",hasError:t=!1,variant:n="outlined",disabled:r=!1,className:o,maxLength:s=1,type:i="text",...a},l)=>{const d=f.useId(),u=a.id??d;return p.jsx(ay,{children:p.jsx(ly,{ref:l,$size:e,$hasError:t,$disabled:r,$variant:n,className:o,maxLength:s,type:i,disabled:r,id:u,"aria-invalid":t||void 0,"aria-disabled":r||void 0,...a})})});Uo.displayName="PinInput";const ac=(e,t,n,r,o,s,i="text",a,l)=>{const d=e.target.value;if(d.length>1)return;const u=s??o.length;if(i==="number"&&d&&!/^\d$/.test(d))return;const c=[...n];c[t]=d,r(c);const h=c.join("");a?.(h),d&&t<s-1&&o[t+1].current?.focus(),c.every(m=>m!=="")&&c.length>=u&&l?.(h)},lc=(e,t,n,r,o,s)=>{if(e.key==="Backspace"&&!n[t]&&t>0){if(n[t]){if(o){r[t-1].current?.focus();const i=[...n];i[t-1]="",o(i),s?.(i.join(""))}return}if(t>0&&(r[t-1].current?.focus(),o)){const i=[...n];i[t-1]="",o(i),s?.(i.join(""))}}e.key==="ArrowLeft"&&t>0&&r[t-1]?.current?.focus(),e.key==="ArrowRight"&&t<r.length-1&&r[t+1]?.current?.focus()},cc=(e,t,n,r,o,s,i="text",a,l)=>{e.preventDefault();const d=e.clipboardData.getData("text");if(!d)return;const u=s??o.length,c=[...n];for(let b=0;b<d.length;b++){const x=t+b;if(x>=u)break;const y=d[b];i==="number"&&!/^\d$/.test(y)||(c[x]=y)}r(c),a?.(c.join(""));const h=c.findIndex(b=>b===""),m=h!==-1?Math.min(Math.max(h,t),u-1):u-1;o[m].current?.focus();const g=c.join("");c.every(b=>b!=="")&&c.length>=u&&l?.(g)},dc=e=>Array(e).fill(null).map(()=>f.createRef()),uy=(e,t,n="text")=>!(e.length!==t||n==="number"&&!/^\d+$/.test(e)),hy=S.div`
1081
+ ${I[40]}
1082
+ `},Uo=f.forwardRef(({size:e="md",hasError:t=!1,variant:n="outlined",disabled:r=!1,className:o,maxLength:s=1,type:i="text",...a},l)=>{const d=f.useId(),u=a.id??d;return p.jsx(oy,{children:p.jsx(iy,{ref:l,$size:e,$hasError:t,$disabled:r,$variant:n,className:o,maxLength:s,type:i,disabled:r,id:u,"aria-invalid":t||void 0,"aria-disabled":r||void 0,...a})})});Uo.displayName="PinInput";const lc=(e,t,n,r,o,s,i="text",a,l)=>{const d=e.target.value;if(d.length>1)return;const u=s??o.length;if(i==="number"&&d&&!/^\d$/.test(d))return;const c=[...n];c[t]=d,r(c);const h=c.join("");a?.(h),d&&t<s-1&&o[t+1].current?.focus(),c.every(m=>m!=="")&&c.length>=u&&l?.(h)},cc=(e,t,n,r,o,s)=>{if(e.key==="Backspace"&&!n[t]&&t>0){if(n[t]){if(o){r[t-1].current?.focus();const i=[...n];i[t-1]="",o(i),s?.(i.join(""))}return}if(t>0&&(r[t-1].current?.focus(),o)){const i=[...n];i[t-1]="",o(i),s?.(i.join(""))}}e.key==="ArrowLeft"&&t>0&&r[t-1]?.current?.focus(),e.key==="ArrowRight"&&t<r.length-1&&r[t+1]?.current?.focus()},dc=(e,t,n,r,o,s,i="text",a,l)=>{e.preventDefault();const d=e.clipboardData.getData("text");if(!d)return;const u=s??o.length,c=[...n];for(let v=0;v<d.length;v++){const w=t+v;if(w>=u)break;const y=d[v];i==="number"&&!/^\d$/.test(y)||(c[w]=y)}r(c),a?.(c.join(""));const h=c.findIndex(v=>v===""),m=h!==-1?Math.min(Math.max(h,t),u-1):u-1;o[m].current?.focus();const g=c.join("");c.every(v=>v!=="")&&c.length>=u&&l?.(g)},uc=e=>Array(e).fill(null).map(()=>f.createRef()),ly=(e,t,n="text")=>!(e.length!==t||n==="number"&&!/^\d+$/.test(e)),cy=C.div`
1104
1083
  display: flex;
1105
1084
  gap: 8px;
1106
1085
  align-items: center;
1107
- `,Wo=({length:e=6,size:t="md",variant:n="outlined",hasError:r=!1,type:o="number",onChange:s,onComplete:i,className:a,pinInputClassName:l})=>{const[d,u]=f.useState(Array(e).fill("")),c=f.useMemo(()=>dc(e),[e]);return p.jsx(hy,{className:a,children:Array.from({length:e},(h,m)=>p.jsx(Uo,{className:l,size:t,variant:n,hasError:r,value:d[m],onChange:g=>ac(g,m,d,u,c,e,o,s,i),onKeyDown:g=>lc(g,m,d,c,u,s),onPaste:g=>cc(g,m,d,u,c,e,o,s,i),ref:c[m]},m))})};Wo.displayName="PinInputGroup";const fy=S.div`
1086
+ `,Wo=({length:e=6,size:t="md",variant:n="outlined",hasError:r=!1,type:o="number",onChange:s,onComplete:i,className:a,pinInputClassName:l})=>{const[d,u]=f.useState(Array(e).fill("")),c=f.useMemo(()=>uc(e),[e]);return p.jsx(cy,{className:a,children:Array.from({length:e},(h,m)=>p.jsx(Uo,{className:l,size:t,variant:n,hasError:r,value:d[m],onChange:g=>lc(g,m,d,u,c,e,o,s,i),onKeyDown:g=>cc(g,m,d,c,u,s),onPaste:g=>dc(g,m,d,u,c,e,o,s,i),ref:c[m]},m))})};Wo.displayName="PinInputGroup";const dy=C.div`
1108
1087
  position: relative;
1109
- `,py=S.input`
1088
+ `,uy=C.input`
1110
1089
  position: absolute;
1111
1090
  height: 1.5rem;
1112
1091
  width: 1.5rem;
@@ -1124,9 +1103,9 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1124
1103
  outline-color: var(--color-main-orange-primary);
1125
1104
  outline-offset: 2px;
1126
1105
  }
1127
- `,my=v`
1106
+ `,hy=b`
1128
1107
  border-color: var(--color-main-orange-primary);
1129
- `,gy=S.div`
1108
+ `,fy=C.div`
1130
1109
  height: 1.5rem;
1131
1110
  width: 1.5rem;
1132
1111
  border: 2px solid var(--color-main-input-borders);
@@ -1147,8 +1126,8 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1147
1126
  ${qe}
1148
1127
  border: 2px solid var(--color-dark-200) !important;
1149
1128
  `}
1150
- ${({$checked:e})=>e&&my}
1151
- `,yy=S.span`
1129
+ ${({$checked:e})=>e&&hy}
1130
+ `,py=C.span`
1152
1131
  display: block;
1153
1132
  height: 0.625rem;
1154
1133
  width: 0.625rem;
@@ -1157,21 +1136,21 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1157
1136
  background-color: ${({$disabled:e})=>e?"var(--color-dark-200)":"var(--color-main-orange-primary)"};
1158
1137
  opacity: ${({$checked:e})=>e?1:0};
1159
1138
  transform: ${({$checked:e})=>e?"scale(1)":"scale(0.6)"};
1160
- `,Ko=f.forwardRef(({hasError:e=!1,checked:t,disabled:n=!1,onChange:r,className:o,dotClassName:s,...i},a)=>{const l=f.useId(),d=i.id??l,u=!!t,{size:c,...h}=i;return p.jsxs(fy,{className:o,children:[p.jsx(py,{ref:a,type:"radio",id:d,checked:u||!1,disabled:n,onChange:r,"aria-invalid":e||void 0,"aria-disabled":n||void 0,"aria-checked":u?"true":"false",...h}),p.jsx(gy,{$checked:!!u,$hasError:e,$disabled:n,className:s,children:p.jsx(yy,{$disabled:n,$checked:u})})]})});Ko.displayName="RadioInputDot";const Yo=({children:e,htmlFor:t,className:n,disabled:r=!1,size:o="md",...s})=>p.jsx(Xn,{className:n,htmlFor:t,size:o,disabled:r,...s,children:e});Yo.displayName="RadioInputLabel";const vy=S.section`
1139
+ `,Ko=f.forwardRef(({hasError:e=!1,checked:t,disabled:n=!1,onChange:r,className:o,dotClassName:s,...i},a)=>{const l=f.useId(),d=i.id??l,u=!!t,{size:c,...h}=i;return p.jsxs(dy,{className:o,children:[p.jsx(uy,{ref:a,type:"radio",id:d,checked:u||!1,disabled:n,onChange:r,"aria-invalid":e||void 0,"aria-disabled":n||void 0,"aria-checked":u?"true":"false",...h}),p.jsx(fy,{$checked:!!u,$hasError:e,$disabled:n,className:s,children:p.jsx(py,{$disabled:n,$checked:u})})]})});Ko.displayName="RadioInputDot";const Yo=({children:e,htmlFor:t,className:n,disabled:r=!1,size:o="md",...s})=>p.jsx(Xn,{className:n,htmlFor:t,size:o,disabled:r,...s,children:e});Yo.displayName="RadioInputLabel";const my=C.section`
1161
1140
  display: flex;
1162
1141
  align-items: center;
1163
1142
  justify-content: center;
1164
1143
  gap: 1rem;
1165
- `,Go=f.forwardRef(({size:e="md",label:t,hasError:n=!1,checked:r,disabled:o=!1,onChange:s,className:i,dotClassName:a,labelClassName:l,...d},u)=>{const c=f.useId(),h=d.id??c;return p.jsxs(vy,{className:i,children:[p.jsx(Ko,{ref:u,size:e,hasError:n,checked:r,disabled:o,onChange:s,dotClassName:a,id:h,...d}),t&&p.jsx(Yo,{size:e,disabled:o,htmlFor:h,className:l,children:t})]})});Go.displayName="RadioInput";const uc=S.div`
1144
+ `,Go=f.forwardRef(({size:e="md",label:t,hasError:n=!1,checked:r,disabled:o=!1,onChange:s,className:i,dotClassName:a,labelClassName:l,...d},u)=>{const c=f.useId(),h=d.id??c;return p.jsxs(my,{className:i,children:[p.jsx(Ko,{ref:u,size:e,hasError:n,checked:r,disabled:o,onChange:s,dotClassName:a,id:h,...d}),t&&p.jsx(Yo,{size:e,disabled:o,htmlFor:h,className:l,children:t})]})});Go.displayName="RadioInput";const hc=C.div`
1166
1145
  display: flex;
1167
1146
  flex-direction: column;
1168
1147
  gap: 0.5rem;
1169
1148
  width: 100%;
1170
- `,by=S.div`
1149
+ `,gy=C.div`
1171
1150
  display: flex;
1172
1151
  flex-direction: column;
1173
1152
  gap: 0.75rem;
1174
- `,wy=({id:e,name:t,label:n,type:r="text",size:o="md",placeholder:s,disabled:i=!1,required:a=!1,options:l=[],checkboxLabel:d,radioName:u,pinLength:c=6,pinType:h="number",className:m,inputClassName:g,labelClassName:b,messageErrorClassName:x,leftIcon:y,rightIcon:C,iconSize:w,iconColor:A,onOptionSelect:P,onRadioChange:k,onPinComplete:E,onChange:D,...L})=>{const[_,$,U]=Zc.useField(t),I=!!($.error&&($.touched||$.value)),he=I?$.error:void 0,G=e?.toString?.()||t,B={required:a||void 0,"aria-required":a||void 0,"aria-invalid":I||void 0,"aria-describedby":I?`${G}-error`:void 0},N=O=>{if(D)return D(O);_.onChange(O)};let H;switch(r){case"textarea":{const O=R=>{D?D(R):_.onChange(R)};H=p.jsx(_o,{id:G,name:t,className:g,hasError:I,disabled:i,value:_.value??"",size:o,placeholder:s,onChange:O,...L,...B});break}case"select":{H=p.jsx(Ro,{id:G,name:t,className:g,hasError:I,disabled:i,size:o,value:_.value??"",onChange:O=>{_.onChange(O);const R=l.find(oe=>String(oe.value)===O.target.value);R&&P?.(R)},options:l,placeholder:s||"Selecciona una opción",...L,...B});break}case"checkbox":{H=p.jsx(Jn,{id:G,name:t,className:g,hasError:I,disabled:i,size:o,checked:!!_.value,label:d,onChange:O=>{U.setValue(O.target.checked)},...L,...B});break}case"radio":{const O=l;H=p.jsx(by,{children:O.map(R=>p.jsx(Go,{name:u||t,value:R.value,label:R.label,size:o,hasError:I,disabled:i,checked:_.value===R.value,onChange:oe=>{const ie=oe.target.value,z=typeof R.value=="number"?Number(ie):ie;U.setValue(z),k?.(oe)},...B},R.value))});break}case"pin":{H=p.jsx(Wo,{length:c,type:h,size:o,hasError:I,onChange:O=>U.setValue(O),onComplete:O=>{U.setValue(O),E?.(O)},...L,...B});break}case"password":{const{rightIcon:O,...R}=L;H=p.jsx(nc,{id:G,name:t,className:g,hasError:I,disabled:i,size:o,placeholder:s,leftIcon:y,iconSize:w,iconColor:A,onChange:N,...R,...B});break}case"search":{H=p.jsx(oc,{className:g,size:o,placeholder:s,leftIcon:y,rightIcon:C,iconSize:w,iconColor:A,onSearch:L.onSearch,...B});break}default:H=p.jsx(zo,{id:G,name:t,className:g,hasError:I,disabled:i,size:o,placeholder:s,type:["text","email","number","tel","url","date","date","datetime-local","time"].includes(r)?r:"text",leftIcon:y,rightIcon:C,iconSize:w,iconColor:A,value:_.value??"",onChange:N,...L,...B})}return r==="checkbox"?p.jsxs(uc,{className:m,children:[H,I&&p.jsx(Gn,{id:`${G}-error`,size:o,className:x,children:he})]}):p.jsxs(uc,{className:m,children:[n&&p.jsx(Xn,{htmlFor:G,size:o,required:a,disabled:i,className:b,children:n}),H,I&&p.jsx(Gn,{id:`${G}-error`,size:o,className:x,children:he})]})},hc={initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.2,ease:"easeInOut"},layout:!1},Xo={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.3,ease:"easeInOut"}},xy={fromBottom:{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:20},transition:{duration:.2,ease:"easeInOut"}},fromTop:{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.2,ease:"easeInOut"}},fromLeft:{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20},transition:{duration:.2,ease:"easeInOut"}},fromRight:{initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:20},transition:{duration:.2,ease:"easeInOut"}}},fc={initial:{height:0,opacity:0,y:-6},animate:{height:"auto",opacity:1,y:0},exit:{height:0,opacity:0,y:-6},transition:{duration:.2,ease:"easeInOut"}},Sy=S(Re.div)`
1153
+ `,yy=({id:e,name:t,label:n,type:r="text",size:o="md",placeholder:s,disabled:i=!1,required:a=!1,options:l=[],checkboxLabel:d,radioName:u,pinLength:c=6,pinType:h="number",className:m,inputClassName:g,labelClassName:v,messageErrorClassName:w,leftIcon:y,rightIcon:S,iconSize:x,iconColor:A,onOptionSelect:P,onRadioChange:k,onPinComplete:E,onChange:D,...L})=>{const[_,$,U]=qc.useField(t),V=!!($.error&&($.touched||$.value)),he=V?$.error:void 0,G=e?.toString?.()||t,O={required:a||void 0,"aria-required":a||void 0,"aria-invalid":V||void 0,"aria-describedby":V?`${G}-error`:void 0},N=B=>{if(D)return D(B);_.onChange(B)};let H;switch(r){case"textarea":{const B=R=>{D?D(R):_.onChange(R)};H=p.jsx(_o,{id:G,name:t,className:g,hasError:V,disabled:i,value:_.value??"",size:o,placeholder:s,onChange:B,...L,...O});break}case"select":{H=p.jsx(Ro,{id:G,name:t,className:g,hasError:V,disabled:i,size:o,value:_.value??"",onChange:B=>{_.onChange(B);const R=l.find(oe=>String(oe.value)===B.target.value);R&&P?.(R)},options:l,placeholder:s||"Selecciona una opción",...L,...O});break}case"checkbox":{H=p.jsx(Jn,{id:G,name:t,className:g,hasError:V,disabled:i,size:o,checked:!!_.value,label:d,onChange:B=>{U.setValue(B.target.checked)},...L,...O});break}case"radio":{const B=l;H=p.jsx(gy,{children:B.map(R=>p.jsx(Go,{name:u||t,value:R.value,label:R.label,size:o,hasError:V,disabled:i,checked:_.value===R.value,onChange:oe=>{const ie=oe.target.value,z=typeof R.value=="number"?Number(ie):ie;U.setValue(z),k?.(oe)},...O},R.value))});break}case"pin":{H=p.jsx(Wo,{length:c,type:h,size:o,hasError:V,onChange:B=>U.setValue(B),onComplete:B=>{U.setValue(B),E?.(B)},...L,...O});break}case"password":{const{rightIcon:B,...R}=L;H=p.jsx(rc,{id:G,name:t,className:g,hasError:V,disabled:i,size:o,placeholder:s,leftIcon:y,iconSize:x,iconColor:A,onChange:N,...R,...O});break}case"search":{H=p.jsx(ic,{className:g,size:o,placeholder:s,leftIcon:y,rightIcon:S,iconSize:x,iconColor:A,onSearch:L.onSearch,...O});break}default:H=p.jsx(zo,{id:G,name:t,className:g,hasError:V,disabled:i,size:o,placeholder:s,type:["text","email","number","tel","url","date","date","datetime-local","time"].includes(r)?r:"text",leftIcon:y,rightIcon:S,iconSize:x,iconColor:A,value:_.value??"",onChange:N,...L,...O})}return r==="checkbox"?p.jsxs(hc,{className:m,children:[H,V&&p.jsx(Gn,{id:`${G}-error`,size:o,className:w,children:he})]}):p.jsxs(hc,{className:m,children:[n&&p.jsx(Xn,{htmlFor:G,size:o,required:a,disabled:i,className:v,children:n}),H,V&&p.jsx(Gn,{id:`${G}-error`,size:o,className:w,children:he})]})},fc={initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.2,ease:"easeInOut"},layout:!1},Xo={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.3,ease:"easeInOut"}},vy={fromBottom:{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:20},transition:{duration:.2,ease:"easeInOut"}},fromTop:{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.2,ease:"easeInOut"}},fromLeft:{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20},transition:{duration:.2,ease:"easeInOut"}},fromRight:{initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:20},transition:{duration:.2,ease:"easeInOut"}}},pc={initial:{height:0,opacity:0,y:-6},animate:{height:"auto",opacity:1,y:0},exit:{height:0,opacity:0,y:-6},transition:{duration:.2,ease:"easeInOut"}},by=C(_e.div)`
1175
1154
  position: fixed;
1176
1155
  inset: 0;
1177
1156
  z-index: 50;
@@ -1185,7 +1164,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1185
1164
  @media (max-width: 768px) {
1186
1165
  padding: 0.5rem;
1187
1166
  }
1188
- `,Cy=S(Re.div)`
1167
+ `,wy=C(_e.div)`
1189
1168
  position: relative;
1190
1169
  display: flex;
1191
1170
  flex-direction: column;
@@ -1212,7 +1191,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1212
1191
  outline: none;
1213
1192
  box-shadow: var(--shadow-hover-black-card);
1214
1193
  }
1215
- `,Ty=S.button`
1194
+ `,xy=C.button`
1216
1195
  position: absolute;
1217
1196
  top: 1rem;
1218
1197
  right: 1rem;
@@ -1231,7 +1210,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1231
1210
  transform: scale(1.1);
1232
1211
  outline: none;
1233
1212
  }
1234
- `,pc=({isOpen:e,onClose:t,children:n,className:r,closeOnBackdropClick:o=!0,showCloseButton:s=!1,size:i="md",fullScreen:a=!1,closeOnEsc:l=!0,ariaLabel:d,ariaLabelledBy:u,ariaDescribedBy:c})=>{const h=f.useRef(null),m=f.useRef(null),g=x=>{o&&x.target===x.currentTarget&&t()};f.useEffect(()=>{const x=y=>{l&&y.key==="Escape"&&t()};return e?(document.addEventListener("keydown",x),document.body.style.overflow="hidden"):document.body.style.overflow="",()=>{document.removeEventListener("keydown",x),document.body.style.overflow=""}},[e,t,l]),f.useEffect(()=>{if(!e)return;m.current=document.activeElement;const x=h.current,y=()=>{x&&(x.hasAttribute("tabindex")||x.setAttribute("tabindex","-1"),x.focus())},C=window.setTimeout(y,0);function w(P){const k=["a[href]","area[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","iframe","object","embed",'[tabindex]:not([tabindex="-1"])','[contenteditable="true"]'];return Array.from(P.querySelectorAll(k.join(","))).filter(E=>!!(E.offsetWidth||E.offsetHeight||E.getClientRects().length))}const A=P=>{if(P.key!=="Tab"||!x)return;const k=w(x);if(k.length===0){P.preventDefault(),x.focus();return}const E=k[0],D=k[k.length-1],L=document.activeElement;!P.shiftKey&&L===D?(P.preventDefault(),E.focus()):P.shiftKey&&L===E&&(P.preventDefault(),D.focus())};return document.addEventListener("keydown",A),()=>{window.clearTimeout(C),document.removeEventListener("keydown",A),m.current&&m.current.focus()}},[e]);const b=p.jsx(Zt,{children:e&&p.jsx(Sy,{...Xo,onClick:g,children:p.jsxs(Cy,{...hc,ref:h,$size:i,$fullScreen:a,className:r,onClick:x=>x.stopPropagation(),role:"dialog","aria-modal":"true","aria-label":d,"aria-labelledby":d?void 0:u,"aria-describedby":c,children:[s&&p.jsx(Ty,{className:`${qn} cursor-pointer`,onClick:t,"aria-label":"Close dialog",children:p.jsx(W,{component:Ql,size:"sm"})}),n]})})});return typeof document>"u"?b:li.createPortal(b,document.body)},ky=S.div`
1213
+ `,mc=({isOpen:e,onClose:t,children:n,className:r,closeOnBackdropClick:o=!0,showCloseButton:s=!1,size:i="md",fullScreen:a=!1,closeOnEsc:l=!0,ariaLabel:d,ariaLabelledBy:u,ariaDescribedBy:c})=>{const h=f.useRef(null),m=f.useRef(null),g=w=>{o&&w.target===w.currentTarget&&t()};f.useEffect(()=>{const w=y=>{l&&y.key==="Escape"&&t()};return e?(document.addEventListener("keydown",w),document.body.style.overflow="hidden"):document.body.style.overflow="",()=>{document.removeEventListener("keydown",w),document.body.style.overflow=""}},[e,t,l]),f.useEffect(()=>{if(!e)return;m.current=document.activeElement;const w=h.current,y=()=>{w&&(w.hasAttribute("tabindex")||w.setAttribute("tabindex","-1"),w.focus())},S=window.setTimeout(y,0);function x(P){const k=["a[href]","area[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","iframe","object","embed",'[tabindex]:not([tabindex="-1"])','[contenteditable="true"]'];return Array.from(P.querySelectorAll(k.join(","))).filter(E=>!!(E.offsetWidth||E.offsetHeight||E.getClientRects().length))}const A=P=>{if(P.key!=="Tab"||!w)return;const k=x(w);if(k.length===0){P.preventDefault(),w.focus();return}const E=k[0],D=k[k.length-1],L=document.activeElement;!P.shiftKey&&L===D?(P.preventDefault(),E.focus()):P.shiftKey&&L===E&&(P.preventDefault(),D.focus())};return document.addEventListener("keydown",A),()=>{window.clearTimeout(S),document.removeEventListener("keydown",A),m.current&&m.current.focus()}},[e]);const v=p.jsx(Zt,{children:e&&p.jsx(by,{...Xo,onClick:g,children:p.jsxs(wy,{...fc,ref:h,$size:i,$fullScreen:a,className:r,onClick:w=>w.stopPropagation(),role:"dialog","aria-modal":"true","aria-label":d,"aria-labelledby":d?void 0:u,"aria-describedby":c,children:[s&&p.jsx(xy,{className:`${qn} cursor-pointer`,onClick:t,"aria-label":"Close dialog",children:p.jsx(W,{component:ec,size:"sm"})}),n]})})});return typeof document>"u"?v:li.createPortal(v,document.body)},Sy=C.div`
1235
1214
  display: flex;
1236
1215
  align-items: center;
1237
1216
  justify-content: space-between;
@@ -1264,7 +1243,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1264
1243
  flex-shrink: 0;
1265
1244
  margin-left: auto;
1266
1245
  }
1267
- `,mc=({showDivider:e=!1,variant:t="default",children:n,className:r,...o})=>p.jsx(ky,{$showDivider:e,$variant:t,className:r,...o,children:n}),Ey=S.div`
1246
+ `,gc=({showDivider:e=!1,variant:t="default",children:n,className:r,...o})=>p.jsx(Sy,{$showDivider:e,$variant:t,className:r,...o,children:n}),Cy=C.div`
1268
1247
  position: relative;
1269
1248
  display: flex;
1270
1249
  flex-direction: column;
@@ -1277,7 +1256,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1277
1256
  ${({$showTopDivider:e})=>e&&"border-top: 1px solid var(--color-main-light-borders);"}
1278
1257
 
1279
1258
  ${({$showBottomDivider:e})=>e&&"border-bottom: 1px solid var(--color-main-light-borders);"}
1280
- `,gc=({children:e,padded:t=!0,showTopDivider:n=!1,showBottomDivider:r=!1,className:o,...s})=>p.jsx(Ey,{$padded:t,$showTopDivider:n,$showBottomDivider:r,className:o,...s,children:e}),Py=S.div`
1259
+ `,yc=({children:e,padded:t=!0,showTopDivider:n=!1,showBottomDivider:r=!1,className:o,...s})=>p.jsx(Cy,{$padded:t,$showTopDivider:n,$showBottomDivider:r,className:o,...s,children:e}),Ty=C.div`
1281
1260
  display: flex;
1282
1261
  align-items: center;
1283
1262
  width: 100%;
@@ -1293,13 +1272,13 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1293
1272
  bottom: 0;
1294
1273
  background: var(--color-main-white);
1295
1274
  `}
1296
- `,yc=({align:e="end",showDivider:t=!1,gap:n=8,sticky:r=!1,children:o,className:s,...i})=>p.jsx(Py,{$align:e,$showDivider:t,$gap:n,$sticky:r,className:s,...i,children:o}),Ay=({isOpen:e,onAccept:t,onCancel:n,title:r,subtitle:o,content:s,bodyFooter:i,confirmationLabel:a="I have read and agree to the Terms and Conditions",acceptLabel:l="Accept",cancelLabel:d="Cancel",size:u="md",fullScreen:c=!1,showCloseButton:h=!0,closeOnBackdropClick:m=!1,containerClassName:g,headerClassName:b,bodyClassName:x,footerClassName:y,initiallyConfirmed:C=!1,onConfirmChange:w})=>{const[A,P]=f.useState(C);f.useEffect(()=>{e||P(C)},[e,C]);const k=E=>{P(E),w?.(E)};return p.jsxs(pc,{isOpen:e,onClose:n,size:u,fullScreen:c,showCloseButton:h,closeOnBackdropClick:m,ariaLabelledBy:"tac-title",ariaDescribedBy:"tac-subtitle",className:`${g} !h-fit !max-w-[60rem]`,children:[p.jsx(mc,{showDivider:!0,className:b,children:p.jsx(An,{id:"tac-title",size:20,children:r})}),p.jsxs(gc,{padded:!0,showBottomDivider:!0,className:x,children:[o&&p.jsx(We,{id:"tac-subtitle",size:16,children:o}),s,i]}),p.jsxs(yc,{showDivider:!0,align:"space-between",className:y,children:[p.jsx(Jn,{label:a,checked:A,onChange:E=>k(E.target.checked)}),p.jsxs("div",{style:{display:"flex",gap:"0.5rem"},children:[p.jsx(Fo,{variant:"secondary",onClick:n,children:d}),p.jsx(Fo,{variant:"primary",onClick:t,disabled:!A,children:l})]})]})]})},Zo=f.createContext(void 0),vc=({children:e})=>{const[t,n]=f.useState(!1),[r,o]=f.useState(!1);return p.jsx(Zo.Provider,{value:{isCollapsed:t,setIsCollapsed:n,isMobileOpen:r,setIsMobileOpen:o},children:e})},qo=()=>{const e=f.useContext(Zo);if(!e)throw new Error("useSidebar must be used within a SidebarProvider");return e},Jo=(e=[],t=[])=>!t||t.length===0?!1:t.includes("all")?!0:t.some(n=>e.includes(n)),Dy=v`
1275
+ `,vc=({align:e="end",showDivider:t=!1,gap:n=8,sticky:r=!1,children:o,className:s,...i})=>p.jsx(Ty,{$align:e,$showDivider:t,$gap:n,$sticky:r,className:s,...i,children:o}),ky=({isOpen:e,onAccept:t,onCancel:n,title:r,subtitle:o,content:s,bodyFooter:i,confirmationLabel:a="I have read and agree to the Terms and Conditions",acceptLabel:l="Accept",cancelLabel:d="Cancel",size:u="md",fullScreen:c=!1,showCloseButton:h=!0,closeOnBackdropClick:m=!1,containerClassName:g,headerClassName:v,bodyClassName:w,footerClassName:y,initiallyConfirmed:S=!1,onConfirmChange:x})=>{const[A,P]=f.useState(S);f.useEffect(()=>{e||P(S)},[e,S]);const k=E=>{P(E),x?.(E)};return p.jsxs(mc,{isOpen:e,onClose:n,size:u,fullScreen:c,showCloseButton:h,closeOnBackdropClick:m,ariaLabelledBy:"tac-title",ariaDescribedBy:"tac-subtitle",className:`${g} !h-fit !max-w-[60rem]`,children:[p.jsx(gc,{showDivider:!0,className:v,children:p.jsx(An,{id:"tac-title",size:20,children:r})}),p.jsxs(yc,{padded:!0,showBottomDivider:!0,className:w,children:[o&&p.jsx(Ne,{id:"tac-subtitle",size:16,children:o}),s,i]}),p.jsxs(vc,{showDivider:!0,align:"space-between",className:y,children:[p.jsx(Jn,{label:a,checked:A,onChange:E=>k(E.target.checked)}),p.jsxs("div",{style:{display:"flex",gap:"0.5rem"},children:[p.jsx(Fo,{variant:"secondary",onClick:n,children:d}),p.jsx(Fo,{variant:"primary",onClick:t,disabled:!A,children:l})]})]})]})},Zo=f.createContext(void 0),bc=({children:e})=>{const[t,n]=f.useState(!1),[r,o]=f.useState(!1);return p.jsx(Zo.Provider,{value:{isCollapsed:t,setIsCollapsed:n,isMobileOpen:r,setIsMobileOpen:o},children:e})},qo=()=>{const e=f.useContext(Zo);if(!e)throw new Error("useSidebar must be used within a SidebarProvider");return e},Jo=(e=[],t=[])=>!t||t.length===0?!1:t.includes("all")?!0:t.some(n=>e.includes(n)),Ey=b`
1297
1276
  display: flex;
1298
1277
  align-items: center;
1299
1278
  justify-content: center;
1300
1279
  flex-shrink: 0;
1301
1280
  user-select: none;
1302
- `,bc=`
1281
+ `,wc=`
1303
1282
  width: 100%;
1304
1283
  display: flex;
1305
1284
  align-items: center;
@@ -1316,8 +1295,8 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1316
1295
  outline-color: var(--color-main-blue-primary);
1317
1296
  outline-offset: -2px;
1318
1297
  }
1319
- `,$y=S.button`
1320
- ${bc}
1298
+ `,Py=C.button`
1299
+ ${wc}
1321
1300
 
1322
1301
  // Level-based padding
1323
1302
  padding: ${({$level:e})=>e===0?"0.75rem 0.875rem":"0.55rem 0.75rem"};
@@ -1336,8 +1315,8 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1336
1315
  }
1337
1316
 
1338
1317
  ${({$collapsed:e})=>e?"justify-content: center;":""}
1339
- `,My=S.button`
1340
- ${bc}
1318
+ `,Ay=C.button`
1319
+ ${wc}
1341
1320
 
1342
1321
  // Level-based padding
1343
1322
  padding: ${({$level:e})=>e===0?"0.75rem 0.875rem":"0.55rem 0.75rem"};
@@ -1356,36 +1335,36 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1356
1335
  }
1357
1336
 
1358
1337
  ${({$collapsed:e})=>e?"justify-content: center;":""}
1359
- `,Vy=S.span`
1338
+ `,Dy=C.span`
1360
1339
  display: inline-flex;
1361
1340
  align-items: center;
1362
1341
  gap: 0.75rem;
1363
1342
  min-width: 0;
1364
- `,Iy=S(We)`
1343
+ `,$y=C(Ne)`
1365
1344
  font-weight: ${({$level:e})=>e===0?600:500};
1366
1345
  color: var(--color-main-blue-primary);
1367
1346
  white-space: nowrap;
1368
1347
  overflow: hidden;
1369
1348
  text-overflow: ellipsis;
1370
- `,Ly=S(Re.div)`
1349
+ `,My=C(_e.div)`
1371
1350
  background-color: transparent;
1372
1351
  overflow: hidden;
1373
1352
  will-change: height, opacity, transform;
1374
- `,Ny=S.div`
1353
+ `,Vy=C.div`
1375
1354
  width: 100%;
1376
1355
  ${({$level:e})=>e>0?"border-top: 1px solid var(--color-light-200);":""}
1377
- `,By=S.span`
1356
+ `,Iy=C.span`
1378
1357
  width: 0.625rem;
1379
1358
  height: 0.125rem;
1380
1359
  background: var(--color-main-blue-primary);
1381
1360
  border-radius: 1px;
1382
1361
  flex: 0 0 auto;
1383
- `,Oy=S.div`
1384
- ${Dy}
1362
+ `,Ly=C.div`
1363
+ ${Ey}
1385
1364
  transform: rotate(${({$open:e})=>e?"90deg":"0deg"});
1386
1365
  pointer-events: none;
1387
1366
  transition: transform 0.3s ease-out;
1388
- `,wc=({item:e,userRoles:t,level:n=0,activePath:r,onNavigate:o})=>{const[s,i]=f.useState(!1),{isCollapsed:a,setIsMobileOpen:l}=qo(),d=f.useMemo(()=>(e.children||[]).filter(C=>Jo(t,C.permissions)),[e.children,t]);if(!f.useMemo(()=>Jo(t,e.permissions),[t,e.permissions]))return null;const c=d.length>0,h=e.href||e.path||"",m=!!(h&&r&&r.startsWith(h)),g=()=>{i(C=>!C)},b=()=>{e.href&&o?.(e.href)},x=async()=>{if(e.path)try{typeof window<"u"&&window.open(e.path,"_blank","noopener,noreferrer"),l&&l(!1)}catch(C){console.error("Error al navegar a microservicio:",C)}},y=()=>p.jsxs(p.Fragment,{children:[p.jsxs(Vy,{children:[n>0&&!a&&p.jsx(By,{}),e.icon&&p.jsx(W,{component:e.icon,size:n===0?"md":"sm",color:"var(--color-main-blue-primary)"}),!a&&p.jsx(Iy,{$level:n,size:n===0?16:n===1?14:12,color:"var(--color-dark-700, #374151)",children:e.label})]}),!a&&c&&p.jsx(Oy,{$disabled:a,$open:s,children:p.jsx(W,{component:i0,size:"sm",color:"var(--color-main-blue-primary)"})})]});return p.jsxs(Ny,{$level:n,children:[e.href&&!e.path&&!c?p.jsx($y,{type:"button",onClick:b,$level:n,$collapsed:a,$active:m,title:a?e.label:"",children:y()}):p.jsx(My,{type:"button",onClick:c?g:e.path?x:b,$level:n,$collapsed:a,$active:m,$expanded:s&&c,title:a?e.label:"",children:y()}),p.jsx(Zt,{initial:!1,children:!a&&s&&c&&p.jsx(Ly,{$level:n+1,...fc,children:d.map(C=>p.jsx(wc,{item:C,userRoles:t,level:n+1,onNavigate:o,activePath:r},C.id))})})]})},xc=S(Re.div)`
1367
+ `,xc=({item:e,userRoles:t,level:n=0,activePath:r,onNavigate:o})=>{const[s,i]=f.useState(!1),{isCollapsed:a,setIsMobileOpen:l}=qo(),d=f.useMemo(()=>(e.children||[]).filter(S=>Jo(t,S.permissions)),[e.children,t]);if(!f.useMemo(()=>Jo(t,e.permissions),[t,e.permissions]))return null;const c=d.length>0,h=e.href||e.path||"",m=!!(h&&r&&r.startsWith(h)),g=()=>{i(S=>!S)},v=()=>{e.href&&o?.(e.href)},w=async()=>{if(e.path)try{typeof window<"u"&&window.open(e.path,"_blank","noopener,noreferrer"),l&&l(!1)}catch(S){console.error("Error al navegar a microservicio:",S)}},y=()=>p.jsxs(p.Fragment,{children:[p.jsxs(Dy,{children:[n>0&&!a&&p.jsx(Iy,{}),e.icon&&p.jsx(W,{component:e.icon,size:n===0?"md":"sm",color:"var(--color-main-blue-primary)"}),!a&&p.jsx($y,{$level:n,size:n===0?16:n===1?14:12,color:"var(--color-dark-700, #374151)",children:e.label})]}),!a&&c&&p.jsx(Ly,{$disabled:a,$open:s,children:p.jsx(W,{component:i0,size:"sm",color:"var(--color-main-blue-primary)"})})]});return p.jsxs(Vy,{$level:n,children:[e.href&&!e.path&&!c?p.jsx(Py,{type:"button",onClick:v,$level:n,$collapsed:a,$active:m,title:a?e.label:"",children:y()}):p.jsx(Ay,{type:"button",onClick:c?g:e.path?w:v,$level:n,$collapsed:a,$active:m,$expanded:s&&c,title:a?e.label:"",children:y()}),p.jsx(Zt,{initial:!1,children:!a&&s&&c&&p.jsx(My,{$level:n+1,...pc,children:d.map(S=>p.jsx(xc,{item:S,userRoles:t,level:n+1,onNavigate:o,activePath:r},S.id))})})]})},Sc=C(_e.div)`
1389
1368
  position: fixed;
1390
1369
  inset: 0;
1391
1370
  background: rgba(0, 0, 0, 0.5);
@@ -1394,7 +1373,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1394
1373
  @media (max-width: 767px) {
1395
1374
  display: block;
1396
1375
  }
1397
- `,Sc=S.aside`
1376
+ `,Cc=C.aside`
1398
1377
  position: fixed;
1399
1378
  left: 0;
1400
1379
  top: 0;
@@ -1413,7 +1392,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1413
1392
  @media (min-width: 768px) {
1414
1393
  transform: translateX(0);
1415
1394
  }
1416
- `,Cc=S.div`
1395
+ `,Tc=C.div`
1417
1396
  display: flex;
1418
1397
  align-items: center;
1419
1398
  justify-content: space-between;
@@ -1421,11 +1400,11 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1421
1400
  padding: 1rem;
1422
1401
 
1423
1402
  ${({$collapsed:e})=>e?"flex-direction: column":""};
1424
- `,Tc=S.div`
1403
+ `,kc=C.div`
1425
1404
  display: flex;
1426
1405
  align-items: center;
1427
1406
  gap: 0.5rem;
1428
- `,kc=S.nav`
1407
+ `,Ec=C.nav`
1429
1408
  display: flex;
1430
1409
  flex-direction: column;
1431
1410
  justify-content: flex-start;
@@ -1433,7 +1412,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1433
1412
  flex: 1;
1434
1413
  overflow-y: auto;
1435
1414
  padding: 0.25rem 0;
1436
- `,Ec=S.button`
1415
+ `,Pc=C.button`
1437
1416
  display: flex;
1438
1417
  align-items: center;
1439
1418
  justify-content: center;
@@ -1459,7 +1438,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1459
1438
  @media (max-width: 767px) {
1460
1439
  display: none;
1461
1440
  }
1462
- `,Pc=S.button`
1441
+ `,Ac=C.button`
1463
1442
  position: fixed;
1464
1443
  top: 0.5rem;
1465
1444
  left: 1rem;
@@ -1470,7 +1449,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1470
1449
  @media (min-width: 768px) {
1471
1450
  display: none;
1472
1451
  }
1473
- `,Qo=({navigationConfig:e,userRoles:t=[],activePath:n,logoImgExpanded:r,logoImgCollapsed:o,onNavigate:s=()=>{}})=>{const{isCollapsed:i,setIsCollapsed:a,isMobileOpen:l,setIsMobileOpen:d}=qo(),u=c=>{s(c),typeof window<"u"&&window.innerWidth<768&&d(!1)};return p.jsxs(p.Fragment,{children:[p.jsx(Zt,{children:l&&p.jsx(xc,{...Xo,onClick:()=>d(!1)})}),p.jsxs(Sc,{$collapsed:l?!1:i,$open:l,children:[p.jsxs(Cc,{$collapsed:i,children:[p.jsx(Tc,{children:i?o:r}),p.jsx(Ec,{onClick:()=>a(!i),"aria-label":"Toggle collapse",children:p.jsx(W,{component:ec,size:"md",color:"var(--color-main-blue-primary)"})})]}),p.jsx(kc,{children:e.map(c=>p.jsx(wc,{item:c,userRoles:t,onNavigate:u,activePath:n},c.id))})]}),p.jsx(Pc,{onClick:()=>{d(!0),a(!1)},$hidden:l,children:p.jsx(W,{component:ec,size:30})})]})};Qo.displayName="Sidebar";const Ac={underlined:v`
1452
+ `,Qo=({navigationConfig:e,userRoles:t=[],activePath:n,logoImgExpanded:r,logoImgCollapsed:o,onNavigate:s=()=>{}})=>{const{isCollapsed:i,setIsCollapsed:a,isMobileOpen:l,setIsMobileOpen:d}=qo(),u=c=>{s(c),typeof window<"u"&&window.innerWidth<768&&d(!1)};return p.jsxs(p.Fragment,{children:[p.jsx(Zt,{children:l&&p.jsx(Sc,{...Xo,onClick:()=>d(!1)})}),p.jsxs(Cc,{$collapsed:l?!1:i,$open:l,children:[p.jsxs(Tc,{$collapsed:i,children:[p.jsx(kc,{children:i?o:r}),p.jsx(Pc,{onClick:()=>a(!i),"aria-label":"Toggle collapse",children:p.jsx(W,{component:tc,size:"md",color:"var(--color-main-blue-primary)"})})]}),p.jsx(Ec,{children:e.map(c=>p.jsx(xc,{item:c,userRoles:t,onNavigate:u,activePath:n},c.id))})]}),p.jsx(Ac,{onClick:()=>{d(!0),a(!1)},$hidden:l,children:p.jsx(W,{component:tc,size:30})})]})};Qo.displayName="Sidebar";const Dc={underlined:b`
1474
1453
  color: var(--color-main-orange-primary);
1475
1454
  text-decoration-thickness: 1px;
1476
1455
  text-underline-offset: 2px;
@@ -1500,7 +1479,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1500
1479
  text-decoration-thickness: 1px;
1501
1480
  text-underline-offset: 2px;
1502
1481
  }
1503
- `,plain:v`
1482
+ `,plain:b`
1504
1483
  color: var(--color-main-orange-primary);
1505
1484
  text-decoration: none;
1506
1485
 
@@ -1530,7 +1509,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1530
1509
  text-decoration-thickness: 1px;
1531
1510
  text-underline-offset: 2px;
1532
1511
  }
1533
- `},Dc=v`
1512
+ `},$c=b`
1534
1513
  color: var(--color-dark-200);
1535
1514
  cursor: not-allowed;
1536
1515
  pointer-events: none;
@@ -1548,16 +1527,16 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1548
1527
  text-decoration: none;
1549
1528
  transform: none;
1550
1529
  }
1551
- `,$c={sm:v`
1530
+ `,Mc={sm:b`
1552
1531
  gap: 0.25rem;
1553
- ${M[14]}
1554
- `,md:v`
1532
+ ${I[14]}
1533
+ `,md:b`
1555
1534
  gap: 0.5rem;
1556
- ${M[16]}
1557
- `,lg:v`
1535
+ ${I[16]}
1536
+ `,lg:b`
1558
1537
  gap: 0.75rem;
1559
- ${M[20]}
1560
- `},Fy=S.a`
1538
+ ${I[20]}
1539
+ `},Ny=C.a`
1561
1540
  display: inline-flex;
1562
1541
  align-items: center;
1563
1542
  border-radius: 0.25rem;
@@ -1569,19 +1548,19 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1569
1548
 
1570
1549
  cursor: pointer;
1571
1550
 
1572
- ${({$size:e})=>$c[e]}
1573
- ${({$variant:e})=>Ac[e]}
1574
- ${({$disabled:e})=>e&&Dc}
1575
- `,jy=S.span`
1551
+ ${({$size:e})=>Mc[e]}
1552
+ ${({$variant:e})=>Dc[e]}
1553
+ ${({$disabled:e})=>e&&$c}
1554
+ `,By=C.span`
1576
1555
  flex: 1 1 auto;
1577
1556
  min-width: 0;
1578
1557
  max-width: 18ch;
1579
- ${({$truncate:e})=>e&&v`
1558
+ ${({$truncate:e})=>e&&b`
1580
1559
  overflow: hidden;
1581
1560
  text-overflow: ellipsis;
1582
1561
  white-space: nowrap;
1583
1562
  `}
1584
- `,Mc=f.forwardRef(({id:e,size:t="md",variant:n="underlined",children:r,href:o,target:s,rel:i,className:a,disabled:l=!1,tabIndex:d,leftIcon:u,rightIcon:c,iconSize:h="tn",iconColor:m="currentColor",truncate:g=!1,"aria-label":b,"aria-describedby":x,onClick:y,...C},w)=>{const A=f.useCallback(k=>{if(l){k.preventDefault();return}y?.(k)},[l,y]),P={href:l?void 0:o,target:s||void 0,rel:i??(s==="_blank"?"noopener noreferrer":void 0),onClick:A,"aria-label":b??r,"aria-describedby":x,"aria-disabled":l,tabIndex:l?-1:d??0,...C};return p.jsxs(Fy,{id:e,$variant:n,$size:t,$disabled:l,className:a,ref:w,...P,children:[u&&p.jsx(W,{component:u,size:h,color:m}),p.jsx(jy,{$truncate:g,children:r}),p.jsx(W,{component:c||a0,size:t==="lg"?"sm":h,color:m})]})});Mc.displayName="Link";const Vc={default:v`
1563
+ `,Vc=f.forwardRef(({id:e,size:t="md",variant:n="underlined",children:r,href:o,target:s,rel:i,className:a,disabled:l=!1,tabIndex:d,leftIcon:u,rightIcon:c,iconSize:h="tn",iconColor:m="currentColor",truncate:g=!1,"aria-label":v,"aria-describedby":w,onClick:y,...S},x)=>{const A=f.useCallback(k=>{if(l){k.preventDefault();return}y?.(k)},[l,y]),P={href:l?void 0:o,target:s||void 0,rel:i??(s==="_blank"?"noopener noreferrer":void 0),onClick:A,"aria-label":v??r,"aria-describedby":w,"aria-disabled":l,tabIndex:l?-1:d??0,...S};return p.jsxs(Ny,{id:e,$variant:n,$size:t,$disabled:l,className:a,ref:x,...P,children:[u&&p.jsx(W,{component:u,size:h,color:m}),p.jsx(By,{$truncate:g,children:r}),p.jsx(W,{component:c||a0,size:t==="lg"?"sm":h,color:m})]})});Vc.displayName="Link";const Ic={default:b`
1585
1564
  thead tr:last-child th:first-child {
1586
1565
  border-top-left-radius: var(--border-radius-article);
1587
1566
  }
@@ -1597,7 +1576,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1597
1576
  tbody tr:last-child td:last-child {
1598
1577
  border-bottom-right-radius: var(--border-radius-article);
1599
1578
  }
1600
- `,striped:v`
1579
+ `,striped:b`
1601
1580
  border-radius: var(--border-radius-article);
1602
1581
  tbody tr:nth-child(even) td {
1603
1582
  background-color: var(--color-dark-200);
@@ -1622,11 +1601,11 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1622
1601
  tbody tr:last-child td:last-child {
1623
1602
  border-bottom-right-radius: var(--border-radius-article);
1624
1603
  }
1625
- `},Ic=v`
1604
+ `},Lc=b`
1626
1605
  tbody tr:hover td {
1627
1606
  background-color: var(--color-main-alternative-secondary);
1628
1607
  }
1629
- `,Lc=v`
1608
+ `,Nc=b`
1630
1609
  @media (max-width: 768px) {
1631
1610
  font-size: 0.875rem;
1632
1611
 
@@ -1635,37 +1614,37 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1635
1614
  padding: 0.5rem 0.75rem;
1636
1615
  }
1637
1616
  }
1638
- `,ei=v`
1617
+ `,ei=b`
1639
1618
  display: flex;
1640
1619
  align-items: center;
1641
1620
  gap: 0.5rem;
1642
1621
  width: 100%;
1643
1622
  overflow: hidden;
1644
- `,ft={sm:v`
1623
+ `,ft={sm:b`
1645
1624
  padding: 0.5rem 1rem;
1646
1625
  min-height: 2.25rem;
1647
- `,md:v`
1626
+ `,md:b`
1648
1627
  padding: 0.625rem 1.25rem;
1649
1628
  min-height: 2.5rem;
1650
- `,lg:v`
1629
+ `,lg:b`
1651
1630
  padding: 0.75rem 1.5rem;
1652
1631
  min-height: 2.75rem;
1653
- `},ti=v`
1632
+ `},ti=b`
1654
1633
  display: inline-flex;
1655
1634
  align-items: center;
1656
1635
  flex-shrink: 0;
1657
- `,zy={sm:v`
1636
+ `,Oy={sm:b`
1658
1637
  ${ft.sm}
1659
- ${M[16]}
1660
- `,md:v`
1638
+ ${I[16]}
1639
+ `,md:b`
1661
1640
  ${ft.md}
1662
- ${M[20]}
1663
- `,lg:v`
1641
+ ${I[20]}
1642
+ `,lg:b`
1664
1643
  ${ft.lg}
1665
- ${M[24]}
1666
- `},Ry=S.th`
1644
+ ${I[24]}
1645
+ `},Fy=C.th`
1667
1646
  background-color: var(--color-main-blue-primary);
1668
- ${({$size:e})=>zy[e]}
1647
+ ${({$size:e})=>Oy[e]}
1669
1648
  transition: background-color 0.3s ease-out, box-shadow 0.3s ease-out, border-color 0.3s ease-out;
1670
1649
  min-width: 8rem;
1671
1650
  width: ${({$width:e})=>e?typeof e=="number"?`${e}px`:e:"fit-content"};
@@ -1674,13 +1653,13 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1674
1653
  background-color: var(--color-purple-600);
1675
1654
  }
1676
1655
 
1677
- ${({$active:e})=>e&&v`
1656
+ ${({$active:e})=>e&&b`
1678
1657
  background-color: var(--color-blue-400);
1679
1658
  `}
1680
- `,_y=S.div`
1659
+ `,jy=C.div`
1681
1660
  ${ei}
1682
1661
  justify-content: ${({$align:e})=>e||"space-between"};
1683
- `,Hy=S.button`
1662
+ `,zy=C.button`
1684
1663
  all: unset;
1685
1664
  display: inline-flex;
1686
1665
  align-items: center;
@@ -1699,11 +1678,11 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1699
1678
  outline-color: var(--color-main-white);
1700
1679
  outline-offset: 2px;
1701
1680
  }
1702
- `,Uy=S.span`
1681
+ `,Ry=C.span`
1703
1682
  transition: transform 0.3s ease-out;
1704
1683
  display: inline-flex;
1705
1684
  transform: ${({$dir:e})=>e==="asc"?"rotate(-180deg)":"none"};
1706
- `,Nc=S.span`
1685
+ `,Bc=C.span`
1707
1686
  display: inline-flex;
1708
1687
  align-items: center;
1709
1688
  gap: 0.5rem;
@@ -1712,54 +1691,54 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1712
1691
  text-overflow: ellipsis;
1713
1692
  white-space: nowrap;
1714
1693
  flex-shrink: 1;
1715
- `,Wy=S(An)`
1694
+ `,_y=C(An)`
1716
1695
  overflow: hidden;
1717
1696
  text-overflow: ellipsis;
1718
1697
  white-space: nowrap;
1719
1698
  max-width: 100%;
1720
1699
  color: var(--color-main-white);
1721
- `,Bc=S.span`
1700
+ `,Oc=C.span`
1722
1701
  ${ti}
1723
1702
  gap: 0.375rem;
1724
- `,ni=({children:e,size:t="md",active:n=!1,sortDirection:r="none",leftIcon:o,rightIcon:s,iconSize:i="sm",iconColor:a="var(--color-main-white)",align:l="left",width:d,sortable:u,className:c,onSort:h,...m})=>{const g=r==="asc"?"desc":"asc",b=h?r==="none"?"none":r==="asc"?"ascending":"descending":void 0;return p.jsx(Ry,{$size:t,$active:n,$width:d,className:c,scope:"col","aria-sort":b,...m,children:h||u?p.jsxs(Hy,{onClick:()=>h?.(g),"aria-label":`Sort ${g}`,children:[p.jsxs(Nc,{children:[o&&p.jsx(W,{component:o,size:i,color:a}),p.jsx(Wy,{size:t==="sm"?16:t==="md"?20:24,children:e})]}),p.jsxs(Bc,{children:[p.jsx(Uy,{$dir:r,children:p.jsx(W,{component:r0,size:i,color:a})}),s&&p.jsx(W,{component:s,size:i,color:a})]})]}):p.jsxs(_y,{$align:l,children:[p.jsxs(Nc,{children:[o&&p.jsx(W,{component:o,size:i,color:a}),p.jsx(An,{size:t==="sm"?16:t==="md"?20:24,color:"var(--color-main-white)",style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",maxWidth:"100%"},children:e})]}),p.jsx(Bc,{children:s&&p.jsx(W,{component:s,size:i,color:a})})]})})};ni.displayName="TableHeaderCell";const Ky={sm:v`
1703
+ `,ni=({children:e,size:t="md",active:n=!1,sortDirection:r="none",leftIcon:o,rightIcon:s,iconSize:i="sm",iconColor:a="var(--color-main-white)",align:l="left",width:d,sortable:u,className:c,onSort:h,...m})=>{const g=r==="asc"?"desc":"asc",v=h?r==="none"?"none":r==="asc"?"ascending":"descending":void 0;return p.jsx(Fy,{$size:t,$active:n,$width:d,className:c,scope:"col","aria-sort":v,...m,children:h||u?p.jsxs(zy,{onClick:()=>h?.(g),"aria-label":`Sort ${g}`,children:[p.jsxs(Bc,{children:[o&&p.jsx(W,{component:o,size:i,color:a}),p.jsx(_y,{size:t==="sm"?16:t==="md"?20:24,children:e})]}),p.jsxs(Oc,{children:[p.jsx(Ry,{$dir:r,children:p.jsx(W,{component:r0,size:i,color:a})}),s&&p.jsx(W,{component:s,size:i,color:a})]})]}):p.jsxs(jy,{$align:l,children:[p.jsxs(Bc,{children:[o&&p.jsx(W,{component:o,size:i,color:a}),p.jsx(An,{size:t==="sm"?16:t==="md"?20:24,color:"var(--color-main-white)",style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",maxWidth:"100%"},children:e})]}),p.jsx(Oc,{children:s&&p.jsx(W,{component:s,size:i,color:a})})]})})};ni.displayName="TableHeaderCell";const Hy={sm:b`
1725
1704
  ${ft.sm}
1726
- ${M[14]}
1727
- `,md:v`
1705
+ ${I[14]}
1706
+ `,md:b`
1728
1707
  ${ft.md}
1729
- ${M[14]}
1730
- `,lg:v`
1708
+ ${I[14]}
1709
+ `,lg:b`
1731
1710
  ${ft.lg}
1732
- ${M[16]}
1733
- `},Yy=S.td`
1711
+ ${I[16]}
1712
+ `},Uy=C.td`
1734
1713
  vertical-align: middle;
1735
1714
  color: var(--color-main-blue-primary);
1736
- ${({$size:e})=>Ky[e]}
1715
+ ${({$size:e})=>Hy[e]}
1737
1716
  text-align: ${({$align:e,$variant:t})=>e||(t==="numeric"?"right":"left")};
1738
1717
  border-left: 1px solid var(--color-main-light-borders);
1739
1718
  border-top: 1px solid var(--color-main-light-borders);
1740
1719
  transition: background-color 0.3s ease-out;
1741
1720
  width: ${({$width:e})=>e?typeof e=="number"?`${e}px`:e:"auto"};
1742
1721
 
1743
- ${({$truncate:e})=>e&&v`
1722
+ ${({$truncate:e})=>e&&b`
1744
1723
  max-width: 200px;
1745
1724
  overflow: hidden;
1746
1725
  text-overflow: ellipsis;
1747
1726
  white-space: nowrap;
1748
1727
  `}
1749
1728
 
1750
- ${({$variant:e})=>e==="numeric"&&v`
1729
+ ${({$variant:e})=>e==="numeric"&&b`
1751
1730
  font-variant-numeric: tabular-nums;
1752
1731
  font-family: ui-monospace, monospace;
1753
1732
  `}
1754
- `,Gy=S.div`
1733
+ `,Wy=C.div`
1755
1734
  ${ei}
1756
1735
  justify-content: ${({$align:e})=>e==="center"?"center":e==="right"?"flex-end":"flex-start"};
1757
- `,Xy=S(We)`
1736
+ `,Ky=C(Ne)`
1758
1737
  flex: 1;
1759
1738
  min-width: 0;
1760
- `,Oc=S.span`
1739
+ `,Fc=C.span`
1761
1740
  ${ti}
1762
- `,ri=({children:e,size:t="md",align:n,width:r,truncate:o=!1,variant:s="default",className:i,leftIcon:a,rightIcon:l,iconSize:d="sm",iconColor:u="var(--color-main-blue-primary)",...c})=>{const h=a||l;return p.jsx(Yy,{$size:t,$align:n,$width:r,$truncate:o,$variant:s,className:i,...c,children:h?p.jsxs(Gy,{$align:n,children:[a&&p.jsx(Oc,{children:p.jsx(W,{component:a,size:d,color:u})}),p.jsx(Xy,{children:e}),l&&p.jsx(Oc,{children:p.jsx(W,{component:l,size:d,color:u})})]}):e})};ri.displayName="TableCell";const Zy=S.table`
1741
+ `,ri=({children:e,size:t="md",align:n,width:r,truncate:o=!1,variant:s="default",className:i,leftIcon:a,rightIcon:l,iconSize:d="sm",iconColor:u="var(--color-main-blue-primary)",...c})=>{const h=a||l;return p.jsx(Uy,{$size:t,$align:n,$width:r,$truncate:o,$variant:s,className:i,...c,children:h?p.jsxs(Wy,{$align:n,children:[a&&p.jsx(Fc,{children:p.jsx(W,{component:a,size:d,color:u})}),p.jsx(Ky,{children:e}),l&&p.jsx(Fc,{children:p.jsx(W,{component:l,size:d,color:u})})]}):e})};ri.displayName="TableCell";const Yy=C.table`
1763
1742
  width: 100%;
1764
1743
  table-layout: auto;
1765
1744
  border-collapse: separate;
@@ -1768,16 +1747,16 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1768
1747
  border-radius: var(--border-radius-article);
1769
1748
  border: 1px solid var(--color-main-light-borders);
1770
1749
 
1771
- ${({$variant:e})=>Vc[e]}
1750
+ ${({$variant:e})=>Ic[e]}
1751
+ ${Nc}
1772
1752
  ${Lc}
1773
- ${Ic}
1774
- `,qy=S.thead`
1775
- ${({$sticky:e})=>e&&v`
1753
+ `,Gy=C.thead`
1754
+ ${({$sticky:e})=>e&&b`
1776
1755
  position: sticky;
1777
1756
  top: 0;
1778
1757
  z-index: 10;
1779
1758
  `}
1780
- `,Jy=S.div`
1759
+ `,Xy=C.div`
1781
1760
  max-height: 37.5rem;
1782
1761
  overflow: auto;
1783
1762
  position: relative;
@@ -1792,7 +1771,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1792
1771
  pointer-events: none;
1793
1772
  z-index: 3;
1794
1773
  }
1795
- `,Fc=({columns:e,rows:t,size:n="md",variant:r="default",tableWrapperClassName:o,tableClassName:s,stickyHeader:i=!1,onSortChange:a})=>{const l=(d,u)=>c=>{d.onSort?.(c),a?.({columnId:d.id??String(u),direction:c})};return p.jsx(Jy,{className:o,children:p.jsxs(Zy,{$variant:r,className:s,children:[p.jsx(qy,{$sticky:i,children:p.jsx("tr",{children:e.map((d,u)=>p.jsx(ni,{size:n,leftIcon:d.leftIcon,rightIcon:d.rightIcon,iconSize:d.iconSize,iconColor:d.iconColor,sortDirection:d.sortDirection,onSort:d.onSort??(a?l(d,u):void 0),width:d.width,align:d.align,sortable:d.sortable||!!d.onSort||!!a,className:d.className,children:d.header},d.id||`col-${u}`))})}),p.jsx("tbody",{children:t.map((d,u)=>{const c=d.cells;return!c||!Array.isArray(c)?null:p.jsx("tr",{children:c.map((h,m)=>{const g=e[m];return p.jsx(ri,{size:h.size||d.size||n,align:h.align||d.align||g?.align,width:h.width||d.width||g?.width,truncate:h.truncate||d.truncate,variant:h.variant||d.variant,className:h.className||d.className||g?.className,leftIcon:h.leftIcon,rightIcon:h.rightIcon,iconSize:h.iconSize,iconColor:h.iconColor,children:h.content},`${d.id||u}-${m}`)})},d.id||u)})})]})})};Fc.displayName="Table";const Qy=S.div`
1774
+ `,jc=({columns:e,rows:t,size:n="md",variant:r="default",tableWrapperClassName:o,tableClassName:s,stickyHeader:i=!1,onSortChange:a})=>{const l=(d,u)=>c=>{d.onSort?.(c),a?.({columnId:d.id??String(u),direction:c})};return p.jsx(Xy,{className:o,children:p.jsxs(Yy,{$variant:r,className:s,children:[p.jsx(Gy,{$sticky:i,children:p.jsx("tr",{children:e.map((d,u)=>p.jsx(ni,{size:n,leftIcon:d.leftIcon,rightIcon:d.rightIcon,iconSize:d.iconSize,iconColor:d.iconColor,sortDirection:d.sortDirection,onSort:d.onSort??(a?l(d,u):void 0),width:d.width,align:d.align,sortable:d.sortable||!!d.onSort||!!a,className:d.className,children:d.header},d.id||`col-${u}`))})}),p.jsx("tbody",{children:t.map((d,u)=>{const c=d.cells;return!c||!Array.isArray(c)?null:p.jsx("tr",{children:c.map((h,m)=>{const g=e[m];return p.jsx(ri,{size:h.size||d.size||n,align:h.align||d.align||g?.align,width:h.width||d.width||g?.width,truncate:h.truncate||d.truncate,variant:h.variant||d.variant,className:h.className||d.className||g?.className,leftIcon:h.leftIcon,rightIcon:h.rightIcon,iconSize:h.iconSize,iconColor:h.iconColor,children:h.content},`${d.id||u}-${m}`)})},d.id||u)})})]})})};jc.displayName="Table";const Zy=C.div`
1796
1775
  position: relative;
1797
1776
  display: flex;
1798
1777
  align-items: center;
@@ -1810,7 +1789,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1810
1789
  outline: 2px solid var(--color-main-blue-primary);
1811
1790
  outline-offset: 2px;
1812
1791
  }
1813
- `,e1=S.div`
1792
+ `,qy=C.div`
1814
1793
  width: 2rem;
1815
1794
  height: 2rem;
1816
1795
  border-radius: 50%;
@@ -1818,7 +1797,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1818
1797
  display: flex;
1819
1798
  align-items: center;
1820
1799
  justify-content: center;
1821
- `,t1=S.div`
1800
+ `,Jy=C.div`
1822
1801
  display: flex;
1823
1802
  flex-direction: column;
1824
1803
  align-items: flex-start;
@@ -1826,7 +1805,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1826
1805
  @media (max-width: 640px) {
1827
1806
  display: none;
1828
1807
  }
1829
- `,n1=S(Re.div)`
1808
+ `,Qy=C(_e.div)`
1830
1809
  display: flex;
1831
1810
  align-items: center;
1832
1811
  justify-content: center;
@@ -1835,7 +1814,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1835
1814
  @media (max-width: 640px) {
1836
1815
  display: none;
1837
1816
  }
1838
- `,r1=S(Re.div)`
1817
+ `,e1=C(_e.div)`
1839
1818
  position: absolute;
1840
1819
  top: 100%;
1841
1820
  right: 0;
@@ -1847,7 +1826,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1847
1826
  box-shadow: var(--shadow-black-card);
1848
1827
  z-index: 100;
1849
1828
  overflow: hidden;
1850
- `,o1=S.button`
1829
+ `,t1=C.button`
1851
1830
  width: 100%;
1852
1831
  display: flex;
1853
1832
  align-items: center;
@@ -1871,7 +1850,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1871
1850
  &.danger {
1872
1851
  color: var(--color-main-waringn-state);
1873
1852
  }
1874
- `,jc=({user:e,onProfileClick:t,onLogout:n,menuItems:r=[]})=>{const[o,s]=f.useState(!1),i=f.useRef(null);f.useEffect(()=>{if(!o)return;const u=c=>{i.current&&!i.current.contains(c.target)&&s(!1)};return document.addEventListener("mousedown",u),()=>document.removeEventListener("mousedown",u)},[o]),f.useEffect(()=>{if(!o)return;const u=c=>{c.key==="Escape"&&s(!1)};return document.addEventListener("keydown",u),()=>document.removeEventListener("keydown",u)},[o]);const a=u=>u.split(" ").map(c=>c[0]).join("").toUpperCase().slice(0,2),d=[...[{id:"profile",label:"Profile",icon:p0,onClick:()=>{s(!1),t?.()},variant:"default"},{id:"logout",label:"Logout",icon:d0,onClick:()=>{s(!1),n?.()},variant:"danger"}],...r];return p.jsxs("div",{ref:i,children:[p.jsxs(Qy,{onClick:()=>s(!o),role:"button",tabIndex:0,onKeyDown:u=>{(u.key==="Enter"||u.key===" ")&&(u.preventDefault(),s(!o))},children:[p.jsx(e1,{children:e.avatarUrl?p.jsx("img",{src:e.avatarUrl,alt:e.name}):p.jsx(We,{size:14,color:"var(--color-main-white)",className:"!font-semibold",children:a(e.name)})}),p.jsxs(t1,{children:[p.jsx(We,{size:14,className:"!font-semibold",children:e.name}),p.jsx(We,{size:12,children:e.role})]}),p.jsx(n1,{animate:{rotate:o?-180:0},transition:{duration:.3},children:p.jsx(W,{component:o0,size:"sm",color:"var(--color-main-blue-primary)"})})]}),p.jsx(Zt,{children:o&&p.jsx(r1,{initial:{opacity:0,y:-10,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-10,scale:.95},transition:{duration:.15},children:d.map(u=>p.jsx(f.Fragment,{children:p.jsxs(o1,{onClick:u.onClick,className:u.variant==="danger"?"danger":"",children:[p.jsx(W,{component:u.icon,size:"sm",color:u.variant==="danger"?"var(--color-main-warning-state)":"var(--color-main-blue-primary)"}),p.jsx(We,{size:14,color:`${u.variant==="danger"&&"var(--color-main-warning-state)"}`,children:u.label})]})},u.id))})})]})};jc.displayName="UserProfile";const i1=S.header`
1853
+ `,zc=({user:e,onProfileClick:t,onLogout:n,menuItems:r=[]})=>{const[o,s]=f.useState(!1),i=f.useRef(null);f.useEffect(()=>{if(!o)return;const u=c=>{i.current&&!i.current.contains(c.target)&&s(!1)};return document.addEventListener("mousedown",u),()=>document.removeEventListener("mousedown",u)},[o]),f.useEffect(()=>{if(!o)return;const u=c=>{c.key==="Escape"&&s(!1)};return document.addEventListener("keydown",u),()=>document.removeEventListener("keydown",u)},[o]);const a=u=>u.split(" ").map(c=>c[0]).join("").toUpperCase().slice(0,2),d=[...[{id:"profile",label:"Profile",icon:p0,onClick:()=>{s(!1),t?.()},variant:"default"},{id:"logout",label:"Logout",icon:d0,onClick:()=>{s(!1),n?.()},variant:"danger"}],...r];return p.jsxs("div",{ref:i,children:[p.jsxs(Zy,{onClick:()=>s(!o),role:"button",tabIndex:0,onKeyDown:u=>{(u.key==="Enter"||u.key===" ")&&(u.preventDefault(),s(!o))},children:[p.jsx(qy,{children:e.avatarUrl?p.jsx("img",{src:e.avatarUrl,alt:e.name}):p.jsx(Ne,{size:14,color:"var(--color-main-white)",className:"!font-semibold",children:a(e.name)})}),p.jsxs(Jy,{children:[p.jsx(Ne,{size:14,className:"!font-semibold",children:e.name}),p.jsx(Ne,{size:12,children:e.role})]}),p.jsx(Qy,{animate:{rotate:o?-180:0},transition:{duration:.3},children:p.jsx(W,{component:o0,size:"sm",color:"var(--color-main-blue-primary)"})})]}),p.jsx(Zt,{children:o&&p.jsx(e1,{initial:{opacity:0,y:-10,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-10,scale:.95},transition:{duration:.15},children:d.map(u=>p.jsx(f.Fragment,{children:p.jsxs(t1,{onClick:u.onClick,className:u.variant==="danger"?"danger":"",children:[p.jsx(W,{component:u.icon,size:"sm",color:u.variant==="danger"?"var(--color-main-warning-state)":"var(--color-main-blue-primary)"}),p.jsx(Ne,{size:14,color:`${u.variant==="danger"&&"var(--color-main-warning-state)"}`,children:u.label})]})},u.id))})})]})};zc.displayName="UserProfile";const n1=C.header`
1875
1854
  position: fixed;
1876
1855
  top: 0;
1877
1856
  left: 0;
@@ -1887,15 +1866,15 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1887
1866
  padding: 0 1rem;
1888
1867
  transition: padding-left 0.3s ease-out;
1889
1868
  padding-left: 5rem;
1890
- `,s1=S.div`
1869
+ `,r1=C.div`
1891
1870
  display: flex;
1892
1871
  align-items: center;
1893
1872
  gap: 1rem;
1894
- `,a1=S.div`
1873
+ `,o1=C.div`
1895
1874
  display: flex;
1896
1875
  align-items: center;
1897
1876
  gap: 1rem;
1898
- `,l1=S.button`
1877
+ `,i1=C.button`
1899
1878
  position: relative;
1900
1879
  display: flex;
1901
1880
  align-items: center;
@@ -1919,7 +1898,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1919
1898
  &:active {
1920
1899
  transform: scale(0.92);
1921
1900
  }
1922
- `,c1=S.span`
1901
+ `,s1=C.span`
1923
1902
  position: absolute;
1924
1903
  top: 0.35rem;
1925
1904
  right: 0.35rem;
@@ -1935,12 +1914,12 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1935
1914
  display: flex;
1936
1915
  align-items: center;
1937
1916
  justify-content: center;
1938
- `,oi=({user:e,hasNotifications:t=!1,notificationCount:n,onNotificationClick:r,onUserProfileClick:o,onLogout:s,userMenuItems:i,children:a})=>{const l=(n??0)>0||t,d=n&&n>0?n:void 0,u=d?`${d} notification${d===1?"":"s"}`:l?"New notifications":"No notifications",c=`Notifications: ${u}`;return p.jsxs(i1,{children:[p.jsx(s1,{children:a}),p.jsxs(a1,{children:[p.jsxs(l1,{onClick:r,"aria-label":c,title:u,"data-has":l||void 0,children:[p.jsx(W,{component:l?u0:h0,size:"md",color:"var(--color-main-blue-primary)"}),l&&p.jsx(c1,{$withCount:!!d,"aria-hidden":!!d,children:d&&(d>99?"99+":d)})]}),e&&p.jsx(jc,{user:e,onProfileClick:o,onLogout:s,menuItems:i})]})]})};oi.displayName="Header";const d1=S.div`
1917
+ `,oi=({user:e,hasNotifications:t=!1,notificationCount:n,onNotificationClick:r,onUserProfileClick:o,onLogout:s,userMenuItems:i,children:a})=>{const l=(n??0)>0||t,d=n&&n>0?n:void 0,u=d?`${d} notification${d===1?"":"s"}`:l?"New notifications":"No notifications",c=`Notifications: ${u}`;return p.jsxs(n1,{children:[p.jsx(r1,{children:a}),p.jsxs(o1,{children:[p.jsxs(i1,{onClick:r,"aria-label":c,title:u,"data-has":l||void 0,children:[p.jsx(W,{component:l?u0:h0,size:"md",color:"var(--color-main-blue-primary)"}),l&&p.jsx(s1,{$withCount:!!d,"aria-hidden":!!d,children:d&&(d>99?"99+":d)})]}),e&&p.jsx(zc,{user:e,onProfileClick:o,onLogout:s,menuItems:i})]})]})};oi.displayName="Header";const a1=C.div`
1939
1918
  display: flex;
1940
1919
  flex-direction: column;
1941
1920
  height: 100vh;
1942
1921
  overflow: hidden;
1943
- `,u1=S.main`
1922
+ `,l1=C.main`
1944
1923
  flex: 1;
1945
1924
  margin-top: 4rem;
1946
1925
  /* Mobile-first: no lateral offset so content occupies full width */
@@ -1956,20 +1935,20 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1956
1935
  @media (min-width: 1200px) {
1957
1936
  margin-left: 5rem;
1958
1937
  }
1959
- `,h1=({children:e,navigationConfig:t,userRoles:n=[],activePath:r,user:o,hasNotifications:s=!1,notificationCount:i,onNotificationClick:a,onUserProfileClick:l,onNavigate:d,onLogout:u,userMenuItems:c=[],contentClassName:h,logoImgCollapsed:m,logoImgExpanded:g})=>p.jsxs(d1,{children:[p.jsx(Qo,{navigationConfig:t,userRoles:n,activePath:r,logoImgCollapsed:m,logoImgExpanded:g,onNavigate:d}),p.jsx(oi,{user:o,hasNotifications:s,notificationCount:i,onNotificationClick:a,onUserProfileClick:l,onLogout:u,userMenuItems:c}),p.jsx(u1,{className:h,children:e})]}),f1=e=>p.jsx(vc,{children:p.jsx(h1,{...e})});function p1(e,t,n){let r=`${e}=${encodeURIComponent(t)}; path=/; SameSite=Strict; Secure`;if(n){const o=new Date(Date.now()+n*864e5).toUTCString();r+=`; expires=${o}`}document.cookie=r}function m1(e){return document.cookie.split("; ").reduce((t,n)=>{const r=n.split("=");return r[0]===e?decodeURIComponent(r[1]):t},"")}function g1(e){document.cookie=`${e}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/`}const an={sm:{circle:"2rem",fontSize:M[14],line:"2px"},md:{circle:"2.5rem",fontSize:M[18],line:"2px"},lg:{circle:"3.25rem",fontSize:M[20],line:"3px"}},y1=S.div`
1938
+ `,c1=({children:e,navigationConfig:t,userRoles:n=[],activePath:r,user:o,hasNotifications:s=!1,notificationCount:i,onNotificationClick:a,onUserProfileClick:l,onNavigate:d,onLogout:u,userMenuItems:c=[],contentClassName:h,logoImgCollapsed:m,logoImgExpanded:g})=>p.jsxs(a1,{children:[p.jsx(Qo,{navigationConfig:t,userRoles:n,activePath:r,logoImgCollapsed:m,logoImgExpanded:g,onNavigate:d}),p.jsx(oi,{user:o,hasNotifications:s,notificationCount:i,onNotificationClick:a,onUserProfileClick:l,onLogout:u,userMenuItems:c}),p.jsx(l1,{className:h,children:e})]}),d1=e=>p.jsx(bc,{children:p.jsx(c1,{...e})});function u1(e,t,n){let r=`${e}=${encodeURIComponent(t)}; path=/; SameSite=Strict; Secure`;if(n){const o=new Date(Date.now()+n*864e5).toUTCString();r+=`; expires=${o}`}document.cookie=r}function h1(e){return document.cookie.split("; ").reduce((t,n)=>{const r=n.split("=");return r[0]===e?decodeURIComponent(r[1]):t},"")}function f1(e){document.cookie=`${e}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/`}const an={sm:{circle:"2rem",fontSize:I[14],line:"2px"},md:{circle:"2.5rem",fontSize:I[18],line:"2px"},lg:{circle:"3.25rem",fontSize:I[20],line:"3px"}},p1=C.div`
1960
1939
  display: flex;
1961
1940
  width: 100%;
1962
- `,v1=S.div`
1941
+ `,m1=C.div`
1963
1942
  display: flex;
1964
1943
  flex-direction: ${({$orientation:e})=>e==="vertical"?"column":"row"};
1965
1944
  align-items: center;
1966
1945
  width: 100%;
1967
- `,b1=S.div`
1946
+ `,g1=C.div`
1968
1947
  display: flex;
1969
1948
  align-items: center;
1970
1949
  justify-content: center;
1971
1950
  position: relative;
1972
- `,zc=S.div`
1951
+ `,Rc=C.div`
1973
1952
  display: flex;
1974
1953
  align-items: center;
1975
1954
  justify-content: center;
@@ -1990,19 +1969,19 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
1990
1969
 
1991
1970
  ${({$size:e})=>an[e].fontSize}
1992
1971
 
1993
- ${({$isCompleted:e,$isActive:t})=>t?v`
1972
+ ${({$isCompleted:e,$isActive:t})=>t?b`
1994
1973
  background-color: var(--color-main-blue-primary);
1995
1974
  color: var(--color-main-white);
1996
1975
  box-shadow: var(--shadow-hover-black-button);
1997
- `:e?v`
1976
+ `:e?b`
1998
1977
  background-color: var(--color-main-blue-primary);
1999
1978
  color: var(--color-main-white);
2000
- `:v`
1979
+ `:b`
2001
1980
  background-color: var(--color-dark-300);
2002
1981
  color: var(--color-main-white);
2003
1982
  `}
2004
1983
 
2005
- ${({$isClickable:e})=>e&&v`
1984
+ ${({$isClickable:e})=>e&&b`
2006
1985
  cursor: pointer;
2007
1986
 
2008
1987
  &:hover {
@@ -2015,21 +1994,21 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
2015
1994
  box-shadow: var(--shadow-hover-black-button);
2016
1995
  }
2017
1996
  `}
2018
- `,w1=S.div`
1997
+ `,y1=C.div`
2019
1998
  background-color: ${({$isCompleted:e})=>e?"var(--color-main-blue-primary)":"var(--color-dark-300)"};
2020
1999
  transition: background-color 0.3s ease;
2021
2000
 
2022
- ${({$orientation:e,$size:t})=>e==="vertical"?v`
2001
+ ${({$orientation:e,$size:t})=>e==="vertical"?b`
2023
2002
  width: ${an[t].line};
2024
2003
  height: 2rem;
2025
- `:v`
2004
+ `:b`
2026
2005
  height: ${an[t].line};
2027
2006
  flex: 1;
2028
2007
  min-width: 2rem;
2029
2008
  `}
2030
- `,x1=S.span`
2009
+ `,v1=C.span`
2031
2010
  position: absolute;
2032
- ${M[14]}
2011
+ ${I[14]}
2033
2012
  font-weight: 500;
2034
2013
  color: var(--color-main-white);
2035
2014
  background-color: var(--color-main-blue-primary);
@@ -2057,7 +2036,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Pn]+=1);const br={80:v`
2057
2036
  border-left-color: var(--color-main-blue-primary);
2058
2037
  }
2059
2038
 
2060
- ${zc}:hover & {
2039
+ ${Rc}:hover & {
2061
2040
  opacity: 1;
2062
2041
  }
2063
- `,S1=({steps:e,currentStep:t,orientation:n="horizontal",size:r="md",onStepClick:o,className:s})=>{const i=a=>{o?.(a)};return p.jsx(y1,{$orientation:n,className:s,children:p.jsx(v1,{$orientation:n,children:e.map((a,l)=>{const d=l===t,u=l<t,c=o!=null;return p.jsxs(f.Fragment,{children:[p.jsx(b1,{$orientation:n,children:p.jsxs(zc,{$isActive:d,$isCompleted:u,$size:r,$isClickable:c,onClick:()=>c&&i(l),role:c?"button":void 0,tabIndex:c?0:void 0,"aria-current":d?"step":void 0,"aria-label":a.label,onKeyDown:h=>{c&&(h.key==="Enter"||h.key===" ")&&(h.preventDefault(),i(l))},children:[a.content??l+1,a.label&&n==="vertical"&&p.jsx(x1,{children:a.label})]})}),l<e.length-1&&p.jsx(w1,{$isCompleted:u,$orientation:n,$size:r})]},a.id)})})})};T.ALLOWED_INPUT_TYPES=Zl,T.Aside=Sc,T.Badge=tg,T.BaseInput=zo,T.BrandLogo=Tc,T.Button=Fo,T.ButtonSpinner=Yl,T.Card=zg,T.CardBody=Ug,T.CardFooter=Kg,T.CardHeader=_g,T.Checkbox=Jn,T.CheckboxInput=Ho,T.CheckboxLabel=sc,T.CloseOpenButton=Ec,T.Dialog=pc,T.DialogBody=gc,T.DialogFooter=yc,T.DialogHeader=mc,T.Divider=rg,T.ErrorMessage=Gn,T.FileList=ic,T.FileUpload=Q0,T.FormField=wy,T.FullScreenSpinner=Wm,T.Header=oi,T.HeadingBold=An,T.HeadingRegular=ou,T.Icon=W,T.IconWrapperStyles=qn,T.InfoLabel=ig,T.Label=Xn,T.Layout=f1,T.Link=Mc,T.LinkDisabledStyles=Dc,T.LinkSizeStyles=$c,T.LinkVariantStyles=Ac,T.MobileOpenBtn=Pc,T.Nav=kc,T.Overlay=xc,T.PasswordInput=nc,T.PinInput=Uo,T.PinInputGroup=Wo,T.RadioInput=Go,T.RadioInputDot=Ko,T.RadioInputLabel=Yo,T.SearchInput=oc,T.SectionSpinner=Ym,T.SelectInput=Ro,T.Sidebar=Qo,T.SidebarContext=Zo,T.SidebarHeader=Cc,T.SidebarProvider=vc,T.Spinner=Kn,T.Stepper=S1,T.Table=Fc,T.TableCell=ri,T.TableHeaderCell=ni,T.TermsAndConditions=Ay,T.Text=We,T.TextAreaInput=_o,T.ToastProvider=Lg,T.baseContentTableStyles=ei,T.baseFieldStyles=ut,T.baseInputStyles=Zn,T.baseTableCellsSizes=ft,T.bodyTextStyles=M,T.createFieldConfig=Qg,T.createInputRefs=dc,T.deleteCookie=g1,T.disabledStyles=qe,T.errorStyles=ht,T.flushedStyles=Jl,T.getCookie=m1,T.getPropsForInputType=e0,T.handleDigitChange=ac,T.handleKeyDown=lc,T.handlePaste=cc,T.hasPermission=Jo,T.headingBoldStyles=br,T.headingRegularStyles=qi,T.isAllowedInputType=ql,T.normalizeFieldTypes=Ze,T.normalizeSelectOptions=Jg,T.overlayAnimation=Xo,T.setCookie=p1,T.sizeStyles=sn,T.slideAnimation=xy,T.smartAnimation=hc,T.submenuAnimationTopDown=fc,T.tableHoverMixin=Ic,T.tableIconContainerStyles=ti,T.tableResponsiveMixin=Lc,T.tableVariants=Vc,T.toast=Sg,T.useSidebar=qo,T.validateCode=uy,Object.defineProperty(T,Symbol.toStringTag,{value:"Module"})}));
2042
+ `,b1=({steps:e,currentStep:t,orientation:n="horizontal",size:r="md",onStepClick:o,className:s})=>{const i=a=>{o?.(a)};return p.jsx(p1,{$orientation:n,className:s,children:p.jsx(m1,{$orientation:n,children:e.map((a,l)=>{const d=l===t,u=l<t,c=o!=null;return p.jsxs(f.Fragment,{children:[p.jsx(g1,{$orientation:n,children:p.jsxs(Rc,{$isActive:d,$isCompleted:u,$size:r,$isClickable:c,onClick:()=>c&&i(l),role:c?"button":void 0,tabIndex:c?0:void 0,"aria-current":d?"step":void 0,"aria-label":a.label,onKeyDown:h=>{c&&(h.key==="Enter"||h.key===" ")&&(h.preventDefault(),i(l))},children:[a.content??l+1,a.label&&n==="vertical"&&p.jsx(v1,{children:a.label})]})}),l<e.length-1&&p.jsx(y1,{$isCompleted:u,$orientation:n,$size:r})]},a.id)})})})};T.ALLOWED_INPUT_TYPES=ql,T.Aside=Cc,T.Badge=ng,T.BaseInput=zo,T.BrandLogo=kc,T.Button=Fo,T.ButtonSpinner=Yl,T.Card=zg,T.CardBody=Ug,T.CardFooter=Kg,T.CardHeader=_g,T.Checkbox=Jn,T.CheckboxInput=Ho,T.CheckboxLabel=ac,T.CloseOpenButton=Pc,T.Dialog=mc,T.DialogBody=yc,T.DialogFooter=vc,T.DialogHeader=gc,T.Divider=og,T.ErrorMessage=Gn,T.FileList=sc,T.FileUpload=Z0,T.FormField=yy,T.FullScreenSpinner=Km,T.Header=oi,T.HeadingBold=An,T.HeadingRegular=iu,T.Icon=W,T.IconWrapperStyles=qn,T.InfoLabel=Gl,T.Label=Xn,T.Layout=d1,T.Link=Vc,T.LinkDisabledStyles=$c,T.LinkSizeStyles=Mc,T.LinkVariantStyles=Dc,T.MobileOpenBtn=Ac,T.Nav=Ec,T.Overlay=Sc,T.PasswordInput=rc,T.PinInput=Uo,T.PinInputGroup=Wo,T.RadioInput=Go,T.RadioInputDot=Ko,T.RadioInputLabel=Yo,T.SearchInput=ic,T.SectionSpinner=Gm,T.SelectInput=Ro,T.Sidebar=Qo,T.SidebarContext=Zo,T.SidebarHeader=Tc,T.SidebarProvider=bc,T.Spinner=Kn,T.Stepper=b1,T.Table=jc,T.TableCell=ri,T.TableHeaderCell=ni,T.TermsAndConditions=ky,T.Text=Ne,T.TextAreaInput=_o,T.ToastProvider=Lg,T.baseContentTableStyles=ei,T.baseFieldStyles=ut,T.baseInputStyles=Zn,T.baseTableCellsSizes=ft,T.bodyTextStyles=I,T.createFieldConfig=Qg,T.createInputRefs=uc,T.deleteCookie=f1,T.disabledStyles=qe,T.errorStyles=ht,T.flushedStyles=Ql,T.getCookie=h1,T.getPropsForInputType=e0,T.handleDigitChange=lc,T.handleKeyDown=cc,T.handlePaste=dc,T.hasPermission=Jo,T.headingBoldStyles=br,T.headingRegularStyles=qi,T.isAllowedInputType=Jl,T.normalizeFieldTypes=Ze,T.normalizeSelectOptions=Jg,T.overlayAnimation=Xo,T.setCookie=u1,T.sizeStyles=sn,T.slideAnimation=vy,T.smartAnimation=fc,T.submenuAnimationTopDown=pc,T.tableHoverMixin=Lc,T.tableIconContainerStyles=ti,T.tableResponsiveMixin=Nc,T.tableVariants=Ic,T.toast=Sg,T.useSidebar=qo,T.validateCode=ly,Object.defineProperty(T,Symbol.toStringTag,{value:"Module"})}));