PageSourceSearch

https://www.weekendsantander.com/_next/static/chunks/pages/_app-06e5e75dcedff644.js

js weekendsantander.com collected 2026-10-02 17:27:19 UTC 322,490 bytes, 280 lines download raw bytes

vendor: 1,303 bytes, line 1
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{48711:function(t,e,r){"use strict";r.d(e,{Z:function(){return ot}});var n=function(){function t(t){var e=this;this._insertTag=function(t){var r;r=0===e.tags.length?e.insertionPoint?e.insertionPoint.nextSibling:e.prepend?e.container.firstChild:e.before:e.tags[e.tags.length-1].nextSibling,e.container.insertBefore(t,r),e.tags.push(t)},this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(t){t.forEach(this._insertTag)},e.insert=function(t){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),void 0!==t.nonce&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}(this));var e=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}(e);try{r.insertRule(t,r.cssRules.length)}catch(n){}}else e.appendChild(document.createTextNode(t));this.ctr++}
vendor: 5,088 bytes, line 1
1,e.flush=function(){this.tags.forEach((function(t){var e;return null==(e=t.parentNode)?void 0:e.removeChild(t)})),this.tags=[],this.ctr=0},t}(),o=Math.abs,i=String.fromCharCode,a=Object.assign;function s(t){return t.trim()}function c(t,e,r){return t.replace(e,r)}function l(t,e){return t.indexOf(e)}function u(t,e){return 0|t.charCodeAt(e)}function d(t,e,r){return t.slice(e,r)}function f(t){return t.length}function h(t){return t.length}function p(t,e){return e.push(t),t}var m=1,g=1,v=0,b=0,y=0,x="";function w(t,e,r,n,o,i,a){return{value:t,root:e,parent:r,type:n,props:o,children:i,line:m,column:g,length:a,return:""}}function k(t,e){return a(w("",null,null,"",null,null,0),t,{length:-t.length},e)}function S(){return y=b>0?u(x,--b):0,g--,10===y&&(g=1,m--),y}function _(){return y=b<v?u(x,b++):0,g++,10===y&&(g=1,m++),y}function C(){return u(x,b)}function E(){return b}function T(t,e){return d(x,t,e)}function A(t){switch(t){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 P(t){return m=g=1,v=f(x=t),b=0,[]}function $(t){return x="",t}function R(t){return s(T(b-1,O(91===t?t+2:40===t?t+1:t)))}function j(t){for(;(y=C())&&y<33;)_();return A(t)>2||A(y)>3?"":" "}function z(t,e){for(;--e&&_()&&!(y<48||y>102||y>57&&y<65||y>70&&y<97););return T(t,E()+(e<6&&32==C()&&32==_()))}function O(t){for(;_();)switch(y){case t:return b;case 34:case 39:34!==t&&39!==t&&O(y);break;case 40:41===t&&O(t);break;case 92:_()}return b}function M(t,e){for(;_()&&t+y!==57&&(t+y!==84||47!==C()););return"/*"+T(e,b-1)+"*"+i(47===t?t:_())}function B(t){for(;!A(C());)_();return T(t,b)}var D="-ms-",I="-moz-",L="-webkit-",V="comm",F="rule",W="decl",N="@keyframes";function U(t,e){for(var r="",n=h(t),o=0;o<n;o++)r+=e(t[o],o,t,e)||"";return r}function H(t,e,r,n){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case W:return t.return=t.return||t.value;case V:return"";case N:return t.return=t.value+"{"+U(t.children,n)+"}";case F:t.value=t.props.join(",")}return f(r=U(t.children,n))?t.return=t.value+"{"+r+"}":""}function q(t){return $(Y("",null,null,null,[""],t=P(t),0,[0],t))}function Y(t,e,r,n,o,a,s,d,h){for(var m=0,g=0,v=s,b=0,y=0,x=0,w=1,k=1,T=1,A=0,P="",$=o,O=a,D=n,I=P;k;)switch(x=A,A=_()){case 40:if(108!=x&&58==u(I,v-1)){-1!=l(I+=c(R(A),"&","&\f"),"&\f")&&(T=-1);break}case 34:case 39:case 91:I+=R(A);break;case 9:case 10:case 13:case 32:I+=j(x);break;case 92:I+=z(E()-1,7);continue;case 47:switch(C()){case 42:case 47:p(J(M(_(),E()),e,r),h);break;default:I+="/"}break;case 123*w:d[m++]=f(I)*T;case 125*w:case 59:case 0:switch(A){case 0:case 125:k=0;case 59+g:-1==T&&(I=c(I,/\f/g,"")),y>0&&f(I)-v&&p(y>32?G(I+";",n,r,v-1):G(c(I," ","")+";",n,r,v-2),h);break;case 59:I+=";";default:if(p(D=Z(I,e,r,m,g,o,d,P,$=[],O=[],v),a),123===A)if(0===g)Y(I,e,D,D,$,a,v,d,O);else switch(99===b&&110===u(I,3)?100:b){case 100:case 108:case 109:case 115:Y(t,D,D,n&&p(Z(t,D,D,0,0,o,d,P,o,$=[],v),O),o,O,v,d,n?$:O);break;default:Y(I,D,D,D,[""],O,0,d,O)}}m=g=y=0,w=T=1,P=I="",v=s;break;case 58:v=1+f(I),y=x;default:if(w<1)if(123==A)--w;else if(125==A&&0==w++&&125==S())continue;switch(I+=i(A),A*w){case 38:T=g>0?1:(I+="\f",-1);break;case 44:d[m++]=(f(I)-1)*T,T=1;break;case 64:45===C()&&(I+=R(_())),b=C(),g=v=f(P=I+=B(E())),A++;break;case 45:45===x&&2==f(I)&&(w=0)}}return a}function Z(t,e,r,n,i,a,l,u,f,p,m){for(var g=i-1,v=0===i?a:[""],b=h(v),y=0,x=0,k=0;y<n;++y)for(var S=0,_=d(t,g+1,g=o(x=l[y])),C=t;S<b;++S)(C=s(x>0?v[S]+" "+_:c(_,/&\f/g,v[S])))&&(f[k++]=C);return w(t,e,r,0===i?F:u,f,p,m)}function J(t,e,r){return w(t,e,r,V,i(y),d(t,2,-2),0)}function G(t,e,r,n){return w(t,e,r,W,d(t,0,n),d(t,n+1,-1),n)}var X=function(t,e,r){for(var n=0,o=0;n=o,o=C(),38===n&&12===o&&(e[r]=1),!A(o);)_();return T(t,b)},K=function(t,e){return $(function(t,e){var r=-1,n=44;do{switch(A(n)){case 0:38===n&&12===C()&&(e[r]=1),t[r]+=X(b-1,e,r);break;case 2:t[r]+=R(n);break;case 4:if(44===n){t[++r]=58===C()?"&\f":"",e[r]=t[r].length;break}default:t[r]+=i(n)}}while(n=_());return t}(P(t),e))},Q=new WeakMap,tt=function(t){if("rule"===t.type&&t.parent&&!(t.length<1)){for(var e=t.value,r=t.parent,n=t.column===r.column&&t.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==t.props.length||58===e.charCodeAt(0)||Q.get(r))&&!n){Q.set(t,!0);for(var o=[],i=K(e,o),a=r.props,s=0,c=0;s<i.length;s++)for(var l=0;l<a.length;l++,c++)t.props[c]=o[s]?i[s].replace(/&\f/g,a[l]):a[l]+" "+i[s]}}},et=function(t){if("decl"===t.type){var e=t.value;108===e.charCodeAt(0)&&98===e.charCodeAt(2)&&(t.return="",t.value="")}};function rt(t,e){switch(function(t,e){return 45^u(t,0)?(((e<<2^u(t,0))<<2^u(t,1))<<2^u(t,2))<<2^u(t,3):0}(t,e)){case 5103:return"-webkit-print-"+t+t;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 L+t+t;
vendor: 1,665 bytes, line 1
1case 5349:case 4246:case 4810:case 6968:case 2756:return L+t+I+t+D+t+t;case 6828:case 4268:return L+t+D+t+t;case 6165:return L+t+D+"flex-"+t+t;case 5187:return L+t+c(t,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+t;case 5443:return L+t+D+"flex-item-"+c(t,/flex-|-self/,"")+t;case 4675:return L+t+D+"flex-line-pack"+c(t,/align-content|flex-|-self/,"")+t;case 5548:return L+t+D+c(t,"shrink","negative")+t;case 5292:return L+t+D+c(t,"basis","preferred-size")+t;case 6060:return"-webkit-box-"+c(t,"-grow","")+L+t+D+c(t,"grow","positive")+t;case 4554:return L+c(t,/([^-])(transform)/g,"$1-webkit-$2")+t;case 6187:return c(c(c(t,/(zoom-|grab)/,"-webkit-$1"),/(image-set)/,"-webkit-$1"),t,"")+t;case 5495:case 3959:return c(t,/(image-set\([^]*)/,"-webkit-$1$`$1");case 4968:return c(c(t,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+L+t+t;case 4095:case 3583:case 4068:case 2532:return c(t,/(.+)-inline(.+)/,"-webkit-$1$2")+t;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(f(t)-1-e>6)switch(u(t,e+1)){case 109:if(45!==u(t,e+4))break;case 102:return c(t,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1-moz-"+(108==u(t,e+3)?"$3":"$2-$3"))+t;case 115:return~l(t,"stretch")?rt(c(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(115!==u(t,e+1))break;case 6444:switch(u(t,f(t)-3-(~l(t,"!important")&&10))){case 107:return c(t,":",":-webkit-")+t;case 101:return c(t,/(.+:)([^;!]+)(;|!.+)?/,"$1-webkit-"+(45===u(t,14)?"inline-":"")+"box$3$1"+"-webkit-$2$3$1"+"-ms-$2box$3")+t}break;case 5936:switch(u(t,e+11)){case 114:return L+t+D+c(t,/[svh]\w+-[tblr]{2}/,"tb")+t;
1case 108:return L+t+D+c(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return L+t+D+c(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return L+t+D+t+t}return t}var nt=[function(t,e,r,n){if(t.length>-1&&!t.return)switch(t.type){case W:t.return=rt(t.value,t.length);break;case N:return U([k(t,{value:c(t.value,"@","@-webkit-")})],n);case F:if(t.length)return function(t,e){return t.map(e).join("")}(t.props,(function(e){switch(function(t,e){return(t=e.exec(t))?t[0]:t}(e,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return U([k(t,{props:[c(e,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return U([k(t,{props:[c(e,/:(plac\w+)/,":-webkit-input-$1")]}),k(t,{props:[c(e,/:(plac\w+)/,":-moz-$1")]}),k(t,{props:[c(e,/:(plac\w+)/,"-ms-input-$1")]})],n)}return""}))}}],ot=function(t){var e=t.key;if("css"===e){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))}))}var o,i,a=t.stylisPlugins||nt,s={},c=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+e+' "]'),(function(t){for(var e=t.getAttribute("data-emotion").split(" "),r=1;r<e.length;r++)s[e[r]]=!0;c.push(t)}));var l,u,d=[H,(u=function(t){l.insert(t)},function(t){t.root||(t=t.return)&&u(t)})],f=function(t){var e=h(t);return function(r,n,o,i){for(var a="",s=0;s<e;s++)a+=t[s](r,n,o,i)||"";return a}}([tt,et].concat(a,d));i=function(t,e,r,n){l=r,U(q(t?t+"{"+e.styles+"}":e.styles),f),n&&(p.inserted[e.name]=!0)};var p={key:e,sheet:new n({key:e,container:o,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:i};return p.sheet.hydrate(c),p}},45042:function(t,e,r){"use strict";function n(t){var e=Object.create(null);return function(r){return void 0===e[r]&&(e[r]=t(r)),e[r]}}r.d(e,{Z:function(){return n}})},20442:function(t,e,r){"use strict";r.d(e,{E:function(){return y},T:function(){return f},a:function(){return p},c:function(){return v},h:function(){return m},w:function(){return d}});var n=r(67294),o=r(48711),i=r(87462),a=function(t){var e=new WeakMap;return function(r){if(e.has(r))return e.get(r);var n=t(r);return e.set(r,n),n}},s=r(70444),c=r(85662),l=r(27278),u=n.createContext("undefined"!==typeof HTMLElement?(0,o.Z)({key:"css"}):null),d=(u.Provider,function(t){return(0,n.forwardRef)((function(e,r){var o=(0,n.useContext)(u);return t(e,o,r)}))}),f=n.createContext({}),h=a((function(t){return a((function(e){return function(t,e){return"function"===typeof e?e(t):(0,i.Z)({},t,e)}(t,e)}))})),p=function(t){var e=n.useContext(f);return t.theme!==e&&(e=h(e)(t.theme)),n.createElement(f.Provider,{value:e},t.children)};var m={}.hasOwnProperty,g="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",v=function(t,e){var r={};for(var n in e)m.call(e,n)&&(r[n]=e[n]);return r[g]=t,r},b=function(t){var e=t.cache,r=t.serialized,n=t.isStringTag;return(0,s.hC)(e,r,n),(0,l.L)((function(){return(0,s.My)(e,r,n)})),null},y=d((function(t,e,r){var o=t.css;"string"===typeof o&&void 0!==e.registered[o]&&(o=e.registered[o]);var i=t[g],a=[o],l="";"string"===typeof t.className?l=(0,s.fp)(e.registered,a,t.className):null!=t.className&&(l=t.className+" ");var u=(0,c.O)(a,void 0,n.useContext(f));l+=e.key+"-"+u.name;var d={};for(var h in t)m.call(t,h)&&"css"!==h&&h!==g&&(d[h]=t[h]);return d.className=l,r&&(d.ref=r),n.createElement(n.Fragment,null,n.createElement(b,{cache:e,serialized:u,isStringTag:"string"===typeof i}),n.createElement(i,d))}))},70917:function(t,e,r){"use strict";r.d(e,{F4:function(){return d},iv:function(){return u},tZ:function(){return c},xB:function(){return l}});var n=r(20442),o=r(67294),i=r(70444),a=r(27278),s=r(85662),c=(r(48711),r(8679),function(t,e){var r=arguments;if(null==e||!n.h.call(e,"css"))return o.createElement.apply(void 0,r);var i=r.length,a=new Array(i);a[0]=n.E,a[1]=(0,n.c)(t,e);for(var s=2;s<i;s++)a[s]=r[s];return o.createElement.apply(null,a)});!function(t){var e;e||(e=t.JSX||(t.JSX={}))}(c||(c={}));var l=(0,n.w)((function(t,e){var r=t.styles,c=(0,s.O)([r],void 0,o.useContext(n.T)),l=o.useRef();return(0,a.j)((function(){var t=e.key+"-global",r=new e.sheet.constructor({key:t,nonce:e.sheet.nonce,container:e.sheet.container,speedy:e.sheet.isSpeedy}),n=!1,o=document.querySelector('style[data-emotion="'+t+" "+c.name+'"]');return e.sheet.tags.length&&(r.before=e.sheet.tags[0]),null!==o&&(n=!0,o.setAttribute("data-emotion",t),r.hydrate([o])),l.current=[r,n],function(){r.flush()}}),[e]),(0,a.j)((function(){var t=l.current,r=t[0];if(t[1])t[1]=!1;else{if(void 0!==c.next&&(0,i.My)(e,c.next,!0),r.tags.length){var n=r.tags[r.tags.length-1].nextElementSibling;r.before=n,r.flush()}e.insert("",c,r,!1)}}),[e,c.name]),null}));function u(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return(0,s.O)(e)}function d(){var t=u.apply(void 0,arguments),e="animation-"+t.name;return{name:e,styles:"@keyframes "+e+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},85662:function(t,e,r){"use strict";r.d(e,{O:function(){return p}});var n={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,msGr
1idRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=r(45042),i=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(t){return 45===t.charCodeAt(1)},c=function(t){return null!=t&&"boolean"!==typeof t},l=(0,o.Z)((function(t){return s(t)?t:t.replace(i,"-$&").toLowerCase()})),u=function(t,e){switch(t){case"animation":case"animationName":if("string"===typeof e)return e.replace(a,(function(t,e,r){return f={name:e,styles:r,next:f},e}))}return 1===n[t]||s(t)||"number"!==typeof e||0===e?e:e+"px"};function d(t,e,r){if(null==r)return"";var n=r;if(void 0!==n.__emotion_styles)return n;switch(typeof r){case"boolean":return"";case"object":var o=r;if(1===o.anim)return f={name:o.name,styles:o.styles,next:f},o.name;var i=r;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)f={name:a.name,styles:a.styles,next:f},a=a.next;return i.styles+";"}return function(t,e,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=d(t,e,r[o])+";";else for(var i in r){var a=r[i];if("object"!==typeof a){var s=a;null!=e&&void 0!==e[s]?n+=i+"{"+e[s]+"}":c(s)&&(n+=l(i)+":"+u(i,s)+";")}else if(!Array.isArray(a)||"string"!==typeof a[0]||null!=e&&void 0!==e[a[0]]){var f=d(t,e,a);switch(i){case"animation":case"animationName":n+=l(i)+":"+f+";";break;default:n+=i+"{"+f+"}"}}else for(var h=0;h<a.length;h++)c(a[h])&&(n+=l(i)+":"+u(i,a[h])+";")}return n}(t,e,r);case"function":if(void 0!==t){var s=f,h=r(t);return f=s,d(t,e,h)}}var p=r;if(null==e)return p;var m=e[p];return void 0!==m?m:p}var f,h=/label:\s*([^\s;{]+)\s*(;|$)/g;function p(t,e,r){if(1===t.length&&"object"===typeof t[0]&&null!==t[0]&&void 0!==t[0].styles)return t[0];var n=!0,o="";f=void 0;var i=t[0];null==i||void 0===i.raw?(n=!1,o+=d(r,e,i)):o+=i[0];for(var a=1;a<t.length;a++){if(o+=d(r,e,t[a]),n)o+=i[a]}h.lastIndex=0;for(var s,c="";null!==(s=h.exec(o));)c+="-"+s[1];var l=function(t){for(var e,r=0,n=0,o=t.length;o>=4;++n,o-=4)e=1540483477*(65535&(e=255&t.charCodeAt(n)|(255&t.charCodeAt(++n))<<8|(255&t.charCodeAt(++n))<<16|(255&t.charCodeAt(++n))<<24))+(59797*(e>>>16)<<16),r=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&t.charCodeAt(n+2))<<16;case 2:r^=(255&t.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&t.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+c;return{name:l,styles:o,next:f}}},10166:function(t,e,r){"use strict";r.d(e,{Z:function(){return g}});var n=r(87462),o=r(20442),i=r(85662),a=r(27278),s=r(70444),c=r(67294),l=r(45042),u=/^((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|fetchpriority|fetchPriority|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|colorRen
1dering|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)-.*))$/,d=(0,l.Z)((function(t){return u.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91})),f=function(t){return"theme"!==t},h=function(t){return"string"===typeof t&&t.charCodeAt(0)>96?d:f},p=function(t,e,r){var n;if(e){var o=e.shouldForwardProp;n=t.__emotion_forwardProp&&o?function(e){return t.__emotion_forwardProp(e)&&o(e)}:o}return"function"!==typeof n&&r&&(n=t.__emotion_forwardProp),n},m=function(t){var e=t.cache,r=t.serialized,n=t.isStringTag;return(0,s.hC)(e,r,n),(0,a.L)((function(){return(0,s.My)(e,r,n)})),null},g=function t(e,r){var a,l,u=e.__emotion_real===e,d=u&&e.__emotion_base||e;void 0!==r&&(a=r.label,l=r.target);var f=p(e,r,u),g=f||h(d),v=!g("as");return function(){var b=arguments,y=u&&void 0!==e.__emotion_styles?e.__emotion_styles.slice(0):[];if(void 0!==a&&y.push("label:"+a+";"),null==b[0]||void 0===b[0].raw)y.push.apply(y,b);else{var x=b[0];y.push(x[0]);for(var w=b.length,k=1;k<w;k++)y.push(b[k],x[k])}var S=(0,o.w)((function(t,e,r){var n=v&&t.as||d,a="",u=[],p=t;if(null==t.theme){for(var b in p={},t)p[b]=t[b];p.theme=c.useContext(o.T)}"string"===typeof t.className?a=(0,s.fp)(e.registered,u,t.className):null!=t.className&&(a=t.className+" ");var x=(0,i.O)(y.concat(u),e.registered,p);a+=e.key+"-"+x.name,void 0!==l&&(a+=" "+l);var w=v&&void 0===f?h(n):g,k={};for(var S in t)v&&"as"===S||w(S)&&(k[S]=t[S]);return k.className=a,r&&(k.ref=r),c.createElement(c.Fragment,null,c.createElement(m,{cache:e,serialized:x,isStringTag:"string"===typeof n}),c.createElement(n,k))}));return S.displayName=void 0!==a?a:"Styled("+("string"===typeof d?d:d.displayName||d.name||"Component")+")",S.defaultProps=e.defaultProps,S.__emotion_real=S,S.__emotion_base=d,S.__emotion_styles=y,S.__emotion_forwardProp=f,Object.defineProperty(S,"toString",{value:function(){return"."+l}}),S.withComponent=function(e,o){return t(e,(0,n.Z)({},r,o,{shouldForwardProp:p(S,o,!0)})).apply(void 0,y)},S}}.bind(null);["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","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","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","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(t){g[t]=g(t)}
vendor: 4,745 bytes, line 1
1))},27278:function(t,e,r){"use strict";var n;r.d(e,{L:function(){return a},j:function(){return s}});var o=r(67294),i=!!(n||(n=r.t(o,2))).useInsertionEffect&&(n||(n=r.t(o,2))).useInsertionEffect,a=i||function(t){return t()},s=i||o.useLayoutEffect},70444:function(t,e,r){"use strict";r.d(e,{My:function(){return i},fp:function(){return n},hC:function(){return o}});function n(t,e,r){var n="";return r.split(" ").forEach((function(r){void 0!==t[r]?e.push(t[r]+";"):r&&(n+=r+" ")})),n}var o=function(t,e,r){var n=t.key+"-"+e.name;!1===r&&void 0===t.registered[n]&&(t.registered[n]=e.styles)},i=function(t,e,r){o(t,e,r);var n=t.key+"-"+e.name;if(void 0===t.inserted[e.name]){var i=e;do{t.insert(e===i?"."+n:"",i,t.sheet,!0),i=i.next}while(void 0!==i)}}},27484:function(t){t.exports=function(){"use strict";var t=1e3,e=6e4,r=36e5,n="millisecond",o="second",i="minute",a="hour",s="day",c="week",l="month",u="quarter",d="year",f="date",h="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||e[0])+"]"}},v=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},b={s:v,z:function(t){var e=-t.utcOffset(),r=Math.abs(e),n=Math.floor(r/60),o=r%60;return(e<=0?"+":"-")+v(n,2,"0")+":"+v(o,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var n=12*(r.year()-e.year())+(r.month()-e.month()),o=e.clone().add(n,l),i=r-o<0,a=e.clone().add(n+(i?-1:1),l);return+(-(n+(r-o)/(i?o-a:a-o))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:l,y:d,w:c,d:s,D:f,h:a,m:i,s:o,ms:n,Q:u}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},y="en",x={};x[y]=g;var w="$isDayjsObject",k=function(t){return t instanceof E||!(!t||!t[w])},S=function t(e,r,n){var o;if(!e)return y;if("string"==typeof e){var i=e.toLowerCase();x[i]&&(o=i),r&&(x[i]=r,o=i);var a=e.split("-");if(!o&&a.length>1)return t(a[0])}else{var s=e.name;x[s]=e,o=s}return!n&&o&&(y=o),o||!n&&y},_=function(t,e){if(k(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new E(r)},C=b;C.l=S,C.i=k,C.w=function(t,e){return _(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var E=function(){function g(t){this.$L=S(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[w]=!0}var v=g.prototype;return v.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(C.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(p);if(n){var o=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(e)}(t),this.init()},v.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},v.$utils=function(){return C},v.isValid=function(){return!(this.$d.toString()===h)},v.isSame=function(t,e){var r=_(t);return this.startOf(e)<=r&&r<=this.endOf(e)},v.isAfter=function(t,e){return _(t)<this.startOf(e)},v.isBefore=function(t,e){return this.endOf(e)<_(t)},v.$g=function(t,e,r){return C.u(t)?this[e]:this.set(r,t)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(t,e){var r=this,n=!!C.u(e)||e,u=C.p(t),h=function(t,e){var o=C.w(r.$u?Date.UTC(r.$y,e,t):new Date(r.$y,e,t),r);return n?o:o.endOf(s)},p=function(t,e){return C.w(r.toDate()[t].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(e)),r)},m=this.$W,g=this.$M,v=this.$D,b="set"+(this.$u?"UTC":"");switch(u){case d:return n?h(1,0):h(31,11);case l:return n?h(1,g):h(0,g+1);case c:var y=this.$locale().weekStart||0,x=(m<y?m+7:m)-y;return h(n?v-x:v+(6-x),g);case s:case f:return p(b+"Hours",0);case a:return p(b+"Minutes",1);case i:return p(b+"Seconds",2);case o:return p(b+"Milliseconds",3);default:return this.clone()}},v.endOf=function(t){return this.startOf(t,!1)},v.$set=function(t,e){var r,c=C.p(t),u="set"+(this.$u?"UTC":""),h=(r={},r[s]=u+"Date",r[f]=u+"Date",r[l]=u+"Month",r[d]=u+"FullYear",r[a]=u+"Hours",r[i]=u+"Minutes",r[o]=u+"Seconds",r[n]=u+"Milliseconds",r)[c],p=c===s?this.$D+(e-this.$W):e;if(c===l||c===d){var m=this.clone().set(f,1);
1m.$d[h](p),m.init(),this.$d=m.set(f,Math.min(this.$D,m.daysInMonth())).$d}else h&&this.$d[h](p);return this.init(),this},v.set=function(t,e){return this.clone().$set(t,e)},v.get=function(t){return this[C.p(t)]()},v.add=function(n,u){var f,h=this;n=Number(n);var p=C.p(u),m=function(t){var e=_(h);return C.w(e.date(e.date()+Math.round(t*n)),h)};if(p===l)return this.set(l,this.$M+n);if(p===d)return this.set(d,this.$y+n);if(p===s)return m(1);if(p===c)return m(7);var g=(f={},f[i]=e,f[a]=r,f[o]=t,f)[p]||1,v=this.$d.getTime()+n*g;return C.w(v,this)},v.subtract=function(t,e){return this.add(-1*t,e)},v.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||h;var n=t||"YYYY-MM-DDTHH:mm:ssZ",o=C.z(this),i=this.$H,a=this.$m,s=this.$M,c=r.weekdays,l=r.months,u=r.meridiem,d=function(t,r,o,i){return t&&(t[r]||t(e,n))||o[r].slice(0,i)},f=function(t){return C.s(i%12||12,t,"0")},p=u||function(t,e,r){var n=t<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(m,(function(t,n){return n||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return C.s(e.$y,4,"0");case"M":return s+1;case"MM":return C.s(s+1,2,"0");case"MMM":return d(r.monthsShort,s,l,3);case"MMMM":return d(l,s);case"D":return e.$D;case"DD":return C.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return d(r.weekdaysMin,e.$W,c,2);case"ddd":return d(r.weekdaysShort,e.$W,c,3);case"dddd":return c[e.$W];case"H":return String(i);case"HH":return C.s(i,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return p(i,a,!0);case"A":return p(i,a,!1);case"m":return String(a);case"mm":return C.s(a,2,"0");case"s":return String(e.$s);case"ss":return C.s(e.$s,2,"0");case"SSS":return C.s(e.$ms,3,"0");case"Z":return o}return null}(t)||o.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(n,f,h){var p,m=this,g=C.p(f),v=_(n),b=(v.utcOffset()-this.utcOffset())*e,y=this-v,x=function(){return C.m(m,v)};switch(g){case d:p=x()/12;break;case l:p=x();break;case u:p=x()/3;break;case c:p=(y-b)/6048e5;break;case s:p=(y-b)/864e5;break;case a:p=y/r;break;case i:p=y/e;break;case o:p=y/t;break;default:p=y}return h?p:C.a(p)},v.daysInMonth=function(){return this.endOf(l).$D},v.$locale=function(){return x[this.$L]},v.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),n=S(t,e,!0);return n&&(r.$L=n),r},v.clone=function(){return C.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},g}(),T=E.prototype;return _.prototype=T,[["$ms",n],["$s",o],["$m",i],["$H",a],["$W",s],["$M",l],["$y",d],["$D",f]].forEach((function(t){T[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),_.extend=function(t,e){return t.$i||(t(e,E,_),t.$i=!0),_},_.locale=S,_.isDayjs=k,_.unix=function(t){return _(1e3*t)},_.en=x[y],_.Ls=x,_.p={},_}()},67763:function(t,e,r){t.exports=function(t){"use strict";function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var r=e(t),n={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinal:function(t){return t+"\xba"}};return r.default.locale(n,null,!0),n}(r(27484))},24394:function(t,e,r){"use strict";r.d(e,{K:function(){return n},k:function(){return o}});var n=function(){},o=function(){}},8679:function(t,e,r){"use strict";var n=r(59864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(t){return n.isMemo(t)?a:s[t.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;
1t.exports=function t(e,r,n){if("string"!==typeof r){if(p){var o=h(r);o&&o!==p&&t(e,o,n)}var a=u(r);d&&(a=a.concat(d(r)));for(var s=c(e),m=c(r),g=0;g<a.length;++g){var v=a[g];if(!i[v]&&(!n||!n[v])&&(!m||!m[v])&&(!s||!s[v])){var b=f(r,v);try{l(e,v,b)}catch(y){}}}}return e}},38554:function(t,e,r){t=r.nmd(t);var n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Function]",s="[object Object]",c=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u[i]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u[a]=u["[object Map]"]=u["[object Number]"]=u[s]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1;var d="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,f="object"==typeof self&&self&&self.Object===Object&&self,h=d||f||Function("return this")(),p=e&&!e.nodeType&&e,m=p&&t&&!t.nodeType&&t,g=m&&m.exports===p,v=g&&d.process,b=function(){try{var t=m&&m.require&&m.require("util").types;return t||v&&v.binding&&v.binding("util")}catch(e){}}(),y=b&&b.isTypedArray;function x(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var w,k,S=Array.prototype,_=Function.prototype,C=Object.prototype,E=h["__core-js_shared__"],T=_.toString,A=C.hasOwnProperty,P=function(){var t=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),$=C.toString,R=T.call(Object),j=RegExp("^"+T.call(A).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),z=g?h.Buffer:void 0,O=h.Symbol,M=h.Uint8Array,B=z?z.allocUnsafe:void 0,D=(w=Object.getPrototypeOf,k=Object,function(t){return w(k(t))}),I=Object.create,L=C.propertyIsEnumerable,V=S.splice,F=O?O.toStringTag:void 0,W=function(){try{var t=pt(Object,"defineProperty");return t({},"",{}),t}catch(e){}}(),N=z?z.isBuffer:void 0,U=Math.max,H=Date.now,q=pt(h,"Map"),Y=pt(Object,"create"),Z=function(){function t(){}return function(e){if(!Et(e))return{};if(I)return I(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();function J(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function G(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function X(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function K(t){var e=this.__data__=new G(t);this.size=e.size}function Q(t,e){var r=wt(t),n=!r&&xt(t),o=!r&&!n&&St(t),i=!r&&!n&&!o&&At(t),a=r||n||o||i,s=a?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],c=s.length;for(var l in t)!e&&!A.call(t,l)||a&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||mt(l,c))||s.push(l);return s}function tt(t,e,r){(void 0!==r&&!yt(t[e],r)||void 0===r&&!(e in t))&&nt(t,e,r)}function et(t,e,r){var n=t[e];A.call(t,e)&&yt(n,r)&&(void 0!==r||e in t)||nt(t,e,r)}function rt(t,e){for(var r=t.length;r--;)if(yt(t[r][0],e))return r;return-1}function nt(t,e,r){"__proto__"==e&&W?W(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}J.prototype.clear=function(){this.__data__=Y?Y(null):{},this.size=0},J.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},J.prototype.get=function(t){var e=this.__data__;if(Y){var r=e[t];return r===n?void 0:r}return A.call(e,t)?e[t]:void 0},J.prototype.has=function(t){var e=this.__data__;return Y?void 0!==e[t]:A.call(e,t)},J.prototype.set=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Y&&void 0===e?n:e,this},G.prototype.clear=function(){this.__data__=[],this.size=0},G.prototype.delete=function(t){var e=this.__data__,r=rt(e,t);return!(r<0)&&(r==e.length-1?e.pop():V.call(e,r,1),--this.size,!0)},G.prototype.get=function(t){var e=this.__data__,r=rt(e,t);return r<0?void 0:e[r][1]},G.prototype.has=function(t){return rt(this.__data__,t)>-1}
1,G.prototype.set=function(t,e){var r=this.__data__,n=rt(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this},X.prototype.clear=function(){this.size=0,this.__data__={hash:new J,map:new(q||G),string:new J}},X.prototype.delete=function(t){var e=ht(this,t).delete(t);return this.size-=e?1:0,e},X.prototype.get=function(t){return ht(this,t).get(t)},X.prototype.has=function(t){return ht(this,t).has(t)},X.prototype.set=function(t,e){var r=ht(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this},K.prototype.clear=function(){this.__data__=new G,this.size=0},K.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},K.prototype.get=function(t){return this.__data__.get(t)},K.prototype.has=function(t){return this.__data__.has(t)},K.prototype.set=function(t,e){var r=this.__data__;if(r instanceof G){var n=r.__data__;if(!q||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new X(n)}return r.set(t,e),this.size=r.size,this};var ot,it=function(t,e,r){for(var n=-1,o=Object(t),i=r(t),a=i.length;a--;){var s=i[ot?a:++n];if(!1===e(o[s],s,o))break}return t};function at(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":F&&F in Object(t)?function(t){var e=A.call(t,F),r=t[F];try{t[F]=void 0;var n=!0}catch(i){}var o=$.call(t);n&&(e?t[F]=r:delete t[F]);return o}(t):function(t){return $.call(t)}(t)}function st(t){return Tt(t)&&at(t)==i}function ct(t){return!(!Et(t)||function(t){return!!P&&P in t}(t))&&(_t(t)?j:c).test(function(t){if(null!=t){try{return T.call(t)}catch(e){}try{return t+""}catch(e){}}return""}(t))}function lt(t){if(!Et(t))return function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}(t);var e=gt(t),r=[];for(var n in t)("constructor"!=n||!e&&A.call(t,n))&&r.push(n);return r}function ut(t,e,r,n,o){t!==e&&it(e,(function(i,a){if(o||(o=new K),Et(i))!function(t,e,r,n,o,i,a){var c=vt(t,r),l=vt(e,r),u=a.get(l);if(u)return void tt(t,r,u);var d=i?i(c,l,r+"",t,e,a):void 0,f=void 0===d;if(f){var h=wt(l),p=!h&&St(l),m=!h&&!p&&At(l);d=l,h||p||m?wt(c)?d=c:Tt(g=c)&&kt(g)?d=function(t,e){var r=-1,n=t.length;e||(e=Array(n));for(;++r<n;)e[r]=t[r];return e}(c):p?(f=!1,d=function(t,e){if(e)return t.slice();var r=t.length,n=B?B(r):new t.constructor(r);return t.copy(n),n}(l,!0)):m?(f=!1,d=function(t,e){var r=e?function(t){var e=new t.constructor(t.byteLength);return new M(e).set(new M(t)),e}(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}(l,!0)):d=[]:function(t){if(!Tt(t)||at(t)!=s)return!1;var e=D(t);if(null===e)return!0;var r=A.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&T.call(r)==R}(l)||xt(l)?(d=c,xt(c)?d=function(t){return function(t,e,r,n){var o=!r;r||(r={});var i=-1,a=e.length;for(;++i<a;){var s=e[i],c=n?n(r[s],t[s],s,r,t):void 0;void 0===c&&(c=t[s]),o?nt(r,s,c):et(r,s,c)}return r}(t,Pt(t))}(c):Et(c)&&!_t(c)||(d=function(t){return"function"!=typeof t.constructor||gt(t)?{}:Z(D(t))}(l))):f=!1}var g;f&&(a.set(l,d),o(d,l,n,i,a),a.delete(l));tt(t,r,d)}(t,e,a,r,ut,n,o);else{var c=n?n(vt(t,a),i,a+"",t,e,o):void 0;void 0===c&&(c=i),tt(t,a,c)}}),Pt)}function dt(t,e){return bt(function(t,e,r){return e=U(void 0===e?t.length-1:e,0),function(){for(var n=arguments,o=-1,i=U(n.length-e,0),a=Array(i);++o<i;)a[o]=n[e+o];o=-1;for(var s=Array(e+1);++o<e;)s[o]=n[o];return s[e]=r(a),x(t,this,s)}}(t,e,jt),t+"")}var ft=W?function(t,e){return W(t,"toString",{configurable:!0,enumerable:!1,value:(r=e,function(){return r}),writable:!0});var r}:jt;function ht(t,e){var r=t.__data__;return function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?r["string"==typeof e?"string":"hash"]:r.map}function pt(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return ct(r)?r:void 0}function mt(t,e){var r=typeof t;return!!(e=null==e?o:e)&&("number"==r||"symbol"!=r&&l.test(t))&&t>-1&&t%1==0&&t<e}function gt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||C)}function vt(t,e){if(("constructor"!==e||"function"!==typeof t[e])&&"__proto__"!=e)return t[e]}var bt=function(t){var e=0,r=0;return function(){var n=H(),o=16-(n-r);if(r=n,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(ft);function yt(t,e){return t===e||t!==t&&e!==e}var xt=st(function(){return arguments}())?st:function(t){return Tt(t)&&A.call(t,"callee")&&!L.call(t,"callee")},wt=Array.isArray;function kt(t){return null!=t&&Ct(t.length)&&!_t(t)}var St=N||function(){return!1};function _t(t){if(!Et(t))return!1;var e=at(t);return e==a||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Ct(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=o}function Et(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Tt(t){return null!=t&&"object"==typeof t}var At=y?function(t){return function(e){return t(e)}}(y):function(t){return Tt(t)&&Ct(t.length)&&!!u[at(t)]};function Pt(t){return kt(t)?Q(t,!0):lt(t)}var $t,Rt=($t=function(t,e,r,n){ut(t,e,r,n)},dt((function(t,e){var r=-1,n=e.length,o=n>1?e[n-1]:void 0,i=n>2?e[2]:void 0;for(o=$t.length>3&&"function"==typeof o?(n--,o):void 0,i&&function(t,e,r){if(!Et(r))return!1;var n=typeof e;return!!("number"==n?kt(r)&&mt(e,r.length):"string"==n&&e in r)&&yt(r[e],t)}(e[0],e[1],i)&&(o=n<3?void 0:o,n=1),t=Object(t);++r<n;){var a=e[r];a&&$t(t,a,r,o)}return t})));function jt(t){return t}t.exports=Rt},35171:function(t,e,r){"use strict";var n=r(74865),o=r(67294),i=r(11163),a=o.memo((function(t){var e=t.height,r=void 0===e?"2px":e,a=t.color,s=void 0===a?"#29D":a,c=t.delay,l=void 0===c?0:c,u=t.options,d=t.customGlobalCss,f=t.disableSameRoute,h=void 0!==f&&f,p=o.createElement("style",null,d||"#nprogress{pointer-events:none}#nprogress .bar{background:".concat(s,";position:fixed;z-index:99999;top:0;left:0;width:100%;height:").concat("string"===typeof r?r:"".concat(r,"px"),"}#nprogress .peg,.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}#nprogress .peg{display:block;right:0;width:100px;height:100%;box-shadow:0 0 10px ").concat(s,",0 0 5px ").concat(s,";opacity:1;-webkit-transform:rotate(3deg) translate(0,-4px);-ms-transform:rotate(3deg) translate(0,-4px);transform:rotate(3deg) translate(0,-4px)}#nprogress .spinner{display:block;position:fixed;z-index:99999;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:2px solid transparent;border-top-color:").concat(s,";border-left-color:").concat(s,";border-radius:50%;-webkit-animation:.4s linear infinite nprogress-spinner;animation:.4s linear infinite nprogress-spinner}.nprogress-custom-parent{overflow:hidden;position:relative}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(360deg)}}@keyframes nprogress-spinner{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}"));return o.useEffect((function(){var t;u&&n.configure(u);var e=function(e){clearTimeout(t),h&&i.route===e||(t=setTimeout((function(){return n.start()}),l))},r=function(){clearTimeout(t),n.done()};return i.events.on("routeChangeStart",e),i.events.on("routeChangeComplete",r),i.events.on("routeChangeError",r),function(){i.events.off("routeChangeStart",e),i.events.off("routeChangeComplete",r),i.events.off("routeChangeError",r),clearTimeout(t)}}),[]),p}),(function(){return!0}));e.Z=a},83454:function(t,e,r){"use strict";var n,o;t.exports=(null==(n=r.g.process)?void 0:n.env)&&"object"===typeof(null==(o=r.g.process)?void 0:o.env)?r.g.process:r(77663)},66500:function(t,e,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(79575)}])},32561:function(t,e,r){"use strict";r.d(e,{H:function(){return v},a:function(){return b}});var n=r(47568),o=r(26042),i=r(69396),a=r(828),s=r(97582),c=r(85893),l=r(67294),u=r(11860),d=r.n(u),f=r(92443),h=l.createContext(),p="".concat(window.location.origin,"/api");function m(t,e){(null===e||void 0===e?void 0:e.jwt)&&(null===e||void 0===e?void 0:e.user)&&(t(e),d().set("session",e),f.Z.headers={Authorization:"Bearer ".concat(e.jwt)})}function g(t){return(null===t||void 0===t?void 0:t.jwt)&&(null===t||void 0===t?void 0:t.user)?{jwt:t.jwt,user:t.user}:null}function v(t){var e,r,u,v=(0,a.Z)(l.useState((function(){return g(t.session)})),2),b=v[0],y=v[1];l.useEffect((function(){var e=g(t.session);if(e)m(y,e);
1else{var r=g(d().get("session"));r&&m(y,r)}}),[null===(e=t.session)||void 0===e?void 0:e.jwt,null===(r=t.session)||void 0===r||null===(u=r.user)||void 0===u?void 0:u.id]);var x=function(){var t=(0,n.Z)((function(t){var e;return(0,s.__generator)(this,(function(r){switch(r.label){case 0:return[4,f.n.post("auth/login",{json:t,prefixUrl:p,credentials:"include"}).json()];case 1:return e=r.sent(),m(y,e),[2,{success:!0,data:e}]}}))}));return function(e){return t.apply(this,arguments)}}(),w=function(){var t=(0,n.Z)((function(t){var e;return(0,s.__generator)(this,(function(r){switch(r.label){case 0:return[4,f.n.post("auth/local/signup",{json:(0,i.Z)((0,o.Z)({},t),{username:t.email}),prefixUrl:p,credentials:"include"}).json()];case 1:return e=r.sent(),m(y,e),[2,{success:!0,data:e}]}}))}));return function(e){return t.apply(this,arguments)}}(),k=function(){var t=(0,n.Z)((function(t){var e;return(0,s.__generator)(this,(function(r){switch(r.label){case 0:return[4,f.n.post("auth/social",{json:t,prefixUrl:p,credentials:"include"}).json()];case 1:return e=r.sent(),m(y,e),[2,{success:!0,data:e}]}}))}));return function(e){return t.apply(this,arguments)}}(),S=function(){var t=(0,n.Z)((function(){var t;return(0,s.__generator)(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,3,4]),[4,f.n.post("auth/logout",{prefixUrl:p,credentials:"include"}).json()];case 1:return e.sent(),[3,4];case 2:return t=e.sent(),console.log(t),[3,4];case 3:return function(t){t(null),d().remove("session"),f.Z.headers={}}(y),window.location.pathname="/",[7];case 4:return[2]}}
1))}));return function(){return t.apply(this,arguments)}}();return(0,c.jsx)(h.Provider,(0,o.Z)({value:{session:b,setSession:y,updateSession:function(t){m(y,t)},login:x,signup:w,socialLogin:k,logout:S}},t))}function b(){var t=l.useContext(h);if(void 0===t)throw new Error("useAuth must be used within a AuthProvider");return t}},62573:function(t,e,r){"use strict";r.d(e,{D:function(){return l},K:function(){return u}});var n=r(85893),o=r(67294),i=r(92443),a="weekend_guest_token",s=(0,o.createContext)({token:null,reservationId:null,setSession:function(t,e){},clearSession:function(){}});function c(t){try{t?window.localStorage.setItem(a,JSON.stringify(t)):window.localStorage.removeItem(a)}catch(e){}}function l(t){var e=t.children,r=t.hasUserSession,l=(0,o.useState)({token:null,reservationId:null}),u=l[0],d=l[1];(0,o.useEffect)((function(){var t=function(){try{var t=window.localStorage.getItem(a);if(!t)return null;var e=JSON.parse(t);return(null===e||void 0===e?void 0:e.token)&&(null===e||void 0===e?void 0:e.reservationId)?e:null}catch(r){return null}}();t&&d(t)}),[]),(0,o.useEffect)((function(){var t,e;r||(u.token?i.Z.headers.Authorization="Guest ".concat(u.token):(null===(t=i.Z.headers)||void 0===t||null===(e=t.Authorization)||void 0===e?void 0:e.startsWith("Guest "))&&delete i.Z.headers.Authorization)}),[u.token,r]);var f=(0,o.useCallback)((function(t,e){var r={token:t,reservationId:e};c(r),d(r)}),[]),h=(0,o.useCallback)((function(){var t,e;c(null),d({token:null,reservationId:null}),(null===(t=i.Z.headers)||void 0===t||null===(e=t.Authorization)||void 0===e?void 0:e.startsWith("Guest "))&&delete i.Z.headers.Authorization}),[]),p=(0,o.useMemo)((function(){return{token:u.token,reservationId:u.reservationId,setSession:f,clearSession:h}}),[u.token,u.reservationId,f,h]);return(0,n.jsx)(s.Provider,{value:p,children:e})}function u(){return(0,o.useContext)(s)}},92443:function(t,e,r){"use strict";r.d(e,{Z:function(){return R},n:function(){return $}});class n extends Error{constructor(t,e,r){const n=`${t.status||0===t.status?t.status:""} ${t.statusText||""}`.trim();super(`Request failed with ${n?`status code ${n}`:"an unknown error"}`),Object.defineProperty(this,"response",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"options",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name="HTTPError",this.response=t,this.request=e,this.options=r}}class o extends Error{constructor(t){super("Request timed out"),Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name="TimeoutError",this.request=t}}const i=t=>null!==t&&"object"===typeof t,a=(...t)=>{for(const e of t)if((!i(e)||Array.isArray(e))&&"undefined"!==typeof e)throw new TypeError("The `options` argument must be an object");return c({},...t)},s=(t={},e={})=>{const r=new globalThis.Headers(t),n=e instanceof globalThis.Headers,o=new globalThis.Headers(e);for(const[i,a]of o.entries())n&&"undefined"===a||void 0===a?r.delete(i):r.set(i,a);return r},c=(...t)=>{let e={},r={};for(const n of t)if(Array.isArray(n))Array.isArray(e)||(e=[]),e=[...e,...n];else if(i(n)){for(let[t,r]of Object.entries(n))i(r)&&t in e&&(r=c(e[t],r)),e={...e,[t]:r};i(n.headers)&&(r=s(r,n.headers),e.headers=r)}return e},l=(()=>{let t=!1,e=!1;const r="function"===typeof globalThis.ReadableStream,n="function"===typeof globalThis.Request;return r&&n&&(e=new globalThis.Request("https://a.com",{body:new globalThis.ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type")),t&&!e})(),u="function"===typeof globalThis.AbortController,d="function"===typeof globalThis.ReadableStream,f="function"===typeof globalThis.FormData,h=["get","post","put","patch","head","delete"],p={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*"},m=2147483647,g=Symbol("stop"),v=t=>h.includes(t)?t.toUpperCase():t,b=[413,429,503],y={limit:2,methods:["get","put","head","delete","options","trace"],statusCodes:[408,413,429,500,502,503,504],afterStatusCodes:b,maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY},x=(t={})=>
1{if("number"===typeof t)return{...y,limit:t};if(t.methods&&!Array.isArray(t.methods))throw new Error("retry.methods must be an array");if(t.statusCodes&&!Array.isArray(t.statusCodes))throw new Error("retry.statusCodes must be an array");return{...y,...t,afterStatusCodes:b}};const w=Boolean(globalThis.DOMException);function k(t){if(w)return new DOMException(t?.reason??"The operation was aborted.","AbortError");const e=new Error(t?.reason??"The operation was aborted.");return e.name="AbortError",e}class S{static create(t,e){const r=new S(t,e),o=async()=>{if(r._options.timeout>m)throw new RangeError("The `timeout` option cannot be greater than 2147483647");await Promise.resolve();let t=await r._fetch();for(const e of r._options.hooks.afterResponse){const n=await e(r.request,r._options,r._decorateResponse(t.clone()));n instanceof globalThis.Response&&(t=n)}if(r._decorateResponse(t),!t.ok&&r._options.throwHttpErrors){let e=new n(t,r.request,r._options);for(const t of r._options.hooks.beforeError)e=await t(e);throw e}if(r._options.onDownloadProgress){if("function"!==typeof r._options.onDownloadProgress)throw new TypeError("The `onDownloadProgress` option must be a function");if(!d)throw new Error("Streams are not supported in your environment. `ReadableStream` is missing.");return r._stream(t.clone(),r._options.onDownloadProgress)}return t},i=r._options.retry.methods.includes(r.request.method.toLowerCase())?r._retry(o):o();for(const[n,a]of Object.entries(p))i[n]=async()=>{r.request.headers.set("accept",r.request.headers.get("accept")||a);const t=(await i).clone();if("json"===n){if(204===t.status)return"";if(0===(await t.clone().arrayBuffer()).byteLength)return"";if(e.parseJson)return e.parseJson(await t.text())}return t[n]()};return i}constructor(t,e={}){if(Object.defineProperty(this,"request",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"abortController",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_retryCount",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_input",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_options",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._input=t,this._options={credentials:this._input.credentials||"same-origin",...e,headers:s(this._input.headers,e.headers),hooks:c({beforeRequest:[],beforeRetry:[],beforeError:[],afterResponse:[]},e.hooks),method:v(e.method??this._input.method),prefixUrl:String(e.prefixUrl||""),retry:x(e.retry),throwHttpErrors:!1!==e.throwHttpErrors,timeout:"undefined"===typeof e.timeout?1e4:e.timeout,fetch:e.fetch??globalThis.fetch.bind(globalThis)},"string"!==typeof this._input&&!(this._input instanceof URL||this._input instanceof globalThis.Request))throw new TypeError("`input` must be a string, URL, or Request");if(this._options.prefixUrl&&"string"===typeof this._input){if(this._input.startsWith("/"))throw new Error("`input` must not begin with a slash when using `prefixUrl`");this._options.prefixUrl.endsWith("/")||(this._options.prefixUrl+="/"),this._input=this._options.prefixUrl+this._input}if(u){if(this.abortController=new globalThis.AbortController,this._options.signal){const t=this._options.signal;this._options.signal.addEventListener("abort",(()=>{this.abortController.abort(t.reason)}))}this._options.signal=this.abortController.signal}if(l&&(this._options.duplex="half"),this.request=new globalThis.Request(this._input,this._options),this._options.searchParams){const t="?"+("string"===typeof this._options.searchParams?this._options.searchParams.replace(/^\?/,""):new URLSearchParams(this._options.searchParams).toString()),e=this.request.url.replace(/(?:\?.*?)?(?=#|$)/,t);!(f&&this._options.body instanceof globalThis.FormData||this._options.body instanceof URLSearchParams)||this._options.headers&&this._options.headers["content-type"]||this.request.headers.delete("content-type"),this.request=new globalThis.Request(new globalThis.Request(e,{...this.request}),this._options)}void 0!==this._options.json&&(this._options.body=JSON.stringify(this._options.json),this.request.headers.set("content-type",this._options.headers.get("content-type")??"application/json"),this.request=new globalThis.Request(this.request,{body:this._options.body}))}_calculateRetryDelay(t){if(this._retryCount++,this._retryCount<this._options.retry.limit&&!(t instanceof o)){if(t instanceof n){if(!this._options.retry.statusCodes.includes(t.response.status))return 0;const e=t.response.headers.get("Retry-After");if(e&&this._options.retry.afterStatusCodes.includes(t.response.status)){let t=Number(e);return Number.isNaN(t)?t=Date.parse(e)-Date.now():t*=1e3,"undefined"!==typeof this._options.retry.maxRetryAfter&&t>this._options.retry.maxRetryAfter?0:t}if(413===t.response.status)return 0}const e=.3;return Math.min(this._options.retry.backoffLimit,e*2**(this._retryCount-1)*1e3)}return 0}_decorateResponse(t){return this._options.parseJson&&(t.json=async()=>this._options.parseJson(await t.text())),t}async _retry(t){try{return await t()}catch(e){const r=Math.min(this._calculateRetryDelay(e),m);if(0!==r&&this._retryCount>0){await async function(t,{signal:e}){return new Promise(((r,n)=>{if(e){if(e.aborted)return void n(k(e));e.addEventListener("abort",o,{once:!0})}function o(){n(k(e)),clearTimeout(i)}const i=setTimeout((()=>{e?.removeEventListener("abort",o),r()}),t)}))}(r,{signal:this._options.signal});for(const t of this._options.hooks.beforeRetry){if(await t({request:this.request,options:this._options,error:e,retryCount:this._retryCount})===g)return}return this._retry(t)}throw e}}async _fetch(){for(const t of this._options.hooks.beforeRequest){const e=await t(this.request,this._options);if(e instanceof Request){this.request=e;break}if(e instanceof Response)return e}return!1===this._options.timeout?this._options.fetch(this.request.clone()):async function(t,e,r){return new Promise(((n,i)=>{const a=setTimeout((()=>{e&&e.abort(),i(new o(t))}),r.timeout);r.fetch(t).then(n).catch(i).then((()=>{clearTimeout(a)}))}))}(this.request.clone(),this.abortController,this._options)}_stream(t,e){const r=Number(t.headers.get("content-length"))||0;let n=0;return 204===t.status?(e&&e({percent:1,totalBytes:r,transferredBytes:n},new Uint8Array),new globalThis.Response(null,{status:t.status,statusText:t.statusText,headers:t.headers})):new globalThis.Response(new globalThis.ReadableStream({async start(o){const i=t.body.getReader();e&&e({percent:0,transferredBytes:0,totalBytes:r},new Uint8Array),await async function t(){const{done:a,value:s}=await i.read();if(a)o.close();else{if(e){n+=s.byteLength;e({percent:0===r?0:n/r,transferredBytes:n,totalBytes:r},s)}o.enqueue(s),await t()}}()}}),{status:t.status,statusText:t.statusText,headers:t.headers})}}const _=t=>{const e=(e,r)=>S.create(e,a(t,r));for(const r of h)e[r]=(e,n)=>S.create(e,a(t,n,{method:r}));return e.create=t=>_(a(t)),e.extend=e=>_(a(t,e)),e.stop=g,e};var C=_(),E={api_url:"".concat("https://www.weekendsantander.com","/api"),cms_url:"".concat("https://api.weekendsantander.com","/api")},T=r(83454);var A={beforeRequest:[function(t){var e;if((null===(e=P.headers)||void 0===e?void 0:e.Authorization)?t.headers.set("Authorization",P.headers.Authorization):P.headers&&delete P.headers.Authorization,!t.headers.get("Authorization")){var r=function(){try{var t=window.localStorage.getItem("weekend_guest_token");if(!t)return null;var e=JSON.parse(t);return(null===e||void 0===e?void 0:e.token)||null}catch(r){return null}}();r&&t.headers.set("Authorization","Guest ".concat(r))}!t.headers.get("Authorization")&&T.env.STRAPI_API_TOKEN&&t.headers.set("Authorization","Bearer ".concat(T.env.STRAPI_API_TOKEN))}],beforeError:[function(t){return console.log("KY ERROR:",t.message),t.response&&(console.log("Response status:",t.response.status),console.log("Response headers:",Object.fromEntries(t.response.headers.entries()))),t}]},P=C.create({prefixUrl:E.cms_url,throwHttpErrors:!0,hooks:A});P.headers={};var $=C.create({prefixUrl:E.api_url,throwHttpErrors:!0,credentials:"include",hooks:A}),R=P},79575:function(t,e,r){"use strict";r.r(e),r.d(e,{default:function(){return Oa}});var n=r(26042),o=r(85893),i=r(67294),a=r(11163);function s(t,e={}){let r=!1;function n(e){const r=`chakra-${(["container","root"].includes(e??"")?[t]:[t,e]).filter(
1Boolean).join("__")}`;return{className:r,selector:`.${r}`,toString:()=>e}}return{parts:function(...o){!function(){if(r)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");r=!0}();for(const t of o)e[t]=n(t);return s(t,e)},toPart:n,extend:function(...r){for(const t of r)t in e||(e[t]=n(t));return s(t,e)},selectors:function(){return Object.fromEntries(Object.entries(e).map((([t,e])=>[t,e.selector])))},classnames:function(){return Object.fromEntries(Object.entries(e).map((([t,e])=>[t,e.className])))},get keys(){return Object.keys(e)},__type:{}}}const c=s("accordion").parts("root","container","button","panel","icon"),l=s("alert").parts("title","description","container","icon","spinner"),u=s("avatar").parts("label","badge","container","excessLabel","group"),d=s("breadcrumb").parts("link","item","container","separator"),f=(s("button").parts(),s("checkbox").parts("control","icon","container","label")),h=(s("progress").parts("track","filledTrack","label"),s("drawer").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer")),p=s("editable").parts("preview","input","textarea"),m=s("form").parts("container","requiredIndicator","helperText"),g=s("formError").parts("text","icon"),v=s("input").parts("addon","field","element","group"),b=s("list").parts("container","item","icon"),y=s("menu").parts("button","list","item","groupTitle","icon","command","divider"),x=s("modal").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer"),w=s("numberinput").parts("root","field","stepperGroup","stepper"),k=(s("pininput").parts("field"),s("popover").parts("content","header","body","footer","popper","arrow","closeButton")),S=s("progress").parts("label","filledTrack","track"),_=s("radio").parts("container","control","label"),C=s("select").parts("field","icon"),E=s("slider").parts("container","track","thumb","filledTrack","mark"),T=s("stat").parts("container","label","helpText","number","icon"),A=s("switch").parts("container","track","thumb","label"),P=s("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),$=s("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),R=s("tag").parts("container","label","closeButton"),j=s("card").parts("container","header","body","footer");s("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");var z=r(65522);const{definePartsStyle:O,defineMultiStyleConfig:M}=(0,z.D)(c.keys),B=M({baseStyle:O({container:(0,z.k0)({borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}}),button:(0,z.k0)({transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"}),panel:(0,z.k0)({pt:"2",px:"4",pb:"5"}),icon:(0,z.k0)({fontSize:"1.25em"})})});var D=r(63445);function I(t,e,r){return Math.min(Math.max(t,r),e)}class L extends Error{constructor(t){super(`Failed to parse color: "${t}"`)}}var V=L;function F(t){if("string"!==typeof t)throw new V(t);if("transparent"===t.trim().toLowerCase())return[0,0,0,0];let e=t.trim();e=J.test(t)?function(t){const e=t.toLowerCase().trim(),r=N[function(t){let e=5381,r=t.length;for(;r;)e=33*e^t.charCodeAt(--r);return(e>>>0)%2341}(e)];if(!r)throw new V(t);return`#${r}`}(t):t;const r=H.exec(e);if(r){const t=Array.from(r).slice(1);return[...t.slice(0,3).map((t=>parseInt(U(t,2),16))),parseInt(U(t[3]||"f",2),16)/255]}const n=q.exec(e);if(n){const t=Array.from(n).slice(1);return[...t.slice(0,3).map((t=>parseInt(t,16))),parseInt(t[3]||"ff",16)/255]}const o=Y.exec(e);if(o){const t=Array.from(o).slice(1);return[...t.slice(0,3).map((t=>parseInt(t,10))),parseFloat(t[3]||"1")]}const i=Z.exec(e);if(i){const[e,r,n,o]=Array.from(i).slice(1).map(parseFloat);if(I(0,100,r)!==r)throw new V(t);if(I(0,100,n)!==n)throw new V(t);return[...X(e,r,n),Number.isNaN(o)?1:o]}throw new V(t)}const W=t=>parseInt(t.replace(/_/g,""),36),N="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce(((t,e)=>{const r=W(e.substring(0,3)),n=W(e.substring(3)).toString(16);let o="";for(let i=0;i<6-n.length;i++)o+="0";return t[r]=`${o}${n}`,t}),{});const U=(t,e)=>Array.from(Array(e)).map((()=>t)).join(""),H=new RegExp(`^#${U("([a-f0-9])",3)}
1([a-f0-9])?$`,"i"),q=new RegExp(`^#${U("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),Y=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${U(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Z=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,J=/^[a-z]+$/i,G=t=>Math.round(255*t),X=(t,e,r)=>{let n=r/100;if(0===e)return[n,n,n].map(G);const o=(t%360+360)%360/60,i=(1-Math.abs(2*n-1))*(e/100),a=i*(1-Math.abs(o%2-1));let s=0,c=0,l=0;o>=0&&o<1?(s=i,c=a):o>=1&&o<2?(s=a,c=i):o>=2&&o<3?(c=i,l=a):o>=3&&o<4?(c=a,l=i):o>=4&&o<5?(s=a,l=i):o>=5&&o<6&&(s=i,l=a);const u=n-i/2;return[s+u,c+u,l+u].map(G)};function K(t,e,r,n){return`rgba(${I(0,255,t).toFixed()}, ${I(0,255,e).toFixed()}, ${I(0,255,r).toFixed()}, ${parseFloat(I(0,1,n).toFixed(3))})`}function Q(t,e){const[r,n,o,i]=F(t);return K(r,n,o,i-e)}const tt=(t,e,r)=>{const n=function(t,e,r,n,o){for(e=e.split?e.split("."):e,n=0;n<e.length;n++)t=t?t[e[n]]:o;return t===o?r:t}(t,`colors.${e}`,e);try{return function(t){const[e,r,n,o]=F(t);let i=t=>{const e=I(0,255,t).toString(16);return 1===e.length?`0${e}`:e};i(e),i(r),i(n),o<1&&i(Math.round(255*o))}(n),n}catch{return r??"#000000"}},et=t=>e=>{const r=(t=>{const[e,r,n]=F(t);return(299*e+587*r+114*n)/1e3})(tt(e,t));return r<128?"dark":"light"},rt=(t,e)=>r=>Q(tt(r,t),1-e);function nt(t="1rem",e="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient(\n    45deg,\n    ${e} 25%,\n    transparent 25%,\n    transparent 50%,\n    ${e} 50%,\n    ${e} 75%,\n    transparent 75%,\n    transparent\n  )`,backgroundSize:`${t} ${t}`}}function ot(t){const e=`#${Math.floor(16777215*Math.random()).toString(16).padEnd(6,"0")}`;return t&&(r=t,0!==Object.keys(r).length)?t.string&&t.colors?function(t,e){let r=0;if(0===t.length)return e[0];for(let n=0;n<t.length;n+=1)r=t.charCodeAt(n)+((r<<5)-r),r&=r;return r=(r%e.length+e.length)%e.length,e[r]}(t.string,t.colors):t.string&&!t.colors?function(t){let e=0;if(0===t.length)return e.toString();for(let n=0;n<t.length;n+=1)e=t.charCodeAt(n)+((e<<5)-e),e&=e;let r="#";for(let n=0;n<3;n+=1){r+=`00${(e>>8*n&255).toString(16)}`.substr(-2)}return r}(t.string):t.colors&&!t.string?(n=t.colors)[Math.floor(Math.random()*n.length)]:e:e;var r,n}const{definePartsStyle:it,defineMultiStyleConfig:at}=(0,z.D)(l.keys),st=(0,D.gJ)("alert-fg"),ct=(0,D.gJ)("alert-bg");function lt(t){const{theme:e,colorScheme:r}=t;return{light:`colors.${r}.100`,dark:rt(`${r}.200`,.16)(e)}}const ut=at({baseStyle:it({container:{bg:ct.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:st.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:st.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}}),variants:{subtle:it((t=>{const{colorScheme:e}=t,r=lt(t);return{container:{[st.variable]:`colors.${e}.600`,[ct.variable]:r.light,_dark:{[st.variable]:`colors.${e}.200`,[ct.variable]:r.dark}}}})),"left-accent":it((t=>{const{colorScheme:e}=t,r=lt(t);return{container:{[st.variable]:`colors.${e}.600`,[ct.variable]:r.light,_dark:{[st.variable]:`colors.${e}.200`,[ct.variable]:r.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:st.reference}}})),"top-accent":it((t=>{const{colorScheme:e}=t,r=lt(t);return{container:{[st.variable]:`colors.${e}.600`,[ct.variable]:r.light,_dark:{[st.variable]:`colors.${e}.200`,[ct.variable]:r.dark},pt:"2",borderTopWidth:"4px",borderTopColor:st.reference}}})),solid:it((t=>{const{colorScheme:e}=t;return{container:{[st.variable]:"colors.white",[ct.variable]:`colors.${e}
1.600`,_dark:{[st.variable]:"colors.gray.900",[ct.variable]:`colors.${e}.200`},color:st.reference}}}))},defaultProps:{variant:"subtle",colorScheme:"blue"}}),dt={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},ft={...dt,max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch",container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}};function ht(t,...e){return"function"===typeof t?t(...e):t}const{definePartsStyle:pt,defineMultiStyleConfig:mt}=(0,z.D)(u.keys),gt=(0,D.gJ)("avatar-border-color"),vt=(0,D.gJ)("avatar-bg"),bt=(0,D.gJ)("avatar-font-size"),yt=(0,D.gJ)("avatar-size"),xt=(0,z.k0)({borderRadius:"full",border:"0.2em solid",borderColor:gt.reference,[gt.variable]:"white",_dark:{[gt.variable]:"colors.gray.800"}}),wt=(0,z.k0)({bg:vt.reference,fontSize:bt.reference,width:yt.reference,height:yt.reference,lineHeight:"1",[vt.variable]:"colors.gray.200",_dark:{[vt.variable]:"colors.whiteAlpha.400"}}),kt=(0,z.k0)((t=>{const{name:e,theme:r}=t,n=e?ot({string:e}):"colors.gray.400",o=(t=>e=>"dark"===et(t)(e))(n)(r);let i="white";return o||(i="gray.800"),{bg:vt.reference,fontSize:bt.reference,color:i,borderColor:gt.reference,verticalAlign:"top",width:yt.reference,height:yt.reference,"&:not([data-loaded])":{[vt.variable]:n},[gt.variable]:"colors.white",_dark:{[gt.variable]:"colors.gray.800"}}})),St=(0,z.k0)({fontSize:bt.reference,lineHeight:"1"});function _t(t){const e="100%"!==t?ft[t]:void 0;return pt({container:{[yt.variable]:e??t,[bt.variable]:`calc(${e??t} / 2.5)`},excessLabel:{[yt.variable]:e??t,[bt.variable]:`calc(${e??t} / 2.5)`}})}const Ct=mt({baseStyle:pt((t=>({badge:ht(xt,t),excessLabel:ht(wt,t),container:ht(kt,t),label:St}))),sizes:{"2xs":_t(4),xs:_t(6),sm:_t(8),md:_t(12),lg:_t(16),xl:_t(24),"2xl":_t(32),full:_t("100%")},defaultProps:{size:"md"}}),Et=(0,D._6)("badge",["bg","color","shadow"]),Tt=(0,z.k0)({px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:Et.bg.reference,color:Et.color.reference,boxShadow:Et.shadow.reference}),At=(0,z.k0)((t=>{const{colorScheme:e,theme:r}=t,n=rt(`${e}.500`,.6)(r);return{[Et.bg.variable]:`colors.${e}.500`,[Et.color.variable]:"colors.white",_dark:{[Et.bg.variable]:n,[Et.color.variable]:"colors.whiteAlpha.800"}}})),Pt=(0,z.k0)((t=>{const{colorScheme:e,theme:r}=t,n=rt(`${e}.200`,.16)(r);return{[Et.bg.variable]:`colors.${e}.100`,[Et.color.variable]:`colors.${e}.800`,_dark:{[Et.bg.variable]:n,[Et.color.variable]:`colors.${e}.200`}}})),$t=(0,z.k0)((t=>{const{colorScheme:e,theme:r}=t,n=rt(`${e}.200`,.8)(r);return{[Et.color.variable]:`colors.${e}.500`,_dark:{[Et.color.variable]:n},[Et.shadow.variable]:`inset 0 0 0px 1px ${Et.color.reference}`}})),Rt={solid:At,subtle:Pt,outline:$t},jt=(0,z.fj)({baseStyle:Tt,variants:Rt,defaultProps:{variant:"subtle",colorScheme:"gray"}}),{defineMultiStyleConfig:zt,definePartsStyle:Ot}=(0,z.D)(d.keys),Mt=(0,D.gJ)("breadcrumb-link-decor"),Bt=zt({baseStyle:Ot({link:(0,z.k0)({transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:Mt.reference,[Mt.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[Mt.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}})})});function Dt(t,e){return r=>"dark"===r.colorMode?e:t}function It(t){const{orientation:e,vertical:r,horizontal:n}=t;return e?"vertical"===e?r:n:{}}const Lt=(0,z.k0)({lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}}),Vt=(0,z.k0)((t=>{const{colorScheme:e,theme:r}=t;if("gray"===e)return{color:Dt("gray.800","whiteAlpha.900")(t),_hover:{bg:Dt("gray.100","whiteAlpha.200")(t)},_active:{bg:Dt("gray.200","whiteAlpha.300")(t)}};const n=rt(`${e}.200`,.12)(r),o=rt(`${e}.200`,.24)(r);return{color:Dt(`${e}.600`,`${e}.200`)(t),bg:"transparent",_hover:{bg:Dt(`${e}.50`,n)(t)},_active:{bg:Dt(`${e}.100`,o)(t)}}})),Ft=(0,z.k0)((t=>{const{colorScheme:e}=t,r=Dt("gray.200","whiteAlpha.300")(t);return{border:"1px solid",borderColor:"gray"===e?r:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...ht(Vt,t)}})),Wt={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},Nt=(0,z.k0)((t=>{const{colorScheme:e}=t;if("gray"===e){const e=Dt("gray.100","whiteAlpha.200")(t);return{bg:e,color:Dt("gray.800","whiteAlpha.900")(t),_hover:{bg:Dt("gray.200","whiteAlpha.300")(t),_disabled:{bg:e}},_active:{bg:Dt("gray.300","whiteAlpha.400")(t)}}}const{bg:r=`${e}.500`,color:n="white",hoverBg:o=`${e}.600`,activeBg:i=`${e}.700`}=Wt[e]??{},a=Dt(r,`${e}.200`)(t);return{bg:a,color:Dt(n,"gray.800")(t),_hover:{bg:Dt(o,`${e}.300`)(t),_disabled:{bg:a}},_active:{bg:Dt(i,`${e}.400`)(t)}}})),Ut=(0,z.k0)((t=>{const{colorScheme:e}=t;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:Dt(`${e}.500`,`${e}.200`)(t),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:Dt(`${e}.700`,`${e}.500`)(t)}}})),Ht=(0,z.k0)({bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"}),qt={ghost:Vt,outline:Ft,solid:Nt,link:Ut,unstyled:Ht},Yt={lg:(0,z.k0)({h:"12",minW:"12",fontSize:"lg",px:"6"}),md:(0,z.k0)({h:"10",minW:"10",fontSize:"md",px:"4"}),sm:(0,z.k0)({h:"8",minW:"8",fontSize:"sm",px:"3"}),xs:(0,z.k0)({h:"6",minW:"6",fontSize:"xs",px:"2"})},Zt=(0,z.fj)({baseStyle:Lt,variants:qt,sizes:Yt,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}}),{definePartsStyle:Jt,defineMultiStyleConfig:Gt}=(0,z.D)(j.keys),Xt=(0,D.gJ)("card-bg"),Kt=(0,D.gJ)("card-padding"),Qt=(0,D.gJ)("card-shadow"),te=(0,D.gJ)("card-radius"),ee=(0,D.gJ)("card-border-width","0"),re=(0,D.gJ)("card-border-color"),ne=Jt({container:{[Xt.variable]:"colors.chakra-body-bg",backgroundColor:Xt.reference,boxShadow:Qt.reference,borderRadius:te.reference,color:"chakra-body-text",borderWidth:ee.reference,borderColor:re.reference},body:{padding:Kt.reference,flex:"1 1 0%"},header:{padding:Kt.reference},footer:{padding:Kt.reference}}),oe={sm:Jt({container:{[te.variable]:"radii.base",[Kt.variable]:"space.3"}}),md:Jt({container:{[te.variable]:"radii.md",[Kt.variable]:"space.5"}}),lg:Jt({container:{[te.variable]:"radii.xl",[Kt.variable]:"space.7"}})},ie=Gt({baseStyle:ne,variants:{elevated:Jt({container:{[Qt.variable]:"shadows.base",_dark:{[Xt.variable]:"colors.gray.700"}}}),outline:Jt({container:{[ee.variable]:"1px",[re.variable]:"colors.chakra-border-color"}}),filled:Jt({container:{[Xt.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[Kt.variable]:0},header:{[Kt.variable]:0},footer:{[Kt.variable]:0}}},sizes:oe,defaultProps:{variant:"elevated",size:"md"}}),{definePartsStyle:ae,defineMultiStyleConfig:se}=(0,z.D)(f.keys),ce=(0,D.gJ)("checkbox-size"),le=(0,z.k0)((t=>{const{colorScheme:e}=t;return{w:ce.reference,h:ce.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px s
1olid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:Dt(`${e}.500`,`${e}.200`)(t),borderColor:Dt(`${e}.500`,`${e}.200`)(t),color:Dt("white","gray.900")(t),_hover:{bg:Dt(`${e}.600`,`${e}.300`)(t),borderColor:Dt(`${e}.600`,`${e}.300`)(t)},_disabled:{borderColor:Dt("gray.200","transparent")(t),bg:Dt("gray.200","whiteAlpha.300")(t),color:Dt("gray.500","whiteAlpha.500")(t)}},_indeterminate:{bg:Dt(`${e}.500`,`${e}.200`)(t),borderColor:Dt(`${e}.500`,`${e}.200`)(t),color:Dt("white","gray.900")(t)},_disabled:{bg:Dt("gray.100","whiteAlpha.100")(t),borderColor:Dt("gray.100","transparent")(t)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:Dt("red.500","red.300")(t)}}})),ue=(0,z.k0)({_disabled:{cursor:"not-allowed"}}),de=(0,z.k0)({userSelect:"none",_disabled:{opacity:.4}}),fe=(0,z.k0)({transitionProperty:"transform",transitionDuration:"normal"}),he=se({baseStyle:ae((t=>({icon:fe,container:ue,control:ht(le,t),label:de}))),sizes:{sm:ae({control:{[ce.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:ae({control:{[ce.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:ae({control:{[ce.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},defaultProps:{size:"md",colorScheme:"blue"}});function pe(t){const e=function(t,e="-"){return t.replace(/\s+/g,e)}(t.toString());return e.includes("\\.")?t:function(t){return!Number.isInteger(parseFloat(t.toString()))}(t)?e.replace(".","\\."):t}function me(t,e){return`var(${pe(t)}${e?`, ${e}`:""})`}function ge(t,e=""){return`--${function(t,e=""){return[e,pe(t)].filter(Boolean).join("-")}(t,e)}`}function ve(t,e){const r=ge(t,e?.prefix);return{variable:r,reference:me(r,be(e?.fallback))}}function be(t){return"string"===typeof t?t:t?.reference}const ye=ve("close-button-size"),xe=ve("close-button-bg"),we=(0,z.k0)({w:[ye.reference],h:[ye.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[xe.variable]:"colors.blackAlpha.100",_dark:{[xe.variable]:"colors.whiteAlpha.100"}},_active:{[xe.variable]:"colors.blackAlpha.200",_dark:{[xe.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:xe.reference}),ke={lg:(0,z.k0)({[ye.variable]:"sizes.10",fontSize:"md"}),md:(0,z.k0)({[ye.variable]:"sizes.8",fontSize:"xs"}),sm:(0,z.k0)({[ye.variable]:"sizes.6",fontSize:"2xs"})},Se=(0,z.fj)({baseStyle:we,sizes:ke,defaultProps:{size:"md"}}),{variants:_e,defaultProps:Ce}=jt,Ee=(0,z.k0)({fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:Et.bg.reference,color:Et.color.reference,boxShadow:Et.shadow.reference}),Te=(0,z.fj)({baseStyle:Ee,variants:_e,defaultProps:Ce}),Ae=(0,z.k0)({w:"100%",mx:"auto",maxW:"prose",px:"4"}),Pe=(0,z.fj)({baseStyle:Ae}),$e=(0,z.k0)({opacity:.6,borderColor:"inherit"}),Re={solid:(0,z.k0)({borderStyle:"solid"}),dashed:(0,z.k0)({borderStyle:"dashed"})},je=(0,z.fj)({baseStyle:$e,variants:Re,defaultProps:{variant:"solid"}}),{definePartsStyle:ze,defineMultiStyleConfig:Oe}=(0,z.D)(h.keys),Me=(0,D.gJ)("drawer-bg"),Be=(0,D.gJ)("drawer-box-shadow");function De(t){return ze("full"===t?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:t}})}const Ie=(0,z.k0)({bg:"blackAlpha.600",zIndex:"modal"}),Le=(0,z.k0)({display:"flex",zIndex:"modal",justifyContent:"center"}),Ve=(0,z.k0)((t=>{const{isFullHeight:e}=t;return{...e&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[Me.variable]:"colors.white",[Be.variable]:"shadows.lg",_dark:{[Me.variable]:"colors.gray.700",[Be.variable]:"shadows.dark-lg"},bg:Me.reference,boxShadow:Be.reference}})),Fe=(0,z.k0)({px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"}),We=(0,z.k0)({position:"absolute",top:"2",insetEnd:"3"}),Ne=(0,z.k0)({px:"6",py:"2",flex:"1",overflow:"auto"}),Ue=(0,z.k0)({px:"6",py:"4"}),He=Oe({baseStyle:ze((t=>({overlay:Ie,dialogContainer:Le,dialog:ht(Ve,t),header:Fe,closeButton:We,body:Ne,footer:Ue}))),sizes:{xs:De("xs"),sm:De("md"),md:De("lg"),lg:De("2xl"),xl:De("4xl"),full:De("full")},defaultProps:{size:"xs"}}),{definePartsStyle:qe,defineMultiStyleConfig:Ye}=(0,z.D)(p.keys),Ze=Ye({baseStyle:qe({preview:(0,z.k0)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"}),input:(0,z.k0)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}}),textarea:(0,z.k0)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}})})}),{definePartsStyle:Je,defineMultiStyleConfig:Ge}=(0,z.D)(m.keys),Xe=(0,D.gJ)("form-control-color"),Ke=Ge({baseStyle:Je({container:{width:"100%",position:"relative"},requiredIndicator:(0,z.k0)({marginStart:"1",[Xe.variable]:"colors.red.500",_dark:{[Xe.variable]:"colors.red.300"},color:Xe.reference}),helperText:(0,z.k0)({mt:"2",[Xe.variable]:"colors.gray.600",_dark:{[Xe.variable]:"colors.whiteAlpha.600"},color:Xe.reference,lineHeight:"normal",fontSize:"sm"})})}),{definePartsStyle:Qe,defineMultiStyleConfig:tr}=(0,z.D)(g.keys),er=(0,D.gJ)("form-error-color"),rr=tr({baseStyle:Qe({text:(0,z.k0)({[er.variable]:"colors.red.500",_dark:{[er.variable]:"colors.red.300"},color:er.reference,mt:"2",fontSize:"sm",lineHeight:"normal"}),icon:(0,z.k0)({marginEnd:"0.5em",[er.variable]:"colors.red.500",_dark:{[er.variable]:"colors.red.300"},color:er.reference})})}),nr=(0,z.k0)({fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}),or=(0,z.fj)({baseStyle:nr}),ir=(0,z.k0)({fontFamily:"heading",fontWeight:"bold"}),ar={"4xl":(0,z.k0)({fontSize:["6xl",null,"7xl"],lineHeight:1}),"3xl":(0,z.k0)({fontSize:["5xl",null,"6xl"],lineHeight:1}),"2xl":(0,z.k0)({fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]}),xl:(0,z.k0)({fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]}),lg:(0,z.k0)({fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]}),md:(0,z.k0)({fontSize:"xl",lineHeight:1.2}),sm:(0,z.k0)({fontSize:"md",lineHeight:1.2}),xs:(0,z.k0)({fontSize:"sm",lineHeight:1.2})},sr=(0,z.fj)({baseStyle:ir,sizes:ar,defaultProps:{size:"xl"}}),{definePartsStyle:cr,defineMultiStyleConfig:lr}=(0,z.D)(v.keys),ur=(0,D.gJ)("input-height"),dr=(0,D.gJ)("input-font-size"),fr=(0,D.gJ)("input-padding"),hr=(0,D.gJ)("input-border-radius"),pr=cr({addon:{height:ur.reference,fontSize:dr.reference,px:fr.reference,borderRadius:hr.reference},field:{width:"100%",height:ur.reference,fontSize:dr.reference,px:fr.reference,borderRadius:hr.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),mr={lg:(0,z.k0)({[dr.variable]:"fontSizes.lg",[fr.variable]:"space.4",[hr.variable]:"radii.md",[ur.variable]:"sizes.12"}),md:(0,z.k0)({[dr.variable]:"fontSizes.md",[fr.variable]:"space.4",[hr.variable]:"radii.md",[ur.variable]:"sizes.10"}),sm:(0,z.k0)({[dr.variable]:"fontSizes.sm",[fr.variable]:"space.3",[hr.variable]:"radii.sm",[ur.variable]:"sizes.8"}),xs:(0,z.k0)({[dr.variable]:"fontSizes.xs",[fr.variable]:"space.2",[hr.variable]:"radii.sm",[ur.variable]:"sizes.6"})},gr={lg:cr({field:mr.lg,group:mr.lg}),md:cr({field:mr.md,group:mr.md}),sm:cr({field:mr.sm,group:mr.sm}),xs:cr({field:mr.xs,group:mr.xs})};function vr(t){const{focusBorderColor:e,errorBorderColor:r}=t;return{focusBorderColor:e||Dt("blue.500","blue.300")(t),errorBorderColor:r||Dt("red.500","red.300")(t)}}const br=cr((t=>{const{theme:e}=t,{focusBorderColor:r,errorBorderColor:n}=vr(t);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:Dt("gray.300","whiteAlpha.400")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"}
1,_invalid:{borderColor:tt(e,n),boxShadow:`0 0 0 1px ${tt(e,n)}`},_focusVisible:{zIndex:1,borderColor:tt(e,r),boxShadow:`0 0 0 1px ${tt(e,r)}`}},addon:{border:"1px solid",borderColor:Dt("inherit","whiteAlpha.50")(t),bg:Dt("gray.100","whiteAlpha.300")(t)}}})),yr=cr((t=>{const{theme:e}=t,{focusBorderColor:r,errorBorderColor:n}=vr(t);return{field:{border:"2px solid",borderColor:"transparent",bg:Dt("gray.100","whiteAlpha.50")(t),_hover:{bg:Dt("gray.200","whiteAlpha.100")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:tt(e,n)},_focusVisible:{bg:"transparent",borderColor:tt(e,r)}},addon:{border:"2px solid",borderColor:"transparent",bg:Dt("gray.100","whiteAlpha.50")(t)}}})),xr=cr((t=>{const{theme:e}=t,{focusBorderColor:r,errorBorderColor:n}=vr(t);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:tt(e,n),boxShadow:`0px 1px 0px 0px ${tt(e,n)}`},_focusVisible:{borderColor:tt(e,r),boxShadow:`0px 1px 0px 0px ${tt(e,r)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}})),wr=lr({baseStyle:pr,sizes:gr,variants:{outline:br,filled:yr,flushed:xr,unstyled:cr({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}})},defaultProps:{size:"md",variant:"outline"}}),kr=(0,D.gJ)("kbd-bg"),Sr=(0,z.k0)({[kr.variable]:"colors.gray.100",_dark:{[kr.variable]:"colors.whiteAlpha.100"},bg:kr.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}),_r=(0,z.fj)({baseStyle:Sr}),Cr=(0,z.k0)({transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}}),Er=(0,z.fj)({baseStyle:Cr}),{defineMultiStyleConfig:Tr,definePartsStyle:Ar}=(0,z.D)(b.keys),Pr=Tr({baseStyle:Ar({icon:(0,z.k0)({marginEnd:"2",display:"inline",verticalAlign:"text-bottom"})})}),{defineMultiStyleConfig:$r,definePartsStyle:Rr}=(0,z.D)(y.keys),jr=(0,D.gJ)("menu-bg"),zr=(0,D.gJ)("menu-shadow"),Or=(0,z.k0)({[jr.variable]:"#fff",[zr.variable]:"shadows.sm",_dark:{[jr.variable]:"colors.gray.700",[zr.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:"dropdown",borderRadius:"md",borderWidth:"1px",bg:jr.reference,boxShadow:zr.reference}),Mr=(0,z.k0)({py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[jr.variable]:"colors.gray.100",_dark:{[jr.variable]:"colors.whiteAlpha.100"}},_active:{[jr.variable]:"colors.gray.200",_dark:{[jr.variable]:"colors.whiteAlpha.200"}},_expanded:{[jr.variable]:"colors.gray.100",_dark:{[jr.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:jr.reference}),Br=(0,z.k0)({mx:4,my:2,fontWeight:"semibold",fontSize:"sm"}),Dr=(0,z.k0)({display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0}),Ir=(0,z.k0)({opacity:.6}),Lr=(0,z.k0)({border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6}),Vr=$r({baseStyle:Rr({button:(0,z.k0)({transitionProperty:"common",transitionDuration:"normal"}),list:Or,item:Mr,groupTitle:Br,icon:Dr,command:Ir,divider:Lr})}),{defineMultiStyleConfig:Fr,definePartsStyle:Wr}=(0,z.D)(x.keys),Nr=(0,D.gJ)("modal-bg"),Ur=(0,D.gJ)("modal-shadow"),Hr=(0,z.k0)({bg:"blackAlpha.600",zIndex:"modal"}),qr=(0,z.k0)((t=>{const{isCentered:e,scrollBehavior:r}=t;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:e?"center":"flex-start",overflow:"inside"===r?"hidden":"auto",overscrollBehaviorY:"none"}})),Yr=(0,z.k0)((t=>{const{isCentered:e,scrollBehavior:r}=t;return{borderRadius:"md",color:"inherit",my:e?"auto":"16",mx:e?"auto":void 0,zIndex:"modal",maxH:"inside"===r?"calc(100% - 7.5rem)":void 0,[Nr.variable]:"colors.white",[Ur.variable]:"shadows.lg",_dark:{[Nr.variable]:"colors.gray.700",[Ur.variable]:"shadows.dark-lg"},bg:Nr.reference,boxShadow:Ur.reference}})),Zr=(0,z.k0)({px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"}),Jr=(0,z.k0)({position:"absolute",top:"2",insetEnd:"3"}),Gr=(0,z.k0)((t=>{const{scrollBehavior:e}=t;return{px:"6",py:"2",flex:"1",overflow:"inside"===e?"auto":void 0}})),Xr=(0,z.k0)({px:"6",py:"4"});function Kr(t){return Wr("full"===t?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:t}})}const Qr=Fr({baseStyle:Wr((t=>({overlay:Hr,dialogContainer:ht(qr,t),dialog:ht(Yr,t),header:Zr,closeButton:Jr,body:ht(Gr,t),footer:Xr}))),sizes:{xs:Kr("xs"),sm:Kr("sm"),md:Kr("md"),lg:Kr("lg"),xl:Kr("xl"),"2xl":Kr("2xl"),"3xl":Kr("3xl"),"4xl":Kr("4xl"),"5xl":Kr("5xl"),"6xl":Kr("6xl"),full:Kr("full")},defaultProps:{size:"md"}});var tn=r(79115);function en(t){return(0,tn.Kn)(t)&&t.reference?t.reference:String(t)}const rn=(t,...e)=>e.map(en).join(` ${t} `).replace(/calc/g,""),nn=(...t)=>`calc(${rn("+",...t)})`,on=(...t)=>`calc(${rn("-",...t)})`,an=(...t)=>`calc(${rn("*",...t)})`,sn=(...t)=>`calc(${rn("/",...t)})`,cn=t=>{const e=en(t);return null==e||Number.isNaN(parseFloat(e))?an(e,-1):String(e).startsWith("-")?String(e).slice(1):`-${e}`},ln=Object.assign((t=>({add:(...e)=>ln(nn(t,...e)),subtract:(...e)=>ln(on(t,...e)),multiply:(...e)=>ln(an(t,...e)),divide:(...e)=>ln(sn(t,...e)),negate:()=>ln(cn(t)),toString:()=>t.toString()})),{add:nn,subtract:on,multiply:an,divide:sn,negate:cn}),un={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},{defineMultiStyleConfig:dn,definePartsStyle:fn}
1=(0,z.D)(w.keys),hn=ve("number-input-stepper-width"),pn=ve("number-input-input-padding"),mn=ln(hn).add("0.5rem").toString(),gn=ve("number-input-bg"),vn=ve("number-input-color"),bn=ve("number-input-border-color"),yn=(0,z.k0)({[hn.variable]:"sizes.6",[pn.variable]:mn}),xn=(0,z.k0)((t=>ht(wr.baseStyle,t)?.field??{})),wn=(0,z.k0)({width:hn.reference}),kn=(0,z.k0)({borderStart:"1px solid",borderStartColor:bn.reference,color:vn.reference,bg:gn.reference,[vn.variable]:"colors.chakra-body-text",[bn.variable]:"colors.chakra-border-color",_dark:{[vn.variable]:"colors.whiteAlpha.800",[bn.variable]:"colors.whiteAlpha.300"},_active:{[gn.variable]:"colors.gray.200",_dark:{[gn.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}});function Sn(t){const e=wr.sizes?.[t],r={lg:"md",md:"md",sm:"sm",xs:"sm"},n=e.field?.fontSize??"md",o=un.fontSizes[n];return fn({field:{...e.field,paddingInlineEnd:pn.reference,verticalAlign:"top"},stepper:{fontSize:ln(o).multiply(.75).toString(),_first:{borderTopEndRadius:r[t]},_last:{borderBottomEndRadius:r[t],mt:"-1px",borderTopWidth:1}}})}const _n=dn({baseStyle:fn((t=>({root:yn,field:ht(xn,t)??{},stepperGroup:wn,stepper:kn}))),sizes:{xs:Sn("xs"),sm:Sn("sm"),md:Sn("md"),lg:Sn("lg")},variants:wr.variants,defaultProps:wr.defaultProps}),Cn=(0,z.k0)({...wr.baseStyle?.field,textAlign:"center"}),En={lg:(0,z.k0)({fontSize:"lg",w:12,h:12,borderRadius:"md"}),md:(0,z.k0)({fontSize:"md",w:10,h:10,borderRadius:"md"}),sm:(0,z.k0)({fontSize:"sm",w:8,h:8,borderRadius:"sm"}),xs:(0,z.k0)({fontSize:"xs",w:6,h:6,borderRadius:"sm"})},Tn={outline:(0,z.k0)((t=>ht(wr.variants?.outline,t)?.field??{})),flushed:(0,z.k0)((t=>ht(wr.variants?.flushed,t)?.field??{})),filled:(0,z.k0)((t=>ht(wr.variants?.filled,t)?.field??{})),unstyled:wr.variants?.unstyled.field??{}},An=(0,z.fj)({baseStyle:Cn,sizes:En,variants:Tn,defaultProps:wr.defaultProps}),{defineMultiStyleConfig:Pn,definePartsStyle:$n}=(0,z.D)(k.keys),Rn=ve("popper-bg"),jn=ve("popper-arrow-bg"),zn=ve("popper-arrow-shadow-color"),On=Pn({baseStyle:$n({popper:(0,z.k0)({zIndex:"popover"}),content:(0,z.k0)({[Rn.variable]:"colors.white",bg:Rn.reference,[jn.variable]:Rn.reference,[zn.variable]:"colors.gray.200",_dark:{[Rn.variable]:"colors.gray.700",[zn.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}}),header:(0,z.k0)({px:3,py:2,borderBottomWidth:"1px"}),body:(0,z.k0)({px:3,py:2}),footer:(0,z.k0)({px:3,py:2,borderTopWidth:"1px"}),closeButton:(0,z.k0)({position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2})})}),{defineMultiStyleConfig:Mn,definePartsStyle:Bn}=(0,z.D)(S.keys),Dn=(0,z.k0)((t=>{const{colorScheme:e,theme:r,isIndeterminate:n,hasStripe:o}=t,i=Dt(nt(),nt("1rem","rgba(0,0,0,0.1)"))(t),a=Dt(`${e}.500`,`${e}.200`)(t),s=`linear-gradient(\n    to right,\n    transparent 0%,\n    ${tt(r,a)} 50%,\n    transparent 100%\n  )`;return{...!n&&o&&i,...n?{bgImage:s}:{bgColor:a}}})),In=(0,z.k0)({lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"}),Ln=(0,z.k0)((t=>({bg:Dt("gray.100","whiteAlpha.300")(t)}))),Vn=(0,z.k0)((t=>({transitionProperty:"common",transitionDuration:"slow",...Dn(t)}))),Fn=Bn((t=>({label:In,filledTrack:Vn(t),track:Ln(t)}))),Wn=Mn({sizes:{xs:Bn({track:{h:"1"}}),sm:Bn({track:{h:"2"}}),md:Bn({track:{h:"3"}}),lg:Bn({track:{h:"4"}})},baseStyle:Fn,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Nn,definePartsStyle:Un}=(0,z.D)(_.keys),Hn=(0,z.k0)((t=>{const e=ht(he.baseStyle,t)?.control;return{...e,borderRadius:"full",_checked:{...e?._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}})),qn=Nn({baseStyle:Un((t=>({label:he.baseStyle?.(t).label,container:he.baseStyle?.(t).container,control:Hn(t)}))),sizes:{md:Un({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:Un({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:Un({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Yn,definePartsStyle:Zn}=(0,z.D)(C.keys),Jn=(0,D.gJ)("select-bg"),Gn=Zn({field:(0,z.k0)({...wr.baseStyle?.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:Jn.reference,[Jn.variable]:"colors.white",_dark:{[Jn.variable]:"colors.gray.700"},"> option, > optgroup":{bg:Jn.reference}}),icon:(0,z.k0)({width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}})}),Xn=(0,z.k0)({paddingInlineEnd:"8"}),Kn=Yn({baseStyle:Gn,sizes:{lg:{...wr.sizes?.lg,field:{...wr.sizes?.lg.field,...Xn}},md:{...wr.sizes?.md,field:{...wr.sizes?.md.field,...Xn}},sm:{...wr.sizes?.sm,field:{...wr.sizes?.sm.field,...Xn}},xs:{...wr.sizes?.xs,field:{...wr.sizes?.xs.field,...Xn},icon:{insetEnd:"1"}}},variants:wr.variants,defaultProps:wr.defaultProps}),Qn=(0,D.gJ)("skeleton-start-color"),to=(0,D.gJ)("skeleton-end-color"),eo=(0,z.k0)({[Qn.variable]:"colors.gray.100",[to.variable]:"colors.gray.400",_dark:{[Qn.variable]:"colors.gray.800",[to.variable]:"colors.gray.600"},background:Qn.reference,borderColor:to.reference,opacity:.7,borderRadius:"sm"}),ro=(0,z.fj)({baseStyle:eo}),no=(0,D.gJ)("skip-link-bg"),oo=(0,z.k0)({borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[no.variable]:"colors.white",_dark:{[no.variable]:"colors.gray.700"},bg:no.reference}}),io=(0,z.fj)({baseStyle:oo});var ao=r(35551);const{defineMultiStyleConfig:so,definePartsStyle:co}=(0,z.D)(E.keys),lo=(0,D.gJ)("slider-thumb-size"),uo=(0,D.gJ)("slider-track-size"),fo=(0,D.gJ)("slider-bg"),ho=(0,z.k0)((t=>{const{orientation:e}=t;
1return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...It({orientation:e,vertical:{h:"100%",px:(0,ao.y)(lo.reference).divide(2).toString()},horizontal:{w:"100%",py:(0,ao.y)(lo.reference).divide(2).toString()}})}})),po=(0,z.k0)((t=>({...It({orientation:t.orientation,horizontal:{h:uo.reference},vertical:{w:uo.reference}}),overflow:"hidden",borderRadius:"sm",[fo.variable]:"colors.gray.200",_dark:{[fo.variable]:"colors.whiteAlpha.200"},_disabled:{[fo.variable]:"colors.gray.300",_dark:{[fo.variable]:"colors.whiteAlpha.300"}},bg:fo.reference}))),mo=(0,z.k0)((t=>{const{orientation:e}=t;return{...It({orientation:e,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:lo.reference,h:lo.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}})),go=(0,z.k0)((t=>{const{colorScheme:e}=t;return{width:"inherit",height:"inherit",[fo.variable]:`colors.${e}.500`,_dark:{[fo.variable]:`colors.${e}.200`},bg:fo.reference}})),vo=so({baseStyle:co((t=>({container:ho(t),track:po(t),thumb:mo(t),filledTrack:go(t)}))),sizes:{lg:co({container:{[lo.variable]:"sizes.4",[uo.variable]:"sizes.1"}}),md:co({container:{[lo.variable]:"sizes.3.5",[uo.variable]:"sizes.1"}}),sm:co({container:{[lo.variable]:"sizes.2.5",[uo.variable]:"sizes.0.5"}})},defaultProps:{size:"md",colorScheme:"blue"}}),bo=ve("spinner-size"),yo=(0,z.k0)({width:[bo.reference],height:[bo.reference]}),xo={xs:(0,z.k0)({[bo.variable]:"sizes.3"}),sm:(0,z.k0)({[bo.variable]:"sizes.4"}),md:(0,z.k0)({[bo.variable]:"sizes.6"}),lg:(0,z.k0)({[bo.variable]:"sizes.8"}),xl:(0,z.k0)({[bo.variable]:"sizes.12"})},wo=(0,z.fj)({baseStyle:yo,sizes:xo,defaultProps:{size:"md"}}),{defineMultiStyleConfig:ko,definePartsStyle:So}=(0,z.D)(T.keys),_o=ko({baseStyle:So({container:{},label:(0,z.k0)({fontWeight:"medium"}),helpText:(0,z.k0)({opacity:.8,marginBottom:"2"}),number:(0,z.k0)({verticalAlign:"baseline",fontWeight:"semibold"}),icon:(0,z.k0)({marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"})}),sizes:{md:So({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},defaultProps:{size:"md"}}),{defineMultiStyleConfig:Co,definePartsStyle:Eo}=(0,z.D)(["stepper","step","title","description","indicator","separator","icon","number"]),To=(0,D.gJ)("stepper-indicator-size"),Ao=(0,D.gJ)("stepper-icon-size"),Po=(0,D.gJ)("stepper-title-font-size"),$o=(0,D.gJ)("stepper-description-font-size"),Ro=(0,D.gJ)("stepper-accent-color"),jo=Co({baseStyle:Eo((({colorScheme:t})=>({stepper:{display:"flex",justifyContent:"space-between",gap:"4","&[data-orientation=vertical]":{flexDirection:"column",alignItems:"flex-start"},"&[data-orientation=horizontal]":{flexDirection:"row",alignItems:"center"},[Ro.variable]:`colors.${t}.500`,_dark:{[Ro.variable]:`colors.${t}.200`}},title:{fontSize:Po.reference,fontWeight:"medium"},description:{fontSize:$o.reference,color:"chakra-subtle-text"},number:{fontSize:Po.reference},step:{flexShrink:0,position:"relative",display:"flex",gap:"2","&[data-orientation=horizontal]":{alignItems:"center"},flex:"1","&:last-of-type:not([data-stretch])":{flex:"initial"}},icon:{flexShrink:0,width:Ao.reference,height:Ao.reference},indicator:{flexShrink:0,borderRadius:"full",width:To.reference,height:To.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:Ro.reference},"&[data-status=complete]":{bg:Ro.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:Ro.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${To.reference} - 8px)`,top:`calc(${To.reference} + 4px)`,insetStart:`calc(${To.reference} / 2 - 1px)`}}}))),sizes:{xs:Eo({stepper:{[To.variable]:"sizes.4",[Ao.variable]:"sizes.3",[Po.variable]:"fontSizes.xs",[$o.variable]:"fontSizes.xs"}}),sm:Eo({stepper:{[To.variable]:"sizes.6",[Ao.variable]:"sizes.4",[Po.variable]:"fontSizes.sm",[$o.variable]:"fontSizes.xs"}}),md:Eo({stepper:{[To.variable]:"sizes.8",[Ao.variable]:"sizes.5",[Po.variable]:"fontSizes.md",[$o.variable]:"fontSizes.sm"}}),lg:Eo({stepper:{[To.variable]:"sizes.10",[Ao.variable]:"sizes.6",[Po.variable]:"fontSizes.lg",[$o.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:zo,definePartsStyle:Oo}=(0,z.D)(A.keys),Mo=ve("switch-track-width"),Bo=ve("switch-track-height"),Do=ve("switch-track-diff"),Io=ln.subtract(Mo,Bo),Lo=ve("switch-thumb-x"),Vo=ve("switch-bg"),Fo=(0,z.k0)((t=>{const{colorScheme:e}=t;return{borderRadius:"full",p:"0.5",width:[Mo.reference],height:[Bo.reference],transitionProperty:"common",transitionDuration:"fast",[Vo.variable]:"colors.gray.300",_dark:{[Vo.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[Vo.variable]:`colors.${e}.500`,_dark:{[Vo.variable]:`colors.${e}.200`}},bg:Vo.reference}})),Wo=(0,z.k0)({bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[Bo.reference],height:[Bo.reference],_checked:{transform:`translateX(${Lo.reference})`}}),No=zo({baseStyle:Oo((t=>({container:{[Do.variable]:Io,[Lo.variable]:Do.reference,_rtl:{[Lo.variable]:ln(Do).negate().toString()}},track:Fo(t),thumb:Wo}))),sizes:{sm:Oo({container:{[Mo.variable]:"1.375rem",[Bo.variable]:"sizes.3"}}),md:Oo({container:{[Mo.variable]:"1.875rem",[Bo.variable]:"sizes.4"}}),lg:Oo({container:{[Mo.variable]:"2.875rem",[Bo.variable]:"sizes.6"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Uo,definePartsStyle:Ho}=(0,z.D)(P.keys),qo=Ho({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),Yo=(0,z.k0)({"&[data-is-numeric=true]":{textAlign:"end"}}),Zo=Uo({baseStyle:qo,variants:{simple:Ho((t=>{const{colorScheme:e}=t;return{th:{color:Dt("gray.600","gray.400")(t),borderBottom:"1px",borderColor:Dt(`${e}.100`,`${e}.700`)(t),...Yo},td:{borderBottom:"1px",borderColor:Dt(`${e}.100`,`${e}.700`)(t),...Yo},caption:{color:Dt("gray.600","gray.100")(t)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}})),striped:Ho((t=>{const{colorScheme:e}=t;return{th:{color:Dt("gray.600","gray.400")(t),borderBottom:"1px",borderColor:Dt(`${e}.100`,`${e}.700`)(t),...Yo},td:{borderBottom:"1px",borderColor:Dt(`${e}.100`,`${e}.700`)(t),...Yo},caption:{color:Dt("gray.600","gray.100")(t)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:Dt(`${e}.100`,`${e}.700`)(t)},td:{background:Dt(`${e}.100`,`${e}.700`)(t)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}})),unstyled:(0,z.k0)({})},sizes:{sm:Ho({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}
1),md:Ho({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:Ho({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}}),Jo=(0,D.gJ)("tabs-color"),Go=(0,D.gJ)("tabs-bg"),Xo=(0,D.gJ)("tabs-border-color"),{defineMultiStyleConfig:Ko,definePartsStyle:Qo}=(0,z.D)($.keys),ti=(0,z.k0)((t=>{const{orientation:e}=t;return{display:"vertical"===e?"flex":"block"}})),ei=(0,z.k0)((t=>{const{isFitted:e}=t;return{flex:e?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}})),ri=(0,z.k0)((t=>{const{align:e="start",orientation:r}=t;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[e],flexDirection:"vertical"===r?"column":"row"}})),ni=(0,z.k0)({p:4}),oi=Qo((t=>({root:ti(t),tab:ei(t),tablist:ri(t),tabpanel:ni}))),ii={sm:Qo({tab:{py:1,px:4,fontSize:"sm"}}),md:Qo({tab:{fontSize:"md",py:2,px:4}}),lg:Qo({tab:{fontSize:"lg",py:3,px:4}})},ai=Qo((t=>{const{colorScheme:e,orientation:r}=t,n="vertical"===r,o=n?"borderStart":"borderBottom";return{tablist:{[o]:"2px solid",borderColor:"inherit"},tab:{[o]:"2px solid",borderColor:"transparent",[n?"marginStart":"marginBottom"]:"-2px",_selected:{[Jo.variable]:`colors.${e}.600`,_dark:{[Jo.variable]:`colors.${e}.300`},borderColor:"currentColor"},_active:{[Go.variable]:"colors.gray.200",_dark:{[Go.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:Jo.reference,bg:Go.reference}}})),si=Qo((t=>{const{colorScheme:e}=t;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[Xo.variable]:"transparent",_selected:{[Jo.variable]:`colors.${e}.600`,[Xo.variable]:"colors.white",_dark:{[Jo.variable]:`colors.${e}.300`,[Xo.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:Xo.reference},color:Jo.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}})),ci=Qo((t=>{const{colorScheme:e}=t;return{tab:{border:"1px solid",borderColor:"inherit",[Go.variable]:"colors.gray.50",_dark:{[Go.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[Go.variable]:"colors.white",[Jo.variable]:`colors.${e}.600`,_dark:{[Go.variable]:"colors.gray.800",[Jo.variable]:`colors.${e}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:Jo.reference,bg:Go.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}})),li=Qo((t=>{const{colorScheme:e,theme:r}=t;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:tt(r,`${e}.700`),bg:tt(r,`${e}.100`)}}}})),ui=Ko({baseStyle:oi,sizes:ii,variants:{line:ai,enclosed:si,"enclosed-colored":ci,"soft-rounded":li,"solid-rounded":Qo((t=>{const{colorScheme:e}=t;return{tab:{borderRadius:"full",fontWeight:"semibold",[Jo.variable]:"colors.gray.600",_dark:{[Jo.variable]:"inherit"},_selected:{[Jo.variable]:"colors.white",[Go.variable]:`colors.${e}.600`,_dark:{[Jo.variable]:"colors.gray.800",[Go.variable]:`colors.${e}.300`}},color:Jo.reference,bg:Go.reference}}})),unstyled:Qo({})},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),{defineMultiStyleConfig:di,definePartsStyle:fi}=(0,z.D)(R.keys),hi=(0,D.gJ)("tag-bg"),pi=(0,D.gJ)("tag-color"),mi=(0,D.gJ)("tag-shadow"),gi=(0,D.gJ)("tag-min-height"),vi=(0,D.gJ)("tag-min-width"),bi=(0,D.gJ)("tag-font-size"),yi=(0,D.gJ)("tag-padding-inline"),xi=fi({container:(0,z.k0)({fontWeight:"medium",lineHeight:1.2,outline:0,[pi.variable]:Et.color.reference,[hi.variable]:Et.bg.reference,[mi.variable]:Et.shadow.reference,color:pi.reference,bg:hi.reference,boxShadow:mi.reference,borderRadius:"md",minH:gi.reference,minW:vi.reference,fontSize:bi.reference,px:yi.reference,_focusVisible:{[mi.variable]:"shadows.outline"}}),label:(0,z.k0)({lineHeight:1.2,overflow:"visible"}),closeButton:(0,z.k0)({fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}})}),wi={sm:fi({container:{[gi.variable]:"sizes.5",[vi.variable]:"sizes.5",[bi.variable]:"fontSizes.xs",[yi.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:fi({container:{[gi.variable]:"sizes.6",[vi.variable]:"sizes.6",[bi.variable]:"fontSizes.sm",[yi.variable]:"space.2"}}),lg:fi({container:{[gi.variable]:"sizes.8",[vi.variable]:"sizes.8",[bi.variable]:"fontSizes.md",[yi.variable]:"space.3"}})},ki=di({variants:{subtle:fi((t=>({container:jt.variants?.subtle(t)}))),solid:fi((t=>({container:jt.variants?.solid(t)}))),outline:fi((t=>({container:jt.variants?.outline(t)})))},baseStyle:xi,sizes:wi,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),Si=(0,z.k0)({...wr.baseStyle?.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"}),_i={outline:(0,z.k0)((t=>wr.variants?.outline(t).field??{})),flushed:(0,z.k0)((t=>wr.variants?.flushed(t).field??{})),filled:(0,z.k0)((t=>wr.variants?.filled(t).field??{})),unstyled:wr.variants?.unstyled.field??{}},Ci={xs:wr.sizes?.xs.field??{},sm:wr.sizes?.sm.field??{},md:wr.sizes?.md.field??{},lg:wr.sizes?.lg.field??{}},Ei=(0,z.fj)({baseStyle:Si,sizes:Ci,variants:_i,defaultProps:{size:"md",variant:"outline"}}),Ti=ve("tooltip-bg"),Ai=ve("tooltip-fg"),Pi=ve("popper-arrow-bg"),$i=(0,z.k0)({bg:Ti.reference,color:Ai.reference,[Ti.variable]:"colors.gray.700",[Ai.variable]:"colors.whiteAlpha.900",_dark:{[Ti.variable]:"colors.gray.300",[Ai.variable]:"colors.gray.9
100"},[Pi.variable]:Ti.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"}),Ri=(0,z.fj)({baseStyle:$i}),ji={Accordion:B,Alert:ut,Avatar:Ct,Badge:jt,Breadcrumb:Bt,Button:Zt,Checkbox:he,CloseButton:Se,Code:Te,Container:Pe,Divider:je,Drawer:He,Editable:Ze,Form:Ke,FormError:rr,FormLabel:or,Heading:sr,Input:wr,Kbd:_r,Link:Er,List:Pr,Menu:Vr,Modal:Qr,NumberInput:_n,PinInput:An,Popover:On,Progress:Wn,Radio:qn,Select:Kn,Skeleton:ro,SkipLink:io,Slider:vo,Spinner:wo,Stat:_o,Switch:No,Table:Zo,Tabs:ui,Tag:ki,Textarea:Ei,Tooltip:Ri,Card:ie,Stepper:jo},zi={property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}},Oi={breakpoints:{base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},radii:{none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},blur:{none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},colors:{transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"}},...un,sizes:ft,shadows:{xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dar
1k-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},space:dt,borders:{none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},transition:zi},Mi={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-inverse-text":{_light:"white",_dark:"gray.800"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-subtle-text":{_light:"gray.600",_dark:"gray.400"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},Bi={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color"}}},Di={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},Ii={semanticTokens:Mi,direction:"ltr",...Oi,components:ji,styles:Bi,config:Di},Li={semanticTokens:Mi,direction:"ltr",components:{},...Oi,styles:Bi,config:Di};var Vi=r(21326),Fi=r(20442),Wi=r(31046);const Ni="chakra-ui-light",Ui="chakra-ui-dark";const Hi="chakra-ui-color-mode";const qi=(Yi=Hi,{ssr:!1,type:"localStorage",get(t){if(!globalThis?.document)return t;let e;try{e=localStorage.getItem(Yi)||t}catch(r){}return e||t},set(t){try{localStorage.setItem(Yi,t)}catch(e){}}});var Yi;function Zi(t,e){return t.match(new RegExp(`(^| )${e}=([^;]+)`))?.[2]}function Ji(t,e){return{ssr:!!e,type:"cookie",get:r=>e?Zi(e,t):globalThis?.document&&Zi(document.cookie,t)||r,set(e){document.cookie=`${t}=${e}; max-age=31536000; path=/`}}}Ji(Hi);const Gi=()=>{},Xi=(0,Vi.jU)()?i.useLayoutEffect:i.useEffect;function Ki(t,e){return"cookie"===t.type&&t.ssr?t.get(e):e}const Qi=(0,Fi.w)((function(t,e){const{value:r,children:n,options:{useSystemColorMode:a,initialColorMode:s,disableTransitionOnChange:c}={},colorModeManager:l=qi}=t,u="dark"===s?"dark":"light",[d,f]=(0,i.useState)((()=>Ki(l,u))),[h,p]=(0,i.useState)((()=>Ki(l))),{getSystemTheme:m,setClassName:g,setDataset:v,addListener:b}=(0,i.useMemo)((()=>function(t={}){const{preventTransition:e=!0,nonce:r}=t,n={setDataset:t=>{const r=e?n.preventTransition():void 0;document.documentElement.dataset.theme=t,document.documentElement.style.colorScheme=t,r?.()},setClassName(t){document.body.classList.add(t?Ui:Ni),document.body.classList.remove(t?Ni:Ui)},query:()=>window.matchMedia("(prefers-color-scheme: dark)"),getSystemTheme:t=>n.query().matches??"dark"===t?"dark":"light",addListener(t){const e=n.query(),r=e=>{t(e.matches?"dark":"light")};return"function"===typeof e.addListener?e.addListener(r):e.addEventListener("change",r),()=>{"function"===typeof e.removeListener?e.removeListener(r):e.removeEventListener("change",r)}},preventTransition(){const t=document.createElement("style");return t.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),void 0!==r&&(t.nonce=r),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),requestAnimationFrame((()=>{requestAnimationFrame((()=>{document.head.removeChild(t)}))}))}}};return n}({preventTransition:c,nonce:e?.nonce})),[c,e?.nonce]),y="system"!==s||d?d:h,x=(0,i.useCallback)((t=>{const e="system"===t?m():t;f(e),g("dark"===e),v(e),l.set(e)}),[l,m,g,v]);Xi((()=>{"system"===s&&p(m())}),[]),(0,i.useEffect)((()=>{const t=l.get();x(t||("system"!==s?u:"system"))}),[l,u,s,x]);const w=(0,i.useCallback)((()=>{x("dark"===y?"light":"dark")}),[y,x]);(0,i.useEffect)((()=>{if(a)return b(x)}),[a,b,x]);const k=(0,i.useMemo)((()=>({colorMode:r??y,toggleColorMode:r?Gi:w,setColorMode:r?Gi:x,forced:void 0!==r})),[y,w,x,r]);return(0,o.jsx)(Wi.kc.Provider,{value:k,children:n})}));Qi.displayName="ColorModeProvider";var ta=r(70917);const ea=String.raw,ra=ea`
2  :root,
3  :host {
4    --chakra-vh: 100vh;
5  }
6
7  @supports (height: -webkit-fill-available) {
8    :root,
9    :host {
10      --chakra-vh: -webkit-fill-available;
11    }
12  }
13
14  @supports (height: -moz-fill-available) {
15    :root,
16    :host {
17      --chakra-vh: -moz-fill-available;
18    }
19  }
20
21  @supports (height: 100dvh) {
22    :root,
23    :host {
24      --chakra-vh: 100dvh;
25    }
26  }
27`,na=()=>(0,o.jsx)(ta.xB,{styles:ra}),oa=({scope:t=""})=>(0,o.jsx)(ta.xB,{styles:ea`
28      html {
29        line-height: 1.5;
30        -webkit-text-size-adjust: 100%;
31        font-family: system-ui, sans-serif;
32        -webkit-font-smoothing: antialiased;
33        text-rendering: optimizeLegibility;
34        -moz-osx-font-smoothing: grayscale;
35        touch-action: manipulation;
36      }
37
38      body {
39        position: relative;
40        min-height: 100%;
41        margin: 0;
42        font-feature-settings: "kern";
43      }
44
45      ${t} :where(*, *::before, *::after) {
46        border-width: 0;
47        border-style: solid;
48        box-sizing: border-box;
49        word-wrap: break-word;
50      }
51
52      main {
53        display: block;
54      }
55
56      ${t} hr {
57        border-top-width: 1px;
58        box-sizing: content-box;
59        height: 0;
60        overflow: visible;
61      }
62
63      ${t} :where(pre, code, kbd,samp) {
64        font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
65        font-size: 1em;
66      }
67
68      ${t} a {
69        background-color: transparent;
70        color: inherit;
71        text-decoration: inherit;
72      }
73
74      ${t} abbr[title] {
75        border-bottom: none;
76        text-decoration: underline;
77        -webkit-text-decoration: underline dotted;
78        text-decoration: underline dotted;
79      }
80
81      ${t} :where(b, strong) {
82        font-weight: bold;
83      }
84
85      ${t} small {
86        font-size: 80%;
87      }
88
89      ${t} :where(sub,sup) {
90        font-size: 75%;
91        line-height: 0;
92        position: relative;
93        vertical-align: baseline;
94      }
95
96      ${t} sub {
97        bottom: -0.25em;
98      }
99
100      ${t} sup {
101        top: -0.5em;
102      }
103
104      ${t} img {
105        border-style: none;
106      }
107
108      ${t} :where(button, input, optgroup, select, textarea) {
109        font-family: inherit;
110        font-size: 100%;
111        line-height: 1.15;
112        margin: 0;
113      }
114
115      ${t} :where(button, input) {
116        overflow: visible;
117      }
118
119      ${t} :where(button, select) {
120        text-transform: none;
121      }
122
123      ${t} :where(
124          button::-moz-focus-inner,
125          [type="button"]::-moz-focus-inner,
126          [type="reset"]::-moz-focus-inner,
127          [type="submit"]::-moz-focus-inner
128        ) {
129        border-style: none;
130        padding: 0;
131      }
132
133      ${t} fieldset {
134        padding: 0.35em 0.75em 0.625em;
135      }
136
137      ${t} legend {
138        box-sizing: border-box;
139        color: inherit;
140        display: table;
141        max-width: 100%;
142        padding: 0;
143        white-space: normal;
144      }
145
146      ${t} progress {
147        vertical-align: baseline;
148      }
149
150      ${t} textarea {
151        overflow: auto;
152      }
153
154      ${t}
154 :where([type="checkbox"], [type="radio"]) {
155        box-sizing: border-box;
156        padding: 0;
157      }
158
159      ${t} input[type="number"]::-webkit-inner-spin-button,
160      ${t} input[type="number"]::-webkit-outer-spin-button {
161        -webkit-appearance: none !important;
162      }
163
164      ${t} input[type="number"] {
165        -moz-appearance: textfield;
166      }
167
168      ${t} input[type="search"] {
169        -webkit-appearance: textfield;
170        outline-offset: -2px;
171      }
172
173      ${t} input[type="search"]::-webkit-search-decoration {
174        -webkit-appearance: none !important;
175      }
176
177      ${t} ::-webkit-file-upload-button {
178        -webkit-appearance: button;
179        font: inherit;
180      }
181
182      ${t} details {
183        display: block;
184      }
185
186      ${t} summary {
187        display: list-item;
188      }
189
190      template {
191        display: none;
192      }
193
194      [hidden] {
195        display: none !important;
196      }
197
198      ${t} :where(
199          blockquote,
200          dl,
201          dd,
202          h1,
203          h2,
204          h3,
205          h4,
206          h5,
207          h6,
208          hr,
209          figure,
210          p,
211          pre
212        ) {
213        margin: 0;
214      }
215
216      ${t} button {
217        background: transparent;
218        padding: 0;
219      }
220
221      ${t} fieldset {
222        margin: 0;
223        padding: 0;
224      }
225
226      ${t} :where(ol, ul) {
227        margin: 0;
228        padding: 0;
229      }
230
231      ${t} textarea {
232        resize: vertical;
233      }
234
235      ${t} :where(button, [role="button"]) {
236        cursor: pointer;
237      }
238
239      ${t} button::-moz-focus-inner {
240        border: 0 !important;
241      }
242
243      ${t} table {
244        border-collapse: collapse;
245      }
246
247      ${t} :where(h1, h2, h3, h4, h5, h6) {
248        font-size: inherit;
249        font-weight: inherit;
250      }
251
252      ${t} :where(button, input, optgroup, select, textarea) {
253        padding: 0;
254        line-height: inherit;
255        color: inherit;
256      }
257
258      ${t} :where(img, svg, video, canvas, audio, iframe, embed, object) {
259        display: block;
260      }
261
262      ${t} :where(img, video) {
263        max-width: 100%;
264        height: auto;
265      }
266
267      [data-js-focus-visible]
268        :focus:not([data-focus-visible-added]):not(
269          [data-focus-visible-disabled]
270        ) {
271        outline: none;
272        box-shadow: none;
273      }
274
275      ${t} select::-ms-expand {
276        display: none;
277      }
278
279      ${ra}
280    `});var ia=r(27376),aa=r(28215),sa=r(28497);const ca=t=>{const{children:e,colorModeManager:r,portalZIndex:n,resetScope:i,resetCSS:a=!0,theme:s={},environment:c,cssVarsRoot:l,disableEnvironment:u,disableGlobalStyle:d}=t,f=(0,o.jsx)(sa.u,{environment:c,disabled:u,children:e});return(0,o.jsx)(ia.f6,{theme:s,cssVarsRoot:l,children:(0,o.jsxs)(Qi,{colorModeManager:r,options:s.config,children:[a?(0,o.jsx)(oa,{scope:i}):(0,o.jsx)(na,{}),!d&&(0,o.jsx)(ia.ZL,{}),n?(0,o.jsx)(aa.h,{zIndex:n,children:f}):f]})})};var la=r(88559);const ua=(da=Ii,function({children:t,theme:e=da,toastOptions:r,...n}){return(0,o.jsxs)(ca,{theme:e,...n,children:[(0,o.jsx)(la.Qi,{value:r?.defaultOptions,children:t}),(0,o.jsx)(la.VW,{...r})]})});var da,fa=r(5068),ha=r(27484),pa=r.n(ha),ma=(r(30933),r(9846),r(68770),r(71541),r(32049),r(4298)),ga=r.n(ma),va=r(35171),ba=(r(67763),r(11860)),ya=r.n(ba),xa=r(32561),wa=r(62573);const ka=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];var Sa=r(38554);function _a(t){return"function"===typeof t}const Ca=t=>function(...e){let r=[...e],n=e[e.length-1];var o;return o=n,(0,tn.Kn)(o)&&ka.every((t=>Object.prototype.hasOwnProperty.call(o,t)))&&r.length>1?r=r.slice(0,r.length-1):n=t,function(...t){return e=>t.reduce(((t,e)=>e(t)),e)}(...r.map((t=>e=>_a(t)?t(e):function(...t){return Sa({},...t,Ta)}(e,t))))(n)},Ea=Ca(Ii);Ca(Li);function Ta(t,e,r,n){return(_a(t)||_a(e))&&Object.prototype.hasOwnProperty.call(n,r)?(...r)=>{const n=_a(t)?t(...r):t,o=_a(e)?e(...r):e;return Sa({},n,o,Ta)}:(0,tn.Kn)(t)&&(0,tn.kJ)(e)||(0,tn.kJ)(t)&&(0,tn.Kn)(e)?e:void 0}var Aa=Ea({colors:{brand:{100:"#DBE6FA",500:"#0071EB",600:"#0031AB",700:"#000177",800:"#1A2B49"},brand2:{500:"#FFA502"},orange:{500:"#F4511E",600:"#E64A19",700:"#D84315"}},components:{Container:{baseStyle:{maxWidth:"1200px"}},Heading:{sizes:{md:{fontSize:"24px"}}},Button:{defaultProps:{colorScheme:"brand"}},FormLabel:{baseStyle:{margin:"0 0 4px 0",color:"gray.600",fontWeight:"400"}}}}),Pa=r(92443),$a=r(69396),Ra=r(99534);var ja=[function(t){return function(e,r,o){var i=t(e,r,o),a=i.data,s=(0,Ra.Z)(i,["data"]);return(0,$a.Z)((0,n.Z)({},s),{response:a})}}],za=function(t){window.dataLayer.push({event:"pageview",page:t})};pa().locale("es");var Oa=function(t){var e=t.Component,r=t.pageProps;r.session&&(Pa.Z.headers={Authorization:"Bearer ".concat(r.session.jwt)});var s=(0,a.useRouter)();return(0,i.useEffect)((function(){return s.events.on("routeChangeComplete",za),function(){s.events.off("routeChangeComplete",za)}}),[s.events]),(0,i.useEffect)((function(){var t=function(t){if(/^\/gracias(\?|$)/.test(t))ya().remove("booking");else{[/^\/planes\/[^/]+\/resultado/,/^\/checkout\/[^/]+/].some((function(e){return e.test(t)}))||ya().remove("booking")}};return s.events.on("routeChangeStart",t),function(){s.events.off("routeChangeStart",t)}}),[s.events]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(ga(),{id:"gtag-base",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"\n            (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n            new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n            j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n            'https://www.googletagmanager.com/gtm.js?id='
280+i+dl;f.parentNode.insertBefore(j,f);\n            })(window,document,'script','dataLayer', '".concat("GTM-KC3LJWN","');\n          ")}}),(0,o.jsxs)(ua,{theme:Aa,children:[(0,o.jsx)(va.Z,{delay:300,options:{showSpinner:!1}}),(0,o.jsx)(xa.H,{session:r.session,children:(0,o.jsx)(wa.D,{hasUserSession:Boolean(r.session),children:(0,o.jsx)(fa.J$,{value:{fetcher:function(t,e){return(0,Pa.Z)(t,e).then((function(t){return t.json()}))},use:ja},children:(0,o.jsx)(e,(0,n.Z)({},r))})})})]})]})}},71541:function(){},32049:function(){},9846:function(){},68770:function(){},30933:function(){},77663:function(t){!function(){var e={229:function(t){var e,r,n=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(t){if(e===setTimeout)return setTimeout(t,0);if((e===o||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(n){try{return e.call(null,t,0)}catch(n){return e.call(this,t,0)}}}!function(){try{e="function"===typeof setTimeout?setTimeout:o}catch(t){e=o}try{r="function"===typeof clearTimeout?clearTimeout:i}catch(t){r=i}}();var s,c=[],l=!1,u=-1;function d(){l&&s&&(l=!1,s.length?c=s.concat(c):u=-1,c.length&&f())}function f(){if(!l){var t=a(d);l=!0;for(var e=c.length;e;){for(s=c,c=[];++u<e;)s&&s[u].run();u=-1,e=c.length}s=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function p(){}n.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];c.push(new h(t,e)),1!==c.length||l||a(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=p,n.addListener=p,n.once=p,n.off=p,n.removeListener=p,n.removeAllListeners=p,n.emit=p,n.prependListener=p,n.prependOnceListener=p,n.listeners=function(t){return[]},n.binding=function(t){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(t){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}}},r={};function n(t){var o=r[t];if(void 0!==o)return o.exports;var i=r[t]={exports:{}},a=!0;try{e[t](i,i.exports,n),a=!1}finally{a&&delete r[t]}return i.exports}n.ab="//";var o=n(229);t.exports=o}()},11163:function(t,e,r){t.exports=r(90387)},4298:function(t,e,r){t.exports=r(20699)},74865:function(t,e,r){var n,o;n=function(){var t={version:"0.2.0"},e=t.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function r(t,e,r){return t<e?e:t>r?r:t}function n(t){return 100*(-1+t)}function o(t,r,o){var i;return(i="translate3d"===e.positionUsing?{transform:"translate3d("+n(t)+"%,0,0)"}:"translate"===e.positionUsing?{transform:"translate("+n(t)+"%,0)"}:{"margin-left":n(t)+"%"}).transition="all "+r+"ms "+o,i}t.configure=function(t){var r,n;for(r in t)void 0!==(n=t[r])&&t.hasOwnProperty(r)&&(e[r]=n);return this},t.status=null,t.set=function(n){var s=t.isStarted();n=r(n,e.minimum,1),t.status=1===n?null:n;var c=t.render(!s),l=c.querySelector(e.barSelector),u=e.speed,d=e.easing;return c.offsetWidth,i((function(r){""===e.positionUsing&&(e.positionUsing=t.getPositioningCSS()),a(l,o(n,u,d)),1===n?(a(c,{transition:"none",opacity:1}),c.offsetWidth,setTimeout((function(){a(c,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){t.remove(),r()}),u)}),u)):setTimeout(r,u)})),this},t.isStarted=function(){return"number"===typeof t.status},t.start=function(){t.status||t.set(0);var r=function(){setTimeout((function(){t.status&&(t.trickle(),r())}),e.trickleSpeed)};return e.trickle&&r(),this},t.done=function(e){return e||t.status?t.inc(.3+.5*Math.random()).set(1):this},t.inc=function(e){var n=t.status;return n?("number"!==typeof e&&(e=(1-n)*r(Math.random()*n,.1,.95)),n=r(n+e,0,.994),t.set(n)):t.start()},t.trickle=function(){return t.inc(Math.random()*e.trickleRate)},function(){var e=0,r=0;t.promise=function(n){return n&&"resolved"!==n.state()?(0===r&&t.start(),e++,r++,n.always((function(){0===--r?(e=0,t.done()):t.set((e-r)/e)})),this):this}}(),t.render=function(r){if(t.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var o=document.createElement("div");o.id="nprogress",o.innerHTML=e.template;var i,s=o.querySelector(e.barSelector),l=r?"-100":n(t.status||0),u=document.querySelector(e.parent);return a(s,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),e.showSpinner||(i=o.querySelector(e.spinnerSelector))&&d(i),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(o),o},t.remove=function(){l(document.documentElement,"nprogress-busy"),l(document.querySelector(e.parent),"nprogress-custom-parent");var t=document.getElementById("nprogress");t&&d(t)},t.isRendered=function(){return!!document.getElementById("nprogress")},t.getPositioningCSS=function(){var t=document.body.style,e="WebkitTransform"in t?"Webkit":"MozTransform"in t?"Moz":"msTransform"in t?"ms":"OTransform"in t?"O":"";return e+"Perspective"in t?"translate3d":e+"Transform"in t?"translate":"margin"};var i=function(){var t=[];function e(){var r=t.shift();r&&r(e)}return function(r){t.push(r),1==t.length&&e()}}(),a=function(){var t=["Webkit","O","Moz","ms"],e={};function r(t){return t.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(t,e){return e.toUpperCase()}))}function n(e){var r=document.body.style;if(e in r)return e;for(var n,o=t.length,i=e.charAt(0).toUpperCase()+e.slice(1);o--;)if((n=t[o]+i)in r)return n;return e}function o(t){return t=r(t),e[t]||(e[t]=n(t))}function i(t,e,r){e=o(e),t.style[e]=r}return function(t,e){var r,n,o=arguments;if(2==o.length)for(r in e)void 0!==(n=e[r])&&e.hasOwnProperty(r)&&i(t,r,n);else i(t,o[1],o[2])}}();function s(t,e){return("string"==typeof t?t:u(t)).indexOf(" "+e+" ")>=0}function c(t,e){var r=u(t),n=r+e;s(r,e)||(t.className=n.substring(1))}function l(t,e){var r,n=u(t);s(t,e)&&(r=n.replace(" "+e+" "," "),t.className=r.substring(1,r.length-1))}function u(t){return(" "+(t.className||"")+" ").replace(/\s+/gi," ")}function d(t){t&&t.parentNode&&t.parentNode.removeChild(t)}return t},void 0===(o="function"===typeof n?n.call(e,r,e,t):n)||(t.exports=o)},69590:function(t){var e="undefined"!==typeof Element,r="function"===typeof Map,n="function"===typeof Set,o="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(t,a){if(t===a)return!0;
280if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var s,c,l,u;if(Array.isArray(t)){if((s=t.length)!=a.length)return!1;for(c=s;0!==c--;)if(!i(t[c],a[c]))return!1;return!0}if(r&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(u=t.entries();!(c=u.next()).done;)if(!a.has(c.value[0]))return!1;for(u=t.entries();!(c=u.next()).done;)if(!i(c.value[1],a.get(c.value[0])))return!1;return!0}if(n&&t instanceof Set&&a instanceof Set){if(t.size!==a.size)return!1;for(u=t.entries();!(c=u.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((s=t.length)!=a.length)return!1;for(c=s;0!==c--;)if(t[c]!==a[c])return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf&&"function"===typeof t.valueOf&&"function"===typeof a.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString&&"function"===typeof t.toString&&"function"===typeof a.toString)return t.toString()===a.toString();if((s=(l=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(c=s;0!==c--;)if(!Object.prototype.hasOwnProperty.call(a,l[c]))return!1;if(e&&t instanceof Element)return!1;for(c=s;0!==c--;)if(("_owner"!==l[c]&&"__v"!==l[c]&&"__o"!==l[c]||!t.$$typeof)&&!i(t[l[c]],a[l[c]]))return!1;return!0}return t!==t&&a!==a}t.exports=function(t,e){try{return i(t,e)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}}},69921:function(t,e){"use strict";var r="function"===typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,y=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function w(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case n:switch(t=t.type){case u:case d:case i:case s:case a:case h:return t;default:switch(t=t&&t.$$typeof){case l:case f:case g:case m:case c:return t;default:return e}}case o:return e}}}function k(t){return w(t)===d}e.AsyncMode=u,e.ConcurrentMode=d,e.ContextConsumer=l,e.ContextProvider=c,e.Element=n,e.ForwardRef=f,e.Fragment=i,e.Lazy=g,e.Memo=m,e.Portal=o,e.Profiler=s,e.StrictMode=a,e.Suspense=h,e.isAsyncMode=function(t){return k(t)||w(t)===u},e.isConcurrentMode=k,e.isContextConsumer=function(t){return w(t)===l},e.isContextProvider=function(t){return w(t)===c},e.isElement=function(t){return"object"===typeof t&&null!==t&&t.$$typeof===n},e.isForwardRef=function(t){return w(t)===f},e.isFragment=function(t){return w(t)===i},e.isLazy=function(t){return w(t)===g},e.isMemo=function(t){return w(t)===m},e.isPortal=function(t){return w(t)===o},e.isProfiler=function(t){return w(t)===s},e.isStrictMode=function(t){return w(t)===a},e.isSuspense=function(t){return w(t)===h},e.isValidElementType=function(t){return"string"===typeof t||"function"===typeof t||t===i||t===d||t===s||t===a||t===h||t===p||"object"===typeof t&&null!==t&&(t.$$typeof===g||t.$$typeof===m||t.$$typeof===c||t.$$typeof===l||t.$$typeof===f||t.$$typeof===b||t.$$typeof===y||t.$$typeof===x||t.$$typeof===v)},e.typeOf=w},59864:function(t,e,r){"use strict";t.exports=r(69921)},11860:function(t){!function(e,r){var n={version:"2.14.4",areas:{},apis:{},nsdelim:".",inherit:function(t,e){for(var r in t)e.hasOwnProperty(r)||Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e},stringify:function(t,e){return void 0===t||"function"===typeof t?t+"":JSON.stringify(t,e||n.replace)},parse:function(t,e){try{return JSON.parse(t,e||n.revive)}catch(r){return t}},fn:function(t,e){for(var r in n.storeAPI[t]=e,n.apis)n.apis[r][t]=e},get:function(t,e){return t.getItem(e)}
280,set:function(t,e,r){t.setItem(e,r)},remove:function(t,e){t.removeItem(e)},key:function(t,e){return t.key(e)},length:function(t){return t.length},clear:function(t){t.clear()},Store:function(t,e,r){var o=n.inherit(n.storeAPI,(function(t,e,r){return 0===arguments.length?o.getAll():"function"===typeof e?o.transact(t,e,r):void 0!==e?o.set(t,e,r):"string"===typeof t||"number"===typeof t?o.get(t):"function"===typeof t?o.each(t):t?o.setAll(t,e):o.clear()}));o._id=t;try{var i="__store2_test";e.setItem(i,"ok"),o._area=e,e.removeItem(i)}catch(a){o._area=n.storage("fake")}return o._ns=r||"",n.areas[t]||(n.areas[t]=o._area),n.apis[o._ns+o._id]||(n.apis[o._ns+o._id]=o),o},storeAPI:{area:function(t,e){var r=this[t];return r&&r.area||(r=n.Store(t,e,this._ns),this[t]||(this[t]=r)),r},namespace:function(t,e,r){if(r=r||this._delim||n.nsdelim,!t)return this._ns?this._ns.substring(0,this._ns.length-r.length):"";var o=t,i=this[o];if((!i||!i.namespace)&&((i=n.Store(this._id,this._area,this._ns+o+r))._delim=r,this[o]||(this[o]=i),!e))for(var a in n.areas)i.area(a,n.areas[a]);return i},isFake:function(t){return t?(this._real=this._area,this._area=n.storage("fake")):!1===t&&(this._area=this._real||this._area),"fake"===this._area.name},toString:function(){return"store"+(this._ns?"."+this.namespace():"")+"["+this._id+"]"},has:function(t){return this._area.has?this._area.has(this._in(t)):!!(this._in(t)in this._area)},size:function(){return this.keys().length},each:function(t,e){for(var r=0,o=n.length(this._area);r<o;r++){var i=this._out(n.key(this._area,r));if(void 0!==i&&!1===t.call(this,i,this.get(i),e))break;o>n.length(this._area)&&(o--,r--)}return e||this},keys:function(t){return this.each((function(t,e,r){r.push(t)}),t||[])},get:function(t,e){var r,o=n.get(this._area,this._in(t));return"function"===typeof e&&(r=e,e=null),null!==o?n.parse(o,r):null!=e?e:o},getAll:function(t){return this.each((function(t,e,r){r[t]=e}),t||{})},transact:function(t,e,r){var n=this.get(t,r),o=e(n);return this.set(t,void 0===o?n:o),this},set:function(t,e,r){var o,i=this.get(t);return null!=i&&!1===r?e:("function"===typeof r&&(o=r,r=void 0),n.set(this._area,this._in(t),n.stringify(e,o),r)||i)},setAll:function(t,e){var r,n;for(var o in t)n=t[o],this.set(o,n,e)!==n&&(r=!0);return r},add:function(t,e,r){var o=this.get(t);if(o instanceof Array)e=o.concat(e);else if(null!==o){var i=typeof o;if(i===typeof e&&"object"===i){for(var a in e)o[a]=e[a];e=o}else e=o+e}return n.set(this._area,this._in(t),n.stringify(e,r)),e},remove:function(t,e){var r=this.get(t,e);return n.remove(this._area,this._in(t)),r},clear:function(){return this._ns?this.each((function(t){n.remove(this._area,this._in(t))}),1):n.clear(this._area),this},clearAll:function(){var t=this._area;for(var e in n.areas)n.areas.hasOwnProperty(e)&&(this._area=n.areas[e],this.clear());return this._area=t,this},_in:function(t){return"string"!==typeof t&&(t=n.stringify(t)),this._ns?this._ns+t:t},_out:function(t){return this._ns?t&&0===t.indexOf(this._ns)?t.substring(this._ns.length):void 0:t}},storage:function(t){return n.inherit(n.storageAPI,{items:{},name:t})},storageAPI:{length:0,has:function(t){return this.items.hasOwnProperty(t)},key:function(t){var e=0;for(var r in this.items)if(this.has(r)&&t===e++)return r},setItem:function(t,e){this.has(t)||this.length++,this.items[t]=e},removeItem:function(t){this.has(t)&&(delete this.items[t],this.length--)},getItem:function(t){return this.has(t)?this.items[t]:null},clear:function(){for(var t in this.items)this.removeItem(t)}}},o=n.Store("local",function(){try{return localStorage}catch(t){}}());o.local=o,o._=n,o.area("session",function(){try{return sessionStorage}catch(t){}}()),o.area("page",n.storage("page")),"function"===typeof r&&void 0!==r.amd?r("store2",[],(function(){return o})):t.exports?t.exports=o:(e.store&&(n.conflict=e.store),e.store=o)}(this,this&&this.define)},83:function(t,e,r){"use strict";var n=r(67294);var o="function"===typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t===1/e)||t!==t&&e!==e},i=n.useState,a=n.useEffect,s=n.useLayoutEffect,c=n.useDebugValue;function l(t){var e=t.getSnapshot;t=t.value;try{var r=e();return!o(t,r)}catch(n){return!0}}var u="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(t,e){return e()}:function(t,e){var r=e(),n=i({inst:{value:r,getSnapshot:e}}),o=n[0].inst,u=n[1];
280return s((function(){o.value=r,o.getSnapshot=e,l(o)&&u({inst:o})}),[t,r,e]),a((function(){return l(o)&&u({inst:o}),t((function(){l(o)&&u({inst:o})}))}),[t]),c(r),r};e.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:u},61688:function(t,e,r){"use strict";t.exports=r(83)},87462:function(t,e,r){"use strict";function n(){return n=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},n.apply(null,arguments)}r.d(e,{Z:function(){return n}})},95372:function(t,e,r){"use strict";r.d(e,{W:function(){return o}});var n=r(67294);function o(t,e=[]){const r=(0,n.useRef)(t);return(0,n.useEffect)((()=>{r.current=t})),(0,n.useCallback)(((...t)=>r.current?.(...t)),e)}},12408:function(t,e,r){"use strict";r.d(e,{G:function(){return o}});var n=r(67294);const o=Boolean(globalThis?.document)?n.useLayoutEffect:n.useEffect},4840:function(t,e,r){"use strict";r.d(e,{r:function(){return o}});var n=r(67294);const o=(t,e)=>{const r=(0,n.useRef)(!1),o=(0,n.useRef)(!1);(0,n.useEffect)((()=>{if(r.current&&o.current)return t();o.current=!0}),e),(0,n.useEffect)((()=>(r.current=!0,()=>{r.current=!1})),[])}},31958:function(t,e,r){"use strict";r.d(e,{uZ:function(){return c},Hm:function(){return u},TR:function(){return h},XO:function(){return p},oX:function(){return l},uL:function(){return d}});var n=r(52110),o=r(85893),i=r(12553);function a(t){return(0,o.jsx)(i.J,{viewBox:"0 0 24 24",...t,children:(0,o.jsx)("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}var s=r(48899);const[c,l]=(0,n.k)({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),[u,d]=(0,n.k)({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),f={info:{icon:function(t){return(0,o.jsx)(i.J,{viewBox:"0 0 24 24",...t,children:(0,o.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})})},colorScheme:"blue"},warning:{icon:a,colorScheme:"orange"},success:{icon:function(t){return(0,o.jsx)(i.J,{viewBox:"0 0 24 24",...t,children:(0,o.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})})},colorScheme:"green"},error:{icon:a,colorScheme:"red"},loading:{icon:s.$,colorScheme:"blue"}};function h(t){return f[t].colorScheme}function p(t){return f[t].icon}},50090:function(t,e,r){"use strict";r.d(e,{X:function(){return l}});var n=r(85893),o=r(65522),i=r(34926),a=r(31958),s=r(49381),c=r(64993);const l=(0,s.G)((function(t,e){const{status:r}=(0,a.oX)(),s=(0,a.uL)(),l=(0,o.k0)({display:"inline",...s.description});return(0,n.jsx)(c.m.div,{ref:e,"data-status":r,...t,className:(0,i.cx)("chakra-alert__desc",t.className),__css:l})}));l.displayName="AlertDescription"},8843:function(t,e,r){"use strict";r.d(e,{z:function(){return s}});var n=r(85893),o=r(34926),i=r(31958),a=r(64993);function s(t){const{status:e}=(0,i.oX)(),r=(0,i.XO)(e),s=(0,i.uL)(),c="loading"===e?s.spinner:s.icon;return(0,n.jsx)(a.m.span,{display:"inherit","data-status":e,...t,className:(0,o.cx)("chakra-alert__icon",t.className),__css:c,children:t.children||(0,n.jsx)(r,{h:"100%",w:"100%"})})}s.displayName="AlertIcon"},69915:function(t,e,r){"use strict";r.d(e,{C:function(){return c}});var n=r(85893),o=r(34926),i=r(31958),a=r(49381),s=r(64993);const c=(0,a.G)((function(t,e){const r=(0,i.uL)(),{status:a}=(0,i.oX)();return(0,n.jsx)(s.m.div,{ref:e,"data-status":a,...t,className:(0,o.cx
280)("chakra-alert__title",t.className),__css:r.title})}));c.displayName="AlertTitle"},96657:function(t,e,r){"use strict";r.d(e,{b:function(){return d}});var n=r(85893),o=r(32337),i=r(65522),a=r(34926),s=r(31958),c=r(81678),l=r(49381),u=r(64993);const d=(0,l.G)((function(t,e){const{status:r="info",addRole:l=!0,...d}=(0,o.L)(t),f=t.colorScheme??(0,s.TR)(r),h=(0,c.j)("Alert",{...t,colorScheme:f}),p=(0,i.k0)({width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...h.container});return(0,n.jsx)(s.uZ,{value:{status:r},children:(0,n.jsx)(s.Hm,{value:h,children:(0,n.jsx)(u.m.div,{"data-status":r,role:l?"alert":void 0,ref:e,...d,className:(0,a.cx)("chakra-alert",t.className),__css:p})})})}));d.displayName="Alert"},71856:function(t,e,r){"use strict";r.d(e,{P:function(){return u}});var n=r(85893),o=r(32337),i=r(12553),a=r(49381),s=r(81678),c=r(64993);function l(t){return(0,n.jsx)(i.J,{focusable:"false","aria-hidden":!0,...t,children:(0,n.jsx)("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,
28011.823a.25.25,0,0,1,0,.354Z"})})}const u=(0,a.G)((function(t,e){const r=(0,s.m)("CloseButton",t),{children:i,isDisabled:a,__css:u,...d}=(0,o.L)(t);return(0,n.jsx)(c.m.button,{type:"button","aria-label":"Close",ref:e,disabled:a,__css:{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,...r,...u},...d,children:i||(0,n.jsx)(l,{width:"1em",height:"1em"})})}));u.displayName="CloseButton"},31046:function(t,e,r){"use strict";r.d(e,{If:function(){return i},ff:function(){return a},kc:function(){return o}});var n=r(67294);const o=(0,n.createContext)({});function i(){const t=(0,n.useContext)(o);if(void 0===t)throw new Error("useColorMode must be used within a ColorModeProvider");return t}function a(t,e){const{colorMode:r}=i();return"dark"===r?e:t}o.displayName="ColorModeContext"},28497:function(t,e,r){"use strict";r.d(e,{O:function(){return s},u:function(){return c}});var n=r(85893),o=r(12408),i=r(67294);const a=(0,i.createContext)({getDocument:()=>document,getWindow:()=>window});function s({defer:t}={}){const[,e]=(0,i.useReducer)((t=>t+1),0);return(0,o.G)((()=>{t&&e()}),[t]),(0,i.useContext)(a)}function c(t){const{children:e,environment:r,disabled:o}=t,s=(0,i.useRef)(null),c=(0,i.useMemo)((()=>r||{getDocument:()=>s.current?.ownerDocument??document,getWindow:()=>s.current?.ownerDocument.defaultView??window}),[r]),l=!o||!r;return(0,n.jsxs)(a.Provider,{value:c,children:[e,l&&(0,n.jsx)("span",{id:"__chakra_env",hidden:!0,ref:s})]})}a.displayName="EnvironmentContext",c.displayName="EnvironmentProvider"},12553:function(t,e,r){"use strict";r.d(e,{J:function(){return l}});var n=r(85893),o=r(34926),i=r(49381),a=r(81678),s=r(64993);const c={path:(0,n.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,n.jsx)("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),(0,n.jsx)("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),(0,n.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},l=(0,i.G)(((t,e)=>{const{as:r,viewBox:i,color:l="currentColor",focusable:u=!1,children:d,className:f,__css:h,...p}=t,m={ref:e,focusable:u,className:(0,o.cx)("chakra-icon",f),__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:l,...h,...(0,a.m)("Icon",t)}},g=i??c.viewBox;if(r&&"string"!==typeof r)return(0,n.jsx)(s.m.svg,{as:r,...m,...p});const v=d??c.path;return(0,n.jsx)(s.m.svg,{verticalAlign:"middle",viewBox:g,...m,...p,children:v})}));l.displayName="Icon"},28215:function(t,e,r){"use strict";r.d(e,{L:function(){return a},h:function(){return s}});var n=r(85893),o=r(52110);const[i,a]=(0,o.k)({strict:!1,name:"PortalManagerContext"});function s(t){const{children:e,zIndex:r}=t;return(0,n.jsx)(i,{value:{zIndex:r},children:e})}s.displayName="PortalManager"},93977:function(t,e,r){"use strict";r.d(e,{h:function(){return m}});var n=r(85893),o=r(12408),i=r(52110),a=r(67294),s=r(73935),c=r(28215);const[l,u]=(0,i.k)({strict:!1,name:"PortalContext"}),d="chakra-portal",f=t=>(0,n.jsx)("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:t.zIndex,top:0,left:0,right:0},children:t.children}),h=t=>{const{appendToParentPortal:e,children:r}=t,[i,h]=(0,a.useState)(null),p=(0,a.useRef)(null),[,m]=(0,a.useState)({});(0,a.useEffect)((()=>m({})),[]);const g=u(),v=(0,c.L)();(0,o.G)((()=>{if(!i)return;const t=i.ownerDocument,r=e?g??t.body:t.body;if(!r)return;p.current=t.createElement("div"),p.current.className=d,r.appendChild(p.current),m({});const n=p.current;return()=>{r.contains(n)&&r.removeChild(n)}}),[i]);const b=v?.zIndex?(0,n.jsx)(f,{zIndex:v?.zIndex,children:r}):r;return p.current?(0,s.createPortal)((0,n.jsx)(l,{value:p.current,children:b}),p.current):(0,n.jsx)("span",{ref:t=>{t&&h(t)}})},p=t=>{const{children:e,containerRef:r,appendToParentPortal:i}=t,c=r.current,u=c??("undefined"!==typeof window?document.body:void 0),f=(0,a.useMemo)((()=>{const t=c?.ownerDocument.createElement("div");return t&&(t.className=d),t}),[c]),[,h]=(0,a.useState)({});return(0,o.G)((()=>h({})),[]),(0,o.G)((()=>
280{if(f&&u)return u.appendChild(f),()=>{u.removeChild(f)}}),[f,u]),u&&f?(0,s.createPortal)((0,n.jsx)(l,{value:i?f:null,children:e}),f):null};function m(t){const e={appendToParentPortal:!0,...t},{containerRef:r,...o}=e;return r?(0,n.jsx)(p,{containerRef:r,...o}):(0,n.jsx)(h,{...o})}m.className=d,m.selector=".chakra-portal",m.displayName="Portal"},48899:function(t,e,r){"use strict";r.d(e,{$:function(){return d}});var n=r(85893),o=r(32337),i=r(34926),a=r(70917),s=r(49381),c=r(81678),l=r(64993);const u=(0,a.F4)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),d=(0,s.G)(((t,e)=>{const r=(0,c.m)("Spinner",t),{label:a="Loading...",thickness:s="2px",speed:d="0.45s",emptyColor:f="transparent",className:h,...p}=(0,o.L)(t),m=(0,i.cx)("chakra-spinner",h),g={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:s,borderBottomColor:f,borderLeftColor:f,animation:`${u} ${d} linear infinite`,...r};return(0,n.jsx)(l.m.div,{ref:e,__css:g,className:m,...p,children:a&&(0,n.jsx)(l.m.span,{srOnly:!0,children:a})})}));d.displayName="Spinner"},64993:function(t,e,r){"use strict";r.d(e,{m:function(){return v}});var n=r(50439),o=r(21171);var i=r(2847);var a=r(87155),s=r(10166),c=r(67294);const l=new Set([...n.cC,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),u=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function d(t){return(u.has(t)||!l.has(t))&&"_"!==t[0]}var f=r(31046);const h=(p=s.Z).default||p;var p;const m=({baseStyle:t})=>e=>{const{theme:r,css:s,__css:c,sx:l,...u}=e,[d]=function(t,...e){const r=Object.getOwnPropertyDescriptors(t),n=Object.keys(r),o=t=>{const e={};for(let n=0;n<t.length;n++){const o=t[n];r[o]&&(Object.defineProperty(e,o,r[o]),delete r[o])}return e};return e.map((t=>o(Array.isArray(t)?t:n.filter(t)))).concat(o(n))}(u,n.ZR),f=function(t,...e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");const r={...t};for(const n of e)if(null!=n)for(const t in n)Object.prototype.hasOwnProperty.call(n,t)&&(t in r&&delete r[t],r[t]=n[t]);return r}({},c,(0,i.P)(t,e),(0,a.o)(d),l),h=(0,o.i)(f)(e.theme);return s?[h,s]:h};function g(t,e){const{baseStyle:r,...n}=e??{};n.shouldForwardProp||(n.shouldForwardProp=d);const o=m({baseStyle:r}),i=h(t,n)(o);return(0,c.forwardRef)((function(t,e){const{children:r,...n}=t,{colorMode:o,forced:a}=(0,f.If)(),s=a?o:void 0;return(0,c.createElement)(i,{ref:e,"data-theme":s,...n},r)}))}const v=function(){const t=new Map;return new Proxy(g,{apply:(t,e,r)=>g(...r),get:(e,r)=>(t.has(r)||t.set(r,g(r)),t.get(r))})}()},49381:function(t,e,r){"use strict";r.d(e,{G:function(){return o}});var n=r(67294);function o(t){return(0,n.forwardRef)(t)}},70052:function(t,e,r){"use strict";r.d(e,{LP:function(){return s},dQ:function(){return a},uP:function(){return i}});var n=r(37984),o=r(31046);function i(){return{...(0,o.If)(),theme:(0,n.F)()}}function a(t,e,r){const o=(0,n.F)();return s(t,e,r)(o)}function s(t,e,r){const n=Array.isArray(e)?e:[e],o=Array.isArray(r)?r:[r];return r=>{const i=o.filter(Boolean),a=n.map(((e,n)=>{if("breakpoints"===t)return function(t,e,r){if(null==e)return e;const n=e=>t.__breakpoints?.asArray?.[e];return n(e)??n(r)??r}(r,e,i[n]??e);return function(t,e,r){if(null==e)return e;const n=e=>t.__cssMap?.[e]?.value;return n(e)??n(r)??r}(r,`${t}.${e}`,i[n]??e)}));return Array.isArray(e)?a:a[0]}}},27376:function(t,e,r){"use strict";r.d(e,{ZL:function(){return P},f6:function(){return _},eC:function(){return A}});var n=r(85893),o=r(15292),i=r(79115),a=r(38554),s=r(35551),c=r(63445);function l(t,e,r={}){const{stop:n,getKey:o}=r;return function t(r,a=[]){if((0,i.Kn)(r)||Array.isArray(r)){const i={};for(const[s,c]of Object.entries(r)){const l=o?.(s)??s,u=[...a,l];if(n?.(r,u))return e(r,a);i[l]=t(c,u)}return i}return e(r,a)}(t)}var u=r(78595),d=r(70562);const f=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"];function h(t){const e=f;return(0,d.e)(t,e)}function p(t,e){return(0,c.gJ)(String(t).replace(/\./g,"-"),void 0,e)}function m(t){const e=function(t){const e=h(t),r=function(t){return t.semanticTokens}(t),n=t=>u._.includes(t)||"default"===t,o={};return l(e,((t,e)=>{null!=t&&(o[e.join(".")]={isSemantic:!1,value:t})})),l(r,((t,e)=>{null!=t&&(o[e.join(".")]={isSemantic:!0,value:t})}),{stop:t=>Object.keys(t).every(n)}),o}(t),r=t.config?.cssVarPrefix;let n={};const o={};function c(t,n){const o=[String(t).split(".")[0],n].join(".");if(!e[o])return n;const{reference:i}=p(o,r);return i}for(const[l,d]of Object.entries(e)){const{isSemantic:t,value:e}=d,{variable:f,reference:h}=p(l,r);if(!t){if(l.startsWith("space")){const t=l.split("."),[r,...n]=t,i=`${r}.-${n.join(".")}`,a=s.y.negate(e),c=s.y.negate(h);o[i]={value:a,var:f,varRef:c}}n[f]=e,o[l]={value:e,var:f,varRef:h};continue}const m=(0,i.Kn)(e)?e:{default:e};n=a(n,Object.entries(m).reduce(((t,[e,r])=>
280{if(!r)return t;const n=c(l,`${r}`);if("default"===e)return t[f]=n,t;return t[u.v?.[e]??e]={[f]:n},t}),{})),o[l]={value:h,var:f,varRef:h}}return{cssVars:n,cssMap:o}}var g=r(21171),v=r(52110),b=r(4839),y=r(2847),x=r(20442),w=r(70917),k=r(67294),S=r(31046);function _(t){const{cssVarsRoot:e,theme:r,children:i}=t,a=(0,k.useMemo)((()=>function(t){const e=function(t){const{__cssMap:e,__cssVars:r,__breakpoints:n,...o}=t;return o}(t),{cssMap:r,cssVars:n}=m(e);return Object.assign(e,{__cssVars:{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0",...n},__cssMap:r,__breakpoints:(0,o.y)(e.breakpoints)}),e}(r)),[r]);return(0,n.jsxs)(x.a,{theme:a,children:[(0,n.jsx)(C,{root:e}),i]})}function C({root:t=":host, :root"}){const e=[t,"[data-theme]"].join(",");return(0,n.jsx)(w.xB,{styles:t=>({[e]:t.__cssVars})})}const[E,T]=(0,v.k)({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "});function A(t){return(0,v.k)({name:`${t}StylesContext`,errorMessage:`useStyles: "styles" is undefined. Seems you forgot to wrap the components in "<${t} />" `})}function P(){const{colorMode:t}=(0,S.If)();return(0,n.jsx)(w.xB,{styles:e=>{const r=(0,b.W)(e,"styles.global"),n=(0,y.P)(r,{theme:e,colorMode:t});if(!n)return;return(0,g.i)(n)(e)}})}},81678:function(t,e,r){"use strict";r.d(e,{j:function(){return v},m:function(){return g}});var n=r(79115),o=r(15292),i=r(2847),a=r(38554);function s(t,e){for(let r=e+1;r<t.length;r++)if(null!=t[r])return r;return-1}function c(t){const e=t.__breakpoints;return function(t,r,c,l){if(!e)return;const u={},d=function(t,e){return Array.isArray(t)?t:(0,n.Kn)(t)?e(t):null!=t?[t]:void 0}(c,e.toArrayValue);if(!d)return u;const f=d.length,h=1===f,p=!!t.parts;for(let n=0;n<f;n++){const c=e.details[n],f=e.details[s(d,n)],m=(0,o.Y)(c.minW,f?._minW),g=(0,i.P)(t[r]?.[d[n]],l);g&&(p?t.parts?.forEach((t=>{a(u,{[t]:h?g[t]:{[m]:g[t]}})})):p?u[m]=g:h?a(u,g):u[m]=g)}return u}}var l=r(4839),u=r(87155),d=r(8297),f=r(67294),h=r(69590),p=r(70052);function m(t,e={}){const{styleConfig:r,...n}
280=e,{theme:o,colorMode:s}=(0,p.uP)(),m=t?(0,l.W)(o,`components.${t}`):void 0,g=r||m,v=a({theme:o,colorMode:s},g?.defaultProps??{},(0,u.o)((0,d.C)(n,["children"])),((t,e)=>t?void 0:e)),b=(0,f.useRef)({});if(g){const t=(y=g,t=>{const{variant:e,size:r,theme:n}=t,o=c(n);return a({},(0,i.P)(y.baseStyle??{},t),o(y,"sizes",r,t),o(y,"variants",e,t))}),e=t(v);h(b.current,e)||(b.current=e)}var y;return b.current}function g(t,e={}){return m(t,e)}function v(t,e={}){return m(t,e)}},37984:function(t,e,r){"use strict";r.d(e,{F:function(){return i}});var n=r(20442),o=r(67294);function i(){const t=(0,o.useContext)(n.T);if(!t)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return t}},74075:function(t,e,r){"use strict";r.d(e,{C:function(){return d}});var n=r(85893),o=r(96657),i=r(8843),a=r(69915),s=r(50090),c=r(71856),l=r(64993);const u=t=>{const{status:e,variant:r="solid",id:u,title:d,isClosable:f,onClose:h,description:p,colorScheme:m,icon:g}=t,v=u?{root:`toast-${u}`,title:`toast-${u}-title`,description:`toast-${u}-description`}:void 0;return(0,n.jsxs)(o.b,{addRole:!1,status:e,variant:r,id:v?.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:m,children:[(0,n.jsx)(i.z,{children:g}),(0,n.jsxs)(l.m.div,{flex:"1",maxWidth:"100%",children:[d&&(0,n.jsx)(a.C,{id:v?.title,children:d}),p&&(0,n.jsx)(s.X,{id:v?.description,display:"block",children:p})]}),f&&(0,n.jsx)(c.P,{size:"sm",onClick:h,position:"absolute",insetEnd:1,top:1})]})};function d(t={}){const{render:e,toastComponent:r=u}=t;return o=>"function"===typeof e?e({...o,...t}):(0,n.jsx)(r,{...o,...t})}},88559:function(t,e,r){"use strict";r.d(e,{Qi:function(){return b},VW:function(){return x},OX:function(){return y}});var n=r(85893),o=r(52110),i=r(65820),a=r(67294),s=r(4840),c=r(95372);var l=r(2847),u=r(15947),d=r(7147),f=r(57535),h=r(64993);const p={initial:t=>{const{position:e}=t,r=["top","bottom"].includes(e)?"y":"x";let n=["top-right","bottom-right"].includes(e)?1:-1;return"bottom"===e&&(n=1),{opacity:0,[r]:24*n}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},m=(0,a.memo)((t=>{const{id:e,message:r,onCloseComplete:o,onRequestRemove:i,requestClose:m=!1,position:g="bottom",duration:v=5e3,containerStyle:b,motionVariants:y=p,toastSpacing:x="0.5rem"}=t,[w,k]=(0,a.useState)(v),S=(0,u.hO)();(0,s.r)((()=>{S||o?.()}),[S]),(0,s.r)((()=>{k(v)}),[v]);const _=()=>{S&&i()};(0,a.useEffect)((()=>{S&&m&&i()}),[S,m,i]),function(t,e){const r=(0,c.W)(t);(0,a.useEffect)((()=>{if(null==e)return;let t=null;return t=window.setTimeout((()=>{r()}),e),()=>{t&&window.clearTimeout(t)}}),[e,r])}(_,w);const C=(0,a.useMemo)((()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:x,...b})),[b,x]),E=(0,a.useMemo)((()=>(0,f.sv)(g)),[g]);return(0,n.jsx)(d.E.div,{layout:!0,className:"chakra-toast",variants:y,initial:"initial",animate:"animate",exit:"exit",onHoverStart:()=>k(null),onHoverEnd:()=>k(v),custom:{position:g},style:E,children:(0,n.jsx)(h.m.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:C,children:(0,l.P)(r,{id:e,onClose:_})})})}));m.displayName="ToastComponent";var g=r(11065),v=r(93977);const[b,y]=(0,o.k)({name:"ToastOptionsContext",strict:!1}),x=t=>{const e=(0,a.useSyncExternalStore)(g.f.subscribe,g.f.getState,g.f.getState),{motionVariants:r,component:o=m,portalProps:s,animatePresenceProps:c}=t,l=Object.keys(e).map((t=>{const a=e[t];return(0,n.jsx)("div",{role:"region","aria-live":"polite","aria-label":`Notifications-${t}`,id:`chakra-toast-manager-${t}`,style:(0,f.IW)(t),children:(0,n.jsx)(i.M,{...c,initial:!1,children:a.map((t=>(0,n.jsx)(o,{motionVariants:r,...t},t.id)))})},t)}));return(0,n.jsx)(v.h,{...s,children:l})}},11065:function(t,e,r){"use strict";r.d(e,{f:function(){return i}});var n=r(74075),o=r(57535);const i=function(t){let e=t;const r=new Set,s=t=>{e=t(e),r.forEach((t=>t()))};return{getState:()=>e,subscribe:e=>(r.add(e),()=>{s((()=>t)),r.delete(e)}),removeToast:(t,e)=>{s((r=>({...r,[e]:r[e].filter((e=>e.id!=t))})))},notify:(t,e)=>{const r=function(t,e={}){a+=1;const r=e.id??a,n=e.position??"bottom";return{id:r,message:t,position:n,duration:e.duration,onCloseComplete:e.onCloseComplete,onRequestRemove:()=>i.removeToast(String(r),n),status:e.status,requestClose:!1,containerStyle:e.containerStyle}}(t,e),{position:n,id:o}=r;return s((t=>{const e=n.includes("top")?[r,...t[n]??[]]:[...t[n]??[],r];
280return{...t,[n]:e}})),o},update:(t,e)=>{t&&s((r=>{const i={...r},{position:a,index:s}=(0,o.Dn)(i,t);return a&&-1!==s&&(i[a][s]={...i[a][s],...e,message:(0,n.C)(e)}),i}))},closeAll:({positions:t}={})=>{s((e=>(t??["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce(((t,r)=>(t[r]=e[r].map((t=>({...t,requestClose:!0}))),t)),{...e})))},close:t=>{s((e=>{const r=(0,o.ym)(e,t);return r?{...e,[r]:e[r].map((e=>e.id==t?{...e,requestClose:!0}:e))}:e}))},isActive:t=>Boolean((0,o.Dn)(i.getState(),t).position)}}({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]});let a=0},57535:function(t,e,r){"use strict";r.d(e,{Dn:function(){return o},IW:function(){return s},sv:function(){return a},ym:function(){return i}});const n=(t,e)=>t.find((t=>t.id===e));function o(t,e){const r=i(t,e);return{position:r,index:r?t[r].findIndex((t=>t.id===e)):-1}}function i(t,e){for(const[r,o]of Object.entries(t))if(n(o,e))return r}function a(t){let e="center";return t.includes("right")&&(e="flex-end"),t.includes("left")&&(e="flex-start"),{display:"flex",flexDirection:"column",alignItems:e}}function s(t){return{position:"fixed",zIndex:"var(--toast-z-index, 5500)",pointerEvents:"none",display:"flex",flexDirection:"column",margin:"top"===t||"bottom"===t?"0 auto":void 0,top:t.includes("top")?"env(safe-area-inset-top, 0px)":void 0,bottom:t.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,right:t.includes("left")?void 0:"env(safe-area-inset-right, 0px)",left:t.includes("right")?void 0:"env(safe-area-inset-left, 0px)"}}},35551:function(t,e,r){"use strict";r.d(e,{y:function(){return d}});var n=r(79115);function o(t){return(0,n.Kn)(t)&&t.reference?t.reference:String(t)}const i=(t,...e)=>e.map(o).join(` ${t} `).replace(/calc/g,""),a=(...t)=>`calc(${i("+",...t)})`,s=(...t)=>`calc(${i("-",...t)})`,c=(...t)=>`calc(${i("*",...t)})`,l=(...t)=>`calc(${i("/",...t)})`,u=t=>{const e=o(t);return null==e||Number.isNaN(parseFloat(e))?c(e,-1):String(e).startsWith("-")?String(e).slice(1):`-${e}`},d=Object.assign((t=>({add:(...e)=>d(a(t,...e)),subtract:(...e)=>d(s(t,...e)),multiply:(...e)=>d(c(t,...e)),divide:(...e)=>d(l(t,...e)),negate:()=>d(u(t)),toString:()=>t.toString()})),{add:a,subtract:s,multiply:c,divide:l,negate:u})},63445:function(t,e,r){"use strict";function n(t){return function(t){return t.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}(function(t){if(t.includes("\\."))return t;return Number.isInteger(parseFloat(t.toString()))?t:t.replace(".","\\.")}(function(t,e="-"){return t.replace(/\s+/g,e)}(t.toString())))}function o(t,e){return`var(${t}${e?`, ${e}`:""})`}function i(t,e=""){return n(`--${function(t,e=""){return[e,t].filter(Boolean).join("-")}(t,e)}`)}function a(t,e,r){const n=i(t,r);return{variable:n,reference:o(n,e)}}function s(t,e){const r={};for(const n of e)if(Array.isArray(n)){const[e,o]=n;r[e]=a(`${t}-${e}`,o)}else r[n]=a(`${t}-${n}`);return r}r.d(e,{_6:function(){return s},gJ:function(){return a}})},21171:function(t,e,r){"use strict";r.d(e,{i:function(){return d}});var n=r(2847),o=r(79115),i=r(38554),a=r(78595),s=r(50439);const c=(t,e)=>t.startsWith("--")&&"string"===typeof e&&!function(t){return/^var\(--.+\)$/.test(t)}(e),l=(t,e)=>{if(null==e)return e;const r=e=>t.__cssMap?.[e]?.varRef,n=t=>r(t)??t,[o,i]=function(t){const e=[];let r="",n=!1;for(let o=0;o<t.length;o++){const i=t[o];"("===i?(n=!0,r+=i):")"===i?(n=!1,r+=i):","!==i||n?r+=i:(e.push(r),r="")}return r=r.trim(),r&&e.push(r),e}(e);return e=r(o)??n(i)??n(e)};function u(t){const{configs:e={},pseudos:r={},theme:a}=t,s=(t,u=!1)=>{const d=(0,n.P)(t,a),f=(t=>e=>{if(!e.__breakpoints)return t;const{isResponsive:r,toArrayValue:i,media:a}=e.__breakpoints,s={};for(const c in t){let l=(0,n.P)(t[c],e);if(null==l)continue;if(l=(0,o.Kn)(l)&&r(l)?i(l):l,!Array.isArray(l)){s[c]=l;continue}const u=l.slice(0,a.length).length;for(let t=0;t<u;t+=1){const e=a?.[t];e?(s[e]=s[e]||{},null!=l[t]&&(s[e][c]=l[t])):s[c]=l[t]}}return s})(d)(a);let h={};for(let p in f){const t=f[p];let m=(0,n.P)(t,a);p in r&&(p=r[p]),c(p,m)&&(m=l(a,m));let g=e[p];if(!0===g&&(g={property:p}),(0,o.Kn)(m)){h[p]=h[p]??{},h[p]=i({},h[p],s(m,!0));continue}let v=g?.transform?.(m,a,d)??m;v=g?.processResult?s(v,!0):v;const b=(0,n.P)(g?.property,a);if(!u&&g?.static){const t=(0,n.P)(g.static,a);h=i({},h,t)}if(b&&Array.isArray(b))for(const e of b)h[e]=v;else b?"&"===b&&(0,o.Kn)(v)?h=i({},h,v):h[b]=v:(0,o.Kn)(v)?h=i({},h,v):h[p]=v}return h};return s}const d=t=>e=>u({theme:e,pseudos:a.v,configs:s.Ul})(t)},65522:function(t,e,r){"use strict";function n(t){return t}function o(t){return t}function i(t){return{definePartsStyle:t=>t,defineMultiStyleConfig:e=>({parts:t,...e})}}r.d(e,{D:function(){return i},fj:function(){return o},k0:function(){return n}})},78595:function(t,e,r){"use strict";r.d(e,{_:function(){return v},v:function(){return g}});const n=(t,e)=>`${t}[data-closed], ${t}[data-state=closed] ${e}`,o=(t,e)=>`${t}:hover ${e}, ${t}[data-hover] ${e}`,i=(t,e)=>`${t}:focus ${e}, ${t}[data-focus] ${e}`,a=(t,e)=>`${t}:focus-visible ${e}`,s=(t,e)=>`${t}:focus-within ${e}`,c=(t,e)=>`${t}:active ${e}, ${t}[data-active] ${e}`,l=(t,e)=>`${t}:disabled ${e}, ${t}[data-disabled] ${e}`,u=(t,e)=>`${t}:invalid ${e}, ${t}[data-invalid] ${e}`,d=(t,e)=>`${t}:checked ${e}, ${t}[data-checked] ${e}`,f=(t,e)=>`${t}:placeholder-shown ${e}`,h=t=>m((e=>t(e,"&")),"[role=group]","[data-group]",".group"),p=t=>m((e=>
280t(e,"~ &")),"[data-peer]",".peer"),m=(t,...e)=>e.map(t).join(", "),g={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within, &[data-focus-within]",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty, &[data-empty]",_expanded:"&[aria-expanded=true], &[data-expanded], &[data-state=expanded]",_checked:"&[aria-checked=true], &[data-checked], &[data-state=checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate], &[data-state=indeterminate]",_groupOpen:h(((t,e)=>`${t}[data-open], ${t}[open], ${t}[data-state=open] ${e}`)),_groupClosed:h(n),_groupHover:h(o),_peerHover:p(o),_groupFocus:h(i),_peerFocus:p(i),_groupFocusVisible:h(a),_peerFocusVisible:p(a),_groupActive:h(c),_peerActive:p(c),_groupDisabled:h(l),_peerDisabled:p(l),_groupInvalid:h(u),_peerInvalid:p(u),_groupChecked:h(d),_peerChecked:p(d),_groupFocusWithin:h(s),_peerFocusWithin:p(s),_peerPlaceholderShown:p(f),_placeholder:"&::placeholder, &[data-placeholder]",_placeholderShown:"&:placeholder-shown, &[data-placeholder-shown]",_fullScreen:"&:fullscreen, &[data-fullscreen]",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]",_open:"&[data-open], &[open], &[data-state=open]",_closed:"&[data-closed], &[data-state=closed]",_complete:"&[data-complete]",_incomplete:"&[data-incomplete]",_current:"&[data-current]"},v=Object.keys(g)},50439:function(t,e,r){"use strict";r.d(e,{ZR:function(){return H},oE:function(){return W},cC:function(){return N},Ul:function(){return V}});var n=r(38554),o=r(78595),i=r(79115);const a=t=>"string"===typeof t?t.replace(/!(important)?$/,"").trim():t;function s(t){const{scale:e,transform:r,compose:n}=t;return(t,o)=>{const s=((t,e)=>r=>{const n=String(e),o=(t=>/!(important)?$/.test(t))(n),s=a(n),c=t?`${t}.${s}`:s;let l=(0,i.Kn)(r.__cssMap)&&c in r.__cssMap?r.__cssMap[c].varRef:e;return l=a(l),o?`${l} !important`:l})(e,t)(o);let c=r?.(s,o)??s;return n&&(c=n(c,o)),c}}const c=(...t)=>e=>t.reduce(((t,e)=>e(t)),e);function l(t,e){return r=>{const n={property:r,scale:t};return n.transform=s({scale:t,transform:e}),n}}const u=({rtl:t,ltr:e})=>r=>"rtl"===r.direction?t:e;const d=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];const f={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},h={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};
280const p={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},m={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},g=new Set(Object.values(m)),v=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),b=t=>t.trim();const y=t=>"string"===typeof t&&t.includes("(")&&t.includes(")");const x=t=>e=>`${t}(${e})`,w={filter:t=>"auto"!==t?t:f,backdropFilter:t=>"auto"!==t?t:h,ring:t=>function(t){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":t,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}(w.px(t)),bgClip:t=>"text"===t?{color:"transparent",backgroundClip:"text"}:{backgroundClip:t},transform:t=>"auto"===t?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...d].join(" "):"auto-gpu"===t?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...d].join(" "):t,vh:t=>"$100vh"===t?"var(--chakra-vh)":t,px(t){if(null==t)return t;const{unitless:e}=(t=>{const e=parseFloat(t.toString()),r=t.toString().replace(String(e),"");return{unitless:!r,value:e,unit:r}})(t);return e||"number"===typeof t?`${t}px`:t},fraction:t=>"number"!==typeof t||t>1?t:100*t+"%",float:(t,e)=>"rtl"===e.direction?{left:"right",right:"left"}[t]:t,degree(t){if(function(t){return/^var\(--.+\)$/.test(t)}(t)||null==t)return t;const e="string"===typeof t&&!t.endsWith("deg");return"number"===typeof t||e?`${t}deg`:t},gradient:(t,e)=>function(t,e){if(null==t||v.has(t))return t;if(!y(t)&&!v.has(t))return`url('${t}')`;const r=/(^[a-z-A-Z]+)\((.*)\)/g.exec(t),n=r?.[1],o=r?.[2];if(!n||!o)return t;const i=n.includes("-gradient")?n:`${n}-gradient`,[a,...s]=o.split(",").map(b).filter(Boolean);if(0===s?.length)return t;const c=a in m?m[a]:a;s.unshift(c);const l=s.map((t=>{if(g.has(t))return t;const r=t.indexOf(" "),[n,o]=-1!==r?[t.substr(0,r),t.substr(r+1)]:[t],i=y(o)?o:o&&o.split(" "),a=`colors.${n}`,s=a in e.__cssMap?e.__cssMap[a].varRef:n;return i?[s,...Array.isArray(i)?i:[i]].join(" "):s}));return`${i}(${l.join(", ")})`}(t,e??{}),blur:x("blur"),opacity:x("opacity"),brightness:x("brightness"),contrast:x("contrast"),dropShadow:x("drop-shadow"),grayscale:x("grayscale"),hueRotate:t=>x("hue-rotate")(w.degree(t)),invert:x("invert"),saturate:x("saturate"),sepia:x("sepia"),bgImage(t){if(null==t)return t;return y(t)||v.has(t)?t:`url(${t})`},outline(t){const e="0"===String(t)||"none"===String(t);return null!==t&&e?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:t}},flexDirection(t){const{space:e,divide:r}=p[t]??{},n={flexDirection:t};return e&&(n[e]=1),r&&(n[r]=1),n}},k={borderWidths:l("borderWidths"),borderStyles:l("borderStyles"),colors:l("colors"),borders:l("borders"),gradients:l("gradients",w.gradient),radii:l("radii",w.px),space:l("space",c(w.vh,w.px)),spaceT:l("space",c(w.vh,w.px)),degreeT:t=>({property:t,transform:w.degree}),prop:(t,e,r)=>({property:t,scale:e,...e&&{transform:s({scale:e,transform:r})}}),propT:(t,e)=>({property:t,transform:e}),sizes:l("sizes",c(w.vh,w.px)),sizesT:l("sizes",c(w.vh,w.fraction)),shadows:l("shadows"),logical:function(t){const{property:e,scale:r,transform:n}=t;return{scale:r,property:u(e),transform:r?s({scale:r,compose:n}):n}},blur:l("blur",w.blur)},S={background:k.colors("background"),backgroundColor:k.colors("backgroundColor"),backgroundImage:k.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:w.bgClip},bgSize:k.prop("backgroundSize"),bgPosition:k.prop("backgroundPosition"),bg:k.colors("background"),bgColor:k.colors("backgroundColor"),bgPos:k.prop("backgroundPosition"),bgRepeat:k.prop("backgroundRepeat"),bgAttachment:k.prop("backgroundAttachment"),bgGradient:k.gradients("backgroundImage"),bgClip:{transform:w.bgClip}};Object.assign(S,{bgImage:S.backgroundImage,bgImg:S.backgroundImage});const _={border:k.borders("border"),borderWidth:k.borderWidths("borderWidth"),borderStyle:k.borderStyles("borderStyle"),borderColor:k.colors("borderColor"),borderRadius:k.radii("borderRadius"),borderTop:k.borders("borderTop"),borderBlockStart:k.borders("borderBlockStart"),borderTopLeftRadius:k.radii("borderTopLeftRadius"),borderStartStartRadius:k.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:k.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:k.radii("borderTopRightRadius"),borderStartEndRadius:k.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:k.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:k.borders("borderRight"),borderInlineEnd:k.borders("borderInlineEnd"),borderBottom:k.borders("borderBottom"),borderBlockEnd:k.borders("borderBlockEnd"),borderBottomLeftRadius:k.radii("borderBottomLeftRadius"),borderBottomRightRadius:k.radii("borderBottomRightRadius"),borderLeft:k.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:k.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:k.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:k.borders(["borderLeft","borderRight"]),borderInline:k.borders("borderInline"),borderY:k.borders(["borderTop","borderBottom"]),borderBlock:k.borders("borderBlock"),borderTopWidth:k.borderWidths("borderTopWidth"),borderBlockStartWidth:k.borderWidths("borderBlockStartWidth"),borderTopColor:k.colors("borderTopColor"),borderBlockStartColor:k.colors("borderBlockStartColor"),borderTopStyle:k.borderStyles("borderTopStyle"),borderBlockStartStyle:k.borderStyles("borderBlockStartStyle"),borderBottomWidth:k.borderWidths("borderBottomWidth"),borderBlockEndWidth:k.borderWidths("borderBlockEndWidth"),borderBottomColor:k.colors("borderBottomColor"),borderBlockEndColor:k.colors("borderBlockEndColor"),borderBottomStyle:k.borderStyles("borderBottomStyle"),borderBlockEndStyle:k.borderStyles("borderBlockEndStyle"),borderLeftWidth:k.borderWidths("borderLeftWidth"),borderInlineStartWidth:k.borderWidths("borderInlineStartWidth"),borderLeftColor:k.colors("borderLeftColor"),borderInlineStartColor:k.colors("borderInlineStartColor"),borderLeftStyle:k.borderStyles("borderLeftStyle"),borderInlineStartStyle:k.borderStyles("borderInlineStartStyle"),borderRightWidth:k.borderWidths("borderRightWidth"),borderInlineEndWidth:k.borderWidths("borderInlineEndWidth"),borderRightColor:k.colors("borderRightColor"),borderInlineEndColor:k.colors("borderInlineEndColor"),borderRightStyle:k.borderStyles("borderRightStyle"),borderInlineEndStyle:k.borderStyles("borderInlineEndStyle"),borderTopRadius:k.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:k.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:k.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:k.radii(["borderTopRightRadius","borderBottomRightRadius"])};
280Object.assign(_,{rounded:_.borderRadius,roundedTop:_.borderTopRadius,roundedTopLeft:_.borderTopLeftRadius,roundedTopRight:_.borderTopRightRadius,roundedTopStart:_.borderStartStartRadius,roundedTopEnd:_.borderStartEndRadius,roundedBottom:_.borderBottomRadius,roundedBottomLeft:_.borderBottomLeftRadius,roundedBottomRight:_.borderBottomRightRadius,roundedBottomStart:_.borderEndStartRadius,roundedBottomEnd:_.borderEndEndRadius,roundedLeft:_.borderLeftRadius,roundedRight:_.borderRightRadius,roundedStart:_.borderInlineStartRadius,roundedEnd:_.borderInlineEndRadius,borderStart:_.borderInlineStart,borderEnd:_.borderInlineEnd,borderTopStartRadius:_.borderStartStartRadius,borderTopEndRadius:_.borderStartEndRadius,borderBottomStartRadius:_.borderEndStartRadius,borderBottomEndRadius:_.borderEndEndRadius,borderStartRadius:_.borderInlineStartRadius,borderEndRadius:_.borderInlineEndRadius,borderStartWidth:_.borderInlineStartWidth,borderEndWidth:_.borderInlineEndWidth,borderStartColor:_.borderInlineStartColor,borderEndColor:_.borderInlineEndColor,borderStartStyle:_.borderInlineStartStyle,borderEndStyle:_.borderInlineEndStyle});const C={color:k.colors("color"),textColor:k.colors("color"),fill:k.colors("fill"),stroke:k.colors("stroke"),accentColor:k.colors("accentColor"),textFillColor:k.colors("textFillColor")},E={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:w.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:k.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:k.space("gap"),rowGap:k.space("rowGap"),columnGap:k.space("columnGap")};Object.assign(E,{flexDir:E.flexDirection});const T={width:k.sizesT("width"),inlineSize:k.sizesT("inlineSize"),height:k.sizes("height"),blockSize:k.sizes("blockSize"),boxSize:k.sizes(["width","height"]),minWidth:k.sizes("minWidth"),minInlineSize:k.sizes("minInlineSize"),minHeight:k.sizes("minHeight"),minBlockSize:k.sizes("minBlockSize"),maxWidth:k.sizes("maxWidth"),maxInlineSize:k.sizes("maxInlineSize"),maxHeight:k.sizes("maxHeight"),maxBlockSize:k.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(t,e)=>({[`@media screen and (min-width: ${e.__breakpoints?.get(t)?.minW??t})`]:{display:"none"}})},hideBelow:{scale:"breakpoints",transform:(t,e)=>({[`@media screen and (max-width: ${e.__breakpoints?.get(t)?._minW??t})`]:{display:"none"}})},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:k.propT("float",w.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(T,{w:T.width,h:T.height,minW:T.minWidth,maxW:T.maxWidth,minH:T.minHeight,maxH:T.maxHeight,overscroll:T.overscrollBehavior,overscrollX:T.overscrollBehaviorX,overscrollY:T.overscrollBehaviorY});const A={filter:{transform:w.filter},blur:k.blur("--chakra-blur"),brightness:k.propT("--chakra-brightness",w.brightness),contrast:k.propT("--chakra-contrast",w.contrast),hueRotate:k.propT("--chakra-hue-rotate",w.hueRotate),invert:k.propT("--chakra-invert",w.invert),saturate:k.propT("--chakra-saturate",w.saturate),dropShadow:k.propT("--chakra-drop-shadow",w.dropShadow),backdropFilter:{transform:w.backdropFilter},backdropBlur:k.blur("--chakra-backdrop-blur"),backdropBrightness:k.propT("--chakra-backdrop-brightness",w.brightness),backdropContrast:k.propT("--chakra-backdrop-contrast",w.contrast),backdropHueRotate:k.propT("--chakra-backdrop-hue-rotate",w.hueRotate),backdropInvert:k.propT("--chakra-backdrop-invert",w.invert),backdropSaturate:k.propT("--chakra-backdrop-saturate",w.saturate)},P={ring:{transform:w.ring},ringColor:k.colors("--chakra-ring-color"),ringOffset:k.prop("--chakra-ring-offset-width"),ringOffsetColor:k.colors("--chakra-ring-offset-color"),ringInset:k.prop("--chakra-ring-inset")},$={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:w.outline},outlineOffset:!0,outlineColor:k.colors("outlineColor")},R={gridGap:k.space("gridGap"),gridColumnGap:k.space("gridColumnGap"),gridRowGap:k.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0};const j=(t=>{const e=new WeakMap;return(r,n,o,i)=>{if("undefined"===typeof r)return t(r,n,o);e.has(r)||e.set(r,new Map);const a=e.get(r);if(a.has(n))return a.get(n);const s=t(r,n,o,i);return a.set(n,s),s}})((function(t,e,r,n){const o="string"===typeof e?e.split("."):[e];for(n=0;n<o.length&&t;n+=1)t=t[o[n]];return void 0===t?r:t})),z={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",
280whiteSpace:"nowrap",position:"absolute"},O={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},M=(t,e,r)=>{const n={},o=j(t,e,{});for(const i in o){i in r&&null!=r[i]||(n[i]=o[i])}return n},B={srOnly:{transform:t=>!0===t?z:"focusable"===t?O:{}},layerStyle:{processResult:!0,transform:(t,e,r)=>M(e,`layerStyles.${t}`,r)},textStyle:{processResult:!0,transform:(t,e,r)=>M(e,`textStyles.${t}`,r)},apply:{processResult:!0,transform:(t,e,r)=>M(e,t,r)}},D={position:!0,pos:k.prop("position"),zIndex:k.prop("zIndex","zIndices"),inset:k.spaceT("inset"),insetX:k.spaceT(["left","right"]),insetInline:k.spaceT("insetInline"),insetY:k.spaceT(["top","bottom"]),insetBlock:k.spaceT("insetBlock"),top:k.spaceT("top"),insetBlockStart:k.spaceT("insetBlockStart"),bottom:k.spaceT("bottom"),insetBlockEnd:k.spaceT("insetBlockEnd"),left:k.spaceT("left"),insetInlineStart:k.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:k.spaceT("right"),insetInlineEnd:k.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(D,{insetStart:D.insetInlineStart,insetEnd:D.insetInlineEnd});const I={boxShadow:k.shadows("boxShadow"),mixBlendMode:!0,blendMode:k.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:k.prop("backgroundBlendMode"),opacity:!0};Object.assign(I,{shadow:I.boxShadow});const L={margin:k.spaceT("margin"),marginTop:k.spaceT("marginTop"),marginBlockStart:k.spaceT("marginBlockStart"),marginRight:k.spaceT("marginRight"),marginInlineEnd:k.spaceT("marginInlineEnd"),marginBottom:k.spaceT("marginBottom"),marginBlockEnd:k.spaceT("marginBlockEnd"),marginLeft:k.spaceT("marginLeft"),marginInlineStart:k.spaceT("marginInlineStart"),marginX:k.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:k.spaceT("marginInline"),marginY:k.spaceT(["marginTop","marginBottom"]),marginBlock:k.spaceT("marginBlock"),padding:k.space("padding"),paddingTop:k.space("paddingTop"),paddingBlockStart:k.space("paddingBlockStart"),paddingRight:k.space("paddingRight"),paddingBottom:k.space("paddingBottom"),paddingBlockEnd:k.space("paddingBlockEnd"),paddingLeft:k.space("paddingLeft"),paddingInlineStart:k.space("paddingInlineStart"),paddingInlineEnd:k.space("paddingInlineEnd"),paddingX:k.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:k.space("paddingInline"),paddingY:k.space(["paddingTop","paddingBottom"]),paddingBlock:k.space("paddingBlock")};Object.assign(L,{m:L.margin,mt:L.marginTop,mr:L.marginRight,me:L.marginInlineEnd,marginEnd:L.marginInlineEnd,mb:L.marginBottom,ml:L.marginLeft,ms:L.marginInlineStart,marginStart:L.marginInlineStart,mx:L.marginX,my:L.marginY,p:L.padding,pt:L.paddingTop,py:L.paddingY,px:L.paddingX,pb:L.paddingBottom,pl:L.paddingLeft,ps:L.paddingInlineStart,paddingStart:L.paddingInlineStart,pr:L.paddingRight,pe:L.paddingInlineEnd,paddingEnd:L.paddingInlineEnd});const V=n({},S,_,C,E,T,A,P,$,R,B,D,I,L,{scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:k.spaceT("scrollMargin"),scrollMarginTop:k.spaceT("scrollMarginTop"),scrollMarginBottom:k.spaceT("scrollMarginBottom"),scrollMarginLeft:k.spaceT("scrollMarginLeft"),scrollMarginRight:k.spaceT("scrollMarginRight"),scrollMarginX:k.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:k.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:k.spaceT("scrollPadding"),scrollPaddingTop:k.spaceT("scrollPaddingTop"),scrollPaddingBottom:k.spaceT("scrollPaddingBottom"),scrollPaddingLeft:k.spaceT("scrollPaddingLeft"),scrollPaddingRight:k.spaceT("scrollPaddingRight"),scrollPaddingX:k.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:k.spaceT(["scrollPaddingTop","scrollPaddingBottom"])},{fontFamily:k.prop("fontFamily","fonts"),fontSize:k.prop("fontSize","fontSizes",w.px),fontWeight:k.prop("fontWeight","fontWeights"),lineHeight:k.prop("lineHeight","lineHeights"),letterSpacing:k.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(t){if(!0===t)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"}
280,property:"--chakra-line-clamp"}},{textDecorationColor:k.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:k.shadows("textShadow")},{clipPath:!0,transform:k.propT("transform",w.transform),transformOrigin:!0,translateX:k.spaceT("--chakra-translate-x"),translateY:k.spaceT("--chakra-translate-y"),skewX:k.degreeT("--chakra-skew-x"),skewY:k.degreeT("--chakra-skew-y"),scaleX:k.prop("--chakra-scale-x"),scaleY:k.prop("--chakra-scale-y"),scale:k.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:k.degreeT("--chakra-rotate")},{listStyleType:!0,listStylePosition:!0,listStylePos:k.prop("listStylePosition"),listStyleImage:!0,listStyleImg:k.prop("listStyleImage")},{transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:k.prop("transitionDuration","transition.duration"),transitionProperty:k.prop("transitionProperty","transition.property"),transitionTimingFunction:k.prop("transitionTimingFunction","transition.easing")}),F=Object.assign({},L,T,E,R,D),W=Object.keys(F),N=[...Object.keys(V),...o._],U={...V,...o.v},H=t=>t in U},32337:function(t,e,r){"use strict";r.d(e,{L:function(){return o}});var n=r(8297);function o(t){return(0,n.C)(t,["styleConfig","size","variant","colorScheme"])}},15292:function(t,e,r){"use strict";r.d(e,{Y:function(){return u},y:function(){return d}});var n=r(79115);function o(t){const e=null==t?0:t.length;return e?t[e-1]:void 0}function i(t){if(null==t)return t;const{unitless:e}=function(t){const e=parseFloat(t.toString()),r=t.toString().replace(String(e),"");return{unitless:!r,value:e,unit:r}}(t);return e||"number"===typeof t?`${t}px`:t}const a=(t,e)=>parseInt(t[1],10)>parseInt(e[1],10)?1:-1,s=t=>Object.fromEntries(Object.entries(t).sort(a));function c(t){const e=s(t);return Object.assign(Object.values(e),e)}function l(t){if(!t)return t;t=i(t)??t;return"number"===typeof t?`${t+-.02}`:t.replace(/(\d+\.?\d*)/u,(t=>`${parseFloat(t)+-.02}`))}function u(t,e){const r=["@media screen"];return t&&r.push("and",`(min-width: ${i(t)})`),e&&r.push("and",`(max-width: ${i(e)})`),r.join(" ")}function d(t){if(!t)return null;t.base=t.base??"0px";const e=c(t),r=Object.entries(t).sort(a).map((([t,e],r,n)=>{let[,o]=n[r+1]??[];return o=parseFloat(o)>0?l(o):void 0,{_minW:l(e),breakpoint:t,minW:e,maxW:o,maxWQuery:u(null,o),minWQuery:u(e),minMaxQuery:u(e,o)}})),i=function(t){const e=Object.keys(s(t));return new Set(e)}(t),d=Array.from(i.values());return{keys:i,normalized:e,isResponsive(t){const e=Object.keys(t);return e.length>0&&e.every((t=>i.has(t)))},asObject:s(t),asArray:c(t),details:r,get:t=>r.find((e=>e.breakpoint===t)),media:[null,...e.map((t=>u(t))).slice(1)],toArrayValue(t){if(!(0,n.Kn)(t))throw new Error("toArrayValue: value must be an object");const e=d.map((e=>t[e]??null));for(;null===o(e);)e.pop();return e},toObjectValue(t){if(!Array.isArray(t))throw new Error("toObjectValue: value must be an array");return t.reduce(((t,e,r)=>{const n=d[r];return null!=n&&null!=e&&(t[n]=e),t}),{})}}}},87155:function(t,e,r){"use strict";function n(t){const e=Object.assign({},t);for(let r in e)void 0===e[r]&&delete e[r];return e}r.d(e,{o:function(){return n}})},52110:function(t,e,r){"use strict";r.d(e,{k:function(){return o}});var n=r(67294);function o(t={}){const{name:e,strict:r=!0,hookName:o="useContext",providerName:i="Provider",errorMessage:a,defaultValue:s}=t,c=(0,n.createContext)(s);return c.displayName=e,[c.Provider,function t(){const e=(0,n.useContext)(c);if(!e&&r){const e=new Error(a??`${o} returned \`undefined\`. Seems you forgot to wrap component within ${i}`);throw e.name="ContextError",Error.captureStackTrace?.(e,t),e}return e},c]}},34926:function(t,e,r){"use strict";r.d(e,{cx:function(){return n}});const n=(...t)=>t.filter(Boolean).join(" ")},4839:function(t,e,r){"use strict";r.d(e,{W:function(){return n}});const n=(t=>{const e=new WeakMap;return(r,n,o,i)=>{if("undefined"===typeof r)return t(r,n,o);e.has(r)||e.set(r,new Map);const a=e.get(r);if(a.has(n))return a.get(n);const s=t(r,n,o,i);return a.set(n,s),s}})((function(t,e,r,n){const o="string"===typeof e?e.split("."):[e];for(n=0;n<o.length&&t;n+=1)t=t[o[n]];return void 0===t?r:t}))},21326:function(t,e,r){"use strict";function n(t){return null!=t&&"object"==typeof t&&"nodeType"in t&&t.nodeType===Node.ELEMENT_NODE}function o(){return Boolean(globalThis?.document)}function i(t){return!(!t.parentElement||!i(t.parentElement))||t.hidden}function a(t){const e=t.getAttribute("contenteditable");return"false"!==e&&null!=e}function s(t){return!0===Boolean(t.getAttribute("disabled"))||!0===Boolean(t.getAttribute("aria-disabled"))}r.d(e,{Re:function(){return n},iU:function(){return a},jU:function(){return o},nV:function(){return s},oI:function(){return i}})},79115:function(t,e,r){"use strict";function n(t){return Array.isArray(t)}function o(t){const e=typeof t;return null!=t&&("object"===e||"function"===e)&&!n(t)}r.d(e,{Kn:function(){return o},kJ:function(){return n}})},8297:function(t,e,r){"use strict";function n(t,e=[]){const r=Object.assign({},t);for(const n of e)n in r&&delete r[n];return r}r.d(e,{C:function(){return n}})},70562:function(t,e,r){"use strict";function n(t,e){const r={};for(const n of e)n in t&&(r[n]=t[n]);return r}r.d(e,{e:function(){return n}})},2847:function(t,e,r){"use strict";r.d(e,{P:function(){return n}});function n(t,...e){return"function"===typeof t?t(...e):t}},20943:function(t,e,r){"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,{Z:function(){return n}})},47568:function(t,e,r){"use strict";function n(t,e,r,n,o,i,a){try{var s=t[i](a),c=s.value}catch(l){return void r(l)}s.done?e(c):Promise.resolve(c).then(n,o)}function o(t){return function(){var e=this,r=arguments;
280return new Promise((function(o,i){var a=t.apply(e,r);function s(t){n(a,o,i,s,c,"next",t)}function c(t){n(a,o,i,s,c,"throw",t)}s(void 0)}))}}r.d(e,{Z:function(){return o}})},14924:function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,{Z:function(){return n}})},13375:function(t,e,r){"use strict";function n(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}r.d(e,{Z:function(){return n}})},26042:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var n=r(14924);function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},o=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),o.forEach((function(e){(0,n.Z)(t,e,r[e])}))}return t}},69396:function(t,e,r){"use strict";function n(t,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):function(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}
280(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))})),t}r.d(e,{Z:function(){return n}})},99534:function(t,e,r){"use strict";function n(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}r.d(e,{Z:function(){return n}})},828:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});var n=r(13375);var o=r(91566);function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||(0,n.Z)(t,e)||(0,o.Z)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},91566:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var n=r(20943);function o(t,e){if(t){if("string"===typeof t)return(0,n.Z)(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,n.Z)(t,e):void 0}}},17929:function(t,e,r){"use strict";r.d(e,{Z:function(){return kt}});var n=r(24394),o=r(86917);const i=!1;var a=r(30404),s=r(90415),c=r(75129);const l=t=>t*t,u=(0,c.M)(l),d=(0,s.o)(l);var f=r(85385),h=r(24169),p=r(80022);function m(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}var g=r(26382),v=r(40819),b=r(93184);const y=(t,e,r)=>{const n=t*t;return Math.sqrt(Math.max(0,r*(e*e-n)+n))},x=[g.$,v.m,b.J];function w(t){const e=(r=t,x.find((t=>t.test(r))));var r;(0,n.k)(Boolean(e),`'${t}' is not an animatable color. Use the equivalent color code instead.`);let o=e.parse(t);return e===b.J&&(o=function({hue:t,saturation:e,lightness:r,alpha:n}){t/=360,r/=100;let o=0,i=0,a=0;if(e/=100){const n=r<.5?r*(1+e):r+e-r*e,s=2*r-n;o=m(s,n,t+1/3),i=m(s,n,t),a=m(s,n,t-1/3)}else o=i=a=r;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*a),alpha:n}}(o)),o}const k=(t,e)=>{const r=w(t),n=w(e),o={...r};return t=>(o.red=y(r.red,n.red,t),o.green=y(r.green,n.green,t),o.blue=y(r.blue,n.blue,t),o.alpha=(0,p.C)(r.alpha,n.alpha,t),v.m.transform(o))};var S=r(83624),_=r(51550);function C(t,e){return"number"===typeof t?r=>(0,p.C)(t,e,r):f.$.test(t)?k(t,e):A(t,e)}const E=(t,e)=>{const r=[...t],n=r.length,o=t.map(((t,r)=>C(t,e[r])));return t=>{for(let e=0;e<n;e++)r[e]=o[e](t);return r}},T=(t,e)=>{const r={...t,...e},n={};for(const o in r)void 0!==t[o]&&void 0!==e[o]&&(n[o]=C(t[o],e[o]));return t=>{for(const e in n)r[e]=n[e](t);return r}},A=(t,e)=>{const r=_.P.createTransformer(e),o=(0,_.V)(t),i=(0,_.V)(e);return o.numColors===i.numColors&&o.numNumbers>=i.numNumbers?(0,S.z)(E(o.values,i.values),r):((0,n.K)(!0,`Complex values '${t}' and '${e}' 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.`),r=>`${r>0?e:t}`)};var P=r(23967);const $=(t,e)=>r=>(0,p.C)(t,e,r);function R(t,e,r){const n=[],o=r||("number"===typeof(i=t[0])?$:"string"===typeof i?f.$.test(i)?k:A:Array.isArray(i)?E:"object"===typeof i?T:$);var i;const a=t.length-1;for(let s=0;s<a;s++){let r=o(t[s],t[s+1]);if(e){const t=Array.isArray(e)?e[s]:e;r=(0,S.z)(t,r)}n.push(r)}return n}function j(t,e,{clamp:r=!0,ease:o,mixer:i}={}){const a=t.length;(0,n.k)(a===e.length,"Both input and output ranges must be the same length"),(0,n.k)(!o||!Array.isArray(o)||o.length===a-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),t[0]>t[a-1]&&(t=[...t].reverse(),e=[...e].reverse());const s=R(e,o,i),c=s.length,l=e=>{let r=0;if(c>1)for(;r<t.length-2&&!(e<t[r+1]);r++);const n=(0,P.Y)(t[r],t[r+1],e);return s[r](n)};return r?e=>l((0,h.u)(t[0],t[a-1],e)):l}var z=r(81662);const O=(t,e,r)=>(((1-3*r+3*e)*t+(3*r-6*e))*t+3*e)*t;function M(t,e,r,n){if(t===e&&r===n)return z.Z;const o=e=>function(t,e,r,n,o){let i,a,s=0;do{a=e+(r-e)/2,i=O(a,n,o)-t,i>0?r=a:e=a}while(Math.abs(i)>1e-7&&++s<12);return a}(e,0,1,t,r);return t=>0===t||1===t?t:O(o(t),e,n)}var B=r(27255);const D=M(.33,1.53,.69,.99),I=(0,c.M)(D),L=(0,s.o)(I),V={linear:z.Z,easeIn:l,easeInOut:d,easeOut:u,circIn:B.Z7,circInOut:B.X7,circOut:B.Bn,backIn:I,backInOut:L,backOut:D,anticipate:t=>(t*=2)<1?.5*I(t):.5*(2-Math.pow(2,-10*(t-1)))},F=t=>{if(Array.isArray(t)){(0,n.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.");const[e,r,o,i]=t;return M(e,r,o,i)}return"string"===typeof t?((0,n.k)(void 0!==V[t],`Invalid easing type '${t}'`),V[t]):t};function W({keyframes:t,ease:e=d,times:r,duration:n=300}){t=[...t];const o=W[0],i=(t=>Array.isArray(t)&&"number"!==typeof t[0])(e)?e.map(F):F(e),a={done:!1,value:o},s=function(t,e){return t.map((t=>t*e))}(r&&r.length===W.length?r:function(t){const e=t.length;return t.map(((t,r)=>0!==r?r/(e-1):0))}(t),n);function c(){return j(s,t,{ease:Array.isArray(i)?i:(e=t,r=i,e.map((()=>r||d)).splice(0,e.length-1))});var e,r}let l=c();return{next:t=>(a.value=l(t),a.done=t>=n,a),flipTarget:()=>{t.reverse(),l=c()}}}const N=.001;function U({duration:t=800,bounce:e=.25,velocity:r=0,mass:o=1}){let i,a;(0,n.K)(t<=1e4,"Spring duration must be 10 seconds or less");let s=1-e;s=(0,h.u)(.05,1,s),t=(0,h.u)(.01,10,t/1e3),s<1?(i=e=>
vendor: 4,375 bytes, line 280
280{const n=e*s,o=n*t,i=n-r,a=H(e,s),c=Math.exp(-o);return N-i/a*c},a=e=>{const n=e*s*t,o=n*r+r,a=Math.pow(s,2)*Math.pow(e,2)*t,c=Math.exp(-n),l=H(Math.pow(e,2),s);return(-i(e)+N>0?-1:1)*((o-a)*c)/l}):(i=e=>Math.exp(-e*t)*((e-r)*t+1)-.001,a=e=>Math.exp(-e*t)*(t*t*(r-e)));const c=function(t,e,r){let n=r;for(let o=1;o<12;o++)n-=t(n)/e(n);return n}(i,a,5/t);if(t*=1e3,isNaN(c))return{stiffness:100,damping:10,duration:t};{const e=Math.pow(c,2)*o;return{stiffness:e,damping:2*s*Math.sqrt(o*e),duration:t}}}function H(t,e){return t*Math.sqrt(1-e*e)}var q=r(3038);const Y=["duration","bounce"],Z=["stiffness","damping","mass"];function J(t,e){return e.some((e=>void 0!==t[e]))}function G({keyframes:t,restSpeed:e=2,restDelta:r=.01,...n}){let o=t[0],i=t[t.length-1];const a={done:!1,value:o},{stiffness:s,damping:c,mass:l,velocity:u,duration:d,isResolvedFromDuration:f}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!J(t,Z)&&J(t,Y)){const r=U(t);e={...e,...r,velocity:0,mass:1},e.isResolvedFromDuration=!0}return e}(n);let h=X,p=u?-u/1e3:0;const m=c/(2*Math.sqrt(s*l));function g(){const t=i-o,e=Math.sqrt(s/l)/1e3;if(void 0===r&&(r=Math.min(Math.abs(i-o)/100,.4)),m<1){const r=H(e,m);h=n=>{const o=Math.exp(-m*e*n);return i-o*((p+m*e*t)/r*Math.sin(r*n)+t*Math.cos(r*n))}}else if(1===m)h=r=>i-Math.exp(-e*r)*(t+(p+e*t)*r);else{const r=e*Math.sqrt(m*m-1);h=n=>{const o=Math.exp(-m*e*n),a=Math.min(r*n,300);return i-o*((p+m*e*t)*Math.sinh(a)+r*t*Math.cosh(a))/r}}}return g(),{next:t=>{const n=h(t);if(f)a.done=t>=d;else{let o=p;if(0!==t)if(m<1){const e=Math.max(0,t-5);o=(0,q.R)(n-h(e),t-e)}else o=0;const s=Math.abs(o)<=e,c=Math.abs(i-n)<=r;a.done=s&&c}return a.value=a.done?i:n,a},flipTarget:()=>{p=-p,[o,i]=[i,o],g()}}}G.needsInterpolation=(t,e)=>"string"===typeof t||"string"===typeof e;const X=t=>0;const K={decay:function({keyframes:t=[0],velocity:e=0,power:r=.8,timeConstant:n=350,restDelta:o=.5,modifyTarget:i}){const a=t[0],s={done:!1,value:a};let c=r*e;const l=a+c,u=void 0===i?l:i(l);return u!==l&&(c=u-a),{next:t=>{const e=-c*Math.exp(-t/n);return s.done=!(e>o||e<-o),s.value=s.done?u:u+e,s},flipTarget:()=>{}}},keyframes:W,tween:W,spring:G};function Q(t,e,r=0){return t-e-r}const tt=t=>{const e=({delta:e})=>t(e);return{start:()=>a.Z_.update(e,!0),stop:()=>a.qY.update(e)}};function et({duration:t,driver:e=tt,elapsed:r=0,repeat:n=0,repeatType:o="loop",repeatDelay:i=0,keyframes:a,autoplay:s=!0,onPlay:c,onStop:l,onComplete:u,onRepeat:d,onUpdate:f,type:h="keyframes",...p}){var m,g;let v,b,y,x=0,w=t,k=!1,S=!0;const _=K[a.length>2?"keyframes":h],C=a[0],E=a[a.length-1];(null===(g=(m=_).needsInterpolation)||void 0===g?void 0:g.call(m,C,E))&&(y=j([0,100],[C,E],{clamp:!1}),a=[0,100]);const T=_({...p,duration:t,keyframes:a});function A(){x++,"reverse"===o?(S=x%2===0,r=function(t,e=0,r=0,n=!0){return n?Q(e+-t,e,r):e-(t-e)+r}(r,w,i,S)):(r=Q(r,w,i),"mirror"===o&&T.flipTarget()),k=!1,d&&d()}function P(t){if(S||(t=-t),r+=t,!k){const t=T.next(Math.max(0,r));b=t.value,y&&(b=y(b)),k=S?t.done:r<=0}f&&f(b),k&&(0===x&&(w=void 0!==w?w:r),x<n?function(t,e,r,n){return n?t>=e+r:t<=-r}(r,w,i,S)&&A():(v.stop(),u&&u()))}return s&&(c&&c(),v=e(P),v.start()),{stop:()=>{l&&l(),v.stop()},sample:t=>T.next(Math.max(0,t))}}const rt=([t,e,r,n])=>`cubic-bezier(${t}, ${e}, ${r}, ${n})`,nt={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:rt([0,.65,.55,1]),circOut:rt([.55,0,1,.45]),backIn:rt([.31,.01,.66,-.59]),backOut:rt([.33,1.53,.69,.99])};function ot(t){if(t)return Array.isArray(t)?rt(t):nt[t]}function it(t,e,{onUpdate:r,onComplete:n,...o}){let{keyframes:i,duration:s=.3,elapsed:c=0,ease:l}=o;if("spring"===o.type||!(!(u=o.ease)||Array.isArray(u)||"string"===typeof u&&nt[u])){const t=et(o);let e={done:!1,value:i[0]};const r=[];let n=0;for(;!e.done;)e=t.sample(n),r.push(e.value),n+=10;i=r,s=n-10,l="linear"}var u;const d=function(t,e,r,{delay:n=0,duration:o,repeat:i=0,repeatType:a="loop",ease:s,times:c}={}){return t.animate({[e]:r,offset:c},{delay:n,duration:o,easing:ot(s),fill:"both",iterations:i+1,direction:"reverse"===a?"alternate":"normal"})}(t.owner.current,e,i,{...o,delay:-c,duration:s,ease:l});return d.onfinish=()=>{t.set(i[i.length-1]),n&&n()},()=>{const{currentTime:e}=d;if(e){const r=et(o);t.setWithVelocity(r.sample(e-10).value,r.sample(e).value,10)}a.Z_.update((()=>
280d.cancel()))}}var at=r(63378);function st({keyframes:t,elapsed:e,onUpdate:r,onComplete:n}){const o=()=>(r&&r(t[t.length-1]),n&&n(),()=>{});return e?(0,at.g)(o,-e):o()}var ct=r(37367);const lt=()=>({type:"spring",stiffness:500,damping:25,restSpeed:10}),ut=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),dt=()=>({type:"keyframes",ease:"linear",duration:.3}),ft={type:"keyframes",duration:.8},ht={x:lt,y:lt,z:lt,rotate:lt,rotateX:lt,rotateY:lt,rotateZ:lt,scaleX:ut,scaleY:ut,scale:ut,opacity:dt,backgroundColor:dt,color:dt,default:ut},pt=(t,{keyframes:e})=>{if(e.length>2)return ft;return(ht[t]||ht.default)(e[1])},mt=(t,e)=>"zIndex"!==t&&(!("number"!==typeof e&&!Array.isArray(e))||!("string"!==typeof e||!_.P.test(e)||e.startsWith("url(")));var gt=r(79135),vt=r(31056);const bt={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},yt={},xt={};for(const St in bt)xt[St]=()=>(void 0===yt[St]&&(yt[St]=bt[St]()),yt[St]);const wt=new Set(["opacity"]),kt=(t,e,r,a={})=>s=>{const c=(0,vt.ev)(a,t)||{},l=c.delay||a.delay||0;let{elapsed:u=0}=a;u-=(0,o.w)(l);const d=function(t,e,r,n){const o=mt(e,r);let i=void 0!==n.from?n.from:t.get();return"none"===i&&o&&"string"===typeof r?i=(0,gt.T)(e,r):(0,vt.Fr)(i)&&"string"===typeof r?i=(0,vt.GZ)(r):!Array.isArray(r)&&(0,vt.Fr)(r)&&"string"===typeof i&&(r=(0,vt.GZ)(i)),Array.isArray(r)?(null===r[0]&&(r[0]=i),r):[i,r]}(e,t,r,c),f=d[0],h=d[d.length-1],p=mt(t,f),m=mt(t,h);(0,n.K)(p===m,`You are trying to animate ${t} from "${f}" to "${h}". ${f} is not an animatable value - to enable this animation set ${f} to a value animatable to ${h} via the \`style\` property.`);let g={keyframes:d,velocity:e.getVelocity(),...c,elapsed:u,onUpdate:t=>{e.set(t),c.onUpdate&&c.onUpdate(t)},onComplete:()=>{s(),c.onComplete&&c.onComplete()}};if(!p||!m||i||!1===c.type)return st(g);if("inertia"===c.type){const t=function({keyframes:t,velocity:e=0,min:r,max:n,power:o=.8,timeConstant:i=750,bounceStiffness:a=500,bounceDamping:s=10,restDelta:c=1,modifyTarget:l,driver:u,onUpdate:d,onComplete:f,onStop:h}){const p=t[0];let m;function g(t){return void 0!==r&&t<r||void 0!==n&&t>n}function v(t){return void 0===r?n:void 0===n||Math.abs(r-t)<Math.abs(n-t)?r:n}function b(t){null===m||void 0===m||m.stop(),m=et({keyframes:[0,1],velocity:0,...t,driver:u,onUpdate:e=>{var r;null===d||void 0===d||d(e),null===(r=t.onUpdate)||void 0===r||r.call(t,e)},onComplete:f,onStop:h})}function y(t){b({type:"spring",stiffness:a,damping:s,restDelta:c,...t})}if(g(p))y({velocity:e,keyframes:[p,v(p)]});else{let t=o*e+p;"undefined"!==typeof l&&(t=l(t));const n=v(t),a=n===r?-1:1;let s,u;const d=t=>{s=u,u=t,e=(0,q.R)(t-s,ct.w.delta),(1===a&&t>n||-1===a&&t<n)&&y({keyframes:[t,n],velocity:e})};b({type:"decay",keyframes:[p,0],velocity:e,timeConstant:i,power:o,restDelta:c,modifyTarget:l,onUpdate:g(t)?d:void 0})}return{stop:()=>null===m||void 0===m?void 0:m.stop()}}(g);return()=>t.stop()}(0,vt.rw)(c)||(g={...g,...pt(t,g)}),g.duration&&(g.duration=(0,o.w)(g.duration)),g.repeatDelay&&(g.repeatDelay=(0,o.w)(g.repeatDelay));const v=e.owner,b=v&&v.current;if(xt.waapi()&&wt.has(t)&&!g.repeatDelay&&"mirror"!==g.repeatType&&0!==g.damping&&v&&b instanceof HTMLElement&&!v.getProps().onUpdate)return it(e,t,g);{const t=et(g);return()=>t.stop()}}},2445:function(t,e,r){"use strict";function n(t){return"object"===typeof t&&"function"===typeof t.start}r.d(e,{H:function(){return n}})},48488:function(t,e,r){"use strict";r.d(e,{C:function(){return n}});const n=t=>Array.isArray(t)},31056:function(t,e,r){"use strict";r.d(e,{Fr:function(){return i},GZ:function(){return a},ev:function(){return s},rw:function(){return o}});var n=r(79135);function o({when:t,delay:e,delayChildren:r,staggerChildren:n,staggerDirection:o,repeat:i,repeatType:a,repeatDelay:s,from:c,...l}){return!!Object.keys(l).length}function i(t){return 0===t||"string"===typeof t&&0===parseFloat(t)&&-1===t.indexOf(" ")}function a(t){return"number"===typeof t?0:(0,n.T)("",t)}function s(t,e){return t[e]||t.default||t}},65820:function(t,e,r){"use strict";r.d(e,{M:function(){return b}});var n=r(67294),o=r(49304),i=r(30404),a=r(58868);function s(){const t=(0,n.useRef)(!1);return(0,a.L)((()=>(t.current=!0,()=>{t.current=!1})),[]),t}var c=r(240),l=r(96681);class u extends n.Component{getSnapshotBeforeUpdate(t){const e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){const t=this.props.sizeRef.current;t.height=e.offsetHeight||0,t.width=e.offsetWidth||0,t.top=e.offsetTop,t.left=e.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:t,isPresent:e}){const r=(0,n.useId)(),o=(0,n.useRef)(null),i=(0,n.useRef)({width:0,height:0,top:0,left:0});return(0,n.useInsertionEffect)((()=>{const{width:t,height:n,top:a,left:s}=i.current;if(e||!o.current||!t||!n)return;o.current.dataset.motionPopId=r;const c=document.createElement("style");return document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`\n          [data-motion-pop-id="${r}"] {\n            position: absolute !important;\n            width: ${t}px !important;\n            height: ${n}px !important;\n            top: ${a}px !important;\n            left: ${s}px !important;\n          }\n        `),()=>{document.head.removeChild(c)}}),[e]),n.createElement(u,{isPresent:e,childRef:o,sizeRef:i},n.cloneElement(t,{ref:o}))}const f=({children:t,initial:e,isPresent:r,onExitComplete:o,custom:i,presenceAffectsLayout:a,mode:s})=>{const u=(0,l.h)(h),f=(0,n.useId)(),p=(0,n.useMemo)((()=>({id:f,initial:e,isPresent:r,custom:i,onExitComplete:t=>{u.set(t,!0);for(const e of u.values())if(!e)return;o&&o()},register:t=>(u.set(t,!1),()=>u.delete(t))})),a?void 0:[r]);return(0,n.useMemo)((()=>{u.forEach(((t,e)=>
280u.set(e,!1)))}),[r]),n.useEffect((()=>{!r&&!u.size&&o&&o()}),[r]),"popLayout"===s&&(t=n.createElement(d,{isPresent:r},t)),n.createElement(c.O.Provider,{value:p},t)};function h(){return new Map}var p=r(25364),m=r(65411),g=r(16034);const v=t=>t.key||"";const b=({children:t,custom:e,initial:r=!0,onExitComplete:c,exitBeforeEnter:l,presenceAffectsLayout:u=!0,mode:d="sync"})=>{l&&(d="wait",(0,g.O)(!1,"Replace exitBeforeEnter with mode='wait'"));let[h]=function(){const t=s(),[e,r]=(0,n.useState)(0),o=(0,n.useCallback)((()=>{t.current&&r(e+1)}),[e]);return[(0,n.useCallback)((()=>i.Z_.postRender(o)),[o]),e]}();const b=(0,n.useContext)(p.p).forceRender;b&&(h=b);const y=s(),x=function(t){const e=[];return n.Children.forEach(t,(t=>{(0,n.isValidElement)(t)&&e.push(t)})),e}(t);let w=x;const k=new Set,S=(0,n.useRef)(w),_=(0,n.useRef)(new Map).current,C=(0,n.useRef)(!0);if((0,a.L)((()=>{C.current=!1,function(t,e){t.forEach((t=>{const r=v(t);e.set(r,t)}))}(x,_),S.current=w})),(0,m.z)((()=>{C.current=!0,_.clear(),k.clear()})),C.current)return n.createElement(n.Fragment,null,w.map((t=>n.createElement(f,{key:v(t),isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:u,mode:d},t))));w=[...w];const E=S.current.map(v),T=x.map(v),A=E.length;for(let n=0;n<A;n++){const t=E[n];-1===T.indexOf(t)&&k.add(t)}return"wait"===d&&k.size&&(w=[]),k.forEach((t=>{if(-1!==T.indexOf(t))return;const r=_.get(t);if(!r)return;const o=E.indexOf(t);w.splice(o,0,n.createElement(f,{key:v(r),isPresent:!1,onExitComplete:()=>{_.delete(t),k.delete(t);const e=S.current.findIndex((e=>e.key===t));if(S.current.splice(e,1),!k.size){if(S.current=x,!1===y.current)return;h(),c&&c()}},custom:e,presenceAffectsLayout:u,mode:d},r))})),w=w.map((t=>{const e=t.key;return k.has(e)?t:n.createElement(f,{key:v(t),isPresent:!0,presenceAffectsLayout:u,mode:d},t)})),"production"!==o.O&&"wait"===d&&w.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.'),n.createElement(n.Fragment,null,k.size?w:w.map((t=>(0,n.cloneElement)(t))))}},15947:function(t,e,r){"use strict";r.d(e,{hO:function(){return a},oO:function(){return i}});var n=r(67294),o=r(240);function i(){const t=(0,n.useContext)(o.O);if(null===t)return[!0,null];const{isPresent:e,onExitComplete:r,register:i}=t,a=(0,n.useId)();(0,n.useEffect)((()=>i(a)),[]);return!e&&r?[!1,()=>r&&r(a)]:[!0]}function a(){return null===(t=(0,n.useContext)(o.O))||t.isPresent;var t}},25364:function(t,e,r){"use strict";r.d(e,{p:function(){return n}});const n=(0,r(67294).createContext)({})},70398:function(t,e,r){"use strict";r.d(e,{u:function(){return n}});const n=(0,r(67294).createContext)({strict:!1})},16014:function(t,e,r){"use strict";r.d(e,{_:function(){return n}});const n=(0,r(67294).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},240:function(t,e,r){"use strict";r.d(e,{O:function(){return n}});const n=(0,r(67294).createContext)(null)},41705:function(t,e,r){"use strict";r.d(e,{g:function(){return n}});const n=(0,r(67294).createContext)({})},27255:function(t,e,r){"use strict";r.d(e,{Bn:function(){return a},X7:function(){return s},Z7:function(){return i}});var n=r(90415),o=r(75129);const i=t=>1-Math.sin(Math.acos(t)),a=(0,o.M)(i),s=(0,n.o)(a)},90415:function(t,e,r){"use strict";r.d(e,{o:function(){return n}});const n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},75129:function(t,e,r){"use strict";r.d(e,{M:function(){return n}});const n=t=>e=>1-t(1-e)},28148:function(t,e,r){"use strict";r.d(e,{Q:function(){return s},q:function(){return c}});var n=r(60900);const o={pageX:0,pageY:0};function i(t,e="page"){const r=t.touches[0]||t.changedTouches[0]||o;return{x:r[e+"X"],y:r[e+"Y"]}}function a(t,e="page"){return{x:t[e+"X"],y:t[e+"Y"]}}function s(t,e="page"){return{point:(0,n.z)(t)?i(t,e):a(t,e)}}const c=(t,e=!1)=>{const r=e=>t(e,s(e));return e?(n=r,t=>{const e=t instanceof MouseEvent;(!e||e&&0===t.button)&&n(t)}):r;var n}},51756:function(t,e,r){"use strict";r.d(e,{E:function(){return o},p:function(){return i}});var n=r(67294);function o(t,e,r,n={passive:!0}
280){return t.addEventListener(e,r,n),()=>t.removeEventListener(e,r)}function i(t,e,r,i){(0,n.useEffect)((()=>{const n=t.current;if(r&&n)return o(n,e,r,i)}),[t,e,r,i])}},70737:function(t,e,r){"use strict";r.d(e,{a:function(){return l},m:function(){return u}});var n=r(51756),o=r(28148),i=r(11741);const a={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},s={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function c(t){return i.j&&null===window.onpointerdown?t:i.j&&null===window.ontouchstart?s[t]:i.j&&null===window.onmousedown?a[t]:t}function l(t,e,r,i){return(0,n.E)(t,c(e),(0,o.q)(r,"pointerdown"===e),i)}function u(t,e,r,i){return(0,n.p)(t,c(e),r&&(0,o.q)(r,"pointerdown"===e),i)}},37367:function(t,e,r){"use strict";r.d(e,{w:function(){return n}});const n={delta:0,timestamp:0}},30404:function(t,e,r){"use strict";r.d(e,{qY:function(){return h},iW:function(){return p},Z_:function(){return f}});const n=1/60*1e3,o="undefined"!==typeof performance?()=>performance.now():()=>Date.now(),i="undefined"!==typeof window?t=>window.requestAnimationFrame(t):t=>setTimeout((()=>t(o())),n);var a=r(37367);let s=!0,c=!1,l=!1;const u=["read","update","preRender","render","postRender"],d=u.reduce(((t,e)=>(t[e]=function(t){let e=[],r=[],n=0,o=!1,i=!1;const a=new WeakSet,s={schedule:(t,i=!1,s=!1)=>{const c=s&&o,l=c?e:r;return i&&a.add(t),-1===l.indexOf(t)&&(l.push(t),c&&o&&(n=e.length)),t},cancel:t=>{const e=r.indexOf(t);-1!==e&&r.splice(e,1),a.delete(t)},process:c=>{if(o)i=!0;else{if(o=!0,[e,r]=[r,e],r.length=0,n=e.length,n)for(let r=0;r<n;r++){const n=e[r];n(c),a.has(n)&&(s.schedule(n),t())}o=!1,i&&(i=!1,s.process(c))}}};return s}((()=>c=!0)),t)),{}),f=u.reduce(((t,e)=>{const r=d[e];return t[e]=(t,e=!1,n=!1)=>(c||v(),r.schedule(t,e,n)),t}),{}),h=u.reduce(((t,e)=>(t[e]=d[e].cancel,t)),{}),p=u.reduce(((t,e)=>(t[e]=()=>d[e].process(a.w),t)),{}),m=t=>d[t].process(a.w),g=t=>{c=!1,a.w.delta=s?n:Math.max(Math.min(t-a.w.timestamp,40),1),a.w.timestamp=t,l=!0,u.forEach(m),l=!1,c&&(s=!1,i(g))},v=()=>{c=!0,s=!0,l||i(g)}},37544:function(t,e,r){"use strict";function n(t){let e=null;return()=>{const r=()=>{e=null};return null===e&&(e=t,r)}}r.d(e,{fJ:function(){return a},gD:function(){return s}});const o=n("dragHorizontal"),i=n("dragVertical");function a(t){let e=!1;if("y"===t)e=i();else if("x"===t)e=o();else{const t=o(),r=i();t&&r?e=()=>{t(),r()}:(t&&t(),r&&r())}return e}function s(){const t=a(!0);return!t||(t(),!1)}},60900:function(t,e,r){"use strict";function n(t){return"undefined"!==typeof PointerEvent&&t instanceof PointerEvent?!("mouse"!==t.pointerType):t instanceof MouseEvent}function o(t){return!!t.touches}r.d(e,{N:function(){return n},z:function(){return o}})},71903:function(t,e,r){"use strict";r.d(e,{s:function(){return u}});var n=r(67294),o=r(2445),i=r(15947),a=r(240),s=r(63572),c=r(3233),l=r(5445);const u={animation:(0,l.x)((({visualElement:t,animate:e})=>{t.animationState||(t.animationState=(0,s.MS)(t)),(0,o.H)(e)&&(0,n.useEffect)((()=>e.subscribe(t)),[e])})),exit:(0,l.x)((t=>{const{custom:e,visualElement:r}=t,[o,s]=(0,i.oO)(),l=(0,n.useContext)(a.O);(0,n.useEffect)((()=>{r.isPresent=o;const t=r.animationState&&r.animationState.setActive(c.r.Exit,!o,{custom:l&&l.custom||e});t&&!o&&t.then(s)}),[o])}))}},9442:function(t,e,r){"use strict";r.d(e,{A:function(){return o}});const n=t=>({isEnabled:e=>t.some((t=>!!e[t]))}),o={measureLayout:n(["layout","layoutId","drag"]),animation:n(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:n(["exit"]),drag:n(["drag","dragControls"]),focus:n(["whileFocus"]),hover:n(["whileHover","onHoverStart","onHoverEnd"]),tap:n(["whileTap","onTap","onTapStart","onTapCancel"]),pan:n(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:n(["whileInView","onViewportEnter","onViewportLeave"])}},78155:function(t,e,r){"use strict";r.d(e,{o:function(){return q}});var n=r(67294),o=r(24394),i=r(60900),a=r(28148),s=r(30404),c=r(86917),l=r(70737),u=r(83624);const d=(t,e)=>Math.abs(t-e);var f=r(37367);class h{constructor(t,e,{transformPagePoint:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const t=g(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,r=function(t,e){const r=d(t.x,e.x),n=d(t.y,e.y);return Math.sqrt(r**2+n**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!r)return;const{point:n}=t,{timestamp:o}=f.w;this.history.push({...n,timestamp:o});const{onStart:i,onMove:a}=this.handlers;e||(i&&i(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=p(e,this.transformPagePoint),(0,i.N)(t)&&0===t.buttons?this.handlePointerUp(t,e):s.Z_.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();const{onEnd:r,onSessionEnd:n}=this.handlers,o=g(p(e,this.transformPagePoint),this.history);this.startEvent&&r&&r(t,o),n&&n(t,o)},(0,i.z)(t)&&t.touches.length>1)return;this.handlers=e,this.transformPagePoint=r;const n=p((0,a.Q)(t),this.transformPagePoint),{point:o}=n,{timestamp:c}=f.w;this.history=[{...o,timestamp:c}];const{onSessionStart:h}=e;h&&h(t,g(n,this.history)),this.removeListeners=(0,u.z)((0,l.a)(window,"pointermove",this.handlePointerMove),(0,l.a)(window,"pointerup",this.handlePointerUp),(0,l.a)(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),s.qY.update(this.updatePoint)}}function p(t,e){return e?{point:e(t.point)}:t}function m(t,e){return{x:t.x-e.x,y:t.y-e.y}}function g({point:t},e){return{point:t,delta:m(t,b(e)),offset:m(t,v(e)),velocity:y(e,.1)}}function v(t){return t[0]}function b(t){return t[t.length-1]}function y(t,e){if(t.length<2)return{x:0,y:0};let r=t.length-1,n=null;const o=b(t);for(;r>=0&&(n=t[r],!(o.timestamp-n.timestamp>(0,c.w)(e)));)r--;if(!n)return{x:0,y:0};const i=(o.timestamp-n.timestamp)/1e3;if(0===i)return{x:0,y:0};const a={x:(o.x-n.x)/i,y:(o.y-n.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}var x=r(37544),w=r(51804),k=r(23967),S=r(16645),_=r(24169),C=r(80022);function E(t,e,r){return{min:void 0!==e?t.min+e:void 0,max:void 0!==r?t.max+r-(t.max-t.min):void 0}}function T(t,e){let r=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([r,n]=[n,r]),{min:r,max:n}}const A=.35;function P(t,e,r){return{min:$(t,e),max:$(t,r)}}function $(t,e){return"number"===typeof t?t:t[e]||0}var R=r(3233),j=r(61512),z=r(91730),O=r(56460),M=r(76117),B=r(51756),D=r(96190),I=r(17929);const L=new WeakMap;class V{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,j.dO)(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){if(!1===this.visualElement.isPresent)return;this.panSession=new h(t,{onSessionStart:t=>{this.stopAnimation(),e&&this.snapToCursor((0,a.Q)(t,"page").point)},onStart:(t,e)=>{var r;const{drag:n,dragPropagation:o,onDragStart:i}=this.getProps();(!n||o||(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=(0,x.fJ)(n),this.openGlobalLock))&&(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,z.U)((t=>{var e,r;let n=this.getAxisMotionValue(t).get()||0;if(D.aQ.test(n)){const o=null===(r=null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout)||void 0===r?void 0:r.layoutBox[t];if(o){n=(0,S.JO)(o)*(parseFloat(n)/100)}}this.originPoint[t]=n})),null===i||void 0===i||i(t,e),null===(r=this.visualElement.animationState)||void 0===r||r.setActive(R.r.Drag,!0))},onMove:(t,e)=>{const{dragPropagation:r,dragDirectionLock:n,onDirectionLock:o,onDrag:i}=this.getProps();if(!r&&!this.openGlobalLock)return;const{offset:a}=e;if(n&&null===this.currentDirection)return this.currentDirection=function(t,e=10){let r=null;Math.abs(t.y)>e?r="y":Math.abs(t.x)>e&&(r="x");return r}(a),void(null!==this.currentDirection&&(null===o||void 0===o||o(this.currentDirection)));this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),null===i||void 0===i||i(t,e)},onSessionEnd:(t,e)=>this.stop(t,e)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,e){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:n}=e;this.startAnimation(n);const{onDragEnd:o}=this.getProps();null===o||void 0===o||o(t,e)}cancel(){var t,e;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(t=this.panSession)||void 0===t||t.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(e=this.visualElement.animationState)||void 0===e||e.setActive(R.r.Drag,!1)}updateAxis(t,e,r){const{drag:n}=this.getProps();if(!r||!F(t,n,this.currentDirection))return;const o=this.getAxisMotionValue(t);let i=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(i=function(t,{min:e,max:r},n){return void 0!==e&&t<e?t=n?(0,C.C)(e,t,n.min):Math.max(t,e):void 0!==r&&t>r&&(t=n?(0,C.C)(r,t,n.max):Math.min(t,r)),t}(i,this.constraints[t],this.elastic[t])),o.set(i)}resolveConstraints(){const{dragConstraints:t,dragElastic:e}=this.getProps(),{layout:r}=this.visualElement.projection||{},n=this.constraints;t&&(0,w.I)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!r)&&function(t,{top:e,left:r,bottom:n,right:o}){return{x:E(t.x,r,o),y:E(t.y,e,n)}}(r.layoutBox,t),this.elastic=function(t=A){return!1===t?t=0:!0===t&&(t=A),{x:P(t,"left","right"),y:P(t,"top","bottom")}}(e),n!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&(0,z.U)((t=>{this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){const r={};return void 0!==e.min&&(r.min=e.min-t.min),void 0!==e.max&&(r.max=e.max-t.min),r}(r.layoutBox[t],this.constraints[t]))}))}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!(0,w.I)(t))return!1;const r=t.current;(0,o.k)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:n}=this.visualElement;if(!n||!n.layout)return!1;const i=(0,O.z)(r,n.root,this.visualElement.getTransformPagePoint());let a=function(t,e){return{x:T(t.x,e.x),y:T(t.y,e.y)}}(n.layout.layoutBox,i);if(e){const t=e((0,M.z2)(a));this.hasMutatedConstraints=!!t,t&&(a=(0,M.i8)(t))}return a}startAnimation(t){const{drag:e,dragMomentum:r,dragElastic:n,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},c=(0,z.U)((a=>
280{if(!F(a,e,this.currentDirection))return;let c=(null===s||void 0===s?void 0:s[a])||{};i&&(c={min:0,max:0});const l=n?200:1e6,u=n?40:1e7,d={type:"inertia",velocity:r?t[a]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...o,...c};return this.startAxisValueAnimation(a,d)}));return Promise.all(c).then(a)}startAxisValueAnimation(t,e){const r=this.getAxisMotionValue(t);return r.start((0,I.Z)(t,r,0,e))}stopAnimation(){(0,z.U)((t=>this.getAxisMotionValue(t).stop()))}getAxisMotionValue(t){var e;const r="_drag"+t.toUpperCase(),n=this.visualElement.getProps()[r];return n||this.visualElement.getValue(t,(null===(e=this.visualElement.getProps().initial)||void 0===e?void 0:e[t])||0)}snapToCursor(t){(0,z.U)((e=>{const{drag:r}=this.getProps();if(!F(e,r,this.currentDirection))return;const{projection:n}=this.visualElement,o=this.getAxisMotionValue(e);if(n&&n.layout){const{min:r,max:i}=n.layout.layoutBox[e];o.set(t[e]-(0,C.C)(r,i,.5))}}))}scalePositionWithinConstraints(){var t;if(!this.visualElement.current)return;const{drag:e,dragConstraints:r}=this.getProps(),{projection:n}=this.visualElement;if(!(0,w.I)(r)||!n||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};(0,z.U)((t=>{const e=this.getAxisMotionValue(t);if(e){const r=e.get();o[t]=function(t,e){let r=.5;const n=(0,S.JO)(t),o=(0,S.JO)(e);return o>n?r=(0,k.Y)(e.min,e.max-n,t.min):n>o&&(r=(0,k.Y)(t.min,t.max-o,e.min)),(0,_.u)(0,1,r)}({min:r,max:r},this.constraints[t])}}));const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",null===(t=n.root)||void 0===t||t.updateScroll(),n.updateLayout(),this.resolveConstraints(),(0,z.U)((t=>{if(!F(t,e,null))return;const r=this.getAxisMotionValue(t),{min:n,max:i}=this.constraints[t];r.set((0,C.C)(n,i,o[t]))}))}addListeners(){var t;if(!this.visualElement.current)return;L.set(this.visualElement,this);const e=this.visualElement.current,r=(0,l.a)(e,"pointerdown",(t=>{const{drag:e,dragListener:r=!0}=this.getProps();e&&r&&this.start(t)})),n=()=>{const{dragConstraints:t}=this.getProps();(0,w.I)(t)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,i=o.addEventListener("measure",n);o&&!o.layout&&(null===(t=o.root)||void 0===t||t.updateScroll(),o.updateLayout()),n();const a=(0,B.E)(window,"resize",(()=>this.scalePositionWithinConstraints())),s=o.addEventListener("didUpdate",(({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&((0,z.U)((e=>{const r=this.getAxisMotionValue(e);r&&(this.originPoint[e]+=t[e].translate,r.set(r.get()+t[e].translate))})),this.visualElement.render())}));return()=>{a(),r(),i(),null===s||void 0===s||s()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:o=!1,dragElastic:i=A,dragMomentum:a=!0}=t;return{...t,drag:e,dragDirectionLock:r,dragPropagation:n,dragConstraints:o,dragElastic:i,dragMomentum:a}}}function F(t,e,r){return(!0===e||e===t)&&(null===r||r===t)}var W=r(96681);var N=r(16014),U=r(65411);var H=r(5445);const q={pan:(0,H.x)((function({onPan:t,onPanStart:e,onPanEnd:r,onPanSessionStart:o,visualElement:i}){const a=t||e||r||o,s=(0,n.useRef)(null),{transformPagePoint:c}=(0,n.useContext)(N._),u={onSessionStart:o,onStart:e,onMove:t,onEnd:(t,e)=>{s.current=null,r&&r(t,e)}};(0,n.useEffect)((()=>{null!==s.current&&s.current.updateHandlers(u)})),(0,l.m)(i,"pointerdown",a&&function(t){s.current=new h(t,u,{transformPagePoint:c})}),(0,U.z)((()=>s.current&&s.current.end()))})),drag:(0,H.x)((function(t){const{dragControls:e,visualElement:r}=t,o=(0,W.h)((()=>new V(r)));(0,n.useEffect)((()=>e&&e.subscribe(o)),[o,e]),(0,n.useEffect)((()=>o.addListeners()),[o])}))}},36872:function(t,e,r){"use strict";r.d(e,{E:function(){return _}});var n=r(3233),o=r(51756);var i=r(60900),a=r(70737),s=r(37544);function c(t,e,r){return(o,a)=>{(0,i.N)(o)&&!(0,s.gD)()&&(t.animationState&&t.animationState.setActive(n.r.Hover,e),r&&r(o,a))}}var l=r(67294);const u=(t,e)=>!!e&&(t===e||u(t,e.parentElement));var d=r(65411),f=r(83624);var h=r(49304),p=r(16034);const m=new WeakMap,g=new WeakMap,v=t=>{const e=m.get(t.target);e&&e(t)}
280,b=t=>{t.forEach(v)};function y(t,e,r){const n=function({root:t,...e}){const r=t||document;g.has(r)||g.set(r,{});const n=g.get(r),o=JSON.stringify(e);return n[o]||(n[o]=new IntersectionObserver(b,{root:t,...e})),n[o]}(e);return m.set(t,r),n.observe(t),()=>{m.delete(t),n.unobserve(t)}}const x={some:0,all:1};function w(t,e,r,{root:o,margin:i,amount:a="some",once:s}){(0,l.useEffect)((()=>{if(!t||!r.current)return;const c={root:null===o||void 0===o?void 0:o.current,rootMargin:i,threshold:"number"===typeof a?a:x[a]};return y(r.current,c,(t=>{const{isIntersecting:o}=t;if(e.isInView===o)return;if(e.isInView=o,s&&!o&&e.hasEnteredView)return;o&&(e.hasEnteredView=!0),r.animationState&&r.animationState.setActive(n.r.InView,o);const i=r.getProps(),a=o?i.onViewportEnter:i.onViewportLeave;a&&a(t)}))}),[t,o,i,a])}function k(t,e,r,{fallback:o=!0}){(0,l.useEffect)((()=>{t&&o&&("production"!==h.O&&(0,p.O)(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame((()=>{e.hasEnteredView=!0;const{onViewportEnter:t}=r.getProps();t&&t(null),r.animationState&&r.animationState.setActive(n.r.InView,!0)})))}),[t])}var S=r(5445);const _={inView:(0,S.x)((function({visualElement:t,whileInView:e,onViewportEnter:r,onViewportLeave:n,viewport:o={}}){const i=(0,l.useRef)({hasEnteredView:!1,isInView:!1});let a=Boolean(e||r||n);o.once&&i.current.hasEnteredView&&(a=!1),("undefined"===typeof IntersectionObserver?k:w)(a,i.current,t,o)})),tap:(0,S.x)((function({onTap:t,onTapStart:e,onTapCancel:r,whileTap:o,visualElement:i}){const c=t||e||r||o,h=(0,l.useRef)(!1),p=(0,l.useRef)(null),m={passive:!(e||t||r||x)};function g(){p.current&&p.current(),p.current=null}function v(){return g(),h.current=!1,i.animationState&&i.animationState.setActive(n.r.Tap,!1),!(0,s.gD)()}function b(e,n){v()&&(u(i.current,e.target)?t&&t(e,n):r&&r(e,n))}function y(t,e){v()&&r&&r(t,e)}function x(t,r){g(),h.current||(h.current=!0,p.current=(0,f.z)((0,a.a)(window,"pointerup",b,m),(0,a.a)(window,"pointercancel",y,m)),i.animationState&&i.animationState.setActive(n.r.Tap,!0),e&&e(t,r))}(0,a.m)(i,"pointerdown",c?x:void 0,m),(0,d.z)(g)})),focus:(0,S.x)((function({whileFocus:t,visualElement:e}){const{animationState:r}=e;(0,o.p)(e,"focus",t?()=>{r&&r.setActive(n.r.Focus,!0)}:void 0),(0,o.p)(e,"blur",t?()=>{r&&r.setActive(n.r.Focus,!1)}:void 0)})),hover:(0,S.x)((function({onHoverStart:t,onHoverEnd:e,whileHover:r,visualElement:n}){(0,a.m)(n,"pointerenter",t||r?c(n,!0,t):void 0,{passive:!t}),(0,a.m)(n,"pointerleave",e||r?c(n,!1,e):void 0,{passive:!e})}))}},91283:function(t,e,r){"use strict";r.d(e,{U:function(){return x}});var n=r(30404),o=r(67294),i=r(15947),a=r(25364),s=r(41705),c=r(93083),l=r(96190);function u(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const d={correct:(t,e)=>{if(!e.target)return t;if("string"===typeof t){if(!l.px.test(t))return t;t=parseFloat(t)}return`${u(t,e.target.x)}% ${u(t,e.target.y)}%`}};var f=r(47539),h=r(80022),p=r(51550);const m="_$css",g={correct:(t,{treeScale:e,projectionDelta:r})=>{const n=t,o=t.includes("var("),i=[];o&&(t=t.replace(f.Xp,(t=>(i.push(t),m))));const a=p.P.parse(t);if(a.length>5)return n;const s=p.P.createTransformer(t),c="number"!==typeof a[0]?1:0,l=r.x.scale*e.x,u=r.y.scale*e.y;a[0+c]/=l,a[1+c]/=u;const d=(0,h.C)(l,u,.5);"number"===typeof a[2+c]&&(a[2+c]/=d),"number"===typeof a[3+c]&&(a[3+c]/=d);let g=s(a);if(o){let t=0;g=g.replace(m,(()=>{const e=i[t];return t++,e}))}return g}};var v=r(64561);class b extends o.Component{componentDidMount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:r,layoutId:n}=this.props,{projection:o}=t;(0,v.B)(y),o&&(e.group&&e.group.add(o),r&&r.register&&n&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",(()=>{this.safeToRemove()})),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),c.V.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:e,visualElement:r,drag:o,isPresent:i}=this.props,a=r.projection;return a?(a.isPresent=i,o||t.layoutDependency!==e||void 0===e?a.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?a.promote():a.relegate()||n.Z_.postRender((()=>{var t;(null===(t=a.getStack())||void 0===t?void 0:t.members.length)||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())}componentWillUnmount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:r}=this.props,{projection:n}=t;n&&(n.scheduleCheckAfterUnmount(),(null===e||void 0===e?void 0:e.group)&&e.group.remove(n),(null===r||void 0===r?void 0:r.deregister)&&r.deregister(n))}safeToRemove(){const{safeToRemove:t}=this.props;null===t||void 0===t||t()}render(){return null}}const y={borderRadius:{...d,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:d,borderTopRightRadius:d,borderBottomLeftRadius:d,borderBottomRightRadius:d,boxShadow:g},x={measureLayout:function(t){const[e,r]=(0,i.oO)(),n=(0,o.useContext)(a.p);return o.createElement(b,{...t,layoutGroup:n,switchLayoutGroup:(0,o.useContext)(s.g),isPresent:e,safeToRemove:r})}}},81879:function(t,e,r){"use strict";r.d(e,{K:function(){return o}});var n=r(9442);function o(t){for(const e in t)"projectionNodeConstructor"===e?n.A.projectionNodeConstructor=t[e]:n.A[e].Component=t[e]}},56816:function(t,e,r){"use strict";r.d(e,{j:function(){return i}});var n=r(64561),o=r(94714);function i(t,{layout:e,layoutId:r}){return o.G.has(t)||t.startsWith("origin")||(e||void 0!==r)&&(!!n.P[t]||"opacity"===t)}},5445:function(t,e,r){"use strict";r.d(e,{x:function(){return n}});const n=t=>e=>(t(e),null)},76117:function(t,e,r){"use strict";function n({top:t,left:e,right:r,bottom:n}){return{x:{min:e,max:r},y:{min:t,max:n}}}function o({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function i(t,e){if(!e)return t;const r=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}r.d(e,{d7:function(){return i},i8:function(){return n},z2:function(){return o}})},16e3:function(t,e,r){"use strict";r.d(e,{D2:function(){return m},YY:function(){return l}
280,am:function(){return d},o2:function(){return c},q2:function(){return i}});var n=r(80022),o=r(99527);function i(t,e,r){return r+e*(t-r)}function a(t,e,r,n,o){return void 0!==o&&(t=i(t,o,n)),i(t,r,n)+e}function s(t,e=0,r=1,n,o){t.min=a(t.min,e,r,n,o),t.max=a(t.max,e,r,n,o)}function c(t,{x:e,y:r}){s(t.x,e.translate,e.scale,e.originPoint),s(t.y,r.translate,r.scale,r.originPoint)}function l(t,e,r,n=!1){var i,a;const s=r.length;if(!s)return;let l,d;e.x=e.y=1;for(let u=0;u<s;u++)l=r[u],d=l.projectionDelta,"contents"!==(null===(a=null===(i=l.instance)||void 0===i?void 0:i.style)||void 0===a?void 0:a.display)&&(n&&l.options.layoutScroll&&l.scroll&&l!==l.root&&m(t,{x:-l.scroll.offset.x,y:-l.scroll.offset.y}),d&&(e.x*=d.x.scale,e.y*=d.y.scale,c(t,d)),n&&(0,o.ud)(l.latestValues)&&m(t,l.latestValues));e.x=u(e.x),e.y=u(e.y)}function u(t){return Number.isInteger(t)||t>1.0000000000001||t<.999999999999?t:1}function d(t,e){t.min=t.min+e,t.max=t.max+e}function f(t,e,[r,o,i]){const a=void 0!==e[i]?e[i]:.5,c=(0,n.C)(t.min,t.max,a);s(t,e[r],e[o],c,e.scale)}const h=["x","scaleX","originX"],p=["y","scaleY","originY"];function m(t,e){f(t.x,e,h),f(t.y,e,p)}},16645:function(t,e,r){"use strict";r.d(e,{JO:function(){return o},b3:function(){return d},tf:function(){return l},wS:function(){return i},y$:function(){return s}});var n=r(80022);function o(t){return t.max-t.min}function i(t,e=0,r=.01){return Math.abs(t-e)<=r}function a(t,e,r,a=.5){t.origin=a,t.originPoint=(0,n.C)(e.min,e.max,t.origin),t.scale=o(r)/o(e),(i(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=(0,n.C)(r.min,r.max,t.origin)-t.originPoint,(i(t.translate)||isNaN(t.translate))&&(t.translate=0)}function s(t,e,r,n){a(t.x,e.x,r.x,null===n||void 0===n?void 0:n.originX),a(t.y,e.y,r.y,null===n||void 0===n?void 0:n.originY)}function c(t,e,r){t.min=r.min+e.min,t.max=t.min+o(e)}function l(t,e,r){c(t.x,e.x,r.x),c(t.y,e.y,r.y)}function u(t,e,r){t.min=e.min-r.min,t.max=t.min+o(e)}function d(t,e,r){u(t.x,e.x,r.x),u(t.y,e.y,r.y)}},61512:function(t,e,r){"use strict";r.d(e,{dO:function(){return o},wc:function(){return n}});const n=()=>({x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}),o=()=>({x:{min:0,max:0},y:{min:0,max:0}})},91913:function(t,e,r){"use strict";r.d(e,{u:function(){return vt}});var n=r(30404),o=r(17929),i=r(33234),a=r(40406);var s=r(21560),c=r(27255),l=r(23967),u=r(80022),d=r(81662),f=r(96190);const h=["TopLeft","TopRight","BottomLeft","BottomRight"],p=h.length,m=t=>"string"===typeof t?parseFloat(t):t,g=t=>"number"===typeof t||f.px.test(t);function v(t,e){return void 0!==t[e]?t[e]:t.borderRadius}const b=x(0,.5,c.Bn),y=x(.5,.95,d.Z);function x(t,e,r){return n=>n<t?0:n>e?1:r((0,l.Y)(t,e,n))}function w(t,e){t.min=e.min,t.max=e.max}function k(t,e){w(t.x,e.x),w(t.y,e.y)}var S=r(16e3),_=r(16645);function C(t,e,r,n,o){return t-=e,t=(0,S.q2)(t,1/r,n),void 0!==o&&(t=(0,S.q2)(t,1/o,n)),t}function E(t,e,[r,n,o],i,a){!function(t,e=0,r=1,n=.5,o,i=t,a=t){f.aQ.test(e)&&(e=parseFloat(e),e=(0,u.C)(a.min,a.max,e/100)-a.min);if("number"!==typeof e)return;let s=(0,u.C)(i.min,i.max,n);t===i&&(s-=e),t.min=C(t.min,e,r,s,o),t.max=C(t.max,e,r,s,o)}(t,e[r],e[n],e[o],e.scale,i,a)}const T=["x","scaleX","originX"],A=["y","scaleY","originY"];function P(t,e,r,n){E(t.x,e,T,null===r||void 0===r?void 0:r.x,null===n||void 0===n?void 0:n.x),E(t.y,e,A,null===r||void 0===r?void 0:r.y,null===n||void 0===n?void 0:n.y)}var $=r(61512),R=r(31056);function j(t){return 0===t.translate&&1===t.scale}function z(t){return j(t.x)&&j(t.y)}function O(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}function M(t){return(0,_.JO)(t.x)/(0,_.JO)(t.y)}var B=r(10010);class D{constructor(){this.members=[]}add(t){(0,B.y4)(this.members,t),t.scheduleRender()}remove(t){if((0,B.cl)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){const e=this.members.findIndex((e=>t===e));if(0===e)return!1;let r;for(let n=e;n>=0;n--){const t=this.members[n];if(!1!==t.isPresent){r=t;break}}return!!r&&(this.promote(r),!0)}promote(t,e){var r;const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),(null===(r=t.root)||void 0===r?void 0:r.isUpdating)&&(t.isLayoutDirty=!0);const{crossfade:o}
280=t.options;!1===o&&n.hide()}}exitAnimationComplete(){this.members.forEach((t=>{var e,r,n,o,i;null===(r=(e=t.options).onExitComplete)||void 0===r||r.call(e),null===(i=null===(n=t.resumingFrom)||void 0===n?void 0:(o=n.options).onExitComplete)||void 0===i||i.call(o)}))}scheduleRender(){this.members.forEach((t=>{t.instance&&t.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var I=r(64561);function L(t,e,r){let n="";const o=t.x.translate/e.x,i=t.y.translate/e.y;if((o||i)&&(n=`translate3d(${o}px, ${i}px, 0) `),1===e.x&&1===e.y||(n+=`scale(${1/e.x}, ${1/e.y}) `),r){const{rotate:t,rotateX:e,rotateY:o}=r;t&&(n+=`rotate(${t}deg) `),e&&(n+=`rotateX(${e}deg) `),o&&(n+=`rotateY(${o}deg) `)}const a=t.x.scale*e.x,s=t.y.scale*e.y;return 1===a&&1===s||(n+=`scale(${a}, ${s})`),n||"none"}var V=r(91730),F=r(99527);const W=(t,e)=>t.depth-e.depth;class N{constructor(){this.children=[],this.isDirty=!1}add(t){(0,B.y4)(this.children,t),this.isDirty=!0}remove(t){(0,B.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(W),this.isDirty=!1,this.children.forEach(t)}}var U=r(16399),H=r(93083),q=r(63378);const Y=["","X","Y","Z"];let Z=0;function J({attachResizeListener:t,defaultParent:e,measureScroll:r,checkIsScrollRoot:c,resetTransform:l}){return class{constructor(t,r={},n=(null===e||void 0===e?void 0:e())){this.id=Z++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isTransformDirty=!1,this.isProjectionDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.nodes.forEach(K),this.nodes.forEach(nt),this.nodes.forEach(ot)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.elementId=t,this.latestValues=r,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0,t&&this.root.registerPotentialNode(t,this);for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new N)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new s.L),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){const r=this.eventHandlers.get(t);null===r||void 0===r||r.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}registerPotentialNode(t,e){this.potentialNodes.set(t,e)}mount(e,r=!1){var n;if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;const{layoutId:o,layout:i,visualElement:a}=this.options;if(a&&!a.current&&a.mount(e),this.root.nodes.add(this),null===(n=this.parent)||void 0===n||n.children.add(this),this.elementId&&this.root.potentialNodes.delete(this.elementId),r&&(i||o)&&(this.isLayoutDirty=!0),t){let r;const n=()=>this.root.updateBlockedByResize=!1;t(e,(()=>{this.root.updateBlockedByResize=!0,r&&r(),r=(0,q.g)(n,250),H.V.hasAnimatedSinceResize&&(H.V.hasAnimatedSinceResize=!1,this.nodes.forEach(rt))}))}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&a&&(o||i)&&this.addEventListener("didUpdate",(({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:r,layout:n})=>{var o,i,s,c,l;if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const u=null!==(i=null!==(o=this.options.transition)&&void 0!==o?o:a.getDefaultTransition())&&void 0!==i?i:ut,{onLayoutAnimationStart:d,onLayoutAnimationComplete:f}=a.getProps(),h=!this.targetLayout||!O(this.targetLayout,n)||r,p=!e&&r;if((null===(s=this.resumeFrom)||void 0===s?void 0:s.instance)||p||e&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,p);const e={...(0,R.ev)(u,"layout"),onPlay:d,onComplete:f};a.shouldReduceMotion&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||0!==this.animationProgress||rt(this),this.isLead()&&(null===(l=(c=this.options).onExitComplete)||void 0===l||l.call(c));this.targetLayout=n}))}unmount(){var t,e;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(t=this.getStack())||void 0===t||t.remove(this),null===(e=this.parent)||void 0===e||e.children.delete(this),this.instance=void 0,n.qY.preRender(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){var t;return this.isAnimationBlocked||(null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimationBlocked())||!1}startUpdate(){var t;this.isUpdateBlocked()||(this.isUpdating=!0,null===(t=this.nodes)||void 0===t||t.forEach(it),this.animationId++)}willUpdate(t=!0){var e,r,n;if(this.root.isUpdateBlocked())return void(null===(r=(e=this.options).onExitComplete)||void 0===r||r.call(e));
280if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let s=0;s<this.path.length;s++){const t=this.path[s];t.shouldResetTransform=!0,t.updateScroll("snapshot")}const{layoutId:o,layout:i}=this.options;if(void 0===o&&!i)return;const a=null===(n=this.options.visualElement)||void 0===n?void 0:n.getProps().transformTemplate;this.prevTransformTemplateValue=null===a||void 0===a?void 0:a(this.latestValues,""),this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}didUpdate(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(tt);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(dt),this.potentialNodes.clear()),this.nodes.forEach(et),this.nodes.forEach(G),this.nodes.forEach(X),this.clearAllSnapshots(),n.iW.update(),n.iW.preRender(),n.iW.render())}clearAllSnapshots(){this.nodes.forEach(Q),this.sharedNodes.forEach(at)}scheduleUpdateProjection(){n.Z_.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){n.Z_.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){var t;if(!this.instance)return;if(this.updateScroll(),(!this.options.alwaysMeasureLayout||!this.isLead())&&!this.isLayoutDirty)return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let r=0;r<this.path.length;r++){this.path[r].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,$.dO)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox),null===(t=this.options.visualElement)||void 0===t||t.notify("LayoutMeasure",this.layout.layoutBox,null===e||void 0===e?void 0:e.layoutBox)}updateScroll(t="measure"){let e=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&(this.scroll={animationId:this.root.animationId,phase:t,isRoot:c(this.instance),offset:r(this.instance)})}resetTransform(){var t;if(!l)return;const e=this.isLayoutDirty||this.shouldResetTransform,r=this.projectionDelta&&!z(this.projectionDelta),n=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate,o=null===n||void 0===n?void 0:n(this.latestValues,""),i=o!==this.prevTransformTemplateValue;e&&(r||(0,F.ud)(this.latestValues)||i)&&(l(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){const e=this.measurePageBox();let r=this.removeElementScroll(e);var n;return t&&(r=this.removeTransform(r)),ft((n=r).x),ft(n.y),{animationId:this.root.animationId,measuredBox:e,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:t}=this.options;if(!t)return(0,$.dO)();const e=t.measureViewportBox(),{scroll:r}=this.root;return r&&((0,S.am)(e.x,r.offset.x),(0,S.am)(e.y,r.offset.y)),e}removeElementScroll(t){const e=(0,$.dO)();k(e,t);for(let r=0;r<this.path.length;r++){const n=this.path[r],{scroll:o,options:i}=n;if(n!==this.root&&o&&i.layoutScroll){if(o.isRoot){k(e,t);const{scroll:r}=this.root;r&&((0,S.am)(e.x,-r.offset.x),(0,S.am)(e.y,-r.offset.y))}(0,S.am)(e.x,o.offset.x),(0,S.am)(e.y,o.offset.y)}}return e}applyTransform(t,e=!1){const r=(0,$.dO)();k(r,t);for(let n=0;n<this.path.length;n++){const t=this.path[n];!e&&t.options.layoutScroll&&t.scroll&&t!==t.root&&(0,S.D2)(r,{x:-t.scroll.offset.x,y:-t.scroll.offset.y}),(0,F.ud)(t.latestValues)&&(0,S.D2)(r,t.latestValues)}return(0,F.ud)(this.latestValues)&&(0,S.D2)(r,this.latestValues),r}removeTransform(t){var e;const r=(0,$.dO)();k(r,t);for(let n=0;n<this.path.length;n++){const t=this.path[n];if(!t.instance)continue;if(!(0,F.ud)(t.latestValues))continue;(0,F.Lj)(t.latestValues)&&t.updateSnapshot();const o=(0,$.dO)();k(o,t.measurePageBox()),P(r,t.latestValues,null===(e=t.snapshot)||void 0===e?void 0:e.layoutBox,o)}return(0,F.ud)(this.latestValues)&&P(r,this.latestValues),r}setTargetDelta(t){this.targetDelta=t,this.isProjectionDirty=!0,this.root.scheduleUpdateProjection()}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}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}resolveTargetDelta(){var t;const e=this.getLead();if(this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),!this.isProjectionDirty&&!this.attemptToResolveRelativeTarget)return;const{layout:r,layoutId:n}=this.options;if(this.layout&&(r||n)){if(!this.targetDelta&&!this.relativeTarget){const t=this.getClosestProjectingParent();t&&t.layout?(this.relativeParent=t,this.relativeTarget=(0,$.dO)(),this.relativeTargetOrigin=(0,$.dO)(),(0,_.b3)(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),k(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if((this.relativeTarget||this.targetDelta)&&(this.target||(this.target=(0,$.dO)(),this.targetWithTransforms=(0,$.dO)()),this.relativeTarget&&this.relativeTargetOrigin&&(null===(t=this.relativeParent)||void 0===t?void 0:t.target)?(0,_.tf)(this.target,this.relativeTarget,this.relativeParent.target):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):k(this.target,this.layout.layoutBox),(0,S.o2)(this.target,this.targetDelta)):k(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const t=this.getClosestProjectingParent();t&&Boolean(t.resumingFrom)===Boolean(this.resumingFrom)&&!t.options.layoutScroll&&t.target?(this.relativeParent=t,this.relativeTarget=(0,$.dO)(),this.relativeTargetOrigin=(0,$.dO)(),(0,_.b3)(this.relativeTargetOrigin,this.target,t.target),k(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(this.parent&&!(0,F.Lj)(this.parent.latestValues)&&!(0,F.D_)(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()}calcProjection(){var t;const{isProjectionDirty:e,isTransformDirty:r}=this;this.isProjectionDirty=this.isTransformDirty=!1;
280const n=this.getLead(),o=Boolean(this.resumingFrom)||this!==n;let i=!0;if(e&&(i=!1),o&&r&&(i=!1),i)return;const{layout:a,layoutId:s}=this.options;if(this.isTreeAnimating=Boolean((null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!a&&!s)return;k(this.layoutCorrected,this.layout.layoutBox),(0,S.YY)(this.layoutCorrected,this.treeScale,this.path,o);const{target:c}=n;if(!c)return;this.projectionDelta||(this.projectionDelta=(0,$.wc)(),this.projectionDeltaWithTransform=(0,$.wc)());const l=this.treeScale.x,u=this.treeScale.y,d=this.projectionTransform;(0,_.y$)(this.projectionDelta,this.layoutCorrected,c,this.latestValues),this.projectionTransform=L(this.projectionDelta,this.treeScale),this.projectionTransform===d&&this.treeScale.x===l&&this.treeScale.y===u||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",c))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e,r,n;null===(r=(e=this.options).scheduleRender)||void 0===r||r.call(e),t&&(null===(n=this.getStack())||void 0===n||n.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(t,e=!1){var r,n;const o=this.snapshot,i=(null===o||void 0===o?void 0:o.latestValues)||{},a={...this.latestValues},s=(0,$.wc)();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!e;const c=(0,$.dO)(),l=(null===o||void 0===o?void 0:o.source)!==(null===(r=this.layout)||void 0===r?void 0:r.source),d=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0)<=1,x=Boolean(l&&!d&&!0===this.options.crossfade&&!this.path.some(lt));this.animationProgress=0,this.mixTargetDelta=e=>{var r;const n=e/1e3;st(s.x,t.x,n),st(s.y,t.y,n),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&(null===(r=this.relativeParent)||void 0===r?void 0:r.layout)&&((0,_.b3)(c,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(t,e,r,n){ct(t.x,e.x,r.x,n),ct(t.y,e.y,r.y,n)}(this.relativeTarget,this.relativeTargetOrigin,c,n)),l&&(this.animationValues=a,function(t,e,r,n,o,i){o?(t.opacity=(0,u.C)(0,void 0!==r.opacity?r.opacity:1,b(n)),t.opacityExit=(0,u.C)(void 0!==e.opacity?e.opacity:1,0,y(n))):i&&(t.opacity=(0,u.C)(void 0!==e.opacity?e.opacity:1,void 0!==r.opacity?r.opacity:1,n));for(let a=0;a<p;a++){const o=`border${h[a]}Radius`;let i=v(e,o),s=v(r,o);void 0===i&&void 0===s||(i||(i=0),s||(s=0),0===i||0===s||g(i)===g(s)?(t[o]=Math.max((0,u.C)(m(i),m(s),n),0),(f.aQ.test(s)||f.aQ.test(i))&&(t[o]+="%")):t[o]=s)}(e.rotate||r.rotate)&&(t.rotate=(0,u.C)(e.rotate||0,r.rotate||0,n))}(a,i,this.latestValues,n,x,d)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(0)}startAnimation(t){var e,r;this.notifyListeners("animationStart"),null===(e=this.currentAnimation)||void 0===e||e.stop(),this.resumingFrom&&(null===(r=this.resumingFrom.currentAnimation)||void 0===r||r.stop()),this.pendingAnimation&&(n.qY.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=n.Z_.update((()=>{H.V.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,r={}){const n=(0,a.i)(t)?t:(0,i.B)(t);return n.start((0,o.Z)("",n,e,r)),{stop:()=>n.stop(),isAnimating:()=>n.isAnimating()}}(0,1e3,{...t,onUpdate:e=>{var r;this.mixTargetDelta(e),null===(r=t.onUpdate)||void 0===r||r.call(t,e)},onComplete:()=>{var e;null===(e=t.onComplete)||void 0===e||e.call(t),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){var t;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(t=this.getStack())||void 0===t||t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){var t;this.currentAnimation&&(null===(t=this.mixTargetDelta)||void 0===t||t.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const t=this.getLead();let{targetWithTransforms:e,target:r,layout:n,latestValues:o}=t;if(e&&r&&n){if(this!==t&&this.layout&&n&&ht(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||(0,$.dO)();const e=(0,_.JO)(this.layout.layoutBox.x);r.x.min=t.target.x.min,r.x.max=r.x.min+e;const n=(0,_.JO)(this.layout.layoutBox.y);r.y.min=t.target.y.min,r.y.max=r.y.min+n}k(e,r),(0,S.D2)(e,o),(0,_.y$)(this.projectionDeltaWithTransform,this.layoutCorrected,e,o)}}registerSharedNode(t,e){var r,n,o;this.sharedNodes.has(t)||this.sharedNodes.set(t,new D);this.sharedNodes.get(t).add(e),e.promote({transition:null===(r=e.options.initialPromotionConfig)||void 0===r?void 0:r.transition,preserveFollowOpacity:null===(o=null===(n=e.options.initialPromotionConfig)||void 0===n?void 0:n.shouldPreserveFollowOpacity)||void 0===o?void 0:o.call(n,e)})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){var t;const{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;const{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){const{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:r}={}){const n=this.getStack();n&&n.promote(this,r),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){const t=this.getStack();return!!t&&t.relegate(this)}resetRotation(){const{visualElement:t}=this.options;if(!t)return;let e=!1;const{latestValues:r}=t;if((r.rotate||r.rotateX||r.rotateY||r.rotateZ)&&(e=!0),!e)return;const n={};for(let o=0;o<Y.length;o++){const e="rotate"+Y[o];r[e]&&(n[e]=r[e],t.setStaticValue(e,0))}null===t||void 0===t||t.render();for(const o in n)t.setStaticValue(o,n[o]);t.scheduleRender()}getProjectionStyles(t={}){var e,r,n;const o={};if(!this.instance||this.isSVG)return o;if(!this.isVisible)return{visibility:"hidden"};o.visibility="";const i=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,o.opacity="",o.pointerEvents=(0,U.b)(t.pointerEvents)||"",o.transform=i?i(this.latestValues,""):"none",o;const a=this.getLead();if(!this.projectionDelta||!this.layout||!a.target){const e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=(0,U.b)(t.pointerEvents)||""),this.hasProjected&&!(0,F.ud)(this.latestValues)&&(e.transform=i?i({},""):"none",this.hasProjected=!1),e}const s=a.animationValues||a.latestValues;this.applyTransformsToTarget(),o.transform=L(this.projectionDeltaWithTransform,this.treeScale,s),i&&(o.transform=i(s,o.transform));const{x:c,y:l}=this.projectionDelta;o.transformOrigin=`${100*c.origin}% ${100*l.origin}% 0`,a.animationValues?o.opacity=a===this?null!==(n=null!==(r=s.opacity)&&void 0!==r?r:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:o.opacity=a===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const u in I.P){if(void 0===s[u])continue;const{correct:t,applyTo:e}=I.P[u],r=t(s[u],a);if(e){const t=e.length;for(let n=0;n<t;n++)o[e[n]]=r}else o[u]=r}return this.options.layoutId&&(o.pointerEvents=a===this?(0,U.b)(t.pointerEvents)||"":"none"),o}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
280resetTree(){this.root.nodes.forEach((t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()})),this.root.nodes.forEach(tt),this.root.sharedNodes.clear()}}}function G(t){t.updateLayout()}function X(t){var e,r,n;const o=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&o&&t.hasListeners("didUpdate")){const{layoutBox:e,measuredBox:r}=t.layout,{animationType:n}=t.options,i=o.source!==t.layout.source;"size"===n?(0,V.U)((t=>{const r=i?o.measuredBox[t]:o.layoutBox[t],n=(0,_.JO)(r);r.min=e[t].min,r.max=r.min+n})):ht(n,o.layoutBox,e)&&(0,V.U)((t=>{const r=i?o.measuredBox[t]:o.layoutBox[t],n=(0,_.JO)(e[t]);r.max=r.min+n}));const a=(0,$.wc)();(0,_.y$)(a,e,o.layoutBox);const s=(0,$.wc)();i?(0,_.y$)(s,t.applyTransform(r,!0),o.measuredBox):(0,_.y$)(s,e,o.layoutBox);const c=!z(a);let l=!1;if(!t.resumeFrom){const r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:t,layout:n}=r;if(t&&n){const r=(0,$.dO)();(0,_.b3)(r,o.layoutBox,t.layoutBox);const i=(0,$.dO)();(0,_.b3)(i,e,n.layoutBox),O(r,i)||(l=!0)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:o,delta:s,layoutDelta:a,hasLayoutChanged:c,hasRelativeTargetChanged:l})}else t.isLead()&&(null===(n=(r=t.options).onExitComplete)||void 0===n||n.call(r));t.options.transition=void 0}function K(t){t.isProjectionDirty||(t.isProjectionDirty=Boolean(t.parent&&t.parent.isProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=Boolean(t.parent&&t.parent.isTransformDirty))}function Q(t){t.clearSnapshot()}function tt(t){t.clearMeasurements()}function et(t){const{visualElement:e}=t.options;(null===e||void 0===e?void 0:e.getProps().onBeforeLayoutMeasure)&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function rt(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0}function nt(t){t.resolveTargetDelta()}function ot(t){t.calcProjection()}function it(t){t.resetRotation()}function at(t){t.removeLeadSnapshot()}function st(t,e,r){t.translate=(0,u.C)(e.translate,0,r),t.scale=(0,u.C)(e.scale,1,r),t.origin=e.origin,t.originPoint=e.originPoint}function ct(t,e,r,n){t.min=(0,u.C)(e.min,r.min,n),t.max=(0,u.C)(e.max,r.max,n)}function lt(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}const ut={duration:.45,ease:[.4,0,.1,1]};function dt(t,e){let r=t.root;for(let o=t.path.length-1;o>=0;o--)if(Boolean(t.path[o].instance)){r=t.path[o];break}const n=(r&&r!==t.root?r.instance:document).querySelector(`[data-
280projection-id="${e}"]`);n&&t.mount(n,!0)}function ft(t){t.min=Math.round(t.min),t.max=Math.round(t.max)}function ht(t,e,r){return"position"===t||"preserve-aspect"===t&&!(0,_.wS)(M(e),M(r),.2)}var pt=r(51756);const mt=J({attachResizeListener:(t,e)=>(0,pt.E)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),gt={current:void 0},vt=J({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!gt.current){const t=new mt(0,{});t.mount(window),t.setOptions({layoutScroll:!0}),gt.current=t}return gt.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)})},93083:function(t,e,r){"use strict";r.d(e,{V:function(){return n}});const n={hasAnimatedSinceResize:!0,hasEverUpdated:!1}},64561:function(t,e,r){"use strict";r.d(e,{B:function(){return o},P:function(){return n}});const n={};function o(t){Object.assign(n,t)}},91730:function(t,e,r){"use strict";function n(t){return[t("x"),t("y")]}r.d(e,{U:function(){return n}})},99527:function(t,e,r){"use strict";function n(t){return void 0===t||1===t}function o({scale:t,scaleX:e,scaleY:r}){return!n(t)||!n(e)||!n(r)}function i(t){return o(t)||a(t)||t.z||t.rotate||t.rotateX||t.rotateY}function a(t){return s(t.x)||s(t.y)}function s(t){return t&&"0%"!==t}r.d(e,{D_:function(){return a},Lj:function(){return o},ud:function(){return i}})},56460:function(t,e,r){"use strict";r.d(e,{J:function(){return i},z:function(){return a}});var n=r(76117),o=r(16e3);function i(t,e){return(0,n.i8)((0,n.d7)(t.getBoundingClientRect(),e))}function a(t,e,r){const n=i(t,r),{scroll:a}=e;return a&&((0,o.am)(n.x,a.offset.x),(0,o.am)(n.y,a.offset.y)),n}},97655:function(t,e,r){"use strict";r.d(e,{b:function(){return st}});var n=r(38057),o=r(57630),i=r(94714),a=r(50189),s=r(34242),c=r(2728),l=r(56460),u=r(5759),d=r(47539),f=r(48488),h=r(24394),p=r(56440),m=r(11741),g=r(61649),v=r(96190);const b=new Set(["width","height","top","left","right","bottom","x","y"]),y=t=>b.has(t),x=(t,e)=>{t.set(e,!1),t.set(e)},w=t=>t===g.Rx||t===v.px;var k;!function(t){t.width="width",t.height="height",t.left="left",t.right="right",t.top="top",t.bottom="bottom"}(k||(k={}));const S=(t,e)=>parseFloat(t.split(", ")[e]),_=(t,e)=>(r,{transform:n})=>{if("none"===n||!n)return 0;const o=n.match(/^matrix3d\((.+)\)$/);if(o)return S(o[1],e);{const e=n.match(/^matrix\((.+)\)$/);return e?S(e[1],t):0}},C=new Set(["x","y","z"]),E=i._.filter((t=>!C.has(t)));const T={width:({x:t},{paddingLeft:e="0",paddingRight:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),height:({y:t},{paddingTop:e="0",paddingBottom:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:_(4,13),y:_(5,14)},A=(t,e,r={},n={})=>{e={...e},n={...n};const o=Object.keys(e).filter(y);let i=[],a=!1;const s=[];if(o.forEach((o=>{const c=t.getValue(o);if(!t.hasValue(o))return;let l=r[o],u=(0,p.C)(l);const d=e[o];let m;if((0,f.C)(d)){const t=d.length,e=null===d[0]?1:0;l=d[e],u=(0,p.C)(l);for(let r=e;r<t;r++)m?(0,h.k)((0,p.C)(d[r])===m,"All keyframes must be of the same type"):(m=(0,p.C)(d[r]),(0,h.k)(m===u||w(u)&&w(m),"Keyframes must be of the same dimension as the current value"))}else m=(0,p.C)(d);if(u!==m)if(w(u)&&w(m)){const t=c.get();"string"===typeof t&&c.set(parseFloat(t)),"string"===typeof d?e[o]=parseFloat(d):Array.isArray(d)&&m===v.px&&(e[o]=d.map(parseFloat))}else(null===u||void 0===u?void 0:u.transform)&&(null===m||void 0===m?void 0:m.transform)&&(0===l||0===d)?0===l?c.set(m.transform(l)):e[o]=u.transform(d):(a||(i=function(t){const e=[];return E.forEach((r=>{const n=t.getValue(r);void 0!==n&&(e.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))})),e.length&&t.render(),e}(t),a=!0),s.push(o),n[o]=void 0!==n[o]?n[o]:e[o],x(c,d))})),s.length){const r=s.indexOf("height")>=0?window.pageYOffset:null,o=((t,e,r)=>{const n=e.measureViewportBox(),o=e.current,i=getComputedStyle(o),{display:a}=i,s={};"none"===a&&e.setStaticValue("display",t.display||"block"),r.forEach((t=>{s[t]=T[t](n,i)})),e.render();const c=e.measureViewportBox();return r.forEach((r=>{const n=e.getValue(r);x(n,s[r]),t[r]=T[r](c,i)})),t})(e,t,s);
280return i.length&&i.forEach((([e,r])=>{t.getValue(e).set(r)})),t.render(),m.j&&null!==r&&window.scrollTo({top:r}),{target:o,transitionEnd:n}}return{target:e,transitionEnd:n}};function P(t,e,r,n){return(t=>Object.keys(t).some(y))(e)?A(t,e,r,n):{target:e,transitionEnd:n}}var $=r(30404),R=r(67294),j=r(9442),z=r(61512),O=r(51804),M=r(49304);const B={current:null},D={current:!1};var I=r(21560),L=r(33234),V=r(12490),F=r(40406),W=r(63572),N=r(7504),U=r(97732);var H=r(79432);const q=Object.keys(j.A),Y=q.length,Z=["AnimationStart","AnimationComplete","Update","Unmount","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];const J=["initial",...W.eF],G=J.length;class X extends class{constructor({parent:t,props:e,reducedMotionConfig:r,visualState:n},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.isPresent=!0,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.scheduleRender=()=>$.Z_.render(this.render,!1,!0);const{latestValues:i,renderState:a}=n;this.latestValues=i,this.baseTarget={...i},this.initialValues=e.initial?{...i}:{},this.renderState=a,this.parent=t,this.props=e,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=(0,N.G)(e),this.isVariantNode=(0,N.M)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:s,...c}=this.scrapeMotionValuesFromProps(e);for(const l in c){const t=c[l];void 0!==i[l]&&(0,F.i)(t)&&(t.set(i[l],!1),(0,V.L)(s)&&s.add(l))}}scrapeMotionValuesFromProps(t){return{}}mount(t){var e;this.current=t,this.projection&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=null===(e=this.parent)||void 0===e?void 0:e.addVariantChild(this)),this.values.forEach(((t,e)=>this.bindToMotionValue(e,t))),D.current||function(){if(D.current=!0,m.j)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>B.current=t.matches;t.addListener(e),e()}else B.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||B.current),this.parent&&this.parent.children.add(this),this.setProps(this.props)}unmount(){var t,e,r;null===(t=this.projection)||void 0===t||t.unmount(),$.qY.update(this.notifyUpdate),$.qY.render(this.render),this.valueSubscriptions.forEach((t=>t())),null===(e=this.removeFromVariantTree)||void 0===e||e.call(this),null===(r=this.parent)||void 0===r||r.children.delete(this);for(const n in this.events)this.events[n].clear();this.current=null}bindToMotionValue(t,e){const r=i.G.has(t),n=e.on("change",(e=>{this.latestValues[t]=e,this.props.onUpdate&&$.Z_.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)})),o=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,(()=>{n(),o()}))}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures(t,e,r,n,o,i){const a=[];"production"!==M.O&&r&&e&&(0,h.k)(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(let s=0;s<Y;s++){const e=q[s],{isEnabled:r,Component:n}=j.A[e];r(t)&&n&&a.push((0,R.createElement)(n,{key:e,...t,visualElement:this}))}if(!this.projection&&o){this.projection=new o(n,this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:r,drag:a,dragConstraints:s,layoutScroll:c}=t;this.projection.setOptions({layoutId:e,layout:r,alwaysMeasureLayout:Boolean(a)||s&&(0,O.I)(s),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"===typeof r?r:"both",initialPromotionConfig:i,layoutScroll:c})}return a}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,z.dO)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}makeTargetAnimatable(t,e=!0){return this.makeTargetAnimatableFromInstance(t,this.props,e)}setProps(t){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.props=t;for(let e=0;e<Z.length;e++){const r=Z[e];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);const n=t["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(t,e,r){const{willChange:n}=e;for(const o in e){const i=e[o],a=r[o];if((0,F.i)(i))t.addValue(o,i),(0,V.L)(n)&&n.add(o);else if((0,F.i)(a))t.addValue(o,(0,L.B)(i,{owner:t})),(0,V.L)(n)&&n.remove(o);else if(a!==i)if(t.hasValue(o)){const e=t.getValue(o);!e.hasAnimated&&e.set(i)}else{const e=t.getStaticValue(o);t.addValue(o,(0,L.B)(void 0!==e?e:i))}}for(const o in r)void 0===e[o]&&t.removeValue(o);return e}(this,this.scrapeMotionValuesFromProps(t),this.prevMotionValues)}getProps(){return this.props}getVariant(t){var e;return null===(e=this.props.variants)||void 0===e?void 0:e[t]}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){var t;return this.isVariantNode?this:null===(t=this.parent)||void 0===t?void 0:t.getClosestVariantNode()}getVariantContext(t=!1){var e,r;if(t)return null===(e=this.parent)||void 0===e?void 0:e.getVariantContext();if(!this.isControllingVariants){const t=(null===(r=this.parent)||void 0===r?void 0:r.getVariantContext())||{};return void 0!==this.props.initial&&(t.initial=this.props.initial),t}const n={};for(let o=0;o<G;o++){const t=J[o],e=this.props[t];((0,U.$)(e)||!1===e)&&(n[t]=e)}return n}addVariantChild(t){var e;const r=this.getClosestVariantNode();if(r)return null===(e=r.variantChildren)||void 0===e||e.add(t),()=>r.variantChildren.delete(t)}addValue(t,e){this.hasValue(t)&&this.removeValue(t),this.values.set(t,e),this.latestValues[t]=e.get(),this.bindToMotionValue(t,e)}removeValue(t){var e;this.values.delete(t),null===(e=this.valueSubscriptions.get(t))||void 0===e||e(),this.valueSubscriptions.delete(t),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return void 0===r&&void 0!==e&&(r=(0,L.B)(e,{owner:this}),this.addValue(t,r)),r}readValue(t){return void 0===this.latestValues[t]&&this.current?this.readValueFromInstance(this.current,t,this.options):this.latestValues[t]}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;const{initial:r}=this.props,n="string"===typeof r||"object"===typeof r?null===(e=(0,H.o)(this.props,r))||void 0===e?void 0:e[t]:void 0;if(r&&void 0!==n)return n;const o=this.getBaseTargetFromProps(this.props,t);return void 0===o||(0,F.i)(o)?void 0!==this.initialValues[t]&&void 0===n?void 0:this.baseTarget[t]:o}on(t,e){return this.events[t]||(this.events[t]=new I.L),this.events[t].add(e)}notify(t,...e){var r;null===(r=this.events[t])||void 0===r||r.notify(...e)}}{sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){var r;return null===(r=t.style)||void 0===r?void 0:r[e]}removeValueFromRenderState(t,{vars:e,style:r}){delete e[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:e,...r},{transformValues:n},o){let i=(0,u.P$)(r,t||{},this);if(n&&(e&&(e=n(e)),r&&(r=n(r)),i&&(i=n(i))),o){(0,u.GJ)(this,r,i);const t=((t,e,r,n)=>{const o=(0,d.mH)(t,e,n);return P(t,e=o.target,r,n=o.transitionEnd)})(this,r,i,e);e=t.transitionEnd,r=t.target}return{transition:t,transitionEnd:e,...r}}}class K extends X{readValueFromInstance(t,e){if(i.G.has(e)){const t=(0,c.A)(e);return t&&t.default||0}{const n=(r=t,window.getComputedStyle(r)),i=((0,o.o)(e)?n.getPropertyValue(e):n[e])||0;return"string"===typeof i?i.trim():i}var r}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,l.J)(t,e)}build(t,e,r,o){(0,n.r)(t,e,r,o.transformTemplate)}scrapeMotionValuesFromProps(t){return(0,a.U)(t)}renderInstance(t,e,r,n){(0,s.N)(t,e,r,n)}}var Q=r(16832),tt=r(85415),et=r(93193),rt=r(77302),nt=r(68504),ot=r(79854);class it extends X{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){var r;
280return i.G.has(e)?(null===(r=(0,c.A)(e))||void 0===r?void 0:r.default)||0:(e=rt.s.has(e)?e:(0,et.D)(e),t.getAttribute(e))}measureInstanceViewportBox(){return(0,z.dO)()}scrapeMotionValuesFromProps(t){return(0,Q.U)(t)}build(t,e,r,n){(0,tt.i)(t,e,r,this.isSVGTag,n.transformTemplate)}renderInstance(t,e,r,n){(0,nt.K)(t,e,r,n)}mount(t){this.isSVGTag=(0,ot.a)(t.tagName),super.mount(t)}}var at=r(62627);const st=(t,e)=>(0,at.q)(t)?new it(e,{enableHardwareAcceleration:!1}):new K(e,{enableHardwareAcceleration:!0})},7147:function(t,e,r){"use strict";r.d(e,{E:function(){return st}});var n=r(67294),o=r(16014);const i=(0,n.createContext)({});var a=r(240),s=r(58868),c=r(70398);function l(t,e,r,l){const u=(0,n.useContext)(i).visualElement,d=(0,n.useContext)(c.u),f=(0,n.useContext)(a.O),h=(0,n.useContext)(o._).reducedMotion,p=(0,n.useRef)();l=l||d.renderer,!p.current&&l&&(p.current=l(t,{visualState:e,parent:u,props:r,presenceId:f?f.id:void 0,blockInitialAnimation:!!f&&!1===f.initial,reducedMotionConfig:h}));const m=p.current;return(0,s.L)((()=>{m&&m.render()})),(0,s.L)((()=>{m&&m.animationState&&m.animationState.animateChanges()})),(0,s.L)((()=>()=>m&&m.notify("Unmount")),[]),m}var u=r(51804);var d=r(97732),f=r(7504);function h(t){const{initial:e,animate:r}=function(t,e){if((0,f.G)(t)){const{initial:e,animate:r}=t;return{initial:!1===e||(0,d.$)(e)?e:void 0,animate:(0,d.$)(r)?r:void 0}}return!1!==t.inherit?e:{}}(t,(0,n.useContext)(i));return(0,n.useMemo)((()=>({initial:e,animate:r})),[p(e),p(r)])}function p(t){return Array.isArray(t)?t.join(" "):t}var m=r(9442),g=r(81879),v=r(11741),b=r(96681),y=r(93083);let x=1;var w=r(25364);class k extends n.Component{getSnapshotBeforeUpdate(){const{visualElement:t,props:e}=this.props;return t&&t.setProps(e),null}componentDidUpdate(){}render(){return this.props.children}}var S=r(41705);const _=Symbol.for("motionComponentSymbol");function C({preloadedFeatures:t,createVisualElement:e,projectionNodeConstructor:r,useRender:a,useVisualState:s,Component:d}){t&&(0,g.K)(t);const f=(0,n.forwardRef)((function(f,p){const g={...(0,n.useContext)(o._),...f,layoutId:E(f)},{isStatic:w}=g;let _=null;const C=h(f),T=w?void 0:(0,b.h)((()=>{if(y.V.hasEverUpdated)return x++})),A=s(f,w);if(!w&&v.j){C.visualElement=l(d,A,g,e);const o=(0,n.useContext)(c.u).strict,i=(0,n.useContext)(S.g);C.visualElement&&(_=C.visualElement.loadFeatures(g,o,t,T,r||m.A.projectionNodeConstructor,i))}return n.createElement(k,{visualElement:C.visualElement,props:g},_,n.createElement(i.Provider,{value:C},a(d,f,T,function(t,e,r){return(0,n.useCallback)((n=>{n&&t.mount&&t.mount(n),e&&(n?e.mount(n):e.unmount()),r&&("function"===typeof r?r(n):(0,u.I)(r)&&(r.current=n))}),[e])}(A,C.visualElement,p),A,w,C.visualElement)))}));return f[_]=d,f}function E({layoutId:t}){const e=(0,n.useContext)(w.p).id;return e&&void 0!==t?e+"-"+t:t}function T(t){function e(e,r={}){return C(t(e,r))}if("undefined"===typeof Proxy)return e;const r=new Map;return new Proxy(e,{get:(t,n)=>(r.has(n)||r.set(n,e(n)),r.get(n))})}var A=r(62627),P=r(56816),$=r(40406),R=r(38057);const j=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}});function z(t,e,r){for(const n in e)(0,$.i)(e[n])||(0,P.j)(n,r)||(t[n]=e[n])}function O(t,e,r){const o={};return z(o,t.style||{},t),Object.assign(o,function({transformTemplate:t},e,r){return(0,n.useMemo)((()=>{const n={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};return(0,R.r)(n,e,{enableHardwareAcceleration:!r},t),Object.assign({},n.vars,n.style)}),[e])}(t,e,r)),t.transformValues?t.transformValues(o):o}function M(t,e,r){const n={},o=O(t,e,r);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),n.style=o,n}const B=new Set(["initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","onHoverStart","onHoverEnd","layoutScroll","whileInView","onViewportEnter","onViewportLeave","viewport","whileTap","onTap","onTapStart","onTapCancel","animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView","onPan","onPanStart","onPanSessionStart","onPanEnd"]);function D(t){return B.has(t)}let I=t=>!D(t);try{(L=require("@emotion/is-prop-valid").default)&&(I=t=>t.startsWith("on")?!D(t):L(t))}catch(ct){}var L;var V=r(85415);const F=()=>({style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{},attrs:{}});var W=r(79854);function N(t,e,r,o){const i=(0,n.useMemo)((()=>{const r={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{},attrs:{}};return(0,V.i)(r,e,{enableHardwareAcceleration:!1},(0,W.a)(o),t.transformTemplate),{...r.attrs,style:{...r.style}}}),[e]);if(t.style){const e={};z(e,t.style,t),i.style={...e,...i.style}}return i}function U(t=!1){return(e,r,o,i,{latestValues:a},s)=>{const c=((0,A.q)(e)?N:M)(r,a,s,e),l=function(t,e,r){const n={};for(const o in t)(I(o)||!0===r&&D(o)||!e&&!D(o)||t.draggable&&o.startsWith("onDrag"))&&(n[o]=t[o
280]);return n}(r,"string"===typeof e,t),u={...l,...c,ref:i};return o&&(u["data-projection-id"]=o),(0,n.createElement)(e,u)}}var H=r(68504),q=r(16832),Y=r(2445),Z=r(79432),J=r(16399);const G=t=>(e,r)=>{const o=(0,n.useContext)(i),s=(0,n.useContext)(a.O),c=()=>function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:r},n,o,i){const a={latestValues:X(n,o,i,t),renderState:e()};return r&&(a.mount=t=>r(n,t,a)),a}(t,e,o,s);return r?c():(0,b.h)(c)};function X(t,e,r,n){const o={},i=n(t);for(const f in i)o[f]=(0,J.b)(i[f]);let{initial:a,animate:s}=t;const c=(0,f.G)(t),l=(0,f.M)(t);e&&l&&!c&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===s&&(s=e.animate));let u=!!r&&!1===r.initial;u=u||!1===a;const d=u?s:a;if(d&&"boolean"!==typeof d&&!(0,Y.H)(d)){(Array.isArray(d)?d:[d]).forEach((e=>{const r=(0,Z.o)(t,e);if(!r)return;const{transitionEnd:n,transition:i,...a}=r;for(const t in a){let e=a[t];if(Array.isArray(e)){e=e[u?e.length-1:0]}null!==e&&(o[t]=e)}for(const t in n)o[t]=n[t]}))}return o}const K={useVisualState:G({scrapeMotionValuesFromProps:q.U,createRenderState:F,onMount:(t,e,{renderState:r,latestValues:n})=>{try{r.dimensions="function"===typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(o){r.dimensions={x:0,y:0,width:0,height:0}}(0,V.i)(r,n,{enableHardwareAcceleration:!1},(0,W.a)(e.tagName),t.transformTemplate),(0,H.K)(e,r)}})};const Q={useVisualState:G({scrapeMotionValuesFromProps:r(50189).U,createRenderState:j})};var tt=r(36872),et=r(71903),rt=r(78155),nt=r(97655),ot=r(91283),it=r(91913);const at={...et.s,...tt.E,...rt.o,...ot.U},st=T(((t,e)=>function(t,{forwardMotionProps:e=!1},r,n,o){return{...(0,A.q)(t)?K:Q,preloadedFeatures:r,useRender:U(e),createVisualElement:n,projectionNodeConstructor:o,Component:t}}(t,e,at,nt.b,it.u)))},93193:function(t,e,r){"use strict";r.d(e,{D:function(){return n}});const n=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},47539:function(t,e,r){"use strict";r.d(e,{Xp:function(){return i},mH:function(){return s}});var n=r(24394);function o(t){return"string"===typeof t&&t.startsWith("var(--")}const i=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function a(t,e,r=1){(0,n.k)(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);const[s,c]=function(t){const e=i.exec(t);if(!e)return[,];const[,r,n]=e;return[r,n]}(t);if(!s)return;const l=window.getComputedStyle(e).getPropertyValue(s);return l?l.trim():o(c)?a(c,e,r+1):c}function s(t,{...e},r){const n=t.current;if(!(n instanceof Element))return{target:e,transitionEnd:r};r&&(r={...r}),t.values.forEach((t=>{const e=t.get();if(!o(e))return;const r=a(e,n);r&&t.set(r)}));for(const i in e){const t=e[i];if(!o(t))continue;const s=a(t,n);s&&(e[i]=s,r&&void 0===r[i]&&(r[i]=t))}return{target:e,transitionEnd:r}}},57630:function(t,e,r){"use strict";function n(t){return t.startsWith("--")}r.d(e,{o:function(){return n}})},62627:function(t,e,r){"use strict";r.d(e,{q:function(){return o}});const n=["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 o(t){return"string"===typeof t&&!t.includes("-")&&!!(n.indexOf(t)>-1||/[A-Z]/.test(t))}},79135:function(t,e,r){"use strict";r.d(e,{T:function(){return a}});var n=r(51550),o=r(97197),i=r(2728);function a(t,e){var r;let a=(0,i.A)(t);return a!==o.h&&(a=n.P),null===(r=a.getAnimatableNone)||void 0===r?void 0:r.call(a,e)}},2728:function(t,e,r){"use strict";r.d(e,{A:function(){return a}});var n=r(85385),o=r(97197);const i={...r(36173).j,color:n.$,backgroundColor:n.$,outlineColor:n.$,fill:n.$,stroke:n.$,borderColor:n.$,borderTopColor:n.$,borderRightColor:n.$,borderBottomColor:n.$,borderLeftColor:n.$,filter:o.h,WebkitFilter:o.h},a=t=>i[t]},56440:function(t,e,r){"use strict";r.d(e,{$:function(){return a},C:function(){return s}});var n=r(61649),o=r(96190),i=r(88340);const a=[n.Rx,o.px,o.aQ,o.RW,o.vw,o.vh,{test:t=>"auto"===t,parse:t=>t}],s=t=>a.find((0,i.l)(t))},36173:function(t,e,r){"use strict";r.d(e,{j:function(){return a}});var n=r(61649),o=r(96190);const i={...n.Rx,transform:Math.round},a={borderWidth:o.px,borderTopWidth:o.px,borderRightWidth:o.px,borderBottomWidth:o.px,borderLeftWidth:o.px,borderRadius:o.px,radius:o.px,borderTopLeftRadius:o.px,borderTopRightRadius:o.px,borderBottomRightRadius:o.px,borderBottomLeftRadius:o.px,width:o.px,maxWidth:o.px,height:o.px,maxHeight:o.px,size:o.px,top:o.px,right:o.px,bottom:o.px,left:o.px,padding:o.px,paddingTop:o.px,paddingRight:o.px,paddingBottom:o.px,paddingLeft:o.px,margin:o.px,marginTop:o.px,marginRight:o.px,marginBottom:o.px,marginLeft:o.px,rotate:o.RW,rotateX:o.RW,rotateY:o.RW,rotateZ:o.RW,scale:n.bA,scaleX:n.bA,scaleY:n.bA,scaleZ:n.bA,skew:o.RW,skewX:o.RW,skewY:o.RW,distance:o.px,translateX:o.px,translateY:o.px,translateZ:o.px,x:o.px,y:o.px,z:o.px,perspective:o.px,transformPerspective:o.px,opacity:n.Fq,originX:o.$C,originY:o.$C,originZ:o.px,zIndex:i,fillOpacity:n.Fq,strokeOpacity:n.Fq,numOctaves:i}},88340:function(t,e,r){"use strict";r.d(e,{l:function(){return n}});const n=t=>e=>e.test(t)},38057:function(t,e,r){"use strict";r.d(e,{r:function(){return l}});var n=r(94714);const o={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},i=(t,e)=>n._.indexOf(t)-n._.indexOf(e);var a=r(57630);const s=(t,e)=>e&&"number"===typeof t?e.transform(t):t;var c=r(36173);function l(t,e,r,l){const{style:u,vars:d,transform:f,transformKeys:h,transformOrigin:p}=t;h.length=0;let m=!1,g=!1,v=!0;for(const o in e){const t=e[o];
280if((0,a.o)(o)){d[o]=t;continue}const r=c.j[o],i=s(t,r);if(n.G.has(o)){if(m=!0,f[o]=i,h.push(o),!v)continue;t!==(r.default||0)&&(v=!1)}else o.startsWith("origin")?(g=!0,p[o]=i):u[o]=i}if(e.transform||(m||l?u.transform=function({transform:t,transformKeys:e},{enableHardwareAcceleration:r=!0,allowTransformNone:n=!0},a,s){let c="";e.sort(i);for(const i of e)c+=`${o[i]||i}(${t[i]}) `;return r&&!t.z&&(c+="translateZ(0)"),c=c.trim(),s?c=s(t,a?"":c):n&&a&&(c="none"),c}(t,r,v,l):u.transform&&(u.transform="none")),g){const{originX:t="50%",originY:e="50%",originZ:r=0}=p;u.transformOrigin=`${t} ${e} ${r}`}}},34242:function(t,e,r){"use strict";function n(t,{style:e,vars:r},n,o){Object.assign(t.style,e,o&&o.getProjectionStyles(n));for(const i in r)t.style.setProperty(i,r[i])}r.d(e,{N:function(){return n}})},50189:function(t,e,r){"use strict";r.d(e,{U:function(){return i}});var n=r(56816),o=r(40406);function i(t){const{style:e}=t,r={};for(const i in e)((0,o.i)(e[i])||(0,n.j)(i,t))&&(r[i]=e[i]);return r}},94714:function(t,e,r){"use strict";r.d(e,{G:function(){return o},_:function(){return n}});const n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],o=new Set(n)},85415:function(t,e,r){"use strict";r.d(e,{i:function(){return c}});var n=r(38057),o=r(96190);function i(t,e,r){return"string"===typeof t?t:o.px.transform(e+r*t)}const a={offset:"stroke-dashoffset",array:"stroke-dasharray"},s={offset:"strokeDashoffset",array:"strokeDasharray"};function c(t,{attrX:e,attrY:r,originX:c,originY:l,pathLength:u,pathSpacing:d=1,pathOffset:f=0,...h},p,m,g){if((0,n.r)(t,h,p,g),m)return void(t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox));t.attrs=t.style,t.style={};const{attrs:v,style:b,dimensions:y}=t;v.transform&&(y&&(b.transform=v.transform),delete v.transform),y&&(void 0!==c||void 0!==l||b.transform)&&(b.transformOrigin=function(t,e,r){return`${i(e,t.x,t.width)} ${i(r,t.y,t.height)}`}(y,void 0!==c?c:.5,void 0!==l?l:.5)),void 0!==e&&(v.x=e),void 0!==r&&(v.y=r),void 0!==u&&function(t,e,r=1,n=0,i=!0){t.pathLength=1;const c=i?a:s;t[c.offset]=o.px.transform(-n);const l=o.px.transform(e),u=o.px.transform(r);t[c.array]=`${l} ${u}`}(v,u,d,f,!1)}},77302:function(t,e,r){"use strict";r.d(e,{s:function(){return n}});const n=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"])},79854:function(t,e,r){"use strict";r.d(e,{a:function(){return n}});const n=t=>"string"===typeof t&&"svg"===t.toLowerCase()},68504:function(t,e,r){"use strict";r.d(e,{K:function(){return a}});var n=r(93193),o=r(34242),i=r(77302);function a(t,e,r,a){(0,o.N)(t,e,void 0,a);for(const o in e.attrs)t.setAttribute(i.s.has(o)?o:(0,n.D)(o),e.attrs[o])}},16832:function(t,e,r){"use strict";r.d(e,{U:function(){return i}});var n=r(40406),o=r(50189);function i(t){const e=(0,o.U)(t);for(const r in t)if((0,n.i)(t[r])){e["x"===r||"y"===r?"attr"+r.toUpperCase():r]=t[r]}return e}},63572:function(t,e,r){"use strict";r.d(e,{MS:function(){return _},eF:function(){return x}});var n=r(2445),o=r(48488);function i(t,e){if(!Array.isArray(e))return!1;const r=e.length;if(r!==t.length)return!1;for(let n=0;n<r;n++)if(e[n]!==t[n])return!1;return!0}var a=r(5759),s=r(52248),c=r(94714),l=r(12490),u=r(30404);function d(t,e){const{MotionAppearAnimations:r}=window,n=((t,e)=>`${t}: ${e}`)(t,c.G.has(e)?"transform":e),o=r&&r.get(n);return o?(u.Z_.render((()=>{try{o.cancel(),r.delete(n)}catch(t){}})),o.currentTime||0):0}const f="data-"+(0,r(93193).D)("framerAppearId");var h=r(17929);function p(t,e,r={}){var n;const o=(0,s.x)(t,e,r.custom);let{transition:i=t.getDefaultTransition()||{}}=o||{};r.transitionOverride&&(i=r.transitionOverride);const a=o?()=>m(t,o,r):()=>Promise.resolve(),c=(null===(n=t.variantChildren)||void 0===n?void 0:n.size)?(n=0)=>{const{delayChildren:o=0,staggerChildren:a,staggerDirection:s}=i;return function(t,e,r=0,n=0,o=1,i){const a=[],s=(t.variantChildren.size-1)*n,c=1===o?(t=0)=>t*n:(t=0)=>s-t*n;return Array.from(t.variantChildren).sort(g).forEach(((t,n)=>{a.push(p(t,e,{...i,delay:r+c(n)}).then((()=>t.notify("AnimationComplete",e))))})),Promise.all(a)}(t,e,o+n,a,s,r)}:()=>Promise.resolve(),{when:l}=i;if(l){const[t,e]="beforeChildren"===l?[a,c]:[c,a];return t().then(e)}return Promise.all([a(),c(r.delay)])}function m(t,e,{delay:r=0,transitionOverride:n,type:o}={}){var i;let{transition:s=t.getDefaultTransition(),transitionEnd:u,...p}=t.makeTargetAnimatable(e);const m=t.getValue("willChange");n&&(s=n);const g=[],b=o&&(null===(i=t.animationState)||void 0===i?void 0:i.getState()[o]);for(const a in p){const e=t.getValue(a),n=p[a];if(!e||void 0===n||b&&v(b,a))continue;let o={delay:r,elapsed:0,...s};if(t.shouldReduceMotion&&c.G.has(a)&&(o={...o,type:!1,delay:0}),!e.hasAnimated){const e=t.getProps()[f];e&&(o.elapsed=d(e,a))}let i=e.start((0,h.Z)(a,e,n,o));(0,l.L)(m)&&(m.add(a),i=i.then((()=>m.remove(a)))),g.push(i)}return Promise.all(g).then((()=>{u&&(0,a.CD)(t,u)}))}function g(t,e){return t.sortNodePosition(e)}function v({protectedKeys:t,needsAnimating:e},r){const n=t.hasOwnProperty(r)&&!0!==e[r];return e[r]=!1,n}var b=r(97732),y=r(3233);const x=[y.r.Animate,y.r.InView,y.r.Focus,y.r.Hover,y.r.Tap,y.r.Drag,y.r.Exit],w=[...x].reverse(),k=x.length;function S(t){return e=>Promise.all(e.map((({animation:e,options:r})=>function(t,e,r={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e)){const o=e.map((e=>p(t,e,r)));n=Promise.all(o)}else if("string"===typeof e)n=p(t,e,r);else{const o="function"===typeof e?(0,s.x)(t,e,r.custom):e;n=m(t,o,r)}return n.then((()=>t.notify("AnimationComplete",e)))}(t,e,r))))}function _(t){let e=S(t);const r={[y.r.Animate]:E(!0),[y.r.InView]:E(),[y.r.Hover]:E(),[y.r.Tap]:E(),[y.r.Drag]:E(),[y.r.Focus]:E(),[y.r.Exit]:E()};let a=!0;const c=(e,r)=>{const n=(0,s.x)(t,r);if(n){const{transition:t,transitionEnd:r,...o}=n;e={...e,...o,...r}}return e};function l(s,l){const u=t.getProps(),d=t.getVariantContext(!0)||{},f=[],h=new Set;let p={},m=1/0;for(let e=0;e<k;e++){const g=w[e],v=r[g],y=void 0!==u[g]?u[g]:d[g],x=(0,b.$)(y),
280k=g===l?v.isActive:null;!1===k&&(m=e);let S=y===d[g]&&y!==u[g]&&x;if(S&&a&&t.manuallyAnimateOnMount&&(S=!1),v.protectedKeys={...p},!v.isActive&&null===k||!y&&!v.prevProp||(0,n.H)(y)||"boolean"===typeof y)continue;const _=C(v.prevProp,y);let E=_||g===l&&v.isActive&&!S&&x||e>m&&x;const T=Array.isArray(y)?y:[y];let A=T.reduce(c,{});!1===k&&(A={});const{prevResolvedValues:P={}}=v,$={...P,...A},R=t=>{E=!0,h.delete(t),v.needsAnimating[t]=!0};for(const t in $){const e=A[t],r=P[t];p.hasOwnProperty(t)||(e!==r?(0,o.C)(e)&&(0,o.C)(r)?!i(e,r)||_?R(t):v.protectedKeys[t]=!0:void 0!==e?R(t):h.add(t):void 0!==e&&h.has(t)?R(t):v.protectedKeys[t]=!0)}v.prevProp=y,v.prevResolvedValues=A,v.isActive&&(p={...p,...A}),a&&t.blockInitialAnimation&&(E=!1),E&&!S&&f.push(...T.map((t=>({animation:t,options:{type:g,...s}}))))}if(h.size){const e={};h.forEach((r=>{const n=t.getBaseTarget(r);void 0!==n&&(e[r]=n)})),f.push({animation:e})}let g=Boolean(f.length);return a&&!1===u.initial&&!t.manuallyAnimateOnMount&&(g=!1),a=!1,g?e(f):Promise.resolve()}return{animateChanges:l,setActive:function(e,n,o){var i;if(r[e].isActive===n)return Promise.resolve();null===(i=t.variantChildren)||void 0===i||i.forEach((t=>{var r;return null===(r=t.animationState)||void 0===r?void 0:r.setActive(e,n)})),r[e].isActive=n;const a=l(o,e);for(const t in r)r[t].protectedKeys={};return a},setAnimateFunction:function(r){e=r(t)},getState:()=>r}}function C(t,e){return"string"===typeof e?e!==t:!!Array.isArray(e)&&!i(e,t)}function E(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}},7504:function(t,e,r){"use strict";r.d(e,{G:function(){return a},M:function(){return s}});var n=r(2445),o=r(97732);const i=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function a(t){return(0,n.H)(t.animate)||i.some((e=>(0,o.$)(t[e])))}function s(t){return Boolean(a(t)||t.variants)}},97732:function(t,e,r){"use strict";function n(t){return"string"===typeof t||Array.isArray(t)}r.d(e,{$:function(){return n}})},52248:function(t,e,r){"use strict";r.d(e,{x:function(){return o}});var n=r(79432);function o(t,e,r){const o=t.getProps();return(0,n.o)(o,e,void 0!==r?r:o.custom,function(t){const e={};return t.values.forEach(((t,r)=>e[r]=t.get())),e}(t),function(t){const e={};return t.values.forEach(((t,r)=>e[r]=t.getVelocity())),e}(t))}},79432:function(t,e,r){"use strict";function n(t,e,r,n={},o={}){return"function"===typeof e&&(e=e(void 0!==r?r:t.custom,n,o)),"string"===typeof e&&(e=t.variants&&t.variants[e]),"function"===typeof e&&(e=e(void 0!==r?r:t.custom,n,o)),e}r.d(e,{o:function(){return n}})},5759:function(t,e,r){"use strict";r.d(e,{GJ:function(){return g},P$:function(){return b},CD:function(){return m}});const n=t=>/^0[^.\s]+$/.test(t);var o=r(8715),i=r(33234),a=r(51550),s=r(79135),c=r(85385),l=r(56440),u=r(88340);const d=[...l.$,c.$,a.P],f=t=>d.find((0,u.l)(t));var h=r(52248);function p(t,e,r){t.hasValue(e)?t.getValue(e).set(r):t.addValue(e,(0,i.B)(r))}function m(t,e){const r=(0,h.x)(t,e);let{transitionEnd:n={},transition:i={},...a}=r?t.makeTargetAnimatable(r,!1):{};a={...a,...n};for(const s in a){p(t,s,(0,o.Y)(a[s]))}}function g(t,e,r){var o,c;const l=Object.keys(e).filter((e=>!t.hasValue(e))),u=l.length;if(u)for(let d=0;d<u;d++){const u=l[d],h=e[u];let p=null;Array.isArray(h)&&(p=h[0]),null===p&&(p=null!==(c=null!==(o=r[u])&&void 0!==o?o:t.readValue(u))&&void 0!==c?c:e[u]),void 0!==p&&null!==p&&("string"===typeof p&&(/^\-?\d*\.?\d+$/.test(p)||n(p))?p=parseFloat(p):!f(p)&&a.P.test(h)&&(p=(0,s.T)(u,h)),t.addValue(u,(0,i.B)(p,{owner:t})),void 0===r[u]&&(r[u]=p),null!==p&&t.setBaseTarget(u,p))}}function v(t,e){if(!e)return;return(e[t]||e.default||e).from}function b(t,e,r){var n;const o={};for(const i in t){const t=v(i,e);o[i]=void 0!==t?t:null===(n=r.getValue(i))||void 0===n?void 0:n.get()}return o}},3233:function(t,e,r){"use strict";var n;r.d(e,{r:function(){return n}}),function(t){t.Animate="animate",t.Hover="whileHover",t.Tap="whileTap",t.Drag="whileDrag",t.Focus="whileFocus",t.InView="whileInView",t.Exit="exit"}(n||(n={}))},10010:function(t,e,r){"use strict";function n(t,e){-1===t.indexOf(e)&&t.push(e)}function o(t,e){const r=t.indexOf(e);r>-1&&t.splice(r,1)}r.d(e,{cl:function(){return o},y4:function(){return n}})},24169:function(t,e,r){"use strict";r.d(e,{u:function(){return n}});const n=(t,e,r)=>Math.min(Math.max(r,t),e)},63378:function(t,e,r){"use strict";r.d(e,{g:function(){return o}});var n=r(30404);function o(t,e){const r=performance.now(),o=({timestamp:i})=>{const a=i-r;a>=e&&(n.qY.read(o),t(a-e))};return n.Z_.read(o,!0),()=>n.qY.read(o)}},11741:function(t,e,r){"use strict";r.d(e,{j:function(){return n}});const n="undefined"!==typeof document},51804:function(t,e,r){"use strict";function n(t){return"object"===typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}r.d(e,{I:function(){return n}})},80022:function(t,e,r){"use strict";r.d(e,{C:function(){return n}});const n=(t,e,r)=>
280-r*t+r*e+t},81662:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});const n=t=>t},83624:function(t,e,r){"use strict";r.d(e,{z:function(){return o}});const n=(t,e)=>r=>e(t(r)),o=(...t)=>t.reduce(n)},49304:function(t,e,r){"use strict";r.d(e,{O:function(){return o}});var n=r(83454);const o=("undefined"===typeof n||n.env,"production")},23967:function(t,e,r){"use strict";r.d(e,{Y:function(){return n}});const n=(t,e,r)=>{const n=e-t;return 0===n?1:(r-t)/n}},8715:function(t,e,r){"use strict";r.d(e,{Y:function(){return i},p:function(){return o}});var n=r(48488);const o=t=>Boolean(t&&"object"===typeof t&&t.mix&&t.toValue),i=t=>(0,n.C)(t)?t[t.length-1]||0:t},21560:function(t,e,r){"use strict";r.d(e,{L:function(){return o}});var n=r(10010);class o{constructor(){this.subscriptions=[]}add(t){return(0,n.y4)(this.subscriptions,t),()=>(0,n.cl)(this.subscriptions,t)}notify(t,e,r){const n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,r);else for(let o=0;o<n;o++){const n=this.subscriptions[o];n&&n(t,e,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},86917:function(t,e,r){"use strict";r.d(e,{w:function(){return n}});const n=t=>1e3*t},96681:function(t,e,r){"use strict";r.d(e,{h:function(){return o}});var n=r(67294);function o(t){const e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},58868:function(t,e,r){"use strict";r.d(e,{L:function(){return o}});var n=r(67294);const o=r(11741).j?n.useLayoutEffect:n.useEffect},65411:function(t,e,r){"use strict";r.d(e,{z:function(){return o}});var n=r(67294);function o(t){return(0,n.useEffect)((()=>()=>t()),[])}},3038:function(t,e,r){"use strict";function n(t,e){return e?t*(1e3/e):0}r.d(e,{R:function(){return n}})},16034:function(t,e,r){"use strict";r.d(e,{O:function(){return o}});const n=new Set;function o(t,e,r){t||n.has(e)||(console.warn(e),r&&console.warn(r),n.add(e))}},33234:function(t,e,r){"use strict";r.d(e,{B:function(){return c}});var n=r(37367),o=r(30404),i=r(21560),a=r(3038);class s{constructor(t,e={}){var r;this.version="7.10.3",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(t,e=!0)=>{this.prev=this.current,this.current=t;const{delta:r,timestamp:i}=n.w;this.lastUpdated!==i&&(this.timeDelta=r,this.lastUpdated=i,o.Z_.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>o.Z_.postRender(this.velocityCheck),this.velocityCheck=({timestamp:t})=>{t!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=(r=this.current,!isNaN(parseFloat(r))),this.owner=e.owner}onChange(t){return this.on("change",t)}on(t,e){return this.events[t]||(this.events[t]=new i.L),this.events[t].add(e)}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t){this.passiveEffect=t}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,r){this.set(e),this.prev=t,this.timeDelta=r}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?(0,a.R)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise((e=>{this.hasAnimated=!0,this.stopAnimation=t(e),this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.stopAnimation&&(this.stopAnimation(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.clearListeners(),this.stop()}}function c(t,e){return new s(t,e)}},26382:function(t,e,r){"use strict";r.d(e,{$:function(){return o}});var n=r(40819);const o={test:(0,r(98834).i)("#"),parse:function(t){let e="",r="",n="",o="";return t.length>5?(e=t.substring(1,3),r=t.substring(3,5),n=t.substring(5,7),o=t.substring(7,9)):(e=t.substring(1,2),r=t.substring(2,3),n=t.substring(3,4),o=t.substring(4,5),e+=e,r+=r,n+=n,o+=o),{red:parseInt(e,16),green:parseInt(r,16),blue:parseInt(n,16),alph
280a:o?parseInt(o,16)/255:1}},transform:n.m.transform}},93184:function(t,e,r){"use strict";r.d(e,{J:function(){return s}});var n=r(61649),o=r(96190),i=r(36430),a=r(98834);const s={test:(0,a.i)("hsl","hue"),parse:(0,a.d)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:r,alpha:a=1})=>"hsla("+Math.round(t)+", "+o.aQ.transform((0,i.Nw)(e))+", "+o.aQ.transform((0,i.Nw)(r))+", "+(0,i.Nw)(n.Fq.transform(a))+")"}},85385:function(t,e,r){"use strict";r.d(e,{$:function(){return s}});var n=r(36430),o=r(26382),i=r(93184),a=r(40819);const s={test:t=>a.m.test(t)||o.$.test(t)||i.J.test(t),parse:t=>a.m.test(t)?a.m.parse(t):i.J.test(t)?i.J.parse(t):o.$.parse(t),transform:t=>(0,n.HD)(t)?t:t.hasOwnProperty("red")?a.m.transform(t):i.J.transform(t)}},40819:function(t,e,r){"use strict";r.d(e,{m:function(){return c}});var n=r(24169),o=r(61649),i=r(36430),a=r(98834);const s={...o.Rx,transform:t=>Math.round((t=>(0,n.u)(0,255,t))(t))},c={test:(0,a.i)("rgb","red"),parse:(0,a.d)("red","green","blue"),transform:({red:t,green:e,blue:r,alpha:n=1})=>"rgba("+s.transform(t)+", "+s.transform(e)+", "+s.transform(r)+", "+(0,i.Nw)(o.Fq.transform(n))+")"}},98834:function(t,e,r){"use strict";r.d(e,{d:function(){return i},i:function(){return o}});var n=r(36430);const o=(t,e)=>r=>Boolean((0,n.HD)(r)&&n.mj.test(r)&&r.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(r,e)),i=(t,e,r)=>o=>{if(!(0,n.HD)(o))return o;const[i,a,s,c]=o.match(n.KP);return{[t]:parseFloat(i),[e]:parseFloat(a),[r]:parseFloat(s),alpha:void 0!==c?parseFloat(c):1}}},97197:function(t,e,r){"use strict";r.d(e,{h:function(){return c}});var n=r(51550),o=r(36430);const i=new Set(["brightness","contrast","saturate","opacity"]);function a(t){const[e,r]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[n]=r.match(o.KP)||[];if(!n)return t;const a=r.replace(n,"");let s=i.has(e)?1:0;return n!==r&&(s*=100),e+"("+s+a+")"}const s=/([a-z-]*)\(.*?\)/g,c={...n.P,getAnimatableNone:t=>{const e=t.match(s);return e?e.map(a).join(" "):t}}},51550:function(t,e,r){"use strict";r.d(e,{P:function(){return f},V:function(){return c}});var n=r(85385),o=r(61649),i=r(36430);const a="${c}",s="${n}";function c(t){"number"===typeof t&&(t=`${t}`);const e=[];let r=0,c=0;const l=t.match(i.dA);l&&(r=l.length,t=t.replace(i.dA,a),e.push(...l.map(n.$.parse)));const u=t.match(i.KP);return u&&(c=u.length,t=t.replace(i.KP,s),e.push(...u.map(o.Rx.parse))),{values:e,numColors:r,numNumbers:c,tokenised:t}}function l(t){return c(t).values}function u(t){const{values:e,numColors:r,tokenised:o}=c(t),l=e.length;return t=>{let e=o;for(let o=0;o<l;o++)e=e.replace(o<r?a:s,o<r?n.$.transform(t[o]):(0,i.Nw)(t[o]));return e}}const d=t=>"number"===typeof t?0:t;const f={test:function(t){var e,r;return isNaN(t)&&(0,i.HD)(t)&&((null===(e=t.match(i.KP))||void 0===e?void 0:e.length)||0)+((null===(r=t.match(i.dA))||void 0===r?void 0:r.length)||0)>0},parse:l,createTransformer:u,getAnimatableNone:function(t){const e=l(t);return u(t)(e.map(d))}}},61649:function(t,e,r){"use strict";r.d(e,{Fq:function(){return i},Rx:function(){return o},bA:function(){return a}});var n=r(24169);const o={test:t=>"number"===typeof t,parse:parseFloat,transform:t=>t},i={...o,transform:t=>(0,n.u)(0,1,t)},a={...o,default:1}},96190:function(t,e,r){"use strict";r.d(e,{$C:function(){return u},RW:function(){return i},aQ:function(){return a},px:function(){return s},vh:function(){return c},vw:function(){return l}});var n=r(36430);const o=t=>({test:e=>(0,n.HD)(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),i=o("deg"),a=o("%"),s=o("px"),c=o("vh"),l=o("vw"),u={...a,parse:t=>a.parse(t)/100,transform:t=>a.transform(100*t)}},36430:function(t,e,r){"use strict";r.d(e,{HD:function(){return s},KP:function(){return o},Nw:function(){return n},dA:function(){return i},mj:function(){return a}});const n=t=>Math.round(1e5*t)/1e5,o=/(-)?([\d]*\.?[\d])+/g,i=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,a=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function s(t){return"string"===typeof t}},12490:function(t,e,r){"use strict";r.d(e,{L:function(){return o}});var n=r(40406);function o(t){return Boolean((0,n.i)(t)&&t.add)}},40406:function(t,e,r){"use strict";r.d(e,{i:function(){return n}});const n=t=>!!(null===t||void 0===t?void 0:t.getVelocity)},16399:function(t,e,r){"use strict";r.d(e,{b:function(){return i}});var n=r(8715),o=r(40406);function i(t){const e=(0,o.i)(t)?t.get():t;return(0,n.p)(e)?e.toValue():e}},58439:function(t,e,r){"use strict";r.d(e,{B:function(){return f},I:function(){return _},O:function(){return c},S:function(){return q},U:function(){return s},a:function(){return u},b:function(){return i},c:function(){return W},d:function(){return U},e:function(){return l},f:function(){return H},g:function(){return Y},h:function(){return D},i:function(){return g},m:function(){return d},o:function(){return I},p:function(){return B},s:function(){return O},t:function(){return C},u:function(){return E},v:function(){return T},z:function(){return b}});var n=r(67294),o=Object.prototype.hasOwnProperty;const i=new WeakMap,a=()=>{},s=a(),c=Object,l=t=>t===s,u=t=>"function"==typeof t,d=(t,e)=>({...t,...e}),f=t=>u(t.then),h={},p={},m="undefined",g=typeof window!=m,v=typeof document!=m,b=(t,e)=>{const r=i.get(t);return[()=>!l(e)&&t.get(e)||h,n=>
280{if(!l(e)){const o=t.get(e);e in p||(p[e]=o),r[5](e,d(o,n),o||h)}},r[6],()=>!l(e)&&e in p?p[e]:!l(e)&&t.get(e)||h]};let y=!0;const[x,w]=g&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[a,a],k={isOnline:()=>y,isVisible:()=>{const t=v&&document.visibilityState;return l(t)||"hidden"!==t}},S={initFocus:t=>(v&&document.addEventListener("visibilitychange",t),x("focus",t),()=>{v&&document.removeEventListener("visibilitychange",t),w("focus",t)}),initReconnect:t=>{const e=()=>{y=!0,t()},r=()=>{y=!1};return x("online",e),x("offline",r),()=>{w("online",e),w("offline",r)}}},_=!n.useId,C=!g||"Deno"in globalThis,E=t=>g&&typeof window.requestAnimationFrame!=m?window.requestAnimationFrame(t):setTimeout(t,1),T=C?n.useEffect:n.useLayoutEffect,A="undefined"!==typeof navigator&&navigator.connection,P=!C&&A&&(["slow-2g","2g"].includes(A.effectiveType)||A.saveData),$=new WeakMap,R=(t,e)=>c.prototype.toString.call(t)===`[object ${e}]`;let j=0;const z=t=>{const e=typeof t,r=R(t,"Date"),n=R(t,"RegExp"),o=R(t,"Object");let i,a;if(c(t)!==t||r||n)i=r?t.toJSON():"symbol"==e?t.toString():"string"==e?JSON.stringify(t):""+t;else{if(i=$.get(t),i)return i;if(i=++j+"~",$.set(t,i),Array.isArray(t)){for(i="@",a=0;a<t.length;a++)i+=z(t[a])+",";$.set(t,i)}if(o){i="#";const e=c.keys(t).sort();for(;!l(a=e.pop());)l(t[a])||(i+=a+":"+z(t[a])+",");$.set(t,i)}}return i},O=t=>{if(u(t))try{t=t()}catch(r){t=""}const e=t;return[t="string"==typeof t?t:(Array.isArray(t)?t.length:t)?z(t):"",e]};let M=0;const B=()=>++M;var D={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:0,MUTATE_EVENT:2,RECONNECT_EVENT:1};async function I(...t){const[e,r,n,o]=t,a=d({populateCache:!0,throwOnError:!0},"boolean"===typeof o?{revalidate:o}:o||{});let c=a.populateCache;const h=a.rollbackOnError;let p=a.optimisticData;const m=a.throwOnError;if(u(r)){const t=r,n=[],o=e.keys();for(const r of o)!/^\$(inf|sub)\$/.test(r)&&t(e.get(r)._k)&&n.push(r);return Promise.all(n.map(g))}return g(r);async function g(r){const[o]=O(r);if(!o)return;const[d,g]=b(e,o),[v,y,x,w]=i.get(e),k=()=>{const t=v[o];return(u(a.revalidate)?a.revalidate(d().data,r):!1!==a.revalidate)&&(delete x[o],delete w[o],t&&t[0])?t[0](2).then((()=>d().data)):d().data};if(t.length<3)return k();let S,_=n;const C=B();y[o]=[C,0];const E=!l(p),T=d(),A=T.data,P=T._c,$=l(P)?A:P;if(E&&(p=u(p)?p($,A):p,g({data:p,_c:$})),u(_))try{_=_($)}catch(R){S=R}if(_&&f(_)){if(_=await _.catch((t=>{S=t})),C!==y[o][0]){if(S)throw S;return _}S&&E&&(t=>"function"===typeof h?h(t):!1!==h)(S)&&(c=!0,g({data:$,_c:s}))}if(c&&!S)if(u(c)){const t=c(_,$);g({data:t,error:s,_c:s})}else g({data:_,error:s,_c:s});if(y[o][1]=B(),Promise.resolve(k()).then((()=>{g({_c:s})})),!S)return _;if(m)throw S}}const L=(t,e)=>{for(const r in t)t[r][0]&&t[r][0](e)},V=(t,e)=>{if(!i.has(t)){const r=d(S,e),n={},o=I.bind(s,t);let c=a;const l={},u=(t,e)=>{const r=l[t]||[];return l[t]=r,r.push(e),()=>r.splice(r.indexOf(e),1)},f=(e,r,n)=>{t.set(e,r);const o=l[e];if(o)for(const t of o)t(r,n)},h=()=>{if(!i.has(t)&&(i.set(t,[n,{},{},{},o,f,u]),!C)){const e=r.initFocus(setTimeout.bind(s,L.bind(s,n,0))),o=r.initReconnect(setTimeout.bind(s,L.bind(s,n,1)));c=()=>{e&&e(),o&&o(),i.delete(t)}}};return h(),[t,o,h,c]}return[t,i.get(t)[4]]},F=function t(e,r){var n,i;if(e===r)return!0;if(e&&r&&(n=e.constructor)===r.constructor){if(n===Date)return e.getTime()===r.getTime();if(n===RegExp)return e.toString()===r.toString();if(n===Array){if((i=e.length)===r.length)for(;i--&&t(e[i],r[i]););return-1===i}if(!n||"object"===typeof e){for(n in i=0,e){if(o.call(e,n)&&++i&&!o.call(r,n))return!1;if(!(n in r)||!t(e[n],r[n]))return!1}return Object.keys(r).length===i}}return e!==e&&r!==r},[W,N]=V(new Map),U=d({onLoadingSlow:a,onSuccess:a,onError:a,onErrorRetry:(t,e,r,n,o)=>{const i=r.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*r.errorRetryInterval;!l(i)&&a>i||setTimeout(n,s,o)},onDiscarded:a,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:P?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:P?5e3:3e3,compare:F,isPaused:()=>!1,cache:W,mutate:N,fallback:{}},k),H=(t,e)=>{const r=d(t,e);if(e){const{use:n,fallback:o}=t,{use:i,fallback:a}=e;n&&i&&(r.use=n.concat(i)),o&&a&&(r.fallback=d(o,a))}return r},q=(0,n.createContext)({}),Y=t=>{const{value:e}=t,r=(0,n.useContext)(q),o=u(e),i=(0,n.useMemo)((()=>o?e(r):e),[o,r,e]),a=(0,n.useMemo)((()=>o?i:H(r,i)),[o,r,i]),c=i&&i.provider,l=(0,n.useRef)(s);c&&!l.current&&(l.current=V(c(a.cache||W),i));const f=l.current;return f&&(a.cache=f[0],a.mutate=f[1]),T((()=>
280{if(f)return f[2]&&f[2](),f[3]}),[]),(0,n.createElement)(q.Provider,d(t,{value:a}))}},10046:function(t,e,r){"use strict";r.d(e,{UG:function(){return i},ko:function(){return d},s6:function(){return u},xD:function(){return f}});var n=r(58439),o=r(67294);const i="$inf$",a=n.i&&window.__SWR_DEVTOOLS_USE__,s=a?window.__SWR_DEVTOOLS_USE__:[],c=t=>(0,n.a)(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(null===t[1]?t[2]:t[1])||{}],l=s.concat((t=>(e,r,o)=>t(e,r&&((...t)=>{const[o]=(0,n.s)(e),[,,,a]=n.b.get(n.c);if(o.startsWith(i))return r(...t);const s=a[o];return(0,n.e)(s)?r(...t):(delete a[o],s)}),o))),u=t=>function(...e){const r=(0,n.m)(n.d,(0,o.useContext)(n.S)),[i,a,s]=c(e),u=(0,n.f)(r,s);let d=t;const{use:f}=u,h=(f||[]).concat(l);for(let t=h.length;t--;)d=h[t](d);return d(i,a||u.fetcher||null,u)},d=(t,e,r)=>{const n=e[t]||(e[t]=[]);return n.push(r),()=>{const t=n.indexOf(r);t>=0&&(n[t]=n[n.length-1],n.pop())}},f=(t,e)=>(...r)=>{const[n,o,i]=c(r),a=(i.use||[]).concat(e);return t(n,o,{...i,use:a})};a&&(window.__SWR_DEVTOOLS_REACT__=o)},5068:function(t,e,r){"use strict";r.d(e,{J$:function(){return u},ZP:function(){return d}});
280var n=r(67294),o=r(61688),i=r(58439),a=r(10046);const s=()=>{};s(),new WeakMap;const c=n.use||(t=>{switch(t.status){case"pending":throw t;case"fulfilled":return t.value;case"rejected":throw t.reason;default:throw t.status="pending",t.then((e=>{t.status="fulfilled",t.value=e}),(e=>{t.status="rejected",t.reason=e})),t}}),l={dedupe:!0},u=i.O.defineProperty(i.g,"defaultValue",{value:i.d}),d=(0,a.s6)(((t,e,r)=>{const{cache:s,compare:u,suspense:d,fallbackData:f,revalidateOnMount:h,revalidateIfStale:p,refreshInterval:m,refreshWhenHidden:g,refreshWhenOffline:v,keepPreviousData:b}=r,[y,x,w,k]=i.b.get(s),[S,_]=(0,i.s)(t),C=(0,n.useRef)(!1),E=(0,n.useRef)(!1),T=(0,n.useRef)(S),A=(0,n.useRef)(e),P=(0,n.useRef)(r),$=()=>P.current,R=()=>$().isVisible()&&$().isOnline(),[j,z,O,M]=(0,i.z)(s,S),B=(0,n.useRef)({}).current,D=(0,i.e)(f)?(0,i.e)(r.fallback)?i.U:r.fallback[S]:f,I=(t,e)=>{for(const r in B){const n=r;if("data"===n){if(!u(t[n],e[n])){if(!(0,i.e)(t[n]))return!1;if(!u(Y,e[n]))return!1}}else if(e[n]!==t[n])return!1}return!0},L=(0,n.useMemo)((()=>{const t=!!S&&!!e&&((0,i.e)(h)?!$().isPaused()&&!d&&!1!==p:h),r=e=>{const r=(0,i.m)(e);return delete r._k,t?{isValidating:!0,isLoading:!0,...r}:r},n=j(),o=M(),a=r(n),s=n===o?a:r(o);let c=a;return[()=>{const t=r(j());return I(t,c)?(c.data=t.data,c.isLoading=t.isLoading,c.isValidating=t.isValidating,c.error=t.error,c):(c=t,t)},()=>s]}),[s,S]),V=(0,o.useSyncExternalStore)((0,n.useCallback)((t=>O(S,((e,r)=>{I(r,e)||t()}))),[s,S]),L[0],L[1]),F=!C.current,W=y[S]&&y[S].length>0,N=V.data,U=(0,i.e)(N)?D&&(0,i.B)(D)?c(D):D:N,H=V.error,q=(0,n.useRef)(U),Y=b?(0,i.e)(N)?q.current:N:U,Z=!(W&&!(0,i.e)(H))&&(F&&!(0,i.e)(h)?h:!$().isPaused()&&(d?!(0,i.e)(U)&&p:(0,i.e)(U)||p)),J=!!(S&&e&&F&&Z),G=(0,i.e)(V.isValidating)?J:V.isValidating,X=(0,i.e)(V.isLoading)?J:V.isLoading,K=(0,n.useCallback)((async t=>{const e=A.current;if(!S||!e||E.current||$().isPaused())return!1;let n,o,a=!0;const s=t||{},c=!w[S]||!s.dedupe,l=()=>i.I?!E.current&&S===T.current&&C.current:S===T.current,d={isValidating:!1,isLoading:!1},f=()=>{z(d)},h=()=>{const t=w[S];t&&t[1]===o&&delete w[S]},p={isValidating:!0};(0,i.e)(j().data)&&(p.isLoading=!0);try{if(c&&(z(p),r.loadingTimeout&&(0,i.e)(j().data)&&setTimeout((()=>{a&&l()&&$().onLoadingSlow(S,r)}),r.loadingTimeout),w[S]=[e(_),(0,i.p)()]),[n,o]=w[S],n=await n,c&&setTimeout(h,r.dedupingInterval),!w[S]||w[S][1]!==o)return c&&l()&&$().onDiscarded(S),!1;d.error=i.U;const t=x[S];if(!(0,i.e)(t)&&(o<=t[0]||o<=t[1]||0===t[1]))return f(),c&&l()&&$().onDiscarded(S),!1;const s=j().data;d.data=u(s,n)?s:n,c&&l()&&$().onSuccess(n,S,r)}catch(m){h();const t=$(),{shouldRetryOnError:e}=t;t.isPaused()||(d.error=m,c&&l()&&(t.onError(m,S,t),(!0===e||(0,i.a)(e)&&e(m))&&($().revalidateOnFocus&&$().revalidateOnReconnect&&!R()||t.onErrorRetry(m,S,t,(t=>{const e=y[S];e&&e[0]&&e[0](i.h.ERROR_REVALIDATE_EVENT,t)}),{retryCount:(s.retryCount||0)+1,dedupe:!0}))))}return a=!1,f(),!0}),[S,s]),Q=(0,n.useCallback)(((...t)=>(0,i.o)(s,T.current,...t)),[]);if((0,i.v)((()=>{A.current=e,P.current=r,(0,i.e)(N)||(q.current=N)})),(0,i.v)((()=>{if(!S)return;const t=K.bind(i.U,l);let e=0;const r=(0,a.ko)(S,y,((r,n={})=>{if(r==i.h.FOCUS_EVENT){const r=Date.now();$().revalidateOnFocus&&r>e&&R()&&(e=r+$().focusThrottleInterval,t())}else if(r==i.h.RECONNECT_EVENT)$().revalidateOnReconnect&&R()&&t();else{if(r==i.h.MUTATE_EVENT)return K();if(r==i.h.ERROR_REVALIDATE_EVENT)return K(n)}}));return E.current=!1,T.current=S,C.current=!0,z({_k:_}),Z&&((0,i.e)(U)||i.t?t():(0,i.u)(t)),()=>{E.current=!0,r()}}),[S]),(0,i.v)((()=>{let t;function e(){const e=(0,i.a)(m)?m(j().data):m;e&&-1!==t&&(t=setTimeout(r,e))}function r(){j().error||!g&&!$().isVisible()||!v&&!$().isOnline()?e():K(l).then(e)}return e(),()=>{t&&(clearTimeout(t),t=-1)}}),[m,g,v,S]),(0,n.useDebugValue)(Y),d&&(0,i.e)(U)&&S){if(!i.I&&i.t)throw new Error("Fallback data is required when using Suspense in SSR.");A.current=e,P.current=r,E.current=!1;const t=k[S];if(!(0,i.e)(t)){const e=Q(t);c(e)}if(!(0,i.e)(H))throw H;{const t=K(l);(0,i.e)(Y)||(t.status="fulfilled",t.value=!0),c(t)}}return{mutate:Q,get data(){return B.data=!0,Y},get error(){return B.error=!0,H},get isValidating(){return B.isValidating=!0,G},get isLoading(){return B.isLoading=!0,X}}}))}},function(t){var e=function(e){return t(t.s=e)};t.O(0,[9774,179],(function(){return e(66500),e(90387)}));var r=t.O();_N_E=r}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.