/*! For license information please see main.0ee2d85e.js.LICENSE.txt */ (()=>{var e={36505:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});n(65043);var r=n(85522),o=n(70579);const i=e=>{let{faIcon:t,variant:n,fasize:i,...a}=e;return(0,o.jsx)(r.az,{className:`${n||"fa-solid"} ${t||"fa-question"} ${i}`,...a})}},47657:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(85522),o=(n(65043),n(70579));function i(e){let{variant:t,fasize:n}=e;return(0,o.jsx)(r.az,{className:`${t||"fa-solid"} fa-arrow-left-long ${n}`})}},19482:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(85522),o=(n(65043),n(70579));function i(e){let{variant:t,fasize:n,...i}=e;return(0,o.jsx)(r.az,{className:`${t||"fa-solid"} fa-arrow-right-long ${n}`,...i})}},81586:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(41918),o=n(6116),i=n(70579);function a(e){let{minH:t="100vh"}=e;return(0,i.jsx)(r.s,{minH:t,children:(0,i.jsx)(o.y,{m:"auto",size:"xl",speed:"1s"})})}},30395:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(65043),o=n(3993),i=n(41918),a=n(6116),s=n(85522),l=n(73216),u=n(70579);function c(e){let{minH:t,ct:n,...c}=e;const[d,f]=(0,r.useState)(!1),h=(0,l.Zp)(),p=(0,o.D)();return(0,r.useEffect)((()=>{const e=setTimeout((()=>{f(!0)}),500),t=setTimeout((()=>{"news"===n&&h("/news")}),5e3);return()=>{clearTimeout(e),clearTimeout(t)}}),[h]),(0,u.jsx)(u.Fragment,{children:d?(0,u.jsx)(i.s,{minH:t,...c,children:(0,u.jsx)(a.y,{m:"auto",size:"xl",speed:"1s"})}):(0,u.jsx)(s.az,{color:p.colors.White,minH:"100vh"})})}},93488:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=["es","fr","pt","nl","en-us"]},56467:(e,t,n)=>{"use strict";n.d(t,{V:()=>o,y:()=>r});const r={newsArticle:"news_article",newsBlurb:"news_blurb"},o="resource_entry"},99404:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(93488);function o(e){return r.A.includes(e)?e:"en-us"}},80281:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(65043);const o=()=>{(0,r.useEffect)((()=>{const e="a671a8a5-9945-4cf9-81cb-ed0db003921f";const t=e,n=document.createElement("script");n.type="text/javascript",n.src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js",n.setAttribute("data-domain-script",t);const r=document.head;r.children.length>0?r.insertBefore(n,r.children[1]||null):r.appendChild(n);const o=document.createElement("script");return o.type="text/javascript",o.textContent="function OptanonWrapper() { window.dataLayer.push({ event: 'OneTrustGroupsUpdated' }); }",n.parentNode.insertBefore(o,n.nextSibling),()=>{document.head.removeChild(n)}}),[])}},93862:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(86213),o=n(5452);const i="production",a="https://content.iapp.org",s={getSpecificEntry:async function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en-us";return r.A.get(`${a}/content_types/${e}/entries/${t}?environment=production&locale=${n}`).then((e=>e.data)).catch((e=>{o.A.error("error getSpecificEntry:",e)}))},getSpecificEntryWithRef:async function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en-us",i=arguments.length>3?arguments[3]:void 0;return r.A.get(`${a}/content_types/${e}/entries/${t}?environment=production&locale=${n}&include[]=${i.replaceAll(",","&include[]=")}`).then((e=>e.data)).catch((e=>{o.A.error(e)}))},getAllContentTypes:async function(){return r.A.get(`${a}/content_types?include_count=false`).then((e=>e.data.content_types)).catch((e=>{o.A.error("ERROR getAllContentTypes: ",e)}))},getAllEntries:async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-us";return r.A.get(`${a}/content_types/${e}/entries?environment=production&locale=${t}&include_fallback=true`).then((e=>e.data.entries)).catch((e=>{o.A.error("ERROR getAllEntries: ",e)}))},getAllEntriesWithRef:async function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en-us";return r.A.get(`${a}/content_types/${e}/entries?environment=production&locale=${n}&include[]=${t.replaceAll(",","&include[]=")}&include_fallback=true`).then((e=>e.data.entries)).catch((e=>{o.A.error("ERROR getAllEntriesWithRef: ",e)}))},getArticle:async function(e,t){var n,o,s;let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en-us",u=arguments.length>3?arguments[3]:void 0;const c=t.replace(/\/+$/,""),d=null===u||void 0===u?void 0:u.replaceAll(",","&include[]="),f=`${a}/content_types/${e}/entries?${`environment=${i}`}&${`locale=${l}`}&query={"url": "${c}"}&${`include[]=${d}`}`,h=await r.A.get(f);if(200!==h.status||null===h||void 0===h||null===(n=h.data)||void 0===n||!n.entries||0===(null===h||void 0===h||null===(o=h.data)||void 0===o||null===(s=o.entries)||void 0===s?void 0:s.length))throw new Error(`Error retrieving article. Status: ${h.status}: ${h.statusText}`);return h.data.entries},getLimitedEntries:function(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"en-us";return r.A.get(`${a}/content_types/${e}/entries?environment=production&locale=${i}&limit=${t}&desc=${n}`).then((e=>e.data.entries)).catch((e=>{o.A.error("ERROR getLimitedEntries: ",e)}))},getBanner:function(e){return r.A.get(`${a}/content_types/${e}/entries?environment=production&query={ "section_header_for_subpages": { "$exists": true } }&only[BASE][]=section_header_for_subpages&include[]=section_header_for_subpages`).then((e=>e.data.entries)).catch((e=>{o.A.error("ERROR getBanner: ",e)}))},checkResource:function(e,t){return r.A.get(`${a}/content_types/${e}/entries?environment=production&query={"url": "${t}"}&only[BASE][]=uid`).then((e=>e.data.entries)).catch((e=>{o.A.error("ERROR checkResource: ",e)}))},getUID:function(e){return r.A.get(`${a}/content_types?environment=production&query={"options.url_pattern": "${e}"}&only[BASE][]=uid}`).then((e=>e.data.content_types)).catch((e=>{o.A.error("ERROR getUID: ",e)}))},getSchema:function(e){return r.A.get(`${a}/content_types/${e}?environment=production`).then((e=>e.data.content_type.schema)).catch((e=>{o.A.error("ERROR getSchema: ",e)}))}}},5452:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={log:function(){0},warn:function(){0},error:function(){console.error(...arguments)}}},157:(e,t,n)=>{"use strict";n.d(t,{E:()=>d,p:()=>c});var r=n(65043),o=n(23226),i=n(73761),a=n(57349),s=n(14550),l="chakra-skip-nav";function u(e){return{userSelect:"none",border:"0",height:"1px",width:"1px",margin:"-1px",padding:"0",outline:"0",overflow:"hidden",position:"absolute",clip:"rect(0 0 0 0)",...e,_focus:{clip:"auto",width:"auto",height:"auto",...e._focus}}}var c=(0,o.R)((function(e,t){const n=(0,i.Vl)("SkipLink",e),{id:o=l,...c}=(0,a.MN)(e);return r.createElement(s.B.a,{...c,ref:t,href:`#${o}`,__css:u(n)})}));c.displayName="SkipNavLink";var d=(0,o.R)((function(e,t){const{id:n=l,...o}=e;return r.createElement(s.B.div,{ref:t,id:n,tabIndex:-1,style:{outline:0},...o})}));d.displayName="SkipNavContent"},93803:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(r){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),o=Math.abs,i=String.fromCharCode,a=Object.assign;function s(e){return e.trim()}function l(e,t,n){return e.replace(t,n)}function u(e,t){return e.indexOf(t)}function c(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function f(e){return e.length}function h(e){return e.length}function p(e,t){return t.push(e),e}var m=1,g=1,v=0,y=0,b=0,x="";function w(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:m,column:g,length:a,return:""}}function S(e,t){return a(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function k(){return b=y>0?c(x,--y):0,g--,10===b&&(g=1,m--),b}function C(){return b=y<v?c(x,y++):0,g++,10===b&&(g=1,m++),b}function E(){return c(x,y)}function _(){return y}function P(e,t){return d(x,e,t)}function j(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function T(e){return m=g=1,v=f(x=e),y=0,[]}function A(e){return x="",e}function R(e){return s(P(y-1,D(91===e?e+2:40===e?e+1:e)))}function O(e){for(;(b=E())&&b<33;)C();return j(e)>2||j(b)>3?"":" "}function z(e,t){for(;--t&&C()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return P(e,_()+(t<6&&32==E()&&32==C()))}function D(e){for(;C();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&D(b);break;case 40:41===e&&D(e);break;case 92:C()}return y}function F(e,t){for(;C()&&e+b!==57&&(e+b!==84||47!==E()););return"/*"+P(t,y-1)+"*"+i(47===e?e:C())}function B(e){for(;!j(E());)C();return P(e,y)}var M="-ms-",L="-moz-",N="-webkit-",$="comm",I="rule",V="decl",H="@keyframes";function U(e,t){for(var n="",r=h(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function W(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case V:return e.return=e.return||e.value;case $:return"";case H:return e.return=e.value+"{"+U(e.children,r)+"}";case I:e.value=e.props.join(",")}return f(n=U(e.children,r))?e.return=e.value+"{"+n+"}":""}function q(e){return A(G("",null,null,null,[""],e=T(e),0,[0],e))}function G(e,t,n,r,o,a,s,d,h){for(var m=0,g=0,v=s,y=0,b=0,x=0,w=1,S=1,P=1,j=0,T="",A=o,D=a,M=r,L=T;S;)switch(x=j,j=C()){case 40:if(108!=x&&58==c(L,v-1)){-1!=u(L+=l(R(j),"&","&\f"),"&\f")&&(P=-1);break}case 34:case 39:case 91:L+=R(j);break;case 9:case 10:case 13:case 32:L+=O(x);break;case 92:L+=z(_()-1,7);continue;case 47:switch(E()){case 42:case 47:p(Q(F(C(),_()),t,n),h);break;default:L+="/"}break;case 123*w:d[m++]=f(L)*P;case 125*w:case 59:case 0:switch(j){case 0:case 125:S=0;case 59+g:-1==P&&(L=l(L,/\f/g,"")),b>0&&f(L)-v&&p(b>32?Y(L+";",r,n,v-1):Y(l(L," ","")+";",r,n,v-2),h);break;case 59:L+=";";default:if(p(M=K(L,t,n,m,g,o,d,T,A=[],D=[],v),a),123===j)if(0===g)G(L,t,M,M,A,a,v,d,D);else switch(99===y&&110===c(L,3)?100:y){case 100:case 108:case 109:case 115:G(e,M,M,r&&p(K(e,M,M,0,0,o,d,T,o,A=[],v),D),o,D,v,d,r?A:D);break;default:G(L,M,M,M,[""],D,0,d,D)}}m=g=b=0,w=P=1,T=L="",v=s;break;case 58:v=1+f(L),b=x;default:if(w<1)if(123==j)--w;else if(125==j&&0==w++&&125==k())continue;switch(L+=i(j),j*w){case 38:P=g>0?1:(L+="\f",-1);break;case 44:d[m++]=(f(L)-1)*P,P=1;break;case 64:45===E()&&(L+=R(C())),y=E(),g=v=f(T=L+=B(_())),j++;break;case 45:45===x&&2==f(L)&&(w=0)}}return a}function K(e,t,n,r,i,a,u,c,f,p,m){for(var g=i-1,v=0===i?a:[""],y=h(v),b=0,x=0,S=0;b<r;++b)for(var k=0,C=d(e,g+1,g=o(x=u[b])),E=e;k<y;++k)(E=s(x>0?v[k]+" "+C:l(C,/&\f/g,v[k])))&&(f[S++]=E);return w(e,t,n,0===i?I:c,f,p,m)}function Q(e,t,n){return w(e,t,n,$,i(b),d(e,2,-2),0)}function Y(e,t,n,r){return w(e,t,n,V,d(e,0,r),d(e,r+1,-1),r)}var X=function(e,t,n){for(var r=0,o=0;r=o,o=E(),38===r&&12===o&&(t[n]=1),!j(o);)C();return P(e,y)},Z=function(e,t){return A(function(e,t){var n=-1,r=44;do{switch(j(r)){case 0:38===r&&12===E()&&(t[n]=1),e[n]+=X(y-1,t,n);break;case 2:e[n]+=R(r);break;case 4:if(44===r){e[++n]=58===E()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=C());return e}(T(e),t))},J=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||J.get(n))&&!r){J.set(e,!0);for(var o=[],i=Z(t,o),a=n.props,s=0,l=0;s<i.length;s++)for(var u=0;u<a.length;u++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[u]):a[u]+" "+i[s]}}},te=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ne(e,t){switch(function(e,t){return 45^c(e,0)?(((t<<2^c(e,0))<<2^c(e,1))<<2^c(e,2))<<2^c(e,3):0}(e,t)){case 5103:return N+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return N+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return N+e+L+e+M+e+e;case 6828:case 4268:return N+e+M+e+e;case 6165:return N+e+M+"flex-"+e+e;case 5187:return N+e+l(e,/(\w+).+(:[^]+)/,N+"box-$1$2"+M+"flex-$1$2")+e;case 5443:return N+e+M+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return N+e+M+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return N+e+M+l(e,"shrink","negative")+e;case 5292:return N+e+M+l(e,"basis","preferred-size")+e;case 6060:return N+"box-"+l(e,"-grow","")+N+e+M+l(e,"grow","positive")+e;case 4554:return N+l(e,/([^-])(transform)/g,"$1"+N+"$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,N+"$1"),/(image-set)/,N+"$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,N+"$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,N+"box-pack:$3"+M+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+N+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,N+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(e)-1-t>6)switch(c(e,t+1)){case 109:if(45!==c(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+N+"$2-$3$1"+L+(108==c(e,t+3)?"$3":"$2-$3"))+e;case 115:return~u(e,"stretch")?ne(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==c(e,t+1))break;case 6444:switch(c(e,f(e)-3-(~u(e,"!important")&&10))){case 107:return l(e,":",":"+N)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+N+(45===c(e,14)?"inline-":"")+"box$3$1"+N+"$2$3$1"+M+"$2box$3")+e}break;case 5936:switch(c(e,t+11)){case 114:return N+e+M+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return N+e+M+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return N+e+M+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return N+e+M+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case V:e.return=ne(e.value,e.length);break;case H:return U([S(e,{value:l(e.value,"@","@"+N)})],r);case I:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return U([S(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return U([S(e,{props:[l(t,/:(plac\w+)/,":"+N+"input-$1")]}),S(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),S(e,{props:[l(t,/:(plac\w+)/,M+"input-$1")]})],r)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o,i,a=e.stylisPlugins||re,s={},l=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;l.push(e)}));var u,c,d=[W,(c=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&c(e)})],f=function(e){var t=h(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}([ee,te].concat(a,d));i=function(e,t,n,r){u=n,U(q(e?e+"{"+t.styles+"}":t.styles),f),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new r({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:i};return p.sheet.hydrate(l),p}},30918:(e,t,n)=>{"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{A:()=>r})},27541:(e,t,n)=>{"use strict";n.d(t,{T:()=>u,a:()=>d,w:()=>l});var r=n(65043),o=n(93803),i=n(58168),a=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}},s=(n(66598),n(69436),r.createContext("undefined"!==typeof HTMLElement?(0,o.A)({key:"css"}):null)),l=(s.Provider,function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(s);return e(t,o,n)}))}),u=r.createContext({}),c=a((function(e){return a((function(t){return function(e,t){return"function"===typeof t?t(e):(0,i.A)({},e,t)}(e,t)}))})),d=function(e){var t=r.useContext(u);return e.theme!==t&&(t=c(t)(e.theme)),r.createElement(u.Provider,{value:t},e.children)}},83290:(e,t,n)=>{"use strict";n.d(t,{i7:()=>c,mL:()=>l});var r=n(27541),o=n(65043),i=n(81722),a=n(69436),s=n(66598),l=(n(93803),n(80219),(0,r.w)((function(e,t){var n=e.styles,l=(0,s.J)([n],void 0,o.useContext(r.T)),u=o.useRef();return(0,a.i)((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,o=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==o&&(r=!0,o.setAttribute("data-emotion",e),n.hydrate([o])),u.current=[n,r],function(){n.flush()}}),[t]),(0,a.i)((function(){var e=u.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==l.next&&(0,i.sk)(t,l.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",l,n,!1)}}),[t,l.name]),null})));function u(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,s.J)(t)}var c=function(){var e=u.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},66598:(e,t,n)=>{"use strict";n.d(t,{J:()=>g});var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=n(30918),i=!1,a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},u=function(e){return null!=e&&"boolean"!==typeof e},c=(0,o.A)((function(e){return l(e)?e:e.replace(a,"-$&").toLowerCase()})),d=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(s,(function(e,t,n){return p={name:t,styles:n,next:p},t}))}return 1===r[e]||l(e)||"number"!==typeof t||0===t?t:t+"px"},f="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function h(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return p={name:o.name,styles:o.styles,next:p},o.name;var a=n;if(void 0!==a.styles){var s=a.next;if(void 0!==s)for(;void 0!==s;)p={name:s.name,styles:s.styles,next:p},s=s.next;return a.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=h(e,t,n[o])+";";else for(var a in n){var s=n[a];if("object"!==typeof s){var l=s;null!=t&&void 0!==t[l]?r+=a+"{"+t[l]+"}":u(l)&&(r+=c(a)+":"+d(a,l)+";")}else{if("NO_COMPONENT_SELECTOR"===a&&i)throw new Error(f);if(!Array.isArray(s)||"string"!==typeof s[0]||null!=t&&void 0!==t[s[0]]){var p=h(e,t,s);switch(a){case"animation":case"animationName":r+=c(a)+":"+p+";";break;default:r+=a+"{"+p+"}"}}else for(var m=0;m<s.length;m++)u(s[m])&&(r+=c(a)+":"+d(a,s[m])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var l=p,m=n(e);return p=l,h(e,t,m)}}var g=n;if(null==t)return g;var v=t[g];return void 0!==v?v:g}var p,m=/label:\s*([^\s;{]+)\s*(;|$)/g;function g(e,t,n){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";p=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=h(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++){if(o+=h(n,t,e[a]),r)o+=i[a]}m.lastIndex=0;for(var s,l="";null!==(s=m.exec(o));)l+="-"+s[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:u,styles:o,next:p}}},69436:(e,t,n)=>{"use strict";var r;n.d(t,{i:()=>s,s:()=>a});var o=n(65043),i=!!(r||(r=n.t(o,2))).useInsertionEffect&&(r||(r=n.t(o,2))).useInsertionEffect,a=i||function(e){return e()},s=i||o.useLayoutEffect},81722:(e,t,n)=>{"use strict";n.d(t,{Rk:()=>r,SF:()=>o,sk:()=>i});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},i=function(e,t,n){o(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}},31387:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}var o;n.d(t,{AO:()=>d,B6:()=>j,Gh:()=>D,HS:()=>F,Oi:()=>s,Rr:()=>f,pX:()=>$,pb:()=>A,rc:()=>o,tH:()=>N,ue:()=>m,yD:()=>z,zR:()=>a}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(o||(o={}));const i="popstate";function a(e){return void 0===e&&(e={}),h((function(e,t){let{pathname:n,search:r,hash:o}=e.location;return c("",{pathname:n,search:r,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"===typeof t?t:d(t)}),null,e)}function s(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function l(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function u(e,t){return{usr:e.state,key:e.key,idx:t}}function c(e,t,n,o){return void 0===n&&(n=null),r({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?f(t):t,{state:n,key:t&&t.key||o||Math.random().toString(36).substr(2,8)})}function d(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function f(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function h(e,t,n,a){void 0===a&&(a={});let{window:l=document.defaultView,v5Compat:f=!1}=a,h=l.history,p=o.Pop,m=null,g=v();function v(){return(h.state||{idx:null}).idx}function y(){p=o.Pop;let e=v(),t=null==e?null:e-g;g=e,m&&m({action:p,location:x.location,delta:t})}function b(e){let t="null"!==l.location.origin?l.location.origin:l.location.href,n="string"===typeof e?e:d(e);return n=n.replace(/ $/,"%20"),s(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==g&&(g=0,h.replaceState(r({},h.state,{idx:g}),""));let x={get action(){return p},get location(){return e(l,h)},listen(e){if(m)throw new Error("A history only accepts one active listener");return l.addEventListener(i,y),m=e,()=>{l.removeEventListener(i,y),m=null}},createHref:e=>t(l,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){p=o.Push;let r=c(x.location,e,t);n&&n(r,e),g=v()+1;let i=u(r,g),a=x.createHref(r);try{h.pushState(i,"",a)}catch(s){if(s instanceof DOMException&&"DataCloneError"===s.name)throw s;l.location.assign(a)}f&&m&&m({action:p,location:x.location,delta:1})},replace:function(e,t){p=o.Replace;let r=c(x.location,e,t);n&&n(r,e),g=v();let i=u(r,g),a=x.createHref(r);h.replaceState(i,"",a),f&&m&&m({action:p,location:x.location,delta:0})},go:e=>h.go(e)};return x}var p;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(p||(p={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function m(e,t,n){return void 0===n&&(n="/"),g(e,t,n,!1)}function g(e,t,n,r){let o=A(("string"===typeof t?f(t):t).pathname||"/",n);if(null==o)return null;let i=v(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(i);let a=null;for(let s=0;null==a&&s<i.length;++s){let e=T(o);a=P(i[s],e,r)}return a}function v(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");let o=(e,o,i)=>{let a={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};a.relativePath.startsWith("/")&&(s(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));let l=F([r,a.relativePath]),u=n.concat(a);e.children&&e.children.length>0&&(s(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+l+'".'),v(e.children,t,u,l)),(null!=e.path||e.index)&&t.push({path:l,score:_(l,e.index),routesMeta:u})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let r of y(e.path))o(e,t,r);else o(e,t)})),t}function y(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(0===r.length)return o?[i,""]:[i];let a=y(r.join("/")),s=[];return s.push(...a.map((e=>""===e?i:[i,e].join("/")))),o&&s.push(...a),s.map((t=>e.startsWith("/")&&""===t?"/":t))}const b=/^:[\w-]+$/,x=3,w=2,S=1,k=10,C=-2,E=e=>"*"===e;function _(e,t){let n=e.split("/"),r=n.length;return n.some(E)&&(r+=C),t&&(r+=w),n.filter((e=>!E(e))).reduce(((e,t)=>e+(b.test(t)?x:""===t?S:k)),r)}function P(e,t,n){void 0===n&&(n=!1);let{routesMeta:r}=e,o={},i="/",a=[];for(let s=0;s<r.length;++s){let e=r[s],l=s===r.length-1,u="/"===i?t:t.slice(i.length)||"/",c=j({path:e.relativePath,caseSensitive:e.caseSensitive,end:l},u),d=e.route;if(!c&&l&&n&&!r[r.length-1].route.index&&(c=j({path:e.relativePath,caseSensitive:e.caseSensitive,end:!1},u)),!c)return null;Object.assign(o,c.params),a.push({params:o,pathname:F([i,c.pathname]),pathnameBase:B(F([i,c.pathnameBase])),route:d}),"/"!==c.pathnameBase&&(i=F([i,c.pathnameBase]))}return a}function j(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);l("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(r.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))");let i=new RegExp(o,t?void 0:"i");return[i,r]}(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:r.reduce(((e,t,n)=>{let{paramName:r,isOptional:o}=t;if("*"===r){let e=s[n]||"";a=i.slice(0,i.length-e.length).replace(/(.)\/+$/,"$1")}const l=s[n];return e[r]=o&&!l?void 0:(l||"").replace(/%2F/g,"/"),e}),{}),pathname:i,pathnameBase:a,pattern:e}}function T(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return l(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function A(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function R(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function O(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function z(e,t){let n=O(e);return t?n.map(((e,t)=>t===n.length-1?e.pathname:e.pathnameBase)):n.map((e=>e.pathnameBase))}function D(e,t,n,o){let i;void 0===o&&(o=!1),"string"===typeof e?i=f(e):(i=r({},e),s(!i.pathname||!i.pathname.includes("?"),R("?","pathname","search",i)),s(!i.pathname||!i.pathname.includes("#"),R("#","pathname","hash",i)),s(!i.search||!i.search.includes("#"),R("#","search","hash",i)));let a,l=""===e||""===i.pathname,u=l?"/":i.pathname;if(null==u)a=n;else{let e=t.length-1;if(!o&&u.startsWith("..")){let t=u.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}a=e>=0?t[e]:"/"}let c=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:o=""}="string"===typeof e?f(e):e,i=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:i,search:M(r),hash:L(o)}}(i,a),d=u&&"/"!==u&&u.endsWith("/"),h=(l||"."===u)&&n.endsWith("/");return c.pathname.endsWith("/")||!d&&!h||(c.pathname+="/"),c}const F=e=>e.join("/").replace(/\/\/+/g,"/"),B=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),M=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",L=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class N extends Error{}function $(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}const I=["post","put","patch","delete"],V=(new Set(I),["get",...I]);new Set(V),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred")},80219:(e,t,n)=>{"use strict";var r=n(2086),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 l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(p){var o=h(n);o&&o!==p&&e(t,o,r)}var a=c(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var v=a[g];if(!i[v]&&(!r||!r[v])&&(!m||!m[v])&&(!s||!s[v])){var y=f(n,v);try{u(t,v,y)}catch(b){}}}}return t}},39611:(e,t,n)=>{e=n.nmd(e);var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Function]",s="[object Object]",l=/^\[object .+?Constructor\]$/,u=/^(?:0|[1-9]\d*)$/,c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c[i]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c[a]=c["[object Map]"]=c["[object Number]"]=c[s]=c["[object RegExp]"]=c["[object Set]"]=c["[object String]"]=c["[object WeakMap]"]=!1;var d="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,f="object"==typeof self&&self&&self.Object===Object&&self,h=d||f||Function("return this")(),p=t&&!t.nodeType&&t,m=p&&e&&!e.nodeType&&e,g=m&&m.exports===p,v=g&&d.process,y=function(){try{var e=m&&m.require&&m.require("util").types;return e||v&&v.binding&&v.binding("util")}catch(t){}}(),b=y&&y.isTypedArray;var x,w,S=Array.prototype,k=Function.prototype,C=Object.prototype,E=h["__core-js_shared__"],_=k.toString,P=C.hasOwnProperty,j=function(){var e=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),T=C.toString,A=_.call(Object),R=RegExp("^"+_.call(P).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),O=g?h.Buffer:void 0,z=h.Symbol,D=h.Uint8Array,F=O?O.allocUnsafe:void 0,B=(x=Object.getPrototypeOf,w=Object,function(e){return x(w(e))}),M=Object.create,L=C.propertyIsEnumerable,N=S.splice,$=z?z.toStringTag:void 0,I=function(){try{var e=he(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),V=O?O.isBuffer:void 0,H=Math.max,U=Date.now,W=he(h,"Map"),q=he(Object,"create"),G=function(){function e(){}return function(t){if(!Ee(t))return{};if(M)return M(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function K(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Q(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Y(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function X(e){var t=this.__data__=new Q(e);this.size=t.size}function Z(e,t){var n=xe(e),r=!n&&be(e),o=!n&&!r&&Se(e),i=!n&&!r&&!o&&Pe(e),a=n||r||o||i,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var u in e)!t&&!P.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||pe(u,l))||s.push(u);return s}function J(e,t,n){(void 0!==n&&!ye(e[t],n)||void 0===n&&!(t in e))&&ne(e,t,n)}function ee(e,t,n){var r=e[t];P.call(e,t)&&ye(r,n)&&(void 0!==n||t in e)||ne(e,t,n)}function te(e,t){for(var n=e.length;n--;)if(ye(e[n][0],t))return n;return-1}function ne(e,t,n){"__proto__"==t&&I?I(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}K.prototype.clear=function(){this.__data__=q?q(null):{},this.size=0},K.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},K.prototype.get=function(e){var t=this.__data__;if(q){var n=t[e];return n===r?void 0:n}return P.call(t,e)?t[e]:void 0},K.prototype.has=function(e){var t=this.__data__;return q?void 0!==t[e]:P.call(t,e)},K.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=q&&void 0===t?r:t,this},Q.prototype.clear=function(){this.__data__=[],this.size=0},Q.prototype.delete=function(e){var t=this.__data__,n=te(t,e);return!(n<0)&&(n==t.length-1?t.pop():N.call(t,n,1),--this.size,!0)},Q.prototype.get=function(e){var t=this.__data__,n=te(t,e);return n<0?void 0:t[n][1]},Q.prototype.has=function(e){return te(this.__data__,e)>-1},Q.prototype.set=function(e,t){var n=this.__data__,r=te(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Y.prototype.clear=function(){this.size=0,this.__data__={hash:new K,map:new(W||Q),string:new K}},Y.prototype.delete=function(e){var t=fe(this,e).delete(e);return this.size-=t?1:0,t},Y.prototype.get=function(e){return fe(this,e).get(e)},Y.prototype.has=function(e){return fe(this,e).has(e)},Y.prototype.set=function(e,t){var n=fe(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},X.prototype.clear=function(){this.__data__=new Q,this.size=0},X.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},X.prototype.get=function(e){return this.__data__.get(e)},X.prototype.has=function(e){return this.__data__.has(e)},X.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Q){var r=n.__data__;if(!W||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Y(r)}return n.set(e,t),this.size=n.size,this};var re,oe=function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var s=i[re?a:++r];if(!1===t(o[s],s,o))break}return e};function ie(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":$&&$ in Object(e)?function(e){var t=P.call(e,$),n=e[$];try{e[$]=void 0;var r=!0}catch(i){}var o=T.call(e);r&&(t?e[$]=n:delete e[$]);return o}(e):function(e){return T.call(e)}(e)}function ae(e){return _e(e)&&ie(e)==i}function se(e){return!(!Ee(e)||function(e){return!!j&&j in e}(e))&&(ke(e)?R:l).test(function(e){if(null!=e){try{return _.call(e)}catch(t){}try{return e+""}catch(t){}}return""}(e))}function le(e){if(!Ee(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=me(e),n=[];for(var r in e)("constructor"!=r||!t&&P.call(e,r))&&n.push(r);return n}function ue(e,t,n,r,o){e!==t&&oe(t,(function(i,a){if(o||(o=new X),Ee(i))!function(e,t,n,r,o,i,a){var l=ge(e,n),u=ge(t,n),c=a.get(u);if(c)return void J(e,n,c);var d=i?i(l,u,n+"",e,t,a):void 0,f=void 0===d;if(f){var h=xe(u),p=!h&&Se(u),m=!h&&!p&&Pe(u);d=u,h||p||m?xe(l)?d=l:_e(g=l)&&we(g)?d=function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(l):p?(f=!1,d=function(e,t){if(t)return e.slice();var n=e.length,r=F?F(n):new e.constructor(n);return e.copy(r),r}(u,!0)):m?(f=!1,d=function(e,t){var n=t?function(e){var t=new e.constructor(e.byteLength);return new D(t).set(new D(e)),t}(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(u,!0)):d=[]:function(e){if(!_e(e)||ie(e)!=s)return!1;var t=B(e);if(null===t)return!0;var n=P.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&_.call(n)==A}(u)||be(u)?(d=l,be(l)?d=function(e){return function(e,t,n,r){var o=!n;n||(n={});var i=-1,a=t.length;for(;++i<a;){var s=t[i],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),o?ne(n,s,l):ee(n,s,l)}return n}(e,je(e))}(l):Ee(l)&&!ke(l)||(d=function(e){return"function"!=typeof e.constructor||me(e)?{}:G(B(e))}(u))):f=!1}var g;f&&(a.set(u,d),o(d,u,r,i,a),a.delete(u));J(e,n,d)}(e,t,a,n,ue,r,o);else{var l=r?r(ge(e,a),i,a+"",e,t,o):void 0;void 0===l&&(l=i),J(e,a,l)}}),je)}function ce(e,t){return ve(function(e,t,n){return t=H(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=H(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}}(e,t,Re),e+"")}var de=I?function(e,t){return I(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Re;function fe(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function he(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return se(n)?n:void 0}function pe(e,t){var n=typeof e;return!!(t=null==t?o:t)&&("number"==n||"symbol"!=n&&u.test(e))&&e>-1&&e%1==0&&e<t}function me(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||C)}function ge(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}var ve=function(e){var t=0,n=0;return function(){var r=U(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(de);function ye(e,t){return e===t||e!==e&&t!==t}var be=ae(function(){return arguments}())?ae:function(e){return _e(e)&&P.call(e,"callee")&&!L.call(e,"callee")},xe=Array.isArray;function we(e){return null!=e&&Ce(e.length)&&!ke(e)}var Se=V||function(){return!1};function ke(e){if(!Ee(e))return!1;var t=ie(e);return t==a||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ce(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function Ee(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function _e(e){return null!=e&&"object"==typeof e}var Pe=b?function(e){return function(t){return e(t)}}(b):function(e){return _e(e)&&Ce(e.length)&&!!c[ie(e)]};function je(e){return we(e)?Z(e,!0):le(e)}var Te,Ae=(Te=function(e,t,n,r){ue(e,t,n,r)},ce((function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,i=r>2?t[2]:void 0;for(o=Te.length>3&&"function"==typeof o?(r--,o):void 0,i&&function(e,t,n){if(!Ee(n))return!1;var r=typeof t;return!!("number"==r?we(n)&&pe(t,n.length):"string"==r&&t in n)&&ye(n[t],e)}(t[0],t[1],i)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var a=t[n];a&&Te(e,a,n,o)}return e})));function Re(e){return e}e.exports=Ae},82730:(e,t,n)=>{"use strict";var r=n(65043),o=n(78853);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function l(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var c=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h={},p={};function m(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var o=g.hasOwnProperty(t)?g[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(p,e)||!d.call(h,e)&&(f.test(e)?p[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),S=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),P=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),A=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),O=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var z=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var D=Symbol.iterator;function F(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=D&&e[D]||e["@@iterator"])?e:null}var B,M=Object.assign;function L(e){if(void 0===B)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);B=t&&t[1]||""}return"\n"+B+e}var N=!1;function $(e,t){if(!e||N)return"";N=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&"string"===typeof u.stack){for(var o=u.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s]){var l="\n"+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{N=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?L(e):""}function I(e){switch(e.tag){case 5:return L(e.type);case 16:return L("Lazy");case 13:return L("Suspense");case 19:return L("SuspenseList");case 0:case 2:case 15:return e=$(e.type,!1);case 11:return e=$(e.type.render,!1);case 1:return e=$(e.type,!0);default:return""}}function V(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case k:return"Fragment";case S:return"Portal";case E:return"Profiler";case C:return"StrictMode";case T:return"Suspense";case A:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case P:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case j:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case R:return null!==(t=e.displayName||null)?t:V(e.type)||"Memo";case O:t=e._payload,e=e._init;try{return V(e(t))}catch(n){}}return null}function H(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return V(t);case 8:return t===C?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function U(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function q(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function G(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function K(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Q(e,t){var n=t.checked;return M({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=U(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function X(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Z(e,t){X(e,t);var n=U(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,U(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&K(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+U(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return M({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:U(n)}}function ie(e,t){var n=U(t.value),r=U(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var he={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pe=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(he).forEach((function(e){pe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]}))}));var ve=M({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(i(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xe=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,ke=null,Ce=null;function Ee(e){if(e=xo(e)){if("function"!==typeof Se)throw Error(i(280));var t=e.stateNode;t&&(t=So(t),Se(e.stateNode,e.type,t))}}function _e(e){ke?Ce?Ce.push(e):Ce=[e]:ke=e}function Pe(){if(ke){var e=ke,t=Ce;if(Ce=ke=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function je(e,t){return e(t)}function Te(){}var Ae=!1;function Re(e,t,n){if(Ae)return e(t,n);Ae=!0;try{return je(e,t,n)}finally{Ae=!1,(null!==ke||null!==Ce)&&(Te(),Pe())}}function Oe(e,t){var n=e.stateNode;if(null===n)return null;var r=So(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(i(231,t,typeof n));return n}var ze=!1;if(c)try{var De={};Object.defineProperty(De,"passive",{get:function(){ze=!0}}),window.addEventListener("test",De,De),window.removeEventListener("test",De,De)}catch(ce){ze=!1}function Fe(e,t,n,r,o,i,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Be=!1,Me=null,Le=!1,Ne=null,$e={onError:function(e){Be=!0,Me=e}};function Ie(e,t,n,r,o,i,a,s,l){Be=!1,Me=null,Fe.apply($e,arguments)}function Ve(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function He(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ue(e){if(Ve(e)!==e)throw Error(i(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ve(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return Ue(o),e;if(a===r)return Ue(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=a;break}if(l===r){s=!0,r=o,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=o;break}if(l===r){s=!0,r=a,n=o;break}l=l.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?qe(e):null}function qe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=qe(e);if(null!==t)return t;e=e.sibling}return null}var Ge=o.unstable_scheduleCallback,Ke=o.unstable_cancelCallback,Qe=o.unstable_shouldYield,Ye=o.unstable_requestPaint,Xe=o.unstable_now,Ze=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ut=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~o;0!==s?r=dt(s):0!==(i&=a)&&(r=dt(i))}else 0!==(a=n&~o)?r=dt(a):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!==(4194240&i)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function ht(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function pt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ut;return 0===(4194240&(ut<<=1))&&(ut=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function xt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var wt,St,kt,Ct,Et,_t=!1,Pt=[],jt=null,Tt=null,At=null,Rt=new Map,Ot=new Map,zt=[],Dt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ft(e,t){switch(e){case"focusin":case"focusout":jt=null;break;case"dragenter":case"dragleave":Tt=null;break;case"mouseover":case"mouseout":At=null;break;case"pointerover":case"pointerout":Rt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ot.delete(t.pointerId)}}function Bt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=xo(t))&&St(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Mt(e){var t=bo(e.target);if(null!==t){var n=Ve(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=He(n)))return e.blockedOn=t,void Et(e.priority,(function(){kt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Lt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=xo(n))&&St(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);xe=r,n.target.dispatchEvent(r),xe=null,t.shift()}return!0}function Nt(e,t,n){Lt(e)&&n.delete(t)}function $t(){_t=!1,null!==jt&&Lt(jt)&&(jt=null),null!==Tt&&Lt(Tt)&&(Tt=null),null!==At&&Lt(At)&&(At=null),Rt.forEach(Nt),Ot.forEach(Nt)}function It(e,t){e.blockedOn===t&&(e.blockedOn=null,_t||(_t=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,$t)))}function Vt(e){function t(t){return It(t,e)}if(0<Pt.length){It(Pt[0],e);for(var n=1;n<Pt.length;n++){var r=Pt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==jt&&It(jt,e),null!==Tt&&It(Tt,e),null!==At&&It(At,e),Rt.forEach(t),Ot.forEach(t),n=0;n<zt.length;n++)(r=zt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<zt.length&&null===(n=zt[0]).blockedOn;)Mt(n),null===n.blockedOn&&zt.shift()}var Ht=x.ReactCurrentBatchConfig,Ut=!0;function Wt(e,t,n,r){var o=bt,i=Ht.transition;Ht.transition=null;try{bt=1,Gt(e,t,n,r)}finally{bt=o,Ht.transition=i}}function qt(e,t,n,r){var o=bt,i=Ht.transition;Ht.transition=null;try{bt=4,Gt(e,t,n,r)}finally{bt=o,Ht.transition=i}}function Gt(e,t,n,r){if(Ut){var o=Qt(e,t,n,r);if(null===o)Ur(e,t,r,Kt,n),Ft(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return jt=Bt(jt,e,t,n,r,o),!0;case"dragenter":return Tt=Bt(Tt,e,t,n,r,o),!0;case"mouseover":return At=Bt(At,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Rt.set(i,Bt(Rt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Ot.set(i,Bt(Ot.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Ft(e,r),4&t&&-1<Dt.indexOf(e)){for(;null!==o;){var i=xo(o);if(null!==i&&wt(i),null===(i=Qt(e,t,n,r))&&Ur(e,t,r,Kt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Ur(e,t,r,null,n)}}var Kt=null;function Qt(e,t,n,r){if(Kt=null,null!==(e=bo(e=we(r))))if(null===(t=Ve(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=He(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Kt=e,null}function Yt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ze()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Xt=null,Zt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Zt,r=n.length,o="value"in Xt?Xt.value:Xt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return M(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,ln,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(un),dn=M({},un,{view:0,detail:0}),fn=on(dn),hn=M({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:En,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(an=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=an=0,ln=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),pn=on(hn),mn=on(M({},hn,{dataTransfer:0})),gn=on(M({},dn,{relatedTarget:0})),vn=on(M({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=M({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(yn),xn=on(M({},un,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},kn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Cn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=kn[e])&&!!t[e]}function En(){return Cn}var _n=M({},dn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Sn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:En,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Pn=on(_n),jn=on(M({},hn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Tn=on(M({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:En})),An=on(M({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),Rn=M({},hn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),On=on(Rn),zn=[9,13,27,32],Dn=c&&"CompositionEvent"in window,Fn=null;c&&"documentMode"in document&&(Fn=document.documentMode);var Bn=c&&"TextEvent"in window&&!Fn,Mn=c&&(!Dn||Fn&&8<Fn&&11>=Fn),Ln=String.fromCharCode(32),Nn=!1;function $n(e,t){switch(e){case"keyup":return-1!==zn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function In(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Vn=!1;var Hn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Un(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Hn[e.type]:"textarea"===t}function Wn(e,t,n,r){_e(r),0<(t=qr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var qn=null,Gn=null;function Kn(e){Lr(e,0)}function Qn(e){if(G(wo(e)))return e}function Yn(e,t){if("change"===e)return t}var Xn=!1;if(c){var Zn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"===typeof er.oninput}Zn=Jn}else Zn=!1;Xn=Zn&&(!document.documentMode||9<document.documentMode)}function tr(){qn&&(qn.detachEvent("onpropertychange",nr),Gn=qn=null)}function nr(e){if("value"===e.propertyName&&Qn(Gn)){var t=[];Wn(t,Gn,e,we(e)),Re(Kn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Gn=n,(qn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Qn(Gn)}function ir(e,t){if("click"===e)return Qn(t)}function ar(e,t){if("input"===e||"change"===e)return Qn(t)}var sr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function lr(e,t){if(sr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!sr(e[o],t[o]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=K((e=t.contentWindow).document)}return t}function hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function pr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&hr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=cr(n,i);var a=cr(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=c&&"documentMode"in document&&11>=document.documentMode,gr=null,vr=null,yr=null,br=!1;function xr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==gr||gr!==K(r)||("selectionStart"in(r=gr)&&hr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&lr(yr,r)||(yr=r,0<(r=qr(vr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},kr={},Cr={};function Er(e){if(kr[e])return kr[e];if(!Sr[e])return e;var t,n=Sr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Cr)return kr[e]=n[t];return e}c&&(Cr=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);var _r=Er("animationend"),Pr=Er("animationiteration"),jr=Er("animationstart"),Tr=Er("transitionend"),Ar=new Map,Rr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Or(e,t){Ar.set(e,t),l(t,[e])}for(var zr=0;zr<Rr.length;zr++){var Dr=Rr[zr];Or(Dr.toLowerCase(),"on"+(Dr[0].toUpperCase()+Dr.slice(1)))}Or(_r,"onAnimationEnd"),Or(Pr,"onAnimationIteration"),Or(jr,"onAnimationStart"),Or("dblclick","onDoubleClick"),Or("focusin","onFocus"),Or("focusout","onBlur"),Or(Tr,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Br=new Set("cancel close invalid load scroll toggle".split(" ").concat(Fr));function Mr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,s,l,u){if(Ie.apply(this,arguments),Be){if(!Be)throw Error(i(198));var c=Me;Be=!1,Me=null,Le||(Le=!0,Ne=c)}}(r,t,void 0,e),e.currentTarget=null}function Lr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;Mr(o,s,u),i=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,u=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;Mr(o,s,u),i=l}}}if(Le)throw e=Ne,Le=!1,Ne=null,e}function Nr(e,t){var n=t[go];void 0===n&&(n=t[go]=new Set);var r=e+"__bubble";n.has(r)||(Hr(t,e,2,!1),n.add(r))}function $r(e,t,n){var r=0;t&&(r|=4),Hr(n,e,r,t)}var Ir="_reactListening"+Math.random().toString(36).slice(2);function Vr(e){if(!e[Ir]){e[Ir]=!0,a.forEach((function(t){"selectionchange"!==t&&(Br.has(t)||$r(t,!1,e),$r(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Ir]||(t[Ir]=!0,$r("selectionchange",!1,t))}}function Hr(e,t,n,r){switch(Yt(t)){case 1:var o=Wt;break;case 4:o=qt;break;default:o=Gt}n=o.bind(null,t,n,e),o=void 0,!ze||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Ur(e,t,n,r,o){var i=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=bo(s)))return;if(5===(l=a.tag)||6===l){r=i=a;continue e}s=s.parentNode}}r=r.return}Re((function(){var r=i,o=we(n),a=[];e:{var s=Ar.get(e);if(void 0!==s){var l=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=Pn;break;case"focusin":u="focus",l=gn;break;case"focusout":u="blur",l=gn;break;case"beforeblur":case"afterblur":l=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=pn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Tn;break;case _r:case Pr:case jr:l=vn;break;case Tr:l=An;break;case"scroll":l=fn;break;case"wheel":l=On;break;case"copy":case"cut":case"paste":l=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=jn}var c=0!==(4&t),d=!c&&"scroll"===e,f=c?null!==s?s+"Capture":null:s;c=[];for(var h,p=r;null!==p;){var m=(h=p).stateNode;if(5===h.tag&&null!==m&&(h=m,null!==f&&(null!=(m=Oe(p,f))&&c.push(Wr(p,m,h)))),d)break;p=p.return}0<c.length&&(s=new l(s,u,null,n,o),a.push({event:s,listeners:c}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===xe||!(u=n.relatedTarget||n.fromElement)||!bo(u)&&!u[mo])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?bo(u):null)&&(u!==(d=Ve(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=r),l!==u)){if(c=pn,m="onMouseLeave",f="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(c=jn,m="onPointerLeave",f="onPointerEnter",p="pointer"),d=null==l?s:wo(l),h=null==u?s:wo(u),(s=new c(m,p+"leave",l,n,o)).target=d,s.relatedTarget=h,m=null,bo(o)===r&&((c=new c(f,p+"enter",u,n,o)).target=h,c.relatedTarget=d,m=c),d=m,l&&u)e:{for(f=u,p=0,h=c=l;h;h=Gr(h))p++;for(h=0,m=f;m;m=Gr(m))h++;for(;0<p-h;)c=Gr(c),p--;for(;0<h-p;)f=Gr(f),h--;for(;p--;){if(c===f||null!==f&&c===f.alternate)break e;c=Gr(c),f=Gr(f)}c=null}else c=null;null!==l&&Kr(a,s,l,c,!1),null!==u&&null!==d&&Kr(a,d,u,c,!0)}if("select"===(l=(s=r?wo(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Yn;else if(Un(s))if(Xn)g=ar;else{g=or;var v=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=ir);switch(g&&(g=g(e,r))?Wn(a,g,n,o):(v&&v(e,s,r),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&ee(s,"number",s.value)),v=r?wo(r):window,e){case"focusin":(Un(v)||"true"===v.contentEditable)&&(gr=v,vr=r,yr=null);break;case"focusout":yr=vr=gr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,xr(a,n,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":xr(a,n,o)}var y;if(Dn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Vn?$n(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Mn&&"ko"!==n.locale&&(Vn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Vn&&(y=en()):(Zt="value"in(Xt=o)?Xt.value:Xt.textContent,Vn=!0)),0<(v=qr(r,b)).length&&(b=new xn(b,e,null,n,o),a.push({event:b,listeners:v}),y?b.data=y:null!==(y=In(n))&&(b.data=y))),(y=Bn?function(e,t){switch(e){case"compositionend":return In(t);case"keypress":return 32!==t.which?null:(Nn=!0,Ln);case"textInput":return(e=t.data)===Ln&&Nn?null:e;default:return null}}(e,n):function(e,t){if(Vn)return"compositionend"===e||!Dn&&$n(e,t)?(e=en(),Jt=Zt=Xt=null,Vn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Mn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=qr(r,"onBeforeInput")).length&&(o=new xn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y))}Lr(a,t)}))}function Wr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Oe(e,n))&&r.unshift(Wr(e,i,o)),null!=(i=Oe(e,t))&&r.push(Wr(e,i,o))),e=e.return}return r}function Gr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Kr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==u&&(s=u,o?null!=(l=Oe(n,i))&&a.unshift(Wr(n,l,s)):o||null!=(l=Oe(n,i))&&a.push(Wr(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Qr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function Xr(e){return("string"===typeof e?e:""+e).replace(Qr,"\n").replace(Yr,"")}function Zr(e,t,n){if(t=Xr(t),Xr(e)!==t&&n)throw Error(i(425))}function Jr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"===typeof setTimeout?setTimeout:void 0,oo="function"===typeof clearTimeout?clearTimeout:void 0,io="function"===typeof Promise?Promise:void 0,ao="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof io?function(e){return io.resolve(null).then(e).catch(so)}:ro;function so(e){setTimeout((function(){throw e}))}function lo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Vt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Vt(t)}function uo(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function co(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),ho="__reactFiber$"+fo,po="__reactProps$"+fo,mo="__reactContainer$"+fo,go="__reactEvents$"+fo,vo="__reactListeners$"+fo,yo="__reactHandles$"+fo;function bo(e){var t=e[ho];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mo]||n[ho]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=co(e);null!==e;){if(n=e[ho])return n;e=co(e)}return t}n=(e=n).parentNode}return null}function xo(e){return!(e=e[ho]||e[mo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function So(e){return e[po]||null}var ko=[],Co=-1;function Eo(e){return{current:e}}function _o(e){0>Co||(e.current=ko[Co],ko[Co]=null,Co--)}function Po(e,t){Co++,ko[Co]=e.current,e.current=t}var jo={},To=Eo(jo),Ao=Eo(!1),Ro=jo;function Oo(e,t){var n=e.type.contextTypes;if(!n)return jo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function zo(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Do(){_o(Ao),_o(To)}function Fo(e,t,n){if(To.current!==jo)throw Error(i(168));Po(To,t),Po(Ao,n)}function Bo(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,H(e)||"Unknown",o));return M({},n,r)}function Mo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||jo,Ro=To.current,Po(To,e),Po(Ao,Ao.current),!0}function Lo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Bo(e,t,Ro),r.__reactInternalMemoizedMergedChildContext=e,_o(Ao),_o(To),Po(To,e)):_o(Ao),Po(Ao,n)}var No=null,$o=!1,Io=!1;function Vo(e){null===No?No=[e]:No.push(e)}function Ho(){if(!Io&&null!==No){Io=!0;var e=0,t=bt;try{var n=No;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}No=null,$o=!1}catch(o){throw null!==No&&(No=No.slice(e+1)),Ge(Je,Ho),o}finally{bt=t,Io=!1}}return null}var Uo=[],Wo=0,qo=null,Go=0,Ko=[],Qo=0,Yo=null,Xo=1,Zo="";function Jo(e,t){Uo[Wo++]=Go,Uo[Wo++]=qo,qo=e,Go=t}function ei(e,t,n){Ko[Qo++]=Xo,Ko[Qo++]=Zo,Ko[Qo++]=Yo,Yo=e;var r=Xo;e=Zo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Xo=1<<32-at(t)+o|n<<o|r,Zo=i+e}else Xo=1<<i|n<<o|r,Zo=e}function ti(e){null!==e.return&&(Jo(e,1),ei(e,1,0))}function ni(e){for(;e===qo;)qo=Uo[--Wo],Uo[Wo]=null,Go=Uo[--Wo],Uo[Wo]=null;for(;e===Yo;)Yo=Ko[--Qo],Ko[Qo]=null,Zo=Ko[--Qo],Ko[Qo]=null,Xo=Ko[--Qo],Ko[Qo]=null}var ri=null,oi=null,ii=!1,ai=null;function si(e,t){var n=Ru(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function li(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,oi=uo(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Yo?{id:Xo,overflow:Zo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ru(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function ui(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function ci(e){if(ii){var t=oi;if(t){var n=t;if(!li(e,t)){if(ui(e))throw Error(i(418));t=uo(n.nextSibling);var r=ri;t&&li(e,t)?si(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(ui(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function di(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function fi(e){if(e!==ri)return!1;if(!ii)return di(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(ui(e))throw hi(),Error(i(418));for(;t;)si(e,t),t=uo(t.nextSibling)}if(di(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=uo(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?uo(e.stateNode.nextSibling):null;return!0}function hi(){for(var e=oi;e;)e=uo(e.nextSibling)}function pi(){oi=ri=null,ii=!1}function mi(e){null===ai?ai=[e]:ai.push(e)}var gi=x.ReactCurrentBatchConfig;function vi(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!==typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function yi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function bi(e){return(0,e._init)(e._payload)}function xi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=zu(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Mu(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){var i=n.type;return i===k?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"===typeof i&&null!==i&&i.$$typeof===O&&bi(i)===t.type)?((r=o(t,n.props)).ref=vi(e,t,n),r.return=e,r):((r=Du(n.type,n.key,n.props,null,e.mode,r)).ref=vi(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Lu(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Fu(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=Mu(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Du(t.type,t.key,t.props,null,e.mode,n)).ref=vi(e,null,t),n.return=e,n;case S:return(t=Lu(t,e.mode,n)).return=e,t;case O:return f(e,(0,t._init)(t._payload),n)}if(te(t)||F(t))return(t=Fu(t,e.mode,n,null)).return=e,t;yi(e,t)}return null}function h(e,t,n,r){var o=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==o?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===o?u(e,t,n,r):null;case S:return n.key===o?c(e,t,n,r):null;case O:return h(e,t,(o=n._init)(n._payload),r)}if(te(n)||F(n))return null!==o?null:d(e,t,n,r,null);yi(e,n)}return null}function p(e,t,n,r,o){if("string"===typeof r&&""!==r||"number"===typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case w:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case S:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case O:return p(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||F(r))return d(t,e=e.get(n)||null,r,o,null);yi(t,r)}return null}function m(o,i,s,l){for(var u=null,c=null,d=i,m=i=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=h(o,d,s[m],l);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(o,d),i=a(v,i,m),null===c?u=v:c.sibling=v,c=v,d=g}if(m===s.length)return n(o,d),ii&&Jo(o,m),u;if(null===d){for(;m<s.length;m++)null!==(d=f(o,s[m],l))&&(i=a(d,i,m),null===c?u=d:c.sibling=d,c=d);return ii&&Jo(o,m),u}for(d=r(o,d);m<s.length;m++)null!==(g=p(d,o,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),i=a(g,i,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach((function(e){return t(o,e)})),ii&&Jo(o,m),u}function g(o,s,l,u){var c=F(l);if("function"!==typeof c)throw Error(i(150));if(null==(l=c.call(l)))throw Error(i(151));for(var d=c=null,m=s,g=s=0,v=null,y=l.next();null!==m&&!y.done;g++,y=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=h(o,m,y.value,u);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(o,m),s=a(b,s,g),null===d?c=b:d.sibling=b,d=b,m=v}if(y.done)return n(o,m),ii&&Jo(o,g),c;if(null===m){for(;!y.done;g++,y=l.next())null!==(y=f(o,y.value,u))&&(s=a(y,s,g),null===d?c=y:d.sibling=y,d=y);return ii&&Jo(o,g),c}for(m=r(o,m);!y.done;g++,y=l.next())null!==(y=p(m,o,g,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),s=a(y,s,g),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(o,e)})),ii&&Jo(o,g),c}return function e(r,i,a,l){if("object"===typeof a&&null!==a&&a.type===k&&null===a.key&&(a=a.props.children),"object"===typeof a&&null!==a){switch(a.$$typeof){case w:e:{for(var u=a.key,c=i;null!==c;){if(c.key===u){if((u=a.type)===k){if(7===c.tag){n(r,c.sibling),(i=o(c,a.props.children)).return=r,r=i;break e}}else if(c.elementType===u||"object"===typeof u&&null!==u&&u.$$typeof===O&&bi(u)===c.type){n(r,c.sibling),(i=o(c,a.props)).ref=vi(r,c,a),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}a.type===k?((i=Fu(a.props.children,r.mode,l,a.key)).return=r,r=i):((l=Du(a.type,a.key,a.props,null,r.mode,l)).ref=vi(r,i,a),l.return=r,r=l)}return s(r);case S:e:{for(c=a.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Lu(a,r.mode,l)).return=r,r=i}return s(r);case O:return e(r,i,(c=a._init)(a._payload),l)}if(te(a))return m(r,i,a,l);if(F(a))return g(r,i,a,l);yi(r,a)}return"string"===typeof a&&""!==a||"number"===typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=Mu(a,r.mode,l)).return=r,r=i),s(r)):n(r,i)}}var wi=xi(!0),Si=xi(!1),ki=Eo(null),Ci=null,Ei=null,_i=null;function Pi(){_i=Ei=Ci=null}function ji(e){var t=ki.current;_o(ki),e._currentValue=t}function Ti(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ai(e,t){Ci=e,_i=Ei=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(bs=!0),e.firstContext=null)}function Ri(e){var t=e._currentValue;if(_i!==e)if(e={context:e,memoizedValue:t,next:null},null===Ei){if(null===Ci)throw Error(i(308));Ei=e,Ci.dependencies={lanes:0,firstContext:e}}else Ei=Ei.next=e;return t}var Oi=null;function zi(e){null===Oi?Oi=[e]:Oi.push(e)}function Di(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,zi(t)):(n.next=o.next,o.next=n),t.interleaved=n,Fi(e,r)}function Fi(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Bi=!1;function Mi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Li(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ni(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function $i(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&jl)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Fi(e,n)}return null===(o=r.interleaved)?(t.next=t,zi(r)):(t.next=o.next,o.next=t),r.interleaved=t,Fi(e,n)}function Ii(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function Vi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Hi(e,t,n,r){var o=e.updateQueue;Bi=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,u=l.next;l.next=null,null===a?i=u:a.next=u,a=l;var c=e.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(null!==i){var d=o.baseState;for(a=0,c=u=l=null,s=i;;){var f=s.lane,h=s.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var p=e,m=s;switch(f=t,h=n,m.tag){case 1:if("function"===typeof(p=m.payload)){d=p.call(h,d,f);break e}d=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null===(f="function"===typeof(p=m.payload)?p.call(h,d,f):p)||void 0===f)break e;d=M({},d,f);break e;case 2:Bi=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[s]:f.push(s))}else h={eventTime:h,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=h,l=d):c=c.next=h,a|=f;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(f=s).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===c&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Bl|=a,e.lanes=a,e.memoizedState=d}}function Ui(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!==typeof o)throw Error(i(191,o));o.call(r)}}}var Wi={},qi=Eo(Wi),Gi=Eo(Wi),Ki=Eo(Wi);function Qi(e){if(e===Wi)throw Error(i(174));return e}function Yi(e,t){switch(Po(Ki,t),Po(Gi,e),Po(qi,Wi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}_o(qi),Po(qi,t)}function Xi(){_o(qi),_o(Gi),_o(Ki)}function Zi(e){Qi(Ki.current);var t=Qi(qi.current),n=le(t,e.type);t!==n&&(Po(Gi,e),Po(qi,n))}function Ji(e){Gi.current===e&&(_o(qi),_o(Gi))}var ea=Eo(0);function ta(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var na=[];function ra(){for(var e=0;e<na.length;e++)na[e]._workInProgressVersionPrimary=null;na.length=0}var oa=x.ReactCurrentDispatcher,ia=x.ReactCurrentBatchConfig,aa=0,sa=null,la=null,ua=null,ca=!1,da=!1,fa=0,ha=0;function pa(){throw Error(i(321))}function ma(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function ga(e,t,n,r,o,a){if(aa=a,sa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,oa.current=null===e||null===e.memoizedState?Ja:es,e=n(r,o),da){a=0;do{if(da=!1,fa=0,25<=a)throw Error(i(301));a+=1,ua=la=null,t.updateQueue=null,oa.current=ts,e=n(r,o)}while(da)}if(oa.current=Za,t=null!==la&&null!==la.next,aa=0,ua=la=sa=null,ca=!1,t)throw Error(i(300));return e}function va(){var e=0!==fa;return fa=0,e}function ya(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ua?sa.memoizedState=ua=e:ua=ua.next=e,ua}function ba(){if(null===la){var e=sa.alternate;e=null!==e?e.memoizedState:null}else e=la.next;var t=null===ua?sa.memoizedState:ua.next;if(null!==t)ua=t,la=e;else{if(null===e)throw Error(i(310));e={memoizedState:(la=e).memoizedState,baseState:la.baseState,baseQueue:la.baseQueue,queue:la.queue,next:null},null===ua?sa.memoizedState=ua=e:ua=ua.next=e}return ua}function xa(e,t){return"function"===typeof t?t(e):t}function wa(e){var t=ba(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=la,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var l=s=null,u=null,c=a;do{var d=c.lane;if((aa&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(l=u=f,s=r):u=u.next=f,sa.lanes|=d,Bl|=d}c=c.next}while(null!==c&&c!==a);null===u?s=r:u.next=l,sr(r,t.memoizedState)||(bs=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,sa.lanes|=a,Bl|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Sa(e){var t=ba(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);sr(a,t.memoizedState)||(bs=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function ka(){}function Ca(e,t){var n=sa,r=ba(),o=t(),a=!sr(r.memoizedState,o);if(a&&(r.memoizedState=o,bs=!0),r=r.queue,Ba(Pa.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ua&&1&ua.memoizedState.tag){if(n.flags|=2048,Ra(9,_a.bind(null,n,r,o,t),void 0,null),null===Tl)throw Error(i(349));0!==(30&aa)||Ea(n,t,o)}return o}function Ea(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function _a(e,t,n,r){t.value=n,t.getSnapshot=r,ja(t)&&Ta(e)}function Pa(e,t,n){return n((function(){ja(t)&&Ta(e)}))}function ja(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(r){return!0}}function Ta(e){var t=Fi(e,1);null!==t&&nu(t,e,1,-1)}function Aa(e){var t=ya();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:xa,lastRenderedState:e},t.queue=e,e=e.dispatch=Ka.bind(null,sa,e),[t.memoizedState,e]}function Ra(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Oa(){return ba().memoizedState}function za(e,t,n,r){var o=ya();sa.flags|=e,o.memoizedState=Ra(1|t,n,void 0,void 0===r?null:r)}function Da(e,t,n,r){var o=ba();r=void 0===r?null:r;var i=void 0;if(null!==la){var a=la.memoizedState;if(i=a.destroy,null!==r&&ma(r,a.deps))return void(o.memoizedState=Ra(t,n,i,r))}sa.flags|=e,o.memoizedState=Ra(1|t,n,i,r)}function Fa(e,t){return za(8390656,8,e,t)}function Ba(e,t){return Da(2048,8,e,t)}function Ma(e,t){return Da(4,2,e,t)}function La(e,t){return Da(4,4,e,t)}function Na(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function $a(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Da(4,4,Na.bind(null,t,e),n)}function Ia(){}function Va(e,t){var n=ba();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ma(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ha(e,t){var n=ba();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ma(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ua(e,t,n){return 0===(21&aa)?(e.baseState&&(e.baseState=!1,bs=!0),e.memoizedState=n):(sr(n,t)||(n=mt(),sa.lanes|=n,Bl|=n,e.baseState=!0),t)}function Wa(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=ia.transition;ia.transition={};try{e(!1),t()}finally{bt=n,ia.transition=r}}function qa(){return ba().memoizedState}function Ga(e,t,n){var r=tu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Qa(e))Ya(t,n);else if(null!==(n=Di(e,t,n,r))){nu(n,e,r,eu()),Xa(n,t,r)}}function Ka(e,t,n){var r=tu(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Qa(e))Ya(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,sr(s,a)){var l=t.interleaved;return null===l?(o.next=o,zi(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch(u){}null!==(n=Di(e,t,o,r))&&(nu(n,e,r,o=eu()),Xa(n,t,r))}}function Qa(e){var t=e.alternate;return e===sa||null!==t&&t===sa}function Ya(e,t){da=ca=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Xa(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var Za={readContext:Ri,useCallback:pa,useContext:pa,useEffect:pa,useImperativeHandle:pa,useInsertionEffect:pa,useLayoutEffect:pa,useMemo:pa,useReducer:pa,useRef:pa,useState:pa,useDebugValue:pa,useDeferredValue:pa,useTransition:pa,useMutableSource:pa,useSyncExternalStore:pa,useId:pa,unstable_isNewReconciler:!1},Ja={readContext:Ri,useCallback:function(e,t){return ya().memoizedState=[e,void 0===t?null:t],e},useContext:Ri,useEffect:Fa,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,za(4194308,4,Na.bind(null,t,e),n)},useLayoutEffect:function(e,t){return za(4194308,4,e,t)},useInsertionEffect:function(e,t){return za(4,2,e,t)},useMemo:function(e,t){var n=ya();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ya();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Ga.bind(null,sa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ya().memoizedState=e},useState:Aa,useDebugValue:Ia,useDeferredValue:function(e){return ya().memoizedState=e},useTransition:function(){var e=Aa(!1),t=e[0];return e=Wa.bind(null,e[1]),ya().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=sa,o=ya();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Tl)throw Error(i(349));0!==(30&aa)||Ea(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Fa(Pa.bind(null,r,a,e),[e]),r.flags|=2048,Ra(9,_a.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=ya(),t=Tl.identifierPrefix;if(ii){var n=Zo;t=":"+t+"R"+(n=(Xo&~(1<<32-at(Xo)-1)).toString(32)+n),0<(n=fa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ha++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:Ri,useCallback:Va,useContext:Ri,useEffect:Ba,useImperativeHandle:$a,useInsertionEffect:Ma,useLayoutEffect:La,useMemo:Ha,useReducer:wa,useRef:Oa,useState:function(){return wa(xa)},useDebugValue:Ia,useDeferredValue:function(e){return Ua(ba(),la.memoizedState,e)},useTransition:function(){return[wa(xa)[0],ba().memoizedState]},useMutableSource:ka,useSyncExternalStore:Ca,useId:qa,unstable_isNewReconciler:!1},ts={readContext:Ri,useCallback:Va,useContext:Ri,useEffect:Ba,useImperativeHandle:$a,useInsertionEffect:Ma,useLayoutEffect:La,useMemo:Ha,useReducer:Sa,useRef:Oa,useState:function(){return Sa(xa)},useDebugValue:Ia,useDeferredValue:function(e){var t=ba();return null===la?t.memoizedState=e:Ua(t,la.memoizedState,e)},useTransition:function(){return[Sa(xa)[0],ba().memoizedState]},useMutableSource:ka,useSyncExternalStore:Ca,useId:qa,unstable_isNewReconciler:!1};function ns(e,t){if(e&&e.defaultProps){for(var n in t=M({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function rs(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:M({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var os={isMounted:function(e){return!!(e=e._reactInternals)&&Ve(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=eu(),o=tu(e),i=Ni(r,o);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=$i(e,i,o))&&(nu(t,e,o,r),Ii(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=eu(),o=tu(e),i=Ni(r,o);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=$i(e,i,o))&&(nu(t,e,o,r),Ii(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=eu(),r=tu(e),o=Ni(n,r);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),null!==(t=$i(e,o,r))&&(nu(t,e,r,n),Ii(t,e,r))}};function is(e,t,n,r,o,i,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(o,i))}function as(e,t,n){var r=!1,o=jo,i=t.contextType;return"object"===typeof i&&null!==i?i=Ri(i):(o=zo(t)?Ro:To.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?Oo(e,o):jo),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=os,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function ss(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&os.enqueueReplaceState(t,t.state,null)}function ls(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Mi(e);var i=t.contextType;"object"===typeof i&&null!==i?o.context=Ri(i):(i=zo(t)?Ro:To.current,o.context=Oo(e,i)),o.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(rs(e,t,i,n),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&os.enqueueReplaceState(o,o.state,null),Hi(e,n,o,r),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.flags|=4194308)}function us(e,t){try{var n="",r=t;do{n+=I(r),r=r.return}while(r);var o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:o,digest:null}}function cs(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var fs="function"===typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=Ni(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ul||(Ul=!0,Wl=r),ds(0,t)},n}function ps(e,t,n){(n=Ni(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){ds(0,t)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){ds(0,t),"function"!==typeof r&&(null===ql?ql=new Set([this]):ql.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ms(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fs;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Eu.bind(null,e,t,n),t.then(e,e))}function gs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function vs(e,t,n,r,o){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Ni(-1,1)).tag=2,$i(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var ys=x.ReactCurrentOwner,bs=!1;function xs(e,t,n,r){t.child=null===e?Si(t,null,n,r):wi(t,e.child,n,r)}function ws(e,t,n,r,o){n=n.render;var i=t.ref;return Ai(t,o),r=ga(e,t,n,r,i,o),n=va(),null===e||bs?(ii&&n&&ti(t),t.flags|=1,xs(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Us(e,t,o))}function Ss(e,t,n,r,o){if(null===e){var i=n.type;return"function"!==typeof i||Ou(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Du(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,ks(e,t,i,r,o))}if(i=e.child,0===(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(a,r)&&e.ref===t.ref)return Us(e,t,o)}return t.flags|=1,(e=zu(i,r)).ref=t.ref,e.return=t,t.child=e}function ks(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(lr(i,r)&&e.ref===t.ref){if(bs=!1,t.pendingProps=r=i,0===(e.lanes&o))return t.lanes=e.lanes,Us(e,t,o);0!==(131072&e.flags)&&(bs=!0)}}return _s(e,t,n,r,o)}function Cs(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Po(zl,Ol),Ol|=n;else{if(0===(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Po(zl,Ol),Ol|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Po(zl,Ol),Ol|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Po(zl,Ol),Ol|=r;return xs(e,t,o,n),t.child}function Es(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function _s(e,t,n,r,o){var i=zo(n)?Ro:To.current;return i=Oo(t,i),Ai(t,o),n=ga(e,t,n,r,i,o),r=va(),null===e||bs?(ii&&r&&ti(t),t.flags|=1,xs(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Us(e,t,o))}function Ps(e,t,n,r,o){if(zo(n)){var i=!0;Mo(t)}else i=!1;if(Ai(t,o),null===t.stateNode)Hs(e,t),as(t,n,r),ls(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;"object"===typeof u&&null!==u?u=Ri(u):u=Oo(t,u=zo(n)?Ro:To.current);var c=n.getDerivedStateFromProps,d="function"===typeof c||"function"===typeof a.getSnapshotBeforeUpdate;d||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||l!==u)&&ss(t,a,r,u),Bi=!1;var f=t.memoizedState;a.state=f,Hi(t,r,a,o),l=t.memoizedState,s!==r||f!==l||Ao.current||Bi?("function"===typeof c&&(rs(t,n,c,r),l=t.memoizedState),(s=Bi||is(t,n,s,r,f,l,u))?(d||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4194308)):("function"===typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):("function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Li(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:ns(t.type,s),a.props=u,d=t.pendingProps,f=a.context,"object"===typeof(l=n.contextType)&&null!==l?l=Ri(l):l=Oo(t,l=zo(n)?Ro:To.current);var h=n.getDerivedStateFromProps;(c="function"===typeof h||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==d||f!==l)&&ss(t,a,r,l),Bi=!1,f=t.memoizedState,a.state=f,Hi(t,r,a,o);var p=t.memoizedState;s!==d||f!==p||Ao.current||Bi?("function"===typeof h&&(rs(t,n,h,r),p=t.memoizedState),(u=Bi||is(t,n,u,r,f,p,l)||!1)?(c||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,l),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,l)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=l,r=u):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return js(e,t,n,r,i,o)}function js(e,t,n,r,o,i){Es(e,t);var a=0!==(128&t.flags);if(!r&&!a)return o&&Lo(t,n,!1),Us(e,t,i);r=t.stateNode,ys.current=t;var s=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=wi(t,e.child,null,i),t.child=wi(t,null,s,i)):xs(e,t,s,i),t.memoizedState=r.state,o&&Lo(t,n,!0),t.child}function Ts(e){var t=e.stateNode;t.pendingContext?Fo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Fo(0,t.context,!1),Yi(e,t.containerInfo)}function As(e,t,n,r,o){return pi(),mi(o),t.flags|=256,xs(e,t,n,r),t.child}var Rs,Os,zs,Ds,Fs={dehydrated:null,treeContext:null,retryLane:0};function Bs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ms(e,t,n){var r,o=t.pendingProps,a=ea.current,s=!1,l=0!==(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!==(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Po(ea,1&a),null===e)return ci(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=o.children,e=o.fallback,s?(o=t.mode,s=t.child,l={mode:"hidden",children:l},0===(1&o)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=Bu(l,o,0,null),e=Fu(e,o,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Bs(n),t.memoizedState=Fs,e):Ls(t,l));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,s){if(n)return 256&t.flags?(t.flags&=-257,Ns(e,t,s,r=cs(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Bu({mode:"visible",children:r.children},o,0,null),(a=Fu(a,o,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!==(1&t.mode)&&wi(t,e.child,null,s),t.child.memoizedState=Bs(s),t.memoizedState=Fs,a);if(0===(1&t.mode))return Ns(e,t,s,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,Ns(e,t,s,r=cs(a=Error(i(419)),r,void 0))}if(l=0!==(s&e.childLanes),bs||l){if(null!==(r=Tl)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(r.suspendedLanes|s))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Fi(e,o),nu(r,e,o,-1))}return mu(),Ns(e,t,s,r=cs(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Pu.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=uo(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&(Ko[Qo++]=Xo,Ko[Qo++]=Zo,Ko[Qo++]=Yo,Xo=e.id,Zo=e.overflow,Yo=t),t=Ls(t,r.children),t.flags|=4096,t)}(e,t,l,o,r,a,n);if(s){s=o.fallback,l=t.mode,r=(a=e.child).sibling;var u={mode:"hidden",children:o.children};return 0===(1&l)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=u,t.deletions=null):(o=zu(a,u)).subtreeFlags=14680064&a.subtreeFlags,null!==r?s=zu(r,s):(s=Fu(s,l,n,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,l=null===(l=e.child.memoizedState)?Bs(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Fs,o}return e=(s=e.child).sibling,o=zu(s,{mode:"visible",children:o.children}),0===(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Ls(e,t){return(t=Bu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ns(e,t,n,r){return null!==r&&mi(r),wi(t,e.child,null,n),(e=Ls(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function $s(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ti(e.return,t,n)}function Is(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Vs(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(xs(e,t,r.children,n),0!==(2&(r=ea.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&$s(e,n,t);else if(19===e.tag)$s(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Po(ea,r),0===(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ta(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Is(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ta(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Is(t,!0,n,null,i);break;case"together":Is(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Hs(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Us(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Bl|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=zu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=zu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ws(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function qs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Gs(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qs(t),null;case 1:case 17:return zo(t.type)&&Do(),qs(t),null;case 3:return r=t.stateNode,Xi(),_o(Ao),_o(To),ra(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==ai&&(au(ai),ai=null))),Os(e,t),qs(t),null;case 5:Ji(t);var o=Qi(Ki.current);if(n=t.type,null!==e&&null!=t.stateNode)zs(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return qs(t),null}if(e=Qi(qi.current),fi(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[ho]=t,r[po]=a,e=0!==(1&t.mode),n){case"dialog":Nr("cancel",r),Nr("close",r);break;case"iframe":case"object":case"embed":Nr("load",r);break;case"video":case"audio":for(o=0;o<Fr.length;o++)Nr(Fr[o],r);break;case"source":Nr("error",r);break;case"img":case"image":case"link":Nr("error",r),Nr("load",r);break;case"details":Nr("toggle",r);break;case"input":Y(r,a),Nr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Nr("invalid",r);break;case"textarea":oe(r,a),Nr("invalid",r)}for(var l in ye(n,a),o=null,a)if(a.hasOwnProperty(l)){var u=a[l];"children"===l?"string"===typeof u?r.textContent!==u&&(!0!==a.suppressHydrationWarning&&Zr(r.textContent,u,e),o=["children",u]):"number"===typeof u&&r.textContent!==""+u&&(!0!==a.suppressHydrationWarning&&Zr(r.textContent,u,e),o=["children",""+u]):s.hasOwnProperty(l)&&null!=u&&"onScroll"===l&&Nr("scroll",r)}switch(n){case"input":q(r),J(r,a,!0);break;case"textarea":q(r),ae(r);break;case"select":case"option":break;default:"function"===typeof a.onClick&&(r.onclick=Jr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[ho]=t,e[po]=r,Rs(e,t,!1,!1),t.stateNode=e;e:{switch(l=be(n,r),n){case"dialog":Nr("cancel",e),Nr("close",e),o=r;break;case"iframe":case"object":case"embed":Nr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Fr.length;o++)Nr(Fr[o],e);o=r;break;case"source":Nr("error",e),o=r;break;case"img":case"image":case"link":Nr("error",e),Nr("load",e),o=r;break;case"details":Nr("toggle",e),o=r;break;case"input":Y(e,r),o=Q(e,r),Nr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=M({},r,{value:void 0}),Nr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Nr("invalid",e)}for(a in ye(n,o),u=o)if(u.hasOwnProperty(a)){var c=u[a];"style"===a?ge(e,c):"dangerouslySetInnerHTML"===a?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===a?"string"===typeof c?("textarea"!==n||""!==c)&&fe(e,c):"number"===typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=c&&"onScroll"===a&&Nr("scroll",e):null!=c&&b(e,a,c,l))}switch(n){case"input":q(e),J(e,r,!1);break;case"textarea":q(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+U(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return qs(t),null;case 6:if(e&&null!=t.stateNode)Ds(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(i(166));if(n=Qi(Ki.current),Qi(qi.current),fi(t)){if(r=t.stateNode,n=t.memoizedProps,r[ho]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Zr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Zr(r.nodeValue,n,0!==(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[ho]=t,t.stateNode=r}return qs(t),null;case 13:if(_o(ea),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&0!==(1&t.mode)&&0===(128&t.flags))hi(),pi(),t.flags|=98560,a=!1;else if(a=fi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[ho]=t}else pi(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;qs(t),a=!1}else null!==ai&&(au(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&ea.current)?0===Dl&&(Dl=3):mu())),null!==t.updateQueue&&(t.flags|=4),qs(t),null);case 4:return Xi(),Os(e,t),null===e&&Vr(t.stateNode.containerInfo),qs(t),null;case 10:return ji(t.type._context),qs(t),null;case 19:if(_o(ea),null===(a=t.memoizedState))return qs(t),null;if(r=0!==(128&t.flags),null===(l=a.rendering))if(r)Ws(a,!1);else{if(0!==Dl||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=ta(e))){for(t.flags|=128,Ws(a,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Po(ea,1&ea.current|2),t.child}e=e.sibling}null!==a.tail&&Xe()>Vl&&(t.flags|=128,r=!0,Ws(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ta(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Ws(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!ii)return qs(t),null}else 2*Xe()-a.renderingStartTime>Vl&&1073741824!==n&&(t.flags|=128,r=!0,Ws(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=a.last)?n.sibling=l:t.child=l,a.last=l)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Xe(),t.sibling=null,n=ea.current,Po(ea,r?1&n|2:1&n),t):(qs(t),null);case 22:case 23:return du(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Ol)&&(qs(t),6&t.subtreeFlags&&(t.flags|=8192)):qs(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Ks(e,t){switch(ni(t),t.tag){case 1:return zo(t.type)&&Do(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Xi(),_o(Ao),_o(To),ra(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ji(t),null;case 13:if(_o(ea),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));pi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return _o(ea),null;case 4:return Xi(),null;case 10:return ji(t.type._context),null;case 22:case 23:return du(),null;default:return null}}Rs=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Os=function(){},zs=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Qi(qi.current);var i,a=null;switch(n){case"input":o=Q(e,o),r=Q(e,r),a=[];break;case"select":o=M({},o,{value:void 0}),r=M({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(e.onclick=Jr)}for(c in ye(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var l=o[c];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(s.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var u=r[c];if(l=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&u!==l&&(null!=u||null!=l))if("style"===c)if(l){for(i in l)!l.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&l[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(a||(a=[]),a.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(a=a||[]).push(c,u)):"children"===c?"string"!==typeof u&&"number"!==typeof u||(a=a||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(s.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Nr("scroll",e),a||l===u||(a=[])):(a=a||[]).push(c,u))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},Ds=function(e,t,n,r){n!==r&&(t.flags|=4)};var Qs=!1,Ys=!1,Xs="function"===typeof WeakSet?WeakSet:Set,Zs=null;function Js(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Cu(e,t,r)}else n.current=null}function el(e,t,n){try{n()}catch(r){Cu(e,t,r)}}var tl=!1;function nl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&el(t,n,i)}o=o.next}while(o!==r)}}function rl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ol(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function il(e){var t=e.alternate;null!==t&&(e.alternate=null,il(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[ho],delete t[po],delete t[go],delete t[vo],delete t[yo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function al(e){return 5===e.tag||3===e.tag||4===e.tag}function sl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||al(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ll(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(ll(e,t,n),e=e.sibling;null!==e;)ll(e,t,n),e=e.sibling}function ul(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ul(e,t,n),e=e.sibling;null!==e;)ul(e,t,n),e=e.sibling}var cl=null,dl=!1;function fl(e,t,n){for(n=n.child;null!==n;)hl(e,t,n),n=n.sibling}function hl(e,t,n){if(it&&"function"===typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(s){}switch(n.tag){case 5:Ys||Js(n,t);case 6:var r=cl,o=dl;cl=null,fl(e,t,n),dl=o,null!==(cl=r)&&(dl?(e=cl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):cl.removeChild(n.stateNode));break;case 18:null!==cl&&(dl?(e=cl,n=n.stateNode,8===e.nodeType?lo(e.parentNode,n):1===e.nodeType&&lo(e,n),Vt(e)):lo(cl,n.stateNode));break;case 4:r=cl,o=dl,cl=n.stateNode.containerInfo,dl=!0,fl(e,t,n),cl=r,dl=o;break;case 0:case 11:case 14:case 15:if(!Ys&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!==(2&i)||0!==(4&i))&&el(n,t,a),o=o.next}while(o!==r)}fl(e,t,n);break;case 1:if(!Ys&&(Js(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Cu(n,t,s)}fl(e,t,n);break;case 21:fl(e,t,n);break;case 22:1&n.mode?(Ys=(r=Ys)||null!==n.memoizedState,fl(e,t,n),Ys=r):fl(e,t,n);break;default:fl(e,t,n)}}function pl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xs),t.forEach((function(t){var r=ju.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ml(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:cl=l.stateNode,dl=!1;break e;case 3:case 4:cl=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===cl)throw Error(i(160));hl(a,s,o),cl=null,dl=!1;var u=o.alternate;null!==u&&(u.return=null),o.return=null}catch(c){Cu(o,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gl(t,e),t=t.sibling}function gl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ml(t,e),vl(e),4&r){try{nl(3,e,e.return),rl(3,e)}catch(g){Cu(e,e.return,g)}try{nl(5,e,e.return)}catch(g){Cu(e,e.return,g)}}break;case 1:ml(t,e),vl(e),512&r&&null!==n&&Js(n,n.return);break;case 5:if(ml(t,e),vl(e),512&r&&null!==n&&Js(n,n.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(g){Cu(e,e.return,g)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,l=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===l&&"radio"===a.type&&null!=a.name&&X(o,a),be(l,s);var c=be(l,a);for(s=0;s<u.length;s+=2){var d=u[s],f=u[s+1];"style"===d?ge(o,f):"dangerouslySetInnerHTML"===d?de(o,f):"children"===d?fe(o,f):b(o,d,f,c)}switch(l){case"input":Z(o,a);break;case"textarea":ie(o,a);break;case"select":var h=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var p=a.value;null!=p?ne(o,!!a.multiple,p,!1):h!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[po]=a}catch(g){Cu(e,e.return,g)}}break;case 6:if(ml(t,e),vl(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(g){Cu(e,e.return,g)}}break;case 3:if(ml(t,e),vl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Vt(t.containerInfo)}catch(g){Cu(e,e.return,g)}break;case 4:default:ml(t,e),vl(e);break;case 13:ml(t,e),vl(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Il=Xe())),4&r&&pl(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Ys=(c=Ys)||d,ml(t,e),Ys=c):ml(t,e),vl(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!==(1&e.mode))for(Zs=e,d=e.child;null!==d;){for(f=Zs=d;null!==Zs;){switch(p=(h=Zs).child,h.tag){case 0:case 11:case 14:case 15:nl(4,h,h.return);break;case 1:Js(h,h.return);var m=h.stateNode;if("function"===typeof m.componentWillUnmount){r=h,n=h.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(g){Cu(r,n,g)}}break;case 5:Js(h,h.return);break;case 22:if(null!==h.memoizedState){wl(f);continue}}null!==p?(p.return=h,Zs=p):wl(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,c?"function"===typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=f.stateNode,s=void 0!==(u=f.memoizedProps.style)&&null!==u&&u.hasOwnProperty("display")?u.display:null,l.style.display=me("display",s))}catch(g){Cu(e,e.return,g)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(g){Cu(e,e.return,g)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:ml(t,e),vl(e),4&r&&pl(e);case 21:}}function vl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(al(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(fe(o,""),r.flags&=-33),ul(e,sl(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;ll(e,sl(e),a);break;default:throw Error(i(161))}}catch(s){Cu(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function yl(e,t,n){Zs=e,bl(e,t,n)}function bl(e,t,n){for(var r=0!==(1&e.mode);null!==Zs;){var o=Zs,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Qs;if(!a){var s=o.alternate,l=null!==s&&null!==s.memoizedState||Ys;s=Qs;var u=Ys;if(Qs=a,(Ys=l)&&!u)for(Zs=o;null!==Zs;)l=(a=Zs).child,22===a.tag&&null!==a.memoizedState?Sl(o):null!==l?(l.return=a,Zs=l):Sl(o);for(;null!==i;)Zs=i,bl(i,t,n),i=i.sibling;Zs=o,Qs=s,Ys=u}xl(e)}else 0!==(8772&o.subtreeFlags)&&null!==i?(i.return=o,Zs=i):xl(e)}}function xl(e){for(;null!==Zs;){var t=Zs;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Ys||rl(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Ys)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ns(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Ui(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Ui(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Vt(f)}}}break;default:throw Error(i(163))}Ys||512&t.flags&&ol(t)}catch(h){Cu(t,t.return,h)}}if(t===e){Zs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Zs=n;break}Zs=t.return}}function wl(e){for(;null!==Zs;){var t=Zs;if(t===e){Zs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Zs=n;break}Zs=t.return}}function Sl(e){for(;null!==Zs;){var t=Zs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rl(4,t)}catch(l){Cu(t,n,l)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(l){Cu(t,o,l)}}var i=t.return;try{ol(t)}catch(l){Cu(t,i,l)}break;case 5:var a=t.return;try{ol(t)}catch(l){Cu(t,a,l)}}}catch(l){Cu(t,t.return,l)}if(t===e){Zs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Zs=s;break}Zs=t.return}}var kl,Cl=Math.ceil,El=x.ReactCurrentDispatcher,_l=x.ReactCurrentOwner,Pl=x.ReactCurrentBatchConfig,jl=0,Tl=null,Al=null,Rl=0,Ol=0,zl=Eo(0),Dl=0,Fl=null,Bl=0,Ml=0,Ll=0,Nl=null,$l=null,Il=0,Vl=1/0,Hl=null,Ul=!1,Wl=null,ql=null,Gl=!1,Kl=null,Ql=0,Yl=0,Xl=null,Zl=-1,Jl=0;function eu(){return 0!==(6&jl)?Xe():-1!==Zl?Zl:Zl=Xe()}function tu(e){return 0===(1&e.mode)?1:0!==(2&jl)&&0!==Rl?Rl&-Rl:null!==gi.transition?(0===Jl&&(Jl=mt()),Jl):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Yt(e.type)}function nu(e,t,n,r){if(50<Yl)throw Yl=0,Xl=null,Error(i(185));vt(e,n,r),0!==(2&jl)&&e===Tl||(e===Tl&&(0===(2&jl)&&(Ml|=n),4===Dl&&su(e,Rl)),ru(e,r),1===n&&0===jl&&0===(1&t.mode)&&(Vl=Xe()+500,$o&&Ho()))}function ru(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),s=1<<a,l=o[a];-1===l?0!==(s&n)&&0===(s&r)||(o[a]=ht(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var r=ft(e,e===Tl?Rl:0);if(0===r)null!==n&&Ke(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ke(n),1===t)0===e.tag?function(e){$o=!0,Vo(e)}(lu.bind(null,e)):Vo(lu.bind(null,e)),ao((function(){0===(6&jl)&&Ho()})),n=null;else{switch(xt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Tu(n,ou.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ou(e,t){if(Zl=-1,Jl=0,0!==(6&jl))throw Error(i(327));var n=e.callbackNode;if(Su()&&e.callbackNode!==n)return null;var r=ft(e,e===Tl?Rl:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=gu(e,r);else{t=r;var o=jl;jl|=2;var a=pu();for(Tl===e&&Rl===t||(Hl=null,Vl=Xe()+500,fu(e,t));;)try{yu();break}catch(l){hu(e,l)}Pi(),El.current=a,jl=o,null!==Al?t=0:(Tl=null,Rl=0,t=Dl)}if(0!==t){if(2===t&&(0!==(o=pt(e))&&(r=o,t=iu(e,o))),1===t)throw n=Fl,fu(e,0),su(e,r),ru(e,Xe()),n;if(6===t)su(e,r);else{if(o=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!sr(i(),o))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=gu(e,r))&&(0!==(a=pt(e))&&(r=a,t=iu(e,a))),1===t))throw n=Fl,fu(e,0),su(e,r),ru(e,Xe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:wu(e,$l,Hl);break;case 3:if(su(e,r),(130023424&r)===r&&10<(t=Il+500-Xe())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){eu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(wu.bind(null,e,$l,Hl),t);break}wu(e,$l,Hl);break;case 4:if(su(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>o&&(o=s),r&=~a}if(r=o,10<(r=(120>(r=Xe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cl(r/1960))-r)){e.timeoutHandle=ro(wu.bind(null,e,$l,Hl),r);break}wu(e,$l,Hl);break;default:throw Error(i(329))}}}return ru(e,Xe()),e.callbackNode===n?ou.bind(null,e):null}function iu(e,t){var n=Nl;return e.current.memoizedState.isDehydrated&&(fu(e,t).flags|=256),2!==(e=gu(e,t))&&(t=$l,$l=n,null!==t&&au(t)),e}function au(e){null===$l?$l=e:$l.push.apply($l,e)}function su(e,t){for(t&=~Ll,t&=~Ml,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function lu(e){if(0!==(6&jl))throw Error(i(327));Su();var t=ft(e,0);if(0===(1&t))return ru(e,Xe()),null;var n=gu(e,t);if(0!==e.tag&&2===n){var r=pt(e);0!==r&&(t=r,n=iu(e,r))}if(1===n)throw n=Fl,fu(e,0),su(e,t),ru(e,Xe()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wu(e,$l,Hl),ru(e,Xe()),null}function uu(e,t){var n=jl;jl|=1;try{return e(t)}finally{0===(jl=n)&&(Vl=Xe()+500,$o&&Ho())}}function cu(e){null!==Kl&&0===Kl.tag&&0===(6&jl)&&Su();var t=jl;jl|=1;var n=Pl.transition,r=bt;try{if(Pl.transition=null,bt=1,e)return e()}finally{bt=r,Pl.transition=n,0===(6&(jl=t))&&Ho()}}function du(){Ol=zl.current,_o(zl)}function fu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Al)for(n=Al.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Do();break;case 3:Xi(),_o(Ao),_o(To),ra();break;case 5:Ji(r);break;case 4:Xi();break;case 13:case 19:_o(ea);break;case 10:ji(r.type._context);break;case 22:case 23:du()}n=n.return}if(Tl=e,Al=e=zu(e.current,null),Rl=Ol=t,Dl=0,Fl=null,Ll=Ml=Bl=0,$l=Nl=null,null!==Oi){for(t=0;t<Oi.length;t++)if(null!==(r=(n=Oi[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Oi=null}return e}function hu(e,t){for(;;){var n=Al;try{if(Pi(),oa.current=Za,ca){for(var r=sa.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ca=!1}if(aa=0,ua=la=sa=null,da=!1,fa=0,_l.current=null,null===n||null===n.return){Dl=1,Fl=t,Al=null;break}e:{var a=e,s=n.return,l=n,u=t;if(t=Rl,l.flags|=32768,null!==u&&"object"===typeof u&&"function"===typeof u.then){var c=u,d=l,f=d.tag;if(0===(1&d.mode)&&(0===f||11===f||15===f)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=gs(s);if(null!==p){p.flags&=-257,vs(p,s,l,0,t),1&p.mode&&ms(a,c,t),u=c;var m=(t=p).updateQueue;if(null===m){var g=new Set;g.add(u),t.updateQueue=g}else m.add(u);break e}if(0===(1&t)){ms(a,c,t),mu();break e}u=Error(i(426))}else if(ii&&1&l.mode){var v=gs(s);if(null!==v){0===(65536&v.flags)&&(v.flags|=256),vs(v,s,l,0,t),mi(us(u,l));break e}}a=u=us(u,l),4!==Dl&&(Dl=2),null===Nl?Nl=[a]:Nl.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Vi(a,hs(0,u,t));break e;case 1:l=u;var y=a.type,b=a.stateNode;if(0===(128&a.flags)&&("function"===typeof y.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===ql||!ql.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,Vi(a,ps(a,l,t));break e}}a=a.return}while(null!==a)}xu(n)}catch(x){t=x,Al===n&&null!==n&&(Al=n=n.return);continue}break}}function pu(){var e=El.current;return El.current=Za,null===e?Za:e}function mu(){0!==Dl&&3!==Dl&&2!==Dl||(Dl=4),null===Tl||0===(268435455&Bl)&&0===(268435455&Ml)||su(Tl,Rl)}function gu(e,t){var n=jl;jl|=2;var r=pu();for(Tl===e&&Rl===t||(Hl=null,fu(e,t));;)try{vu();break}catch(o){hu(e,o)}if(Pi(),jl=n,El.current=r,null!==Al)throw Error(i(261));return Tl=null,Rl=0,Dl}function vu(){for(;null!==Al;)bu(Al)}function yu(){for(;null!==Al&&!Qe();)bu(Al)}function bu(e){var t=kl(e.alternate,e,Ol);e.memoizedProps=e.pendingProps,null===t?xu(e):Al=t,_l.current=null}function xu(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Gs(n,t,Ol)))return void(Al=n)}else{if(null!==(n=Ks(n,t)))return n.flags&=32767,void(Al=n);if(null===e)return Dl=6,void(Al=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Al=t);Al=t=e}while(null!==t);0===Dl&&(Dl=5)}function wu(e,t,n){var r=bt,o=Pl.transition;try{Pl.transition=null,bt=1,function(e,t,n,r){do{Su()}while(null!==Kl);if(0!==(6&jl))throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===Tl&&(Al=Tl=null,Rl=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Gl||(Gl=!0,Tu(tt,(function(){return Su(),null}))),a=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||a){a=Pl.transition,Pl.transition=null;var s=bt;bt=1;var l=jl;jl|=4,_l.current=null,function(e,t){if(eo=Ut,hr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(w){n=null;break e}var s=0,l=-1,u=-1,c=0,d=0,f=e,h=null;t:for(;;){for(var p;f!==n||0!==o&&3!==f.nodeType||(l=s+o),f!==a||0!==r&&3!==f.nodeType||(u=s+r),3===f.nodeType&&(s+=f.nodeValue.length),null!==(p=f.firstChild);)h=f,f=p;for(;;){if(f===e)break t;if(h===n&&++c===o&&(l=s),h===a&&++d===r&&(u=s),null!==(p=f.nextSibling))break;h=(f=h).parentNode}f=p}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},Ut=!1,Zs=t;null!==Zs;)if(e=(t=Zs).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Zs=e;else for(;null!==Zs;){t=Zs;try{var m=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,v=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:ns(t.type,g),v);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var x=t.stateNode.containerInfo;1===x.nodeType?x.textContent="":9===x.nodeType&&x.documentElement&&x.removeChild(x.documentElement);break;default:throw Error(i(163))}}catch(w){Cu(t,t.return,w)}if(null!==(e=t.sibling)){e.return=t.return,Zs=e;break}Zs=t.return}m=tl,tl=!1}(e,n),gl(n,e),pr(to),Ut=!!eo,to=eo=null,e.current=n,yl(n,e,o),Ye(),jl=l,bt=s,Pl.transition=a}else e.current=n;if(Gl&&(Gl=!1,Kl=e,Ql=o),a=e.pendingLanes,0===a&&(ql=null),function(e){if(it&&"function"===typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),ru(e,Xe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Ul)throw Ul=!1,e=Wl,Wl=null,e;0!==(1&Ql)&&0!==e.tag&&Su(),a=e.pendingLanes,0!==(1&a)?e===Xl?Yl++:(Yl=0,Xl=e):Yl=0,Ho()}(e,t,n,r)}finally{Pl.transition=o,bt=r}return null}function Su(){if(null!==Kl){var e=xt(Ql),t=Pl.transition,n=bt;try{if(Pl.transition=null,bt=16>e?16:e,null===Kl)var r=!1;else{if(e=Kl,Kl=null,Ql=0,0!==(6&jl))throw Error(i(331));var o=jl;for(jl|=4,Zs=e.current;null!==Zs;){var a=Zs,s=a.child;if(0!==(16&Zs.flags)){var l=a.deletions;if(null!==l){for(var u=0;u<l.length;u++){var c=l[u];for(Zs=c;null!==Zs;){var d=Zs;switch(d.tag){case 0:case 11:case 15:nl(8,d,a)}var f=d.child;if(null!==f)f.return=d,Zs=f;else for(;null!==Zs;){var h=(d=Zs).sibling,p=d.return;if(il(d),d===c){Zs=null;break}if(null!==h){h.return=p,Zs=h;break}Zs=p}}}var m=a.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}Zs=a}}if(0!==(2064&a.subtreeFlags)&&null!==s)s.return=a,Zs=s;else e:for(;null!==Zs;){if(0!==(2048&(a=Zs).flags))switch(a.tag){case 0:case 11:case 15:nl(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,Zs=y;break e}Zs=a.return}}var b=e.current;for(Zs=b;null!==Zs;){var x=(s=Zs).child;if(0!==(2064&s.subtreeFlags)&&null!==x)x.return=s,Zs=x;else e:for(s=b;null!==Zs;){if(0!==(2048&(l=Zs).flags))try{switch(l.tag){case 0:case 11:case 15:rl(9,l)}}catch(S){Cu(l,l.return,S)}if(l===s){Zs=null;break e}var w=l.sibling;if(null!==w){w.return=l.return,Zs=w;break e}Zs=l.return}}if(jl=o,Ho(),it&&"function"===typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(S){}r=!0}return r}finally{bt=n,Pl.transition=t}}return!1}function ku(e,t,n){e=$i(e,t=hs(0,t=us(n,t),1),1),t=eu(),null!==e&&(vt(e,1,t),ru(e,t))}function Cu(e,t,n){if(3===e.tag)ku(e,e,n);else for(;null!==t;){if(3===t.tag){ku(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===ql||!ql.has(r))){t=$i(t,e=ps(t,e=us(n,e),1),1),e=eu(),null!==t&&(vt(t,1,e),ru(t,e));break}}t=t.return}}function Eu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=eu(),e.pingedLanes|=e.suspendedLanes&n,Tl===e&&(Rl&n)===n&&(4===Dl||3===Dl&&(130023424&Rl)===Rl&&500>Xe()-Il?fu(e,0):Ll|=n),ru(e,t)}function _u(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var n=eu();null!==(e=Fi(e,t))&&(vt(e,t,n),ru(e,n))}function Pu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),_u(e,n)}function ju(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),_u(e,n)}function Tu(e,t){return Ge(e,t)}function Au(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ru(e,t,n,r){return new Au(e,t,n,r)}function Ou(e){return!(!(e=e.prototype)||!e.isReactComponent)}function zu(e,t){var n=e.alternate;return null===n?((n=Ru(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Du(e,t,n,r,o,a){var s=2;if(r=e,"function"===typeof e)Ou(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case k:return Fu(n.children,o,a,t);case C:s=8,o|=8;break;case E:return(e=Ru(12,n,t,2|o)).elementType=E,e.lanes=a,e;case T:return(e=Ru(13,n,t,o)).elementType=T,e.lanes=a,e;case A:return(e=Ru(19,n,t,o)).elementType=A,e.lanes=a,e;case z:return Bu(n,o,a,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case _:s=10;break e;case P:s=9;break e;case j:s=11;break e;case R:s=14;break e;case O:s=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Ru(s,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Fu(e,t,n,r){return(e=Ru(7,e,r,t)).lanes=n,e}function Bu(e,t,n,r){return(e=Ru(22,e,r,t)).elementType=z,e.lanes=n,e.stateNode={isHidden:!1},e}function Mu(e,t,n){return(e=Ru(6,e,null,t)).lanes=n,e}function Lu(e,t,n){return(t=Ru(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Nu(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function $u(e,t,n,r,o,i,a,s,l){return e=new Nu(e,t,n,s,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Ru(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mi(i),e}function Iu(e){if(!e)return jo;e:{if(Ve(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(zo(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(zo(n))return Bo(e,n,t)}return t}function Vu(e,t,n,r,o,i,a,s,l){return(e=$u(n,r,!0,e,0,i,0,s,l)).context=Iu(null),n=e.current,(i=Ni(r=eu(),o=tu(n))).callback=void 0!==t&&null!==t?t:null,$i(n,i,o),e.current.lanes=o,vt(e,o,r),ru(e,r),e}function Hu(e,t,n,r){var o=t.current,i=eu(),a=tu(o);return n=Iu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ni(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=$i(o,t,a))&&(nu(e,o,a,i),Ii(e,o,a)),a}function Uu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Wu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function qu(e,t){Wu(e,t),(e=e.alternate)&&Wu(e,t)}kl=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Ao.current)bs=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return bs=!1,function(e,t,n){switch(t.tag){case 3:Ts(t),pi();break;case 5:Zi(t);break;case 1:zo(t.type)&&Mo(t);break;case 4:Yi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Po(ki,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Po(ea,1&ea.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Ms(e,t,n):(Po(ea,1&ea.current),null!==(e=Us(e,t,n))?e.sibling:null);Po(ea,1&ea.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Vs(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Po(ea,ea.current),r)break;return null;case 22:case 23:return t.lanes=0,Cs(e,t,n)}return Us(e,t,n)}(e,t,n);bs=0!==(131072&e.flags)}else bs=!1,ii&&0!==(1048576&t.flags)&&ei(t,Go,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hs(e,t),e=t.pendingProps;var o=Oo(t,To.current);Ai(t,n),o=ga(null,t,r,e,o,n);var a=va();return t.flags|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,zo(r)?(a=!0,Mo(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Mi(t),o.updater=os,t.stateNode=o,o._reactInternals=t,ls(t,r,e,n),t=js(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),xs(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hs(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"===typeof e)return Ou(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===j)return 11;if(e===R)return 14}return 2}(r),e=ns(r,e),o){case 0:t=_s(null,t,r,e,n);break e;case 1:t=Ps(null,t,r,e,n);break e;case 11:t=ws(null,t,r,e,n);break e;case 14:t=Ss(null,t,r,ns(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,_s(e,t,r,o=t.elementType===r?o:ns(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ps(e,t,r,o=t.elementType===r?o:ns(r,o),n);case 3:e:{if(Ts(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,Li(e,t),Hi(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=As(e,t,r,n,o=us(Error(i(423)),t));break e}if(r!==o){t=As(e,t,r,n,o=us(Error(i(424)),t));break e}for(oi=uo(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=Si(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(pi(),r===o){t=Us(e,t,n);break e}xs(e,t,r,n)}t=t.child}return t;case 5:return Zi(t),null===e&&ci(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,s=o.children,no(r,o)?s=null:null!==a&&no(r,a)&&(t.flags|=32),Es(e,t),xs(e,t,s,n),t.child;case 6:return null===e&&ci(t),null;case 13:return Ms(e,t,n);case 4:return Yi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=wi(t,null,r,n):xs(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,ws(e,t,r,o=t.elementType===r?o:ns(r,o),n);case 7:return xs(e,t,t.pendingProps,n),t.child;case 8:case 12:return xs(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,s=o.value,Po(ki,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===o.children&&!Ao.current){t=Us(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var u=l.firstContext;null!==u;){if(u.context===r){if(1===a.tag){(u=Ni(-1,n&-n)).tag=2;var c=a.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}a.lanes|=n,null!==(u=a.alternate)&&(u.lanes|=n),Ti(a.return,n,t),l.lanes|=n;break}u=u.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(i(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),Ti(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}xs(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ai(t,n),r=r(o=Ri(o)),t.flags|=1,xs(e,t,r,n),t.child;case 14:return o=ns(r=t.type,t.pendingProps),Ss(e,t,r,o=ns(r.type,o),n);case 15:return ks(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ns(r,o),Hs(e,t),t.tag=1,zo(r)?(e=!0,Mo(t)):e=!1,Ai(t,n),as(t,r,o),ls(t,r,o,n),js(null,t,r,!0,e,n);case 19:return Vs(e,t,n);case 22:return Cs(e,t,n)}throw Error(i(156,t.tag))};var Gu="function"===typeof reportError?reportError:function(e){console.error(e)};function Ku(e){this._internalRoot=e}function Qu(e){this._internalRoot=e}function Yu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Zu(){}function Ju(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"===typeof o){var s=o;o=function(){var e=Uu(a);s.call(e)}}Hu(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"===typeof r){var i=r;r=function(){var e=Uu(a);i.call(e)}}var a=Vu(t,r,e,0,null,!1,0,"",Zu);return e._reactRootContainer=a,e[mo]=a.current,Vr(8===e.nodeType?e.parentNode:e),cu(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"===typeof r){var s=r;r=function(){var e=Uu(l);s.call(e)}}var l=$u(e,0,!1,null,0,!1,0,"",Zu);return e._reactRootContainer=l,e[mo]=l.current,Vr(8===e.nodeType?e.parentNode:e),cu((function(){Hu(t,l,n,r)})),l}(n,t,e,o,r);return Uu(a)}Qu.prototype.render=Ku.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Hu(e,t,null,null)},Qu.prototype.unmount=Ku.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cu((function(){Hu(null,e,null,null)})),t[mo]=null}},Qu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ct();e={blockedOn:null,target:e,priority:t};for(var n=0;n<zt.length&&0!==t&&t<zt[n].priority;n++);zt.splice(n,0,e),0===n&&Mt(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),ru(t,Xe()),0===(6&jl)&&(Vl=Xe()+500,Ho()))}break;case 13:cu((function(){var t=Fi(e,1);if(null!==t){var n=eu();nu(t,e,1,n)}})),qu(e,1)}},St=function(e){if(13===e.tag){var t=Fi(e,134217728);if(null!==t)nu(t,e,134217728,eu());qu(e,134217728)}},kt=function(e){if(13===e.tag){var t=tu(e),n=Fi(e,t);if(null!==n)nu(n,e,t,eu());qu(e,t)}},Ct=function(){return bt},Et=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Se=function(e,t,n){switch(t){case"input":if(Z(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=So(r);if(!o)throw Error(i(90));G(r),Z(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},je=uu,Te=cu;var ec={usingClientEntryPoint:!1,Events:[xo,wo,So,_e,Pe,uu]},tc={findFiberByHostInstance:bo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nc={bundleType:tc.bundleType,version:tc.version,rendererPackageName:tc.rendererPackageName,rendererConfig:tc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:tc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var rc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rc.isDisabled&&rc.supportsFiber)try{ot=rc.inject(nc),it=rc}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ec,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yu(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Yu(e))throw Error(i(299));var n=!1,r="",o=Gu;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=$u(e,1,!1,null,0,n,0,r,o),e[mo]=t.current,Vr(8===e.nodeType?e.parentNode:e),new Ku(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=We(t))?null:e.stateNode},t.flushSync=function(e){return cu(e)},t.hydrate=function(e,t,n){if(!Xu(t))throw Error(i(200));return Ju(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Yu(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",s=Gu;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Vu(t,null,e,1,null!=n?n:null,o,0,a,s),e[mo]=t.current,Vr(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Qu(t)},t.render=function(e,t,n){if(!Xu(t))throw Error(i(200));return Ju(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Xu(e))throw Error(i(40));return!!e._reactRootContainer&&(cu((function(){Ju(null,null,e,!1,(function(){e._reactRootContainer=null,e[mo]=null}))})),!0)},t.unstable_batchedUpdates=uu,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xu(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return Ju(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},84391:(e,t,n)=>{"use strict";var r=n(97950);t.H=r.createRoot,r.hydrateRoot},97950:(e,t,n)=>{"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(82730)},66366:e=>{var t="undefined"!==typeof Element,n="function"===typeof Map,r="function"===typeof Set,o="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,l,u,c;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(l=s;0!==l--;)if(!i(e[l],a[l]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!a.has(l.value[0]))return!1;for(c=e.entries();!(l=c.next()).done;)if(!i(l.value[1],a.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(l=s;0!==l--;)if(e[l]!==a[l])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"===typeof e.valueOf&&"function"===typeof a.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString&&"function"===typeof e.toString&&"function"===typeof a.toString)return e.toString()===a.toString();if((s=(u=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(l=s;0!==l--;)if(!Object.prototype.hasOwnProperty.call(a,u[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!==l--;)if(("_owner"!==u[l]&&"__v"!==u[l]&&"__o"!==u[l]||!e.$$typeof)&&!i(e[u[l]],a[u[l]]))return!1;return!0}return e!==e&&a!==a}e.exports=function(e,t){try{return i(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},66688:(e,t,n)=>{"use strict";n.d(t,{k5:()=>u});var r=n(65043),o={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},i=r.createContext&&r.createContext(o),a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)},s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function l(e){return e&&e.map((function(e,t){return r.createElement(e.tag,a({key:t},e.attr),l(e.child))}))}function u(e){return function(t){return r.createElement(c,a({attr:a({},e.attr)},t),l(e.child))}}function c(e){var t=function(t){var n,o=e.attr,i=e.size,l=e.title,u=s(e,["attr","size","title"]),c=i||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),r.createElement("svg",a({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,o,u,{className:n,style:a(a({color:e.color||t.color},t.style),e.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),l&&r.createElement("title",null,l),e.children)};return void 0!==i?r.createElement(i.Consumer,null,(function(e){return t(e)})):t(o)}},95082:(e,t)=>{"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case i:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case m:case l:return e;default:return t}}case o:return t}}}function S(e){return w(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return S(e)||w(e)===c},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===d||e===s||e===a||e===h||e===p||"object"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===x||e.$$typeof===v)},t.typeOf=w},2086:(e,t,n)=>{"use strict";e.exports=n(95082)},35475:(e,t,n)=>{"use strict";var r,o;n.d(t,{Kd:()=>m,N_:()=>y,k2:()=>b});var i=n(65043),a=n(97950),s=n(73216),l=n(31387);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}function c(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const d=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],f=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"];try{window.__reactRouterVersion="6"}catch(k){}const h=i.createContext({isTransitioning:!1});new Map;const p=(r||(r=n.t(i,2))).startTransition;(o||(o=n.t(a,2))).flushSync,(r||(r=n.t(i,2))).useId;function m(e){let{basename:t,children:n,future:r,window:o}=e,a=i.useRef();null==a.current&&(a.current=(0,l.zR)({window:o,v5Compat:!0}));let u=a.current,[c,d]=i.useState({action:u.action,location:u.location}),{v7_startTransition:f}=r||{},h=i.useCallback((e=>{f&&p?p((()=>d(e))):d(e)}),[d,f]);return i.useLayoutEffect((()=>u.listen(h)),[u,h]),i.useEffect((()=>(0,s.V8)(r)),[r]),i.createElement(s.Ix,{basename:t,children:n,location:c.location,navigationType:c.action,navigator:u,future:r})}const g="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,v=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,y=i.forwardRef((function(e,t){let n,{onClick:r,relative:o,reloadDocument:a,replace:f,state:h,target:p,to:m,preventScrollReset:y,viewTransition:b}=e,x=c(e,d),{basename:w}=i.useContext(s.jb),S=!1;if("string"===typeof m&&v.test(m)&&(n=m,g))try{let e=new URL(window.location.href),t=m.startsWith("//")?new URL(e.protocol+m):new URL(m),n=(0,l.pb)(t.pathname,w);t.origin===e.origin&&null!=n?m=n+t.search+t.hash:S=!0}catch(k){}let C=(0,s.$P)(m,{relative:o}),E=function(e,t){let{target:n,replace:r,state:o,preventScrollReset:a,relative:u,viewTransition:c}=void 0===t?{}:t,d=(0,s.Zp)(),f=(0,s.zy)(),h=(0,s.x$)(e,{relative:u});return i.useCallback((t=>{if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(t,n)){t.preventDefault();let n=void 0!==r?r:(0,l.AO)(f)===(0,l.AO)(h);d(e,{replace:n,state:o,preventScrollReset:a,relative:u,viewTransition:c})}}),[f,d,h,r,o,n,e,a,u,c])}(m,{replace:f,state:h,target:p,preventScrollReset:y,relative:o,viewTransition:b});return i.createElement("a",u({},x,{href:n||C,onClick:S||a?r:function(e){r&&r(e),e.defaultPrevented||E(e)},ref:t,target:p}))}));const b=i.forwardRef((function(e,t){let{"aria-current":n="page",caseSensitive:r=!1,className:o="",end:a=!1,style:d,to:p,viewTransition:m,children:g}=e,v=c(e,f),b=(0,s.x$)(p,{relative:v.relative}),w=(0,s.zy)(),k=i.useContext(s.Rq),{navigator:C,basename:E}=i.useContext(s.jb),_=null!=k&&function(e,t){void 0===t&&(t={});let n=i.useContext(h);null==n&&(0,l.Oi)(!1);let{basename:r}=S(x.useViewTransitionState),o=(0,s.x$)(e,{relative:t.relative});if(!n.isTransitioning)return!1;let a=(0,l.pb)(n.currentLocation.pathname,r)||n.currentLocation.pathname,u=(0,l.pb)(n.nextLocation.pathname,r)||n.nextLocation.pathname;return null!=(0,l.B6)(o.pathname,u)||null!=(0,l.B6)(o.pathname,a)}(b)&&!0===m,P=C.encodeLocation?C.encodeLocation(b).pathname:b.pathname,j=w.pathname,T=k&&k.navigation&&k.navigation.location?k.navigation.location.pathname:null;r||(j=j.toLowerCase(),T=T?T.toLowerCase():null,P=P.toLowerCase()),T&&E&&(T=(0,l.pb)(T,E)||T);const A="/"!==P&&P.endsWith("/")?P.length-1:P.length;let R,O=j===P||!a&&j.startsWith(P)&&"/"===j.charAt(A),z=null!=T&&(T===P||!a&&T.startsWith(P)&&"/"===T.charAt(P.length)),D={isActive:O,isPending:z,isTransitioning:_},F=O?n:void 0;R="function"===typeof o?o(D):[o,O?"active":null,z?"pending":null,_?"transitioning":null].filter(Boolean).join(" ");let B="function"===typeof d?d(D):d;return i.createElement(y,u({},v,{"aria-current":F,className:R,ref:t,style:B,to:p,viewTransition:m}),"function"===typeof g?g(D):g)}));var x,w;function S(e){let t=i.useContext(s.sp);return t||(0,l.Oi)(!1),t}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(x||(x={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(w||(w={}))},73216:(e,t,n)=>{"use strict";var r;n.d(t,{$P:()=>h,BV:()=>N,Ix:()=>L,Rq:()=>l,V8:()=>F,Zp:()=>v,g:()=>b,jb:()=>u,qh:()=>M,sp:()=>s,sv:()=>B,x$:()=>x,zy:()=>m});var o=n(65043),i=n(31387);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}const s=o.createContext(null);const l=o.createContext(null);const u=o.createContext(null);const c=o.createContext(null);const d=o.createContext({outlet:null,matches:[],isDataRoute:!1});const f=o.createContext(null);function h(e,t){let{relative:n}=void 0===t?{}:t;p()||(0,i.Oi)(!1);let{basename:r,navigator:a}=o.useContext(u),{hash:s,pathname:l,search:c}=x(e,{relative:n}),d=l;return"/"!==r&&(d="/"===l?r:(0,i.HS)([r,l])),a.createHref({pathname:d,search:c,hash:s})}function p(){return null!=o.useContext(c)}function m(){return p()||(0,i.Oi)(!1),o.useContext(c).location}function g(e){o.useContext(u).static||o.useLayoutEffect(e)}function v(){let{isDataRoute:e}=o.useContext(d);return e?function(){let{router:e}=T(P.UseNavigateStable),t=R(j.UseNavigateStable),n=o.useRef(!1);return g((()=>{n.current=!0})),o.useCallback((function(r,o){void 0===o&&(o={}),n.current&&("number"===typeof r?e.navigate(r):e.navigate(r,a({fromRouteId:t},o)))}),[e,t])}():function(){p()||(0,i.Oi)(!1);let e=o.useContext(s),{basename:t,future:n,navigator:r}=o.useContext(u),{matches:a}=o.useContext(d),{pathname:l}=m(),c=JSON.stringify((0,i.yD)(a,n.v7_relativeSplatPath)),f=o.useRef(!1);return g((()=>{f.current=!0})),o.useCallback((function(n,o){if(void 0===o&&(o={}),!f.current)return;if("number"===typeof n)return void r.go(n);let a=(0,i.Gh)(n,JSON.parse(c),l,"path"===o.relative);null==e&&"/"!==t&&(a.pathname="/"===a.pathname?t:(0,i.HS)([t,a.pathname])),(o.replace?r.replace:r.push)(a,o.state,o)}),[t,r,c,l,e])}()}const y=o.createContext(null);function b(){let{matches:e}=o.useContext(d),t=e[e.length-1];return t?t.params:{}}function x(e,t){let{relative:n}=void 0===t?{}:t,{future:r}=o.useContext(u),{matches:a}=o.useContext(d),{pathname:s}=m(),l=JSON.stringify((0,i.yD)(a,r.v7_relativeSplatPath));return o.useMemo((()=>(0,i.Gh)(e,JSON.parse(l),s,"path"===n)),[e,l,s,n])}function w(e,t,n,r){p()||(0,i.Oi)(!1);let{navigator:s}=o.useContext(u),{matches:l}=o.useContext(d),f=l[l.length-1],h=f?f.params:{},g=(f&&f.pathname,f?f.pathnameBase:"/");f&&f.route;let v,y=m();if(t){var b;let e="string"===typeof t?(0,i.Rr)(t):t;"/"===g||(null==(b=e.pathname)?void 0:b.startsWith(g))||(0,i.Oi)(!1),v=e}else v=y;let x=v.pathname||"/",w=x;if("/"!==g){let e=g.replace(/^\//,"").split("/");w="/"+x.replace(/^\//,"").split("/").slice(e.length).join("/")}let S=(0,i.ue)(e,{pathname:w});let k=_(S&&S.map((e=>Object.assign({},e,{params:Object.assign({},h,e.params),pathname:(0,i.HS)([g,s.encodeLocation?s.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?g:(0,i.HS)([g,s.encodeLocation?s.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),l,n,r);return t&&k?o.createElement(c.Provider,{value:{location:a({pathname:"/",search:"",hash:"",state:null,key:"default"},v),navigationType:i.rc.Pop}},k):k}function S(){let e=function(){var e;let t=o.useContext(f),n=A(j.UseRouteError),r=R(j.UseRouteError);if(void 0!==t)return t;return null==(e=n.errors)?void 0:e[r]}(),t=(0,i.pX)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:r};return o.createElement(o.Fragment,null,o.createElement("h2",null,"Unexpected Application Error!"),o.createElement("h3",{style:{fontStyle:"italic"}},t),n?o.createElement("pre",{style:a},n):null,null)}const k=o.createElement(S,null);class C extends o.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?o.createElement(d.Provider,{value:this.props.routeContext},o.createElement(f.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function E(e){let{routeContext:t,match:n,children:r}=e,i=o.useContext(s);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),o.createElement(d.Provider,{value:t},r)}function _(e,t,n,r){var a;if(void 0===t&&(t=[]),void 0===n&&(n=null),void 0===r&&(r=null),null==e){var s;if(!n)return null;if(n.errors)e=n.matches;else{if(!(null!=(s=r)&&s.v7_partialHydration&&0===t.length&&!n.initialized&&n.matches.length>0))return null;e=n.matches}}let l=e,u=null==(a=n)?void 0:a.errors;if(null!=u){let e=l.findIndex((e=>e.route.id&&void 0!==(null==u?void 0:u[e.route.id])));e>=0||(0,i.Oi)(!1),l=l.slice(0,Math.min(l.length,e+1))}let c=!1,d=-1;if(n&&r&&r.v7_partialHydration)for(let o=0;o<l.length;o++){let e=l[o];if((e.route.HydrateFallback||e.route.hydrateFallbackElement)&&(d=o),e.route.id){let{loaderData:t,errors:r}=n,o=e.route.loader&&void 0===t[e.route.id]&&(!r||void 0===r[e.route.id]);if(e.route.lazy||o){c=!0,l=d>=0?l.slice(0,d+1):[l[0]];break}}}return l.reduceRight(((e,r,i)=>{let a,s=!1,f=null,h=null;var p;n&&(a=u&&r.route.id?u[r.route.id]:void 0,f=r.route.errorElement||k,c&&(d<0&&0===i?(p="route-fallback",!1||O[p]||(O[p]=!0),s=!0,h=null):d===i&&(s=!0,h=r.route.hydrateFallbackElement||null)));let m=t.concat(l.slice(0,i+1)),g=()=>{let t;return t=a?f:s?h:r.route.Component?o.createElement(r.route.Component,null):r.route.element?r.route.element:e,o.createElement(E,{match:r,routeContext:{outlet:e,matches:m,isDataRoute:null!=n},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===i)?o.createElement(C,{location:n.location,revalidation:n.revalidation,component:f,error:a,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()}),null)}var P=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(P||{}),j=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(j||{});function T(e){let t=o.useContext(s);return t||(0,i.Oi)(!1),t}function A(e){let t=o.useContext(l);return t||(0,i.Oi)(!1),t}function R(e){let t=function(){let e=o.useContext(d);return e||(0,i.Oi)(!1),e}(),n=t.matches[t.matches.length-1];return n.route.id||(0,i.Oi)(!1),n.route.id}const O={};const z={};const D=(e,t,n)=>{var r;z[r="\u26a0\ufe0f React Router Future Flag Warning: "+t+". You can use the `"+e+"` future flag to opt-in early. For more information, see "+n+"."]||(z[r]=!0,console.warn(r))};function F(e,t){null!=e&&e.v7_startTransition||D("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),null!=e&&e.v7_relativeSplatPath||t&&t.v7_relativeSplatPath||D("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath"),t&&(t.v7_fetcherPersist||D("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),t.v7_normalizeFormMethod||D("v7_normalizeFormMethod","Casing of `formMethod` fields is being normalized to uppercase in v7","https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod"),t.v7_partialHydration||D("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),t.v7_skipActionErrorRevalidation||D("v7_skipActionErrorRevalidation","The revalidation behavior after 4xx/5xx `action` responses is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation"))}(r||(r=n.t(o,2))).startTransition;function B(e){return function(e){let t=o.useContext(d).outlet;return t?o.createElement(y.Provider,{value:e},t):t}(e.context)}function M(e){(0,i.Oi)(!1)}function L(e){let{basename:t="/",children:n=null,location:r,navigationType:s=i.rc.Pop,navigator:l,static:d=!1,future:f}=e;p()&&(0,i.Oi)(!1);let h=t.replace(/^\/*/,"/"),m=o.useMemo((()=>({basename:h,navigator:l,static:d,future:a({v7_relativeSplatPath:!1},f)})),[h,f,l,d]);"string"===typeof r&&(r=(0,i.Rr)(r));let{pathname:g="/",search:v="",hash:y="",state:b=null,key:x="default"}=r,w=o.useMemo((()=>{let e=(0,i.pb)(g,h);return null==e?null:{location:{pathname:e,search:v,hash:y,state:b,key:x},navigationType:s}}),[h,g,v,y,b,x,s]);return null==w?null:o.createElement(u.Provider,{value:m},o.createElement(c.Provider,{children:n,value:w}))}function N(e){let{children:t,location:n}=e;return w($(t),n)}new Promise((()=>{}));o.Component;function $(e,t){void 0===t&&(t=[]);let n=[];return o.Children.forEach(e,((e,r)=>{if(!o.isValidElement(e))return;let a=[...t,r];if(e.type===o.Fragment)return void n.push.apply(n,$(e.props.children,a));e.type!==M&&(0,i.Oi)(!1),e.props.index&&e.props.children&&(0,i.Oi)(!1);let s={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(s.children=$(e.props.children,a)),n.push(s)})),n}},51153:(e,t,n)=>{"use strict";var r=n(65043),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,i={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:u,ref:c,props:i,_owner:s.current}}t.Fragment=i,t.jsx=u,t.jsxs=u},14202:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||p}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||p}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=v.prototype;var x=b.prototype=new y;x.constructor=b,m(x,v.prototype),x.isPureReactComponent=!0;var w=Array.isArray,S=Object.prototype.hasOwnProperty,k={current:null},C={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,r){var o,i={},a=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,o)&&!C.hasOwnProperty(o)&&(i[o]=t[o]);var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];i.children=u}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===i[o]&&(i[o]=l[o]);return{$$typeof:n,type:e,key:a,ref:s,props:i,_owner:k.current}}function _(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var P=/\/+/g;function j(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function T(e,t,o,i,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return a=a(l=e),e=""===i?"."+j(l,0):i,w(a)?(o="",null!=e&&(o=e.replace(P,"$&/")+"/"),T(a,t,o,"",(function(e){return e}))):null!=a&&(_(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(P,"$&/")+"/")+e)),t.push(a)),1;if(l=0,i=""===i?".":i+":",w(e))for(var u=0;u<e.length;u++){var c=i+j(s=e[u],u);l+=T(s,t,o,c,a)}else if(c=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"===typeof c)for(e=c.call(e),u=0;!(s=e.next()).done;)l+=T(s=s.value,t,o,c=i+j(s,u++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function A(e,t,n){if(null==e)return e;var r=[],o=0;return T(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function R(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var O={current:null},z={transition:null},D={ReactCurrentDispatcher:O,ReactCurrentBatchConfig:z,ReactCurrentOwner:k};function F(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:A,forEach:function(e,t,n){A(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return A(e,(function(){t++})),t},toArray:function(e){return A(e,(function(e){return e}))||[]},only:function(e){if(!_(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=v,t.Fragment=o,t.Profiler=a,t.PureComponent=b,t.StrictMode=i,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,t.act=F,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=m({},e.props),i=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=k.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)S.call(t,u)&&!C.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];o.children=l}return{$$typeof:n,type:e.type,key:i,ref:a,props:o,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:R}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=z.transition;z.transition={};try{e()}finally{z.transition=t}},t.unstable_act=F,t.useCallback=function(e,t){return O.current.useCallback(e,t)},t.useContext=function(e){return O.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return O.current.useDeferredValue(e)},t.useEffect=function(e,t){return O.current.useEffect(e,t)},t.useId=function(){return O.current.useId()},t.useImperativeHandle=function(e,t,n){return O.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return O.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return O.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return O.current.useMemo(e,t)},t.useReducer=function(e,t,n){return O.current.useReducer(e,t,n)},t.useRef=function(e){return O.current.useRef(e)},t.useState=function(e){return O.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return O.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return O.current.useTransition()},t.version="18.3.1"},65043:(e,t,n)=>{"use strict";e.exports=n(14202)},70579:(e,t,n)=>{"use strict";e.exports=n(51153)},27234:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(0>i(l,n))u<o&&0>i(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else{if(!(u<o&&0>i(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var u=[],c=[],d=1,f=null,h=3,p=!1,m=!1,g=!1,v="function"===typeof setTimeout?setTimeout:null,y="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function x(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function w(e){if(g=!1,x(e),!m)if(null!==r(u))m=!0,z(S);else{var t=r(c);null!==t&&D(w,t.startTime-e)}}function S(e,n){m=!1,g&&(g=!1,y(_),_=-1),p=!0;var i=h;try{for(x(n),f=r(u);null!==f&&(!(f.expirationTime>n)||e&&!T());){var a=f.callback;if("function"===typeof a){f.callback=null,h=f.priorityLevel;var s=a(f.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?f.callback=s:f===r(u)&&o(u),x(n)}else o(u);f=r(u)}if(null!==f)var l=!0;else{var d=r(c);null!==d&&D(w,d.startTime-n),l=!1}return l}finally{f=null,h=i,p=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,C=!1,E=null,_=-1,P=5,j=-1;function T(){return!(t.unstable_now()-j<P)}function A(){if(null!==E){var e=t.unstable_now();j=e;var n=!0;try{n=E(!0,e)}finally{n?k():(C=!1,E=null)}}else C=!1}if("function"===typeof b)k=function(){b(A)};else if("undefined"!==typeof MessageChannel){var R=new MessageChannel,O=R.port2;R.port1.onmessage=A,k=function(){O.postMessage(null)}}else k=function(){v(A,0)};function z(e){E=e,C||(C=!0,k())}function D(e,n){_=v((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||p||(m=!0,z(S))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,n(c,e),null===r(u)&&e===r(c)&&(g?(y(_),_=-1):g=!0,D(w,i-a))):(e.sortIndex=s,n(u,e),m||p||(m=!0,z(S))),e},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},78853:(e,t,n)=>{"use strict";e.exports=n(27234)},58168:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.d(t,{A:()=>r})},86982:(e,t,n)=>{"use strict";n.d(t,{a1:()=>i,fi:()=>r,bk:()=>o});var r=Object.freeze(["base","sm","md","lg","xl","2xl"]);function o(e,t){return Array.isArray(e)?e.map((e=>null===e?null:t(e))):function(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}(e)?Object.keys(e).reduce(((n,r)=>(n[r]=t(e[r]),n)),{}):null!=e?t(e):null}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r;const n={};return e.forEach(((e,r)=>{const o=t[r];null!=e&&(n[o]=e)})),n}},39627:(e,t,n)=>{"use strict";n.d(t,{K:()=>s});var r=n(79036),o=n(23226),i=n(65043),a=n(70579),s=(0,o.R)(((e,t)=>{const{icon:n,children:o,isRound:s,"aria-label":l,...u}=e,c=n||o,d=(0,i.isValidElement)(c)?(0,i.cloneElement)(c,{"aria-hidden":!0,focusable:!1}):null;return(0,a.jsx)(r.$,{padding:"0",borderRadius:s?"full":void 0,ref:t,"aria-label":l,...u,children:d})}));s.displayName="IconButton"},79036:(e,t,n)=>{"use strict";n.d(t,{$:()=>y});var r=n(65043);var o=n(67852),[i,a]=(0,o.q)({strict:!1,name:"ButtonGroupContext"}),s=n(14550),l=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")};var u=e=>e?"":void 0;var c=n(70579);function d(e){const{children:t,className:n,...o}=e,i=(0,r.isValidElement)(t)?(0,r.cloneElement)(t,{"aria-hidden":!0,focusable:!1}):t,a=l("chakra-button__icon",n);return(0,c.jsx)(s.B.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...o,className:a,children:i})}d.displayName="ButtonIcon";var f=n(6116);function h(e){const{label:t,placement:n,spacing:o="0.5rem",children:i=(0,c.jsx)(f.y,{color:"currentColor",width:"1em",height:"1em"}),className:a,__css:u,...d}=e,h=l("chakra-button__spinner",a),p="start"===n?"marginEnd":"marginStart",m=(0,r.useMemo)((()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[p]:t?o:0,fontSize:"1em",lineHeight:"normal",...u})),[u,t,p,o]);return(0,c.jsx)(s.B.div,{className:h,...d,__css:m,children:i})}h.displayName="ButtonSpinner";var p=n(74554),m=n(23226),g=n(73761),v=n(57349),y=(0,m.R)(((e,t)=>{const n=a(),o=(0,g.Vl)("Button",{...n,...e}),{isDisabled:i=(null==n?void 0:n.isDisabled),isLoading:d,isActive:f,children:m,leftIcon:y,rightIcon:x,loadingText:w,iconSpacing:S="0.5rem",type:k,spinner:C,spinnerPlacement:E="start",className:_,as:P,...j}=(0,v.MN)(e),T=(0,r.useMemo)((()=>{const e={...null==o?void 0:o._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...o,...!!n&&{_focus:e}}}),[o,n]),{ref:A,type:R}=function(e){const[t,n]=(0,r.useState)(!e);return{ref:(0,r.useCallback)((e=>{e&&n("BUTTON"===e.tagName)}),[]),type:t?"button":void 0}}(P),O={rightIcon:x,leftIcon:y,iconSpacing:S,children:m};return(0,c.jsxs)(s.B.button,{ref:(0,p.SV)(t,A),as:P,type:null!=k?k:R,"data-active":u(f),"data-loading":u(d),__css:T,className:l("chakra-button",_),...j,disabled:i||d,children:[d&&"start"===E&&(0,c.jsx)(h,{className:"chakra-button__spinner--start",label:w,placement:"start",spacing:S,children:C}),d?w||(0,c.jsx)(s.B.span,{opacity:0,children:(0,c.jsx)(b,{...O})}):(0,c.jsx)(b,{...O}),d&&"end"===E&&(0,c.jsx)(h,{className:"chakra-button__spinner--end",label:w,placement:"end",spacing:S,children:C})]})}));function b(e){const{leftIcon:t,rightIcon:n,children:r,iconSpacing:o}=e;return(0,c.jsxs)(c.Fragment,{children:[t&&(0,c.jsx)(d,{marginEnd:o,children:t}),r,n&&(0,c.jsx)(d,{marginStart:o,children:n})]})}y.displayName="Button"},17926:(e,t,n)=>{"use strict";n.d(t,{I:()=>s});var r=n(65043);var o=e=>e?"":void 0;var i=n(74554);function a(e){const t=e.target,{tagName:n,isContentEditable:r}=t;return"INPUT"!==n&&"TEXTAREA"!==n&&!0!==r}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{ref:t,isDisabled:n,isFocusable:s,clickOnEnter:l=!0,clickOnSpace:u=!0,onMouseDown:c,onMouseUp:d,onClick:f,onKeyDown:h,onKeyUp:p,tabIndex:m,onMouseOver:g,onMouseLeave:v,...y}=e,[b,x]=(0,r.useState)(!0),[w,S]=(0,r.useState)(!1),k=function(){const e=(0,r.useRef)(new Map),t=e.current,n=(0,r.useCallback)(((t,n,r,o)=>{e.current.set(r,{type:n,el:t,options:o}),t.addEventListener(n,r,o)}),[]),o=(0,r.useCallback)(((t,n,r,o)=>{t.removeEventListener(n,r,o),e.current.delete(r)}),[]);return(0,r.useEffect)((()=>()=>{t.forEach(((e,t)=>{o(e.el,e.type,t,e.options)}))}),[o,t]),{add:n,remove:o}}(),C=b?m:m||0,E=n&&!s,_=(0,r.useCallback)((e=>{if(n)return e.stopPropagation(),void e.preventDefault();e.currentTarget.focus(),null==f||f(e)}),[n,f]),P=(0,r.useCallback)((e=>{w&&a(e)&&(e.preventDefault(),e.stopPropagation(),S(!1),k.remove(document,"keyup",P,!1))}),[w,k]),j=(0,r.useCallback)((e=>{if(null==h||h(e),n||e.defaultPrevented||e.metaKey)return;if(!a(e.nativeEvent)||b)return;const t=l&&"Enter"===e.key;if(u&&" "===e.key&&(e.preventDefault(),S(!0)),t){e.preventDefault();e.currentTarget.click()}k.add(document,"keyup",P,!1)}),[n,b,h,l,u,k,P]),T=(0,r.useCallback)((e=>{if(null==p||p(e),n||e.defaultPrevented||e.metaKey)return;if(!a(e.nativeEvent)||b)return;if(u&&" "===e.key){e.preventDefault(),S(!1);e.currentTarget.click()}}),[u,b,n,p]),A=(0,r.useCallback)((e=>{0===e.button&&(S(!1),k.remove(document,"mouseup",A,!1))}),[k]),R=(0,r.useCallback)((e=>{if(0!==e.button)return;if(n)return e.stopPropagation(),void e.preventDefault();b||S(!0);e.currentTarget.focus({preventScroll:!0}),k.add(document,"mouseup",A,!1),null==c||c(e)}),[n,b,c,k,A]),O=(0,r.useCallback)((e=>{0===e.button&&(b||S(!1),null==d||d(e))}),[d,b]),z=(0,r.useCallback)((e=>{n?e.preventDefault():null==g||g(e)}),[n,g]),D=(0,r.useCallback)((e=>{w&&(e.preventDefault(),S(!1)),null==v||v(e)}),[w,v]),F=(0,i.Px)(t,(e=>{e&&"BUTTON"!==e.tagName&&x(!1)}));return b?{...y,ref:F,type:"button","aria-disabled":E?void 0:n,disabled:E,onClick:_,onMouseDown:c,onMouseUp:d,onKeyUp:p,onKeyDown:h,onMouseOver:g,onMouseLeave:v}:{...y,ref:F,role:"button","data-active":o(w),"aria-disabled":n?"true":void 0,tabIndex:E?void 0:C,onClick:_,onMouseDown:R,onMouseUp:O,onKeyUp:T,onKeyDown:j,onMouseOver:z,onMouseLeave:D}}},13008:(e,t,n)=>{"use strict";n.d(t,{J:()=>d});var r=n(23226),o=n(73761),i=n(14550);var a=n(70579),s={path:(0,a.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,a.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,a.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,a.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},l=(0,r.R)(((e,t)=>{const{as:n,viewBox:r,color:l="currentColor",focusable:u=!1,children:c,className:d,__css:f,...h}=e,p={ref:t,focusable:u,className:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")}("chakra-icon",d),__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:l,...f,...(0,o.Vl)("Icon",e)}},m=null!=r?r:s.viewBox;if(n&&"string"!==typeof n)return(0,a.jsx)(i.B.svg,{as:n,...p,...h});const g=null!=c?c:s.path;return(0,a.jsx)(i.B.svg,{verticalAlign:"middle",viewBox:m,...p,...h,children:g})}));l.displayName="Icon";var u=n(57349);function c(e){return(0,a.jsx)(l,{focusable:"false","aria-hidden":!0,...e,children:(0,a.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,11.823a.25.25,0,0,1,0,.354Z"})})}var d=(0,r.R)((function(e,t){const n=(0,o.Vl)("CloseButton",e),{children:r,isDisabled:s,__css:l,...d}=(0,u.MN)(e);return(0,a.jsx)(i.B.button,{type:"button","aria-label":"Close",ref:t,disabled:s,__css:{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,...n,...l},...d,children:r||(0,a.jsx)(c,{width:"1em",height:"1em"})})}));d.displayName="CloseButton"},17118:(e,t,n)=>{"use strict";n.d(t,{G6:()=>i,Ig:()=>o,dU:()=>a});var r=n(65043),o=(0,r.createContext)({});function i(){const e=(0,r.useContext)(o);if(void 0===e)throw new Error("useColorMode must be used within a ColorModeProvider");return e}function a(e,t){const{colorMode:n}=i();return"dark"===n?t:e}o.displayName="ColorModeContext"},69323:(e,t,n)=>{"use strict";n.d(t,{D:()=>g});var r=n(65043),o=Object.defineProperty,i=(e,t,n)=>(((e,t,n)=>{t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n);function a(e){return e.sort(((e,t)=>{const n=e.compareDocumentPosition(t);if(n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY)return-1;if(n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(n&Node.DOCUMENT_POSITION_DISCONNECTED||n&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)throw Error("Cannot sort the given nodes.");return 0}))}function s(e,t,n){let r=e+1;return n&&r>=t&&(r=0),r}function l(e,t,n){let r=e-1;return n&&r<0&&(r=t),r}var u="undefined"!==typeof window?r.useLayoutEffect:r.useEffect,c=e=>e,d=class{constructor(){var e=this;i(this,"descendants",new Map),i(this,"register",(e=>{var t;if(null!=e)return"object"==typeof(t=e)&&"nodeType"in t&&t.nodeType===Node.ELEMENT_NODE?this.registerNode(e):t=>{this.registerNode(t,e)}})),i(this,"unregister",(e=>{this.descendants.delete(e);const t=a(Array.from(this.descendants.keys()));this.assignIndex(t)})),i(this,"destroy",(()=>{this.descendants.clear()})),i(this,"assignIndex",(e=>{this.descendants.forEach((t=>{const n=e.indexOf(t.node);t.index=n,t.node.dataset.index=t.index.toString()}))})),i(this,"count",(()=>this.descendants.size)),i(this,"enabledCount",(()=>this.enabledValues().length)),i(this,"values",(()=>Array.from(this.descendants.values()).sort(((e,t)=>e.index-t.index)))),i(this,"enabledValues",(()=>this.values().filter((e=>!e.disabled)))),i(this,"item",(e=>{if(0!==this.count())return this.values()[e]})),i(this,"enabledItem",(e=>{if(0!==this.enabledCount())return this.enabledValues()[e]})),i(this,"first",(()=>this.item(0))),i(this,"firstEnabled",(()=>this.enabledItem(0))),i(this,"last",(()=>this.item(this.descendants.size-1))),i(this,"lastEnabled",(()=>{const e=this.enabledValues().length-1;return this.enabledItem(e)})),i(this,"indexOf",(e=>{var t,n;return e&&null!=(n=null==(t=this.descendants.get(e))?void 0:t.index)?n:-1})),i(this,"enabledIndexOf",(e=>null==e?-1:this.enabledValues().findIndex((t=>t.node.isSameNode(e))))),i(this,"next",(function(t){let n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const r=s(t,e.count(),n);return e.item(r)})),i(this,"nextEnabled",(function(t){let n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const r=e.item(t);if(!r)return;const o=s(e.enabledIndexOf(r.node),e.enabledCount(),n);return e.enabledItem(o)})),i(this,"prev",(function(t){let n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const r=l(t,e.count()-1,n);return e.item(r)})),i(this,"prevEnabled",(function(t){let n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const r=e.item(t);if(!r)return;const o=l(e.enabledIndexOf(r.node),e.enabledCount()-1,n);return e.enabledItem(o)})),i(this,"registerNode",((e,t)=>{if(!e||this.descendants.has(e))return;const n=a(Array.from(this.descendants.keys()).concat(e));(null==t?void 0:t.disabled)&&(t.disabled=!!t.disabled);const r={node:e,index:-1,...t};this.descendants.set(e,r),this.assignIndex(n)}))}},f=n(67852),h=n(74554);var[p,m]=(0,f.q)({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"});function g(){return[c(p),()=>c(m()),()=>function(){const e=(0,r.useRef)(new d);return u((()=>()=>e.current.destroy())),e.current}(),e=>function(e){const t=m(),[n,o]=(0,r.useState)(-1),i=(0,r.useRef)(null);u((()=>()=>{i.current&&t.unregister(i.current)}),[]),u((()=>{if(!i.current)return;const e=Number(i.current.dataset.index);n==e||Number.isNaN(e)||o(e)}));const a=c(e?t.register(e):t.register);return{descendants:t,index:n,enabledIndex:t.enabledIndexOf(i.current),register:(0,h.Px)(a,i)}}(e)]}},55376:(e,t,n)=>{"use strict";function r(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function o(e){var t;if(!r(e))return!1;return e instanceof(null!=(t=e.ownerDocument.defaultView)?t:window).HTMLElement}function i(e){var t,n;return null!=(n=null==(t=a(e))?void 0:t.defaultView)?n:window}function a(e){return r(e)?e.ownerDocument:document}function s(e){return a(e).activeElement}n.d(t,{bq:()=>s,mD:()=>i,sb:()=>o})},24688:(e,t,n)=>{"use strict";n.d(t,{AO:()=>l,tp:()=>s});var r=n(55376),o=e=>e.hasAttribute("tabindex"),i=e=>o(e)&&-1===e.tabIndex;function a(e){return!(!e.parentElement||!a(e.parentElement))||e.hidden}function s(e){if(!(0,r.sb)(e)||a(e)||function(e){return!0===Boolean(e.getAttribute("disabled"))||!0===Boolean(e.getAttribute("aria-disabled"))}(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const n={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in n?n[t]():!!function(e){const t=e.getAttribute("contenteditable");return"false"!==t&&null!=t}(e)||o(e)}function l(e){return!!e&&((0,r.sb)(e)&&s(e)&&!i(e))}},26663:(e,t,n)=>{"use strict";n.d(t,{_:()=>c});var r=n(91833),o=n(85739),i=n(65043);var a=n(23226),s=n(14550),l=n(70579);function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}var c=(0,a.R)((function(e,t){const{fallbackSrc:n,fallback:a,src:c,srcSet:d,align:f,fit:h,loading:p,ignoreFallback:m,crossOrigin:g,fallbackStrategy:v="beforeLoadOrError",referrerPolicy:y,...b}=e,x=null!=p||m||!(void 0!==n||void 0!==a),w=function(e){const{loading:t,src:n,srcSet:r,onLoad:a,onError:s,crossOrigin:l,sizes:u,ignoreFallback:c}=e,[d,f]=(0,i.useState)("pending");(0,i.useEffect)((()=>{f(n?"loading":"pending")}),[n]);const h=(0,i.useRef)(),p=(0,i.useCallback)((()=>{if(!n)return;m();const e=new Image;e.src=n,l&&(e.crossOrigin=l),r&&(e.srcset=r),u&&(e.sizes=u),t&&(e.loading=t),e.onload=e=>{m(),f("loaded"),null==a||a(e)},e.onerror=e=>{m(),f("failed"),null==s||s(e)},h.current=e}),[n,l,r,u,a,s,t]),m=()=>{h.current&&(h.current.onload=null,h.current.onerror=null,h.current=null)};return(0,o.U)((()=>{if(!c)return"loading"===d&&p(),()=>{m()}}),[d,p,c]),c?"loaded":d}({...e,crossOrigin:g,ignoreFallback:x}),S=((e,t)=>"loaded"!==e&&"beforeLoadOrError"===t||"failed"===e&&"onError"===t)(w,v),k={ref:t,objectFit:h,objectPosition:f,...x?b:u(b,["onError","onLoad"])};return S?a||(0,l.jsx)(s.B.img,{as:r.r,className:"chakra-image__placeholder",src:n,...k}):(0,l.jsx)(s.B.img,{as:r.r,src:c,srcSet:d,crossOrigin:g,loading:p,referrerPolicy:y,className:"chakra-image",...k})}));c.displayName="Image"},91833:(e,t,n)=>{"use strict";n.d(t,{r:()=>i});var r=n(23226),o=n(70579),i=(0,r.R)((function(e,t){const{htmlWidth:n,htmlHeight:r,alt:i,...a}=e;return(0,o.jsx)("img",{width:n,height:r,ref:t,alt:i,...a})}));i.displayName="NativeImage"},3952:(e,t,n)=>{"use strict";n.d(t,{E:()=>c});var r=n(23226),o=n(73761),i=n(57349),a=n(14550),s=n(68170),l=n(45049),u=n(70579),c=(0,r.R)((function(e,t){const n=(0,o.Vl)("Text",e),{className:r,align:c,decoration:d,casing:f,...h}=(0,i.MN)(e),p=(0,l.o)({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return(0,u.jsx)(a.B.p,{ref:t,className:(0,s.cx)("chakra-text",e.className),...p,...h,__css:n})}));c.displayName="Text"},13637:(e,t,n)=>{"use strict";n.d(t,{m:()=>u});var r=n(23226),o=n(57349),i=n(73761),a=n(14550),s=n(68170),l=n(70579),u=(0,r.R)((function(e,t){const{className:n,centerContent:r,...u}=(0,o.MN)(e),c=(0,i.Vl)("Container",e);return(0,l.jsx)(a.B.div,{ref:t,className:(0,s.cx)("chakra-container",n),...u,__css:{...c,...r&&{display:"flex",flexDirection:"column",alignItems:"center"}}})}));u.displayName="Container"},14377:(e,t,n)=>{"use strict";n.d(t,{D:()=>u});var r=n(23226),o=n(73761),i=n(57349),a=n(14550),s=n(68170),l=n(70579),u=(0,r.R)((function(e,t){const n=(0,o.Vl)("Heading",e),{className:r,...u}=(0,i.MN)(e);return(0,l.jsx)(a.B.h2,{ref:t,className:(0,s.cx)("chakra-heading",e.className),...u,__css:n})}));u.displayName="Heading"},94552:(e,t,n)=>{"use strict";n.d(t,{x:()=>a});var r=n(23226),o=n(14550),i=n(70579),a=(0,r.R)((function(e,t){const{templateAreas:n,gap:r,rowGap:a,columnGap:s,column:l,row:u,autoFlow:c,autoRows:d,templateRows:f,autoColumns:h,templateColumns:p,...m}=e,g={display:"grid",gridTemplateAreas:n,gridGap:r,gridRowGap:a,gridColumnGap:s,gridAutoColumns:h,gridColumn:l,gridRow:u,gridAutoFlow:c,gridAutoRows:d,gridTemplateRows:f,gridTemplateColumns:p};return(0,i.jsx)(o.B.div,{ref:t,__css:g,...m})}));a.displayName="Grid"},38700:(e,t,n)=>{"use strict";n.d(t,{N:()=>u});var r=n(23226),o=n(73761),i=n(57349),a=n(14550),s=n(68170),l=n(70579),u=(0,r.R)((function(e,t){const n=(0,o.Vl)("Link",e),{className:r,isExternal:u,...c}=(0,i.MN)(e);return(0,l.jsx)(a.B.a,{target:u?"_blank":void 0,rel:u?"noopener":void 0,ref:t,className:(0,s.cx)("chakra-link",r),...c,__css:n})}));u.displayName="Link"},41918:(e,t,n)=>{"use strict";n.d(t,{s:()=>a});var r=n(23226),o=n(14550),i=n(70579),a=(0,r.R)((function(e,t){const{direction:n,align:r,justify:a,wrap:s,basis:l,grow:u,shrink:c,...d}=e,f={display:"flex",flexDirection:n,alignItems:r,justifyContent:a,flexWrap:s,flexBasis:l,flexGrow:u,flexShrink:c};return(0,i.jsx)(o.B.div,{ref:t,__css:f,...d})}));a.displayName="Flex"},85522:(e,t,n)=>{"use strict";n.d(t,{az:()=>a,jl:()=>l});var r=n(14550),o=n(23226),i=n(70579),a=(0,r.B)("div");a.displayName="Box";var s=(0,o.R)((function(e,t){const{size:n,centerContent:r=!0,...o}=e,s=r?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return(0,i.jsx)(a,{ref:t,boxSize:n,__css:{...s,flexShrink:0,flexGrow:0},...o})}));s.displayName="Square";var l=(0,o.R)((function(e,t){const{size:n,...r}=e;return(0,i.jsx)(s,{size:n,ref:t,borderRadius:"9999px",...r})}));l.displayName="Circle"},89673:(e,t,n)=>{"use strict";n.d(t,{c:()=>u});var r=n(23226),o=n(73761),i=n(57349),a=n(14550),s=n(68170),l=n(70579),u=(0,r.R)((function(e,t){const{borderLeftWidth:n,borderBottomWidth:r,borderTopWidth:u,borderRightWidth:c,borderWidth:d,borderStyle:f,borderColor:h,...p}=(0,o.Vl)("Divider",e),{className:m,orientation:g="horizontal",__css:v,...y}=(0,i.MN)(e),b={vertical:{borderLeftWidth:n||c||d||"1px",height:"100%"},horizontal:{borderBottomWidth:r||u||d||"1px",width:"100%"}};return(0,l.jsx)(a.B.hr,{ref:t,"aria-orientation":g,...y,__css:{...p,border:"0",borderColor:h,borderStyle:f,...b[g],...v},className:(0,s.cx)("chakra-divider",m)})}));u.displayName="Divider"},94202:(e,t,n)=>{"use strict";n.d(t,{B:()=>d});var r=n(14550),o=n(70579),i=e=>(0,o.jsx)(r.B.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});i.displayName="StackItem";var a=n(86982);var s=n(74202),l=n(68170),u=n(23226),c=n(65043),d=(0,u.R)(((e,t)=>{const{isInline:n,direction:u,align:d,justify:f,spacing:h="0.5rem",wrap:p,children:m,divider:g,className:v,shouldWrapChildren:y,...b}=e,x=n?"row":null!=u?u:"column",w=(0,c.useMemo)((()=>function(e){const{spacing:t,direction:n}=e,r={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":(0,a.bk)(n,(e=>r[e]))}}({spacing:h,direction:x})),[h,x]),S=!!g,k=!y&&!S,C=(0,c.useMemo)((()=>{const e=(0,s.a)(m);return k?e:e.map(((t,n)=>{const r="undefined"!==typeof t.key?t.key:n,a=n+1===e.length,s=y?(0,o.jsx)(i,{children:t},r):t;if(!S)return s;const l=(0,c.cloneElement)(g,{__css:w}),u=a?null:l;return(0,o.jsxs)(c.Fragment,{children:[s,u]},r)}))}),[g,w,S,k,y,m]),E=(0,l.cx)("chakra-stack",v);return(0,o.jsx)(r.B.div,{ref:t,display:"flex",alignItems:d,justifyContent:f,flexDirection:x,flexWrap:p,gap:S?void 0:h,className:E,...b,children:C})}));d.displayName="Stack"},68170:(e,t,n)=>{"use strict";n.d(t,{cx:()=>r});var r=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")}},90013:(e,t,n)=>{"use strict";function r(e){const{wasSelected:t,enabled:n,isSelected:r,mode:o="unmount"}=e;return!n||(!!r||!("keepMounted"!==o||!t))}n.d(t,{q:()=>r})},54432:(e,t,n)=>{"use strict";n.d(t,{U:()=>i});var r=n(75692),o=n(65043);function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{ssr:n=!0,fallback:i}=t,{getWindow:a}=(0,r.O)(),s=Array.isArray(e)?e:[e];let l=Array.isArray(i)?i:[i];l=l.filter((e=>null!=e));const[u,c]=(0,o.useState)((()=>s.map(((e,t)=>({media:e,matches:n?!!l[t]:a().matchMedia(e).matches})))));return(0,o.useEffect)((()=>{const e=a();c(s.map((t=>({media:t,matches:e.matchMedia(t).matches}))));const t=s.map((t=>e.matchMedia(t))),n=e=>{c((t=>t.slice().map((t=>t.media===e.media?{...t,matches:e.matches}:t))))};return t.forEach((e=>{"function"===typeof e.addListener?e.addListener(n):e.addEventListener("change",n)})),()=>{t.forEach((e=>{"function"===typeof e.removeListener?e.removeListener(n):e.removeEventListener("change",n)}))}}),[a]),u.map((e=>e.matches))}},36336:(e,t,n)=>{"use strict";n.d(t,{L:()=>a});var r=n(95246),o=n(22127),i=n(70579);function a(e){const{children:t,ssr:n}=e,a=(0,o.I)(e);return(0,i.jsx)(r.b,{breakpoint:a,hide:!0,ssr:n,children:t})}a.displayName="Hide"},22127:(e,t,n)=>{"use strict";n.d(t,{I:()=>i});var r=n(3993),o=(e,t)=>{var n,r;return null!=(r=null==(n=null==e?void 0:e.breakpoints)?void 0:n[t])?r:t};function i(e){const{breakpoint:t="",below:n,above:i}=e,a=(0,r.D)(),s=o(a,n),l=o(a,i);let u=t;return s?u=`(max-width: ${s})`:l&&(u=`(min-width: ${l})`),u}},95246:(e,t,n)=>{"use strict";n.d(t,{b:()=>o});var r=n(54432);function o(e){const{breakpoint:t,hide:n,children:o,ssr:i}=e,[a]=(0,r.U)(t,{ssr:i});return(n?!a:a)?o:null}},54182:(e,t,n)=>{"use strict";n.d(t,{w:()=>a});var r=n(95246),o=n(22127),i=n(70579);function a(e){const{children:t,ssr:n}=e,a=(0,o.I)(e);return(0,i.jsx)(r.b,{breakpoint:a,ssr:n,children:t})}a.displayName="Show"},9329:(e,t,n)=>{"use strict";n.d(t,{Xu:()=>w,BV:()=>E,b:()=>T,db:()=>A,KZ:()=>_,Os:()=>D,jy:()=>O,F9:()=>z});var r=n(65043);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{timeout:t=300,preventDefault:n=()=>!0}=e,[o,i]=(0,r.useState)([]),a=(0,r.useRef)(),s=()=>{a.current&&(clearTimeout(a.current),a.current=null)};return(0,r.useEffect)((()=>s),[]),function(e){return r=>{if("Backspace"===r.key){const e=[...o];return e.pop(),void i(e)}if(function(e){const{key:t}=e;return 1===t.length||t.length>1&&/[^a-zA-Z0-9]/.test(t)}(r)){const l=o.concat(r.key);n(r)&&(r.preventDefault(),r.stopPropagation()),i(l),e(l.join("")),s(),a.current=setTimeout((()=>{i([]),a.current=null}),t)}}}}var i=n(17926),a=n(69323),s=n(55376),l=n(24688),u=n(35204);function c(e,t){const{shouldFocus:n,visible:r,focusRef:o}=t,i=n&&!r;(0,u.w)((()=>{if(!i)return;if(function(e){const t=e.current;if(!t)return!1;const n=(0,s.bq)(t);return!!n&&!t.contains(n)&&!!(0,l.AO)(n)}(e))return;const t=(null==o?void 0:o.current)||e.current;let n;return t?(n=requestAnimationFrame((()=>{t.focus({preventScroll:!0})})),()=>{cancelAnimationFrame(n)}):void 0}),[i,e,o])}var d=n(62689),f=n(35110),h=n(92900);function p(e,t){var n;const r=e.target;if(r){if(!m(r).contains(r))return!1}return!(null==(n=t.current)?void 0:n.contains(r))}function m(e){var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document}var g=n(73100);var v=n(67852),y=n(74554),b=n(24133),x=n(90013),[w,S,k,C]=(0,a.D)(),[E,_]=(0,v.q)({strict:!1,name:"MenuContext"});function P(e){var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document}function j(e){return P(e).activeElement===e}function T(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{id:t,closeOnSelect:n=!0,closeOnBlur:o=!0,initialFocusRef:i,autoSelect:a=!0,isLazy:l,isOpen:v,defaultIsOpen:y,onClose:b,onOpen:x,placement:w="bottom-start",lazyBehavior:S="unmount",direction:C,computePositionOnMount:E=!1,..._}=e,j=(0,r.useRef)(null),T=(0,r.useRef)(null),A=k(),R=(0,r.useCallback)((()=>{requestAnimationFrame((()=>{var e;null==(e=j.current)||e.focus({preventScroll:!1})}))}),[]),O=(0,r.useCallback)((()=>{const e=setTimeout((()=>{var e;if(i)null==(e=i.current)||e.focus();else{const e=A.firstEnabled();e&&I(e.index)}}));q.current.add(e)}),[A,i]),z=(0,r.useCallback)((()=>{const e=setTimeout((()=>{const e=A.lastEnabled();e&&I(e.index)}));q.current.add(e)}),[A]),D=(0,r.useCallback)((()=>{null==x||x(),a?O():R()}),[a,O,R,x]),{isOpen:F,onOpen:B,onClose:M,onToggle:L}=(0,f.j)({isOpen:v,defaultIsOpen:y,onClose:b,onOpen:D});!function(e){const{ref:t,handler:n,enabled:o=!0}=e,i=(0,h.c)(n),a=(0,r.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}).current;(0,r.useEffect)((()=>{if(!o)return;const e=e=>{p(e,t)&&(a.isPointerDown=!0)},r=e=>{a.ignoreEmulatedMouseEvents?a.ignoreEmulatedMouseEvents=!1:a.isPointerDown&&n&&p(e,t)&&(a.isPointerDown=!1,i(e))},s=e=>{a.ignoreEmulatedMouseEvents=!0,n&&a.isPointerDown&&p(e,t)&&(a.isPointerDown=!1,i(e))},l=m(t.current);return l.addEventListener("mousedown",e,!0),l.addEventListener("mouseup",r,!0),l.addEventListener("touchstart",e,!0),l.addEventListener("touchend",s,!0),()=>{l.removeEventListener("mousedown",e,!0),l.removeEventListener("mouseup",r,!0),l.removeEventListener("touchstart",e,!0),l.removeEventListener("touchend",s,!0)}}),[n,t,i,a,o])}({enabled:F&&o,ref:j,handler:e=>{var t;(null==(t=T.current)?void 0:t.contains(e.target))||M()}});const N=(0,d.E)({..._,enabled:F||E,placement:w,direction:C}),[$,I]=(0,r.useState)(-1);(0,u.w)((()=>{F||I(-1)}),[F]),c(j,{focusRef:T,visible:F,shouldFocus:!0});const V=function(e){const{isOpen:t,ref:n}=e,[o,i]=(0,r.useState)(t),[a,l]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{a||(i(t),l(!0))}),[t,a,o]),(0,g.M)((()=>n.current),"animationend",(()=>{i(t)})),{present:!(!t&&!o),onComplete(){var e;const t=new((0,s.mD)(n.current).CustomEvent)("animationend",{bubbles:!0});null==(e=n.current)||e.dispatchEvent(t)}}}({isOpen:F,ref:j}),[H,U]=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];const i=(0,r.useId)(),a=e||i;return(0,r.useMemo)((()=>n.map((e=>`${e}-${a}`))),[a,n])}(t,"menu-button","menu-list"),W=(0,r.useCallback)((()=>{B(),R()}),[B,R]),q=(0,r.useRef)(new Set([]));(0,r.useEffect)((()=>{const e=q.current;return()=>{e.forEach((e=>clearTimeout(e))),e.clear()}}),[]);const G=(0,r.useCallback)((()=>{B(),O()}),[O,B]),K=(0,r.useCallback)((()=>{B(),z()}),[B,z]),Q=(0,r.useCallback)((()=>{var e,t;const n=P(j.current),r=null==(e=j.current)?void 0:e.contains(n.activeElement);if(!(F&&!r))return;const o=null==(t=A.item($))?void 0:t.node;null==o||o.focus({preventScroll:!0})}),[F,$,A]),Y=(0,r.useRef)(null);return{openAndFocusMenu:W,openAndFocusFirstItem:G,openAndFocusLastItem:K,onTransitionEnd:Q,unstable__animationState:V,descendants:A,popper:N,buttonId:H,menuId:U,forceUpdate:N.forceUpdate,orientation:"vertical",isOpen:F,onToggle:L,onOpen:B,onClose:M,menuRef:j,buttonRef:T,focusedIndex:$,closeOnSelect:n,closeOnBlur:o,autoSelect:a,setFocusedIndex:I,isLazy:l,lazyBehavior:S,initialFocusRef:i,rafId:Y}}function A(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=_(),{onToggle:o,popper:i,openAndFocusFirstItem:a,openAndFocusLastItem:s}=n,l=(0,r.useCallback)((e=>{const t=e.key,n={Enter:a,ArrowDown:a,ArrowUp:s}[t];n&&(e.preventDefault(),e.stopPropagation(),n(e))}),[a,s]);return{...e,ref:(0,y.Px)(n.buttonRef,t,i.referenceRef),id:n.buttonId,"data-active":(0,b.sE)(n.isOpen),"aria-expanded":n.isOpen,"aria-haspopup":"menu","aria-controls":n.menuId,onClick:(0,b.Hj)(e.onClick,o),onKeyDown:(0,b.Hj)(e.onKeyDown,l)}}function R(e){var t;return function(e){var t;if(!function(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}(e))return!1;const n=null!=(t=e.ownerDocument.defaultView)?t:window;return e instanceof n.HTMLElement}(e)&&!!(null==(t=null==e?void 0:e.getAttribute("role"))?void 0:t.startsWith("menuitem"))}function O(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=_();if(!n)throw new Error("useMenuContext: context is undefined. Seems you forgot to wrap component within <Menu>");const{focusedIndex:i,setFocusedIndex:a,menuRef:s,isOpen:l,onClose:u,menuId:c,isLazy:d,lazyBehavior:f,unstable__animationState:h}=n,p=S(),m=o({preventDefault:e=>" "!==e.key&&R(e.target)}),g=(0,r.useCallback)((e=>{if(!e.currentTarget.contains(e.target))return;const t=e.key,n={Tab:e=>e.preventDefault(),Escape:u,ArrowDown:()=>{const e=p.nextEnabled(i);e&&a(e.index)},ArrowUp:()=>{const e=p.prevEnabled(i);e&&a(e.index)}}[t];if(n)return e.preventDefault(),void n(e);const r=m((e=>{const t=function(e,t,n,r){if(null==t)return r;if(!r)return e.find((e=>n(e).toLowerCase().startsWith(t.toLowerCase())));const o=e.filter((e=>n(e).toLowerCase().startsWith(t.toLowerCase())));if(o.length>0){let t;return o.includes(r)?(t=o.indexOf(r)+1,t===o.length&&(t=0),o[t]):(t=e.indexOf(o[0]),e[t])}return r}(p.values(),e,(e=>{var t,n;return null!=(n=null==(t=null==e?void 0:e.node)?void 0:t.textContent)?n:""}),p.item(i));if(t){const e=p.indexOf(t.node);a(e)}}));R(e.target)&&r(e)}),[p,i,m,u,a]),v=(0,r.useRef)(!1);l&&(v.current=!0);const w=(0,x.q)({wasSelected:v.current,enabled:d,mode:f,isSelected:h.present});return{...e,ref:(0,y.Px)(s,t),children:w?e.children:null,tabIndex:-1,role:"menu",id:c,style:{...e.style,transformOrigin:"var(--popper-transform-origin)"},"aria-orientation":"vertical",onKeyDown:(0,b.Hj)(e.onKeyDown,g)}}function z(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{popper:t,isOpen:n}=_();return t.getPopperProps({...e,style:{visibility:n?"visible":"hidden",...e.style}})}function D(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const{onMouseEnter:n,onMouseMove:o,onMouseLeave:a,onClick:s,onFocus:l,isDisabled:c,isFocusable:d,closeOnSelect:f,type:h,...p}=e,m=_(),{setFocusedIndex:g,focusedIndex:v,closeOnSelect:b,onClose:x,menuRef:w,isOpen:S,menuId:k,rafId:E}=m,P=(0,r.useRef)(null),T=`${k}-menuitem-${(0,r.useId)()}`,{index:A,register:O}=C({disabled:c&&!d}),z=(0,r.useCallback)((e=>{null==n||n(e),c||g(A)}),[g,A,c,n]),D=(0,r.useCallback)((e=>{null==o||o(e),P.current&&!j(P.current)&&z(e)}),[z,o]),F=(0,r.useCallback)((e=>{null==a||a(e),c||g(-1)}),[g,c,a]),B=(0,r.useCallback)((e=>{null==s||s(e),R(e.currentTarget)&&(null!=f?f:b)&&x()}),[x,s,b,f]),M=(0,r.useCallback)((e=>{null==l||l(e),g(A)}),[g,l,A]),L=A===v,N=c&&!d;(0,u.w)((()=>{if(S)return L&&!N&&P.current?(E.current&&cancelAnimationFrame(E.current),E.current=requestAnimationFrame((()=>{var e;null==(e=P.current)||e.focus({preventScroll:!0}),E.current=null}))):w.current&&!j(w.current)&&w.current.focus({preventScroll:!0}),()=>{E.current&&cancelAnimationFrame(E.current)}}),[L,N,w,S]);const $=(0,i.I)({onClick:B,onFocus:M,onMouseEnter:z,onMouseMove:D,onMouseLeave:F,ref:(0,y.Px)(O,P,t),isDisabled:c,isFocusable:d});return{...p,...$,type:null!=h?h:$.type,id:T,role:"menuitem",tabIndex:L?0:-1}}},98151:(e,t,n)=>{"use strict";n.d(t,{$:()=>f,W:()=>h});var r=n(9329),o=n(67852),i=n(73761),a=n(57349),s=n(3993),l=n(24133),u=n(65043),c=n(70579),[d,f]=(0,o.q)({name:"MenuStylesContext",errorMessage:"useMenuStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Menu />\" "}),h=e=>{const{children:t}=e,n=(0,i.o5)("Menu",e),o=(0,a.MN)(e),{direction:f}=(0,s.D)(),{descendants:h,...p}=(0,r.b)({...o,direction:f}),m=(0,u.useMemo)((()=>p),[p]),{isOpen:g,onClose:v,forceUpdate:y}=m;return(0,c.jsx)(r.Xu,{value:h,children:(0,c.jsx)(r.BV,{value:m,children:(0,c.jsx)(d,{value:n,children:(0,l.Jg)(t,{isOpen:g,onClose:v,forceUpdate:y})})})})};h.displayName="Menu"},67918:(e,t,n)=>{"use strict";n.d(t,{I:()=>c});var r=n(98151),o=n(9329),i=n(23226),a=n(14550),s=n(24133),l=n(70579),u=(0,i.R)(((e,t)=>{const n=(0,r.$)();return(0,l.jsx)(a.B.button,{ref:t,...e,__css:{display:"inline-flex",appearance:"none",alignItems:"center",outline:0,...n.button}})})),c=(0,i.R)(((e,t)=>{const{children:n,as:r,...i}=e,c=(0,o.db)(i,t),d=r||u;return(0,l.jsx)(d,{...c,className:(0,s.cx)("chakra-menu__menu-button",e.className),children:(0,l.jsx)(a.B.span,{__css:{pointerEvents:"none",flex:"1 1 auto",minW:0},children:e.children})})}));c.displayName="MenuButton"},24133:(e,t,n)=>{"use strict";n.d(t,{Hj:()=>s,Jg:()=>o,OK:()=>l,cx:()=>r,sE:()=>a});var r=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")};function o(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return i(e)?e(...n):e}var i=e=>"function"===typeof e,a=e=>e?"":void 0;function s(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.some((t=>(null==t||t(e),null==e?void 0:e.defaultPrevented)))}}function l(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach((t=>{null==t||t(e)}))}}},45049:(e,t,n)=>{"use strict";function r(e){const t=Object.assign({},e);for(let n in t)void 0===t[n]&&delete t[n];return t}n.d(t,{o:()=>r})},39701:(e,t,n)=>{"use strict";n.d(t,{Fs:()=>u,Ky:()=>i,O3:()=>o,ed:()=>s});var r=(e,t)=>({var:e,varRef:t?`var(${e}, ${t})`:`var(${e})`}),o={arrowShadowColor:r("--popper-arrow-shadow-color"),arrowSize:r("--popper-arrow-size","8px"),arrowSizeHalf:r("--popper-arrow-size-half"),arrowBg:r("--popper-arrow-bg"),transformOrigin:r("--popper-transform-origin"),arrowOffset:r("--popper-arrow-offset")};function i(e){return e.includes("top")?"1px 1px 0px 0 var(--popper-arrow-shadow-color)":e.includes("bottom")?"-1px -1px 0px 0 var(--popper-arrow-shadow-color)":e.includes("right")?"-1px 1px 0px 0 var(--popper-arrow-shadow-color)":e.includes("left")?"1px -1px 0px 0 var(--popper-arrow-shadow-color)":void 0}var a={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},s=e=>a[e],l={scroll:!0,resize:!0};function u(e){let t;return t="object"===typeof e?{enabled:!0,options:{...l,...e}}:{enabled:e,options:l},t}},62689:(e,t,n)=>{"use strict";n.d(t,{E:()=>Te});var r=n(39701),o={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:e=>{let{state:t}=e;t.styles.popper.width=`${t.rects.reference.width}px`},effect:e=>{let{state:t}=e;return()=>{const e=t.elements.reference;t.elements.popper.style.width=`${e.offsetWidth}px`}}},i={name:"transformOrigin",enabled:!0,phase:"write",fn:e=>{let{state:t}=e;a(t)},effect:e=>{let{state:t}=e;return()=>{a(t)}}},a=e=>{e.elements.popper.style.setProperty(r.O3.transformOrigin.var,(0,r.ed)(e.placement))},s={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:e=>{let{state:t}=e;l(t)}},l=e=>{var t;if(!e.placement)return;const n=u(e.placement);if((null==(t=e.elements)?void 0:t.arrow)&&n){Object.assign(e.elements.arrow.style,{[n.property]:n.value,width:r.O3.arrowSize.varRef,height:r.O3.arrowSize.varRef,zIndex:-1});const t={[r.O3.arrowSizeHalf.var]:`calc(${r.O3.arrowSize.varRef} / 2 - 1px)`,[r.O3.arrowOffset.var]:`calc(${r.O3.arrowSizeHalf.varRef} * -1)`};for(const n in t)e.elements.arrow.style.setProperty(n,t[n])}},u=e=>e.startsWith("top")?{property:"bottom",value:r.O3.arrowOffset.varRef}:e.startsWith("bottom")?{property:"top",value:r.O3.arrowOffset.varRef}:e.startsWith("left")?{property:"right",value:r.O3.arrowOffset.varRef}:e.startsWith("right")?{property:"left",value:r.O3.arrowOffset.varRef}:void 0,c={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:e=>{let{state:t}=e;d(t)},effect:e=>{let{state:t}=e;return()=>{d(t)}}},d=e=>{if(!e.elements.arrow)return;const t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");if(!t)return;const n=(0,r.Ky)(e.placement);n&&t.style.setProperty("--popper-arrow-default-shadow",n),Object.assign(t.style,{transform:"rotate(45deg)",background:r.O3.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:"var(--popper-arrow-shadow, var(--popper-arrow-default-shadow))"})},f={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},h={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};var p=n(74554);function m(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function g(e){return e instanceof m(e).Element||e instanceof Element}function v(e){return e instanceof m(e).HTMLElement||e instanceof HTMLElement}function y(e){return"undefined"!==typeof ShadowRoot&&(e instanceof m(e).ShadowRoot||e instanceof ShadowRoot)}var b=Math.max,x=Math.min,w=Math.round;function S(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function k(){return!/^((?!chrome|android).)*safari/i.test(S())}function C(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&v(e)&&(o=e.offsetWidth>0&&w(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&w(r.height)/e.offsetHeight||1);var a=(g(e)?m(e):window).visualViewport,s=!k()&&n,l=(r.left+(s&&a?a.offsetLeft:0))/o,u=(r.top+(s&&a?a.offsetTop:0))/i,c=r.width/o,d=r.height/i;return{width:c,height:d,top:u,right:l+c,bottom:u+d,left:l,x:l,y:u}}function E(e){var t=m(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function _(e){return e?(e.nodeName||"").toLowerCase():null}function P(e){return((g(e)?e.ownerDocument:e.document)||window.document).documentElement}function j(e){return C(P(e)).left+E(e).scrollLeft}function T(e){return m(e).getComputedStyle(e)}function A(e){var t=T(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function R(e,t,n){void 0===n&&(n=!1);var r=v(t),o=v(t)&&function(e){var t=e.getBoundingClientRect(),n=w(t.width)/e.offsetWidth||1,r=w(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),i=P(t),a=C(e,o,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==_(t)||A(i))&&(s=function(e){return e!==m(e)&&v(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:E(e);var t}(t)),v(t)?((l=C(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=j(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function O(e){var t=C(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function z(e){return"html"===_(e)?e:e.assignedSlot||e.parentNode||(y(e)?e.host:null)||P(e)}function D(e){return["html","body","#document"].indexOf(_(e))>=0?e.ownerDocument.body:v(e)&&A(e)?e:D(z(e))}function F(e,t){var n;void 0===t&&(t=[]);var r=D(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=m(r),a=o?[i].concat(i.visualViewport||[],A(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(F(z(a)))}function B(e){return["table","td","th"].indexOf(_(e))>=0}function M(e){return v(e)&&"fixed"!==T(e).position?e.offsetParent:null}function L(e){for(var t=m(e),n=M(e);n&&B(n)&&"static"===T(n).position;)n=M(n);return n&&("html"===_(n)||"body"===_(n)&&"static"===T(n).position)?t:n||function(e){var t=/firefox/i.test(S());if(/Trident/i.test(S())&&v(e)&&"fixed"===T(e).position)return null;var n=z(e);for(y(n)&&(n=n.host);v(n)&&["html","body"].indexOf(_(n))<0;){var r=T(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var N="top",$="bottom",I="right",V="left",H="auto",U=[N,$,I,V],W="start",q="end",G="viewport",K="popper",Q=U.reduce((function(e,t){return e.concat([t+"-"+W,t+"-"+q])}),[]),Y=[].concat(U,[H]).reduce((function(e,t){return e.concat([t,t+"-"+W,t+"-"+q])}),[]),X=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Z(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function J(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var ee={placement:"bottom",modifiers:[],strategy:"absolute"};function te(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function ne(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?ee:o;return function(e,t,n){void 0===n&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},ee,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],s=!1,l={state:o,setOptions:function(n){var s="function"===typeof n?n(o.options):n;u(),o.options=Object.assign({},i,o.options,s),o.scrollParents={reference:g(e)?F(e):e.contextElement?F(e.contextElement):[],popper:F(t)};var c=function(e){var t=Z(e);return X.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,o.options.modifiers)));return o.orderedModifiers=c.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"===typeof i){var s=i({state:o,name:t,instance:l,options:r}),u=function(){};a.push(s||u)}})),l.update()},forceUpdate:function(){if(!s){var e=o.elements,t=e.reference,n=e.popper;if(te(t,n)){o.rects={reference:R(t,L(n),"fixed"===o.options.strategy),popper:O(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var i=o.orderedModifiers[r],a=i.fn,u=i.options,c=void 0===u?{}:u,d=i.name;"function"===typeof a&&(o=a({state:o,options:c,name:d,instance:l})||o)}else o.reset=!1,r=-1}}},update:J((function(){return new Promise((function(e){l.forceUpdate(),e(o)}))})),destroy:function(){u(),s=!0}};if(!te(e,t))return l;function u(){a.forEach((function(e){return e()})),a=[]}return l.setOptions(n).then((function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var re={passive:!0};function oe(e){return e.split("-")[0]}function ie(e){return e.split("-")[1]}function ae(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function se(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?oe(o):null,a=o?ie(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case N:t={x:s,y:n.y-r.height};break;case $:t={x:s,y:n.y+n.height};break;case I:t={x:n.x+n.width,y:l};break;case V:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var u=i?ae(i):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case W:t[u]=t[u]-(n[c]/2-r[c]/2);break;case q:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}var le={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ue(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,f=a.x,h=void 0===f?0:f,p=a.y,g=void 0===p?0:p,v="function"===typeof c?c({x:h,y:g}):{x:h,y:g};h=v.x,g=v.y;var y=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),x=V,S=N,k=window;if(u){var C=L(n),E="clientHeight",_="clientWidth";if(C===m(n)&&"static"!==T(C=P(n)).position&&"absolute"===s&&(E="scrollHeight",_="scrollWidth"),o===N||(o===V||o===I)&&i===q)S=$,g-=(d&&C===k&&k.visualViewport?k.visualViewport.height:C[E])-r.height,g*=l?1:-1;if(o===V||(o===N||o===$)&&i===q)x=I,h-=(d&&C===k&&k.visualViewport?k.visualViewport.width:C[_])-r.width,h*=l?1:-1}var j,A=Object.assign({position:s},u&&le),R=!0===c?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:w(n*o)/o||0,y:w(r*o)/o||0}}({x:h,y:g},m(n)):{x:h,y:g};return h=R.x,g=R.y,l?Object.assign({},A,((j={})[S]=b?"0":"",j[x]=y?"0":"",j.transform=(k.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",j)):Object.assign({},A,((t={})[S]=b?g+"px":"",t[x]=y?h+"px":"",t.transform="",t))}const ce={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=Y.reduce((function(e,n){return e[n]=function(e,t,n){var r=oe(e),o=[V,N].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[V,I].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}};var de={left:"right",right:"left",bottom:"top",top:"bottom"};function fe(e){return e.replace(/left|right|bottom|top/g,(function(e){return de[e]}))}var he={start:"end",end:"start"};function pe(e){return e.replace(/start|end/g,(function(e){return he[e]}))}function me(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&y(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ge(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ve(e,t,n){return t===G?ge(function(e,t){var n=m(e),r=P(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var u=k();(u||!u&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+j(e),y:l}}(e,n)):g(t)?function(e,t){var n=C(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):ge(function(e){var t,n=P(e),r=E(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=b(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=b(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+j(e),l=-r.scrollTop;return"rtl"===T(o||n).direction&&(s+=b(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(P(e)))}function ye(e,t,n,r){var o="clippingParents"===t?function(e){var t=F(z(e)),n=["absolute","fixed"].indexOf(T(e).position)>=0&&v(e)?L(e):e;return g(n)?t.filter((function(e){return g(e)&&me(e,n)&&"body"!==_(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce((function(t,n){var o=ve(e,n,r);return t.top=b(o.top,t.top),t.right=x(o.right,t.right),t.bottom=x(o.bottom,t.bottom),t.left=b(o.left,t.left),t}),ve(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function be(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function xe(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function we(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,s=n.boundary,l=void 0===s?"clippingParents":s,u=n.rootBoundary,c=void 0===u?G:u,d=n.elementContext,f=void 0===d?K:d,h=n.altBoundary,p=void 0!==h&&h,m=n.padding,v=void 0===m?0:m,y=be("number"!==typeof v?v:xe(v,U)),b=f===K?"reference":K,x=e.rects.popper,w=e.elements[p?b:f],S=ye(g(w)?w:w.contextElement||P(e.elements.popper),l,c,a),k=C(e.elements.reference),E=se({reference:k,element:x,strategy:"absolute",placement:o}),_=ge(Object.assign({},x,E)),j=f===K?_:k,T={top:S.top-j.top+y.top,bottom:j.bottom-S.bottom+y.bottom,left:S.left-j.left+y.left,right:j.right-S.right+y.right},A=e.modifiersData.offset;if(f===K&&A){var R=A[o];Object.keys(T).forEach((function(e){var t=[I,$].indexOf(e)>=0?1:-1,n=[N,$].indexOf(e)>=0?"y":"x";T[e]+=R[n]*t}))}return T}function Se(e,t,n){return b(e,x(t,n))}const ke={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,f=n.tether,h=void 0===f||f,p=n.tetherOffset,m=void 0===p?0:p,g=we(t,{boundary:l,rootBoundary:u,padding:d,altBoundary:c}),v=oe(t.placement),y=ie(t.placement),w=!y,S=ae(v),k="x"===S?"y":"x",C=t.modifiersData.popperOffsets,E=t.rects.reference,_=t.rects.popper,P="function"===typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,j="number"===typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,A={x:0,y:0};if(C){if(i){var R,z="y"===S?N:V,D="y"===S?$:I,F="y"===S?"height":"width",B=C[S],M=B+g[z],H=B-g[D],U=h?-_[F]/2:0,q=y===W?E[F]:_[F],G=y===W?-_[F]:-E[F],K=t.elements.arrow,Q=h&&K?O(K):{width:0,height:0},Y=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=Y[z],Z=Y[D],J=Se(0,E[F],Q[F]),ee=w?E[F]/2-U-J-X-j.mainAxis:q-J-X-j.mainAxis,te=w?-E[F]/2+U+J+Z+j.mainAxis:G+J+Z+j.mainAxis,ne=t.elements.arrow&&L(t.elements.arrow),re=ne?"y"===S?ne.clientTop||0:ne.clientLeft||0:0,se=null!=(R=null==T?void 0:T[S])?R:0,le=B+te-se,ue=Se(h?x(M,B+ee-se-re):M,B,h?b(H,le):H);C[S]=ue,A[S]=ue-B}if(s){var ce,de="x"===S?N:V,fe="x"===S?$:I,he=C[k],pe="y"===k?"height":"width",me=he+g[de],ge=he-g[fe],ve=-1!==[N,V].indexOf(v),ye=null!=(ce=null==T?void 0:T[k])?ce:0,be=ve?me:he-E[pe]-_[pe]-ye+j.altAxis,xe=ve?he+E[pe]+_[pe]-ye-j.altAxis:ge,ke=h&&ve?function(e,t,n){var r=Se(e,t,n);return r>n?n:r}(be,he,xe):Se(h?be:me,he,h?xe:ge);C[k]=ke,A[k]=ke-he}t.modifiersData[r]=A}},requiresIfExists:["offset"]};const Ce={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=oe(n.placement),l=ae(s),u=[V,I].indexOf(s)>=0?"height":"width";if(i&&a){var c=function(e,t){return be("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:xe(e,U))}(o.padding,n),d=O(i),f="y"===l?N:V,h="y"===l?$:I,p=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],m=a[l]-n.rects.reference[l],g=L(i),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=p/2-m/2,b=c[f],x=v-d[u]-c[h],w=v/2-d[u]/2+y,S=Se(b,w,x),k=l;n.modifiersData[r]=((t={})[k]=S,t.centerOffset=S-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&me(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ee(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function _e(e){return[N,I,$,V].some((function(t){return e[t]>=0}))}var Pe=ne({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,l=m(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,re)})),s&&l.addEventListener("resize",n.update,re),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,re)})),s&&l.removeEventListener("resize",n.update,re)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=se({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,u={placement:oe(t.placement),variation:ie(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ue(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ue(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];v(o)&&_(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});v(r)&&_(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},ce,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,h=n.flipVariations,p=void 0===h||h,m=n.allowedAutoPlacements,g=t.options.placement,v=oe(g),y=l||(v===g||!p?[fe(g)]:function(e){if(oe(e)===H)return[];var t=fe(e);return[pe(e),t,pe(t)]}(g)),b=[g].concat(y).reduce((function(e,n){return e.concat(oe(n)===H?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?Y:l,c=ie(r),d=c?s?Q:Q.filter((function(e){return ie(e)===c})):U,f=d.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=d);var h=f.reduce((function(t,n){return t[n]=we(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[oe(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:p,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,w=t.rects.popper,S=new Map,k=!0,C=b[0],E=0;E<b.length;E++){var _=b[E],P=oe(_),j=ie(_)===W,T=[N,$].indexOf(P)>=0,A=T?"width":"height",R=we(t,{placement:_,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),O=T?j?I:V:j?$:N;x[A]>w[A]&&(O=fe(O));var z=fe(O),D=[];if(i&&D.push(R[P]<=0),s&&D.push(R[O]<=0,R[z]<=0),D.every((function(e){return e}))){C=_,k=!1;break}S.set(_,D)}if(k)for(var F=function(e){var t=b.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},B=p?3:1;B>0;B--){if("break"===F(B))break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},ke,Ce,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=we(t,{elementContext:"reference"}),s=we(t,{altBoundary:!0}),l=Ee(a,r),u=Ee(s,o,i),c=_e(l),d=_e(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]}),je=n(65043);function Te(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{enabled:t=!0,modifiers:n,placement:a="bottom",strategy:l="absolute",arrowPadding:u=8,eventListeners:d=!0,offset:m,gutter:g=8,flip:v=!0,boundary:y="clippingParents",preventOverflow:b=!0,matchWidth:x,direction:w="ltr"}=e,S=(0,je.useRef)(null),k=(0,je.useRef)(null),C=(0,je.useRef)(null),E=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ltr";var n,r;const o=(null==(n=f[e])?void 0:n[t])||e;return"ltr"===t?o:null!=(r=h[e])?r:o}(a,w),_=(0,je.useRef)((()=>{})),P=(0,je.useCallback)((()=>{var e;t&&S.current&&k.current&&(null==(e=_.current)||e.call(_),C.current=Pe(S.current,k.current,{placement:E,modifiers:[c,s,i,{...o,enabled:!!x},{name:"eventListeners",...(0,r.Fs)(d)},{name:"arrow",options:{padding:u}},{name:"offset",options:{offset:null!=m?m:[0,g]}},{name:"flip",enabled:!!v,options:{padding:8}},{name:"preventOverflow",enabled:!!b,options:{boundary:y}},...null!=n?n:[]],strategy:l}),C.current.forceUpdate(),_.current=C.current.destroy)}),[E,t,n,x,d,u,m,g,v,b,y,l]);(0,je.useEffect)((()=>()=>{var e;S.current||k.current||(null==(e=C.current)||e.destroy(),C.current=null)}),[]);const j=(0,je.useCallback)((e=>{S.current=e,P()}),[P]),T=(0,je.useCallback)((function(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},ref:(0,p.Px)(j,e)}}),[j]),A=(0,je.useCallback)((e=>{k.current=e,P()}),[P]),R=(0,je.useCallback)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{...e,ref:(0,p.Px)(A,t),style:{...e.style,position:l,minWidth:x?void 0:"max-content",inset:"0 auto auto 0"}}}),[l,A,x]),O=(0,je.useCallback)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const{size:n,shadowColor:r,bg:o,style:i,...a}=e;return{...a,ref:t,"data-popper-arrow":"",style:Ae(e)}}),[]),z=(0,je.useCallback)((function(){return{...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},ref:arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,"data-popper-arrow-inner":""}}),[]);return{update(){var e;null==(e=C.current)||e.update()},forceUpdate(){var e;null==(e=C.current)||e.forceUpdate()},transformOrigin:r.O3.transformOrigin.varRef,referenceRef:j,popperRef:A,getPopperProps:R,getArrowProps:O,getArrowInnerProps:z,getReferenceProps:T}}function Ae(e){const{size:t,shadowColor:n,bg:r,style:o}=e,i={...o,position:"absolute"};return t&&(i["--popper-arrow-size"]=t),n&&(i["--popper-arrow-shadow-color"]=n),r&&(i["--popper-arrow-bg"]=r),i}},71635:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var r=n(98118),o=n(85739),i=n(67852),a=n(97950),s=n(65043),l=n(70579),[u,c]=(0,i.q)({strict:!1,name:"PortalContext"}),d="chakra-portal",f=e=>(0,l.jsx)("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),h=e=>{const{appendToParentPortal:t,children:n}=e,[i,h]=(0,s.useState)(null),p=(0,s.useRef)(null),[,m]=(0,s.useState)({});(0,s.useEffect)((()=>m({})),[]);const g=c(),v=(0,r.T)();(0,o.U)((()=>{if(!i)return;const e=i.ownerDocument,n=t&&null!=g?g:e.body;if(!n)return;p.current=e.createElement("div"),p.current.className=d,n.appendChild(p.current),m({});const r=p.current;return()=>{n.contains(r)&&n.removeChild(r)}}),[i]);const y=(null==v?void 0:v.zIndex)?(0,l.jsx)(f,{zIndex:null==v?void 0:v.zIndex,children:n}):n;return p.current?(0,a.createPortal)((0,l.jsx)(u,{value:p.current,children:y}),p.current):(0,l.jsx)("span",{ref:e=>{e&&h(e)}})},p=e=>{const{children:t,containerRef:n,appendToParentPortal:r}=e,i=n.current,c=null!=i?i:"undefined"!==typeof window?document.body:void 0,f=(0,s.useMemo)((()=>{const e=null==i?void 0:i.ownerDocument.createElement("div");return e&&(e.className=d),e}),[i]),[,h]=(0,s.useState)({});return(0,o.U)((()=>h({})),[]),(0,o.U)((()=>{if(f&&c)return c.appendChild(f),()=>{c.removeChild(f)}}),[f,c]),c&&f?(0,a.createPortal)((0,l.jsx)(u,{value:r?f:null,children:t}),f):null};function m(e){const t={appendToParentPortal:!0,...e},{containerRef:n,...r}=t;return n?(0,l.jsx)(p,{containerRef:n,...r}):(0,l.jsx)(h,{...r})}m.className=d,m.selector=".chakra-portal",m.displayName="Portal"},98118:(e,t,n)=>{"use strict";n.d(t,{T:()=>a,w:()=>s});var r=n(67852),o=n(70579),[i,a]=(0,r.q)({strict:!1,name:"PortalManagerContext"});function s(e){const{children:t,zIndex:n}=e;return(0,o.jsx)(i,{value:{zIndex:n},children:t})}s.displayName="PortalManager"},74202:(e,t,n)=>{"use strict";n.d(t,{a:()=>o});var r=n(65043);function o(e){return r.Children.toArray(e).filter((e=>(0,r.isValidElement)(e)))}},67852:(e,t,n)=>{"use strict";n.d(t,{q:()=>o});var r=n(65043);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{name:t,strict:n=!0,hookName:o="useContext",providerName:i="Provider",errorMessage:a,defaultValue:s}=e,l=(0,r.createContext)(s);return l.displayName=t,[l.Provider,function e(){var t;const s=(0,r.useContext)(l);if(!s&&n){const n=new Error(null!=a?a:`${o} returned \`undefined\`. Seems you forgot to wrap component within ${i}`);throw n.name="ContextError",null==(t=Error.captureStackTrace)||t.call(Error,n,e),n}return s},l]}},75692:(e,t,n)=>{"use strict";n.d(t,{O:()=>s,v:()=>l});var r=n(85739),o=n(65043),i=n(70579),a=(0,o.createContext)({getDocument:()=>document,getWindow:()=>window});function s(){let{defer:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[,t]=(0,o.useReducer)((e=>e+1),0);return(0,r.U)((()=>{e&&t()}),[e]),(0,o.useContext)(a)}function l(e){const{children:t,environment:n,disabled:r}=e,s=(0,o.useRef)(null),l=(0,o.useMemo)((()=>n||{getDocument:()=>{var e,t;return null!=(t=null==(e=s.current)?void 0:e.ownerDocument)?t:document},getWindow:()=>{var e,t;return null!=(t=null==(e=s.current)?void 0:e.ownerDocument.defaultView)?t:window}}),[n]),u=!r||!n;return(0,i.jsxs)(a.Provider,{value:l,children:[t,u&&(0,i.jsx)("span",{id:"__chakra_env",hidden:!0,ref:s})]})}a.displayName="EnvironmentContext",l.displayName="EnvironmentProvider"},92900:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});var r=n(65043);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=(0,r.useRef)(e);return(0,r.useEffect)((()=>{n.current=e})),(0,r.useCallback)((function(){for(var e,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return null==(e=n.current)?void 0:e.call(n,...r)}),t)}},35110:(e,t,n)=>{"use strict";n.d(t,{j:()=>i});var r=n(92900),o=n(65043);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{onClose:t,onOpen:n,isOpen:i,id:a}=e,s=(0,r.c)(n),l=(0,r.c)(t),[u,c]=(0,o.useState)(e.defaultIsOpen||!1),d=void 0!==i?i:u,f=void 0!==i,h=(0,o.useId)(),p=null!=a?a:`disclosure-${h}`,m=(0,o.useCallback)((()=>{f||c(!1),null==l||l()}),[f,l]),g=(0,o.useCallback)((()=>{f||c(!0),null==s||s()}),[f,s]),v=(0,o.useCallback)((()=>{d?m():g()}),[d,g,m]);return{isOpen:d,onOpen:g,onClose:m,onToggle:v,isControlled:f,getButtonProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,"aria-expanded":d,"aria-controls":p,onClick(t){var n;null==(n=e.onClick)||n.call(e,t),v()}}},getDisclosureProps:function(){return{...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},hidden:!d,id:p}}}}},73100:(e,t,n)=>{"use strict";n.d(t,{M:()=>i});var r=n(65043),o=n(92900);function i(e,t,n,i){const a=(0,o.c)(n);return(0,r.useEffect)((()=>{const r="function"===typeof e?e():null!=e?e:document;if(n&&r)return r.addEventListener(t,a,i),()=>{r.removeEventListener(t,a,i)}}),[t,e,i,a,n]),()=>{const n="function"===typeof e?e():null!=e?e:document;null==n||n.removeEventListener(t,a,i)}}},74554:(e,t,n)=>{"use strict";n.d(t,{Px:()=>o,SV:()=>i});var r=n(65043);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>{t.forEach((t=>{!function(e,t){if(null!=e)if("function"!==typeof e)try{e.current=t}catch(n){throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}else e(t)}(t,e)}))}}function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)((()=>o(...t)),t)}},85739:(e,t,n)=>{"use strict";n.d(t,{U:()=>o});var r=n(65043),o=Boolean(null==globalThis?void 0:globalThis.document)?r.useLayoutEffect:r.useEffect},35204:(e,t,n)=>{"use strict";n.d(t,{w:()=>o});var r=n(65043);function o(e,t){const n=(0,r.useRef)(!1),o=(0,r.useRef)(!1);(0,r.useEffect)((()=>{if(n.current&&o.current)return e();o.current=!0}),t),(0,r.useEffect)((()=>(n.current=!0,()=>{n.current=!1})),[])}},6116:(e,t,n)=>{"use strict";n.d(t,{y:()=>c});var r=n(83290),o=n(23226),i=n(73761),a=n(57349),s=n(14550);var l=n(70579),u=(0,r.i7)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),c=(0,o.R)(((e,t)=>{const n=(0,i.Vl)("Spinner",e),{label:r="Loading...",thickness:o="2px",speed:c="0.45s",emptyColor:d="transparent",className:f,...h}=(0,a.MN)(e),p=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")}("chakra-spinner",f),m={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:d,borderLeftColor:d,animation:`${u} ${c} linear infinite`,...n};return(0,l.jsx)(s.B.div,{ref:t,__css:m,className:p,...h,children:r&&(0,l.jsx)(s.B.span,{srOnly:!0,children:r})})}));c.displayName="Spinner"},57349:(e,t,n)=>{"use strict";n.d(t,{YU:()=>We,AH:()=>Ve,Vg:()=>oe,lL:()=>ie,H2:()=>He,Dt:()=>Ue,f4:()=>Qe,HU:()=>Le,GF:()=>Fe,MN:()=>Ye,q8:()=>Be,uB:()=>Ke,gd:()=>Oe});function r(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}function o(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return i(e)?e(...n):e}var i=e=>"function"===typeof e;var a=n(39611),s=e=>"string"===typeof e?e.replace(/!(important)?$/,"").trim():e;function l(e){const{scale:t,transform:n,compose:o}=e;return(e,i)=>{var a;const l=((e,t)=>n=>{const o=String(t),i=(e=>/!(important)?$/.test(e))(o),a=s(o),l=e?`${e}.${a}`:a;let u=r(n.__cssMap)&&l in n.__cssMap?n.__cssMap[l].varRef:t;return u=s(u),i?`${u} !important`:u})(t,e)(i);let u=null!=(a=null==n?void 0:n(l,i))?a:l;return o&&(u=o(u,i)),u}}var u=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>t.reduce(((e,t)=>t(e)),e)};function c(e,t){return n=>{const r={property:n,scale:e};return r.transform=l({scale:e,transform:t}),r}}var d=e=>{let{rtl:t,ltr:n}=e;return e=>"rtl"===e.direction?t:n};var f=["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))"];var h={"--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(" ")},p={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,/*!*/ /*!*/)"};var m={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},g={"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"},v=new Set(Object.values(g)),y=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),b=e=>e.trim();var x=e=>"string"===typeof e&&e.includes("(")&&e.includes(")");var w=e=>t=>`${e}(${t})`,S={filter:e=>"auto"!==e?e:h,backdropFilter:e=>"auto"!==e?e:p,ring:e=>function(e){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":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}(S.px(e)),bgClip:e=>"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e},transform:e=>"auto"===e?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...f].join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...f].join(" "):e,vh:e=>"$100vh"===e?"var(--chakra-vh)":e,px(e){if(null==e)return e;const{unitless:t}=(e=>{const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}})(e);return t||"number"===typeof e?`${e}px`:e},fraction:e=>"number"!==typeof e||e>1?e:100*e+"%",float:(e,t)=>"rtl"===t.direction?{left:"right",right:"left"}[e]:e,degree(e){if(function(e){return/^var\(--.+\)$/.test(e)}(e)||null==e)return e;const t="string"===typeof e&&!e.endsWith("deg");return"number"===typeof e||t?`${e}deg`:e},gradient:(e,t)=>function(e,t){if(null==e||y.has(e))return e;if(!x(e)&&!y.has(e))return`url('${e}')`;const n=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),r=null==n?void 0:n[1],o=null==n?void 0:n[2];if(!r||!o)return e;const i=r.includes("-gradient")?r:`${r}-gradient`,[a,...s]=o.split(",").map(b).filter(Boolean);if(0===(null==s?void 0:s.length))return e;const l=a in g?g[a]:a;return s.unshift(l),`${i}(${s.map((e=>{if(v.has(e))return e;const n=e.indexOf(" "),[r,o]=-1!==n?[e.substr(0,n),e.substr(n+1)]:[e],i=x(o)?o:o&&o.split(" "),a=`colors.${r}`,s=a in t.__cssMap?t.__cssMap[a].varRef:r;return i?[s,...Array.isArray(i)?i:[i]].join(" "):s})).join(", ")})`}(e,null!=t?t:{}),blur:w("blur"),opacity:w("opacity"),brightness:w("brightness"),contrast:w("contrast"),dropShadow:w("drop-shadow"),grayscale:w("grayscale"),hueRotate:e=>w("hue-rotate")(S.degree(e)),invert:w("invert"),saturate:w("saturate"),sepia:w("sepia"),bgImage(e){if(null==e)return e;return x(e)||y.has(e)?e:`url(${e})`},outline(e){const t="0"===String(e)||"none"===String(e);return null!==e&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var t;const{space:n,divide:r}=null!=(t=m[e])?t:{},o={flexDirection:e};return n&&(o[n]=1),r&&(o[r]=1),o}},k={borderWidths:c("borderWidths"),borderStyles:c("borderStyles"),colors:c("colors"),borders:c("borders"),gradients:c("gradients",S.gradient),radii:c("radii",S.px),space:c("space",u(S.vh,S.px)),spaceT:c("space",u(S.vh,S.px)),degreeT:e=>({property:e,transform:S.degree}),prop:(e,t,n)=>({property:e,scale:t,...t&&{transform:l({scale:t,transform:n})}}),propT:(e,t)=>({property:e,transform:t}),sizes:c("sizes",u(S.vh,S.px)),sizesT:c("sizes",u(S.vh,S.fraction)),shadows:c("shadows"),logical:function(e){const{property:t,scale:n,transform:r}=e;return{scale:n,property:d(t),transform:n?l({scale:n,compose:r}):r}},blur:c("blur",S.blur)},C={background:k.colors("background"),backgroundColor:k.colors("backgroundColor"),backgroundImage:k.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:S.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:S.bgClip}};Object.assign(C,{bgImage:C.backgroundImage,bgImg:C.backgroundImage});var E={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"])};Object.assign(E,{rounded:E.borderRadius,roundedTop:E.borderTopRadius,roundedTopLeft:E.borderTopLeftRadius,roundedTopRight:E.borderTopRightRadius,roundedTopStart:E.borderStartStartRadius,roundedTopEnd:E.borderStartEndRadius,roundedBottom:E.borderBottomRadius,roundedBottomLeft:E.borderBottomLeftRadius,roundedBottomRight:E.borderBottomRightRadius,roundedBottomStart:E.borderEndStartRadius,roundedBottomEnd:E.borderEndEndRadius,roundedLeft:E.borderLeftRadius,roundedRight:E.borderRightRadius,roundedStart:E.borderInlineStartRadius,roundedEnd:E.borderInlineEndRadius,borderStart:E.borderInlineStart,borderEnd:E.borderInlineEnd,borderTopStartRadius:E.borderStartStartRadius,borderTopEndRadius:E.borderStartEndRadius,borderBottomStartRadius:E.borderEndStartRadius,borderBottomEndRadius:E.borderEndEndRadius,borderStartRadius:E.borderInlineStartRadius,borderEndRadius:E.borderInlineEndRadius,borderStartWidth:E.borderInlineStartWidth,borderEndWidth:E.borderInlineEndWidth,borderStartColor:E.borderInlineStartColor,borderEndColor:E.borderInlineEndColor,borderStartStyle:E.borderInlineStartStyle,borderEndStyle:E.borderInlineEndStyle});var _={color:k.colors("color"),textColor:k.colors("color"),fill:k.colors("fill"),stroke:k.colors("stroke")},P={boxShadow:k.shadows("boxShadow"),mixBlendMode:!0,blendMode:k.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:k.prop("backgroundBlendMode"),opacity:!0};Object.assign(P,{shadow:P.boxShadow});var j={filter:{transform:S.filter},blur:k.blur("--chakra-blur"),brightness:k.propT("--chakra-brightness",S.brightness),contrast:k.propT("--chakra-contrast",S.contrast),hueRotate:k.propT("--chakra-hue-rotate",S.hueRotate),invert:k.propT("--chakra-invert",S.invert),saturate:k.propT("--chakra-saturate",S.saturate),dropShadow:k.propT("--chakra-drop-shadow",S.dropShadow),backdropFilter:{transform:S.backdropFilter},backdropBlur:k.blur("--chakra-backdrop-blur"),backdropBrightness:k.propT("--chakra-backdrop-brightness",S.brightness),backdropContrast:k.propT("--chakra-backdrop-contrast",S.contrast),backdropHueRotate:k.propT("--chakra-backdrop-hue-rotate",S.hueRotate),backdropInvert:k.propT("--chakra-backdrop-invert",S.invert),backdropSaturate:k.propT("--chakra-backdrop-saturate",S.saturate)},T={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:S.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(T,{flexDir:T.flexDirection});var A={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},R={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:S.outline},outlineOffset:!0,outlineColor:k.colors("outlineColor")},O={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:(e,t)=>{var n,r,o;const i=`@media screen and (min-width: ${null!=(o=null==(r=null==(n=t.__breakpoints)?void 0:n.get(e))?void 0:r.minW)?o:e})`;return{[i]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var n,r,o;const i=`@media screen and (max-width: ${null!=(o=null==(r=null==(n=t.__breakpoints)?void 0:n.get(e))?void 0:r._minW)?o:e})`;return{[i]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:k.propT("float",S.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(O,{w:O.width,h:O.height,minW:O.minWidth,maxW:O.maxWidth,minH:O.minHeight,maxH:O.maxHeight,overscroll:O.overscrollBehavior,overscrollX:O.overscrollBehaviorX,overscrollY:O.overscrollBehaviorY});var z={listStyleType:!0,listStylePosition:!0,listStylePos:k.prop("listStylePosition"),listStyleImage:!0,listStyleImg:k.prop("listStyleImage")};var D=(e=>{const t=new WeakMap;return(n,r,o,i)=>{if("undefined"===typeof n)return e(n,r,o);t.has(n)||t.set(n,new Map);const a=t.get(n);if(a.has(r))return a.get(r);const s=e(n,r,o,i);return a.set(r,s),s}})((function(e,t,n,r){const o="string"===typeof t?t.split("."):[t];for(r=0;r<o.length&&e;r+=1)e=e[o[r]];return void 0===e?n:e})),F={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},B={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},M=(e,t,n)=>{const r={},o=D(e,t,{});for(const i in o){i in n&&null!=n[i]||(r[i]=o[i])}return r},L={srOnly:{transform:e=>!0===e?F:"focusable"===e?B:{}},layerStyle:{processResult:!0,transform:(e,t,n)=>M(t,`layerStyles.${e}`,n)},textStyle:{processResult:!0,transform:(e,t,n)=>M(t,`textStyles.${e}`,n)},apply:{processResult:!0,transform:(e,t,n)=>M(t,e,n)}},N={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(N,{insetStart:N.insetInlineStart,insetEnd:N.insetInlineEnd});var $={ring:{transform:S.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")},I={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(I,{m:I.margin,mt:I.marginTop,mr:I.marginRight,me:I.marginInlineEnd,marginEnd:I.marginInlineEnd,mb:I.marginBottom,ml:I.marginLeft,ms:I.marginInlineStart,marginStart:I.marginInlineStart,mx:I.marginX,my:I.marginY,p:I.padding,pt:I.paddingTop,py:I.paddingY,px:I.paddingX,pb:I.paddingBottom,pl:I.paddingLeft,ps:I.paddingInlineStart,paddingStart:I.paddingInlineStart,pr:I.paddingRight,pe:I.paddingInlineEnd,paddingEnd:I.paddingInlineEnd});var V={textDecorationColor:k.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:k.shadows("textShadow")},H={clipPath:!0,transform:k.propT("transform",S.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")},U={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")},W={fontFamily:k.prop("fontFamily","fonts"),fontSize:k.prop("fontSize","fontSizes",S.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(e){if(!0===e)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},q={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"])};function G(e){return r(e)&&e.reference?e.reference:String(e)}var K=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.map(G).join(` ${e} `).replace(/calc/g,"")},Q=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return`calc(${K("+",...t)})`},Y=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return`calc(${K("-",...t)})`},X=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return`calc(${K("*",...t)})`},Z=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return`calc(${K("/",...t)})`},J=e=>{const t=G(e);return null==t||Number.isNaN(parseFloat(t))?X(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},ee=Object.assign((e=>({add:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return ee(Q(e,...n))},subtract:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return ee(Y(e,...n))},multiply:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return ee(X(e,...n))},divide:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return ee(Z(e,...n))},negate:()=>ee(J(e)),toString:()=>e.toString()})),{add:Q,subtract:Y,multiply:X,divide:Z,negate:J});function te(e){const t=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return e.replace(/\s+/g,t)}(e.toString());return function(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}(function(e){if(e.includes("\\."))return e;const t=!Number.isInteger(parseFloat(e.toString()));return t?e.replace(".","\\."):e}(t))}function ne(e,t){return`var(${e}${t?`, ${t}`:""})`}function re(e){return te(`--${function(e){return[arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",e].filter(Boolean).join("-")}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"")}`)}function oe(e,t,n){const r=re(e,n);return{variable:r,reference:ne(r,t)}}function ie(e,t){const n={};for(const r of t)if(Array.isArray(r)){const[t,o]=r;n[t]=oe(`${e}-${t}`,o)}else n[r]=oe(`${e}-${r}`);return n}function ae(e){const t=null==e?0:e.length;return t?e[t-1]:void 0}function se(e){if(null==e)return e;const{unitless:t}=function(e){const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}}(e);return t||"number"===typeof e?`${e}px`:e}var le=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,ue=e=>Object.fromEntries(Object.entries(e).sort(le));function ce(e){const t=ue(e);return Object.assign(Object.values(t),t)}function de(e){var t;if(!e)return e;e=null!=(t=se(e))?t:e;return"number"===typeof e?`${e+-.02}`:e.replace(/(\d+\.?\d*)/u,(e=>`${parseFloat(e)+-.02}`))}function fe(e,t){const n=["@media screen"];return e&&n.push("and",`(min-width: ${se(e)})`),t&&n.push("and",`(max-width: ${se(t)})`),n.join(" ")}function he(e){var t;if(!e)return null;e.base=null!=(t=e.base)?t:"0px";const n=ce(e),o=Object.entries(e).sort(le).map(((e,t,n)=>{let[r,o]=e;var i;let[,a]=null!=(i=n[t+1])?i:[];return a=parseFloat(a)>0?de(a):void 0,{_minW:de(o),breakpoint:r,minW:o,maxW:a,maxWQuery:fe(null,a),minWQuery:fe(o),minMaxQuery:fe(o,a)}})),i=function(e){const t=Object.keys(ue(e));return new Set(t)}(e),a=Array.from(i.values());return{keys:i,normalized:n,isResponsive(e){const t=Object.keys(e);return t.length>0&&t.every((e=>i.has(e)))},asObject:ue(e),asArray:ce(e),details:o,get:e=>o.find((t=>t.breakpoint===e)),media:[null,...n.map((e=>fe(e))).slice(1)],toArrayValue(e){if(!r(e))throw new Error("toArrayValue: value must be an object");const t=a.map((t=>{var n;return null!=(n=e[t])?n:null}));for(;null===ae(t);)t.pop();return t},toObjectValue(e){if(!Array.isArray(e))throw new Error("toObjectValue: value must be an array");return e.reduce(((e,t,n)=>{const r=a[n];return null!=r&&null!=t&&(e[r]=t),e}),{})}}}var pe=(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,me=(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,ge=(e,t)=>`${e}:focus-visible ${t}`,ve=(e,t)=>`${e}:focus-within ${t}`,ye=(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,be=(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,xe=(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,we=(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,Se=(e,t)=>`${e}:placeholder-shown ${t}`,ke=e=>Ee((t=>e(t,"&")),"[role=group]","[data-group]",".group"),Ce=e=>Ee((t=>e(t,"~ &")),"[data-peer]",".peer"),Ee=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.map(e).join(", ")},_e={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&: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",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-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]",_groupHover:ke(pe),_peerHover:Ce(pe),_groupFocus:ke(me),_peerFocus:Ce(me),_groupFocusVisible:ke(ge),_peerFocusVisible:Ce(ge),_groupActive:ke(ye),_peerActive:Ce(ye),_groupDisabled:ke(be),_peerDisabled:Ce(be),_groupInvalid:ke(xe),_peerInvalid:Ce(xe),_groupChecked:ke(we),_peerChecked:Ce(we),_groupFocusWithin:ke(ve),_peerFocusWithin:Ce(ve),_peerPlaceholderShown:Ce(Se),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&: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]"},Pe=Object.keys(_e);function je(e,t){return oe(String(e).replace(/\./g,"-"),void 0,t)}function Te(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{stop:r,getKey:o}=n;return function e(n){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];var a;if(function(e){return"object"===typeof e&&null!=e&&!Array.isArray(e)}(n)||Array.isArray(n)){const s={};for(const[l,u]of Object.entries(n)){const c=null!=(a=null==o?void 0:o(l))?a:l,d=[...i,c];if(null==r?void 0:r(n,d))return t(n,i);s[c]=e(u,d)}return s}return t(n,i)}(e)}var Ae=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"];var Re=e=>Pe.includes(e)||"default"===e;function Oe(e){var t;const n=function(e){const{__cssMap:t,__cssVars:n,__breakpoints:r,...o}=e;return o}(e),o=function(e){return function(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}(e,Ae)}(n),i=function(e){return e.semanticTokens}(n),s=function(e){let{tokens:t,semanticTokens:n}=e;const r={};return Te(t,((e,t)=>{null!=e&&(r[t.join(".")]={isSemantic:!1,value:e})})),Te(n,((e,t)=>{null!=e&&(r[t.join(".")]={isSemantic:!0,value:e})}),{stop:e=>Object.keys(e).every(Re)}),r}({tokens:o,semanticTokens:i}),l=null==(t=n.config)?void 0:t.cssVarPrefix,{cssMap:u,cssVars:c}=function(e,t){let n={};const o={};for(const[i,s]of Object.entries(e)){const{isSemantic:l,value:u}=s,{variable:c,reference:d}=je(i,null==t?void 0:t.cssVarPrefix);if(!l){if(i.startsWith("space")){const e=i.split("."),[t,...n]=e,r=`${t}.-${n.join(".")}`,a=ee.negate(u),s=ee.negate(d);o[r]={value:a,var:c,varRef:s}}n[c]=u,o[i]={value:u,var:c,varRef:d};continue}const f=n=>{const r=[String(i).split(".")[0],n].join(".");if(!e[r])return n;const{reference:o}=je(r,null==t?void 0:t.cssVarPrefix);return o},h=r(u)?u:{default:u};n=a(n,Object.entries(h).reduce(((e,t)=>{let[n,r]=t;var o,i;if(!r)return e;const a=f(`${r}`);return"default"===n?(e[c]=a,e):(e[null!=(i=null==(o=_e)?void 0:o[n])?i:n]={[c]:a},e)}),{})),o[i]={value:d,var:c,varRef:d}}return{cssVars:n,cssMap:o}}(s,{cssVarPrefix:l});return Object.assign(n,{__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",...c},__cssMap:u,__breakpoints:he(n.breakpoints)}),n}var ze=a({},C,E,_,T,O,j,$,R,A,L,N,P,I,q,W,V,H,z,U),De=Object.assign({},I,O,T,A,N),Fe=Object.keys(De),Be=[...Object.keys(ze),...Pe],Me={...ze,..._e},Le=e=>e in Me;var Ne=(e,t)=>e.startsWith("--")&&"string"===typeof t&&!function(e){return/^var\(--.+\)$/.test(e)}(t),$e=(e,t)=>{var n,r;if(null==t)return t;const o=t=>{var n,r;return null==(r=null==(n=e.__cssMap)?void 0:n[t])?void 0:r.varRef},i=e=>{var t;return null!=(t=o(e))?t:e},[a,s]=function(e){const t=[];let n="",r=!1;for(let o=0;o<e.length;o++){const i=e[o];"("===i?(r=!0,n+=i):")"===i?(r=!1,n+=i):","!==i||r?n+=i:(t.push(n),n="")}return n=n.trim(),n&&t.push(n),t}(t);return t=null!=(r=null!=(n=o(a))?n:i(s))?r:i(t)};function Ie(e){const{configs:t={},pseudos:n={},theme:i}=e,s=function(e){let l=arguments.length>1&&void 0!==arguments[1]&&arguments[1];var u,c,d;const f=o(e,i),h=(e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:n,toArrayValue:i,media:a}=t.__breakpoints,s={};for(const l in e){let u=o(e[l],t);if(null==u)continue;if(u=r(u)&&n(u)?i(u):u,!Array.isArray(u)){s[l]=u;continue}const c=u.slice(0,a.length).length;for(let e=0;e<c;e+=1){const t=null==a?void 0:a[e];t?(s[t]=s[t]||{},null!=u[e]&&(s[t][l]=u[e])):s[l]=u[e]}}return s})(f)(i);let p={};for(let m in h){let e=o(h[m],i);m in n&&(m=n[m]),Ne(m,e)&&(e=$e(i,e));let g=t[m];if(!0===g&&(g={property:m}),r(e)){p[m]=null!=(u=p[m])?u:{},p[m]=a({},p[m],s(e,!0));continue}let v=null!=(d=null==(c=null==g?void 0:g.transform)?void 0:c.call(g,e,i,f))?d:e;v=(null==g?void 0:g.processResult)?s(v,!0):v;const y=o(null==g?void 0:g.property,i);if(!l&&(null==g?void 0:g.static)){const e=o(g.static,i);p=a({},p,e)}if(y&&Array.isArray(y))for(const t of y)p[t]=v;else y?"&"===y&&r(v)?p=a({},p,v):p[y]=v:r(v)?p=a({},p,v):p[m]=v}return p};return s}var Ve=e=>t=>Ie({theme:t,pseudos:_e,configs:ze})(e);function He(e){return e}function Ue(e){return e}function We(e){return{definePartsStyle:e=>e,defineMultiStyleConfig:t=>({parts:e,...t})}}function qe(e,t){for(let n=t+1;n<e.length;n++)if(null!=e[n])return n;return-1}function Ge(e){const t=e.__breakpoints;return function(e,n,i,s){var l,u;if(!t)return;const c={},d=function(e,t){return Array.isArray(e)?e:r(e)?t(e):null!=e?[e]:void 0}(i,t.toArrayValue);if(!d)return c;const f=d.length,h=1===f,p=!!e.parts;for(let r=0;r<f;r++){const i=t.details[r],f=t.details[qe(d,r)],m=fe(i.minW,null==f?void 0:f._minW),g=o(null==(l=e[n])?void 0:l[d[r]],s);g&&(p?null==(u=e.parts)||u.forEach((e=>{a(c,{[e]:h?g[e]:{[m]:g[e]}})})):p?c[m]=g:h?a(c,g):c[m]=g)}return c}}function Ke(e){return t=>{var n;const{variant:r,size:i,theme:s}=t,l=Ge(s);return a({},o(null!=(n=e.baseStyle)?n:{},t),l(e,"sizes",i,t),l(e,"variants",r,t))}}function Qe(e,t,n){var r,o,i;return null!=(i=null==(o=null==(r=e.__cssMap)?void 0:r[`${t}.${n}`])?void 0:o.varRef)?i:n}function Ye(e){return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}(e,["styleConfig","size","variant","colorScheme"])}},42193:(e,t,n)=>{"use strict";n.d(t,{UQ:()=>i,gf:()=>s,rd:()=>a});var r=n(3993),o=n(17118);function i(){return{...(0,o.G6)(),theme:(0,r.D)()}}function a(e,t,n){const o=(0,r.D)();return s(e,t,n)(o)}function s(e,t,n){const r=Array.isArray(t)?t:[t],o=Array.isArray(n)?n:[n];return n=>{const i=o.filter(Boolean),a=r.map(((t,r)=>{var o,a;if("breakpoints"===e)return function(e,t,n){var r,o;if(null==t)return t;const i=t=>{var n,r;return null==(r=null==(n=e.__breakpoints)?void 0:n.asArray)?void 0:r[t]};return null!=(o=null!=(r=i(t))?r:i(n))?o:n}(n,t,null!=(o=i[r])?o:t);return function(e,t,n){var r,o;if(null==t)return t;const i=t=>{var n,r;return null==(r=null==(n=e.__cssMap)?void 0:n[t])?void 0:r.value};return null!=(o=null!=(r=i(t))?r:i(n))?o:n}(n,`${e}.${t}`,null!=(a=i[r])?a:t)}));return Array.isArray(t)?a:a[0]}}},73761:(e,t,n)=>{"use strict";n.d(t,{Vl:()=>c,o5:()=>d});var r=n(42193),o=n(57349),i=n(45268),a=n(39611),s=n(65043),l=n(66366);function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var n;const{styleConfig:u,...c}=t,{theme:d,colorMode:f}=(0,r.UQ)(),h=e?(0,i.rY)(d,`components.${e}`):void 0,p=u||h,m=a({theme:d,colorMode:f},null!=(n=null==p?void 0:p.defaultProps)?n:{},(0,i.TB)((0,i.cJ)(c,["children"]))),g=(0,s.useRef)({});if(p){const e=(0,o.uB)(p)(m);l(g.current,e)||(g.current=e)}return g.current}function c(e){return u(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}function d(e){return u(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}},3993:(e,t,n)=>{"use strict";n.d(t,{D:()=>i});var r=n(27541),o=n(65043);function i(){const e=(0,o.useContext)(r.T);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}},14550:(e,t,n)=>{"use strict";n.d(t,{B:()=>T});var r=n(57349),o=new Set([...r.q8,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),i=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function a(e){return i.has(e)||!o.has(e)}var s=n(17118),l=n(45268),u=n(30639);var c,d=n(58168),f=n(65043),h=n(30918),p=/^((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|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,m=(0,h.A)((function(e){return p.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),g=n(27541),v=n(81722),y=n(66598),b=n(69436),x=m,w=function(e){return"theme"!==e},S=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?x:w},k=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!==typeof r&&n&&(r=e.__emotion_forwardProp),r},C=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,v.SF)(t,n,r),(0,b.s)((function(){return(0,v.sk)(t,n,r)})),null},E=function e(t,n){var r,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var s=k(t,n,i),l=s||S(a),u=!l("as");return function(){var c=arguments,h=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&h.push("label:"+r+";"),null==c[0]||void 0===c[0].raw)h.push.apply(h,c);else{h.push(c[0][0]);for(var p=c.length,m=1;m<p;m++)h.push(c[m],c[0][m])}var b=(0,g.w)((function(e,t,n){var r=u&&e.as||a,i="",c=[],d=e;if(null==e.theme){for(var p in d={},e)d[p]=e[p];d.theme=f.useContext(g.T)}"string"===typeof e.className?i=(0,v.Rk)(t.registered,c,e.className):null!=e.className&&(i=e.className+" ");var m=(0,y.J)(h.concat(c),t.registered,d);i+=t.key+"-"+m.name,void 0!==o&&(i+=" "+o);var b=u&&void 0===s?S(r):l,x={};for(var w in e)u&&"as"===w||b(w)&&(x[w]=e[w]);return x.className=i,n&&(x.ref=n),f.createElement(f.Fragment,null,f.createElement(C,{cache:t,serialized:m,isStringTag:"string"===typeof r}),f.createElement(r,x))}));return b.displayName=void 0!==r?r:"Styled("+("string"===typeof a?a:a.displayName||a.name||"Component")+")",b.defaultProps=t.defaultProps,b.__emotion_real=b,b.__emotion_base=a,b.__emotion_styles=h,b.__emotion_forwardProp=s,Object.defineProperty(b,"toString",{value:function(){return"."+o}}),b.withComponent=function(t,r){return e(t,(0,d.A)({},n,r,{shouldForwardProp:k(b,r,!0)})).apply(void 0,h)},b}}.bind();["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(e){E[e]=E(e)}));var _=null!=(c=E.default)?c:E,P=e=>{let{baseStyle:t}=e;return e=>{const{theme:n,css:o,__css:i,sx:a,...s}=e,c=(0,l.I$)(s,((e,t)=>(0,r.HU)(t))),d=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");const t={...e};for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(const i of r)if(null!=i)for(const e in i)Object.prototype.hasOwnProperty.call(i,e)&&(e in t&&delete t[e],t[e]=i[e]);return t}({},i,(0,u.Jg)(t,e),(0,l.TB)(c),a),f=(0,r.AH)(d)(e.theme);return o?[f,o]:f}};function j(e,t){const{baseStyle:n,...r}=null!=t?t:{};r.shouldForwardProp||(r.shouldForwardProp=a);const o=P({baseStyle:n}),i=_(e,r)(o);return f.forwardRef((function(e,t){const{colorMode:n,forced:r}=(0,s.G6)();return f.createElement(i,{ref:t,"data-theme":r?n:void 0,...e})}))}var T=function(){const e=new Map;return new Proxy(j,{apply:(e,t,n)=>j(...n),get:(t,n)=>(e.has(n)||e.set(n,j(n)),e.get(n))})}()},23226:(e,t,n)=>{"use strict";n.d(t,{R:()=>o});var r=n(65043);function o(e){return(0,r.forwardRef)(e)}},30639:(e,t,n)=>{"use strict";n.d(t,{Hj:()=>o,Jg:()=>r});function r(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"===typeof e?e(...n):e}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.some((t=>(null==t||t(e),null==e?void 0:e.defaultPrevented)))}}},45268:(e,t,n)=>{"use strict";n.d(t,{I$:()=>i,TB:()=>a,cJ:()=>r,rY:()=>o});n(39611);function r(e,t){const n={};return Object.keys(e).forEach((r=>{t.includes(r)||(n[r]=e[r])})),n}var o=(e=>{const t=new WeakMap;return(n,r,o,i)=>{if("undefined"===typeof n)return e(n,r,o);t.has(n)||t.set(n,new Map);const a=t.get(n);if(a.has(r))return a.get(r);const s=e(n,r,o,i);return a.set(r,s),s}})((function(e,t,n,r){const o="string"===typeof t?t.split("."):[t];for(r=0;r<o.length&&e;r+=1)e=e[o[r]];return void 0===e?n:e}));function i(e,t){const n={};return Object.keys(e).forEach((r=>{const o=e[r];t(o,r,e)&&(n[r]=o)})),n}var a=e=>i(e,(e=>null!==e&&void 0!==e))},3491:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});var r=n(60329),o=n(99723),i=new class extends r.Q{#e;#t;#n;constructor(){super(),this.#n=e=>{if(!o.S$&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e((e=>{"boolean"===typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach((t=>{t(e)}))}isFocused(){return"boolean"===typeof this.#e?this.#e:"hidden"!==globalThis.document?.visibilityState}}},11454:(e,t,n)=>{"use strict";n.d(t,{j:()=>r});var r=function(){let e=[],t=0,n=e=>{e()},r=e=>{e()},o=e=>setTimeout(e,0);const i=r=>{t?e.push(r):o((()=>{n(r)}))};return{batch:i=>{let a;t++;try{a=i()}finally{t--,t||(()=>{const t=e;e=[],t.length&&o((()=>{r((()=>{t.forEach((e=>{n(e)}))}))}))})()}return a},batchCalls:e=>function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];i((()=>{e(...n)}))},schedule:i,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{o=e}}}()},48024:(e,t,n)=>{"use strict";n.d(t,{t:()=>i});var r=n(60329),o=n(99723),i=new class extends r.Q{#r=!0;#t;#n;constructor(){super(),this.#n=e=>{if(!o.S$&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#r!==e&&(this.#r=e,this.listeners.forEach((t=>{t(e)})))}isOnline(){return this.#r}}},49210:(e,t,n)=>{"use strict";n.d(t,{X:()=>s,k:()=>l});var r=n(99723),o=n(11454),i=n(12463),a=n(31143),s=class extends a.k{#o;#i;#a;#s;#l;#u;constructor(e){super(),this.#u=!1,this.#l=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#a=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#o=function(e){const t="function"===typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"===typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=e.state??this.#o,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#s?.promise}setOptions(e){this.options={...this.#l,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#a.remove(this)}setData(e,t){const n=(0,r.pl)(this.state.data,e,this.options);return this.#c({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#c({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#s?.promise;return this.#s?.cancel(e),t?t.then(r.lQ).catch(r.lQ):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#o)}isActive(){return this.observers.some((e=>!1!==(0,r.Eh)(e.options.enabled,this)))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===r.hT||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some((e=>e.getCurrentResult().isStale)):void 0===this.state.data)}isStaleByTime(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.state.isInvalidated||void 0===this.state.data||!(0,r.j3)(this.state.dataUpdatedAt,e)}onFocus(){const e=this.observers.find((e=>e.shouldFetchOnWindowFocus()));e?.refetch({cancelRefetch:!1}),this.#s?.continue()}onOnline(){const e=this.observers.find((e=>e.shouldFetchOnReconnect()));e?.refetch({cancelRefetch:!1}),this.#s?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#a.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter((t=>t!==e)),this.observers.length||(this.#s&&(this.#u?this.#s.cancel({revert:!0}):this.#s.cancelRetry()),this.scheduleGc()),this.#a.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#c({type:"invalidate"})}fetch(e,t){if("idle"!==this.state.fetchStatus)if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#s)return this.#s.continueRetry(),this.#s.promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find((e=>e.options.queryFn));e&&this.setOptions(e.options)}const n=new AbortController,o=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#u=!0,n.signal)})},a={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>{const e=(0,r.ZM)(this.options,t),n={queryKey:this.queryKey,meta:this.meta};return o(n),this.#u=!1,this.options.persister?this.options.persister(e,n,this):e(n)}};o(a),this.options.behavior?.onFetch(a,this),this.#i=this.state,"idle"!==this.state.fetchStatus&&this.state.fetchMeta===a.fetchOptions?.meta||this.#c({type:"fetch",meta:a.fetchOptions?.meta});const s=e=>{(0,i.wm)(e)&&e.silent||this.#c({type:"error",error:e}),(0,i.wm)(e)||(this.#a.config.onError?.(e,this),this.#a.config.onSettled?.(this.state.data,e,this)),this.scheduleGc()};return this.#s=(0,i.II)({initialPromise:t?.initialPromise,fn:a.fetchFn,abort:n.abort.bind(n),onSuccess:e=>{if(void 0!==e){try{this.setData(e)}catch(t){return void s(t)}this.#a.config.onSuccess?.(e,this),this.#a.config.onSettled?.(e,this.state.error,this),this.scheduleGc()}else s(new Error(`${this.queryHash} data is undefined`))},onError:s,onFail:(e,t)=>{this.#c({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#c({type:"pause"})},onContinue:()=>{this.#c({type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0}),this.#s.start()}#c(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...l(t.data,this.options),fetchMeta:e.meta??null};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=e.error;return(0,i.wm)(n)&&n.revert&&this.#i?{...this.#i,fetchStatus:"idle"}:{...t,error:n,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),o.j.batch((()=>{this.observers.forEach((e=>{e.onQueryUpdate()})),this.#a.notify({query:this,type:"updated",action:e})}))}};function l(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,i.v_)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}},31143:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});var r=n(99723),o=class{#d;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,r.gn)(this.gcTime)&&(this.#d=setTimeout((()=>{this.optionalRemove()}),this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(r.S$?1/0:3e5))}clearGcTimeout(){this.#d&&(clearTimeout(this.#d),this.#d=void 0)}}},12463:(e,t,n)=>{"use strict";n.d(t,{II:()=>d,v_:()=>l,wm:()=>c});var r=n(3491),o=n(48024),i=n(79567),a=n(99723);function s(e){return Math.min(1e3*2**e,3e4)}function l(e){return"online"!==(e??"online")||o.t.isOnline()}var u=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function c(e){return e instanceof u}function d(e){let t,n=!1,c=0,d=!1;const f=(0,i.T)(),h=()=>r.m.isFocused()&&("always"===e.networkMode||o.t.isOnline())&&e.canRun(),p=()=>l(e.networkMode)&&e.canRun(),m=n=>{d||(d=!0,e.onSuccess?.(n),t?.(),f.resolve(n))},g=n=>{d||(d=!0,e.onError?.(n),t?.(),f.reject(n))},v=()=>new Promise((n=>{t=e=>{(d||h())&&n(e)},e.onPause?.()})).then((()=>{t=void 0,d||e.onContinue?.()})),y=()=>{if(d)return;let t;const r=0===c?e.initialPromise:void 0;try{t=r??e.fn()}catch(o){t=Promise.reject(o)}Promise.resolve(t).then(m).catch((t=>{if(d)return;const r=e.retry??(a.S$?0:3),o=e.retryDelay??s,i="function"===typeof o?o(c,t):o,l=!0===r||"number"===typeof r&&c<r||"function"===typeof r&&r(c,t);!n&&l?(c++,e.onFail?.(c,t),(0,a.yy)(i).then((()=>h()?void 0:v())).then((()=>{n?g(t):y()}))):g(t)}))};return{promise:f,cancel:t=>{d||(g(new u(t)),e.abort?.())},continue:()=>(t?.(),f),cancelRetry:()=>{n=!0},continueRetry:()=>{n=!1},canStart:p,start:()=>(p()?y():v().then(y),f)}}},60329:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});var r=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},79567:(e,t,n)=>{"use strict";function r(){let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.status="pending",n.catch((()=>{})),n.resolve=t=>{r({status:"fulfilled",value:t}),e(t)},n.reject=e=>{r({status:"rejected",reason:e}),t(e)},n}n.d(t,{T:()=>r})},99723:(e,t,n)=>{"use strict";n.d(t,{Cp:()=>p,EN:()=>h,Eh:()=>u,F$:()=>f,MK:()=>c,S$:()=>r,ZM:()=>E,ZZ:()=>k,Zw:()=>i,d2:()=>l,f8:()=>g,gn:()=>a,hT:()=>C,j3:()=>s,lQ:()=>o,nJ:()=>d,pl:()=>w,y9:()=>S,yy:()=>x});var r="undefined"===typeof window||"Deno"in globalThis;function o(){}function i(e,t){return"function"===typeof e?e(t):e}function a(e){return"number"===typeof e&&e>=0&&e!==1/0}function s(e,t){return Math.max(e+(t||0)-Date.now(),0)}function l(e,t){return"function"===typeof e?e(t):e}function u(e,t){return"function"===typeof e?e(t):e}function c(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(a)if(r){if(t.queryHash!==f(a,t.options))return!1}else if(!p(t.queryKey,a))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return("boolean"!==typeof s||t.isStale()===s)&&((!o||o===t.state.fetchStatus)&&!(i&&!i(t)))}function d(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(h(t.options.mutationKey)!==h(i))return!1}else if(!p(t.options.mutationKey,i))return!1}return(!r||t.state.status===r)&&!(o&&!o(t))}function f(e,t){return(t?.queryKeyHashFn||h)(e)}function h(e){return JSON.stringify(e,((e,t)=>y(t)?Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{}):t))}function p(e,t){return e===t||typeof e===typeof t&&(!(!e||!t||"object"!==typeof e||"object"!==typeof t)&&!Object.keys(t).some((n=>!p(e[n],t[n]))))}function m(e,t){if(e===t)return e;const n=v(e)&&v(t);if(n||y(e)&&y(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),a=i.length,s=n?[]:{};let l=0;for(let u=0;u<a;u++){const o=n?u:i[u];(!n&&r.includes(o)||n)&&void 0===e[o]&&void 0===t[o]?(s[o]=void 0,l++):(s[o]=m(e[o],t[o]),s[o]===e[o]&&void 0!==e[o]&&l++)}return o===a&&l===o?e:s}return t}function g(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function v(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function y(e){if(!b(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!b(n)&&(!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype)}function b(e){return"[object Object]"===Object.prototype.toString.call(e)}function x(e){return new Promise((t=>{setTimeout(t,e)}))}function w(e,t,n){return"function"===typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?m(e,t):t}function S(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r=[...e,t];return n&&r.length>n?r.slice(1):r}function k(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var C=Symbol();function E(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==C?e.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`))}},63248:(e,t,n)=>{"use strict";n.d(t,{Ht:()=>s,jE:()=>a});var r=n(65043),o=n(70579),i=r.createContext(void 0),a=e=>{const t=r.useContext(i);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},s=e=>{let{client:t,children:n}=e;return r.useEffect((()=>(t.mount(),()=>{t.unmount()})),[t]),(0,o.jsx)(i.Provider,{value:t,children:n})}},86213:(e,t,n)=>{"use strict";n.d(t,{A:()=>xt});var r={};function o(e,t){return function(){return e.apply(t,arguments)}}n.r(r),n.d(r,{hasBrowserEnv:()=>ue,hasStandardBrowserEnv:()=>de,hasStandardBrowserWebWorkerEnv:()=>fe,navigator:()=>ce,origin:()=>he});const{toString:i}=Object.prototype,{getPrototypeOf:a}=Object,s=(l=Object.create(null),e=>{const t=i.call(e);return l[t]||(l[t]=t.slice(8,-1).toLowerCase())});var l;const u=e=>(e=e.toLowerCase(),t=>s(t)===e),c=e=>t=>typeof t===e,{isArray:d}=Array,f=c("undefined");const h=u("ArrayBuffer");const p=c("string"),m=c("function"),g=c("number"),v=e=>null!==e&&"object"===typeof e,y=e=>{if("object"!==s(e))return!1;const t=a(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},b=u("Date"),x=u("File"),w=u("Blob"),S=u("FileList"),k=u("URLSearchParams"),[C,E,_,P]=["ReadableStream","Request","Response","Headers"].map(u);function j(e,t){let n,r,{allOwnKeys:o=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),d(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{const r=o?Object.getOwnPropertyNames(e):Object.keys(e),i=r.length;let a;for(n=0;n<i;n++)a=r[n],t.call(null,e[a],a,e)}}function T(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const A="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global,R=e=>!f(e)&&e!==A;const O=(z="undefined"!==typeof Uint8Array&&a(Uint8Array),e=>z&&e instanceof z);var z;const D=u("HTMLFormElement"),F=(e=>{let{hasOwnProperty:t}=e;return(e,n)=>t.call(e,n)})(Object.prototype),B=u("RegExp"),M=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};j(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},L="abcdefghijklmnopqrstuvwxyz",N="0123456789",$={DIGIT:N,ALPHA:L,ALPHA_DIGIT:L+L.toUpperCase()+N};const I=u("AsyncFunction"),V=((e,t)=>{return e?setImmediate:t?(n=`axios@${Math.random()}`,r=[],A.addEventListener("message",(e=>{let{source:t,data:o}=e;t===A&&o===n&&r.length&&r.shift()()}),!1),e=>{r.push(e),A.postMessage(n,"*")}):e=>setTimeout(e);var n,r})("function"===typeof setImmediate,m(A.postMessage)),H="undefined"!==typeof queueMicrotask?queueMicrotask.bind(A):"undefined"!==typeof process&&process.nextTick||V,U={isArray:d,isArrayBuffer:h,isBuffer:function(e){return null!==e&&!f(e)&&null!==e.constructor&&!f(e.constructor)&&m(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"===typeof FormData&&e instanceof FormData||m(e.append)&&("formdata"===(t=s(e))||"object"===t&&m(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&h(e.buffer),t},isString:p,isNumber:g,isBoolean:e=>!0===e||!1===e,isObject:v,isPlainObject:y,isReadableStream:C,isRequest:E,isResponse:_,isHeaders:P,isUndefined:f,isDate:b,isFile:x,isBlob:w,isRegExp:B,isFunction:m,isStream:e=>v(e)&&m(e.pipe),isURLSearchParams:k,isTypedArray:O,isFileList:S,forEach:j,merge:function e(){const{caseless:t}=R(this)&&this||{},n={},r=(r,o)=>{const i=t&&T(n,o)||o;y(n[i])&&y(r)?n[i]=e(n[i],r):y(r)?n[i]=e({},r):d(r)?n[i]=r.slice():n[i]=r};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&j(arguments[o],r);return n},extend:function(e,t,n){let{allOwnKeys:r}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return j(t,((t,r)=>{n&&m(t)?e[r]=o(t,n):e[r]=t}),{allOwnKeys:r}),e},trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,s;const l={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],r&&!r(s,e,t)||l[s]||(t[s]=e[s],l[s]=!0);e=!1!==n&&a(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:s,kindOfTest:u,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(d(e))return e;let t=e.length;if(!g(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:D,hasOwnProperty:F,hasOwnProp:F,reduceDescriptors:M,freezeMethods:e=>{M(e,((t,n)=>{if(m(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];m(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return d(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:T,global:A,isContextDefined:R,ALPHABET:$,generateString:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$.ALPHA_DIGIT,n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&m(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(v(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=d(e)?[]:{};return j(e,((e,t)=>{const i=n(e,r+1);!f(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:I,isThenable:e=>e&&(v(e)||m(e))&&m(e.then)&&m(e.catch),setImmediate:V,asap:H};function W(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}U.inherits(W,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:U.toJSONObject(this.config),code:this.code,status:this.status}}});const q=W.prototype,G={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{G[e]={value:e}})),Object.defineProperties(W,G),Object.defineProperty(q,"isAxiosError",{value:!0}),W.from=(e,t,n,r,o,i)=>{const a=Object.create(q);return U.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),W.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const K=W;function Q(e){return U.isPlainObject(e)||U.isArray(e)}function Y(e){return U.endsWith(e,"[]")?e.slice(0,-2):e}function X(e,t,n){return e?e.concat(t).map((function(e,t){return e=Y(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const Z=U.toFlatObject(U,{},null,(function(e){return/^is[A-Z]/.test(e)}));const J=function(e,t,n){if(!U.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=U.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!U.isUndefined(t[e])}))).metaTokens,o=n.visitor||u,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!==typeof Blob&&Blob)&&U.isSpecCompliantForm(t);if(!U.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(U.isDate(e))return e.toISOString();if(!s&&U.isBlob(e))throw new K("Blob is not supported. Use a Buffer instead.");return U.isArrayBuffer(e)||U.isTypedArray(e)?s&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,o){let s=e;if(e&&!o&&"object"===typeof e)if(U.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(U.isArray(e)&&function(e){return U.isArray(e)&&!e.some(Q)}(e)||(U.isFileList(e)||U.endsWith(n,"[]"))&&(s=U.toArray(e)))return n=Y(n),s.forEach((function(e,r){!U.isUndefined(e)&&null!==e&&t.append(!0===a?X([n],r,i):null===a?n:n+"[]",l(e))})),!1;return!!Q(e)||(t.append(X(o,n,i),l(e)),!1)}const c=[],d=Object.assign(Z,{defaultVisitor:u,convertValue:l,isVisitable:Q});if(!U.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!U.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),U.forEach(n,(function(n,i){!0===(!(U.isUndefined(n)||null===n)&&o.call(t,n,U.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])})),c.pop()}}(e),t};function ee(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function te(e,t){this._pairs=[],e&&J(e,this,t)}const ne=te.prototype;ne.append=function(e,t){this._pairs.push([e,t])},ne.toString=function(e){const t=e?function(t){return e.call(this,t,ee)}:ee;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const re=te;function oe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ie(e,t,n){if(!t)return e;const r=n&&n.encode||oe;U.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(i=o?o(t,n):U.isURLSearchParams(t)?t.toString():new re(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}const ae=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){U.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},se={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},le={isBrowser:!0,classes:{URLSearchParams:"undefined"!==typeof URLSearchParams?URLSearchParams:re,FormData:"undefined"!==typeof FormData?FormData:null,Blob:"undefined"!==typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},ue="undefined"!==typeof window&&"undefined"!==typeof document,ce="object"===typeof navigator&&navigator||void 0,de=ue&&(!ce||["ReactNative","NativeScript","NS"].indexOf(ce.product)<0),fe="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts,he=ue&&window.location.href||"http://localhost",pe={...r,...le};const me=function(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=e.length;if(i=!i&&U.isArray(r)?r.length:i,s)return U.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&U.isObject(r[i])||(r[i]=[]);return t(e,n,r[i],o)&&U.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a}if(U.isFormData(e)&&U.isFunction(e.entries)){const n={};return U.forEachEntry(e,((e,r)=>{t(function(e){return U.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const ge={transitional:se,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=U.isObject(e);o&&U.isHTMLForm(e)&&(e=new FormData(e));if(U.isFormData(e))return r?JSON.stringify(me(e)):e;if(U.isArrayBuffer(e)||U.isBuffer(e)||U.isStream(e)||U.isFile(e)||U.isBlob(e)||U.isReadableStream(e))return e;if(U.isArrayBufferView(e))return e.buffer;if(U.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return J(e,new pe.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return pe.isNode&&U.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=U.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return J(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(U.isString(e))try{return(t||JSON.parse)(e),U.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||ge.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(U.isResponse(e)||U.isReadableStream(e))return e;if(e&&U.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(o){if(n){if("SyntaxError"===o.name)throw K.from(o,K.ERR_BAD_RESPONSE,this,null,this.response);throw o}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:pe.classes.FormData,Blob:pe.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};U.forEach(["delete","get","head","post","put","patch"],(e=>{ge.headers[e]={}}));const ve=ge,ye=U.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),be=Symbol("internals");function xe(e){return e&&String(e).trim().toLowerCase()}function we(e){return!1===e||null==e?e:U.isArray(e)?e.map(we):String(e)}function Se(e,t,n,r,o){return U.isFunction(r)?r.call(this,t,n):(o&&(t=n),U.isString(t)?U.isString(r)?-1!==t.indexOf(r):U.isRegExp(r)?r.test(t):void 0:void 0)}class ke{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=xe(t);if(!o)throw new Error("header name must be a non-empty string");const i=U.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=we(e))}const i=(e,t)=>U.forEach(e,((e,n)=>o(e,n,t)));if(U.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(U.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&ye[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(U.isHeaders(e))for(const[a,s]of e.entries())o(s,a,n);else null!=e&&o(t,e,n);return this}get(e,t){if(e=xe(e)){const n=U.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(U.isFunction(t))return t.call(this,e,n);if(U.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=xe(e)){const n=U.findKey(this,e);return!(!n||void 0===this[n]||t&&!Se(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=xe(e)){const o=U.findKey(n,e);!o||t&&!Se(0,n[o],o,t)||(delete n[o],r=!0)}}return U.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!Se(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return U.forEach(this,((r,o)=>{const i=U.findKey(n,o);if(i)return t[i]=we(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();a!==o&&delete t[o],t[a]=we(r),n[a]=!0})),this}concat(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.constructor.concat(this,...t)}toJSON(e){const t=Object.create(null);return U.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&U.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((e=>{let[t,n]=e;return t+": "+n})).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e){const t=new this(e);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.forEach((e=>t.set(e))),t}static accessor(e){const t=(this[be]=this[be]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=xe(e);t[r]||(!function(e,t){const n=U.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return U.isArray(e)?e.forEach(r):r(e),this}}ke.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),U.reduceDescriptors(ke.prototype,((e,t)=>{let{value:n}=e,r=t[0].toUpperCase()+t.slice(1);return{get:()=>n,set(e){this[r]=e}}})),U.freezeMethods(ke);const Ce=ke;function Ee(e,t){const n=this||ve,r=t||n,o=Ce.from(r.headers);let i=r.data;return U.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function _e(e){return!(!e||!e.__CANCEL__)}function Pe(e,t,n){K.call(this,null==e?"canceled":e,K.ERR_CANCELED,t,n),this.name="CanceledError"}U.inherits(Pe,K,{__CANCEL__:!0});const je=Pe;function Te(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new K("Request failed with status code "+n.status,[K.ERR_BAD_REQUEST,K.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const Ae=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),u=r[a];o||(o=l),n[i]=s,r[i]=l;let c=a,d=0;for(;c!==i;)d+=n[c++],c%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),l-o<t)return;const f=u&&l-u;return f?Math.round(1e3*d/f):void 0}};const Re=function(e,t){let n,r,o=0,i=1e3/t;const a=function(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();o=i,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[function(){const e=Date.now(),t=e-o;for(var s=arguments.length,l=new Array(s),u=0;u<s;u++)l[u]=arguments[u];t>=i?a(l,e):(n=l,r||(r=setTimeout((()=>{r=null,a(n)}),i-t)))},()=>n&&a(n)]},Oe=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,r=0;const o=Ae(50,250);return Re((n=>{const i=n.loaded,a=n.lengthComputable?n.total:void 0,s=i-r,l=o(s);r=i;e({loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})}),n)},ze=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},De=e=>function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return U.asap((()=>e(...n)))},Fe=pe.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,pe.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(pe.origin),pe.navigator&&/(msie|trident)/i.test(pe.navigator.userAgent)):()=>!0,Be=pe.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];U.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),U.isString(r)&&a.push("path="+r),U.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Me(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Le=e=>e instanceof Ce?{...e}:e;function Ne(e,t){t=t||{};const n={};function r(e,t,n,r){return U.isPlainObject(e)&&U.isPlainObject(t)?U.merge.call({caseless:r},e,t):U.isPlainObject(t)?U.merge({},t):U.isArray(t)?t.slice():t}function o(e,t,n,o){return U.isUndefined(t)?U.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function i(e,t){if(!U.isUndefined(t))return r(void 0,t)}function a(e,t){return U.isUndefined(t)?U.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,n)=>o(Le(e),Le(t),0,!0)};return U.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=l[r]||o,a=i(e[r],t[r],r);U.isUndefined(a)&&i!==s||(n[r]=a)})),n}const $e=e=>{const t=Ne({},e);let n,{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:a,headers:s,auth:l}=t;if(t.headers=s=Ce.from(s),t.url=ie(Me(t.baseURL,t.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),U.isFormData(r))if(pe.hasStandardBrowserEnv||pe.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(pe.hasStandardBrowserEnv&&(o&&U.isFunction(o)&&(o=o(t)),o||!1!==o&&Fe(t.url))){const e=i&&a&&Be.read(a);e&&s.set(i,e)}return t},Ie="undefined"!==typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=$e(e);let o=r.data;const i=Ce.from(r.headers).normalize();let a,s,l,u,c,{responseType:d,onUploadProgress:f,onDownloadProgress:h}=r;function p(){u&&u(),c&&c(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let m=new XMLHttpRequest;function g(){if(!m)return;const r=Ce.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Te((function(e){t(e),p()}),(function(e){n(e),p()}),{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(g)},m.onabort=function(){m&&(n(new K("Request aborted",K.ECONNABORTED,e,m)),m=null)},m.onerror=function(){n(new K("Network Error",K.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||se;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new K(t,o.clarifyTimeoutError?K.ETIMEDOUT:K.ECONNABORTED,e,m)),m=null},void 0===o&&i.setContentType(null),"setRequestHeader"in m&&U.forEach(i.toJSON(),(function(e,t){m.setRequestHeader(t,e)})),U.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),d&&"json"!==d&&(m.responseType=r.responseType),h&&([l,c]=Oe(h,!0),m.addEventListener("progress",l)),f&&m.upload&&([s,u]=Oe(f),m.upload.addEventListener("progress",s),m.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(a=t=>{m&&(n(!t||t.type?new je(null,e,m):t),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const v=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);v&&-1===pe.protocols.indexOf(v)?n(new K("Unsupported protocol "+v+":",K.ERR_BAD_REQUEST,e)):m.send(o||null)}))},Ve=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof K?t:new je(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null,o(new K(`timeout ${t} of ms exceeded`,K.ETIMEDOUT))}),t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)})),e=null)};e.forEach((e=>e.addEventListener("abort",o)));const{signal:s}=r;return s.unsubscribe=()=>U.asap(a),s}},He=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},Ue=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},We=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of Ue(e))yield*He(n,t)}(e,t);let i,a=0,s=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return s(),void e.close();let i=r.byteLength;if(n){let e=a+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(t){throw s(t),t}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},qe="function"===typeof fetch&&"function"===typeof Request&&"function"===typeof Response,Ge=qe&&"function"===typeof ReadableStream,Ke=qe&&("function"===typeof TextEncoder?(Qe=new TextEncoder,e=>Qe.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Qe;const Ye=function(e){try{for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return!!e(...n)}catch(o){return!1}},Xe=Ge&&Ye((()=>{let e=!1;const t=new Request(pe.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Ze=Ge&&Ye((()=>U.isReadableStream(new Response("").body))),Je={stream:Ze&&(e=>e.body)};var et;qe&&(et=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Je[e]&&(Je[e]=U.isFunction(et[e])?t=>t[e]():(t,n)=>{throw new K(`Response type '${e}' is not supported`,K.ERR_NOT_SUPPORT,n)})})));const tt=async(e,t)=>{const n=U.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(U.isBlob(e))return e.size;if(U.isSpecCompliantForm(e)){const t=new Request(pe.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return U.isArrayBufferView(e)||U.isArrayBuffer(e)?e.byteLength:(U.isURLSearchParams(e)&&(e+=""),U.isString(e)?(await Ke(e)).byteLength:void 0)})(t):n},nt={http:null,xhr:Ie,fetch:qe&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:u,headers:c,withCredentials:d="same-origin",fetchOptions:f}=$e(e);u=u?(u+"").toLowerCase():"text";let h,p=Ve([o,i&&i.toAbortSignal()],a);const m=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let g;try{if(l&&Xe&&"get"!==n&&"head"!==n&&0!==(g=await tt(c,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(U.isFormData(r)&&(e=n.headers.get("content-type"))&&c.setContentType(e),n.body){const[e,t]=ze(g,Oe(De(l)));r=We(n.body,65536,e,t)}}U.isString(d)||(d=d?"include":"omit");const o="credentials"in Request.prototype;h=new Request(t,{...f,signal:p,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:r,duplex:"half",credentials:o?d:void 0});let i=await fetch(h);const a=Ze&&("stream"===u||"response"===u);if(Ze&&(s||a&&m)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=U.toFiniteNumber(i.headers.get("content-length")),[n,r]=s&&ze(t,Oe(De(s),!0))||[];i=new Response(We(i.body,65536,n,(()=>{r&&r(),m&&m()})),e)}u=u||"text";let v=await Je[U.findKey(Je,u)||"text"](i,e);return!a&&m&&m(),await new Promise(((t,n)=>{Te(t,n,{data:v,headers:Ce.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:h})}))}catch(v){if(m&&m(),v&&"TypeError"===v.name&&/fetch/i.test(v.message))throw Object.assign(new K("Network Error",K.ERR_NETWORK,e,h),{cause:v.cause||v});throw K.from(v,v&&v.code,e,h)}})};U.forEach(nt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}}));const rt=e=>`- ${e}`,ot=e=>U.isFunction(e)||null===e||!1===e,it=e=>{e=U.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!ot(n)&&(r=nt[(t=String(n)).toLowerCase()],void 0===r))throw new K(`Unknown adapter '${t}'`);if(r)break;o[t||"#"+i]=r}if(!r){const e=Object.entries(o).map((e=>{let[t,n]=e;return`adapter ${t} `+(!1===n?"is not supported by the environment":"is not available in the build")}));let n=t?e.length>1?"since :\n"+e.map(rt).join("\n"):" "+rt(e[0]):"as no adapter specified";throw new K("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function at(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new je(null,e)}function st(e){at(e),e.headers=Ce.from(e.headers),e.data=Ee.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return it(e.adapter||ve.adapter)(e).then((function(t){return at(e),t.data=Ee.call(e,e.transformResponse,t),t.headers=Ce.from(t.headers),t}),(function(t){return _e(t)||(at(e),t&&t.response&&(t.response.data=Ee.call(e,e.transformResponse,t.response),t.response.headers=Ce.from(t.response.headers))),Promise.reject(t)}))}const lt="1.7.8",ut={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{ut[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const ct={};ut.transitional=function(e,t,n){function r(e,t){return"[Axios v1.7.8] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new K(r(o," has been removed"+(t?" in "+t:"")),K.ERR_DEPRECATED);return t&&!ct[o]&&(ct[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}},ut.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};const dt={assertOptions:function(e,t,n){if("object"!==typeof e)throw new K("options must be an object",K.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new K("option "+i+" must be "+n,K.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new K("Unknown option "+i,K.ERR_BAD_OPTION)}},validators:ut},ft=dt.validators;class ht{constructor(e){this.defaults=e,this.interceptors={request:new ae,response:new ae}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(r){}}throw n}}_request(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{},t=Ne(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&dt.assertOptions(n,{silentJSONParsing:ft.transitional(ft.boolean),forcedJSONParsing:ft.transitional(ft.boolean),clarifyTimeoutError:ft.transitional(ft.boolean)},!1),null!=r&&(U.isFunction(r)?t.paramsSerializer={serialize:r}:dt.assertOptions(r,{encode:ft.function,serialize:ft.function},!0)),dt.assertOptions(t,{baseUrl:ft.spelling("baseURL"),withXsrfToken:ft.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&U.merge(o.common,o[t.method]);o&&U.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=Ce.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const l=[];let u;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let c,d=0;if(!s){const e=[st.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,l),c=e.length,u=Promise.resolve(t);d<c;)u=u.then(e[d++],e[d++]);return u}c=a.length;let f=t;for(d=0;d<c;){const e=a[d++],t=a[d++];try{f=e(f)}catch(h){t.call(this,h);break}}try{u=st.call(this,f)}catch(h){return Promise.reject(h)}for(d=0,c=l.length;d<c;)u=u.then(l[d++],l[d++]);return u}getUri(e){return ie(Me((e=Ne(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}U.forEach(["delete","get","head","options"],(function(e){ht.prototype[e]=function(t,n){return this.request(Ne(n||{},{method:e,url:t,data:(n||{}).data}))}})),U.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(Ne(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}ht.prototype[e]=t(),ht.prototype[e+"Form"]=t(!0)}));const pt=ht;class mt{constructor(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new je(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new mt((function(t){e=t})),cancel:e}}}const gt=mt;const vt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(vt).forEach((e=>{let[t,n]=e;vt[n]=t}));const yt=vt;const bt=function e(t){const n=new pt(t),r=o(pt.prototype.request,n);return U.extend(r,pt.prototype,n,{allOwnKeys:!0}),U.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Ne(t,n))},r}(ve);bt.Axios=pt,bt.CanceledError=je,bt.CancelToken=gt,bt.isCancel=_e,bt.VERSION=lt,bt.toFormData=J,bt.AxiosError=K,bt.Cancel=bt.CanceledError,bt.all=function(e){return Promise.all(e)},bt.spread=function(e){return function(t){return e.apply(null,t)}},bt.isAxiosError=function(e){return U.isObject(e)&&!0===e.isAxiosError},bt.mergeConfig=Ne,bt.AxiosHeaders=Ce,bt.formToJSON=e=>me(U.isHTMLForm(e)?new FormData(e):e),bt.getAdapter=it,bt.HttpStatusCode=yt,bt.default=bt;const xt=bt},23546:(e,t,n)=>{"use strict";n.d(t,{N:()=>v});var r=n(70579),o=n(65043),i=n(9674),a=n(34930),s=n(91051);class l extends o.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function u(e){let{children:t,isPresent:n}=e;const i=(0,o.useId)(),a=(0,o.useRef)(null),u=(0,o.useRef)({width:0,height:0,top:0,left:0}),{nonce:c}=(0,o.useContext)(s.Q);return(0,o.useInsertionEffect)((()=>{const{width:e,height:t,top:r,left:o}=u.current;if(n||!a.current||!e||!t)return;a.current.dataset.motionPopId=i;const s=document.createElement("style");return c&&(s.nonce=c),document.head.appendChild(s),s.sheet&&s.sheet.insertRule(`\n [data-motion-pop-id="${i}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${t}px !important;\n top: ${r}px !important;\n left: ${o}px !important;\n }\n `),()=>{document.head.removeChild(s)}}),[n]),(0,r.jsx)(l,{isPresent:n,childRef:a,sizeRef:u,children:o.cloneElement(t,{ref:a})})}const c=e=>{let{children:t,initial:n,isPresent:s,onExitComplete:l,custom:c,presenceAffectsLayout:f,mode:h}=e;const p=(0,a.M)(d),m=(0,o.useId)(),g=(0,o.useCallback)((e=>{p.set(e,!0);for(const t of p.values())if(!t)return;l&&l()}),[p,l]),v=(0,o.useMemo)((()=>({id:m,initial:n,isPresent:s,custom:c,onExitComplete:g,register:e=>(p.set(e,!1),()=>p.delete(e))})),f?[Math.random(),g]:[s,g]);return(0,o.useMemo)((()=>{p.forEach(((e,t)=>p.set(t,!1)))}),[s]),o.useEffect((()=>{!s&&!p.size&&l&&l()}),[s]),"popLayout"===h&&(t=(0,r.jsx)(u,{isPresent:s,children:t})),(0,r.jsx)(i.t.Provider,{value:v,children:t})};function d(){return new Map}var f=n(2190),h=n(58129);const p=e=>e.key||"";function m(e){const t=[];return o.Children.forEach(e,(e=>{(0,o.isValidElement)(e)&&t.push(e)})),t}var g=n(40293);const v=e=>{let{children:t,exitBeforeEnter:n,custom:i,initial:s=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:d="sync"}=e;(0,h.V)(!n,"Replace exitBeforeEnter with mode='wait'");const v=(0,o.useMemo)((()=>m(t)),[t]),y=v.map(p),b=(0,o.useRef)(!0),x=(0,o.useRef)(v),w=(0,a.M)((()=>new Map)),[S,k]=(0,o.useState)(v),[C,E]=(0,o.useState)(v);(0,g.E)((()=>{b.current=!1,x.current=v;for(let e=0;e<C.length;e++){const t=p(C[e]);y.includes(t)?w.delete(t):!0!==w.get(t)&&w.set(t,!1)}}),[C,y.length,y.join("-")]);const _=[];if(v!==S){let e=[...v];for(let t=0;t<C.length;t++){const n=C[t],r=p(n);y.includes(r)||(e.splice(t,0,n),_.push(n))}return"wait"===d&&_.length&&(e=_),E(m(e)),void k(v)}const{forceRender:P}=(0,o.useContext)(f.L);return(0,r.jsx)(r.Fragment,{children:C.map((e=>{const t=p(e),n=v===C||y.includes(t);return(0,r.jsx)(c,{isPresent:n,initial:!(b.current&&!s)&&void 0,custom:n?void 0:i,presenceAffectsLayout:u,mode:d,onExitComplete:n?void 0:()=>{if(!w.has(t))return;w.set(t,!0);let e=!0;w.forEach((t=>{t||(e=!1)})),e&&(null===P||void 0===P||P(),E(x.current),l&&l())},children:e},t)}))})}},28917:(e,t,n)=>{"use strict";n.d(t,{tF:()=>a,xQ:()=>i});var r=n(65043),o=n(9674);function i(){const e=(0,r.useContext)(o.t);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:i}=e,a=(0,r.useId)();(0,r.useEffect)((()=>i(a)),[]);const s=(0,r.useCallback)((()=>n&&n(a)),[a,n]);return!t&&n?[!1,s]:[!0]}function a(){return null===(e=(0,r.useContext)(o.t))||e.isPresent;var e}},2190:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});const r=(0,n(65043).createContext)({})},91051:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});const r=(0,n(65043).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},9674:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});const r=(0,n(65043).createContext)(null)},534:(e,t,n)=>{"use strict";function r(e){if("undefined"===typeof Proxy)return e;const t=new Map;return new Proxy((function(){return e(...arguments)}),{get:(n,r)=>"create"===r?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}function o(e){return null!==e&&"object"===typeof e&&"function"===typeof e.start}n.d(t,{P:()=>Ba});const i=e=>Array.isArray(e);function a(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function s(e){return"string"===typeof e||Array.isArray(e)}function l(e){const t=[{},{}];return null===e||void 0===e||e.values.forEach(((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()})),t}function u(e,t,n,r){if("function"===typeof t){const[o,i]=l(r);t=t(void 0!==n?n:e.custom,o,i)}if("string"===typeof t&&(t=e.variants&&e.variants[t]),"function"===typeof t){const[o,i]=l(r);t=t(void 0!==n?n:e.custom,o,i)}return t}function c(e,t,n){const r=e.getProps();return u(r,t,void 0!==n?n:r.custom,e)}const d=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],f=["initial",...d],h=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],p=new Set(h),m=e=>1e3*e,g=e=>e/1e3,v={type:"spring",stiffness:500,damping:25,restSpeed:10},y={type:"keyframes",duration:.8},b={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},x=(e,t)=>{let{keyframes:n}=t;return n.length>2?y:p.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===n[1]?2*Math.sqrt(550):30,restSpeed:10}:v:b};function w(e,t){return e?e[t]||e.default||e:void 0}const S=!1,k=!1,C=!1,E=e=>null!==e;function _(e,t,n){let{repeat:r,repeatType:o="loop"}=t;const i=e.filter(E),a=r&&"loop"!==o&&r%2===1?0:i.length-1;return a&&void 0!==n?n:i[a]}var P=n(51892);const j=["read","resolveKeyframes","update","preRender","render","postRender"];function T(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,a=j.reduce(((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,r=!1,o=!1;const i=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function s(t){i.has(t)&&(l.schedule(t),e()),t(a)}const l={schedule:function(e){const o=arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&r?t:n;return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&i.add(e),o.has(e)||o.add(e),e},cancel:e=>{n.delete(e),i.delete(e)},process:e=>{a=e,r?o=!0:(r=!0,[t,n]=[n,t],n.clear(),t.forEach(s),r=!1,o&&(o=!1,l.process(e)))}};return l}(i),e)),{}),{read:s,resolveKeyframes:l,update:u,preRender:c,render:d,postRender:f}=a,h=()=>{const i=k?o.timestamp:performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(i-o.timestamp,40),1),o.timestamp=i,o.isProcessing=!0,s.process(o),l.process(o),u.process(o),c.process(o),d.process(o),f.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(h))},p=j.reduce(((t,i)=>{const s=a[i];return t[i]=function(t){let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return n||(n=!0,r=!0,o.isProcessing||e(h)),s.schedule(t,i,a)},t}),{});return{schedule:p,cancel:e=>{for(let t=0;t<j.length;t++)a[j[t]].cancel(e)},state:o,steps:a}}const{schedule:A,cancel:R,state:O,steps:z}=T("undefined"!==typeof requestAnimationFrame?requestAnimationFrame:P.l,!0),D=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function F(e,t,n,r){if(e===t&&n===r)return P.l;const o=t=>function(e,t,n,r,o){let i,a,s=0;do{a=t+(n-t)/2,i=D(a,r,o)-e,i>0?n=a:t=a}while(Math.abs(i)>1e-7&&++s<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:D(o(e),t,r)}const B=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,M=e=>t=>1-e(1-t),L=F(.33,1.53,.69,.99),N=M(L),$=B(N),I=e=>(e*=2)<1?.5*N(e):.5*(2-Math.pow(2,-10*(e-1))),V=e=>1-Math.sin(Math.acos(e)),H=M(V),U=B(V),W=e=>/^0[^.\s]+$/u.test(e);var q=n(58129);const G=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),K=e=>t=>"string"===typeof t&&t.startsWith(e),Q=K("--"),Y=K("var(--"),X=e=>!!Y(e)&&Z.test(e.split("/*")[0].trim()),Z=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,J=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function ee(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;(0,q.V)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=function(e){const t=J.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${null!==n&&void 0!==n?n:r}`,o]}(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const e=i.trim();return G(e)?parseFloat(e):e}return X(o)?ee(o,t,n+1):o}const te=(e,t,n)=>n>t?t:n<e?e:n,ne={test:e=>"number"===typeof e,parse:parseFloat,transform:e=>e},re={...ne,transform:e=>te(0,1,e)},oe={...ne,default:1},ie=e=>({test:t=>"string"===typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),ae=ie("deg"),se=ie("%"),le=ie("px"),ue=ie("vh"),ce=ie("vw"),de={...se,parse:e=>se.parse(e)/100,transform:e=>se.transform(100*e)},fe=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),he=e=>e===ne||e===le,pe=(e,t)=>parseFloat(e.split(", ")[t]),me=(e,t)=>(n,r)=>{let{transform:o}=r;if("none"===o||!o)return 0;const i=o.match(/^matrix3d\((.+)\)$/u);if(i)return pe(i[1],t);{const t=o.match(/^matrix\((.+)\)$/u);return t?pe(t[1],e):0}},ge=new Set(["x","y","z"]),ve=h.filter((e=>!ge.has(e)));const ye={width:(e,t)=>{let{x:n}=e,{paddingLeft:r="0",paddingRight:o="0"}=t;return n.max-n.min-parseFloat(r)-parseFloat(o)},height:(e,t)=>{let{y:n}=e,{paddingTop:r="0",paddingBottom:o="0"}=t;return n.max-n.min-parseFloat(r)-parseFloat(o)},top:(e,t)=>{let{top:n}=t;return parseFloat(n)},left:(e,t)=>{let{left:n}=t;return parseFloat(n)},bottom:(e,t)=>{let{y:n}=e,{top:r}=t;return parseFloat(r)+(n.max-n.min)},right:(e,t)=>{let{x:n}=e,{left:r}=t;return parseFloat(r)+(n.max-n.min)},x:me(4,13),y:me(5,14)};ye.translateX=ye.x,ye.translateY=ye.y;const be=e=>t=>t.test(e),xe=[ne,le,se,ae,ce,ue,{test:e=>"auto"===e,parse:e=>e}],we=e=>xe.find(be(e)),Se=new Set;let ke=!1,Ce=!1;function Ee(){if(Ce){const e=Array.from(Se).filter((e=>e.needsMeasurement)),t=new Set(e.map((e=>e.element))),n=new Map;t.forEach((e=>{const t=function(e){const t=[];return ve.forEach((n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t}(e);t.length&&(n.set(e,t),e.render())})),e.forEach((e=>e.measureInitialState())),t.forEach((e=>{e.render();const t=n.get(e);t&&t.forEach((t=>{let[n,r]=t;var o;null===(o=e.getValue(n))||void 0===o||o.set(r)}))})),e.forEach((e=>e.measureEndState())),e.forEach((e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)}))}Ce=!1,ke=!1,Se.forEach((e=>e.complete())),Se.clear()}function _e(){Se.forEach((e=>{e.readKeyframes(),e.needsMeasurement&&(Ce=!0)}))}class Pe{constructor(e,t,n,r,o){let i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=o,this.isAsync=i}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Se.add(this),ke||(ke=!0,A.read(_e),A.resolveKeyframes(Ee))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;for(let o=0;o<e.length;o++)if(null===e[o])if(0===o){const o=null===r||void 0===r?void 0:r.get(),i=e[e.length-1];if(void 0!==o)e[0]=o;else if(n&&t){const r=n.readValue(t,i);void 0!==r&&null!==r&&(e[0]=r)}void 0===e[0]&&(e[0]=i),r&&void 0===o&&r.set(e[0])}else e[o]=e[o-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Se.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Se.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const je=e=>Math.round(1e5*e)/1e5,Te=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;const Ae=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Re=(e,t)=>n=>Boolean("string"===typeof n&&Ae.test(n)&&n.startsWith(e)||t&&!function(e){return null==e}(n)&&Object.prototype.hasOwnProperty.call(n,t)),Oe=(e,t,n)=>r=>{if("string"!==typeof r)return r;const[o,i,a,s]=r.match(Te);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},ze={...ne,transform:e=>Math.round((e=>te(0,255,e))(e))},De={test:Re("rgb","red"),parse:Oe("red","green","blue"),transform:e=>{let{red:t,green:n,blue:r,alpha:o=1}=e;return"rgba("+ze.transform(t)+", "+ze.transform(n)+", "+ze.transform(r)+", "+je(re.transform(o))+")"}};const Fe={test:Re("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:De.transform},Be={test:Re("hsl","hue"),parse:Oe("hue","saturation","lightness"),transform:e=>{let{hue:t,saturation:n,lightness:r,alpha:o=1}=e;return"hsla("+Math.round(t)+", "+se.transform(je(n))+", "+se.transform(je(r))+", "+je(re.transform(o))+")"}},Me={test:e=>De.test(e)||Fe.test(e)||Be.test(e),parse:e=>De.test(e)?De.parse(e):Be.test(e)?Be.parse(e):Fe.parse(e),transform:e=>"string"===typeof e?e:e.hasOwnProperty("red")?De.transform(e):Be.transform(e)},Le=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;const Ne="number",$e="color",Ie=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ve(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let i=0;const a=t.replace(Ie,(e=>(Me.test(e)?(r.color.push(i),o.push($e),n.push(Me.parse(e))):e.startsWith("var(")?(r.var.push(i),o.push("var"),n.push(e)):(r.number.push(i),o.push(Ne),n.push(parseFloat(e))),++i,"${}"))).split("${}");return{values:n,split:a,indexes:r,types:o}}function He(e){return Ve(e).values}function Ue(e){const{split:t,types:n}=Ve(e),r=t.length;return e=>{let o="";for(let i=0;i<r;i++)if(o+=t[i],void 0!==e[i]){const t=n[i];o+=t===Ne?je(e[i]):t===$e?Me.transform(e[i]):e[i]}return o}}const We=e=>"number"===typeof e?0:e;const qe={test:function(e){var t,n;return isNaN(e)&&"string"===typeof e&&((null===(t=e.match(Te))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(Le))||void 0===n?void 0:n.length)||0)>0},parse:He,createTransformer:Ue,getAnimatableNone:function(e){const t=He(e);return Ue(e)(t.map(We))}},Ge=new Set(["brightness","contrast","saturate","opacity"]);function Ke(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(Te)||[];if(!r)return e;const o=n.replace(r,"");let i=Ge.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const Qe=/\b([a-z-]*)\(.*?\)/gu,Ye={...qe,getAnimatableNone:e=>{const t=e.match(Qe);return t?t.map(Ke).join(" "):e}},Xe={borderWidth:le,borderTopWidth:le,borderRightWidth:le,borderBottomWidth:le,borderLeftWidth:le,borderRadius:le,radius:le,borderTopLeftRadius:le,borderTopRightRadius:le,borderBottomRightRadius:le,borderBottomLeftRadius:le,width:le,maxWidth:le,height:le,maxHeight:le,top:le,right:le,bottom:le,left:le,padding:le,paddingTop:le,paddingRight:le,paddingBottom:le,paddingLeft:le,margin:le,marginTop:le,marginRight:le,marginBottom:le,marginLeft:le,backgroundPositionX:le,backgroundPositionY:le},Ze={rotate:ae,rotateX:ae,rotateY:ae,rotateZ:ae,scale:oe,scaleX:oe,scaleY:oe,scaleZ:oe,skew:ae,skewX:ae,skewY:ae,distance:le,translateX:le,translateY:le,translateZ:le,x:le,y:le,z:le,perspective:le,transformPerspective:le,opacity:re,originX:de,originY:de,originZ:le},Je={...ne,transform:Math.round},et={...Xe,...Ze,zIndex:Je,size:le,fillOpacity:re,strokeOpacity:re,numOctaves:Je},tt={...et,color:Me,backgroundColor:Me,outlineColor:Me,fill:Me,stroke:Me,borderColor:Me,borderTopColor:Me,borderRightColor:Me,borderBottomColor:Me,borderLeftColor:Me,filter:Ye,WebkitFilter:Ye},nt=e=>tt[e];function rt(e,t){let n=nt(e);return n!==Ye&&(n=qe),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const ot=new Set(["auto","none","0"]);class it extends Pe{constructor(e,t,n,r,o){super(e,t,n,r,o,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let s=0;s<e.length;s++){let n=e[s];if("string"===typeof n&&(n=n.trim(),X(n))){const r=ee(n,t.current);void 0!==r&&(e[s]=r),s===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!fe.has(n)||2!==e.length)return;const[r,o]=e,i=we(r),a=we(o);if(i!==a)if(he(i)&&he(a))for(let s=0;s<e.length;s++){const t=e[s];"string"===typeof t&&(e[s]=parseFloat(t))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:t}=this,n=[];for(let o=0;o<e.length;o++)("number"===typeof(r=e[o])?0===r:null===r||"none"===r||"0"===r||W(r))&&n.push(o);var r;n.length&&function(e,t,n){let r,o=0;for(;o<e.length&&!r;){const t=e[o];"string"===typeof t&&!ot.has(t)&&Ve(t).values.length&&(r=e[o]),o++}if(r&&n)for(const i of t)e[i]=rt(n,r)}(e,n,t)}measureInitialState(){const{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ye[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;const r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){var e;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const o=t.getValue(n);o&&o.jump(this.measuredOrigin,!1);const i=r.length-1,a=r[i];r[i]=ye[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==a&&void 0===this.finalKeyframe&&(this.finalKeyframe=a),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEach((e=>{let[n,r]=e;t.getValue(n).set(r)})),this.resolveNoneKeyframes()}}function at(e){return"function"===typeof e}let st;function lt(){st=void 0}const ut={now:()=>(void 0===st&&ut.set(O.isProcessing||k?O.timestamp:performance.now()),st),set:e=>{st=e,queueMicrotask(lt)}},ct=(e,t)=>"zIndex"!==t&&(!("number"!==typeof e&&!Array.isArray(e))||!("string"!==typeof e||!qe.test(e)&&"0"!==e||e.startsWith("url(")));function dt(e,t,n,r){const o=e[0];if(null===o)return!1;if("display"===t||"visibility"===t)return!0;const i=e[e.length-1],a=ct(o,t),s=ct(i,t);return(0,q.$)(a===s,`You are trying to animate ${t} from "${o}" to "${i}". ${o} is not an animatable value - to enable this animation set ${o} to a value animatable to ${i} via the \`style\` property.`),!(!a||!s)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||at(n))&&r)}class ft{constructor(e){let{autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:a="loop",...s}=e;this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=ut.now(),this.options={autoplay:t,delay:n,type:r,repeat:o,repeatDelay:i,repeatType:a,...s},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(_e(),Ee()),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=ut.now(),this.hasAttemptedResolve=!0;const{name:n,type:r,velocity:o,delay:i,onComplete:a,onUpdate:s,isGenerator:l}=this.options;if(!l&&!dt(e,n,r,o)){if(C||!i)return null===s||void 0===s||s(_(e,this.options,t)),null===a||void 0===a||a(),void this.resolveFinishedPromise();this.options.duration=0}const u=this.initPlayback(e,t);!1!==u&&(this._resolved={keyframes:e,finalKeyframe:t,...u},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise((e=>{this.resolveFinishedPromise=e}))}}const ht=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},pt=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r="";const o=Math.max(Math.round(t/n),2);for(let i=0;i<o;i++)r+=e(ht(0,o-1,i))+", ";return`linear(${r.substring(0,r.length-2)})`};function mt(e,t){return t?e*(1e3/t):0}function gt(e,t,n){const r=Math.max(t-5,0);return mt(n-e(r),t-r)}const vt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},yt=.001;function bt(e){let t,n,{duration:r=vt.duration,bounce:o=vt.bounce,velocity:i=vt.velocity,mass:a=vt.mass}=e;(0,q.$)(r<=m(vt.maxDuration),"Spring duration must be 10 seconds or less");let s=1-o;s=te(vt.minDamping,vt.maxDamping,s),r=te(vt.minDuration,vt.maxDuration,g(r)),s<1?(t=e=>{const t=e*s,n=t*r,o=t-i,a=wt(e,s),l=Math.exp(-n);return yt-o/a*l},n=e=>{const n=e*s*r,o=n*i+i,a=Math.pow(s,2)*Math.pow(e,2)*r,l=Math.exp(-n),u=wt(Math.pow(e,2),s);return(-t(e)+yt>0?-1:1)*((o-a)*l)/u}):(t=e=>Math.exp(-e*r)*((e-i)*r+1)-.001,n=e=>Math.exp(-e*r)*(r*r*(i-e)));const l=function(e,t,n){let r=n;for(let o=1;o<xt;o++)r-=e(r)/t(r);return r}(t,n,5/r);if(r=m(r),isNaN(l))return{stiffness:vt.stiffness,damping:vt.damping,duration:r};{const e=Math.pow(l,2)*a;return{stiffness:e,damping:2*s*Math.sqrt(a*e),duration:r}}}const xt=12;function wt(e,t){return e*Math.sqrt(1-t*t)}const St=2e4;function kt(e){let t=0;let n=e.next(t);for(;!n.done&&t<St;)t+=50,n=e.next(t);return t>=St?1/0:t}const Ct=["duration","bounce"],Et=["stiffness","damping","mass"];function _t(e,t){return t.some((t=>void 0!==e[t]))}function Pt(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:vt.visualDuration,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:vt.bounce;const n="object"!==typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:o}=n;const i=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],s={done:!1,value:i},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:h}=function(e){let t={velocity:vt.velocity,stiffness:vt.stiffness,damping:vt.damping,mass:vt.mass,isResolvedFromDuration:!1,...e};if(!_t(e,Et)&&_t(e,Ct))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(1.2*n),o=r*r,i=2*te(.05,1,1-e.bounce)*Math.sqrt(o);t={...t,mass:vt.mass,stiffness:o,damping:i}}else{const n=bt(e);t={...t,...n,mass:vt.mass},t.isResolvedFromDuration=!0}return t}({...n,velocity:-g(n.velocity||0)}),p=f||0,v=u/(2*Math.sqrt(l*c)),y=a-i,b=g(Math.sqrt(l/c)),x=Math.abs(y)<5;let w;if(r||(r=x?vt.restSpeed.granular:vt.restSpeed.default),o||(o=x?vt.restDelta.granular:vt.restDelta.default),v<1){const e=wt(b,v);w=t=>{const n=Math.exp(-v*b*t);return a-n*((p+v*b*y)/e*Math.sin(e*t)+y*Math.cos(e*t))}}else if(1===v)w=e=>a-Math.exp(-b*e)*(y+(p+b*y)*e);else{const e=b*Math.sqrt(v*v-1);w=t=>{const n=Math.exp(-v*b*t),r=Math.min(e*t,300);return a-n*((p+v*b*y)*Math.sinh(r)+e*y*Math.cosh(r))/e}}const S={calculatedDuration:h&&d||null,next:e=>{const t=w(e);if(h)s.done=e>=d;else{let n=0;v<1&&(n=0===e?m(p):gt(w,e,t));const i=Math.abs(n)<=r,l=Math.abs(a-t)<=o;s.done=i&&l}return s.value=s.done?a:t,s},toString:()=>{const e=Math.min(kt(S),St),t=pt((t=>S.next(e*t).value),e,30);return e+"ms "+t}};return S}function jt(e){let{keyframes:t,velocity:n=0,power:r=.8,timeConstant:o=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:s,min:l,max:u,restDelta:c=.5,restSpeed:d}=e;const f=t[0],h={done:!1,value:f},p=e=>void 0===l?u:void 0===u||Math.abs(l-e)<Math.abs(u-e)?l:u;let m=r*n;const g=f+m,v=void 0===s?g:s(g);v!==g&&(m=v-f);const y=e=>-m*Math.exp(-e/o),b=e=>v+y(e),x=e=>{const t=y(e),n=b(e);h.done=Math.abs(t)<=c,h.value=h.done?v:n};let w,S;const k=e=>{var t;(t=h.value,void 0!==l&&t<l||void 0!==u&&t>u)&&(w=e,S=Pt({keyframes:[h.value,p(h.value)],velocity:gt(b,e,h.value),damping:i,stiffness:a,restDelta:c,restSpeed:d}))};return k(0),{calculatedDuration:null,next:e=>{let t=!1;return S||void 0!==w||(t=!0,x(e),k(e)),void 0!==w&&e>=w?S.next(e-w):(!t&&x(e),h)}}}const Tt=F(.42,0,1,1),At=F(0,0,.58,1),Rt=F(.42,0,.58,1),Ot=e=>Array.isArray(e)&&"number"===typeof e[0],zt={linear:P.l,easeIn:Tt,easeInOut:Rt,easeOut:At,circIn:V,circInOut:U,circOut:H,backIn:N,backInOut:$,backOut:L,anticipate:I},Dt=e=>{if(Ot(e)){(0,q.V)(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return F(t,n,r,o)}return"string"===typeof e?((0,q.V)(void 0!==zt[e],`Invalid easing type '${e}'`),zt[e]):e},Ft=(e,t)=>n=>t(e(n)),Bt=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(Ft)},Mt=(e,t,n)=>e+(t-e)*n;function Lt(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Nt(e,t){return n=>n>0?t:e}const $t=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},It=[Fe,De,Be];function Vt(e){const t=(n=e,It.find((e=>e.test(n))));var n;if((0,q.$)(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`),!Boolean(t))return!1;let r=t.parse(e);return t===Be&&(r=function(e){let{hue:t,saturation:n,lightness:r,alpha:o}=e;t/=360,n/=100,r/=100;let i=0,a=0,s=0;if(n){const e=r<.5?r*(1+n):r+n-r*n,o=2*r-e;i=Lt(o,e,t+1/3),a=Lt(o,e,t),s=Lt(o,e,t-1/3)}else i=a=s=r;return{red:Math.round(255*i),green:Math.round(255*a),blue:Math.round(255*s),alpha:o}}(r)),r}const Ht=(e,t)=>{const n=Vt(e),r=Vt(t);if(!n||!r)return Nt(e,t);const o={...n};return e=>(o.red=$t(n.red,r.red,e),o.green=$t(n.green,r.green,e),o.blue=$t(n.blue,r.blue,e),o.alpha=Mt(n.alpha,r.alpha,e),De.transform(o))},Ut=new Set(["none","hidden"]);function Wt(e,t){return n=>Mt(e,t,n)}function qt(e){return"number"===typeof e?Wt:"string"===typeof e?X(e)?Nt:Me.test(e)?Ht:Qt:Array.isArray(e)?Gt:"object"===typeof e?Me.test(e)?Ht:Kt:Nt}function Gt(e,t){const n=[...e],r=n.length,o=e.map(((e,n)=>qt(e)(e,t[n])));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}}function Kt(e,t){const n={...e,...t},r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=qt(e[o])(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}}const Qt=(e,t)=>{const n=qe.createTransformer(t),r=Ve(e),o=Ve(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?Ut.has(e)&&!o.values.length||Ut.has(t)&&!r.values.length?function(e,t){return Ut.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):Bt(Gt(function(e,t){var n;const r=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const a=t.types[i],s=e.indexes[a][o[a]],l=null!==(n=e.values[s])&&void 0!==n?n:0;r[i]=l,o[a]++}return r}(r,o),o.values),n):((0,q.$)(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Nt(e,t))};function Yt(e,t,n){if("number"===typeof e&&"number"===typeof t&&"number"===typeof n)return Mt(e,t,n);return qt(e)(e,t)}function Xt(e,t){let{clamp:n=!0,ease:r,mixer:o}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=e.length;if((0,q.V)(i===t.length,"Both input and output ranges must be the same length"),1===i)return()=>t[0];if(2===i&&e[0]===e[1])return()=>t[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=function(e,t,n){const r=[],o=n||Yt,i=e.length-1;for(let a=0;a<i;a++){let n=o(e[a],e[a+1]);if(t){const e=Array.isArray(t)?t[a]||P.l:t;n=Bt(e,n)}r.push(n)}return r}(t,r,o),s=a.length,l=t=>{let n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const r=ht(e[n],e[n+1],t);return a[n](r)};return n?t=>l(te(e[0],e[i-1],t)):l}function Zt(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=ht(0,t,r);e.push(Mt(n,1,o))}}(t,e.length-1),t}function Jt(e){let{duration:t=300,keyframes:n,times:r,ease:o="easeInOut"}=e;const i=(e=>Array.isArray(e)&&"number"!==typeof e[0])(o)?o.map(Dt):Dt(o),a={done:!1,value:n[0]},s=function(e,t){return e.map((e=>e*t))}(r&&r.length===n.length?r:Zt(n),t),l=Xt(s,n,{ease:Array.isArray(i)?i:(u=n,c=i,u.map((()=>c||Rt)).splice(0,u.length-1))});var u,c;return{calculatedDuration:t,next:e=>(a.value=l(e),a.done=e>=t,a)}}const en=e=>{const t=t=>{let{timestamp:n}=t;return e(n)};return{start:()=>A.update(t,!0),stop:()=>R(t),now:()=>O.isProcessing?O.timestamp:ut.now()}},tn={decay:jt,inertia:jt,tween:Jt,keyframes:Jt,spring:Pt},nn=e=>e/100;class rn extends ft{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();const{onStop:e}=this.options;e&&e()};const{name:t,motionValue:n,element:r,keyframes:o}=this.options,i=(null===r||void 0===r?void 0:r.KeyframeResolver)||Pe;this.resolver=new i(o,((e,t)=>this.onKeyframesResolved(e,t)),t,n,r),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){const{type:t="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:o,velocity:i=0}=this.options,a=at(t)?t:tn[t]||Jt;let s,l;a!==Jt&&"number"!==typeof e[0]&&(s=Bt(nn,Yt(e[0],e[1])),e=[0,100]);const u=a({...this.options,keyframes:e});"mirror"===o&&(l=a({...this.options,keyframes:[...e].reverse(),velocity:-i})),null===u.calculatedDuration&&(u.calculatedDuration=kt(u));const{calculatedDuration:c}=u,d=c+r;return{generator:u,mirroredGenerator:l,mapPercentToKeyframes:s,calculatedDuration:c,resolvedDuration:d,totalDuration:d*(n+1)-r}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{resolved:n}=this;if(!n){const{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}const{finalKeyframe:r,generator:o,mirroredGenerator:i,mapPercentToKeyframes:a,keyframes:s,calculatedDuration:l,totalDuration:u,resolvedDuration:c}=n;if(null===this.startTime)return o.next(0);const{delay:d,repeat:f,repeatType:h,repeatDelay:p,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-u/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const g=this.currentTime-d*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,b=o;if(f){const e=Math.min(this.currentTime,u)/c;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,f+1);Boolean(t%2)&&("reverse"===h?(n=1-n,p&&(n-=p/c)):"mirror"===h&&(b=i)),y=te(0,1,n)*c}const x=v?{done:!1,value:s[0]}:b.next(y);a&&(x.value=a(x.value));let{done:w}=x;v||null===l||(w=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return S&&void 0!==r&&(x.value=_(s,this.options,r)),m&&m(x.value),S&&this.finish(),x}get duration(){const{resolved:e}=this;return e?g(e.calculatedDuration):0}get time(){return g(this.currentTime)}set time(e){e=m(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=g(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:e=en,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e((e=>this.tick(e)))),t&&t();const r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=r):this.startTime=null!==n&&void 0!==n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;this._resolved?(this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0):this.pendingPlayState="paused"}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const on=new Set(["opacity","clipPath","filter","transform"]);function an(e){let t;return()=>(void 0===t&&(t=e()),t)}const sn={linearEasing:void 0};function ln(e,t){const n=an(e);return()=>{var e;return null!==(e=sn[t])&&void 0!==e?e:n()}}const un=ln((()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0}),"linearEasing");function cn(e){return Boolean("function"===typeof e&&un()||!e||"string"===typeof e&&(e in fn||un())||Ot(e)||Array.isArray(e)&&e.every(cn))}const dn=e=>{let[t,n,r,o]=e;return`cubic-bezier(${t}, ${n}, ${r}, ${o})`},fn={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:dn([0,.65,.55,1]),circOut:dn([.55,0,1,.45]),backIn:dn([.31,.01,.66,-.59]),backOut:dn([.33,1.53,.69,.99])};function hn(e,t){return e?"function"===typeof e&&un()?pt(e,t):Ot(e)?dn(e):Array.isArray(e)?e.map((e=>hn(e,t)||fn.easeOut)):fn[e]:void 0}function pn(e,t,n){let{delay:r=0,duration:o=300,repeat:i=0,repeatType:a="loop",ease:s="easeInOut",times:l}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const u={[t]:n};l&&(u.offset=l);const c=hn(s,o);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:o,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:i+1,direction:"reverse"===a?"alternate":"normal"})}function mn(e,t){e.timeline=t,e.onfinish=null}const gn=an((()=>Object.hasOwnProperty.call(Element.prototype,"animate")));const vn={anticipate:I,backInOut:$,circInOut:U};class yn extends ft{constructor(e){super(e);const{name:t,motionValue:n,element:r,keyframes:o}=this.options;this.resolver=new it(o,((e,t)=>this.onKeyframesResolved(e,t)),t,n,r),this.resolver.scheduleResolve()}initPlayback(e,t){var n;let{duration:r=300,times:o,ease:i,type:a,motionValue:s,name:l,startTime:u}=this.options;if(!(null===(n=s.owner)||void 0===n?void 0:n.current))return!1;var c;if("string"===typeof i&&un()&&i in vn&&(i=vn[i]),at((c=this.options).type)||"spring"===c.type||!cn(c.ease)){const{onComplete:t,onUpdate:n,motionValue:s,element:l,...u}=this.options,c=function(e,t){const n=new rn({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const o=[];let i=0;for(;!r.done&&i<2e4;)r=n.sample(i),o.push(r.value),i+=10;return{times:void 0,keyframes:o,duration:i-10,ease:"linear"}}(e,u);1===(e=c.keyframes).length&&(e[1]=e[0]),r=c.duration,o=c.times,i=c.ease,a="keyframes"}const d=pn(s.owner.current,l,e,{...this.options,duration:r,times:o,ease:i});return d.startTime=null!==u&&void 0!==u?u:this.calcStartTime(),this.pendingTimeline?(mn(d,this.pendingTimeline),this.pendingTimeline=void 0):d.onfinish=()=>{const{onComplete:n}=this.options;s.set(_(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:d,duration:r,times:o,type:a,ease:i,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:t}=e;return g(t)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:t}=e;return g(t.currentTime||0)}set time(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.currentTime=m(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:t}=e;return t.playbackRate}set speed(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:t}=e;return t.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){const{resolved:t}=this;if(!t)return P.l;const{animation:n}=t;mn(n,e)}else this.pendingTimeline=e;return P.l}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:t,keyframes:n,duration:r,type:o,ease:i,times:a}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){const{motionValue:e,onUpdate:t,onComplete:s,element:l,...u}=this.options,c=new rn({...u,keyframes:n,duration:r,type:o,ease:i,times:a,isGenerator:!0}),d=m(this.time);e.setWithVelocity(c.sample(d-10).value,c.sample(d).value,10)}const{onStop:s}=this.options;s&&s(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:o,damping:i,type:a}=e;return gn()&&n&&on.has(n)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!r&&"mirror"!==o&&0!==i&&"inertia"!==a}}const bn=an((()=>void 0!==window.ScrollTimeline));class xn{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,t){return Promise.all(this.animations).then(e).catch(t)}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e,t){const n=this.animations.map((n=>bn()&&n.attachTimeline?n.attachTimeline(e):t(n)));return()=>{n.forEach(((e,t)=>{e&&e(),this.animations[t].stop()}))}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach((t=>t[e]()))}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}const wn=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0;return a=>{const s=w(r,e)||{},l=s.delay||r.delay||0;let{elapsed:u=0}=r;u-=m(l);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-u,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:i?void 0:o};(function(e){let{when:t,delay:n,delayChildren:r,staggerChildren:o,staggerDirection:i,repeat:a,repeatType:s,repeatDelay:l,from:u,elapsed:c,...d}=e;return!!Object.keys(d).length})(s)||(c={...c,...x(e,c)}),c.duration&&(c.duration=m(c.duration)),c.repeatDelay&&(c.repeatDelay=m(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if((!1===c.type||0===c.duration&&!c.repeatDelay)&&(c.duration=0,0===c.delay&&(d=!0)),(C||S)&&(d=!0,c.duration=0,c.delay=0),d&&!i&&void 0!==t.get()){const e=_(c.keyframes,s);if(void 0!==e)return A.update((()=>{c.onUpdate(e),c.onComplete()})),new xn([])}return!i&&yn.supports(c)?new yn(c):new rn(c)}};function Sn(e,t){-1===e.indexOf(t)&&e.push(t)}function kn(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Cn{constructor(){this.subscriptions=[]}add(e){return Sn(this.subscriptions,e),()=>kn(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let o=0;o<r;o++){const r=this.subscriptions[o];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const En={current:void 0};class _n{constructor(e){var t=this;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.version="11.12.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=function(e){let n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const r=ut.now();t.updatedAt!==r&&t.setPrevFrameValue(),t.prev=t.current,t.setCurrent(e),t.current!==t.prev&&t.events.change&&t.events.change.notify(t.current),n&&t.events.renderRequest&&t.events.renderRequest.notify(t.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){var t;this.current=e,this.updatedAt=ut.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t))))}setPrevFrameValue(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.current;this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Cn);const n=this.events[e].add(t);return"change"===e?()=>{n(),A.read((()=>{this.events.change.getSize()||this.stop()}))}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return En.current&&En.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=ut.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return mt(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise((t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Pn(e,t){return new _n(e,t)}function jn(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Pn(n))}const Tn=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),An="data-"+Tn("framerAppearId");function Rn(e){return e.props[An]}const On=e=>Boolean(e&&e.getVelocity);function zn(e,t){const n=e.getValue("willChange");if(r=n,Boolean(On(r)&&r.add))return n.add(t);var r}function Dn(e,t){let{protectedKeys:n,needsAnimating:r}=e;const o=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,o}function Fn(e,t){let{delay:n=0,transitionOverride:r,type:o}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var a;let{transition:s=e.getDefaultTransition(),transitionEnd:l,...u}=t;r&&(s=r);const d=[],f=o&&e.animationState&&e.animationState.getState()[o];for(const i in u){const t=e.getValue(i,null!==(a=e.latestValues[i])&&void 0!==a?a:null),r=u[i];if(void 0===r||f&&Dn(f,i))continue;const o={delay:n,...w(s||{},i)};let l=!1;if(window.MotionHandoffAnimation){const t=Rn(e);if(t){const e=window.MotionHandoffAnimation(t,i,A);null!==e&&(o.startTime=e,l=!0)}}zn(e,i),t.start(wn(i,t,r,e.shouldReduceMotion&&p.has(i)?{type:!1}:o,e,l));const c=t.animation;c&&d.push(c)}return l&&Promise.all(d).then((()=>{A.update((()=>{l&&function(e,t){const n=c(e,t);let{transitionEnd:r={},transition:o={},...a}=n||{};a={...a,...r};for(const l in a)jn(e,l,(s=a[l],i(s)?s[s.length-1]||0:s));var s}(e,l)}))})),d}function Bn(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var r;const o=c(e,t,"exit"===n.type?null===(r=e.presenceContext)||void 0===r?void 0:r.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(i=n.transitionOverride);const a=o?()=>Promise.all(Fn(e,o,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?function(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const{delayChildren:o=0,staggerChildren:a,staggerDirection:s}=i;return function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,i=arguments.length>5?arguments[5]:void 0;const a=[],s=(e.variantChildren.size-1)*r,l=1===o?function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)*r}:function(){return s-(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)*r};return Array.from(e.variantChildren).sort(Mn).forEach(((e,r)=>{e.notify("AnimationStart",t),a.push(Bn(e,t,{...i,delay:n+l(r)}).then((()=>e.notify("AnimationComplete",t))))})),Promise.all(a)}(e,t,o+r,a,s,n)}:()=>Promise.resolve(),{when:l}=i;if(l){const[e,t]="beforeChildren"===l?[a,s]:[s,a];return e().then((()=>t()))}return Promise.all([a(),s(n.delay)])}function Mn(e,t){return e.sortNodePosition(t)}const Ln=f.length;function Nn(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent&&Nn(e.parent)||{};return void 0!==e.props.initial&&(t.initial=e.props.initial),t}const t={};for(let n=0;n<Ln;n++){const r=f[n],o=e.props[r];(s(o)||!1===o)&&(t[r]=o)}return t}const $n=[...d].reverse(),In=d.length;function Vn(e){return t=>Promise.all(t.map((t=>{let{animation:n,options:r}=t;return function(e,t){let n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map((t=>Bn(e,t,r)));n=Promise.all(o)}else if("string"===typeof t)n=Bn(e,t,r);else{const o="function"===typeof t?c(e,t,r.custom):t;n=Promise.all(Fn(e,o,r))}return n.then((()=>{e.notify("AnimationComplete",t)}))}(e,n,r)})))}function Hn(e){let t=Vn(e),n=qn(),r=!0;const l=t=>(n,r)=>{var o;const i=c(e,r,"exit"===t?null===(o=e.presenceContext)||void 0===o?void 0:o.custom:void 0);if(i){const{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function u(u){const{props:c}=e,d=Nn(e.parent)||{},f=[],h=new Set;let p={},m=1/0;for(let t=0;t<In;t++){const g=$n[t],v=n[g],y=void 0!==c[g]?c[g]:d[g],b=s(y),x=g===u?v.isActive:null;!1===x&&(m=t);let w=y===d[g]&&y!==c[g]&&b;if(w&&r&&e.manuallyAnimateOnMount&&(w=!1),v.protectedKeys={...p},!v.isActive&&null===x||!y&&!v.prevProp||o(y)||"boolean"===typeof y)continue;const S=Un(v.prevProp,y);let k=S||g===u&&v.isActive&&!w&&b||t>m&&b,C=!1;const E=Array.isArray(y)?y:[y];let _=E.reduce(l(g),{});!1===x&&(_={});const{prevResolvedValues:P={}}=v,j={...P,..._},T=t=>{k=!0,h.has(t)&&(C=!0,h.delete(t)),v.needsAnimating[t]=!0;const n=e.getValue(t);n&&(n.liveStyle=!1)};for(const e in j){const t=_[e],n=P[e];if(p.hasOwnProperty(e))continue;let r=!1;r=i(t)&&i(n)?!a(t,n):t!==n,r?void 0!==t&&null!==t?T(e):h.add(e):void 0!==t&&h.has(e)?T(e):v.protectedKeys[e]=!0}v.prevProp=y,v.prevResolvedValues=_,v.isActive&&(p={...p,..._}),r&&e.blockInitialAnimation&&(k=!1);k&&(!(w&&S)||C)&&f.push(...E.map((e=>({animation:e,options:{type:g}}))))}if(h.size){const t={};h.forEach((n=>{const r=e.getBaseTarget(n),o=e.getValue(n);o&&(o.liveStyle=!0),t[n]=null!==r&&void 0!==r?r:null})),f.push({animation:t})}let g=Boolean(f.length);return!r||!1!==c.initial&&c.initial!==c.animate||e.manuallyAnimateOnMount||(g=!1),r=!1,g?t(f):Promise.resolve()}return{animateChanges:u,setActive:function(t,r){var o;if(n[t].isActive===r)return Promise.resolve();null===(o=e.variantChildren)||void 0===o||o.forEach((e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),n[t].isActive=r;const i=u(t);for(const e in n)n[e].protectedKeys={};return i},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=qn(),r=!0}}}function Un(e,t){return"string"===typeof t?t!==e:!!Array.isArray(t)&&!a(t,e)}function Wn(){return{isActive:arguments.length>0&&void 0!==arguments[0]&&arguments[0],protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function qn(){return{animate:Wn(!0),whileInView:Wn(),whileHover:Wn(),whileTap:Wn(),whileDrag:Wn(),whileFocus:Wn(),exit:Wn()}}class Gn{constructor(e){this.isMounted=!1,this.node=e}update(){}}let Kn=0;const Qn={animation:{Feature:class extends Gn{constructor(e){super(e),e.animationState||(e.animationState=Hn(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();o(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null===(e=this.unmountControls)||void 0===e||e.call(this)}}},exit:{Feature:class extends Gn{constructor(){super(...arguments),this.id=Kn++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;const r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then((()=>t(this.id)))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},Yn=e=>"mouse"===e.pointerType?"number"!==typeof e.button||e.button<=0:!1!==e.isPrimary;function Xn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"page";return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}function Zn(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function Jn(e,t,n,r){return Zn(e,t,(e=>t=>Yn(t)&&e(t,Xn(t)))(n),r)}const er=(e,t)=>Math.abs(e-t);class tr{constructor(e,t){let{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:o=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=or(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=er(e.x,t.x),r=er(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:r}=e,{timestamp:o}=O;this.history.push({...r,timestamp:o});const{onStart:i,onMove:a}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=nr(t,this.transformPagePoint),A.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:n,onSessionEnd:r,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const i=or("pointercancel"===e.type?this.lastMoveEventInfo:nr(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),r&&r(e,i)},!Yn(e))return;this.dragSnapToOrigin=o,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||window;const i=nr(Xn(e),this.transformPagePoint),{point:a}=i,{timestamp:s}=O;this.history=[{...a,timestamp:s}];const{onSessionStart:l}=t;l&&l(e,or(i,this.history)),this.removeListeners=Bt(Jn(this.contextWindow,"pointermove",this.handlePointerMove),Jn(this.contextWindow,"pointerup",this.handlePointerUp),Jn(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),R(this.updatePoint)}}function nr(e,t){return t?{point:t(e.point)}:e}function rr(e,t){return{x:e.x-t.x,y:e.y-t.y}}function or(e,t){let{point:n}=e;return{point:n,delta:rr(n,ar(t)),offset:rr(n,ir(t)),velocity:sr(t,.1)}}function ir(e){return e[0]}function ar(e){return e[e.length-1]}function sr(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=ar(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>m(t)));)n--;if(!r)return{x:0,y:0};const i=g(o.timestamp-r.timestamp);if(0===i)return{x:0,y:0};const a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function lr(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const ur=lr("dragHorizontal"),cr=lr("dragVertical");function dr(e){let t=!1;if("y"===e)t=cr();else if("x"===e)t=ur();else{const e=ur(),n=cr();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function fr(){const e=dr(!0);return!e||(e(),!1)}function hr(e){return e&&"object"===typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function pr(e){return e.max-e.min}function mr(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;e.origin=r,e.originPoint=Mt(t.min,t.max,e.origin),e.scale=pr(n)/pr(t),e.translate=Mt(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function gr(e,t,n,r){mr(e.x,t.x,n.x,r?r.originX:void 0),mr(e.y,t.y,n.y,r?r.originY:void 0)}function vr(e,t,n){e.min=n.min+t.min,e.max=e.min+pr(t)}function yr(e,t,n){e.min=t.min-n.min,e.max=e.min+pr(t)}function br(e,t,n){yr(e.x,t.x,n.x),yr(e.y,t.y,n.y)}function xr(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function wr(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}const Sr=.35;function kr(e,t,n){return{min:Cr(e,t),max:Cr(e,n)}}function Cr(e,t){return"number"===typeof e?e:e[t]||0}const Er=()=>({x:{min:0,max:0},y:{min:0,max:0}});function _r(e){return[e("x"),e("y")]}function Pr(e){let{top:t,left:n,right:r,bottom:o}=e;return{x:{min:n,max:r},y:{min:t,max:o}}}function jr(e){return void 0===e||1===e}function Tr(e){let{scale:t,scaleX:n,scaleY:r}=e;return!jr(t)||!jr(n)||!jr(r)}function Ar(e){return Tr(e)||Rr(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Rr(e){return Or(e.x)||Or(e.y)}function Or(e){return e&&"0%"!==e}function zr(e,t,n){return n+t*(e-n)}function Dr(e,t,n,r,o){return void 0!==o&&(e=zr(e,o,r)),zr(e,n,r)+t}function Fr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;e.min=Dr(e.min,t,n,r,o),e.max=Dr(e.max,t,n,r,o)}function Br(e,t){let{x:n,y:r}=t;Fr(e.x,n.translate,n.scale,n.originPoint),Fr(e.y,r.translate,r.scale,r.originPoint)}const Mr=.999999999999,Lr=1.0000000000001;function Nr(e,t){e.min=e.min+t,e.max=e.max+t}function $r(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:.5;Fr(e,t,n,Mt(e.min,e.max,o),r)}function Ir(e,t){$r(e.x,t.x,t.scaleX,t.scale,t.originX),$r(e.y,t.y,t.scaleY,t.scale,t.originY)}function Vr(e,t){return Pr(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}const Hr=e=>{let{current:t}=e;return t?t.ownerDocument.defaultView:null},Ur=new WeakMap;class Wr{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}start(e){let{snapToCursor:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;const{dragSnapToOrigin:r}=this.getProps();this.panSession=new tr(e,{onSessionStart:e=>{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(Xn(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:o}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=dr(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),_r((e=>{let t=this.getAxisMotionValue(e).get()||0;if(se.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=pr(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t})),o&&A.postRender((()=>o(e,t))),zn(this.visualElement,"transform");const{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:o,onDrag:i}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:a}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(a),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>_r((e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())}))},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,contextWindow:Hr(this.visualElement)})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=t;this.startAnimation(r);const{onDragEnd:o}=this.getProps();o&&A.postRender((()=>o(e,t)))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!qr(e,r,this.currentDirection))return;const o=this.getAxisMotionValue(e);let i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,t,n){let{min:r,max:o}=t;return void 0!==r&&e<r?e=n?Mt(r,e,n.min):Math.max(e,r):void 0!==o&&e>o&&(e=n?Mt(o,e,n.max):Math.min(e,o)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}resolveConstraints(){var e;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,o=this.constraints;t&&hr(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!r)&&function(e,t){let{top:n,left:r,bottom:o,right:i}=t;return{x:xr(e.x,r,i),y:xr(e.y,n,o)}}(r.layoutBox,t),this.elastic=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Sr;return!1===e?e=0:!0===e&&(e=Sr),{x:kr(e,"left","right"),y:kr(e,"top","bottom")}}(n),o!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&_r((e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(r.layoutBox[e],this.constraints[e]))}))}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!hr(e))return!1;const n=e.current;(0,q.V)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const o=function(e,t,n){const r=Vr(e,n),{scroll:o}=t;return o&&(Nr(r.x,o.offset.x),Nr(r.y,o.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:wr(e.x,t.x),y:wr(e.y,t.y)}}(r.layout.layoutBox,o);if(t){const e=t(function(e){let{x:t,y:n}=e;return{top:n.min,right:t.max,bottom:n.max,left:t.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=Pr(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=_r((a=>{if(!qr(a,t,this.currentDirection))return;let l=s&&s[a]||{};i&&(l={min:0,max:0});const u=r?200:1e6,c=r?40:1e7,d={type:"inertia",velocity:n?e[a]:0,bounceStiffness:u,bounceDamping:c,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(a,d)}));return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return zn(this.visualElement,e),n.start(wn(e,n,0,t,this.visualElement,!1))}stopAnimation(){_r((e=>this.getAxisMotionValue(e).stop()))}pauseAnimation(){_r((e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()}))}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){const t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps(),r=n[t];return r||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){_r((t=>{const{drag:n}=this.getProps();if(!qr(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:i}=r.layout.layoutBox[t];o.set(e[t]-Mt(n,i,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!hr(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};_r((e=>{const t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){const n=t.get();r[e]=function(e,t){let n=.5;const r=pr(e),o=pr(t);return o>r?n=ht(t.min,t.max-r,e.min):r>o&&(n=ht(e.min,e.max-o,t.min)),te(0,1,n)}({min:n,max:n},this.constraints[e])}}));const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),_r((t=>{if(!qr(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];n.set(Mt(o,i,r[t]))}))}addListeners(){if(!this.visualElement.current)return;Ur.set(this.visualElement,this);const e=Jn(this.visualElement.current,"pointerdown",(e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)})),t=()=>{const{dragConstraints:e}=this.getProps();hr(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),A.read(t);const o=Zn(window,"resize",(()=>this.scalePositionWithinConstraints())),i=n.addEventListener("didUpdate",(e=>{let{delta:t,hasLayoutChanged:n}=e;this.isDragging&&n&&(_r((e=>{const n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))})),this.visualElement.render())}));return()=>{o(),e(),r(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:i=Sr,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:i,dragMomentum:a}}}function qr(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}const Gr=e=>(t,n)=>{e&&A.postRender((()=>e(t,n)))};var Kr=n(70579),Qr=n(65043),Yr=n(28917),Xr=n(2190);const Zr=(0,Qr.createContext)({}),Jr={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function eo(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const to={correct:(e,t)=>{if(!t.target)return e;if("string"===typeof e){if(!le.test(e))return e;e=parseFloat(e)}return`${eo(e,t.target.x)}% ${eo(e,t.target.y)}%`}},no={correct:(e,t)=>{let{treeScale:n,projectionDelta:r}=t;const o=e,i=qe.parse(e);if(i.length>5)return o;const a=qe.createTransformer(e),s="number"!==typeof i[0]?1:0,l=r.x.scale*n.x,u=r.y.scale*n.y;i[0+s]/=l,i[1+s]/=u;const c=Mt(l,u,.5);return"number"===typeof i[2+s]&&(i[2+s]/=c),"number"===typeof i[3+s]&&(i[3+s]/=c),a(i)}},ro={};const{schedule:oo,cancel:io}=T(queueMicrotask,!1);class ao extends Qr.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=e;var i;i=lo,Object.assign(ro,i),o&&(t.group&&t.group.add(o),n&&n.register&&r&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",(()=>{this.safeToRemove()})),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Jr.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:o}=this.props,i=n.projection;return i?(i.isPresent=o,r||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?i.promote():i.relegate()||A.postRender((()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),oo.postRender((()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function so(e){const[t,n]=(0,Yr.xQ)(),r=(0,Qr.useContext)(Xr.L);return(0,Kr.jsx)(ao,{...e,layoutGroup:r,switchLayoutGroup:(0,Qr.useContext)(Zr),isPresent:t,safeToRemove:n})}const lo={borderRadius:{...to,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:to,borderTopRightRadius:to,borderBottomLeftRadius:to,borderBottomRightRadius:to,boxShadow:no},uo=["TopLeft","TopRight","BottomLeft","BottomRight"],co=uo.length,fo=e=>"string"===typeof e?parseFloat(e):e,ho=e=>"number"===typeof e||le.test(e);function po(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const mo=vo(0,.5,H),go=vo(.5,.95,P.l);function vo(e,t,n){return r=>r<e?0:r>t?1:n(ht(e,t,r))}function yo(e,t){e.min=t.min,e.max=t.max}function bo(e,t){yo(e.x,t.x),yo(e.y,t.y)}function xo(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function wo(e,t,n,r,o){return e=zr(e-=t,1/n,r),void 0!==o&&(e=zr(e,1/o,r)),e}function So(e,t,n,r,o){let[i,a,s]=n;!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,o=arguments.length>4?arguments[4]:void 0,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:e;se.test(t)&&(t=parseFloat(t),t=Mt(a.min,a.max,t/100)-a.min);if("number"!==typeof t)return;let s=Mt(i.min,i.max,r);e===i&&(s-=t),e.min=wo(e.min,t,n,s,o),e.max=wo(e.max,t,n,s,o)}(e,t[i],t[a],t[s],t.scale,r,o)}const ko=["x","scaleX","originX"],Co=["y","scaleY","originY"];function Eo(e,t,n,r){So(e.x,t,ko,n?n.x:void 0,r?r.x:void 0),So(e.y,t,Co,n?n.y:void 0,r?r.y:void 0)}function _o(e){return 0===e.translate&&1===e.scale}function Po(e){return _o(e.x)&&_o(e.y)}function jo(e,t){return e.min===t.min&&e.max===t.max}function To(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Ao(e,t){return To(e.x,t.x)&&To(e.y,t.y)}function Ro(e){return pr(e.x)/pr(e.y)}function Oo(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class zo{constructor(){this.members=[]}add(e){Sn(this.members,e),e.scheduleRender()}remove(e){if(kn(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex((t=>e===t));if(0===t)return!1;let n;for(let r=t;r>=0;r--){const e=this.members[r];if(!1!==e.isPresent){n=e;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach((e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()}))}scheduleRender(){this.members.forEach((e=>{e.instance&&e.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Do=(e,t)=>e.depth-t.depth;class Fo{constructor(){this.children=[],this.isDirty=!1}add(e){Sn(this.children,e),this.isDirty=!0}remove(e){kn(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Do),this.isDirty=!1,this.children.forEach(e)}}function Bo(e){const t=On(e)?e.get():e;return n=t,Boolean(n&&"object"===typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}function Mo(e,t){const n=ut.now(),r=o=>{let{timestamp:i}=o;const a=i-n;a>=t&&(R(r),e(a-t))};return A.read(r,!0),()=>R(r)}const Lo={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},No="undefined"!==typeof window&&void 0!==window.MotionDebug,$o=["","X","Y","Z"],Io={visibility:"hidden"};let Vo=0;function Ho(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Uo(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Rn(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",A,!(t||r))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Uo(r)}function Wo(e){let{attachResizeListener:t,defaultParent:n,measureScroll:r,checkIsScrollRoot:o,resetTransform:i}=e;return class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===n||void 0===n?void 0:n();this.id=Vo++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,No&&(Lo.totalNodes=Lo.resolvedTargetDeltas=Lo.recalculatedProjection=0),this.nodes.forEach(Ko),this.nodes.forEach(ti),this.nodes.forEach(ni),this.nodes.forEach(Qo),No&&window.MotionDebug.record(Lo)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=t?t.root||t:this,this.path=t?[...t.path,t]:[],this.parent=t,this.depth=t?t.depth+1:0;for(let n=0;n<this.path.length;n++)this.path[n].shouldResetTransform=!0;this.root===this&&(this.nodes=new Fo)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Cn),this.eventHandlers.get(e).add(t)}notifyListeners(e){const t=this.eventHandlers.get(e);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t&&t.notify(...r)}hasListeners(e){return this.eventHandlers.has(e)}mount(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.root.hasTreeAnimated;if(this.instance)return;var r;this.isSVG=(r=e)instanceof SVGElement&&"svg"!==r.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),this.parent&&this.parent.children.add(this),n&&(i||o)&&(this.isLayoutDirty=!0),t){let n;const r=()=>this.root.updateBlockedByResize=!1;t(e,(()=>{this.root.updateBlockedByResize=!0,n&&n(),n=Mo(r,250),Jr.hasAnimatedSinceResize&&(Jr.hasAnimatedSinceResize=!1,this.nodes.forEach(ei))}))}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&a&&(o||i)&&this.addEventListener("didUpdate",(e=>{let{delta:t,hasLayoutChanged:n,hasRelativeTargetChanged:r,layout:o}=e;if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const i=this.options.transition||a.getDefaultTransition()||li,{onLayoutAnimationStart:s,onLayoutAnimationComplete:l}=a.getProps(),u=!this.targetLayout||!Ao(this.targetLayout,o)||r,c=!n&&r;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||n&&(u||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,c);const e={...w(i,"layout"),onPlay:s,onComplete:l};(a.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else n||ei(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=o}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,R(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(ri),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Uo(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let o=0;o<this.path.length;o++){const e=this.path[o];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Xo);this.isUpdating||this.nodes.forEach(Zo),this.isUpdating=!1,this.nodes.forEach(Jo),this.nodes.forEach(qo),this.nodes.forEach(Go),this.clearAllSnapshots();const e=ut.now();O.delta=te(0,1e3/60,e-O.timestamp),O.timestamp=e,O.isProcessing=!0,z.update.process(O),z.preRender.process(O),z.render.process(O),O.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,oo.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Yo),this.sharedNodes.forEach(oi)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,A.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){A.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),(!this.options.alwaysMeasureLayout||!this.isLead())&&!this.isLayoutDirty)return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let n=0;n<this.path.length;n++){this.path[n].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"measure",t=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t){const t=o(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;const e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!Po(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&(t||Ar(this.latestValues)||o)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),di((r=n).x),di(r.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var e;const{visualElement:t}=this.options;if(!t)return{x:{min:0,max:0},y:{min:0,max:0}};const n=t.measureViewportBox();if(!((null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)||this.path.some(hi))){const{scroll:e}=this.root;e&&(Nr(n.x,e.offset.x),Nr(n.y,e.offset.y))}return n}removeElementScroll(e){var t;const n={x:{min:0,max:0},y:{min:0,max:0}};if(bo(n,e),null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)return n;for(let r=0;r<this.path.length;r++){const t=this.path[r],{scroll:o,options:i}=t;t!==this.root&&o&&i.layoutScroll&&(o.wasRoot&&bo(n,e),Nr(n.x,o.offset.x),Nr(n.y,o.offset.y))}return n}applyTransform(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n={x:{min:0,max:0},y:{min:0,max:0}};bo(n,e);for(let r=0;r<this.path.length;r++){const e=this.path[r];!t&&e.options.layoutScroll&&e.scroll&&e!==e.root&&Ir(n,{x:-e.scroll.offset.x,y:-e.scroll.offset.y}),Ar(e.latestValues)&&Ir(n,e.latestValues)}return Ar(this.latestValues)&&Ir(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};bo(t,e);for(let n=0;n<this.path.length;n++){const e=this.path[n];if(!e.instance)continue;if(!Ar(e.latestValues))continue;Tr(e.latestValues)&&e.updateSnapshot();const r={x:{min:0,max:0},y:{min:0,max:0}};bo(r,e.measurePageBox()),Eo(t,e.latestValues,e.snapshot?e.snapshot.layoutBox:void 0,r)}return Ar(this.latestValues)&&Eo(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.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}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==O.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const r=Boolean(this.resumingFrom)||this!==n;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:o,layoutId:i}=this.options;if(this.layout&&(o||i)){if(this.resolvedRelativeTargetAt=O.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},br(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),bo(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var a,s,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),a=this.target,s=this.relativeTarget,l=this.relativeParent.target,vr(a.x,s.x,l.x),vr(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):bo(this.target,this.layout.layoutBox),Br(this.target,this.targetDelta)):bo(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},br(this.relativeTargetOrigin,this.target,e.target),bo(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}No&&Lo.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Tr(this.parent.latestValues)&&!Rr(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===O.timestamp&&(r=!1),r)return;const{layout:o,layoutId:i}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!i)return;bo(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,s=this.treeScale.y;!function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const o=n.length;if(!o)return;let i,a;t.x=t.y=1;for(let s=0;s<o;s++){i=n[s],a=i.projectionDelta;const{visualElement:o}=i.options;o&&o.props.style&&"contents"===o.props.style.display||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&Ir(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,Br(e,a)),r&&Ar(i.latestValues)&&Ir(e,i.latestValues))}t.x<Lr&&t.x>Mr&&(t.x=1),t.y<Lr&&t.y>Mr&&(t.y=1)}(this.layoutCorrected,this.treeScale,this.path,n),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox,t.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}});const{target:l}=t;l?(this.projectionDelta&&this.prevProjectionDelta?(xo(this.prevProjectionDelta.x,this.projectionDelta.x),xo(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),gr(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===a&&this.treeScale.y===s&&Oo(this.projectionDelta.x,this.prevProjectionDelta.x)&&Oo(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),No&&Lo.recalculatedProjection++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];var t;if(null===(t=this.options.visualElement)||void 0===t||t.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=this.snapshot,r=n?n.latestValues:{},o={...this.latestValues},i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const a={x:{min:0,max:0},y:{min:0,max:0}},s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,c=Boolean(s&&!u&&!0===this.options.crossfade&&!this.path.some(si));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;var l,f;ii(i.x,e.x,n),ii(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(br(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,r){ai(e.x,t.x,n.x,r),ai(e.y,t.y,n.y,r)}(this.relativeTarget,this.relativeTargetOrigin,a,n),d&&(l=this.relativeTarget,f=d,jo(l.x,f.x)&&jo(l.y,f.y))&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),bo(d,this.relativeTarget)),s&&(this.animationValues=o,function(e,t,n,r,o,i){o?(e.opacity=Mt(0,void 0!==n.opacity?n.opacity:1,mo(r)),e.opacityExit=Mt(void 0!==t.opacity?t.opacity:1,0,go(r))):i&&(e.opacity=Mt(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let a=0;a<co;a++){const o=`border${uo[a]}Radius`;let i=po(t,o),s=po(n,o);void 0===i&&void 0===s||(i||(i=0),s||(s=0),0===i||0===s||ho(i)===ho(s)?(e[o]=Math.max(Mt(fo(i),fo(s),r),0),(se.test(s)||se.test(i))&&(e[o]+="%")):e[o]=s)}(t.rotate||n.rotate)&&(e.rotate=Mt(t.rotate||0,n.rotate||0,r))}(o,r,this.latestValues,n,c,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(R(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=A.update((()=>{Jr.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=On(e)?e:Pn(e);return r.start(wn("",r,t,n)),r.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:o}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&fi(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=pr(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=pr(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}bo(t,n),Ir(t,o),gr(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new zo);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote(){let{needsReset:e,transition:t,preserveFollowOpacity:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;const r={};n.z&&Ho("z",e,r,this.animationValues);for(let o=0;o<$o.length;o++)Ho(`rotate${$o[o]}`,e,r,this.animationValues),Ho(`skew${$o[o]}`,e,r,this.animationValues);e.render();for(const o in r)e.setStaticValue(o,r[o]),this.animationValues&&(this.animationValues[o]=r[o]);e.scheduleRender()}getProjectionStyles(e){var t,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Io;const r={visibility:""},o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=Bo(null===e||void 0===e?void 0:e.pointerEvents)||"",r.transform=o?o(this.latestValues,""):"none",r;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Bo(null===e||void 0===e?void 0:e.pointerEvents)||""),this.hasProjected&&!Ar(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const a=i.animationValues||i.latestValues;this.applyTransformsToTarget(),r.transform=function(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y,a=(null===n||void 0===n?void 0:n.z)||0;if((o||i||a)&&(r=`translate3d(${o}px, ${i}px, ${a}px) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:e,rotate:t,rotateX:o,rotateY:i,skewX:a,skewY:s}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),o&&(r+=`rotateX(${o}deg) `),i&&(r+=`rotateY(${i}deg) `),a&&(r+=`skewX(${a}deg) `),s&&(r+=`skewY(${s}deg) `)}const s=e.x.scale*t.x,l=e.y.scale*t.y;return 1===s&&1===l||(r+=`scale(${s}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,a),o&&(r.transform=o(a,r.transform));const{x:s,y:l}=this.projectionDelta;r.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,i.animationValues?r.opacity=i===this?null!==(n=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:r.opacity=i===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0;for(const u in ro){if(void 0===a[u])continue;const{correct:e,applyTo:t}=ro[u],n="none"===r.transform?a[u]:e(a[u],i);if(t){const e=t.length;for(let o=0;o<e;o++)r[t[o]]=n}else r[u]=n}return this.options.layoutId&&(r.pointerEvents=i===this?Bo(null===e||void 0===e?void 0:e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(Xo),this.root.sharedNodes.clear()}}}function qo(e){e.updateLayout()}function Go(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:r}=e.layout,{animationType:o}=e.options,i=n.source!==e.layout.source;"size"===o?_r((e=>{const r=i?n.measuredBox[e]:n.layoutBox[e],o=pr(r);r.min=t[e].min,r.max=r.min+o})):fi(o,n.layoutBox,t)&&_r((r=>{const o=i?n.measuredBox[r]:n.layoutBox[r],a=pr(t[r]);o.max=o.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+a)}));const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};gr(a,t,n.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?gr(s,e.applyTransform(r,!0),n.measuredBox):gr(s,t,n.layoutBox);const l=!Po(a);let u=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:o,layout:i}=r;if(o&&i){const a={x:{min:0,max:0},y:{min:0,max:0}};br(a,n.layoutBox,o.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};br(s,t,i.layoutBox),Ao(a,s)||(u=!0),r.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Ko(e){No&&Lo.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Qo(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Yo(e){e.clearSnapshot()}function Xo(e){e.clearMeasurements()}function Zo(e){e.isLayoutDirty=!1}function Jo(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ei(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ti(e){e.resolveTargetDelta()}function ni(e){e.calcProjection()}function ri(e){e.resetSkewAndRotation()}function oi(e){e.removeLeadSnapshot()}function ii(e,t,n){e.translate=Mt(t.translate,0,n),e.scale=Mt(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ai(e,t,n,r){e.min=Mt(t.min,n.min,r),e.max=Mt(t.max,n.max,r)}function si(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const li={duration:.45,ease:[.4,0,.1,1]},ui=e=>"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ci=ui("applewebkit/")&&!ui("chrome/")?Math.round:P.l;function di(e){e.min=ci(e.min),e.max=ci(e.max)}function fi(e,t,n){return"position"===e||"preserve-aspect"===e&&(r=Ro(t),o=Ro(n),i=.2,!(Math.abs(r-o)<=i));var r,o,i}function hi(e){var t;return e!==e.root&&(null===(t=e.scroll)||void 0===t?void 0:t.wasRoot)}const pi=Wo({attachResizeListener:(e,t)=>Zn(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),mi={current:void 0},gi=Wo({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!mi.current){const e=new pi({});e.mount(window),e.setOptions({layoutScroll:!0}),mi.current=e}return mi.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),vi={pan:{Feature:class extends Gn{constructor(){super(...arguments),this.removePointerDownListener=P.l}onPointerDown(e){this.session=new tr(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Hr(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Gr(e),onStart:Gr(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&A.postRender((()=>r(e,t)))}}}mount(){this.removePointerDownListener=Jn(this.node.current,"pointerdown",(e=>this.onPointerDown(e)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends Gn{constructor(e){super(e),this.removeGroupControls=P.l,this.removeListeners=P.l,this.controls=new Wr(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||P.l}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:gi,MeasureLayout:so}};function yi(e,t){const n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd";return Jn(e.current,n,((n,o)=>{if("touch"===n.pointerType||fr())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t);const a=i[r];a&&A.postRender((()=>a(n,o)))}),{passive:!e.getProps()[r]})}const bi=(e,t)=>!!t&&(e===t||bi(e,t.parentElement));function xi(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Xn(n))}const wi=new WeakMap,Si=new WeakMap,ki=e=>{const t=wi.get(e.target);t&&t(e)},Ci=e=>{e.forEach(ki)};function Ei(e,t,n){const r=function(e){let{root:t,...n}=e;const r=t||document;Si.has(r)||Si.set(r,{});const o=Si.get(r),i=JSON.stringify(n);return o[i]||(o[i]=new IntersectionObserver(Ci,{root:t,...n})),o[i]}(t);return wi.set(e,n),r.observe(e),()=>{wi.delete(e),r.unobserve(e)}}const _i={some:0,all:1};const Pi={inView:{Feature:class extends Gn{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:o}=e,i={root:t?t.current:void 0,rootMargin:n,threshold:"number"===typeof r?r:_i[r]};return Ei(this.node.current,i,(e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),i=t?n:r;i&&i(e)}))}mount(){this.startObserver()}update(){if("undefined"===typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node,n=["amount","margin","root"].some(function(e){let{viewport:t={}}=e,{viewport:n={}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e=>t[e]!==n[e]}(e,t));n&&this.startObserver()}unmount(){}}},tap:{Feature:class extends Gn{constructor(){super(...arguments),this.removeStartListeners=P.l,this.removeEndListeners=P.l,this.removeAccessibleListeners=P.l,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();const n=this.node.getProps(),r=Jn(window,"pointerup",((e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r,globalTapTarget:o}=this.node.getProps(),i=o||bi(this.node.current,e.target)?n:r;i&&A.update((()=>i(e,t)))}),{passive:!(n.onTap||n.onPointerUp)}),o=Jn(window,"pointercancel",((e,t)=>this.cancelPress(e,t)),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=Bt(r,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Zn(this.node.current,"keydown",(e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Zn(this.node.current,"keyup",(e=>{"Enter"===e.key&&this.checkPressEnd()&&xi("up",((e,t)=>{const{onTap:n}=this.node.getProps();n&&A.postRender((()=>n(e,t)))}))})),xi("down",((e,t)=>{this.startPress(e,t)}))})),t=Zn(this.node.current,"blur",(()=>{this.isPressing&&xi("cancel",((e,t)=>this.cancelPress(e,t)))}));this.removeAccessibleListeners=Bt(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&A.postRender((()=>n(e,t)))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!fr()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&A.postRender((()=>n(e,t)))}mount(){const e=this.node.getProps(),t=Jn(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=Zn(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Bt(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Gn{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Bt(Zn(this.node.current,"focus",(()=>this.onFocus())),Zn(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends Gn{mount(){this.unmount=Bt(yi(this.node,!0),yi(this.node,!1))}unmount(){}}}},ji={layout:{ProjectionNode:gi,MeasureLayout:so}};var Ti=n(91051);const Ai=(0,Qr.createContext)({});var Ri=n(9674),Oi=n(40293);const zi=(0,Qr.createContext)({strict:!1});function Di(e,t,n,r,o){var i,a;const{visualElement:s}=(0,Qr.useContext)(Ai),l=(0,Qr.useContext)(zi),u=(0,Qr.useContext)(Ri.t),c=(0,Qr.useContext)(Ti.Q).reducedMotion,d=(0,Qr.useRef)();r=r||l.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:s,props:n,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:c}));const f=d.current,h=(0,Qr.useContext)(Zr);!f||f.projection||!o||"html"!==f.type&&"svg"!==f.type||function(e,t,n,r){const{layoutId:o,layout:i,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Fi(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:Boolean(a)||s&&hr(s),visualElement:e,animationType:"string"===typeof i?i:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}(d.current,n,o,h);const p=(0,Qr.useRef)(!1);(0,Qr.useInsertionEffect)((()=>{f&&p.current&&f.update(n,u)}));const m=n[An],g=(0,Qr.useRef)(Boolean(m)&&!(null===(i=window.MotionHandoffIsComplete)||void 0===i?void 0:i.call(window,m))&&(null===(a=window.MotionHasOptimisedAnimation)||void 0===a?void 0:a.call(window,m)));return(0,Oi.E)((()=>{f&&(p.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),oo.render(f.render),g.current&&f.animationState&&f.animationState.animateChanges())})),(0,Qr.useEffect)((()=>{f&&(!g.current&&f.animationState&&f.animationState.animateChanges(),g.current&&(queueMicrotask((()=>{var e;null===(e=window.MotionHandoffMarkAsComplete)||void 0===e||e.call(window,m)})),g.current=!1))})),f}function Fi(e){if(e)return!1!==e.options.allowProjection?e.projection:Fi(e.parent)}function Bi(e,t,n){return(0,Qr.useCallback)((r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"===typeof n?n(r):hr(n)&&(n.current=r))}),[t])}function Mi(e){return o(e.animate)||f.some((t=>s(e[t])))}function Li(e){return Boolean(Mi(e)||e.variants)}function Ni(e){const{initial:t,animate:n}=function(e,t){if(Mi(e)){const{initial:t,animate:n}=e;return{initial:!1===t||s(t)?t:void 0,animate:s(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,Qr.useContext)(Ai));return(0,Qr.useMemo)((()=>({initial:t,animate:n})),[$i(t),$i(n)])}function $i(e){return Array.isArray(e)?e.join(" "):e}const Ii={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Vi={};for(const La in Ii)Vi[La]={isEnabled:e=>Ii[La].some((t=>!!e[t]))};var Hi=n(14735);const Ui=Symbol.for("motionComponentSymbol");function Wi(e){let{preloadedFeatures:t,createVisualElement:n,useRender:r,useVisualState:o,Component:i}=e;t&&function(e){for(const t in e)Vi[t]={...Vi[t],...e[t]}}(t);const a=(0,Qr.forwardRef)((function(e,t){let a;const s={...(0,Qr.useContext)(Ti.Q),...e,layoutId:qi(e)},{isStatic:l}=s,u=Ni(e),c=o(e,l);if(!l&&Hi.B){!function(){(0,Qr.useContext)(zi).strict;0}();const e=function(e){const{drag:t,layout:n}=Vi;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:(null===t||void 0===t?void 0:t.isEnabled(e))||(null===n||void 0===n?void 0:n.isEnabled(e))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(s);a=e.MeasureLayout,u.visualElement=Di(i,c,s,n,e.ProjectionNode)}return(0,Kr.jsxs)(Ai.Provider,{value:u,children:[a&&u.visualElement?(0,Kr.jsx)(a,{visualElement:u.visualElement,...s}):null,r(i,e,Bi(c,u.visualElement,t),c,l,u.visualElement)]})}));return a[Ui]=i,a}function qi(e){let{layoutId:t}=e;const n=(0,Qr.useContext)(Xr.L).id;return n&&void 0!==t?n+"-"+t:t}const Gi=["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 Ki(e){return"string"===typeof e&&!e.includes("-")&&!!(Gi.indexOf(e)>-1||/[A-Z]/u.test(e))}function Qi(e,t,n,r){let{style:o,vars:i}=t;Object.assign(e.style,o,r&&r.getProjectionStyles(n));for(const a in i)e.style.setProperty(a,i[a])}const Yi=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Xi(e,t,n,r){Qi(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(Yi.has(o)?o:Tn(o),t.attrs[o])}function Zi(e,t){let{layout:n,layoutId:r}=t;return p.has(e)||e.startsWith("origin")||(n||void 0!==r)&&(!!ro[e]||"opacity"===e)}function Ji(e,t,n){var r;const{style:o}=e,i={};for(const a in o)(On(o[a])||t.style&&On(t.style[a])||Zi(a,e)||void 0!==(null===(r=null===n||void 0===n?void 0:n.getValue(a))||void 0===r?void 0:r.liveStyle))&&(i[a]=o[a]);return i}function ea(e,t,n){const r=Ji(e,t,n);for(const o in e)if(On(e[o])||On(t[o])){r[-1!==h.indexOf(o)?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o]=e[o]}return r}var ta=n(34930);const na=e=>(t,n)=>{const r=(0,Qr.useContext)(Ai),o=(0,Qr.useContext)(Ri.t),i=()=>function(e,t,n,r){let{scrapeMotionValuesFromProps:o,createRenderState:i,onMount:a}=e;const s={latestValues:ra(t,n,r,o),renderState:i()};return a&&(s.mount=e=>a(t,e,s)),s}(e,t,r,o);return n?i():(0,ta.M)(i)};function ra(e,t,n,r){const i={},a=r(e,{});for(const o in a)i[o]=Bo(a[o]);let{initial:s,animate:l}=e;const c=Mi(e),d=Li(e);t&&d&&!c&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===l&&(l=t.animate));let f=!!n&&!1===n.initial;f=f||!1===s;const h=f?l:s;if(h&&"boolean"!==typeof h&&!o(h)){const t=Array.isArray(h)?h:[h];for(let n=0;n<t.length;n++){const r=u(e,t[n]);if(r){const{transitionEnd:e,transition:t,...n}=r;for(const r in n){let e=n[r];if(Array.isArray(e)){e=e[f?e.length-1:0]}null!==e&&(i[r]=e)}for(const r in e)i[r]=e[r]}}}return i}const oa=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),ia=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),aa=(e,t)=>t&&"number"===typeof e?t.transform(e):e,sa={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},la=h.length;function ua(e,t,n){const{style:r,vars:o,transformOrigin:i}=e;let a=!1,s=!1;for(const l in t){const e=t[l];if(p.has(l))a=!0;else if(Q(l))o[l]=e;else{const t=aa(e,et[l]);l.startsWith("origin")?(s=!0,i[l]=t):r[l]=t}}if(t.transform||(a||n?r.transform=function(e,t,n){let r="",o=!0;for(let i=0;i<la;i++){const a=h[i],s=e[a];if(void 0===s)continue;let l=!0;if(l="number"===typeof s?s===(a.startsWith("scale")?1:0):0===parseFloat(s),!l||n){const e=aa(s,et[a]);l||(o=!1,r+=`${sa[a]||a}(${e}) `),n&&(t[a]=e)}}return r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}(t,e.transform,n):r.transform&&(r.transform="none")),s){const{originX:e="50%",originY:t="50%",originZ:n=0}=i;r.transformOrigin=`${e} ${t} ${n}`}}function ca(e,t,n){return"string"===typeof e?e:le.transform(t+n*e)}const da={offset:"stroke-dashoffset",array:"stroke-dasharray"},fa={offset:"strokeDashoffset",array:"strokeDasharray"};function ha(e,t,n,r){let{attrX:o,attrY:i,attrScale:a,originX:s,originY:l,pathLength:u,pathSpacing:c=1,pathOffset:d=0,...f}=t;if(ua(e,f,r),n)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:h,style:p,dimensions:m}=e;h.transform&&(m&&(p.transform=h.transform),delete h.transform),m&&(void 0!==s||void 0!==l||p.transform)&&(p.transformOrigin=function(e,t,n){return`${ca(t,e.x,e.width)} ${ca(n,e.y,e.height)}`}(m,void 0!==s?s:.5,void 0!==l?l:.5)),void 0!==o&&(h.x=o),void 0!==i&&(h.y=i),void 0!==a&&(h.scale=a),void 0!==u&&function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];e.pathLength=1;const i=o?da:fa;e[i.offset]=le.transform(-r);const a=le.transform(t),s=le.transform(n);e[i.array]=`${a} ${s}`}(h,u,c,d,!1)}const pa=e=>"string"===typeof e&&"svg"===e.toLowerCase(),ma={useVisualState:na({scrapeMotionValuesFromProps:ea,createRenderState:ia,onMount:(e,t,n)=>{let{renderState:r,latestValues:o}=n;A.read((()=>{try{r.dimensions="function"===typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}})),A.render((()=>{ha(r,o,pa(t.tagName),e.transformTemplate),Xi(t,r)}))}})},ga={useVisualState:na({scrapeMotionValuesFromProps:Ji,createRenderState:oa})};function va(e,t,n){for(const r in t)On(t[r])||Zi(r,n)||(e[r]=t[r])}function ya(e,t){const n={};return va(n,e.style||{},e),Object.assign(n,function(e,t){let{transformTemplate:n}=e;return(0,Qr.useMemo)((()=>{const e={style:{},transform:{},transformOrigin:{},vars:{}};return ua(e,t,n),Object.assign({},e.vars,e.style)}),[t])}(e,t)),n}function ba(e,t){const n={},r=ya(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const xa=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function wa(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||xa.has(e)}let Sa=e=>!wa(e);try{(ka=require("@emotion/is-prop-valid").default)&&(Sa=e=>e.startsWith("on")?!wa(e):ka(e))}catch(Ma){}var ka;function Ca(e,t,n,r){const o=(0,Qr.useMemo)((()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return ha(n,t,pa(r),e.transformTemplate),{...n.attrs,style:{...n.style}}}),[t]);if(e.style){const t={};va(t,e.style,e),o.style={...t,...o.style}}return o}function Ea(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(t,n,r,o,i)=>{let{latestValues:a}=o;const s=(Ki(t)?Ca:ba)(n,a,i,t),l=function(e,t,n){const r={};for(const o in e)"values"===o&&"object"===typeof e.values||(Sa(o)||!0===n&&wa(o)||!t&&!wa(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(n,"string"===typeof t,e),u=t!==Qr.Fragment?{...l,...s,ref:r}:{},{children:c}=n,d=(0,Qr.useMemo)((()=>On(c)?c.get():c),[c]);return(0,Qr.createElement)(t,{...u,children:d})}}function _a(e,t){return function(n){let{forwardMotionProps:r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{forwardMotionProps:!1};return Wi({...Ki(n)?ma:ga,preloadedFeatures:e,useRender:Ea(r),createVisualElement:t,Component:n})}}const Pa={current:null},ja={current:!1};const Ta=new WeakMap,Aa=[...xe,Me,qe],Ra=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Oa{scrapeMotionValuesFromProps(e,t,n){return{}}constructor(e){let{parent:t,props:n,presenceContext:r,reducedMotionConfig:o,blockInitialAnimation:i,visualState:a}=e,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Pe,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const e=ut.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,A.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=a;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=s,this.blockInitialAnimation=Boolean(i),this.isControllingVariants=Mi(n),this.isVariantNode=Li(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in d){const e=d[f];void 0!==l[f]&&On(e)&&e.set(l[f],!1)}}mount(e){this.current=e,Ta.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach(((e,t)=>this.bindToMotionValue(t,e))),ja.current||function(){if(ja.current=!0,Hi.B)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Pa.current=e.matches;e.addListener(t),t()}else Pa.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Pa.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Ta.delete(this.current),this.projection&&this.projection.unmount(),R(this.notifyUpdate),R(this.render),this.valueSubscriptions.forEach((e=>e())),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const n=p.has(e),r=t.on("change",(t=>{this.latestValues[e]=t,this.props.onUpdate&&A.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)})),o=t.on("renderRequest",this.scheduleRender);let i;window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,(()=>{r(),o(),i&&i(),t.owner&&t.stop()}))}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in Vi){const t=Vi[e];if(!t)continue;const{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let n=0;n<Ra.length;n++){const t=Ra[n];this.propEventSubscriptions[t]&&(this.propEventSubscriptions[t](),delete this.propEventSubscriptions[t]);const r=e["on"+t];r&&(this.propEventSubscriptions[t]=this.on(t,r))}this.prevMotionValues=function(e,t,n){for(const r in t){const o=t[r],i=n[r];if(On(o))e.addValue(r,o);else if(On(i))e.addValue(r,Pn(o,{owner:e}));else if(i!==o)if(e.hasValue(r)){const t=e.getValue(r);!0===t.liveStyle?t.jump(o):t.hasAnimated||t.set(o)}else{const t=e.getStaticValue(r);e.addValue(r,Pn(void 0!==t?t:o,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){const n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=Pn(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let r=void 0===this.latestValues[e]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,e))&&void 0!==n?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];var o;return void 0!==r&&null!==r&&("string"===typeof r&&(G(r)||W(r))?r=parseFloat(r):(o=r,!Aa.find(be(o))&&qe.test(t)&&(r=rt(e,t))),this.setBaseTarget(e,On(r)?r.get():r)),On(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props;let r;if("string"===typeof n||"object"===typeof n){const o=u(this.props,n,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);o&&(r=o[e])}if(n&&void 0!==r)return r;const o=this.getBaseTargetFromProps(this.props,e);return void 0===o||On(o)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new Cn),this.events[e].add(t)}notify(e){if(this.events[e]){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.events[e].notify(...n)}}}class za extends Oa{constructor(){super(...arguments),this.KeyframeResolver=it}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,t){let{vars:n,style:r}=t;delete n[e],delete r[e]}}class Da extends za{constructor(){super(...arguments),this.type="html",this.renderInstance=Qi}readValueFromInstance(e,t){if(p.has(t)){const e=nt(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),o=(Q(t)?r.getPropertyValue(t):r[t])||0;return"string"===typeof o?o.trim():o}var n}measureInstanceViewportBox(e,t){let{transformPagePoint:n}=t;return Vr(e,n)}build(e,t,n){ua(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Ji(e,t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;On(e)&&(this.childSubscription=e.on("change",(e=>{this.current&&(this.current.textContent=`${e}`)})))}}class Fa extends za{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Er}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(p.has(t)){const e=nt(t);return e&&e.default||0}return t=Yi.has(t)?t:Tn(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return ea(e,t,n)}build(e,t,n){ha(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){Xi(e,t,0,r)}mount(e){this.isSVGTag=pa(e.tagName),super.mount(e)}}const Ba=r(_a({...Qn,...Pi,...vi,...ji},((e,t)=>Ki(e)?new Fa(t):new Da(t,{allowProjection:e!==Qr.Fragment}))))},58129:(e,t,n)=>{"use strict";n.d(t,{$:()=>o,V:()=>i});var r=n(51892);let o=r.l,i=r.l},14735:(e,t,n)=>{"use strict";n.d(t,{B:()=>r});const r="undefined"!==typeof window},51892:(e,t,n)=>{"use strict";n.d(t,{l:()=>r});const r=e=>e},34930:(e,t,n)=>{"use strict";n.d(t,{M:()=>o});var r=n(65043);function o(e){const t=(0,r.useRef)(null);return null===t.current&&(t.current=e()),t.current}},40293:(e,t,n)=>{"use strict";n.d(t,{E:()=>o});var r=n(65043);const o=n(14735).B?r.useLayoutEffect:r.useEffect}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.m=e,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,n.d(i,a),i}})(),n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,r)=>(n.f[r](e,t),t)),[])),n.u=e=>"static/js/"+e+"."+{27:"8fb7e41c",51:"cbb636f8",170:"3aa0ca86",222:"aed5810c",265:"570bb983",306:"252bd42c",370:"60193d81",464:"21a52a31",514:"1cbfa106",563:"b42395e0",653:"3609f774",674:"ba50e3d7",721:"41ac35d6",911:"1cf53fe2",913:"74d2fb8a",926:"ec12ceda"}[e]+".chunk.js",n.miniCssF=e=>"static/css/"+e+"."+{51:"33e65922",170:"3fe74c75",222:"3fe74c75",265:"3fe74c75",370:"3fe74c75",514:"3fe74c75",653:"3fe74c75",721:"3fe74c75",913:"5fe2f0ad",926:"fc0c76ab"}[e]+".chunk.css",n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="inventory:";n.l=(r,o,i,a)=>{if(e[r])e[r].push(o);else{var s,l;if(void 0!==i)for(var u=document.getElementsByTagName("script"),c=0;c<u.length;c++){var d=u[c];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==t+i){s=d;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,n.nc&&s.setAttribute("nonce",n.nc),s.setAttribute("data-webpack",t+i),s.src=r),e[r]=[o];var f=(t,n)=>{s.onerror=s.onload=null,clearTimeout(h);var o=e[r];if(delete e[r],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((e=>e(n))),t)return t(n)},h=setTimeout(f.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=f.bind(null,s.onerror),s.onload=f.bind(null,s.onload),l&&document.head.appendChild(s)}}})(),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.p="/",(()=>{if("undefined"!==typeof document){var e=e=>new Promise(((t,r)=>{var o=n.miniCssF(e),i=n.p+o;if(((e,t)=>{for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var o=(a=n[r]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(o===e||o===t))return a}var i=document.getElementsByTagName("style");for(r=0;r<i.length;r++){var a;if((o=(a=i[r]).getAttribute("data-href"))===e||o===t)return a}})(o,i))return t();((e,t,r,o,i)=>{var a=document.createElement("link");a.rel="stylesheet",a.type="text/css",n.nc&&(a.nonce=n.nc),a.onerror=a.onload=n=>{if(a.onerror=a.onload=null,"load"===n.type)o();else{var r=n&&n.type,s=n&&n.target&&n.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+r+": "+s+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=r,l.request=s,a.parentNode&&a.parentNode.removeChild(a),i(l)}},a.href=t,r?r.parentNode.insertBefore(a,r.nextSibling):document.head.appendChild(a)})(e,i,null,t,r)})),t={792:0};n.f.miniCss=(n,r)=>{t[n]?r.push(t[n]):0!==t[n]&&{51:1,170:1,222:1,265:1,370:1,514:1,653:1,721:1,913:1,926:1}[n]&&r.push(t[n]=e(n).then((()=>{t[n]=0}),(e=>{throw delete t[n],e})))}}})(),(()=>{var e={792:0};n.f.j=(t,r)=>{var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var i=new Promise(((n,r)=>o=e[t]=[n,r]));r.push(o[2]=i);var a=n.p+n.u(t),s=new Error;n.l(a,(r=>{if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",s.name="ChunkLoadError",s.type=i,s.request=a,o[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var o,i,a=r[0],s=r[1],l=r[2],u=0;if(a.some((t=>0!==e[t]))){for(o in s)n.o(s,o)&&(n.m[o]=s[o]);if(l)l(n)}for(t&&t(r);u<a.length;u++)i=a[u],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=self.webpackChunkinventory=self.webpackChunkinventory||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),n.nc=void 0,(()=>{"use strict";var e=n(65043),t=n(84391),r=n(35475),o=n(157),i=n(99723),a=n(49210),s=n(11454),l=n(60329),u=class extends l.Q{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(),this.config=e,this.#f=new Map}#f;build(e,t,n){const r=t.queryKey,o=t.queryHash??(0,i.F$)(r,t);let s=this.get(o);return s||(s=new a.X({cache:this,queryKey:r,queryHash:o,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(s)),s}add(e){this.#f.has(e.queryHash)||(this.#f.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#f.get(e.queryHash);t&&(e.destroy(),t===e&&this.#f.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){s.j.batch((()=>{this.getAll().forEach((e=>{this.remove(e)}))}))}get(e){return this.#f.get(e)}getAll(){return[...this.#f.values()]}find(e){const t={exact:!0,...e};return this.getAll().find((e=>(0,i.MK)(t,e)))}findAll(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=this.getAll();return Object.keys(e).length>0?t.filter((t=>(0,i.MK)(e,t))):t}notify(e){s.j.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}onFocus(){s.j.batch((()=>{this.getAll().forEach((e=>{e.onFocus()}))}))}onOnline(){s.j.batch((()=>{this.getAll().forEach((e=>{e.onOnline()}))}))}},c=n(31143),d=n(12463),f=class extends c.k{#h;#p;#s;constructor(e){super(),this.mutationId=e.mutationId,this.#p=e.mutationCache,this.#h=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#h.includes(e)||(this.#h.push(e),this.clearGcTimeout(),this.#p.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#h=this.#h.filter((t=>t!==e)),this.scheduleGc(),this.#p.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#h.length||("pending"===this.state.status?this.scheduleGc():this.#p.remove(this))}continue(){return this.#s?.continue()??this.execute(this.state.variables)}async execute(e){this.#s=(0,d.II)({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{this.#c({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#c({type:"pause"})},onContinue:()=>{this.#c({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#p.canRun(this)});const t="pending"===this.state.status,n=!this.#s.canStart();try{if(!t){this.#c({type:"pending",variables:e,isPaused:n}),await(this.#p.config.onMutate?.(e,this));const t=await(this.options.onMutate?.(e));t!==this.state.context&&this.#c({type:"pending",context:t,variables:e,isPaused:n})}const r=await this.#s.start();return await(this.#p.config.onSuccess?.(r,e,this.state.context,this)),await(this.options.onSuccess?.(r,e,this.state.context)),await(this.#p.config.onSettled?.(r,null,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(r,null,e,this.state.context)),this.#c({type:"success",data:r}),r}catch(r){try{throw await(this.#p.config.onError?.(r,e,this.state.context,this)),await(this.options.onError?.(r,e,this.state.context)),await(this.#p.config.onSettled?.(void 0,r,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(void 0,r,e,this.state.context)),r}finally{this.#c({type:"error",error:r})}}finally{this.#p.runNext(this)}}#c(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),s.j.batch((()=>{this.#h.forEach((t=>{t.onMutationUpdate(e)})),this.#p.notify({mutation:this,type:"updated",action:e})}))}};var h=class extends l.Q{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(),this.config=e,this.#m=new Map,this.#g=Date.now()}#m;#g;build(e,t,n){const r=new f({mutationCache:this,mutationId:++this.#g,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){const t=p(e),n=this.#m.get(t)??[];n.push(e),this.#m.set(t,n),this.notify({type:"added",mutation:e})}remove(e){const t=p(e);if(this.#m.has(t)){const n=this.#m.get(t)?.filter((t=>t!==e));n&&(0===n.length?this.#m.delete(t):this.#m.set(t,n))}this.notify({type:"removed",mutation:e})}canRun(e){const t=this.#m.get(p(e))?.find((e=>"pending"===e.state.status));return!t||t===e}runNext(e){const t=this.#m.get(p(e))?.find((t=>t!==e&&t.state.isPaused));return t?.continue()??Promise.resolve()}clear(){s.j.batch((()=>{this.getAll().forEach((e=>{this.remove(e)}))}))}getAll(){return[...this.#m.values()].flat()}find(e){const t={exact:!0,...e};return this.getAll().find((e=>(0,i.nJ)(t,e)))}findAll(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.getAll().filter((t=>(0,i.nJ)(e,t)))}notify(e){s.j.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}resumePausedMutations(){const e=this.getAll().filter((e=>e.state.isPaused));return s.j.batch((()=>Promise.all(e.map((e=>e.continue().catch(i.lQ))))))}};function p(e){return e.options.scope?.id??String(e.mutationId)}var m=n(3491),g=n(48024);function v(e){return{onFetch:(t,n)=>{const r=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],s=t.state.data?.pageParams||[];let l={pages:[],pageParams:[]},u=0;const c=async()=>{let n=!1;const c=(0,i.ZM)(t.options,t.fetchOptions),d=async(e,r,o)=>{if(n)return Promise.reject();if(null==r&&e.pages.length)return Promise.resolve(e);const a={queryKey:t.queryKey,pageParam:r,direction:o?"backward":"forward",meta:t.options.meta};var s;s=a,Object.defineProperty(s,"signal",{enumerable:!0,get:()=>(t.signal.aborted?n=!0:t.signal.addEventListener("abort",(()=>{n=!0})),t.signal)});const l=await c(a),{maxPages:u}=t.options,d=o?i.ZZ:i.y9;return{pages:d(e.pages,l,u),pageParams:d(e.pageParams,r,u)}};if(o&&a.length){const e="backward"===o,t={pages:a,pageParams:s},n=(e?b:y)(r,t);l=await d(t,n,e)}else{const t=e??a.length;do{const e=0===u?s[0]??r.initialPageParam:y(r,l);if(u>0&&null==e)break;l=await d(l,e),u++}while(u<t)}return l};t.options.persister?t.fetchFn=()=>t.options.persister?.(c,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=c}}}function y(e,t){let{pages:n,pageParams:r}=t;const o=n.length-1;return n.length>0?e.getNextPageParam(n[o],n,r[o],r):void 0}function b(e,t){let{pages:n,pageParams:r}=t;return n.length>0?e.getPreviousPageParam?.(n[0],n,r[0],r):void 0}var x=n(63248),w=function(){return null},S=n(73216),k=n(83290),C=n(70579),E=String.raw,_=E` :root, :host { --chakra-vh: 100vh; } @supports (height: -webkit-fill-available) { :root, :host { --chakra-vh: -webkit-fill-available; } } @supports (height: -moz-fill-available) { :root, :host { --chakra-vh: -moz-fill-available; } } @supports (height: 100dvh) { :root, :host { --chakra-vh: 100dvh; } } `,P=()=>(0,C.jsx)(k.mL,{styles:_}),j=e=>{let{scope:t=""}=e;return(0,C.jsx)(k.mL,{styles:E` html { line-height: 1.5; -webkit-text-size-adjust: 100%; font-family: system-ui, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; -moz-osx-font-smoothing: grayscale; touch-action: manipulation; } body { position: relative; min-height: 100%; margin: 0; font-feature-settings: "kern"; } ${t} :where(*, *::before, *::after) { border-width: 0; border-style: solid; box-sizing: border-box; word-wrap: break-word; } main { display: block; } ${t} hr { border-top-width: 1px; box-sizing: content-box; height: 0; overflow: visible; } ${t} :where(pre, code, kbd,samp) { font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 1em; } ${t} a { background-color: transparent; color: inherit; text-decoration: inherit; } ${t} abbr[title] { border-bottom: none; text-decoration: underline; -webkit-text-decoration: underline dotted; text-decoration: underline dotted; } ${t} :where(b, strong) { font-weight: bold; } ${t} small { font-size: 80%; } ${t} :where(sub,sup) { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } ${t} sub { bottom: -0.25em; } ${t} sup { top: -0.5em; } ${t} img { border-style: none; } ${t} :where(button, input, optgroup, select, textarea) { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0; } ${t} :where(button, input) { overflow: visible; } ${t} :where(button, select) { text-transform: none; } ${t} :where( button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner ) { border-style: none; padding: 0; } ${t} fieldset { padding: 0.35em 0.75em 0.625em; } ${t} legend { box-sizing: border-box; color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal; } ${t} progress { vertical-align: baseline; } ${t} textarea { overflow: auto; } ${t} :where([type="checkbox"], [type="radio"]) { box-sizing: border-box; padding: 0; } ${t} input[type="number"]::-webkit-inner-spin-button, ${t} input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none !important; } ${t} input[type="number"] { -moz-appearance: textfield; } ${t} input[type="search"] { -webkit-appearance: textfield; outline-offset: -2px; } ${t} input[type="search"]::-webkit-search-decoration { -webkit-appearance: none !important; } ${t} ::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; } ${t} details { display: block; } ${t} summary { display: list-item; } template { display: none; } [hidden] { display: none !important; } ${t} :where( blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre ) { margin: 0; } ${t} button { background: transparent; padding: 0; } ${t} fieldset { margin: 0; padding: 0; } ${t} :where(ol, ul) { margin: 0; padding: 0; } ${t} textarea { resize: vertical; } ${t} :where(button, [role="button"]) { cursor: pointer; } ${t} button::-moz-focus-inner { border: 0 !important; } ${t} table { border-collapse: collapse; } ${t} :where(h1, h2, h3, h4, h5, h6) { font-size: inherit; font-weight: inherit; } ${t} :where(button, input, optgroup, select, textarea) { padding: 0; line-height: inherit; color: inherit; } ${t} :where(img, svg, video, canvas, audio, iframe, embed, object) { display: block; } ${t} :where(img, video) { max-width: 100%; height: auto; } [data-js-focus-visible] :focus:not([data-focus-visible-added]):not( [data-focus-visible-disabled] ) { outline: none; box-shadow: none; } ${t} select::-ms-expand { display: none; } ${_} `})},T=n(98118),A=n(17118);var R=n(57349),O=n(45268),z=n(30639),D=n(27541);function F(t){const{cssVarsRoot:n,theme:r,children:o}=t,i=(0,e.useMemo)((()=>(0,R.gd)(r)),[r]);return(0,C.jsxs)(D.a,{theme:i,children:[(0,C.jsx)(B,{root:n}),o]})}function B(e){let{root:t=":host, :root"}=e;const n=[t,"[data-theme]"].join(",");return(0,C.jsx)(k.mL,{styles:e=>({[n]:e.__cssVars})})}var[M,L]=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{strict:n=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:o}=t,i=(0,e.createContext)(void 0);return i.displayName=o,[i.Provider,function t(){var o;const a=(0,e.useContext)(i);if(!a&&n){const e=new Error(r);throw e.name="ContextError",null==(o=Error.captureStackTrace)||o.call(Error,e,t),e}return a},i]}({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "});function N(){const{colorMode:e}=(0,A.G6)();return(0,C.jsx)(k.mL,{styles:t=>{const n=(0,O.rY)(t,"styles.global"),r=(0,z.Jg)(n,{theme:t,colorMode:e});if(!r)return;return(0,R.AH)(r)(t)}})}var $="chakra-ui-light",I="chakra-ui-dark";var V="chakra-ui-color-mode";var H,U=(H=V,{ssr:!1,type:"localStorage",get(e){if(!(null==globalThis?void 0:globalThis.document))return e;let t;try{t=localStorage.getItem(H)||e}catch(n){}return t||e},set(e){try{localStorage.setItem(H,e)}catch(t){}}});function W(e,t){const n=e.match(new RegExp(`(^| )${t}=([^;]+)`));return null==n?void 0:n[2]}function q(e,t){return{ssr:!!t,type:"cookie",get:n=>t?W(t,e):(null==globalThis?void 0:globalThis.document)&&W(document.cookie,e)||n,set(t){document.cookie=`${e}=${t}; max-age=31536000; path=/`}}}q(V);var G=n(85739),K=()=>{};function Q(e,t){return"cookie"===e.type&&e.ssr?e.get(t):t}function Y(t){const{value:n,children:r,options:{useSystemColorMode:o,initialColorMode:i,disableTransitionOnChange:a}={},colorModeManager:s=U}=t,l="dark"===i?"dark":"light",[u,c]=(0,e.useState)((()=>Q(s,l))),[d,f]=(0,e.useState)((()=>Q(s))),{getSystemTheme:h,setClassName:p,setDataset:m,addListener:g}=(0,e.useMemo)((()=>function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{preventTransition:t=!0}=e,n={setDataset:e=>{const r=t?n.preventTransition():void 0;document.documentElement.dataset.theme=e,document.documentElement.style.colorScheme=e,null==r||r()},setClassName(e){document.body.classList.add(e?I:$),document.body.classList.remove(e?$:I)},query:()=>window.matchMedia("(prefers-color-scheme: dark)"),getSystemTheme(e){var t;return(null!=(t=n.query().matches)?t:"dark"===e)?"dark":"light"},addListener(e){const t=n.query(),r=t=>{e(t.matches?"dark":"light")};return"function"===typeof t.addListener?t.addListener(r):t.addEventListener("change",r),()=>{"function"===typeof t.removeListener?t.removeListener(r):t.removeEventListener("change",r)}},preventTransition(){const e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),requestAnimationFrame((()=>{requestAnimationFrame((()=>{document.head.removeChild(e)}))}))}}};return n}({preventTransition:a})),[a]),v="system"!==i||u?u:d,y=(0,e.useCallback)((e=>{const t="system"===e?h():e;c(t),p("dark"===t),m(t),s.set(t)}),[s,h,p,m]);(0,G.U)((()=>{"system"===i&&f(h())}),[]),(0,e.useEffect)((()=>{const e=s.get();y(e||("system"!==i?l:"system"))}),[s,l,i,y]);const b=(0,e.useCallback)((()=>{y("dark"===v?"light":"dark")}),[v,y]);(0,e.useEffect)((()=>{if(o)return g(y)}),[o,g,y]);const x=(0,e.useMemo)((()=>({colorMode:null!=n?n:v,toggleColorMode:n?K:b,setColorMode:n?K:y,forced:void 0!==n})),[v,b,y,n]);return(0,C.jsx)(A.Ig.Provider,{value:x,children:r})}Y.displayName="ColorModeProvider";var X=n(75692),Z=e=>{const{children:t,colorModeManager:n,portalZIndex:r,resetScope:o,resetCSS:i=!0,theme:a={},environment:s,cssVarsRoot:l,disableEnvironment:u,disableGlobalStyle:c}=e,d=(0,C.jsx)(X.v,{environment:s,disabled:u,children:t});return(0,C.jsx)(F,{theme:a,cssVarsRoot:l,children:(0,C.jsxs)(Y,{colorModeManager:n,options:a.config,children:[i?(0,C.jsx)(j,{scope:o}):(0,C.jsx)(P,{}),!c&&(0,C.jsx)(N,{}),r?(0,C.jsx)(T.w,{zIndex:r,children:d}):d]})})},J={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"}},ee={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},te={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},ne={base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},re={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"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},oe={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},ie={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","dark-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"},ae={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},se={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"}},le={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"},ue={...le,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"}},ce={breakpoints:ne,zIndices:ee,radii:oe,blur:ae,colors:re,...se,sizes:ue,shadows:ie,space:le,borders:te,transition:J},{defineMultiStyleConfig:de,definePartsStyle:fe}=(0,R.YU)(["stepper","step","title","description","indicator","separator","icon","number"]),he=(0,R.Vg)("stepper-indicator-size"),pe=(0,R.Vg)("stepper-icon-size"),me=(0,R.Vg)("stepper-title-font-size"),ge=(0,R.Vg)("stepper-description-font-size"),ve=(0,R.Vg)("stepper-accent-color"),ye=de({baseStyle:fe((e=>{let{colorScheme:t}=e;return{stepper:{display:"flex",justifyContent:"space-between",gap:"4","&[data-orientation=vertical]":{flexDirection:"column",alignItems:"flex-start"},"&[data-orientation=horizontal]":{flexDirection:"row",alignItems:"center"},[ve.variable]:`colors.${t}.500`,_dark:{[ve.variable]:`colors.${t}.200`}},title:{fontSize:me.reference,fontWeight:"medium"},description:{fontSize:ge.reference,color:"chakra-subtle-text"},number:{fontSize:me.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:pe.reference,height:pe.reference},indicator:{flexShrink:0,borderRadius:"full",width:he.reference,height:he.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:ve.reference},"&[data-status=complete]":{bg:ve.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:ve.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${he.reference} - 8px)`,top:`calc(${he.reference} + 4px)`,insetStart:`calc(${he.reference} / 2 - 1px)`}}}})),sizes:{xs:fe({stepper:{[he.variable]:"sizes.4",[pe.variable]:"sizes.3",[me.variable]:"fontSizes.xs",[ge.variable]:"fontSizes.xs"}}),sm:fe({stepper:{[he.variable]:"sizes.6",[pe.variable]:"sizes.4",[me.variable]:"fontSizes.sm",[ge.variable]:"fontSizes.xs"}}),md:fe({stepper:{[he.variable]:"sizes.8",[pe.variable]:"sizes.5",[me.variable]:"fontSizes.md",[ge.variable]:"fontSizes.sm"}}),lg:fe({stepper:{[he.variable]:"sizes.10",[pe.variable]:"sizes.6",[me.variable]:"fontSizes.lg",[ge.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}});function be(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!1;function r(t){const n=`chakra-${(["container","root"].includes(null!=t?t:"")?[e]:[e,t]).filter(Boolean).join("__")}`;return{className:n,selector:`.${n}`,toString:()=>t}}return{parts:function(){!function(){if(n)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");n=!0}();for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];for(const e of i)t[e]=r(e);return be(e,t)},toPart:r,extend:function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];for(const e of o)e in t||(t[e]=r(e));return be(e,t)},selectors:function(){const e=Object.fromEntries(Object.entries(t).map((e=>{let[t,n]=e;return[t,n.selector]})));return e},classnames:function(){const e=Object.fromEntries(Object.entries(t).map((e=>{let[t,n]=e;return[t,n.className]})));return e},get keys(){return Object.keys(t)},__type:{}}}var xe=be("accordion").parts("root","container","button","panel").extend("icon"),we=be("alert").parts("title","description","container").extend("icon","spinner"),Se=be("avatar").parts("label","badge","container").extend("excessLabel","group"),ke=be("breadcrumb").parts("link","item","container").extend("separator"),Ce=(be("button").parts(),be("checkbox").parts("control","icon","container").extend("label")),Ee=(be("progress").parts("track","filledTrack").extend("label"),be("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer")),_e=be("editable").parts("preview","input","textarea"),Pe=be("form").parts("container","requiredIndicator","helperText"),je=be("formError").parts("text","icon"),Te=be("input").parts("addon","field","element","group"),Ae=be("list").parts("container","item","icon"),Re=be("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),Oe=be("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),ze=be("numberinput").parts("root","field","stepperGroup","stepper"),De=(be("pininput").parts("field"),be("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton")),Fe=be("progress").parts("label","filledTrack","track"),Be=be("radio").parts("container","control","label"),Me=be("select").parts("field","icon"),Le=be("slider").parts("container","track","thumb","filledTrack","mark"),Ne=be("stat").parts("container","label","helpText","number","icon"),$e=be("switch").parts("container","track","thumb","label"),Ie=be("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),Ve=be("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),He=be("tag").parts("container","label","closeButton"),Ue=be("card").parts("container","header","body","footer");be("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");function We(e){const t=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return e.replace(/\s+/g,t)}(e.toString());return t.includes("\\.")?e:function(e){return!Number.isInteger(parseFloat(e.toString()))}(e)?t.replace(".","\\."):e}function qe(e,t){return`var(${We(e)}${t?`, ${t}`:""})`}function Ge(e){return`--${function(e){return[arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",We(e)].filter(Boolean).join("-")}(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"")}`}function Ke(e,t){const n=Ge(e,null==t?void 0:t.prefix);return{variable:n,reference:qe(n,Qe(null==t?void 0:t.fallback))}}function Qe(e){return"string"===typeof e?e:null==e?void 0:e.reference}function Ye(e){return function(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}(e)&&e.reference?e.reference:String(e)}var Xe=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.map(Ye).join(` ${e} `).replace(/calc/g,"")},Ze=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return`calc(${Xe("+",...t)})`},Je=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return`calc(${Xe("-",...t)})`},et=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return`calc(${Xe("*",...t)})`},tt=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return`calc(${Xe("/",...t)})`},nt=e=>{const t=Ye(e);return null==t||Number.isNaN(parseFloat(t))?et(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},rt=Object.assign((e=>({add:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return rt(Ze(e,...n))},subtract:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return rt(Je(e,...n))},multiply:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return rt(et(e,...n))},divide:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return rt(tt(e,...n))},negate:()=>rt(nt(e)),toString:()=>e.toString()})),{add:Ze,subtract:Je,multiply:et,divide:tt,negate:nt}),{defineMultiStyleConfig:ot,definePartsStyle:it}=(0,R.YU)($e.keys),at=Ke("switch-track-width"),st=Ke("switch-track-height"),lt=Ke("switch-track-diff"),ut=rt.subtract(at,st),ct=Ke("switch-thumb-x"),dt=Ke("switch-bg"),ft=(0,R.H2)((e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[at.reference],height:[st.reference],transitionProperty:"common",transitionDuration:"fast",[dt.variable]:"colors.gray.300",_dark:{[dt.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[dt.variable]:`colors.${t}.500`,_dark:{[dt.variable]:`colors.${t}.200`}},bg:dt.reference}})),ht=(0,R.H2)({bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[st.reference],height:[st.reference],_checked:{transform:`translateX(${ct.reference})`}}),pt=ot({baseStyle:it((e=>({container:{[lt.variable]:ut,[ct.variable]:lt.reference,_rtl:{[ct.variable]:rt(lt).negate().toString()}},track:ft(e),thumb:ht}))),sizes:{sm:it({container:{[at.variable]:"1.375rem",[st.variable]:"sizes.3"}}),md:it({container:{[at.variable]:"1.875rem",[st.variable]:"sizes.4"}}),lg:it({container:{[at.variable]:"2.875rem",[st.variable]:"sizes.6"}})},defaultProps:{size:"md",colorScheme:"blue"}});function mt(e,t){return n=>"dark"===n.colorMode?t:e}function gt(e){const{orientation:t,vertical:n,horizontal:r}=e;return t?"vertical"===t?n:r:{}}var{defineMultiStyleConfig:vt,definePartsStyle:yt}=(0,R.YU)(Ie.keys),bt=yt({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"}}),xt=(0,R.H2)({"&[data-is-numeric=true]":{textAlign:"end"}}),wt=vt({baseStyle:bt,variants:{simple:yt((e=>{const{colorScheme:t}=e;return{th:{color:mt("gray.600","gray.400")(e),borderBottom:"1px",borderColor:mt(`${t}.100`,`${t}.700`)(e),...xt},td:{borderBottom:"1px",borderColor:mt(`${t}.100`,`${t}.700`)(e),...xt},caption:{color:mt("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}})),striped:yt((e=>{const{colorScheme:t}=e;return{th:{color:mt("gray.600","gray.400")(e),borderBottom:"1px",borderColor:mt(`${t}.100`,`${t}.700`)(e),...xt},td:{borderBottom:"1px",borderColor:mt(`${t}.100`,`${t}.700`)(e),...xt},caption:{color:mt("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:mt(`${t}.100`,`${t}.700`)(e)},td:{background:mt(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}})),unstyled:(0,R.H2)({})},sizes:{sm:yt({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"}}),md:yt({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:yt({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"}});function St(e,t,n){return Math.min(Math.max(e,n),t)}class kt extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}var Ct=kt;function Et(e){if("string"!==typeof e)throw new Ct(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=zt.test(e)?function(e){const t=e.toLowerCase().trim(),n=Pt[function(e){let t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return(t>>>0)%2341}(t)];if(!n)throw new Ct(e);return`#${n}`}(e):e;const n=Tt.exec(t);if(n){const e=Array.from(n).slice(1);return[...e.slice(0,3).map((e=>parseInt(jt(e,2),16))),parseInt(jt(e[3]||"f",2),16)/255]}const r=At.exec(t);if(r){const e=Array.from(r).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,16))),parseInt(e[3]||"ff",16)/255]}const o=Rt.exec(t);if(o){const e=Array.from(o).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,10))),parseFloat(e[3]||"1")]}const i=Ot.exec(t);if(i){const[t,n,r,o]=Array.from(i).slice(1).map(parseFloat);if(St(0,100,n)!==n)throw new Ct(e);if(St(0,100,r)!==r)throw new Ct(e);return[...Ft(t,n,r),Number.isNaN(o)?1:o]}throw new Ct(e)}const _t=e=>parseInt(e.replace(/_/g,""),36),Pt="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(((e,t)=>{const n=_t(t.substring(0,3)),r=_t(t.substring(3)).toString(16);let o="";for(let i=0;i<6-r.length;i++)o+="0";return e[n]=`${o}${r}`,e}),{});const jt=(e,t)=>Array.from(Array(t)).map((()=>e)).join(""),Tt=new RegExp(`^#${jt("([a-f0-9])",3)}([a-f0-9])?$`,"i"),At=new RegExp(`^#${jt("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),Rt=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${jt(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Ot=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,zt=/^[a-z]+$/i,Dt=e=>Math.round(255*e),Ft=(e,t,n)=>{let r=n/100;if(0===t)return[r,r,r].map(Dt);const o=(e%360+360)%360/60,i=(1-Math.abs(2*r-1))*(t/100),a=i*(1-Math.abs(o%2-1));let s=0,l=0,u=0;o>=0&&o<1?(s=i,l=a):o>=1&&o<2?(s=a,l=i):o>=2&&o<3?(l=i,u=a):o>=3&&o<4?(l=a,u=i):o>=4&&o<5?(s=a,u=i):o>=5&&o<6&&(s=i,u=a);const c=r-i/2;return[s+c,l+c,u+c].map(Dt)};function Bt(e,t,n,r){return`rgba(${St(0,255,e).toFixed()}, ${St(0,255,t).toFixed()}, ${St(0,255,n).toFixed()}, ${parseFloat(St(0,1,r).toFixed(3))})`}function Mt(e,t){const[n,r,o,i]=Et(e);return Bt(n,r,o,i-t)}var Lt=(e,t,n)=>{const r=function(e,t,n,r,o){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:o;return e===o?n:e}(e,`colors.${t}`,t);try{return function(e){const[t,n,r,o]=Et(e);let i=e=>{const t=St(0,255,e).toString(16);return 1===t.length?`0${t}`:t};i(t),i(n),i(r),o<1&&i(Math.round(255*o))}(r),r}catch{return null!=n?n:"#000000"}},Nt=e=>t=>{const n=(e=>{const[t,n,r]=Et(e);return(299*t+587*n+114*r)/1e3})(Lt(t,e));return n<128?"dark":"light"},$t=(e,t)=>n=>Mt(Lt(n,e),1-t);function It(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"1rem",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"rgba(255, 255, 255, 0.15)";return{backgroundImage:`linear-gradient(\n 45deg,\n ${t} 25%,\n transparent 25%,\n transparent 50%,\n ${t} 50%,\n ${t} 75%,\n transparent 75%,\n transparent\n )`,backgroundSize:`${e} ${e}`}}function Vt(e){const t=`#${Math.floor(16777215*Math.random()).toString(16).padEnd(6,"0")}`;return e&&(n=e,0!==Object.keys(n).length)?e.string&&e.colors?function(e,t){let n=0;if(0===e.length)return t[0];for(let r=0;r<e.length;r+=1)n=e.charCodeAt(r)+((n<<5)-n),n|=0;return n=(n%t.length+t.length)%t.length,t[n]}(e.string,e.colors):e.string&&!e.colors?function(e){let t=0;if(0===e.length)return t.toString();for(let r=0;r<e.length;r+=1)t=e.charCodeAt(r)+((t<<5)-t),t|=0;let n="#";for(let r=0;r<3;r+=1){n+=`00${(t>>8*r&255).toString(16)}`.substr(-2)}return n}(e.string):e.colors&&!e.string?(r=e.colors)[Math.floor(Math.random()*r.length)]:t:t;var n,r}var Ht=(0,R.Vg)("tabs-color"),Ut=(0,R.Vg)("tabs-bg"),Wt=(0,R.Vg)("tabs-border-color"),{defineMultiStyleConfig:qt,definePartsStyle:Gt}=(0,R.YU)(Ve.keys),Kt=(0,R.H2)((e=>{const{orientation:t}=e;return{display:"vertical"===t?"flex":"block"}})),Qt=(0,R.H2)((e=>{const{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}})),Yt=(0,R.H2)((e=>{const{align:t="start",orientation:n}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:"vertical"===n?"column":"row"}})),Xt=(0,R.H2)({p:4}),Zt=qt({baseStyle:Gt((e=>({root:Kt(e),tab:Qt(e),tablist:Yt(e),tabpanel:Xt}))),sizes:{sm:Gt({tab:{py:1,px:4,fontSize:"sm"}}),md:Gt({tab:{fontSize:"md",py:2,px:4}}),lg:Gt({tab:{fontSize:"lg",py:3,px:4}})},variants:{line:Gt((e=>{const{colorScheme:t,orientation:n}=e,r="vertical"===n,o=r?"borderStart":"borderBottom",i=r?"marginStart":"marginBottom";return{tablist:{[o]:"2px solid",borderColor:"inherit"},tab:{[o]:"2px solid",borderColor:"transparent",[i]:"-2px",_selected:{[Ht.variable]:`colors.${t}.600`,_dark:{[Ht.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[Ut.variable]:"colors.gray.200",_dark:{[Ut.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:Ht.reference,bg:Ut.reference}}})),enclosed:Gt((e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[Wt.variable]:"transparent",_selected:{[Ht.variable]:`colors.${t}.600`,[Wt.variable]:"colors.white",_dark:{[Ht.variable]:`colors.${t}.300`,[Wt.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:Wt.reference},color:Ht.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}})),"enclosed-colored":Gt((e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[Ut.variable]:"colors.gray.50",_dark:{[Ut.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[Ut.variable]:"colors.white",[Ht.variable]:`colors.${t}.600`,_dark:{[Ut.variable]:"colors.gray.800",[Ht.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:Ht.reference,bg:Ut.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}})),"soft-rounded":Gt((e=>{const{colorScheme:t,theme:n}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:Lt(n,`${t}.700`),bg:Lt(n,`${t}.100`)}}}})),"solid-rounded":Gt((e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[Ht.variable]:"colors.gray.600",_dark:{[Ht.variable]:"inherit"},_selected:{[Ht.variable]:"colors.white",[Ut.variable]:`colors.${t}.600`,_dark:{[Ht.variable]:"colors.gray.800",[Ut.variable]:`colors.${t}.300`}},color:Ht.reference,bg:Ut.reference}}})),unstyled:Gt({})},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),Jt=(0,R.lL)("badge",["bg","color","shadow"]),en=(0,R.H2)({px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:Jt.bg.reference,color:Jt.color.reference,boxShadow:Jt.shadow.reference}),tn={solid:(0,R.H2)((e=>{const{colorScheme:t,theme:n}=e,r=$t(`${t}.500`,.6)(n);return{[Jt.bg.variable]:`colors.${t}.500`,[Jt.color.variable]:"colors.white",_dark:{[Jt.bg.variable]:r,[Jt.color.variable]:"colors.whiteAlpha.800"}}})),subtle:(0,R.H2)((e=>{const{colorScheme:t,theme:n}=e,r=$t(`${t}.200`,.16)(n);return{[Jt.bg.variable]:`colors.${t}.100`,[Jt.color.variable]:`colors.${t}.800`,_dark:{[Jt.bg.variable]:r,[Jt.color.variable]:`colors.${t}.200`}}})),outline:(0,R.H2)((e=>{const{colorScheme:t,theme:n}=e,r=$t(`${t}.200`,.8)(n);return{[Jt.color.variable]:`colors.${t}.500`,_dark:{[Jt.color.variable]:r},[Jt.shadow.variable]:`inset 0 0 0px 1px ${Jt.color.reference}`}}))},nn=(0,R.Dt)({baseStyle:en,variants:tn,defaultProps:{variant:"subtle",colorScheme:"gray"}}),{defineMultiStyleConfig:rn,definePartsStyle:on}=(0,R.YU)(He.keys),an=(0,R.Vg)("tag-bg"),sn=(0,R.Vg)("tag-color"),ln=(0,R.Vg)("tag-shadow"),un=(0,R.Vg)("tag-min-height"),cn=(0,R.Vg)("tag-min-width"),dn=(0,R.Vg)("tag-font-size"),fn=(0,R.Vg)("tag-padding-inline"),hn=on({container:(0,R.H2)({fontWeight:"medium",lineHeight:1.2,outline:0,[sn.variable]:Jt.color.reference,[an.variable]:Jt.bg.reference,[ln.variable]:Jt.shadow.reference,color:sn.reference,bg:an.reference,boxShadow:ln.reference,borderRadius:"md",minH:un.reference,minW:cn.reference,fontSize:dn.reference,px:fn.reference,_focusVisible:{[ln.variable]:"shadows.outline"}}),label:(0,R.H2)({lineHeight:1.2,overflow:"visible"}),closeButton:(0,R.H2)({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}})}),pn={sm:on({container:{[un.variable]:"sizes.5",[cn.variable]:"sizes.5",[dn.variable]:"fontSizes.xs",[fn.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:on({container:{[un.variable]:"sizes.6",[cn.variable]:"sizes.6",[dn.variable]:"fontSizes.sm",[fn.variable]:"space.2"}}),lg:on({container:{[un.variable]:"sizes.8",[cn.variable]:"sizes.8",[dn.variable]:"fontSizes.md",[fn.variable]:"space.3"}})},mn=rn({variants:{subtle:on((e=>{var t;return{container:null==(t=nn.variants)?void 0:t.subtle(e)}})),solid:on((e=>{var t;return{container:null==(t=nn.variants)?void 0:t.solid(e)}})),outline:on((e=>{var t;return{container:null==(t=nn.variants)?void 0:t.outline(e)}}))},baseStyle:hn,sizes:pn,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),{definePartsStyle:gn,defineMultiStyleConfig:vn}=(0,R.YU)(Te.keys),yn=(0,R.Vg)("input-height"),bn=(0,R.Vg)("input-font-size"),xn=(0,R.Vg)("input-padding"),wn=(0,R.Vg)("input-border-radius"),Sn=gn({addon:{height:yn.reference,fontSize:bn.reference,px:xn.reference,borderRadius:wn.reference},field:{width:"100%",height:yn.reference,fontSize:bn.reference,px:xn.reference,borderRadius:wn.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),kn={lg:(0,R.H2)({[bn.variable]:"fontSizes.lg",[xn.variable]:"space.4",[wn.variable]:"radii.md",[yn.variable]:"sizes.12"}),md:(0,R.H2)({[bn.variable]:"fontSizes.md",[xn.variable]:"space.4",[wn.variable]:"radii.md",[yn.variable]:"sizes.10"}),sm:(0,R.H2)({[bn.variable]:"fontSizes.sm",[xn.variable]:"space.3",[wn.variable]:"radii.sm",[yn.variable]:"sizes.8"}),xs:(0,R.H2)({[bn.variable]:"fontSizes.xs",[xn.variable]:"space.2",[wn.variable]:"radii.sm",[yn.variable]:"sizes.6"})};function Cn(e){const{focusBorderColor:t,errorBorderColor:n}=e;return{focusBorderColor:t||mt("blue.500","blue.300")(e),errorBorderColor:n||mt("red.500","red.300")(e)}}var En,_n,Pn,jn,Tn,An,Rn,On,zn,Dn,Fn,Bn=vn({baseStyle:Sn,sizes:{lg:gn({field:kn.lg,group:kn.lg}),md:gn({field:kn.md,group:kn.md}),sm:gn({field:kn.sm,group:kn.sm}),xs:gn({field:kn.xs,group:kn.xs})},variants:{outline:gn((e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=Cn(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:mt("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Lt(t,r),boxShadow:`0 0 0 1px ${Lt(t,r)}`},_focusVisible:{zIndex:1,borderColor:Lt(t,n),boxShadow:`0 0 0 1px ${Lt(t,n)}`}},addon:{border:"1px solid",borderColor:mt("inherit","whiteAlpha.50")(e),bg:mt("gray.100","whiteAlpha.300")(e)}}})),filled:gn((e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=Cn(e);return{field:{border:"2px solid",borderColor:"transparent",bg:mt("gray.100","whiteAlpha.50")(e),_hover:{bg:mt("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Lt(t,r)},_focusVisible:{bg:"transparent",borderColor:Lt(t,n)}},addon:{border:"2px solid",borderColor:"transparent",bg:mt("gray.100","whiteAlpha.50")(e)}}})),flushed:gn((e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=Cn(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Lt(t,r),boxShadow:`0px 1px 0px 0px ${Lt(t,r)}`},_focusVisible:{borderColor:Lt(t,n),boxShadow:`0px 1px 0px 0px ${Lt(t,n)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}})),unstyled:gn({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}})},defaultProps:{size:"md",variant:"outline"}}),Mn=(0,R.H2)({...null==(En=Bn.baseStyle)?void 0:En.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"}),Ln={outline:(0,R.H2)((e=>{var t,n;return null!=(n=null==(t=Bn.variants)?void 0:t.outline(e).field)?n:{}})),flushed:(0,R.H2)((e=>{var t,n;return null!=(n=null==(t=Bn.variants)?void 0:t.flushed(e).field)?n:{}})),filled:(0,R.H2)((e=>{var t,n;return null!=(n=null==(t=Bn.variants)?void 0:t.filled(e).field)?n:{}})),unstyled:null!=(Pn=null==(_n=Bn.variants)?void 0:_n.unstyled.field)?Pn:{}},Nn={xs:null!=(Tn=null==(jn=Bn.sizes)?void 0:jn.xs.field)?Tn:{},sm:null!=(Rn=null==(An=Bn.sizes)?void 0:An.sm.field)?Rn:{},md:null!=(zn=null==(On=Bn.sizes)?void 0:On.md.field)?zn:{},lg:null!=(Fn=null==(Dn=Bn.sizes)?void 0:Dn.lg.field)?Fn:{}},$n=(0,R.Dt)({baseStyle:Mn,sizes:Nn,variants:Ln,defaultProps:{size:"md",variant:"outline"}}),In=Ke("tooltip-bg"),Vn=Ke("tooltip-fg"),Hn=Ke("popper-arrow-bg"),Un=(0,R.H2)({bg:In.reference,color:Vn.reference,[In.variable]:"colors.gray.700",[Vn.variable]:"colors.whiteAlpha.900",_dark:{[In.variable]:"colors.gray.300",[Vn.variable]:"colors.gray.900"},[Hn.variable]:In.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"}),Wn=(0,R.Dt)({baseStyle:Un}),{defineMultiStyleConfig:qn,definePartsStyle:Gn}=(0,R.YU)(Fe.keys),Kn=(0,R.H2)((e=>{const{colorScheme:t,theme:n,isIndeterminate:r,hasStripe:o}=e,i=mt(It(),It("1rem","rgba(0,0,0,0.1)"))(e),a=mt(`${t}.500`,`${t}.200`)(e),s=`linear-gradient(\n to right,\n transparent 0%,\n ${Lt(n,a)} 50%,\n transparent 100%\n )`;return{...!r&&o&&i,...r?{bgImage:s}:{bgColor:a}}})),Qn=(0,R.H2)({lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"}),Yn=(0,R.H2)((e=>({bg:mt("gray.100","whiteAlpha.300")(e)}))),Xn=(0,R.H2)((e=>({transitionProperty:"common",transitionDuration:"slow",...Kn(e)}))),Zn=Gn((e=>({label:Qn,filledTrack:Xn(e),track:Yn(e)}))),Jn=qn({sizes:{xs:Gn({track:{h:"1"}}),sm:Gn({track:{h:"2"}}),md:Gn({track:{h:"3"}}),lg:Gn({track:{h:"4"}})},baseStyle:Zn,defaultProps:{size:"md",colorScheme:"blue"}});function er(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"===typeof e?e(...n):e}var tr,nr,rr,or,ir,ar,sr,lr,ur,{definePartsStyle:cr,defineMultiStyleConfig:dr}=(0,R.YU)(Ce.keys),fr=(0,R.Vg)("checkbox-size"),hr=(0,R.H2)((e=>{const{colorScheme:t}=e;return{w:fr.reference,h:fr.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:mt(`${t}.500`,`${t}.200`)(e),borderColor:mt(`${t}.500`,`${t}.200`)(e),color:mt("white","gray.900")(e),_hover:{bg:mt(`${t}.600`,`${t}.300`)(e),borderColor:mt(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:mt("gray.200","transparent")(e),bg:mt("gray.200","whiteAlpha.300")(e),color:mt("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:mt(`${t}.500`,`${t}.200`)(e),borderColor:mt(`${t}.500`,`${t}.200`)(e),color:mt("white","gray.900")(e)},_disabled:{bg:mt("gray.100","whiteAlpha.100")(e),borderColor:mt("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:mt("red.500","red.300")(e)}}})),pr=(0,R.H2)({_disabled:{cursor:"not-allowed"}}),mr=(0,R.H2)({userSelect:"none",_disabled:{opacity:.4}}),gr=(0,R.H2)({transitionProperty:"transform",transitionDuration:"normal"}),vr=dr({baseStyle:cr((e=>({icon:gr,container:pr,control:er(hr,e),label:mr}))),sizes:{sm:cr({control:{[fr.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:cr({control:{[fr.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:cr({control:{[fr.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:yr,definePartsStyle:br}=(0,R.YU)(Be.keys),xr=(0,R.H2)((e=>{var t;const n=null==(t=er(vr.baseStyle,e))?void 0:t.control;return{...n,borderRadius:"full",_checked:{...null==n?void 0:n._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}})),wr=yr({baseStyle:br((e=>{var t,n,r,o;return{label:null==(n=(t=vr).baseStyle)?void 0:n.call(t,e).label,container:null==(o=(r=vr).baseStyle)?void 0:o.call(r,e).container,control:xr(e)}})),sizes:{md:br({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:br({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:br({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Sr,definePartsStyle:kr}=(0,R.YU)(Me.keys),Cr=(0,R.Vg)("select-bg"),Er=kr({field:(0,R.H2)({...null==(tr=Bn.baseStyle)?void 0:tr.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:Cr.reference,[Cr.variable]:"colors.white",_dark:{[Cr.variable]:"colors.gray.700"},"> option, > optgroup":{bg:Cr.reference}}),icon:(0,R.H2)({width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}})}),_r=(0,R.H2)({paddingInlineEnd:"8"}),Pr=Sr({baseStyle:Er,sizes:{lg:{...null==(nr=Bn.sizes)?void 0:nr.lg,field:{...null==(rr=Bn.sizes)?void 0:rr.lg.field,..._r}},md:{...null==(or=Bn.sizes)?void 0:or.md,field:{...null==(ir=Bn.sizes)?void 0:ir.md.field,..._r}},sm:{...null==(ar=Bn.sizes)?void 0:ar.sm,field:{...null==(sr=Bn.sizes)?void 0:sr.sm.field,..._r}},xs:{...null==(lr=Bn.sizes)?void 0:lr.xs,field:{...null==(ur=Bn.sizes)?void 0:ur.xs.field,..._r},icon:{insetEnd:"1"}}},variants:Bn.variants,defaultProps:Bn.defaultProps}),jr=(0,R.Vg)("skeleton-start-color"),Tr=(0,R.Vg)("skeleton-end-color"),Ar=(0,R.H2)({[jr.variable]:"colors.gray.100",[Tr.variable]:"colors.gray.400",_dark:{[jr.variable]:"colors.gray.800",[Tr.variable]:"colors.gray.600"},background:jr.reference,borderColor:Tr.reference,opacity:.7,borderRadius:"sm"}),Rr=(0,R.Dt)({baseStyle:Ar}),Or=(0,R.Vg)("skip-link-bg"),zr=(0,R.H2)({borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[Or.variable]:"colors.white",_dark:{[Or.variable]:"colors.gray.700"},bg:Or.reference}}),Dr=(0,R.Dt)({baseStyle:zr}),{defineMultiStyleConfig:Fr,definePartsStyle:Br}=(0,R.YU)(Le.keys),Mr=(0,R.Vg)("slider-thumb-size"),Lr=(0,R.Vg)("slider-track-size"),Nr=(0,R.Vg)("slider-bg"),$r=(0,R.H2)((e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...gt({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}})),Ir=(0,R.H2)((e=>({...gt({orientation:e.orientation,horizontal:{h:Lr.reference},vertical:{w:Lr.reference}}),overflow:"hidden",borderRadius:"sm",[Nr.variable]:"colors.gray.200",_dark:{[Nr.variable]:"colors.whiteAlpha.200"},_disabled:{[Nr.variable]:"colors.gray.300",_dark:{[Nr.variable]:"colors.whiteAlpha.300"}},bg:Nr.reference}))),Vr=(0,R.H2)((e=>{const{orientation:t}=e;return{...gt({orientation:t,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:Mr.reference,h:Mr.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"}}})),Hr=(0,R.H2)((e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[Nr.variable]:`colors.${t}.500`,_dark:{[Nr.variable]:`colors.${t}.200`},bg:Nr.reference}})),Ur=Fr({baseStyle:Br((e=>({container:$r(e),track:Ir(e),thumb:Vr(e),filledTrack:Hr(e)}))),sizes:{lg:Br({container:{[Mr.variable]:"sizes.4",[Lr.variable]:"sizes.1"}}),md:Br({container:{[Mr.variable]:"sizes.3.5",[Lr.variable]:"sizes.1"}}),sm:Br({container:{[Mr.variable]:"sizes.2.5",[Lr.variable]:"sizes.0.5"}})},defaultProps:{size:"md",colorScheme:"blue"}}),Wr=Ke("spinner-size"),qr=(0,R.H2)({width:[Wr.reference],height:[Wr.reference]}),Gr={xs:(0,R.H2)({[Wr.variable]:"sizes.3"}),sm:(0,R.H2)({[Wr.variable]:"sizes.4"}),md:(0,R.H2)({[Wr.variable]:"sizes.6"}),lg:(0,R.H2)({[Wr.variable]:"sizes.8"}),xl:(0,R.H2)({[Wr.variable]:"sizes.12"})},Kr=(0,R.Dt)({baseStyle:qr,sizes:Gr,defaultProps:{size:"md"}}),{defineMultiStyleConfig:Qr,definePartsStyle:Yr}=(0,R.YU)(Ne.keys),Xr=Qr({baseStyle:Yr({container:{},label:(0,R.H2)({fontWeight:"medium"}),helpText:(0,R.H2)({opacity:.8,marginBottom:"2"}),number:(0,R.H2)({verticalAlign:"baseline",fontWeight:"semibold"}),icon:(0,R.H2)({marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"})}),sizes:{md:Yr({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},defaultProps:{size:"md"}}),Zr=(0,R.Vg)("kbd-bg"),Jr=(0,R.H2)({[Zr.variable]:"colors.gray.100",_dark:{[Zr.variable]:"colors.whiteAlpha.100"},bg:Zr.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}),eo=(0,R.Dt)({baseStyle:Jr}),to=(0,R.H2)({transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}}),no=(0,R.Dt)({baseStyle:to}),{defineMultiStyleConfig:ro,definePartsStyle:oo}=(0,R.YU)(Ae.keys),io=ro({baseStyle:oo({icon:(0,R.H2)({marginEnd:"2",display:"inline",verticalAlign:"text-bottom"})})}),{defineMultiStyleConfig:ao,definePartsStyle:so}=(0,R.YU)(Re.keys),lo=(0,R.Vg)("menu-bg"),uo=(0,R.Vg)("menu-shadow"),co=(0,R.H2)({[lo.variable]:"#fff",[uo.variable]:"shadows.sm",_dark:{[lo.variable]:"colors.gray.700",[uo.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:lo.reference,boxShadow:uo.reference}),fo=(0,R.H2)({py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[lo.variable]:"colors.gray.100",_dark:{[lo.variable]:"colors.whiteAlpha.100"}},_active:{[lo.variable]:"colors.gray.200",_dark:{[lo.variable]:"colors.whiteAlpha.200"}},_expanded:{[lo.variable]:"colors.gray.100",_dark:{[lo.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:lo.reference}),ho=(0,R.H2)({mx:4,my:2,fontWeight:"semibold",fontSize:"sm"}),po=(0,R.H2)({display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0}),mo=(0,R.H2)({opacity:.6}),go=(0,R.H2)({border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6}),vo=ao({baseStyle:so({button:(0,R.H2)({transitionProperty:"common",transitionDuration:"normal"}),list:co,item:fo,groupTitle:ho,icon:po,command:mo,divider:go})}),{defineMultiStyleConfig:yo,definePartsStyle:bo}=(0,R.YU)(Oe.keys),xo=(0,R.Vg)("modal-bg"),wo=(0,R.Vg)("modal-shadow"),So=(0,R.H2)({bg:"blackAlpha.600",zIndex:"modal"}),ko=(0,R.H2)((e=>{const{isCentered:t,scrollBehavior:n}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:"inside"===n?"hidden":"auto",overscrollBehaviorY:"none"}})),Co=(0,R.H2)((e=>{const{isCentered:t,scrollBehavior:n}=e;return{borderRadius:"md",color:"inherit",my:t?"auto":"16",mx:t?"auto":void 0,zIndex:"modal",maxH:"inside"===n?"calc(100% - 7.5rem)":void 0,[xo.variable]:"colors.white",[wo.variable]:"shadows.lg",_dark:{[xo.variable]:"colors.gray.700",[wo.variable]:"shadows.dark-lg"},bg:xo.reference,boxShadow:wo.reference}})),Eo=(0,R.H2)({px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"}),_o=(0,R.H2)({position:"absolute",top:"2",insetEnd:"3"}),Po=(0,R.H2)((e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:"inside"===t?"auto":void 0}})),jo=(0,R.H2)({px:"6",py:"4"});function To(e){return bo("full"===e?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}var Ao=yo({baseStyle:bo((e=>({overlay:So,dialogContainer:er(ko,e),dialog:er(Co,e),header:Eo,closeButton:_o,body:er(Po,e),footer:jo}))),sizes:{xs:To("xs"),sm:To("sm"),md:To("md"),lg:To("lg"),xl:To("xl"),"2xl":To("2xl"),"3xl":To("3xl"),"4xl":To("4xl"),"5xl":To("5xl"),"6xl":To("6xl"),full:To("full")},defaultProps:{size:"md"}}),{defineMultiStyleConfig:Ro,definePartsStyle:Oo}=(0,R.YU)(ze.keys),zo=Ke("number-input-stepper-width"),Do=Ke("number-input-input-padding"),Fo=rt(zo).add("0.5rem").toString(),Bo=Ke("number-input-bg"),Mo=Ke("number-input-color"),Lo=Ke("number-input-border-color"),No=(0,R.H2)({[zo.variable]:"sizes.6",[Do.variable]:Fo}),$o=(0,R.H2)((e=>{var t,n;return null!=(n=null==(t=er(Bn.baseStyle,e))?void 0:t.field)?n:{}})),Io=(0,R.H2)({width:zo.reference}),Vo=(0,R.H2)({borderStart:"1px solid",borderStartColor:Lo.reference,color:Mo.reference,bg:Bo.reference,[Mo.variable]:"colors.chakra-body-text",[Lo.variable]:"colors.chakra-border-color",_dark:{[Mo.variable]:"colors.whiteAlpha.800",[Lo.variable]:"colors.whiteAlpha.300"},_active:{[Bo.variable]:"colors.gray.200",_dark:{[Bo.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}});function Ho(e){var t,n,r;const o=null==(t=Bn.sizes)?void 0:t[e],i={lg:"md",md:"md",sm:"sm",xs:"sm"},a=null!=(r=null==(n=o.field)?void 0:n.fontSize)?r:"md",s=se.fontSizes[a];return Oo({field:{...o.field,paddingInlineEnd:Do.reference,verticalAlign:"top"},stepper:{fontSize:rt(s).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}})}var Uo,Wo,qo,Go=Ro({baseStyle:Oo((e=>{var t;return{root:No,field:null!=(t=er($o,e))?t:{},stepperGroup:Io,stepper:Vo}})),sizes:{xs:Ho("xs"),sm:Ho("sm"),md:Ho("md"),lg:Ho("lg")},variants:Bn.variants,defaultProps:Bn.defaultProps}),Ko=(0,R.H2)({...null==(Uo=Bn.baseStyle)?void 0:Uo.field,textAlign:"center"}),Qo={lg:(0,R.H2)({fontSize:"lg",w:12,h:12,borderRadius:"md"}),md:(0,R.H2)({fontSize:"md",w:10,h:10,borderRadius:"md"}),sm:(0,R.H2)({fontSize:"sm",w:8,h:8,borderRadius:"sm"}),xs:(0,R.H2)({fontSize:"xs",w:6,h:6,borderRadius:"sm"})},Yo={outline:(0,R.H2)((e=>{var t,n,r;return null!=(r=null==(n=er(null==(t=Bn.variants)?void 0:t.outline,e))?void 0:n.field)?r:{}})),flushed:(0,R.H2)((e=>{var t,n,r;return null!=(r=null==(n=er(null==(t=Bn.variants)?void 0:t.flushed,e))?void 0:n.field)?r:{}})),filled:(0,R.H2)((e=>{var t,n,r;return null!=(r=null==(n=er(null==(t=Bn.variants)?void 0:t.filled,e))?void 0:n.field)?r:{}})),unstyled:null!=(qo=null==(Wo=Bn.variants)?void 0:Wo.unstyled.field)?qo:{}},Xo=(0,R.Dt)({baseStyle:Ko,sizes:Qo,variants:Yo,defaultProps:Bn.defaultProps}),{defineMultiStyleConfig:Zo,definePartsStyle:Jo}=(0,R.YU)(De.keys),ei=Ke("popper-bg"),ti=Ke("popper-arrow-bg"),ni=Ke("popper-arrow-shadow-color"),ri=Zo({baseStyle:Jo({popper:(0,R.H2)({zIndex:10}),content:(0,R.H2)({[ei.variable]:"colors.white",bg:ei.reference,[ti.variable]:ei.reference,[ni.variable]:"colors.gray.200",_dark:{[ei.variable]:"colors.gray.700",[ni.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}}),header:(0,R.H2)({px:3,py:2,borderBottomWidth:"1px"}),body:(0,R.H2)({px:3,py:2}),footer:(0,R.H2)({px:3,py:2,borderTopWidth:"1px"}),closeButton:(0,R.H2)({position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2})})}),{definePartsStyle:oi,defineMultiStyleConfig:ii}=(0,R.YU)(Ee.keys),ai=(0,R.Vg)("drawer-bg"),si=(0,R.Vg)("drawer-box-shadow");function li(e){return oi("full"===e?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}var ui=(0,R.H2)({bg:"blackAlpha.600",zIndex:"modal"}),ci=(0,R.H2)({display:"flex",zIndex:"modal",justifyContent:"center"}),di=(0,R.H2)((e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[ai.variable]:"colors.white",[si.variable]:"shadows.lg",_dark:{[ai.variable]:"colors.gray.700",[si.variable]:"shadows.dark-lg"},bg:ai.reference,boxShadow:si.reference}})),fi=(0,R.H2)({px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"}),hi=(0,R.H2)({position:"absolute",top:"2",insetEnd:"3"}),pi=(0,R.H2)({px:"6",py:"2",flex:"1",overflow:"auto"}),mi=(0,R.H2)({px:"6",py:"4"}),gi=ii({baseStyle:oi((e=>({overlay:ui,dialogContainer:ci,dialog:er(di,e),header:fi,closeButton:hi,body:pi,footer:mi}))),sizes:{xs:li("xs"),sm:li("md"),md:li("lg"),lg:li("2xl"),xl:li("4xl"),full:li("full")},defaultProps:{size:"xs"}}),{definePartsStyle:vi,defineMultiStyleConfig:yi}=(0,R.YU)(_e.keys),bi=yi({baseStyle:vi({preview:(0,R.H2)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"}),input:(0,R.H2)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}}),textarea:(0,R.H2)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}})})}),{definePartsStyle:xi,defineMultiStyleConfig:wi}=(0,R.YU)(Pe.keys),Si=(0,R.Vg)("form-control-color"),ki=wi({baseStyle:xi({container:{width:"100%",position:"relative"},requiredIndicator:(0,R.H2)({marginStart:"1",[Si.variable]:"colors.red.500",_dark:{[Si.variable]:"colors.red.300"},color:Si.reference}),helperText:(0,R.H2)({mt:"2",[Si.variable]:"colors.gray.600",_dark:{[Si.variable]:"colors.whiteAlpha.600"},color:Si.reference,lineHeight:"normal",fontSize:"sm"})})}),{definePartsStyle:Ci,defineMultiStyleConfig:Ei}=(0,R.YU)(je.keys),_i=(0,R.Vg)("form-error-color"),Pi=Ei({baseStyle:Ci({text:(0,R.H2)({[_i.variable]:"colors.red.500",_dark:{[_i.variable]:"colors.red.300"},color:_i.reference,mt:"2",fontSize:"sm",lineHeight:"normal"}),icon:(0,R.H2)({marginEnd:"0.5em",[_i.variable]:"colors.red.500",_dark:{[_i.variable]:"colors.red.300"},color:_i.reference})})}),ji=(0,R.H2)({fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}),Ti=(0,R.Dt)({baseStyle:ji}),Ai=(0,R.H2)({fontFamily:"heading",fontWeight:"bold"}),Ri={"4xl":(0,R.H2)({fontSize:["6xl",null,"7xl"],lineHeight:1}),"3xl":(0,R.H2)({fontSize:["5xl",null,"6xl"],lineHeight:1}),"2xl":(0,R.H2)({fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]}),xl:(0,R.H2)({fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]}),lg:(0,R.H2)({fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]}),md:(0,R.H2)({fontSize:"xl",lineHeight:1.2}),sm:(0,R.H2)({fontSize:"md",lineHeight:1.2}),xs:(0,R.H2)({fontSize:"sm",lineHeight:1.2})},Oi=(0,R.Dt)({baseStyle:Ai,sizes:Ri,defaultProps:{size:"xl"}}),{defineMultiStyleConfig:zi,definePartsStyle:Di}=(0,R.YU)(ke.keys),Fi=(0,R.Vg)("breadcrumb-link-decor"),Bi=zi({baseStyle:Di({link:(0,R.H2)({transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:Fi.reference,[Fi.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[Fi.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}})})}),Mi=(0,R.H2)({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"}}}),Li=(0,R.H2)((e=>{const{colorScheme:t,theme:n}=e;if("gray"===t)return{color:mt("gray.800","whiteAlpha.900")(e),_hover:{bg:mt("gray.100","whiteAlpha.200")(e)},_active:{bg:mt("gray.200","whiteAlpha.300")(e)}};const r=$t(`${t}.200`,.12)(n),o=$t(`${t}.200`,.24)(n);return{color:mt(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:mt(`${t}.50`,r)(e)},_active:{bg:mt(`${t}.100`,o)(e)}}})),Ni=(0,R.H2)((e=>{const{colorScheme:t}=e,n=mt("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:"gray"===t?n:"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"},...er(Li,e)}})),$i={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},Ii=(0,R.H2)((e=>{var t;const{colorScheme:n}=e;if("gray"===n){const t=mt("gray.100","whiteAlpha.200")(e);return{bg:t,color:mt("gray.800","whiteAlpha.900")(e),_hover:{bg:mt("gray.200","whiteAlpha.300")(e),_disabled:{bg:t}},_active:{bg:mt("gray.300","whiteAlpha.400")(e)}}}const{bg:r=`${n}.500`,color:o="white",hoverBg:i=`${n}.600`,activeBg:a=`${n}.700`}=null!=(t=$i[n])?t:{},s=mt(r,`${n}.200`)(e);return{bg:s,color:mt(o,"gray.800")(e),_hover:{bg:mt(i,`${n}.300`)(e),_disabled:{bg:s}},_active:{bg:mt(a,`${n}.400`)(e)}}})),Vi=(0,R.H2)((e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:mt(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:mt(`${t}.700`,`${t}.500`)(e)}}})),Hi=(0,R.H2)({bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"}),Ui={ghost:Li,outline:Ni,solid:Ii,link:Vi,unstyled:Hi},Wi={lg:(0,R.H2)({h:"12",minW:"12",fontSize:"lg",px:"6"}),md:(0,R.H2)({h:"10",minW:"10",fontSize:"md",px:"4"}),sm:(0,R.H2)({h:"8",minW:"8",fontSize:"sm",px:"3"}),xs:(0,R.H2)({h:"6",minW:"6",fontSize:"xs",px:"2"})},qi=(0,R.Dt)({baseStyle:Mi,variants:Ui,sizes:Wi,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}}),{definePartsStyle:Gi,defineMultiStyleConfig:Ki}=(0,R.YU)(Ue.keys),Qi=(0,R.Vg)("card-bg"),Yi=(0,R.Vg)("card-padding"),Xi=(0,R.Vg)("card-shadow"),Zi=(0,R.Vg)("card-radius"),Ji=(0,R.Vg)("card-border-width","0"),ea=(0,R.Vg)("card-border-color"),ta=Gi({container:{[Qi.variable]:"colors.chakra-body-bg",backgroundColor:Qi.reference,boxShadow:Xi.reference,borderRadius:Zi.reference,color:"chakra-body-text",borderWidth:Ji.reference,borderColor:ea.reference},body:{padding:Yi.reference,flex:"1 1 0%"},header:{padding:Yi.reference},footer:{padding:Yi.reference}}),na={sm:Gi({container:{[Zi.variable]:"radii.base",[Yi.variable]:"space.3"}}),md:Gi({container:{[Zi.variable]:"radii.md",[Yi.variable]:"space.5"}}),lg:Gi({container:{[Zi.variable]:"radii.xl",[Yi.variable]:"space.7"}})},ra=Ki({baseStyle:ta,variants:{elevated:Gi({container:{[Xi.variable]:"shadows.base",_dark:{[Qi.variable]:"colors.gray.700"}}}),outline:Gi({container:{[Ji.variable]:"1px",[ea.variable]:"colors.chakra-border-color"}}),filled:Gi({container:{[Qi.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[Yi.variable]:0},header:{[Yi.variable]:0},footer:{[Yi.variable]:0}}},sizes:na,defaultProps:{variant:"elevated",size:"md"}}),oa=Ke("close-button-size"),ia=Ke("close-button-bg"),aa=(0,R.H2)({w:[oa.reference],h:[oa.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[ia.variable]:"colors.blackAlpha.100",_dark:{[ia.variable]:"colors.whiteAlpha.100"}},_active:{[ia.variable]:"colors.blackAlpha.200",_dark:{[ia.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:ia.reference}),sa={lg:(0,R.H2)({[oa.variable]:"sizes.10",fontSize:"md"}),md:(0,R.H2)({[oa.variable]:"sizes.8",fontSize:"xs"}),sm:(0,R.H2)({[oa.variable]:"sizes.6",fontSize:"2xs"})},la=(0,R.Dt)({baseStyle:aa,sizes:sa,defaultProps:{size:"md"}}),{variants:ua,defaultProps:ca}=nn,da=(0,R.H2)({fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:Jt.bg.reference,color:Jt.color.reference,boxShadow:Jt.shadow.reference}),fa=(0,R.Dt)({baseStyle:da,variants:ua,defaultProps:ca}),ha=(0,R.H2)({w:"100%",mx:"auto",maxW:"prose",px:"4"}),pa=(0,R.Dt)({baseStyle:ha}),ma=(0,R.H2)({opacity:.6,borderColor:"inherit"}),ga={solid:(0,R.H2)({borderStyle:"solid"}),dashed:(0,R.H2)({borderStyle:"dashed"})},va=(0,R.Dt)({baseStyle:ma,variants:ga,defaultProps:{variant:"solid"}}),{definePartsStyle:ya,defineMultiStyleConfig:ba}=(0,R.YU)(xe.keys),xa=ba({baseStyle:ya({container:(0,R.H2)({borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}}),button:(0,R.H2)({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,R.H2)({pt:"2",px:"4",pb:"5"}),icon:(0,R.H2)({fontSize:"1.25em"})})}),{definePartsStyle:wa,defineMultiStyleConfig:Sa}=(0,R.YU)(we.keys),ka=(0,R.Vg)("alert-fg"),Ca=(0,R.Vg)("alert-bg");function Ea(e){const{theme:t,colorScheme:n}=e;return{light:`colors.${n}.100`,dark:$t(`${n}.200`,.16)(t)}}var _a=Sa({baseStyle:wa({container:{bg:Ca.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:ka.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:ka.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}}),variants:{subtle:wa((e=>{const{colorScheme:t}=e,n=Ea(e);return{container:{[ka.variable]:`colors.${t}.600`,[Ca.variable]:n.light,_dark:{[ka.variable]:`colors.${t}.200`,[Ca.variable]:n.dark}}}})),"left-accent":wa((e=>{const{colorScheme:t}=e,n=Ea(e);return{container:{[ka.variable]:`colors.${t}.600`,[Ca.variable]:n.light,_dark:{[ka.variable]:`colors.${t}.200`,[Ca.variable]:n.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:ka.reference}}})),"top-accent":wa((e=>{const{colorScheme:t}=e,n=Ea(e);return{container:{[ka.variable]:`colors.${t}.600`,[Ca.variable]:n.light,_dark:{[ka.variable]:`colors.${t}.200`,[Ca.variable]:n.dark},pt:"2",borderTopWidth:"4px",borderTopColor:ka.reference}}})),solid:wa((e=>{const{colorScheme:t}=e;return{container:{[ka.variable]:"colors.white",[Ca.variable]:`colors.${t}.600`,_dark:{[ka.variable]:"colors.gray.900",[Ca.variable]:`colors.${t}.200`},color:ka.reference}}}))},defaultProps:{variant:"subtle",colorScheme:"blue"}}),{definePartsStyle:Pa,defineMultiStyleConfig:ja}=(0,R.YU)(Se.keys),Ta=(0,R.Vg)("avatar-border-color"),Aa=(0,R.Vg)("avatar-bg"),Ra=(0,R.Vg)("avatar-font-size"),Oa=(0,R.Vg)("avatar-size"),za=(0,R.H2)({borderRadius:"full",border:"0.2em solid",borderColor:Ta.reference,[Ta.variable]:"white",_dark:{[Ta.variable]:"colors.gray.800"}}),Da=(0,R.H2)({bg:Aa.reference,fontSize:Ra.reference,width:Oa.reference,height:Oa.reference,lineHeight:"1",[Aa.variable]:"colors.gray.200",_dark:{[Aa.variable]:"colors.whiteAlpha.400"}}),Fa=(0,R.H2)((e=>{const{name:t,theme:n}=e,r=t?Vt({string:t}):"colors.gray.400",o=(e=>t=>"dark"===Nt(e)(t))(r)(n);let i="white";return o||(i="gray.800"),{bg:Aa.reference,fontSize:Ra.reference,color:i,borderColor:Ta.reference,verticalAlign:"top",width:Oa.reference,height:Oa.reference,"&:not([data-loaded])":{[Aa.variable]:r},[Ta.variable]:"colors.white",_dark:{[Ta.variable]:"colors.gray.800"}}})),Ba=(0,R.H2)({fontSize:Ra.reference,lineHeight:"1"});function Ma(e){const t="100%"!==e?ue[e]:void 0;return Pa({container:{[Oa.variable]:null!=t?t:e,[Ra.variable]:`calc(${null!=t?t:e} / 2.5)`},excessLabel:{[Oa.variable]:null!=t?t:e,[Ra.variable]:`calc(${null!=t?t:e} / 2.5)`}})}var La={Accordion:xa,Alert:_a,Avatar:ja({baseStyle:Pa((e=>({badge:er(za,e),excessLabel:er(Da,e),container:er(Fa,e),label:Ba}))),sizes:{"2xs":Ma(4),xs:Ma(6),sm:Ma(8),md:Ma(12),lg:Ma(16),xl:Ma(24),"2xl":Ma(32),full:Ma("100%")},defaultProps:{size:"md"}}),Badge:nn,Breadcrumb:Bi,Button:qi,Checkbox:vr,CloseButton:la,Code:fa,Container:pa,Divider:va,Drawer:gi,Editable:bi,Form:ki,FormError:Pi,FormLabel:Ti,Heading:Oi,Input:Bn,Kbd:eo,Link:no,List:io,Menu:vo,Modal:Ao,NumberInput:Go,PinInput:Xo,Popover:ri,Progress:Jn,Radio:wr,Select:Pr,Skeleton:Rr,SkipLink:Dr,Slider:Ur,Spinner:Kr,Stat:Xr,Switch:pt,Table:wt,Tabs:Zt,Tag:mn,Textarea:$n,Tooltip:Wn,Card:ra,Stepper:ye},Na={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"}}},$a={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"}}},Ia={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},Va={semanticTokens:Na,direction:"ltr",...ce,components:La,styles:$a,config:Ia},Ha={semanticTokens:Na,direction:"ltr",components:{},...ce,styles:$a,config:Ia},Ua=(e,t)=>e.find((e=>e.id===t));function Wa(e,t){const n=qa(e,t);return{position:n,index:n?e[n].findIndex((e=>e.id===t)):-1}}function qa(e,t){for(const[n,r]of Object.entries(e))if(Ua(r,t))return n}function Ga(e){return{position:"fixed",zIndex:"var(--toast-z-index, 5500)",pointerEvents:"none",display:"flex",flexDirection:"column",margin:"top"===e||"bottom"===e?"0 auto":void 0,top:e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,bottom:e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,right:e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",left:e.includes("right")?void 0:"env(safe-area-inset-left, 0px)"}}var Ka=n(92900);var Qa=n(35204);function Ya(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Xa(e)?e(...n):e}var Xa=e=>"function"===typeof e;var Za=n(28917),Ja=n(534),es=n(14550),ts={initial:e=>{const{position:t}=e,n=["top","bottom"].includes(t)?"y":"x";let r=["top-right","bottom-right"].includes(t)?1:-1;return"bottom"===t&&(r=1),{opacity:0,[n]:24*r}},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]}}},ns=(0,e.memo)((t=>{const{id:n,message:r,onCloseComplete:o,onRequestRemove:i,requestClose:a=!1,position:s="bottom",duration:l=5e3,containerStyle:u,motionVariants:c=ts,toastSpacing:d="0.5rem"}=t,[f,h]=(0,e.useState)(l),p=(0,Za.tF)();(0,Qa.w)((()=>{p||null==o||o()}),[p]),(0,Qa.w)((()=>{h(l)}),[l]);const m=()=>{p&&i()};(0,e.useEffect)((()=>{p&&a&&i()}),[p,a,i]),function(t,n){const r=(0,Ka.c)(t);(0,e.useEffect)((()=>{if(null==n)return;let e=null;return e=window.setTimeout((()=>{r()}),n),()=>{e&&window.clearTimeout(e)}}),[n,r])}(m,f);const g=(0,e.useMemo)((()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:d,...u})),[u,d]),v=(0,e.useMemo)((()=>function(e){let t="center";return e.includes("right")&&(t="flex-end"),e.includes("left")&&(t="flex-start"),{display:"flex",flexDirection:"column",alignItems:t}}(s)),[s]);return(0,C.jsx)(Ja.P.div,{layout:!0,className:"chakra-toast",variants:c,initial:"initial",animate:"animate",exit:"exit",onHoverStart:()=>h(null),onHoverEnd:()=>h(l),custom:{position:s},style:v,children:(0,C.jsx)(es.B.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:g,children:Ya(r,{id:n,onClose:m})})})}));ns.displayName="ToastComponent";var rs=n(23226),os=n(73761),is=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")};var as={path:(0,C.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,C.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,C.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,C.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},ss=(0,rs.R)(((e,t)=>{const{as:n,viewBox:r,color:o="currentColor",focusable:i=!1,children:a,className:s,__css:l,...u}=e,c={ref:t,focusable:i,className:is("chakra-icon",s),__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o,...l,...(0,os.Vl)("Icon",e)}},d=null!=r?r:as.viewBox;if(n&&"string"!==typeof n)return(0,C.jsx)(es.B.svg,{as:n,...c,...u});const f=null!=a?a:as.path;return(0,C.jsx)(es.B.svg,{verticalAlign:"middle",viewBox:d,...c,...u,children:f})}));ss.displayName="Icon";function ls(e){return(0,C.jsx)(ss,{viewBox:"0 0 24 24",...e,children:(0,C.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 us=n(67852),cs=n(6116),[ds,fs]=(0,us.q)({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),[hs,ps]=(0,us.q)({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),ms={info:{icon:function(e){return(0,C.jsx)(ss,{viewBox:"0 0 24 24",...e,children:(0,C.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:ls,colorScheme:"orange"},success:{icon:function(e){return(0,C.jsx)(ss,{viewBox:"0 0 24 24",...e,children:(0,C.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:ls,colorScheme:"red"},loading:{icon:cs.y,colorScheme:"blue"}};var gs=(0,rs.R)((function(e,t){var n;const{status:r="info",addRole:o=!0,...i}=(0,R.MN)(e),a=null!=(n=e.colorScheme)?n:function(e){return ms[e].colorScheme}(r),s=(0,os.o5)("Alert",{...e,colorScheme:a}),l={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...s.container};return(0,C.jsx)(ds,{value:{status:r},children:(0,C.jsx)(hs,{value:s,children:(0,C.jsx)(es.B.div,{"data-status":r,role:o?"alert":void 0,ref:t,...i,className:is("chakra-alert",e.className),__css:l})})})}));function vs(e){const{status:t}=fs(),n=function(e){return ms[e].icon}(t),r=ps(),o="loading"===t?r.spinner:r.icon;return(0,C.jsx)(es.B.span,{display:"inherit","data-status":t,...e,className:is("chakra-alert__icon",e.className),__css:o,children:e.children||(0,C.jsx)(n,{h:"100%",w:"100%"})})}gs.displayName="Alert",vs.displayName="AlertIcon";var ys=(0,rs.R)((function(e,t){const n=ps(),{status:r}=fs();return(0,C.jsx)(es.B.div,{ref:t,"data-status":r,...e,className:is("chakra-alert__title",e.className),__css:n.title})}));ys.displayName="AlertTitle";var bs=(0,rs.R)((function(e,t){const n=ps(),{status:r}=fs(),o={display:"inline",...n.description};return(0,C.jsx)(es.B.div,{ref:t,"data-status":r,...e,className:is("chakra-alert__desc",e.className),__css:o})}));bs.displayName="AlertDescription";var xs=n(13008),ws=function(e){let t=e;const n=new Set,r=e=>{t=e(t),n.forEach((e=>e()))};return{getState:()=>t,subscribe:t=>(n.add(t),()=>{r((()=>e)),n.delete(t)}),removeToast:(e,t)=>{r((n=>({...n,[t]:n[t].filter((t=>t.id!=e))})))},notify:(e,t)=>{const n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var n,r;Ss+=1;const o=null!=(n=t.id)?n:Ss,i=null!=(r=t.position)?r:"bottom";return{id:o,message:e,position:i,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>ws.removeToast(String(o),i),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}(e,t),{position:o,id:i}=n;return r((e=>{var t,r;const i=o.includes("top")?[n,...null!=(t=e[o])?t:[]]:[...null!=(r=e[o])?r:[],n];return{...e,[o]:i}})),i},update:(e,t)=>{e&&r((n=>{const r={...n},{position:o,index:i}=Wa(r,e);return o&&-1!==i&&(r[o][i]={...r[o][i],...t,message:Cs(t)}),r}))},closeAll:function(){let{positions:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r((t=>(null!=e?e:["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce(((e,n)=>(e[n]=t[n].map((e=>({...e,requestClose:!0}))),e)),{...t})))},close:e=>{r((t=>{const n=qa(t,e);return n?{...t,[n]:t[n].map((t=>t.id==e?{...t,requestClose:!0}:t))}:t}))},isActive:e=>Boolean(Wa(ws.getState(),e).position)}}({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]});var Ss=0;var ks=e=>{const{status:t,variant:n="solid",id:r,title:o,isClosable:i,onClose:a,description:s,colorScheme:l,icon:u}=e,c=r?{root:`toast-${r}`,title:`toast-${r}-title`,description:`toast-${r}-description`}:void 0;return(0,C.jsxs)(gs,{addRole:!1,status:t,variant:n,id:null==c?void 0:c.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:l,children:[(0,C.jsx)(vs,{children:u}),(0,C.jsxs)(es.B.div,{flex:"1",maxWidth:"100%",children:[o&&(0,C.jsx)(ys,{id:null==c?void 0:c.title,children:o}),s&&(0,C.jsx)(bs,{id:null==c?void 0:c.description,display:"block",children:s})]}),i&&(0,C.jsx)(xs.J,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1})]})};function Cs(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{render:t,toastComponent:n=ks}=e;return r=>"function"===typeof t?t({...r,...e}):(0,C.jsx)(n,{...r,...e})}var Es=n(23546),_s=n(71635),[Ps,js]=(0,us.q)({name:"ToastOptionsContext",strict:!1}),Ts=t=>{const n=(0,e.useSyncExternalStore)(ws.subscribe,ws.getState,ws.getState),{motionVariants:r,component:o=ns,portalProps:i}=t,a=Object.keys(n).map((e=>{const t=n[e];return(0,C.jsx)("div",{role:"region","aria-live":"polite","aria-label":`Notifications-${e}`,id:`chakra-toast-manager-${e}`,style:Ga(e),children:(0,C.jsx)(Es.N,{initial:!1,children:t.map((e=>(0,C.jsx)(o,{motionVariants:r,...e},e.id)))})},e)}));return(0,C.jsx)(_s.Z,{...i,children:a})},As=e=>function(t){let{children:n,theme:r=e,toastOptions:o,...i}=t;return(0,C.jsxs)(Z,{theme:r,...i,children:[(0,C.jsx)(Ps,{value:null==o?void 0:o.defaultOptions,children:n}),(0,C.jsx)(Ts,{...o})]})},Rs=As(Va),Os=(As(Ha),n(93862)),zs=n(80281),Ds=n(56467),Fs=n(41918),Bs=n(36336),Ms=n(85522),Ls=n(79036),Ns=n(3952),$s=n(38700),Is=n(26663),Vs=n(54182),Hs=n(36505);function Us(t){var n,r;const{setOpen:o,viewBack:i,setSMV:a,setActive:s,setMenuGroup:l}=t,[u,c]=(0,e.useState)();return(0,e.useEffect)((()=>{!async function(){const e=await Os.A.getAllEntries("utility_nav");c(e)}()}),[]),(0,C.jsx)(Fs.s,{align:"center",justify:"space-between",w:{base:"102%",lg:"80%"},mx:"auto",px:{base:"42px"},children:(0,C.jsxs)(Fs.s,{w:"100%",h:"24px",gap:"1rem",justify:{base:"center",md:"end"},children:[null===u||void 0===u||null===(n=u.utility_links)||void 0===n?void 0:n.map(((e,t)=>{var n,r,u;return(0,C.jsx)(Ms.az,{fontSize:{base:".875rem"},lineHeight:{base:"1.192rem"},fontWeight:"400",onClick:()=>{o(!1),i(!1),a(!1),s(!1),l(!0)},children:(null===(n=e.link)||void 0===n?void 0:n.title)&&(0,C.jsx)($s.N,{href:null===(r=e.link)||void 0===r?void 0:r.href,target:e.new_window?"_blank":"_self",children:null===(u=e.link)||void 0===u?void 0:u.title})},t)})),(0,C.jsx)(Ms.az,{borderLeft:"solid 1px",borderColor:"inherit",pl:"19px",children:(0,C.jsx)($s.N,{href:null===u||void 0===u||null===(r=u.search_link)||void 0===r?void 0:r.url_path,"aria-label":"Click to go to the search page",children:(0,C.jsx)(Hs.A,{faIcon:"fa-magnifying-glass",color:"inherit"})})})]})})}var Ws=n(3993);function qs(e){var t;const{data:n}=e,r=(0,Ws.D)();return(0,C.jsx)(Ms.az,{bg:r.colors.Grey4,maxW:{lg:"324px"},children:(0,C.jsx)(Fs.s,{direction:{base:"column",md:"row",lg:"column"},height:"100%",children:null===n||void 0===n||null===(t=n.promo_content)||void 0===t?void 0:t.map(((e,t)=>{var o,i,a,s,l,u,c,d;return(0,C.jsx)(Fs.s,{flexGrow:1,justify:"center",my:{base:"initial",md:"20px",lg:"initial"},mx:{base:"20px",md:"initial",lg:"20px"},py:{base:"20px",md:"initial",lg:"20px"},px:"40px",borderRight:2===(null===n||void 0===n||null===(o=n.promo_content)||void 0===o?void 0:o.length)&&0===t?{md:`1px solid ${r.colors.Grey3}`,lg:"none"}:"none",borderBottom:2===(null===n||void 0===n||null===(i=n.promo_content)||void 0===i?void 0:i.length)&&0===t?{base:`1px solid ${r.colors.Grey3}`,md:"none",lg:`1px solid ${r.colors.Grey3}`}:"none",children:(0,C.jsxs)(Fs.s,{direction:"column",textAlign:"center",gap:"1rem",my:"10px",children:[(0,C.jsx)(Ms.az,{maxH:2===(null===n||void 0===n||null===(a=n.promo_content)||void 0===a?void 0:a.length)?115:170,children:(0,C.jsx)(Is._,{src:`${null===(s=e.image)||void 0===s?void 0:s.url}?height=${2===(null===n||void 0===n||null===(l=n.promo_content)||void 0===l?void 0:l.length)?115:170}`,alt:e.image_alt,loading:"lazy",mx:"auto"})}),(0,C.jsx)($s.N,{href:null===(u=e.title)||void 0===u?void 0:u.href,fontWeight:"700",fontSize:"1.125rem",lineHeight:"1.532rem",children:(0,C.jsx)(Ns.E,{noOfLines:3,children:null===(c=e.title)||void 0===c?void 0:c.title})}),1===(null===n||void 0===n||null===(d=n.promo_content)||void 0===d?void 0:d.length)&&(0,C.jsx)(C.Fragment,{children:(0,C.jsx)(Ns.E,{fontWeight:"400",fontSize:".75rem",lineHeight:"1rem",borderTop:`1px solid ${r.colors.Grey3}`,p:"1rem",noOfLines:5,children:e.description})})]})},t)}))})})}var Gs=n(19482);function Ks(e){var t,n,r,o,i;const{data:a,setActive:s,setMenu:l}=e,u=(0,Ws.D)();return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Ms.az,{bg:u.colors.Grey4,borderBottom:`1px solid ${u.colors.Grey5}`,children:null!==a&&void 0!==a&&a.title_link.href?(0,C.jsx)(Ms.az,{mx:"2%",my:"16px",children:(0,C.jsx)($s.N,{href:null===a||void 0===a||null===(t=a.title_link)||void 0===t?void 0:t.href,fontWeight:"700",fontSize:"1.375rem",lineHeight:"1.873rem",color:"DarkGreen",children:(null===a||void 0===a||null===(n=a.title_link)||void 0===n?void 0:n.title)||(null===a||void 0===a?void 0:a.title)})}):(0,C.jsx)(Ns.E,{fontWeight:"700",fontSize:"1.375rem",lineHeight:"1.873rem",color:"DarkGreen",mx:"2%",my:"16px",children:(null===a||void 0===a?void 0:a.title)||(null===a||void 0===a||null===(r=a.title_link)||void 0===r?void 0:r.title)})}),(0,C.jsxs)(Fs.s,{bg:"#FBFBFB",maxW:"100%",w:25*(null===a||void 0===a||null===(o=a.link_columns)||void 0===o?void 0:o.length)+20+"%",children:[null===a||void 0===a||null===(i=a.link_columns)||void 0===i?void 0:i.map(((e,t)=>{var n,r,o,i,c;return(0,C.jsxs)(Fs.s,{flex:1,minW:"20%",direction:"column",gap:"50px",borderRight:t<(null===a||void 0===a||null===(n=a.link_columns)||void 0===n?void 0:n.length)-1?`1px solid ${u.colors.Grey3}`:"none",my:"40px",children:[null===(r=e.link_section)||void 0===r?void 0:r.map(((e,t)=>{var n,r,o,i;return(0,C.jsx)(Fs.s,{children:(0,C.jsxs)(Fs.s,{direction:"column",gap:"16px",mx:"10%",children:[null!==(n=e.section_title_link)&&void 0!==n&&n.href?(0,C.jsx)($s.N,{href:null===(r=e.section_title_link)||void 0===r?void 0:r.href,fontWeight:"700",fontSize:"1rem",lineHeight:"1.36rem",children:(null===(o=e.section_title_link)||void 0===o?void 0:o.title)||e.section_title||""}):e.section_title?(0,C.jsx)(Ns.E,{fontWeight:"700",fontSize:"1rem",lineHeight:"1.36rem",children:e.section_title}):"",null===(i=e.link)||void 0===i?void 0:i.map(((e,t)=>(0,C.jsx)($s.N,{href:e.href,onClick:()=>{s(!1),l()},fontSize:"1rem",lineHeight:"1.363rem",fontWeight:"400",children:(0,C.jsx)(Ns.E,{children:e.title})},t)))]})},t)})),(null===(o=e.view_all_link)||void 0===o?void 0:o.href)&&(0,C.jsxs)(Fs.s,{gap:"16px",align:"center",fontFamily:"Lato",fontSize:".75rem",lineHeight:".9rem",fontWeight:"700",children:[(0,C.jsx)($s.N,{href:null===(i=e.view_all_link)||void 0===i?void 0:i.href,ml:"10%",children:null===(c=e.view_all_link)||void 0===c?void 0:c.title}),(0,C.jsx)(Gs.A,{})]})]},t)})),(null===a||void 0===a?void 0:a.menu_promo[0])&&(0,C.jsx)(qs,{data:null===a||void 0===a?void 0:a.menu_promo[0]})]})]})}function Qs(e){const t=(0,Ws.D)();return(0,C.jsx)(Fs.s,{direction:"column",position:"absolute",top:"100%",left:"0",w:"100%",zIndex:1e8,color:t.colors.Black,children:(0,C.jsx)(Vs.w,{above:"lg",children:(0,C.jsx)(Ks,{...e})})})}var Ys=n(99404),Xs=n(98151),Zs=n(67918),Js=n(39627),el=n(89673);function tl(e){var t,n,r,o;const{smd:i,setOpen:a,defOpen:s,viewBack:l,setSMV:u,setMenuGroup:c}=e,d=(0,Ws.D)();return(0,C.jsxs)(Ms.az,{borderRadius:"none",w:"100%",position:"absolute",top:"100%",bg:d.colors.Grey5,zIndex:1e4,color:d.colors.Black,children:[(0,C.jsx)(Ms.az,{color:"DarkGreen",my:"20px",px:"16px",onClick:()=>{a(!s)},children:null!==(t=i.title_link)&&void 0!==t&&t.href?(0,C.jsx)(Ms.az,{as:$s.N,href:null===(n=i.title_link)||void 0===n?void 0:n.href,fontWeight:"700",fontSize:"1.25rem",lineHeight:"1.7rem",children:(null===(r=i.title_link)||void 0===r?void 0:r.title)||i.title}):(0,C.jsx)(Ms.az,{fontWeight:"700",fontSize:"1.25rem",lineHeight:"1.7rem",px:"16px",children:i.title})}),(0,C.jsx)(el.c,{}),null===(o=i.link_columns)||void 0===o?void 0:o.map(((e,t)=>{var n;return(0,C.jsx)(Ms.az,{px:"16px",children:(0,C.jsx)(Ms.az,{children:null===(n=e.link_section)||void 0===n?void 0:n.map(((t,n)=>{var r,o,i,s,d,f;return(0,C.jsxs)(Ms.az,{children:[(0,C.jsx)(Ms.az,{my:"30px",children:(0,C.jsxs)(Fs.s,{direction:"column",gap:"1rem",children:[null!==(r=t.section_title_link)&&void 0!==r&&r.href?(0,C.jsx)($s.N,{to:null===(o=t.section_title_link)||void 0===o?void 0:o.href,fontWeight:"700",fontSize:"1.125rem",lineHeight:"1.531rem",onClick:()=>{a(!1),l(!1),u(!1),c(!0)},children:null===(i=t.section_title_link)||void 0===i?void 0:i.title}):(0,C.jsx)(Ms.az,{fontWeight:"700",fontSize:"1.125rem",lineHeight:"1.531rem",children:(null===(s=t.section_title_link)||void 0===s?void 0:s.title)||t.section_title||""}),null===(d=t.link)||void 0===d?void 0:d.map(((e,t)=>(0,C.jsx)(Ms.az,{fontWeight:"400",fontSize:"1rem",lineHeight:"1.363rem",onClick:()=>{a(!1),l(!1),u(!1),c(!0)},children:(0,C.jsx)($s.N,{href:e.href,children:e.title})},t))),(null===(f=e.view_all_link)||void 0===f?void 0:f.href)&&(0,C.jsxs)(Fs.s,{gap:"1rem",align:"center",children:[(0,C.jsx)($s.N,{href:e.view_all_link.href,fontFamily:"Lato",fontWeight:"400",children:e.view_all_link.title}),(0,C.jsx)(Ms.az,{className:"fa-solid fa-arrow-right-long"})]})]})},n),(0,C.jsx)(el.c,{})]},n)}))})},t)})),(0,C.jsx)(qs,{data:i.menu_promo[0]})]})}function nl(e){var t,n,r,o,i,a;const{data:s,store:l,hideStore:u}=e;return(0,C.jsxs)(Fs.s,{align:"center",flex:1,justifyContent:l?"center":"end",pr:l?"":{base:"16px",lg:"initial"},gap:"1rem",color:"ContrastGreen",children:[(0,C.jsxs)(Fs.s,{align:"center",color:"ContrastGreen",fontSize:"1rem",fontWeight:"600",children:[!u&&(0,C.jsx)(Bs.L,{below:"md",children:(0,C.jsx)($s.N,{href:null===s||void 0===s||null===(t=s.store_link)||void 0===t?void 0:t.href,children:null===s||void 0===s||null===(n=s.store_link)||void 0===n?void 0:n.title})}),l&&(0,C.jsx)(Bs.L,{above:"sm",children:(0,C.jsx)($s.N,{href:null===s||void 0===s||null===(r=s.store_link)||void 0===r?void 0:r.href,children:null===s||void 0===s||null===(o=s.store_link)||void 0===o?void 0:o.title})})]}),(0,C.jsx)(Ls.$,{as:$s.N,size:"md",variant:"secondary",href:null===s||void 0===s||null===(i=s.login)||void 0===i?void 0:i.href,border:"1.5px solid",borderRadius:"40px",color:"ContrastGreen",bgColor:"inherit",children:null===s||void 0===s||null===(a=s.login)||void 0===a?void 0:a.title})]})}var rl=n(5452);function ol(e){var t,n;const{data:r,height:o,setOpen:i,defOpen:a,setActive:s,viewBack:l,setSMV:u,setMenuGroup:c,setSMD:d,buttonData:f}=e,h=(0,Ws.D)();return rl.A.log("ButtonData: ",f),(0,C.jsxs)(Fs.s,{direction:"column",position:"absolute",top:"100%",bg:h.colors.Grey5,borderRadius:"none",m:0,minW:"100%",minH:o-104,zIndex:1e5,children:[(0,C.jsx)(Bs.L,{above:"md",children:(0,C.jsx)(Fs.s,{borderBottom:`1px solid ${h.colors.Grey3}`,py:"20px",w:"100%",color:"black",children:(0,C.jsx)(Us,{color:"black",setOpen:i,defOpen:a,setActive:s,viewBack:l,setSMV:u,setMenuGroup:c})})}),null===r||void 0===r?void 0:r.map(((e,t)=>{var n,r,o,s,f;return(0,C.jsx)(Ms.az,{w:"100%",color:h.colors.Grey1,_hover:{color:"DarkGreen"},_focus:{color:"DarkGreen"},_active:{color:"DarkGreen"},children:e.menu?(0,C.jsx)(Fs.s,{onClick:()=>{u(!0),d(e.menu.menu[0]),l(!0)},px:"30px",borderBottom:`1px solid ${h.colors.Grey3}`,borderTop:0===t?`1px solid ${h.colors.Grey3}`:"none",children:(0,C.jsxs)(Fs.s,{w:"100%",justify:"space-between",fontWeight:"700",fontSize:"1.25rem",lineHeight:"1.7rem",my:"20px",_hover:{color:"DarkGreen"},children:[(0,C.jsx)(Ns.E,{color:"black",_hover:{color:"DarkGreen",textDecoration:"underline"},_focus:{color:"DarkGreen",textDecoration:"underline"},_active:{color:"DarkGreen",textDecoration:"underline"},children:null===(n=e.menu.menu[0])||void 0===n?void 0:n.title}),(0,C.jsx)(Gs.A,{_hover:{textDecor:"none"},_active:{textDecor:"none"},_focus:{textDecor:"none"}})]})}):(0,C.jsx)(Fs.s,{onClick:()=>i(!a),px:"30px",borderBottom:h.colors.Grey1,children:(0,C.jsxs)(Fs.s,{w:"100%",justify:"space-between",fontWeight:"700",fontSize:"1.25rem",lineHeight:"1.7rem",my:"20px",_hover:{color:"DarkGreen"},children:[(0,C.jsx)(Ns.E,{as:$s.N,href:null===(r=e.link)||void 0===r||null===(o=r.link)||void 0===o?void 0:o.href,color:"black",onClick:()=>{i(!1),l(!1),u(!1),c(!0)},_hover:{color:"DarkGreen",textDecoration:"underline"},_focus:{color:"DarkGreen",textDecoration:"underline"},_active:{color:"DarkGreen",textDecoration:"underline"},children:null===(s=e.link)||void 0===s||null===(f=s.link)||void 0===f?void 0:f.title}),(0,C.jsx)(Gs.A,{_hover:{textDecor:"none"},_active:{textDecor:"none"},_focus:{textDecor:"none"}})]})})},t)})),(0,C.jsx)(Fs.s,{onClick:()=>i(!a),px:"30px",borderBottom:`1px solid ${h.colors.Grey3}`,color:h.colors.Grey1,children:(0,C.jsxs)(Fs.s,{w:"100%",justify:"space-between",fontWeight:"700",fontSize:"1.25rem",lineHeight:"1.7rem",my:"20px",_hover:{color:"DarkGreen"},children:[(0,C.jsx)(Ns.E,{as:$s.N,href:null===f||void 0===f||null===(t=f.store_link)||void 0===t?void 0:t.href,color:"black",onClick:()=>{i(!1),l(!1),u(!1),c(!0)},_hover:{color:"DarkGreen",textDecoration:"underline"},_focus:{color:"DarkGreen",textDecoration:"underline"},_active:{color:"DarkGreen",textDecoration:"underline"},children:null===f||void 0===f||null===(n=f.store_link)||void 0===n?void 0:n.title}),(0,C.jsx)(Gs.A,{_hover:{textDecor:"none"},_active:{textDecor:"none"},_focus:{textDecor:"none"}})]})}),(0,C.jsx)(Fs.s,{alignSelf:"stretch",flexGrow:2}),(0,C.jsx)(Fs.s,{py:"48px",borderTop:`1px solid ${h.colors.Grey3}`,children:(0,C.jsx)(nl,{data:f,store:!0,hideStore:!0})})]})}function il(t){const{data:n,setOpen:r,icon:o,defOpen:i,direction:a,viewBack:s,smv:l,setSMV:u,setMenuGroup:c}=t,[d,f]=(0,e.useState)(),[h,p]=(0,e.useState)();function m(){var e;p(null===(e=window)||void 0===e?void 0:e.innerHeight)}return(0,e.useLayoutEffect)((()=>{m()}),[]),window.addEventListener("resize",m),(0,C.jsx)(Xs.W,{defaultIsOpen:i,direction:a,onClose:()=>{r(!1),s(!1),u(!1),c(!0)},onOpen:()=>{c(!1)},eventListeners:{resize:!0},isLazy:!0,closeOnBlur:!1,children:e=>{let{isOpen:a}=e;return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(Zs.I,{as:Js.K,size:"lg",icon:o,variant:"outline",color:"inherit",border:"none",onClick:()=>{r(!i)}}),a&&!l&&(0,C.jsx)(ol,{data:n,...t,setSMD:f,height:h}),a&&l&&d&&(0,C.jsx)(tl,{...t,smd:d})]})}})}var al=n(66688);function sl(e){return(0,al.k5)({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z"}}]})(e)}function ll(e){return(0,al.k5)({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z"}}]})(e)}var ul=n(47657);function cl(t){var n,r,o,i,a,s,l;const{setActive:u,setMenu:c,active:d,menu:f}=t,[h,p]=(0,e.useState)(),[m,g]=(0,e.useState)(),[v,y]=(0,e.useState)(!1),[b,x]=(0,e.useState)(!0),[w,k]=(0,e.useState)(!1);let{l:E}=(0,S.g)();E=(0,Ys.A)(E);const _=()=>{x(!0)};return(0,e.useEffect)((()=>{!async function(e){const t=await Os.A.getAllEntriesWithRef("main_nav","megamenu.pages.menu.menu.menu_promo",e);p(t[0])}(E)}),[E]),(0,e.useLayoutEffect)((()=>{_()}),[]),window.addEventListener("resize",_),(0,C.jsxs)(Fs.s,{mx:"auto",direction:"column",justify:"center",h:"104px",gap:"17%",bg:"inherit",color:"inherit",children:[(0,C.jsx)(Bs.L,{below:"md",children:(0,C.jsx)(Ms.az,{borderBottom:"1px solid #F5F5F5",py:"18px",children:(0,C.jsx)(Us,{setOpen:g,defOpen:m,setActive:u,viewBack:y,setSMV:k,setMenuGroup:x,onMouseOver:()=>u(!1),...t})})}),(0,C.jsxs)(Fs.s,{children:[!m&&(0,C.jsx)(Bs.L,{above:"lg",children:(0,C.jsx)(Fs.s,{flex:1,children:(0,C.jsx)(il,{data:null===h||void 0===h||null===(n=h.megamenu[0])||void 0===n?void 0:n.pages,open:m,setOpen:g,icon:(0,C.jsx)(sl,{}),defOpen:!1,direction:"ltr",back:v,viewBack:y,smv:w,setSMV:k,menuGroup:b,setMenuGroup:x,setActive:u,...t})})}),v&&(0,C.jsx)(Bs.L,{above:"lg",children:(0,C.jsx)(Fs.s,{flex:1,children:(0,C.jsx)(Ls.$,{onClick:e=>{e.preventDefault(),k(!1),y(!1)},bg:"inherit",color:"inherit",border:"none",size:"md",children:(0,C.jsxs)(Fs.s,{gap:".5rem",align:"center",children:[(0,C.jsx)(ul.A,{}),(0,C.jsx)(Ns.E,{children:"Back"})]})})})}),m&&!v&&(0,C.jsx)(Fs.s,{flex:1}),(0,C.jsx)(Fs.s,{flex:{base:1,lg:2},justifyContent:{base:"center",lg:"start"},children:(0,C.jsx)($s.N,{href:"/",children:(0,C.jsx)(Is._,{src:null===h||void 0===h||null===(r=h.logo)||void 0===r||null===(o=r.image)||void 0===o?void 0:o.url,alt:null===h||void 0===h||null===(i=h.logo)||void 0===i?void 0:i.alt_text,h:"39",mx:{lg:"16px"}})})}),(0,C.jsx)(Bs.L,{below:"lg",children:(0,C.jsxs)(Fs.s,{flexGrow:3,justifyContent:"center",bg:"inherit",h:"117%",onMouseLeave:()=>u(!1),children:[(0,C.jsx)(Fs.s,{flex:1,justify:"center",fontSize:"16px",fontWeight:"500",children:null===h||void 0===h||null===(a=h.megamenu[0])||void 0===a||null===(s=a.pages)||void 0===s?void 0:s.map(((e,t)=>{var n,r,o,i,a;return(0,C.jsxs)(Ms.az,{mx:"1%",children:[e.menu&&(0,C.jsx)(Ls.$,{as:$s.N,href:null===(n=e.menu.menu[0])||void 0===n||null===(r=n.title_link)||void 0===r?void 0:r.href,px:0,size:"md",bg:"inherit",color:"inherit",_hover:{textDecor:"underline"},onClick:()=>{f?e.menu.menu[0]==f?u(!d):!1===d&&u(!0):u(!d),c(e.menu.menu[0])},onMouseOver:()=>{u(!0),c(e.menu.menu[0])},h:"150%",children:null===(o=e.menu.menu[0])||void 0===o?void 0:o.title}),e.link&&(0,C.jsx)(Ls.$,{px:0,size:"md",border:"none",as:$s.N,href:null===(i=e.link.link)||void 0===i?void 0:i.href,onClick:()=>{u(!1),c()},bg:"inherit",color:"inherit",_hover:{textDecor:"underline"},children:null===(a=e.link.link)||void 0===a?void 0:a.title},t)]},t)}))}),d&&(0,C.jsx)(Qs,{data:f,setActive:u,setMenu:c})]})}),(0,C.jsx)(Vs.w,{above:"lg",children:(0,C.jsx)(Fs.s,{flex:2,justifyContent:"end",mx:{lg:"16px"},children:(0,C.jsx)(nl,{data:h})})}),b&&(0,C.jsx)(Vs.w,{below:"lg",children:(0,C.jsx)(Fs.s,{flex:1,justifyContent:"end",children:(0,C.jsx)(nl,{data:h})})}),m&&(0,C.jsx)(Bs.L,{above:"lg",children:(0,C.jsx)(Fs.s,{flex:1,justifyContent:"end",children:(0,C.jsx)(il,{data:null===h||void 0===h||null===(l=h.megamenu[0])||void 0===l?void 0:l.pages,open:m,setOpen:g,icon:(0,C.jsx)(ll,{}),defOpen:!0,direction:"rtl",back:v,viewBack:y,smv:w,setSMV:k,menuGroup:b,setMenuGroup:x,buttonData:h,setActive:u})})})]})]})}function dl(){const[t,n]=(0,e.useState)(),[r,o]=(0,e.useState)(!1),i=window.location.pathname,a="/"==i||"/home"==i,s=(0,Ws.D)();return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(es.B.header,{id:"header",background:!0===a?{base:s.colors.Black,md:s.colors.Black}:s.colors.White,color:!0===a?{base:s.colors.Black,md:s.colors.White}:s.colors.Black,w:"100%",py:"1.5%",position:"relative",children:(0,C.jsx)(cl,{active:r,setActive:o,setMenu:n,menu:t})}),(0,C.jsx)(S.sv,{})]})}const fl=e.memo(dl);var hl=n(13637),pl=(0,es.B)("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});pl.displayName="Spacer";var ml=n(94202),gl=n(14377),vl=n(94552);function yl(){var t,n,r,o,i,a,s,l,u,c,d;const{l:f}=(0,S.g)(),[h,p]=(0,e.useState)(),m=(0,Ws.D)();return(0,e.useEffect)((()=>{!async function(e){const t=await Os.A.getAllEntriesWithRef("main_footer","social_media",e);p(t[0])}(f)}),[f]),(0,C.jsx)(Ms.az,{children:h?(0,C.jsxs)(hl.m,{maxW:"8xl",justify:{base:"center",md:"space-between"},align:{base:"center",md:"center"},borderBottom:`1px solid ${m.colors.Black}`,flexWrap:"wrap",spacing:4,children:[(0,C.jsx)(Ms.az,{padding:"5px",justifyContent:"start",children:(0,C.jsx)($s.N,{href:"/",children:(0,C.jsx)(Is._,{alignSelf:"start",height:10,width:20,src:null===(t=h.logo)||void 0===t?void 0:t.url,alt:h.logo_alt_text})})}),(0,C.jsx)(pl,{}),(0,C.jsxs)(Ms.az,{as:ml.B,py:4,direction:{base:"column",md:"row"},spacing:6,justify:{base:"center",md:"space-between"},align:{base:"center",md:"start"},children:[(0,C.jsxs)(Ms.az,{as:Fs.s,alignContent:"flex-start",flexFlow:"column wrap",textAlign:"start",gap:5,maxW:{base:"100%",md:"38%"},pl:{base:"0",md:"5px"},pr:{base:"0",md:"5px"},children:[(0,C.jsxs)(Fs.s,{alignContent:"flex-start",flexFlow:"column wrap",textAlign:"start",gap:5,children:[(0,C.jsx)(gl.D,{fontSize:{lg:"24px",md:"16px",sm:"24px"},fontWeight:"700",children:null===(n=h.about_section)||void 0===n?void 0:n.title}),(0,C.jsx)(Ns.E,{fontSize:{lg:"16px",base:"14px"},fontWeight:"400",lineHeight:{lg:"22px",md:"25px",base:"21px"},color:m.colors.White,opacity:"0.8",children:null===(r=h.about_section)||void 0===r?void 0:r.about_description_multi})]}),(0,C.jsx)(Fs.s,{alignContent:"flex-start",alignItems:"start",justify:{base:"space-between",md:"space-between"},align:{base:"start",md:"start"},children:null===(o=h.social_media[0])||void 0===o||null===(i=o.social_link)||void 0===i?void 0:i.map(((e,t)=>{var n;return(0,C.jsx)(Ms.az,{as:"button",m:"2",w:10,h:10,border:"grey solid 2px",borderRadius:"50%",alignItems:"center",justifyContent:"center","aria-label":"Button to social media",children:(0,C.jsx)($s.N,{target:"_blank",href:null===(n=e.link)||void 0===n?void 0:n.href,"aria-label":`Follow us on ${e.fa_icon}`,children:(0,C.jsx)(Ms.az,{className:`fa-brands fa-${e.fa_icon.toLowerCase()} fa-lg`,color:m.colors.White})})},t)}))}),(0,C.jsx)(Ms.az,{children:(0,C.jsx)(vl.x,{templateColumns:"repeat(2, 1fr)",justifyItems:"start",children:null===(a=h.about_links)||void 0===a||null===(s=a.about_link)||void 0===s?void 0:s.map(((e,t)=>(0,C.jsx)(Ms.az,{paddingTop:"10px",paddingBottom:"10px",children:(0,C.jsx)($s.N,{fontSize:"sm",style:{textDecoration:"underline"},href:e.href,children:e.title})},t)))})})]}),(0,C.jsxs)(Ms.az,{as:Fs.s,alignContent:"flex-start",flexFlow:"column wrap",textAlign:"start",gap:5,maxW:{base:"100%",md:"38%"},children:[(0,C.jsx)(gl.D,{justifyContent:"left",fontSize:{lg:"24px",md:"16px",sm:"24px"},fontWeight:"700",spacing:4,children:null===(l=h.become_a_member_section)||void 0===l?void 0:l.title}),(0,C.jsx)(Ns.E,{fontSize:{lg:"16px",base:"14px"},fontWeight:"400",lineHeight:{lg:"22px",md:"25px",base:"21px"},color:"#FFFFFF",opacity:"0.8",children:null===(u=h.become_a_member_section)||void 0===u?void 0:u.bam_description}),(0,C.jsx)(Ms.az,{alignSelf:{base:"center",md:"start"},as:"button",textColor:"White",border:"2px",borderRadius:"25px",borderColor:"White",paddingY:"8px",paddingX:"24px",minW:{base:"100%",md:"20%"},children:(0,C.jsx)($s.N,{fontWeight:"600",fontSize:"16px",lineHeight:"20px",href:null===(c=h.become_a_member_section)||void 0===c?void 0:c.url_path,children:null===(d=h.become_a_member_section)||void 0===d?void 0:d.button_title})})]})]})]}):""})}function bl(){var t,n,r,o;const{l:i}=(0,S.g)(),[a,s]=(0,e.useState)(),l=(0,Ws.D)();return(0,e.useEffect)((()=>{!async function(e){const t=await Os.A.getAllEntries("utility_footer",e);s(t[0])}(i)}),[i]),(0,C.jsx)(Ms.az,{children:a?(0,C.jsxs)(hl.m,{as:ml.B,maxW:"8xl",py:4,direction:{base:"column-reverse",md:"row"},spacing:4,justifyContent:"space-between",children:[(0,C.jsxs)(ml.B,{maxW:{base:"100%",md:"45%"},spacing:6,textAlign:{md:"start",base:"center"},children:[(0,C.jsx)(Ns.E,{fontSize:{lg:"16px",base:"14px"},fontWeight:"400",lineHeight:{lg:"22px",md:"25px",base:"21px"},color:"#FFFFFF",opacity:"0.8",children:null===(t=a.legal_terms_section)||void 0===t?void 0:t.copyright_text}),(0,C.jsx)(Ns.E,{fontSize:{lg:"16px",base:"14px"},fontWeight:"400",lineHeight:{lg:"22px",md:"25px",base:"21px"},color:l.colors.White,opacity:"0.8",children:null===(n=a.legal_terms_section)||void 0===n?void 0:n.address_text})]}),(0,C.jsxs)(vl.x,{maxW:{base:"100%",md:"45%"},align:{base:"start",md:"center"},templateColumns:{base:"repeat(2, 1fr)",md:"1fr 1fr 1fr 1fr"},gap:6,textAlign:{base:"start",md:"start"},children:[null===(r=a.legal_links_section)||void 0===r||null===(o=r.legal_link)||void 0===o?void 0:o.map(((e,t)=>(0,C.jsx)(Ms.az,{children:(0,C.jsx)($s.N,{fontSize:{lg:"16px",md:"12px",sm:"14px"},fontWeight:{md:"400",sm:"400"},style:{textDecoration:"underline"},href:e.href,children:e.title})},t))),(0,C.jsx)("div",{fontSize:{lg:"16px",md:"12px",sm:"14px"},fontWeight:{md:"400",sm:"400"},style:{textDecoration:"underline",cursor:"pointer"},className:"ot-sdk-show-settings",children:"Manage Cookies"})]})]}):""})}function xl(){const e=(0,Ws.D)();return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsxs)(es.B.footer,{bgColor:e.colors.Black,textColor:e.colors.White,paddingTop:2,children:[(0,C.jsx)(yl,{}),(0,C.jsx)(bl,{})]}),(0,C.jsx)(S.sv,{})]})}const wl=e.memo(xl),Sl=t=>{const n=(0,S.zy)();return(0,e.useEffect)((()=>{n.hash||window.scrollTo(0,0)}),[n]),(0,C.jsx)(C.Fragment,{children:t.children})};var kl=n(30395);const Cl=()=>((0,e.useEffect)((()=>{const e=document.createComment("Google Tag Manager (noscript)"),t=document.createComment("End Google Tag Manager (noscript)"),n=document.createElement("noscript"),r=document.createElement("iframe");r.src="https://www.googletagmanager.com/ns.html?id=GTM-M79VV6",r.height="0",r.width="0",r.style.display="none",r.style.visibility="hidden",n.appendChild(r),document.body.insertBefore(t,document.body.firstChild),document.body.insertBefore(n,document.body.firstChild),document.body.insertBefore(e,document.body.firstChild)}),[]),null),El=()=>((0,e.useEffect)((()=>{!function(e,t,n,r,o){e[r]=e[r]||[],e[r].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var i=t.createElement("script");i.async=!0,i.src="https://www.googletagmanager.com/gtm.js?id="+o;var a=t.head.firstChild;t.head.insertBefore(i,a)}(window,document,0,"dataLayer","GTM-M79VV6")}),[]),null);var _l=n(81586);const Pl=()=>(0,C.jsx)(k.mL,{styles:"\n /* latin */\n @font-face {\n font-family: 'Lato';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url('./assets/font/Lato/Lato-Regular.ttf');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n }\n /* latin */\n @font-face {\n font-family: 'Open Sans';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url('./assets/font/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf') ;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n }\n "});var jl=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function Tl(e){return!!function(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}(e)&&jl.every((t=>Object.prototype.hasOwnProperty.call(e,t)))}var Al=n(39611);function Rl(e){return"function"===typeof e}var Ol=e=>function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];let o=[...n],i=n[n.length-1];return Tl(i)&&o.length>1?o=o.slice(0,o.length-1):i=e,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>t.reduce(((e,t)=>t(e)),e)}(...o.map((e=>t=>Rl(e)?e(t):function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Al({},...t,Dl)}(t,e))))(i)},zl=Ol(Va);Ol(Ha);function Dl(e,t,n,r){if((Rl(e)||Rl(t))&&Object.prototype.hasOwnProperty.call(r,n))return function(){const n=Rl(e)?e(...arguments):e,r=Rl(t)?t(...arguments):t;return Al({},n,r,Dl)}}const Fl=zl({fonts:{heading:"'Lato', sans-serif",body:"'Open Sans', sans-serif"},colors:{Green190:"#11170D",Green170:"#25391A",Green150:"#38602D",Green130:"#48843B",Green100:"#71BF4B",Green70:"#99CC69",Green50:"#B6D994",Green30:"#D3E8BE",Green10:"#F1F7EA",Blue190:"#080C1E",Blue170:"#12284B",Blue150:"#2A3D97",Blue130:"#1658A5",Blue100:"#0078B7",Blue70:"#05B4D7",Blue50:"#97D8E9",Blue30:"#CCEBF3",Blue10:"#E6F8FB",Purple190:"#200515",Purple170:"#31081F",Purple150:"#510D34",Purple130:"#7D194D",Purple100:"#9C1F60",Purple70:"#BA6290",Purple50:"#CE9EB3",Purple30:"#E3CAD4",Purple10:"#F5E9EF",Red190:"#2D0608",Red170:"#5B0C0F",Red150:"#881317",Red130:"#B6191E",Red100:"#E31F26",Red70:"#EC5571",Red50:"#EF90A2",Red30:"#EDCBD2",Red10:"#FCE9E9",Orange190:"#300D07",Orange170:"#601A0E",Orange150:"#8F2615",Orange130:"#BF331C",Orange100:"#EF4023",Orange70:"#F16027",Orange50:"#F58345",Orange30:"#FBBD97",Orange10:"#FDECE9",Yellow190:"#493707",Yellow170:"#926D0F",Yellow150:"#C39214",Yellow130:"#F4B619",Yellow100:"#F9D507",Yellow70:"#FADB51",Yellow50:"#FCE381",Yellow30:"#FCEAA9",Yellow10:"#FEFBE6",Grey190:"#231F20",Grey170:"#262728",Grey150:"#4C4D4F",Grey130:"#707172",Grey100:"#949495",Grey70:"#B7B8B9",Grey50:"#DBDBDC",Grey30:"#EDEDED",Grey10:"#F4F4F4",Black:"#1E1E1E",DarkBlack:"#000000",BlackOpaque:"#00000080",BlackText:"#1E1E1E",ContrastGreen:"#38761E",DarkBlue:"#165788",BlueGreen:"#51A1AA",BlueOpaque:"#1B5F8E80",DarkGreen:"#006955",DarkGreenOpaque:"#00695580",GreenText:"#20390C",GreenStroke:"#69BE28",GreenLink:"#4A851C",Grey1:"#626262",Grey2:"#8F8F8F",Grey3:"#BCBCBC",Grey4:"#E9E9E9",Grey5:"#F4F4F4",IAPPGreen:"#73BE53",LightGreen:"#D2ECBF",MedGreen:"#4A851C",PinkRaspberry:"#8C0A39",PrimaryGreen:"#5E9C44",PrimaryGreenOpaque:"#5E9C4480",Purple:"#5C1D78",Raspberry:"#A51140",ValidGreen:"#355F14",White:"#FFFFFF",WhiteOpaque:"#FFFFFF80",DarkGreentoPrimaryGreen:"linear(to-br,#00695590, #6DB65090 )",GradientWhite:"linear(to-r, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.33), rgba(255, 255, 255, 0))",GradientGreen:"linear(to-r, rgba(94, 156, 68, 0), rgba(94, 156, 68, 0.33), rgba(94, 156, 68, 0))"},breakpoints:{sm:"320px",md:"750px",lg:"960px",xl:"1200px","2xl":"1536px"},styles:{global:{a:{color:"Green130",fontWeight:"700",_hover:{textDecoration:"underline"}},body:{fontSize:"1rem",color:"BlackText"},h1:{color:"BlackText",fontSize:"2.5rem",fontFamily:"Lato",fontWeight:"900",lineHeight:"1.2",fontVariantLigatures:"no-common-ligatures"},h2:{color:"BlackText",fontFamily:"Lato",fontStyle:"normal",fontWeight:"700",fontSize:"2.25rem",lineHeight:"1.2",fontVariantLigatures:"no-common-ligatures"},h3:{color:"BlackText",fontFamily:"Lato",fontStyle:"normal",fontWeight:"700",fontSize:"2rem",lineHeight:"1.2",fontVariantLigatures:"no-common-ligatures"},h4:{color:"BlackText",fontFamily:"Lato",fontStyle:"normal",fontWeight:"700",fontSize:"1.5rem",lineHeight:"1.2",fontVariantLigatures:"no-common-ligatures"},h5:{color:"BlackText",fontFamily:"Lato",fontStyle:"normal",fontWeight:"700",fontSize:"1.25rem",lineHeight:"1.2",fontVariantLigatures:"no-common-ligatures"},h6:{color:"BlackText",fontFamily:"Lato",fontStyle:"normal",fontWeight:"700",fontSize:"1rem",lineHeight:"1.2",fontVariantLigatures:"no-common-ligatures"},blockquote:{display:"block",fontFamily:"Open Sans",fontWeight:"400",fontVariantLigatures:"no-common-ligatures",position:"relative",padding:"0.08em 0em 0.08em .8em",marginLeft:"1.5em"},Heading:{h1:{fontSize:"40px",fontFamily:"Lato",fontWeight:"800",lineHeight:"45px",fontVariantLigatures:"no-common-ligatures"},fontFamily:"Lato",fontStyle:"normal",fontWeight:"700",fontSize:"36px",lineHeight:" 36px",fontVariantLigatures:"no-common-ligatures"},Img:{loading:"lazy"},Image:{loading:"lazy"},th:{border:"lightgray solid 1px",px:".5rem"},td:{border:"lightgray solid 1px",px:".5rem"}}},components:{Button:(0,R.Dt)({baseStyle:{fontSize:"20px"},sizes:{small:{fontSize:"18px",fontWeight:"600",fontVariantLigatures:"no-common-ligatures",px:"32px",py:"12px",minW:"170px",borderRadius:"40px"},medium:{fontSize:"18px",fontWeight:"600",fontVariantLigatures:"no-common-ligatures",px:"22px",py:"17px",minW:"210px",borderRadius:"40px"},large:{fontSize:"20px",fontWeight:"600",fontVariantLigatures:"no-common-ligatures",px:"19px",py:"23px",minW:"240px",borderRadius:"40px"}},variants:{primary:{color:"#FFFFFF",bg:"ContrastGreen",border:"2px solid ContrastGreen",_hover:{bg:"DarkGreen",textDecoration:"none"}},secondary:{color:"DarkGreen",bg:"#FFFFFF",border:"2px solid DarkGreen",_hover:{color:"#FFFFFF",bg:"DarkGreen",textDecoration:"none"}},tertiary:{color:"#FFFFFF",bg:"#000000",border:"2px solid #000000",_hover:{color:"DarkGreen",bg:"#FFFFFF",textDecoration:"none"}}}}),Input:{defaultProps:{},baseStyle:{field:{}},variants:{outline:{field:{border:"2px solid",borderColor:"#8F8F8F",_hover:{borderColor:"#1E1E1E"},_focus:{boxShadow:"none"},borderRadius:"4px","::placeholder":{color:"#8F8F8F"}}}}},Select:{defaultProps:{focusBorderColor:"#1E1E1E",errorBorderColor:"#A51140"},variants:{outline:{field:{border:"2px solid",borderColor:"#8F8F8F",_hover:{borderColor:"#1E1E1E"},_focus:{boxShadow:"none"},borderRadius:"4px"}}}}}}),Bl=e.lazy((()=>Promise.all([n.e(926),n.e(563),n.e(911),n.e(306),n.e(674),n.e(653)]).then(n.bind(n,61140)))),Ml=e.lazy((()=>n.e(27).then(n.bind(n,96027)))),Ll=e.lazy((()=>Promise.all([n.e(926),n.e(563),n.e(306),n.e(464),n.e(370)]).then(n.bind(n,53055)))),Nl=e.lazy((()=>Promise.all([n.e(926),n.e(563),n.e(306),n.e(464),n.e(265)]).then(n.bind(n,92660)))),$l=e.lazy((()=>Promise.all([n.e(926),n.e(306),n.e(222)]).then(n.bind(n,80267)))),Il=e.lazy((()=>Promise.all([n.e(926),n.e(563),n.e(911),n.e(306),n.e(464),n.e(674),n.e(913)]).then(n.bind(n,25612)))),Vl=e.lazy((()=>Promise.all([n.e(926),n.e(563),n.e(306),n.e(51)]).then(n.bind(n,22958)))),Hl=e.lazy((()=>Promise.all([n.e(926),n.e(563),n.e(306),n.e(464),n.e(170)]).then(n.bind(n,43127)))),Ul=e.lazy((()=>Promise.all([n.e(926),n.e(563),n.e(306),n.e(721)]).then(n.bind(n,83804)))),Wl=e.lazy((()=>Promise.all([n.e(926),n.e(563),n.e(306),n.e(464),n.e(514)]).then(n.bind(n,95367))));function ql(){const[t,n]=(0,e.useState)(),[r,o]=(0,e.useState)(),[i,a]=(0,e.useState)(),s=(0,S.zy)();(0,zs.A)();const l=typeof r;function u(){return"string"===l?(0,C.jsx)(Ll,{ct:r,parent:i}):"object"===l?(0,C.jsx)(Il,{ct:r}):(0,C.jsx)(kl.A,{minH:"100vh"})}return(0,e.useEffect)((()=>{!async function(){const e=await Os.A.getAllEntries("page");n(e)}(),function(){const e=s.pathname.split("/");let t;if(e.length>1)switch(e[1]){case"certify":a("certification_overview");break;case"train":a("training_overview");break;case"enterprise-services":a("enterprise_overview");break;case"c":a("corporate_landing_page");break;case"l":a("marketing_landing_page");break;case"lang":a("foreign_landing_page");break;default:a(`${e[1]}_overview`)}e.length>2?(e.splice(e.length-1,1,":title"),t=e.join("/")):t=e;(async function(e){const t=await Os.A.getUID(e);1===t.length?o(t[0].uid):t.length>1?o((()=>{const e=[];return t.map((t=>{e.push(t.uid)})),[...e]})):o()})(t)}()}),[]),(0,C.jsxs)(Rs,{theme:Fl,children:[(0,C.jsx)(Pl,{}),(0,C.jsxs)("div",{className:"App",children:[(0,C.jsx)(El,{}),(0,C.jsx)(Cl,{}),(0,C.jsx)(Sl,{children:(0,C.jsx)(e.Suspense,{fallback:(0,C.jsx)(_l.A,{}),children:(0,C.jsx)(S.BV,{children:(0,C.jsxs)(S.qh,{element:(0,C.jsx)(fl,{}),children:[(0,C.jsx)(S.qh,{index:!0,element:(0,C.jsx)(Hl,{})}),(0,C.jsx)(S.qh,{path:"search",children:(0,C.jsx)(S.qh,{index:!0,element:(0,C.jsx)(Vl,{})})}),(0,C.jsxs)(S.qh,{path:"certify",children:[(0,C.jsx)(S.qh,{index:!0,element:(0,C.jsx)(Nl,{ct:"certification_overview"})}),(0,C.jsx)(S.qh,{path:"*",element:u()})]}),(0,C.jsxs)(S.qh,{path:"train",children:[(0,C.jsx)(S.qh,{index:!0,element:(0,C.jsx)(Nl,{ct:"training_overview"})}),(0,C.jsx)(S.qh,{path:"*",element:u()})]}),(0,C.jsxs)(S.qh,{path:"membership",children:[(0,C.jsx)(S.qh,{index:!0,element:(0,C.jsx)(Nl,{ct:"membership_overview"})}),(0,C.jsx)(S.qh,{path:"*",element:u()})]}),(0,C.jsxs)(S.qh,{path:"community",children:[(0,C.jsx)(S.qh,{index:!0,element:(0,C.jsx)(Nl,{ct:"community_overview"})}),(0,C.jsxs)(S.qh,{path:"find-your-chapter",children:[(0,C.jsx)(S.qh,{index:!0,element:u()}),(0,C.jsx)(S.qh,{path:"*",element:u()})]}),(0,C.jsxs)(S.qh,{path:"sections",children:[(0,C.jsx)(S.qh,{index:!0,element:u()}),(0,C.jsx)(S.qh,{path:"*",element:u()})]}),(0,C.jsx)(S.qh,{path:"*",element:u()})]}),(0,C.jsxs)(S.qh,{path:"conferences",children:[(0,C.jsx)(S.qh,{index:!0,element:(0,C.jsx)(Ll,{ct:"conferences_overview"})}),(0,C.jsx)(S.qh,{path:"*",element:u()}),(0,C.jsx)(S.qh,{path:"*",element:(0,C.jsx)(Ll,{ct:"conference_microsite"})})]}),(0,C.jsxs)(S.qh,{path:"news",children:[(0,C.jsx)(S.qh,{index:!0,element:(0,C.jsx)(Vl,{ct:"news_overview"})}),(0,C.jsx)(S.qh,{path:"a",children:(0,C.jsx)(S.qh,{path:"*",element:(0,C.jsx)(Bl,{contentType:Ds.y.newsArticle})})}),(0,C.jsx)(S.qh,{path:"b",children:(0,C.jsx)(S.qh,{path:"*",element:(0,C.jsx)(Bl,{contentType:Ds.y.newsBlurb})})}),(0,C.jsx)(S.qh,{path:"daily-dashboard",element:(0,C.jsx)(Vl,{ct:"news_overview"})}),(0,C.jsx)(S.qh,{path:"europe-data-protection-digest",element:(0,C.jsx)(Vl,{ct:"news_overview"})}),(0,C.jsx)(S.qh,{path:"united-states-dashboard-digest",element:(0,C.jsx)(Vl,{ct:"news_overview"})}),(0,C.jsx)(S.qh,{path:"asia-pacific-dashboard-digest",element:(0,C.jsx)(Vl,{ct:"news_overview"})}),(0,C.jsx)(S.qh,{path:"canada-dashboard-digest",element:(0,C.jsx)(Vl,{ct:"news_overview"})}),(0,C.jsx)(S.qh,{path:"dpo-confessional",element:(0,C.jsx)(Vl,{ct:"news_overview"})}),(0,C.jsx)(S.qh,{path:"privacy-tracker",element:(0,C.jsx)(Vl,{ct:"news_overview"})}),(0,C.jsx)(S.qh,{path:"privacy-advisor",element:(0,C.jsx)(Vl,{ct:"news_overview"})}),(0,C.jsx)(S.qh,{path:"privacy-perspectives",element:(0,C.jsx)(Vl,{ct:"news_overview"})}),(0,C.jsx)(S.qh,{path:"privacy-tech",element:(0,C.jsx)(Vl,{ct:"news_overview"})}),(0,C.jsx)(S.qh,{path:"*",element:u()})]}),(0,C.jsxs)(S.qh,{path:"resources",children:[(0,C.jsx)(S.qh,{index:!0,element:(0,C.jsx)(Vl,{ct:"resources_overview"})}),(0,C.jsxs)(S.qh,{path:"tools-and-trackers",children:[(0,C.jsx)(S.qh,{index:!0,element:(0,C.jsx)($l,{ct:"tools_and_trackers_listing_page"})}),(0,C.jsx)(S.qh,{path:"*",element:(0,C.jsx)(Vl,{parent:"tools-and-trackers",ct:"tools_and_trackers_page"})})]}),(0,C.jsxs)(S.qh,{path:"web-conferences",children:[(0,C.jsx)(S.qh,{index:!0,element:(0,C.jsx)($l,{ct:"web_conferences_listing_page"})}),(0,C.jsx)(S.qh,{path:"*",element:(0,C.jsx)(Vl,{parent:"web-conferences",ct:"web_conferences_page"})})]}),(0,C.jsxs)(S.qh,{path:"subjects",children:[(0,C.jsx)(S.qh,{index:!0,element:(0,C.jsx)($l,{ct:"subjects_listing_page"})}),(0,C.jsx)(S.qh,{path:"*",element:(0,C.jsx)(Vl,{ct:"subject_page",parent:"subjects"})})]}),(0,C.jsxs)(S.qh,{path:"legislation",children:[(0,C.jsx)(S.qh,{index:!0,element:(0,C.jsx)($l,{ct:"legislation_listing_page"})}),(0,C.jsx)(S.qh,{path:"*",element:(0,C.jsx)(Vl,{ct:"legislation_page",parent:"legislation"})})]}),(0,C.jsx)(S.qh,{path:"*",element:u()})]}),(0,C.jsxs)(S.qh,{path:"enterprise-services",children:[(0,C.jsx)(S.qh,{index:!0,element:(0,C.jsx)(Nl,{ct:"enterprise_overview"})}),(0,C.jsx)(S.qh,{path:"*",element:u()})]}),(0,C.jsxs)(S.qh,{path:"about",children:[(0,C.jsx)(S.qh,{index:!0,element:(0,C.jsx)(Ll,{ct:"about_overview"})}),(0,C.jsx)(S.qh,{path:"media",children:(0,C.jsx)(S.qh,{path:"*",element:u()})}),(0,C.jsx)(S.qh,{path:"*",element:u()})]}),(0,C.jsx)(S.qh,{path:"search",children:(0,C.jsx)(S.qh,{index:!0,element:(0,C.jsx)(Vl,{})})}),(0,C.jsx)(S.qh,{path:"c",children:(0,C.jsx)(S.qh,{path:"*",element:u()})}),(0,C.jsx)(S.qh,{path:"l",children:(0,C.jsx)(S.qh,{path:"*",element:u()})}),(0,C.jsx)(S.qh,{path:"lang",children:(0,C.jsx)(S.qh,{path:"*",element:u()})}),(0,C.jsxs)(S.qh,{path:"test",children:[(0,C.jsx)(S.qh,{index:!0,element:(0,C.jsx)(Wl,{})}),(0,C.jsx)(S.qh,{path:"*",element:(0,C.jsx)(Ml,{})})]}),null===t||void 0===t?void 0:t.map(((e,t)=>(0,C.jsxs)(S.qh,{path:e.url,children:[(0,C.jsx)(S.qh,{index:!0,element:(0,C.jsx)(Ul,{info:e})}),(0,C.jsx)(S.qh,{path:"*",element:(0,C.jsx)(Ml,{})})]},t))),(0,C.jsx)(S.qh,{path:"*",element:(0,C.jsx)(Ml,{})})]})})})}),(0,C.jsx)(wl,{})]})]})}const Gl=new class{#v;#p;#l;#y;#b;#x;#w;#S;constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.#v=e.queryCache||new u,this.#p=e.mutationCache||new h,this.#l=e.defaultOptions||{},this.#y=new Map,this.#b=new Map,this.#x=0}mount(){this.#x++,1===this.#x&&(this.#w=m.m.subscribe((async e=>{e&&(await this.resumePausedMutations(),this.#v.onFocus())})),this.#S=g.t.subscribe((async e=>{e&&(await this.resumePausedMutations(),this.#v.onOnline())})))}unmount(){this.#x--,0===this.#x&&(this.#w?.(),this.#w=void 0,this.#S?.(),this.#S=void 0)}isFetching(e){return this.#v.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#p.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#v.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(void 0===t)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=this.#v.build(this,n);return e.revalidateIfStale&&r.isStaleByTime((0,i.d2)(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return this.#v.findAll(e).map((e=>{let{queryKey:t,state:n}=e;return[t,n.data]}))}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=this.#v.get(r.queryHash),a=o?.state.data,s=(0,i.Zw)(t,a);if(void 0!==s)return this.#v.build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return s.j.batch((()=>this.#v.findAll(e).map((e=>{let{queryKey:r}=e;return[r,this.setQueryData(r,t,n)]}))))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#v.get(t.queryHash)?.state}removeQueries(e){const t=this.#v;s.j.batch((()=>{t.findAll(e).forEach((e=>{t.remove(e)}))}))}resetQueries(e,t){const n=this.#v,r={type:"active",...e};return s.j.batch((()=>(n.findAll(e).forEach((e=>{e.reset()})),this.refetchQueries(r,t))))}cancelQueries(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t={revert:!0,...arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}},n=s.j.batch((()=>this.#v.findAll(e).map((e=>e.cancel(t)))));return Promise.all(n).then(i.lQ).catch(i.lQ)}invalidateQueries(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s.j.batch((()=>{if(this.#v.findAll(e).forEach((e=>{e.invalidate()})),"none"===e.refetchType)return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)}))}refetchQueries(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const n={...t,cancelRefetch:t?.cancelRefetch??!0},r=s.j.batch((()=>this.#v.findAll(e).filter((e=>!e.isDisabled())).map((e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(i.lQ)),"paused"===e.state.fetchStatus?Promise.resolve():t}))));return Promise.all(r).then(i.lQ)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const n=this.#v.build(this,t);return n.isStaleByTime((0,i.d2)(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(i.lQ).catch(i.lQ)}fetchInfiniteQuery(e){return e.behavior=v(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(i.lQ).catch(i.lQ)}ensureInfiniteQueryData(e){return e.behavior=v(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return g.t.isOnline()?this.#p.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#v}getMutationCache(){return this.#p}getDefaultOptions(){return this.#l}setDefaultOptions(e){this.#l=e}setQueryDefaults(e,t){this.#y.set((0,i.EN)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#y.values()];let n={};return t.forEach((t=>{(0,i.Cp)(e,t.queryKey)&&(n={...n,...t.defaultOptions})})),n}setMutationDefaults(e,t){this.#b.set((0,i.EN)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#b.values()];let n={};return t.forEach((t=>{(0,i.Cp)(e,t.mutationKey)&&(n={...n,...t.defaultOptions})})),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#l.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,i.F$)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),!0!==t.enabled&&t.queryFn===i.hT&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#l.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#v.clear(),this.#p.clear()}}({defaultOptions:{queries:{staleTime:18e5,refetchOnMount:!1,refetchOnReconnect:!1,refetchOnWindowFocus:!1}}});(0,t.H)(document.getElementById("root")).render((0,C.jsx)(e.StrictMode,{children:(0,C.jsx)(x.Ht,{client:Gl,children:(0,C.jsxs)(r.Kd,{children:[(0,C.jsx)(o.p,{color:"white",position:"absolute",style:{padding:".5rem 1rem",border:"solid white 2px",borderRadius:"20px",margin:".5rem",color:"black"},children:"Skip to Content"}),(0,C.jsx)(ql,{}),(0,C.jsx)(w,{initialIsOpen:!1})]})})}))})()})(); //# sourceMappingURL=main.0ee2d85e.js.map